From df061b9a489ff688ce7e0293e3cfca431f94d022 Mon Sep 17 00:00:00 2001 From: darya Date: Tue, 23 Jun 2026 17:43:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=2023.06.2026?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HVAC_model.c | 28038 ++++++++++++++++++++++------------------- HVAC_model.h | 7558 +++++------ HVAC_model_data.c | 116 +- HVAC_model_private.h | 302 +- HVAC_model_types.h | 38 +- 5 files changed, 19420 insertions(+), 16632 deletions(-) mode change 100644 => 100755 HVAC_model.c mode change 100644 => 100755 HVAC_model.h mode change 100644 => 100755 HVAC_model_data.c mode change 100644 => 100755 HVAC_model_private.h mode change 100644 => 100755 HVAC_model_types.h diff --git a/HVAC_model.c b/HVAC_model.c old mode 100644 new mode 100755 index 56f75a6..0a424e5 --- a/HVAC_model.c +++ b/HVAC_model.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1082 + * Model version : 1.1128 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Jun 10 11:23:53 2026 + * C/C++ source code generated on : Tue Jun 23 15:07:47 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -24,7 +24,9 @@ #include "HVAC_model_types.h" #include "Rs_Cal_Base.h" -/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL' */ +/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL1' */ +#define IN_AC_Off ((uint8_t)1U) +#define IN_AC_On ((uint8_t)2U) #define IN_AUTO_MODE ((uint8_t)1U) #define IN_Def_Off ((uint8_t)1U) #define IN_Def_On ((uint8_t)2U) @@ -35,6 +37,29 @@ #define IN_MANUAL_MODE ((uint8_t)2U) #define IN_NO_ACTIVE_CHILD ((uint8_t)0U) +/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL2' */ +#define IN_AC_Off_p ((uint8_t)1U) +#define IN_AC_On_k ((uint8_t)2U) +#define IN_AUTO_MODE_k ((uint8_t)1U) +#define IN_Def_Off_d ((uint8_t)1U) +#define IN_Def_On_k ((uint8_t)2U) +#define IN_Face_Off_n ((uint8_t)1U) +#define IN_Face_On_k ((uint8_t)2U) +#define IN_Foot_Off_o ((uint8_t)1U) +#define IN_Foot_On_j ((uint8_t)2U) +#define IN_MANUAL_MODE_e ((uint8_t)2U) +#define IN_NO_ACTIVE_CHILD_g ((uint8_t)0U) + +/* Named constants for Chart: '/Chart' */ +#define IN_COND_1 ((uint8_t)1U) +#define IN_COND_2 ((uint8_t)2U) +#define IN_COND_3 ((uint8_t)3U) +#define IN_HOLDING ((uint8_t)1U) +#define IN_NO_ACTIVE_CHILD_h ((uint8_t)0U) +#define IN_PARTIAL_REC_OFF ((uint8_t)1U) +#define IN_PARTIAL_REC_ON ((uint8_t)2U) +#define IN_TRACKING ((uint8_t)2U) + /* Named constants for Chart: '/A//C Control' */ #define IN_COMP_OFF ((uint8_t)1U) #define IN_COMP_ON ((uint8_t)2U) @@ -44,7 +69,6 @@ #define IN_FAULT_LOW_PRESS ((uint8_t)2U) #define IN_Front_A_C_OFF ((uint8_t)1U) #define IN_Front_A_C_ON ((uint8_t)2U) -#define IN_NO_ACTIVE_CHILD_j ((uint8_t)0U) #define IN_PRESSURE_OK ((uint8_t)3U) #define IN_PROT_LEVEL_0 ((uint8_t)1U) #define IN_PROT_LEVEL_1 ((uint8_t)2U) @@ -52,6 +76,11 @@ #define IN_Rear_A_C_OFF ((uint8_t)1U) #define IN_Rear_A_C_ON ((uint8_t)2U) +/* Named constants for Chart: '/Chart' */ +#define IN_Entry_2W ((uint8_t)1U) +#define IN_ExitSeq_2W ((uint8_t)2U) +#define IN_Wait_2W ((uint8_t)3U) + /* Named constants for Chart: '/Synchronization stateflow chart' */ #define IN_FRONT_ONLY ((uint8_t)1U) #define IN_FULL_SYNC ((uint8_t)2U) @@ -194,9 +223,9 @@ const ActuatorCmdBusInput HVAC_model_rtZActuatorCmdBusInput = { }; /* ActuatorCmdBusInput ground */ /* Exported block states */ -ActuatorCmdBus Actuator_Ch0_Command_Model;/* '/Data Store Memory15' */ -ActuatorCmdBus Actuator_Ch1_Command_Model;/* '/Data Store Memory15' */ -ActuatorCmdBus Actuator_Ch2_Command_Model;/* '/Data Store Memory15' */ +ActuatorCmdBus Actuator_Ch0_Command_Model;/* '/Data Store Memory15' */ +ActuatorCmdBus Actuator_Ch1_Command_Model;/* '/Data Store Memory15' */ +ActuatorCmdBus Actuator_Ch2_Command_Model;/* '/Data Store Memory15' */ ActuatorCmdBusInput Actuator_Ch0_Status_Model;/* '/Data Store Memory61' */ ActuatorCmdBusInput Actuator_Ch1_Status_Model;/* '/Data Store Memory62' */ ActuatorCmdBusInput Actuator_Ch2_Status_Model;/* '/Data Store Memory63' */ @@ -220,7 +249,7 @@ RT_MODEL *const rtM = &rtM_; /* Forward declaration for local functions */ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *g_assEVA_TG_AMB_F_n, const int16_t *g_assEVA_TG_AMB_R_h); -static void NO_SYNC(void); +static double find_index(int16_t delta); int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t bp0[], const uint16_t table[], uint32_t maxIndex) { @@ -784,6 +813,81 @@ uint8_t look2_iu8bu8s16lu64n32_binlcse(uint8_t u0, uint8_t u1, const uint8_t return y; } +uint8_t look1_iu16lu64n48tu8_binlcse(uint16_t u0, const uint16_t bp0[], const + uint8_t table[], uint32_t maxIndex) +{ + uint64_t frac; + uint32_t iLeft; + uint8_t y; + uint8_t yL_0d0; + uint8_t yR_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' + */ + yR_0d0 = table[iLeft + 1U]; + yL_0d0 = table[iLeft]; + if (yR_0d0 >= yL_0d0) { + y = (uint8_t)((uint32_t)(uint8_t)(((uint8_t)((uint32_t)yR_0d0 - yL_0d0) * + frac) >> 48) + yL_0d0); + } else { + y = (uint8_t)((uint32_t)yL_0d0 - (uint8_t)(((uint8_t)((uint32_t)yL_0d0 - + yR_0d0) * frac) >> 48)); + } + + return y; +} + int16_t look1_iu16tdIs16_binlcs(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex) { @@ -876,7 +980,7 @@ int16_t look1_iu16tdIs16_binlcs(uint16_t u0, const uint16_t bp0[], const double return (int16_t)tmp_1; } -double look1_is16td_binlc(int16_t u0, const int16_t bp0[], const double table[], +double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex) { double frac; @@ -919,9 +1023,9 @@ double look1_is16td_binlc(int16_t u0, const int16_t bp0[], const double table[], bpIdx = (iRght + iLeft) >> 1U; } - int16_t bpLeftVar; + uint16_t bpLeftVar; bpLeftVar = bp0[iLeft]; - frac = (double)(uint32_t)(u0 - bpLeftVar) / (double)(uint32_t)(bp0[iLeft + + frac = (double)((uint32_t)u0 - bpLeftVar) / (double)((uint32_t)bp0[iLeft + 1U] - bpLeftVar); } else { iLeft = maxIndex - 1U; @@ -1030,292 +1134,12 @@ uint32_t plook_u32s16_bincka(int16_t u_8, const int16_t bp[], uint32_t maxIndex) /* * Output and update for atomic system: - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' - */ -void u(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) -{ - int32_t tmp; - - /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ - tmp = rtu_lvl + 1; - if (rtu_lvl + 1 > 32767) { - tmp = 32767; - } - - *rty_f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING[tmp - 1]; -} - -/* - * Output and update for action system: - * '/включен ускоренный режим' - * '/включен ускоренный режим' - * '/включен ускоренный режим' - */ -void u_d(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' - */ - /* : 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' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - *rtd_KEEP_FALLING_UNTIL_LIMIT = 0.0; - - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное понижение темп.' - * Merge: '/Merge' - */ - u(rtu_lvl, rty_out); - - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' - */ - /* 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' - */ - *rty_out = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of If: '/If' */ -} - -/* - * Output and update for action system: - * '/обычный режим' - * '/обычный режим' - * '/обычный режим' - */ -void u_c(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' - */ - /* : 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' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - *rtd_KEEP_FALLING_UNTIL_LIMIT = 1.0; - - /* 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' - */ - *rty_riseperminute = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/обычное повышение темп.' - * Merge: '/Merge' - */ - u(rtu_lvl, rty_riseperminute); - - /* End of Outputs for SubSystem: '/обычный режим повышения' */ - } - - /* End of If: '/If' */ -} - -/* - * Output and update for atomic system: - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - */ -void u_b(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) -{ - int32_t tmp; - - /* : f_g_aucAMBRATE_RISING = g_aucAMBRATE_RISING(lvl + 1); */ - tmp = rtu_lvl + 1; - if (rtu_lvl + 1 > 32767) { - tmp = 32767; - } - - *rty_f_g_aucAMBRATE_RISING = g_aucAMBRATE_RISING[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - */ -void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) -{ - int32_t tmp; - - /* : f_g_aucAMBRATE_RISING_DIFF_LVL = g_aucAMBRATE_RISING_DIFF(lvl + 1); */ - tmp = rtu_lvl + 1; - if (rtu_lvl + 1 > 32767) { - tmp = 32767; - } - - *rty_f_g_aucAMBRATE_RISING_DIFF_LVL = g_aucAMBRATE_RISING_DIFF[tmp - 1]; -} - -/* - * Output and update for action system: - * '/включен ускоренный режим' - * '/включен ускоренный режим' - * '/включен ускоренный режим' - */ -void u_h(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' - */ - /* : 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' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - *rtd_KEEP_RISING_UNTIL_LIMIT = 0.0; - - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' - */ - u_b(rtu_lvl, rty_out); - - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - */ - u_g(rtu_lvl, rty_out); - - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of If: '/If' */ -} - -/* - * Output and update for action system: - * '/обычный режим' - * '/обычный режим' - * '/обычный режим' - */ -void u_a(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' - */ - /* : 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' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - *rtd_KEEP_RISING_UNTIL_LIMIT = 1.0; - - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - */ - u_g(rtu_lvl, rty_riseperminute); - - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' - */ - u_b(rtu_lvl, rty_riseperminute); - - /* End of Outputs for SubSystem: '/обычный режим повышения' */ - } - - /* End of If: '/If' */ -} - -/* - * 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) @@ -1360,12 +1184,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) @@ -1410,10 +1234,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) { @@ -1430,15 +1254,15 @@ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT /* * Output and update for action system: - * '/Bilevel' - * '/Bilevel' + * '/Bilevel' + * '/Bilevel' */ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) { int32_t tmp; int32_t tmp_0; - int16_t rtb_u_fou; + int16_t rtb_u_eg; uint16_t rtb_FLF_NEW; uint16_t rtb_FRF_NEW; uint16_t rtb_Switch2_a5_idx_0; @@ -1454,55 +1278,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_fou); + 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_fou = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp_0 - 1] - rtb_u_fou); + rtb_u_eg = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp_0 - 1] - rtb_u_eg); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_fou; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_eg; 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 >= 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 * 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); @@ -1512,10 +1336,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); @@ -1525,14 +1349,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_fou); + 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) { @@ -1544,26 +1368,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_fou = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp - 1] - rtb_u_fou); + rtb_u_eg = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp - 1] - rtb_u_eg); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_fou; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_eg; 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 >= 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) { @@ -1575,19 +1399,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 * 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); @@ -1602,10 +1426,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); @@ -1620,46 +1444,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_fou); + 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_fou - rtu_Amb_Fb) * 13107; + tmp = (int16_t)(rtb_u_eg - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_fou = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && + 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)); + ((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_fou) >> 1) << + rtb_Switch2_a5_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_eg) >> 1) << 1); - rtb_Switch2_a5_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_fou) >> 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); @@ -1669,10 +1492,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); @@ -1682,14 +1505,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_fou); + 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) { @@ -1701,23 +1524,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_fou - rtu_Amb_Fb) * 13107; + tmp_0 = (int16_t)(rtb_u_eg - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_fou = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && + rtb_u_eg = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)) * - (int32_t)((g_aucFLOW_BI_VENT_PLUS[tmp - 1] * 205U + - 1024U) >> 11)); + (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); @@ -1732,10 +1555,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); @@ -1750,175 +1573,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_c_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_fou) >> 1) << 1); + rtb_Switch2_c_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_c_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_c_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_c_0; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_c_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_fou) >> 1) << 1); + rtb_Switch2_c_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_c_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_c_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_c_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) @@ -1936,15 +1759,15 @@ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t /* * Output and update for action system: - * '/Bilevel2' - * '/Bilevel2' + * '/Bilevel2' + * '/Bilevel2' */ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) { int32_t tmp; int32_t tmp_0; - int16_t rtb_u_cgj; + int16_t rtb_u_abl; uint16_t rtb_FLF_NEW; uint16_t rtb_FRF_NEW; uint16_t rtb_Switch2_i_idx_0; @@ -1960,55 +1783,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_cgj); + get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_abl); - /* 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_cgj = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp_0 - 1] - rtb_u_cgj); + rtb_u_abl = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp_0 - 1] - rtb_u_abl); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_cgj; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_abl; 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 >= 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 * 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); @@ -2018,10 +1841,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); @@ -2031,14 +1854,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_cgj); + get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_abl); - /* 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) { @@ -2050,26 +1873,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_cgj = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp - 1] - rtb_u_cgj); + rtb_u_abl = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp - 1] - rtb_u_abl); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_cgj; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_abl; 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 >= 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) { @@ -2081,19 +1904,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 * 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); @@ -2108,10 +1931,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); @@ -2126,46 +1949,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_cgj); + g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_abl); - /* 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_cgj - rtu_Amb_Fb) * 13107; + tmp = (int16_t)(rtb_u_abl - 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_cgj = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && + rtb_u_abl = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && ((((uint32_t)tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) ((g_aucFLOW_BI2_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_i_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_cgj) >> 1) << + rtb_Switch2_i_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_abl) >> 1) << 1); - rtb_Switch2_i_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_cgj) >> 1) << + rtb_Switch2_i_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_abl) >> 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); @@ -2175,10 +1998,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); @@ -2188,14 +2011,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_cgj); + g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_abl); - /* 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) { @@ -2207,23 +2030,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_cgj - rtu_Amb_Fb) * 13107; + tmp_0 = (int16_t)(rtb_u_abl - 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_cgj = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && + rtb_u_abl = (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); @@ -2238,10 +2061,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); @@ -2256,175 +2079,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_p_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_cgj) >> 1) << 1); + rtb_Switch2_p_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_abl) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_i_idx_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; } else if (rtb_Switch2_i_idx_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[0] = rtb_Switch2_i_idx_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_p_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_p_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_p_0; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_p_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_cgj) >> 1) << 1); + rtb_Switch2_p_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_abl) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_i_idx_1 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; } else if (rtb_Switch2_i_idx_1 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[1] = rtb_Switch2_i_idx_1; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_p_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_p_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_p_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) @@ -2442,12 +2265,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) { @@ -2464,8 +2287,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) @@ -2485,7 +2308,7 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t 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; */ @@ -2505,14 +2328,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) { @@ -2527,56 +2350,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 = (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 >= 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 * 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; */ @@ -2596,16 +2419,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) { @@ -2617,28 +2440,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 = (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 >= 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) { @@ -2650,51 +2473,51 @@ 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 * 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 = (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 >= 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); @@ -2702,10 +2525,10 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t 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); @@ -2715,10 +2538,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; @@ -2728,30 +2551,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 = (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 >= 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) { @@ -2763,9 +2586,9 @@ 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); @@ -2773,10 +2596,10 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t 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); @@ -2791,80 +2614,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) @@ -2882,8 +2705,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) @@ -2901,71 +2724,71 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; uint8_t rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; - /* MATLAB Function: '/get_tg_for_LVL' */ + /* MATLAB Function: '/get_tg_for_LVL' */ /* : c_g_assFLOW_AFSM_TEMP_TGT = g_assFLOW_AFSM_TEMP_TGT(LVL + 1); */ get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_deg_c); - /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ rtb_deg_c = (int16_t)(g_assFLOW_AFSM_TEMP_TGT[tmp_0 - 1] - rtb_deg_c); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_deg_c; rtb_X = (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 >= 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 * 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) { @@ -2977,24 +2800,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 = (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 >= 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) { @@ -3006,22 +2829,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 * 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); */ @@ -3030,35 +2853,35 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp_0 = 255; } - /* Sum: '/deg' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' + /* Sum: '/deg' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' */ rtb_deg_c = (int16_t)(g_assFLOW_AFSM_AMB_TGT[tmp_0 - 1] - rtu_Amb_Fb); - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ tmp_0 = 13107 * rtb_deg_c; rtb_X = (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 >= 0) { rtb_Switch2_l_idx_0 = rty_Out1[0]; rtb_Switch2_l_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); @@ -3066,10 +2889,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_l_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); @@ -3080,10 +2903,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_l_idx_0 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { rtb_Switch2_l_idx_0 = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; @@ -3093,30 +2916,30 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_l_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 = (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 >= 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) { @@ -3128,9 +2951,9 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ rtb_deg_c = (int16_t)((int32_t)((g_aucFLOW_AFSM_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11) * rtb_X); @@ -3138,10 +2961,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_j1_idx_1 = (uint16_t)((int16_t)rty_Out1[1] - rtb_deg_c); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AFSM_VENT_VALVE_MAX = g_aucFLOW_AFSM_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -3156,72 +2979,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_l_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_l_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) @@ -3244,8 +3067,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]) { @@ -3275,10 +3098,2408 @@ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) /* * Output and update for atomic system: - * '/2.1 Incar target' - * '/2.1 Incar target' - * '/2.1 Incar target' - * '/2.1 Incar target Left' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + */ +void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_ENTER_INCAR(LVL+1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_ENTER_INCAR[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 2' + * '/Level 2' + */ +void Level2(int8_t *rty_step) +{ + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant' + */ + *rty_step = 3; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + */ +void g_assSTART_ENTER_COOLANT_j(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t q0; + uint32_t qY; + + /* : out = int16(g_assSTART_ENTER_COOLANT(LVL + 1 - 3)); */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 3U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 3U > (uint32_t)q0) { + qY = 0U; + } + + *rty_out = g_assSTART_ENTER_COOLANT[(int32_t)qY - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const int16_t + *rtd_ECT, const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL) +{ + int16_t rtb_out_jr; + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_j(*rtd_LEVEL, &rtb_out_jr); + + /* 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_jr) && (*rtd_CCU_MODE_FL == 1) && (*rtd_LO_HI_MODE_FL + != 1)) { + *rty_step1 = 0; + } else { + *rty_step1 = -1; + } + + /* End of Switch: '/Switch' */ +} + +/* + * Output and update for action system: + * '/Level 0' + * '/Level 1' + * '/Level 2' + * '/Level 0' + * '/Level 1' + */ +void Level0(int8_t *rty_step) +{ + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant' + */ + *rty_step = 1; +} + +/* + * Output and update for atomic system: + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * ... + */ +void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_INCAR_FLT_DN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_DN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * ... + */ +void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_INCAR_FLT_UP(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_UP[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + */ +void g_assSTART_COOLANT_STEP0_TO_1_a(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t q0; + uint32_t qY; + + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 2U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 2U > (uint32_t)q0) { + qY = 0U; + } + + *rty_out = g_assSTART_COOLANT_STEP0_TO_1[(int32_t)qY - 1]; +} + +/* + * Output and update for atomic system: + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + */ +void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_3WAY_OPEN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_3WAY_OPEN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + */ +void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + */ +void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + */ +void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_INCAR_STEP1_TO_2(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_INCAR_STEP1_TO_2[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/blower FR' + * '/blower FR' + */ +void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_AF_STEP12_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_AF_STEP12_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + */ +void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_IDX_STEP1(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_IDX_STEP1[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + */ +void windowheating(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_ELEC_WINDOW[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + */ +void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + uint16_t tmp_0; + + /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = g_ausSTART_TIME_STEP1_TO_2[tmp - 1]; + if (tmp_0 > 32767) { + tmp_0 = 32767U; + } + + *rty_out = (int16_t)tmp_0; +} + +/* + * Output and update for atomic system: + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + */ +void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]) +{ + int32_t q0; + uint32_t qY; + + /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ + /* : max = int16(g_assSTART_COOLANT_TO_STEP2(1)); */ + /* : out = [min, max]; */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 2U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 2U > (uint32_t)q0) { + qY = 0U; + } + + rty_out[0] = g_assSTART_COOLANT_STEP0_TO_1[(int32_t)qY - 1]; + rty_out[1] = g_assSTART_COOLANT_TO_STEP2[0]; +} + +/* + * Output and update for atomic system: + * '/blower min max' + * '/blower min max' + * '/blower min max' + */ +void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]) +{ + int32_t tmp; + + /* : min = 20; */ + /* : max = g_ausSTART_BLR_AF_STEP12_F(LVL + 1); */ + /* : out = [min, max]; */ + rty_out[0] = 20U; + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + rty_out[1] = g_ausSTART_BLR_AF_STEP12_F[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_h(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t *rtd_Blower_FR, + uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR, uint8_t *rtd_Dtg_FUL, + uint8_t *rtd_Dtg_FUR, const int16_t *rtd_ECT, uint8_t + *rtd_El_window_heating, const int16_t *rtd_Incar_FL, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, uint8_t *rtd_Mode_FL, uint8_t + *rtd_Mode_FR, double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, + const int8_t *rtd_step_start_controle_front, const uint32_t + *rtd_t_now, DW_Level4_o *localDW) +{ + int32_t tmp; + int16_t rtb_out_o4[2]; + int16_t rtb_out_dh; + int16_t rtb_out_oj; + uint16_t rtb_out_nk[2]; + uint8_t rtb_out_pa; + bool rtb_Equal_eo; + bool rtb_RelationalOperator1_fm; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(*rtd_LEVEL, rtd_Valve_3_way); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* MATLAB Function: '/mode FR step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + modeFRstep1(*rtd_LEVEL, &rtb_out_pa); + + /* DataStoreWrite: '/Data Store Write2' */ + *rtd_Mode_FR = rtb_out_pa; + + /* DataStoreWrite: '/Data Store Write3' */ + *rtd_Mode_FL = rtb_out_pa; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(*rtd_LEVEL, &rtb_out_pa); + + /* DataStoreWrite: '/Data Store Write4' */ + *rtd_El_window_heating = rtb_out_pa; + + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerminmax(*rtd_LEVEL, rtb_out_nk); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(*rtd_LEVEL, rtb_out_o4); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_out_oj = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_o4, + rtb_out_nk, 1U); + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_FR = (uint16_t)rtb_out_oj; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_FL = *rtd_Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1); */ + tmp = (int32_t)(*rtd_LEVEL + 1U); + if (*rtd_LEVEL + 1U > 255U) { + tmp = 255; + } + + rtb_out_pa = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp - 1]; + + /* DataStoreWrite: '/Data Store Write10' */ + *rtd_Dtg_FUR = rtb_out_pa; + + /* DataStoreWrite: '/Data Store Write11' */ + *rtd_Dtg_FUL = rtb_out_pa; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Dtg_FrontUpper_X' + */ + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1); */ + tmp = (int32_t)(*rtd_LEVEL + 1U); + if (*rtd_LEVEL + 1U > 255U) { + tmp = 255; + } + + rtb_out_pa = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp - 1]; + + /* End of MATLAB Function: '/Dtg_FrontLower_X' */ + + /* DataStoreWrite: '/Data Store Write12' */ + *rtd_Dtg_FLR = rtb_out_pa; + + /* DataStoreWrite: '/Data Store Write13' */ + *rtd_Dtg_FLL = rtb_out_pa; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + rtb_Equal_eo = (*rtd_step_start_controle_front == 1); + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(*rtd_LEVEL, &rtb_out_dh); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(*rtd_LEVEL, &rtb_out_oj); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_RelationalOperator1_fm = (*rtd_t_now - + localDW->t_start_delay_private_DSTATE > (uint32_t)(1000 * rtb_out_oj)); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Equal_eo && (!localDW->Cond_prev_private_DSTATE)) { + localDW->t_start_delay_private_DSTATE = *rtd_t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Constant: '/stay at step 1' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' + */ + if ((*rtd_Incar_FL > rtb_out_dh) || rtb_RelationalOperator1_fm) { + *rty_step = 2; + } else { + *rty_step = 1; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Cond_prev_private ' */ + localDW->Cond_prev_private_DSTATE = rtb_Equal_eo; +} + +/* + * Output and update for atomic system: + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + */ +void uwayvalvestatus_j(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_3WAY_OPEN(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_3WAY_OPEN[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_c(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + */ +void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + uint16_t tmp_0; + + /* : out = int16(g_ausSTART_TIME_STEP2_TO_3(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = g_ausSTART_TIME_STEP2_TO_3[tmp - 1]; + if (tmp_0 > 32767) { + tmp_0 = 32767U; + } + + *rty_out = (int16_t)tmp_0; +} + +/* + * Output and update for atomic system: + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + */ +void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_SPD_STEP2_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + */ +void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_ausSTART_BLR_SPD_STEP2_F(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_F[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + */ +void step_h(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_p(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_F(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_F[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + */ +void windowheating_e(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_ELEC_WINDOW[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + */ +void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_AUTODEMIST2_STEP2(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_AUTODEMIST2_STEP2[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 3' + * '/Level 4' + */ +void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, + uint16_t *rtd_Blower_FR, const uint16_t *rtd_Blower_logic_FL, + uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR, uint8_t *rtd_Dtg_FUL, + uint8_t *rtd_Dtg_FUR, const uint8_t *rtd_Dtg_logic_FLL, const + uint8_t *rtd_Dtg_logic_FUL, uint8_t *rtd_El_window_heating, const + bool *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, uint8_t + *rtd_Mode_FL, uint8_t *rtd_Mode_FR, const uint8_t *rtd_Mode_logic_FL, + double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const int8_t + *rtd_step_start_controle_front, const uint32_t *rtd_t_now, DW_Level3 + *localDW) +{ + int32_t tmp; + int16_t rtb_out_axx; + uint16_t rtb_out_pb; + uint16_t rtb_out_pv; + uint8_t rtb_out_co; + uint8_t rtb_out_hp; + uint8_t rtb_out_po; + bool rtb_Cond_prev_private_dr; + bool rtb_RelationalOperator1_lj; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_j(*rtd_LEVEL, rtd_Valve_3_way); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(*rtd_LEVEL, &rtb_out_po); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(*rtd_LEVEL, &rtb_out_hp); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write12' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(*rtd_Dtg_FLL - *rtd_Dtg_logic_FLL) <= 0.01) { + *rtd_Dtg_FLR = *rtd_Dtg_logic_FLL; + } else { + if (*rtd_Dtg_FLL <= *rtd_Dtg_logic_FLL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_FLR = (uint8_t)((double)rtb_out_po / (double)rtb_out_hp / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * (double)tmp + (double)* + rtd_Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + *rtd_Dtg_FLL = *rtd_Dtg_FLR; + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(*rtd_LEVEL, &rtb_out_po); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_c(*rtd_LEVEL, &rtb_out_hp); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(*rtd_Dtg_FUL - *rtd_Dtg_logic_FUL) <= 0.01) { + *rtd_Dtg_FUR = *rtd_Dtg_logic_FUL; + } else { + if (*rtd_Dtg_FUL <= *rtd_Dtg_logic_FUL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_FUR = (uint8_t)((double)rtb_out_po / (double)rtb_out_hp / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_e) * (double)tmp + (double)* + rtd_Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_FUL = *rtd_Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read3' + * MATLAB Function: '/autodemist (autodefog)' + */ + autodemistautodefog(*rtd_LEVEL, rtd_Autodefog); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_po = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_h(*rtd_LEVEL, &rtb_out_hp); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_p(*rtd_LEVEL, &rtb_out_co); + + /* 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_po <= 0.01) { + *rtd_Mode_FR = *rtd_Mode_logic_FL; + } else { + if (*rtd_Mode_FL <= *rtd_Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Mode_FR = (uint8_t)((double)rtb_out_hp / (double)rtb_out_co / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_g) * (double)tmp + (double)* + rtd_Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + *rtd_Mode_FL = *rtd_Mode_FR; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating_e(*rtd_LEVEL, &rtb_out_po); + + /* DataStoreWrite: '/Data Store Write4' */ + *rtd_El_window_heating = rtb_out_po; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_pv = (uint16_t)(*rtd_Blower_FL - *rtd_Blower_logic_FL); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_Cond_prev_private_dr = (rtb_out_pv <= 0.01); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(*rtd_LEVEL, &rtb_out_pb); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(*rtd_LEVEL, &rtb_out_pv); + + /* 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_Cond_prev_private_dr) { + *rtd_Blower_FR = *rtd_Blower_logic_FL; + } else { + if (*rtd_Blower_FL <= *rtd_Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Blower_FR = (uint16_t)((double)rtb_out_pb / (double)rtb_out_pv / 1000.0 + * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_gq) * (double)tmp + + (double)*rtd_Blower_FL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_FL = *rtd_Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + rtb_Cond_prev_private_dr = (*rtd_step_start_controle_front == 2); + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(*rtd_LEVEL, &rtb_out_axx); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_RelationalOperator1_lj = (*rtd_t_now - + localDW->t_start_delay_private_DSTATE > (uint32_t)(1000 * rtb_out_axx)); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Cond_prev_private_dr && (!localDW->Cond_prev_private_DSTATE)) { + localDW->t_start_delay_private_DSTATE = *rtd_t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Constant: '/stay at step' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + */ + if (rtb_RelationalOperator1_lj || (*rtd_HI_logic_on)) { + *rty_step = 3; + } else { + *rty_step = 2; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_e = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_g = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_gq = *rtd_t_now; + + /* Update for UnitDelay: '/Cond_prev_private ' */ + localDW->Cond_prev_private_DSTATE = rtb_Cond_prev_private_dr; +} + +/* + * Output and update for atomic system: + * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' + */ +void g_ausSTART_ENTER_SETTEMP_m(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + uint16_t tmp_1; + + /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + tmp_1 = g_ausSTART_ENTER_SETTEMP[tmp_0 - 1]; + if (tmp_1 > 32767) { + tmp_1 = 32767U; + } + + *rty_out = (int16_t)tmp_1; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + */ +void g_assSTART_ENTER_INCAR_c(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = int16(g_assSTART_ENTER_INCAR(LVL+1+6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_assSTART_ENTER_INCAR[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + */ +void g_assSTART_ENTER_COOLANT_c(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_ENTER_COOLANT(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_ENTER_COOLANT[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_l(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const int16_t + *rtd_ECT, const int16_t *rtd_Incar_RR, const uint8_t *rtd_LEVEL, + const uint8_t *rtd_LO_HI_MODE_FL) +{ + int16_t rtb_out_es; + int16_t rtb_out_gs; + + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_assSTART_ENTER_INCAR_c(*rtd_LEVEL, &rtb_out_es); + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_c(*rtd_LEVEL, &rtb_out_gs); + + /* 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_es) || (*rtd_ECT < rtb_out_gs)) && + (*rtd_CCU_MODE_RR == 1) && (*rtd_LO_HI_MODE_FL != 1)) { + *rty_step1 = 0; + } else { + *rty_step1 = -1; + } + + /* End of Switch: '/Switch' */ +} + +/* + * Output and update for atomic system: + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + */ +void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_INCAR_FLT_DN(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_DN[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + */ +void incarfilterup_b(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_INCAR_FLT_UP(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_UP[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + */ +void g_assSTART_COOLANT_STEP0_TO_1_k(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + tmp = (int32_t)(rtu_LVL + 3U); + if (rtu_LVL + 3U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_COOLANT_STEP0_TO_1[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_c(int8_t *rty_step1, uint16_t *rtd_Blower_RL, uint16_t + *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const + int16_t *rtd_ECT, uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, uint8_t + *rtd_Mode_RL, uint8_t *rtd_Mode_RR, uint8_t *rtd_Valve_2_way, + uint8_t *rtd_Valve_3_way) +{ + int16_t rtb_out_nk; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + *rtd_Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + *rtd_Blower_RL = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + *rtd_Dtg_RR = 80U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant5' + */ + *rtd_Dtg_RL = 80U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_b(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' + */ + *rtd_Mode_RR = 60U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - foot' + */ + *rtd_Mode_RL = 60U; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + *rtd_Valve_3_way = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + *rtd_Valve_2_way = 1U; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_k(*rtd_LEVEL, &rtb_out_nk); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + */ + *rty_step1 = (int8_t)(*rtd_ECT > rtb_out_nk); +} + +/* + * Output and update for atomic system: + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * ... + */ +void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_2WAY_OPEN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_2WAY_OPEN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + */ +void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_RX(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_RX[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + */ +void Incartempgotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = int16(g_assSTART_INCAR_STEP1_TO_2(LVL + 1 + 6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_assSTART_INCAR_STEP1_TO_2[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * ... + */ +void Timegotofromstep1tostep2_p(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + uint16_t tmp_1; + + /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1 + 6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + tmp_1 = g_ausSTART_TIME_STEP1_TO_2[tmp_0 - 1]; + if (tmp_1 > 32767) { + tmp_1 = 32767U; + } + + *rty_out = (int16_t)tmp_1; +} + +/* + * Output and update for atomic system: + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + */ +void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_IDX_STEP1(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_IDX_STEP1[tmp_0 - 1]; +} + +/* + * Output and update for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_o(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR, + uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const int16_t + *rtd_Incar_RR, uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, uint8_t + *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double *rtd_Recirculation, + uint8_t *rtd_Valve_2_way, const int8_t + *rtd_step_start_controle_rear, const uint32_t *rtd_t_now, + DW_Level0_f *localDW) +{ + int32_t tmp; + uint32_t rtb_dt_ay; + int16_t rtb_out_dr; + int16_t rtb_out_iq; + uint16_t rtb_out_jhh; + uint8_t rtb_out_gq; + bool rtb_Equal_n; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_b(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + moderearstep1(*rtd_LEVEL, &rtb_out_gq); + + /* DataStoreWrite: '/Data Store Write2' */ + *rtd_Mode_RR = rtb_out_gq; + + /* DataStoreWrite: '/Data Store Write3' */ + *rtd_Mode_RL = rtb_out_gq; + + /* MATLAB Function: '/blower rear' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + /* : out = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ + tmp = (int32_t)(*rtd_LEVEL + 1U); + if (*rtd_LEVEL + 1U > 255U) { + tmp = 255; + } + + rtb_out_jhh = g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; + + /* End of MATLAB Function: '/blower rear' */ + + /* DataStoreWrite: '/Data Store Write5' */ + *rtd_Blower_RR = rtb_out_jhh; + + /* DataStoreWrite: '/Data Store Write6' */ + *rtd_Blower_RL = rtb_out_jhh; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_gq); + + /* DataStoreWrite: '/Data Store Write10' */ + *rtd_Dtg_RR = rtb_out_gq; + + /* DataStoreWrite: '/Data Store Write11' */ + *rtd_Dtg_RL = rtb_out_gq; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + rtb_Equal_n = (*rtd_step_start_controle_rear == 1); + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_dr); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_dt_ay = *rtd_t_now - localDW->t_start_delay_private_DSTATE; + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_p(*rtd_LEVEL, &rtb_out_iq); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Equal_n && (!localDW->Cond_prev_private_DSTATE)) { + localDW->t_start_delay_private_DSTATE = *rtd_t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Constant: '/stay at step 1' + * DataStoreRead: '/incar temp' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + */ + if ((*rtd_Incar_RR < rtb_out_dr) || (rtb_dt_ay > (uint16_t)(1000 * rtb_out_iq))) + { + *rty_step = 2; + } else { + *rty_step = 1; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Cond_prev_private ' */ + localDW->Cond_prev_private_DSTATE = rtb_Equal_n; +} + +/* + * Output and update for atomic system: + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + */ +void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]) +{ + int32_t tmp; + int32_t tmp_0; + + /* : start = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ + /* : finish = g_ausSTART_BLR_AF_STEP12_R(LVL + 1 + 6); */ + /* : out = [start, finish]; */ + tmp_0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_0 = 255; + } + + rty_out[0] = g_ausSTART_BLR_AF_STEP12_R[tmp_0 - 1]; + tmp_0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_0 = 255; + } + + tmp = (int32_t)((uint32_t)tmp_0 + 6U); + if ((uint32_t)tmp_0 + 6U > 255U) { + tmp = 255; + } + + rty_out[1] = g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + */ +void ECTminmax_b(uint8_t rtu_LVL, int16_t rty_out[2]) +{ + int32_t tmp; + + /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + /* : max = int16(g_assSTART_COOLANT_TO_STEP2(3)); */ + /* : out = [min, max]; */ + tmp = (int32_t)(rtu_LVL + 3U); + if (rtu_LVL + 3U > 255U) { + tmp = 255; + } + + rty_out[0] = g_assSTART_COOLANT_STEP0_TO_1[tmp - 1]; + rty_out[1] = g_assSTART_COOLANT_TO_STEP2[2]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_n(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR, + uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const int16_t *rtd_ECT, + const int16_t *rtd_Incar_RR, uint8_t *rtd_Incar_filter_down_value, + uint8_t *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t + *rtd_step_start_controle_rear, const uint32_t *rtd_t_now, + DW_Level4_oa *localDW) +{ + uint32_t rtb_dt_ls; + int16_t rtb_out_fm[2]; + int16_t rtb_out_cq; + int16_t rtb_out_em; + uint16_t rtb_out_hq[2]; + uint8_t rtb_out_mu0; + bool rtb_Equal_n; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_b(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + moderearstep1(*rtd_LEVEL, &rtb_out_mu0); + + /* DataStoreWrite: '/Data Store Write2' */ + *rtd_Mode_RR = rtb_out_mu0; + + /* DataStoreWrite: '/Data Store Write3' */ + *rtd_Mode_RL = rtb_out_mu0; + + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstartfinish(*rtd_LEVEL, rtb_out_hq); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax_b(*rtd_LEVEL, rtb_out_fm); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_out_em = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_fm, + rtb_out_hq, 1U); + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RR = (uint16_t)rtb_out_em; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_mu0); + + /* DataStoreWrite: '/Data Store Write10' */ + *rtd_Dtg_RR = rtb_out_mu0; + + /* DataStoreWrite: '/Data Store Write11' */ + *rtd_Dtg_RL = rtb_out_mu0; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + rtb_Equal_n = (*rtd_step_start_controle_rear == 1); + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_cq); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_dt_ls = *rtd_t_now - localDW->t_start_delay_private_DSTATE; + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_p(*rtd_LEVEL, &rtb_out_em); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Equal_n && (!localDW->Cond_prev_private_DSTATE)) { + localDW->t_start_delay_private_DSTATE = *rtd_t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Constant: '/stay at step 1' + * DataStoreRead: '/incar temp' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + */ + if ((*rtd_Incar_RR > rtb_out_cq) || (rtb_dt_ls > (uint16_t)(1000 * rtb_out_em))) + { + *rty_step = 2; + } else { + *rty_step = 1; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Cond_prev_private ' */ + localDW->Cond_prev_private_DSTATE = rtb_Equal_n; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_h(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_RX(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_RX[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + */ +void blowerstep_e(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_SPD_STEP2_R(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + */ +void blowertimeforstep_o(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_ausSTART_BLR_SPD_STEP2_R(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_R[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + */ +void step_i3(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_R(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_m(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_R(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_R[tmp_0 - 1]; +} + +/* + * Output and update for action system: + * '/Level 3' + * '/Level 4' + * '/Level 5' + */ +void Level3_j(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR, + const uint16_t *rtd_Blower_logic_RR, uint8_t *rtd_Dtg_RL, uint8_t * + rtd_Dtg_RR, const uint8_t *rtd_Dtg_logic_RR, const bool + *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, uint8_t + *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t + *rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t + *rtd_Valve_2_way, const int8_t *rtd_step_start_controle_rear, + const uint32_t *rtd_t_now, DW_Level3_j *localDW) +{ + int32_t tmp; + uint32_t rtb_dt_de; + int16_t rtb_out_lu; + uint16_t rtb_out_cq; + uint16_t rtb_out_dw0; + uint8_t rtb_out_ek; + uint8_t rtb_out_k0n; + bool rtb_Cond_prev_private_j; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_k0n); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_h(*rtd_LEVEL, &rtb_out_ek); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(*rtd_Dtg_RR - *rtd_Dtg_logic_RR) <= 0.01) { + *rtd_Dtg_RR = *rtd_Dtg_logic_RR; + } else { + if (*rtd_Dtg_RR <= *rtd_Dtg_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_RR = (uint8_t)((double)rtb_out_k0n / (double)rtb_out_ek / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * (double)tmp + (double)* + rtd_Dtg_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_b(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_k0n = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_Cond_prev_private_j = (rtb_out_k0n <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_i3(*rtd_LEVEL, &rtb_out_ek); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_m(*rtd_LEVEL, &rtb_out_k0n); + + /* 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_Cond_prev_private_j) { + *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_ek / (double)rtb_out_k0n / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_a) * (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; + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep_e(*rtd_LEVEL, &rtb_out_cq); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_o(*rtd_LEVEL, &rtb_out_dw0); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * 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 ((uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR) <= 0.01) { + *rtd_Blower_RR = *rtd_Blower_logic_RR; + } else { + if (*rtd_Blower_RR <= *rtd_Blower_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Blower_RR = (uint16_t)((double)rtb_out_cq / (double)rtb_out_dw0 / + 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_ar) * (double)tmp + + (double)*rtd_Blower_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + rtb_Cond_prev_private_j = (*rtd_step_start_controle_rear == 2); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_dt_de = *rtd_t_now - localDW->t_start_delay_private_DSTATE; + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_p(*rtd_LEVEL, &rtb_out_lu); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Cond_prev_private_j && (!localDW->Cond_prev_private_DSTATE)) { + localDW->t_start_delay_private_DSTATE = *rtd_t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Constant: '/stay at step' + * DataStoreRead: '/Data Store Read' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator1' + */ + if ((rtb_dt_de > (uint16_t)(1000 * rtb_out_lu)) || (*rtd_HI_logic_on)) { + *rty_step = 3; + } else { + *rty_step = 2; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_a = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_ar = *rtd_t_now; + + /* Update for UnitDelay: '/Cond_prev_private ' */ + localDW->Cond_prev_private_DSTATE = rtb_Cond_prev_private_j; +} + +/* + * Output and update for atomic system: + * '/2.1 Incar target' + * '/2.1 Incar target' + * '/2.1 Incar target' + * '/2.1 Incar target Left' */ void u1Incartarget(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, int16_t *rty_y) @@ -3355,8 +5576,8 @@ void u1Incartarget(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, /* * Output and update for atomic system: - * '/Y1-Y4 для FLL_tg_incar' - * '/Y1-Y4 для FRL_tg_incar' + * '/Y1-Y4 для FLL_tg_incar' + * '/Y1-Y4 для FRL_tg_incar' */ void Y1Y4FLL_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -3460,10 +5681,10 @@ void Y1Y4FLL_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/убираем одинаковые точки' - * '/убираем одинаковые точки' + * '/убираем одинаковые точки' + * '/убираем одинаковые точки' */ -void u_n(const int16_t rtu_y_in[5], double rty_y_fixed[5]) +void u(const int16_t rtu_y_in[5], double rty_y_fixed[5]) { int32_t i; @@ -3501,16 +5722,16 @@ void u_n(const int16_t rtu_y_in[5], double rty_y_fixed[5]) /* * Output and update for atomic system: - * '/Amb_Tg ' - * '/Amb_Tg ' - * '/Amb_Tg ' - * '/Amb_Tg ' - * '/Amb_Tg ' - * '/Amb_Tg ' - * '/Amb_Tg ' - * '/Amb_Tg ' - * '/Amb_Tg ' - * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' */ void Amb_Tg(uint8_t rtu_LVL, int16_t *rty_y) { @@ -3527,8 +5748,8 @@ void Amb_Tg(uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/X1-X4 для FLL_tg_amb' - * '/X1-X4 для FLL_tg_amb' + * '/X1-X4 для FLL_tg_amb' + * '/X1-X4 для FLL_tg_amb' */ void X1X4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -3592,8 +5813,8 @@ void X1X4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Y1-Y4 для FLL_tg_amb' - * '/Y1-Y4 для FRL_tg_amb' + * '/Y1-Y4 для FLL_tg_amb' + * '/Y1-Y4 для FRL_tg_amb' */ void Y1Y4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -3657,8 +5878,8 @@ void Y1Y4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/X1-X4 для FLU_tg_sun' - * '/X1-X4 для FRL_tg_sun' + * '/X1-X4 для FLU_tg_sun' + * '/X1-X4 для FRL_tg_sun' */ void X1X4FLU_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -3722,8 +5943,8 @@ void X1X4FLU_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Y1-Y4 для FLL_tg_sun' - * '/Y1-Y4 для FRL_tg_sun' + * '/Y1-Y4 для FLL_tg_sun' + * '/Y1-Y4 для FRL_tg_sun' */ void Y1Y4FLL_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -3787,8 +6008,8 @@ void Y1Y4FLL_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/FLL_tg_max' - * '/FRL_tg_max' + * '/FLL_tg_max' + * '/FRL_tg_max' */ void FLL_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -3823,8 +6044,8 @@ void FLL_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/FLL_tg_min' - * '/FRL_tg_min' + * '/FLL_tg_min' + * '/FRL_tg_min' */ void FLL_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -3859,16 +6080,16 @@ void FLL_tg_min(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' - * '/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' + * '/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) @@ -3880,8 +6101,8 @@ void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5) /* * Output and update for atomic system: - * '/X1-X4 для FLU_tg_incar' - * '/X1-X4 для FLU_tg_incar' + * '/X1-X4 для FLU_tg_incar' + * '/X1-X4 для FLU_tg_incar' */ void X1X4FLU_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -3985,8 +6206,8 @@ void X1X4FLU_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/Y1-Y4 для FLU_tg_incar' - * '/Y1-Y4 для FLU_tg_incar' + * '/Y1-Y4 для FLU_tg_incar' + * '/Y1-Y4 для FLU_tg_incar' */ void Y1Y4FLU_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -4090,8 +6311,8 @@ void Y1Y4FLU_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/X1-X4 для FLU_tg_amb' - * '/X1-X4 для FLU_tg_amb' + * '/X1-X4 для FLU_tg_amb' + * '/X1-X4 для FLU_tg_amb' */ void X1X4FLU_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -4155,8 +6376,8 @@ void X1X4FLU_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Y1-Y4 для FLU_tg_amb' - * '/Y1-Y4 для FLU_tg_amb' + * '/Y1-Y4 для FLU_tg_amb' + * '/Y1-Y4 для FLU_tg_amb' */ void Y1Y4FLU_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -4220,8 +6441,8 @@ void Y1Y4FLU_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/X1-X4 для FLU_tg_sun' - * '/X1-X4 для FLU_tg_sun' + * '/X1-X4 для FLU_tg_sun' + * '/X1-X4 для FLU_tg_sun' */ void X1X4FLU_tg_sun_h(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -4285,8 +6506,8 @@ void X1X4FLU_tg_sun_h(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Y1-Y4 для FLU_tg_sun' - * '/Y1-Y4 для FLU_tg_sun' + * '/Y1-Y4 для FLU_tg_sun' + * '/Y1-Y4 для FLU_tg_sun' */ void Y1Y4FLU_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -4350,8 +6571,8 @@ void Y1Y4FLU_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/FXU_tg_min' - * '/FXU_tg_min' + * '/FXU_tg_min' + * '/FXU_tg_min' */ void FXU_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -4386,8 +6607,8 @@ void FXU_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/2.1 Incar target' - * '/2.1 Incar target Left' + * '/2.1 Incar target' + * '/2.1 Incar target Left' */ void u1Incartarget_e(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, int16_t *rty_y) @@ -4464,8 +6685,8 @@ void u1Incartarget_e(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, /* * Output and update for atomic system: - * '/X1-X4 для R_tg_incar' - * '/X1-X4 для R_tg_incar' + * '/X1-X4 для R_tg_incar' + * '/X1-X4 для R_tg_incar' */ void X1X4R_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -4569,8 +6790,8 @@ void X1X4R_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/Y1-Y4 для R_tg_incar' - * '/Y1-Y4 для R_tg_incar' + * '/Y1-Y4 для R_tg_incar' + * '/Y1-Y4 для R_tg_incar' */ void Y1Y4R_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -4674,8 +6895,8 @@ void Y1Y4R_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/X1-X4 для R_tg_amb' - * '/X1-X4 для R_tg_amb' + * '/X1-X4 для R_tg_amb' + * '/X1-X4 для R_tg_amb' */ void X1X4R_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -4739,8 +6960,8 @@ void X1X4R_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Y1-Y4 для R_tg_amb' - * '/Y1-Y4 для R_tg_amb' + * '/Y1-Y4 для R_tg_amb' + * '/Y1-Y4 для R_tg_amb' */ void Y1Y4R_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -4804,8 +7025,8 @@ void Y1Y4R_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/X1-X4 для R_tg_sun' - * '/X1-X4 для R_tg_sun' + * '/X1-X4 для R_tg_sun' + * '/X1-X4 для R_tg_sun' */ void X1X4R_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -4869,8 +7090,8 @@ void X1X4R_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Y1-Y4 для R_tg_sun' - * '/Y1-Y4 для R_tg_sun' + * '/Y1-Y4 для R_tg_sun' + * '/Y1-Y4 для R_tg_sun' */ void Y1Y4R_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -4934,8 +7155,8 @@ void Y1Y4R_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/R_tg_max' - * '/R_tg_max' + * '/R_tg_max' + * '/R_tg_max' */ void R_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -4970,8 +7191,8 @@ void R_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/R_tg_min' - * '/R_tg_min' + * '/R_tg_min' + * '/R_tg_min' */ void R_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -5006,8 +7227,8 @@ void R_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/2.1 Incar target' - * '/2.1 Incar target Rear Right' + * '/2.1 Incar target' + * '/2.1 Incar target Rear Right' */ void u1Incartarget_p(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, int16_t *rty_y) @@ -5084,8 +7305,8 @@ void u1Incartarget_p(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, /* * Output and update for atomic system: - * '/2.1 Incar target' - * '/2.1 Incar target Right' + * '/2.1 Incar target' + * '/2.1 Incar target Right' */ void u1Incartarget_l(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, int16_t *rty_y) @@ -5162,8 +7383,8 @@ void u1Incartarget_l(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, /* * 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) { @@ -5197,8 +7418,756 @@ void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' + * '/AMBRATE_RISING_DIFF[8]' + * '/AMBRATE_RISING_DIFF[8]' + */ +void AMBRATE_RISING_DIFF8(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F) +{ + /* : f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F(8); */ + *rty_f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F[7]; +} + +/* + * Output and update for atomic system: + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + */ +void u_j(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F) +{ + int32_t tmp; + + /* : f_g_ausINCARRATE_FALLING_F = g_ausINCARRATE_FALLING_F(lvl + 1); */ + tmp = (int32_t)(rtu_lvl + 1U); + if (rtu_lvl + 1U > 255U) { + tmp = 255; + } + + *rty_f_g_ausINCARRATE_FALLING_F = g_ausINCARRATE_FALLING_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + */ +void u_m(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F) +{ + int32_t tmp; + + /* : f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F(lvl + 1); */ + tmp = (int32_t)(rtu_lvl + 1U); + if (rtu_lvl + 1U > 255U) { + tmp = 255; + } + + *rty_f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' + */ +void u_h(uint8_t rtu_lvl, uint16_t *rty_out) +{ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_m(rtu_lvl, rty_out); +} + +/* + * Output and update for atomic system: + * '/AMBRATE_FALLING_DIFF[7]' + * '/AMBRATE_FALLING_DIFF[7]' + */ +void AMBRATE_FALLING_DIFF7(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F) +{ + /* : f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F(7); */ + *rty_f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F[6]; +} + +/* + * Output and update for action system: + * '/обычный режим повышения' + * '/обычный режим повышения' + */ +void u_i(uint8_t rtu_lvl, uint16_t *rty_out) +{ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_j(rtu_lvl, rty_out); +} + +/* + * Output and update for atomic system: + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + */ +void u_e(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_F) +{ + int32_t tmp; + + /* : f_g_ausINCARRATE_RISING_F = g_ausINCARRATE_RISING_F(lvl + 1); */ + tmp = (int32_t)(rtu_lvl + 1U); + if (rtu_lvl + 1U > 255U) { + tmp = 255; + } + + *rty_f_g_ausINCARRATE_RISING_F = g_ausINCARRATE_RISING_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + */ +void u_c(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) +{ + int32_t tmp; + + /* : f_g_ausINCARRATE_RISING_DIFF_F = g_ausINCARRATE_RISING_DIFF_F(lvl + 1); */ + tmp = (int32_t)(rtu_lvl + 1U); + if (rtu_lvl + 1U > 255U) { + tmp = 255; + } + + *rty_f_g_ausINCARRATE_RISING_DIFF_F = g_ausINCARRATE_RISING_DIFF_F[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' + */ +void u_cc(uint8_t rtu_lvl, uint16_t *rty_out) +{ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_c(rtu_lvl, rty_out); +} + +/* + * Output and update for atomic system: + * '/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) +{ + /* : f_g_ausINCARRATE_RISING_DIFF_F = g_ausINCARRATE_RISING_DIFF_F(8); */ + *rty_f_g_ausINCARRATE_RISING_DIFF_F = g_ausINCARRATE_RISING_DIFF_F[7]; +} + +/* + * Output and update for atomic system: + * '/INCARRATE_RISING_DIFF_F[7]' + * '/INCARRATE_RISING_DIFF_F[7]' + */ +void INCARRATE_RISING_DIFF_F7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) +{ + /* : f_g_ausINCARRATE_RISING_DIFF_F = g_ausINCARRATE_RISING_DIFF_F(7); */ + *rty_f_g_ausINCARRATE_RISING_DIFF_F = g_ausINCARRATE_RISING_DIFF_F[6]; +} + +/* + * Output and update for action system: + * '/обычный режим повышения' + * '/обычный режим повышения' + */ +void u_mu(uint8_t rtu_lvl, uint16_t *rty_out) +{ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_e(rtu_lvl, rty_out); +} + +/* + * Output and update for atomic system: + * '/AMBRATE_RISING_DIFF[8]' + * '/AMBRATE_RISING_DIFF[8]' + */ +void AMBRATE_RISING_DIFF8_m(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) +{ + /* : f_g_ausINCARRATE_FALLING_DIFF_R = g_ausINCARRATE_FALLING_DIFF_R(8); */ + *rty_f_g_ausINCARRATE_FALLING_DIFF_R = g_ausINCARRATE_FALLING_DIFF_R[7]; +} + +/* + * Output and update for atomic system: + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + */ +void u_a(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_R) +{ + int32_t tmp; + + /* : f_g_ausINCARRATE_FALLING_R = g_ausINCARRATE_FALLING_R(lvl + 1); */ + tmp = (int32_t)(rtu_lvl + 1U); + if (rtu_lvl + 1U > 255U) { + tmp = 255; + } + + *rty_f_g_ausINCARRATE_FALLING_R = g_ausINCARRATE_FALLING_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + */ +void u_l(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) +{ + int32_t tmp; + + /* : f_g_ausINCARRATE_FALLING_DIFF_R = g_ausINCARRATE_FALLING_DIFF_R(lvl + 1); */ + tmp = (int32_t)(rtu_lvl + 1U); + if (rtu_lvl + 1U > 255U) { + tmp = 255; + } + + *rty_f_g_ausINCARRATE_FALLING_DIFF_R = g_ausINCARRATE_FALLING_DIFF_R[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' + */ +void u_g(uint8_t rtu_lvl, uint16_t *rty_out) +{ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_l(rtu_lvl, rty_out); +} + +/* + * Output and update for atomic system: + * '/AMBRATE_FALLING_DIFF[7]' + * '/AMBRATE_FALLING_DIFF[7]' + */ +void AMBRATE_FALLING_DIFF7_a(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) +{ + /* : f_g_ausINCARRATE_FALLING_DIFF_R = g_ausINCARRATE_FALLING_DIFF_R(7); */ + *rty_f_g_ausINCARRATE_FALLING_DIFF_R = g_ausINCARRATE_FALLING_DIFF_R[6]; +} + +/* + * Output and update for action system: + * '/обычный режим повышения' + * '/обычный режим повышения' + */ +void u_b(uint8_t rtu_lvl, uint16_t *rty_out) +{ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_a(rtu_lvl, rty_out); +} + +/* + * Output and update for atomic system: + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + */ +void u_jy(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_R) +{ + int32_t tmp; + + /* : f_g_ausINCARRATE_RISING_R = g_ausINCARRATE_RISING_R(lvl + 1); */ + tmp = (int32_t)(rtu_lvl + 1U); + if (rtu_lvl + 1U > 255U) { + tmp = 255; + } + + *rty_f_g_ausINCARRATE_RISING_R = g_ausINCARRATE_RISING_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + */ +void u_d(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) +{ + int32_t tmp; + + /* : f_g_ausINCARRATE_RISING_DIFF_R = g_ausINCARRATE_RISING_DIFF_R(lvl + 1); */ + tmp = (int32_t)(rtu_lvl + 1U); + if (rtu_lvl + 1U > 255U) { + tmp = 255; + } + + *rty_f_g_ausINCARRATE_RISING_DIFF_R = g_ausINCARRATE_RISING_DIFF_R[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' + */ +void u_jk(uint8_t rtu_lvl, uint16_t *rty_out) +{ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_d(rtu_lvl, rty_out); +} + +/* + * Output and update for atomic system: + * '/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) +{ + /* : f_g_ausINCARRATE_RISING_DIFF_R = g_ausINCARRATE_RISING_DIFF_R(8); */ + *rty_f_g_ausINCARRATE_RISING_DIFF_R = g_ausINCARRATE_RISING_DIFF_R[7]; +} + +/* + * Output and update for atomic system: + * '/INCARRATE_RISING_DIFF_R[7]' + * '/INCARRATE_RISING_DIFF_R[7]' + */ +void INCARRATE_RISING_DIFF_R7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) +{ + /* : f_g_ausINCARRATE_RISING_DIFF_R = g_ausINCARRATE_RISING_DIFF_R(7); */ + *rty_f_g_ausINCARRATE_RISING_DIFF_R = g_ausINCARRATE_RISING_DIFF_R[6]; +} + +/* + * Output and update for action system: + * '/обычный режим повышения' + * '/обычный режим повышения' + */ +void u_ew(uint8_t rtu_lvl, uint16_t *rty_out) +{ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_jy(rtu_lvl, rty_out); +} + +/* + * System initialize for atomic system: + * '/Zone_Climate_Logic_Auto_FL1' + * '/Zone_Climate_Logic_Auto_FL4' + */ +void Zone_Climate_Logic_Auto_FL1_Init(uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double + *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW) +{ + *rty_out_def = 0U; + *rty_out_face = 0U; + *rty_out_foot = 0U; + *rty_out_auto = 0U; + *rty_out_ac = 0.0; + localDW->is_active_c23_HVAC_model = 0U; + localDW->is_c23_HVAC_model = IN_NO_ACTIVE_CHILD; + localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_AC_SUB_g = IN_NO_ACTIVE_CHILD; +} + +/* + * Output and update for atomic system: + * '/Zone_Climate_Logic_Auto_FL1' + * '/Zone_Climate_Logic_Auto_FL4' + */ +void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, uint8_t + *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t + *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW) +{ + /* Chart: '/Zone_Climate_Logic_Auto_FL1' */ + if (localDW->is_active_c23_HVAC_model == 0U) { + localDW->is_active_c23_HVAC_model = 1U; + localDW->is_c23_HVAC_model = IN_MANUAL_MODE; + + /* : out_def = 0; */ + *rty_out_def = 0U; + + /* : out_face = 1; */ + *rty_out_face = 1U; + + /* : out_foot = 1; */ + *rty_out_foot = 1U; + + /* : mem_def = 0; */ + /* : mem_face = 0; */ + /* : mem_foot = 0; */ + localDW->is_DEF_SUB = IN_Def_Off; + localDW->is_FACE_SUB = IN_Face_Off; + localDW->is_FOOT_SUB = IN_Foot_Off; + localDW->is_AC_SUB_g = IN_AC_Off; + } else if (localDW->is_c23_HVAC_model == IN_AUTO_MODE) { + /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ + if ((rtu_btn_auto == 0) || (rtu_btn_def == 1) || (rtu_btn_face == 1) || + (rtu_btn_foot == 1)) { + /* : out_def = mem_def; */ + /* : out_face = mem_face; */ + /* : out_foot = mem_foot; */ + /* : out_auto=0; */ + *rty_out_auto = 0U; + localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_c23_HVAC_model = IN_MANUAL_MODE; + + /* : out_def = 0; */ + *rty_out_def = 0U; + + /* : out_face = 1; */ + *rty_out_face = 1U; + + /* : out_foot = 1; */ + *rty_out_foot = 1U; + + /* : mem_def = 0; */ + /* : mem_face = 0; */ + /* : mem_foot = 0; */ + localDW->is_DEF_SUB = IN_Def_Off; + localDW->is_FACE_SUB = IN_Face_Off; + localDW->is_FOOT_SUB = IN_Foot_Off; + localDW->is_AC_SUB_g = IN_AC_Off; + } else if (localDW->is_AC_SUB == IN_AC_Off) { + /* : sf_internal_predicateOutput = btn_ac == 1; */ + if (rtu_btn_ac == 1) { + /* : out_ac=1 */ + localDW->is_AC_SUB = IN_AC_On; + + /* : out_ac = 1; */ + *rty_out_ac = 1.0; + } + + /* case IN_AC_On: */ + /* : sf_internal_predicateOutput = btn_ac == 0; */ + } else if (rtu_btn_ac == 0) { + /* : out_ac=0 */ + *rty_out_ac = 0.0; + localDW->is_AC_SUB = IN_AC_Off; + } + + /* case IN_MANUAL_MODE: */ + /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ + } else if ((rtu_btn_auto == 1) || ((*rty_out_def == 0) && (*rty_out_face == 0) + && (*rty_out_foot == 0))) { + /* : mem_def = out_def; */ + /* : mem_face = out_face; */ + /* : mem_foot = out_foot; */ + /* : out_auto=1; */ + localDW->is_AC_SUB_g = IN_NO_ACTIVE_CHILD; + localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_c23_HVAC_model = IN_AUTO_MODE; + + /* : out_auto = 1; */ + *rty_out_auto = 1U; + + /* : out_def = 0; */ + *rty_out_def = 0U; + + /* : out_face = 0; */ + *rty_out_face = 0U; + + /* : out_foot = 0; */ + *rty_out_foot = 0U; + localDW->is_AC_SUB = IN_AC_On; + + /* : out_ac = 1; */ + *rty_out_ac = 1.0; + } else { + if (localDW->is_DEF_SUB == IN_Def_Off) { + /* : sf_internal_predicateOutput = btn_def == 1; */ + if (rtu_btn_def == 1) { + /* : out_def=1 */ + *rty_out_def = 1U; + localDW->is_DEF_SUB = IN_Def_On; + } + + /* case IN_Def_On: */ + /* : sf_internal_predicateOutput = btn_def == 0; */ + } else if (rtu_btn_def == 0) { + /* : out_def=0 */ + *rty_out_def = 0U; + localDW->is_DEF_SUB = IN_Def_Off; + } + + if (localDW->is_FACE_SUB == IN_Face_Off) { + /* : sf_internal_predicateOutput = btn_face == 1; */ + if (rtu_btn_face == 1) { + /* : out_face=1 */ + *rty_out_face = 1U; + localDW->is_FACE_SUB = IN_Face_On; + } + + /* case IN_Face_On: */ + /* : sf_internal_predicateOutput = btn_face == 0; */ + } else if (rtu_btn_face == 0) { + /* : out_face=0 */ + *rty_out_face = 0U; + localDW->is_FACE_SUB = IN_Face_Off; + } + + if (localDW->is_FOOT_SUB == IN_Foot_Off) { + /* : sf_internal_predicateOutput = btn_foot == 1; */ + if (rtu_btn_foot == 1) { + /* : out_foot=1 */ + *rty_out_foot = 1U; + localDW->is_FOOT_SUB = IN_Foot_On; + } + + /* case IN_Foot_On: */ + /* : sf_internal_predicateOutput = btn_foot == 0; */ + } else if (rtu_btn_foot == 0) { + /* : out_foot=0 */ + *rty_out_foot = 0U; + localDW->is_FOOT_SUB = IN_Foot_Off; + } + + if (localDW->is_AC_SUB_g == IN_AC_Off) { + /* : sf_internal_predicateOutput = btn_ac == 1; */ + if (rtu_btn_ac == 1) { + /* : out_ac=1 */ + *rty_out_ac = 1.0; + localDW->is_AC_SUB_g = IN_AC_On; + } + + /* case IN_AC_On: */ + /* : sf_internal_predicateOutput = btn_ac == 0; */ + } else if (rtu_btn_ac == 0) { + /* : out_ac=0 */ + *rty_out_ac = 0.0; + localDW->is_AC_SUB_g = IN_AC_Off; + } + } + + /* End of Chart: '/Zone_Climate_Logic_Auto_FL1' */ +} + +/* + * System initialize for atomic system: + * '/Zone_Climate_Logic_Auto_FL2' + * '/Zone_Climate_Logic_Auto_FL3' + */ +void Zone_Climate_Logic_Auto_FL2_Init(uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double + *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW) +{ + *rty_out_def = 0U; + *rty_out_face = 0U; + *rty_out_foot = 0U; + *rty_out_auto = 0U; + *rty_out_ac = 0.0; + localDW->is_active_c783_HVAC_model = 0U; + localDW->is_c783_HVAC_model = IN_NO_ACTIVE_CHILD_g; + localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD_g; + localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD_g; + localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD_g; + localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD_g; + localDW->is_AC_SUB_b = IN_NO_ACTIVE_CHILD_g; +} + +/* + * Output and update for atomic system: + * '/Zone_Climate_Logic_Auto_FL2' + * '/Zone_Climate_Logic_Auto_FL3' + */ +void Zone_Climate_Logic_Auto_FL2(double rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, uint8_t + *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t + *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW) +{ + /* Chart: '/Zone_Climate_Logic_Auto_FL2' */ + if (localDW->is_active_c783_HVAC_model == 0U) { + localDW->is_active_c783_HVAC_model = 1U; + localDW->is_c783_HVAC_model = IN_MANUAL_MODE_e; + + /* : out_def = 0; */ + *rty_out_def = 0U; + + /* : out_face = 1; */ + *rty_out_face = 1U; + + /* : out_foot = 1; */ + *rty_out_foot = 1U; + + /* : mem_def = 0; */ + /* : mem_face = 0; */ + /* : mem_foot = 0; */ + localDW->is_DEF_SUB = IN_Def_Off_d; + localDW->is_FACE_SUB = IN_Face_Off_n; + localDW->is_FOOT_SUB = IN_Foot_Off_o; + localDW->is_AC_SUB_b = IN_AC_Off_p; + } else if (localDW->is_c783_HVAC_model == IN_AUTO_MODE_k) { + /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ + if ((rtu_btn_auto == 0) || (rtu_btn_def == 1.0) || (rtu_btn_face == 1) || + (rtu_btn_foot == 1)) { + /* : out_def = mem_def; */ + /* : out_face = mem_face; */ + /* : out_foot = mem_foot; */ + /* : out_auto=0; */ + *rty_out_auto = 0U; + localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD_g; + localDW->is_c783_HVAC_model = IN_MANUAL_MODE_e; + + /* : out_def = 0; */ + *rty_out_def = 0U; + + /* : out_face = 1; */ + *rty_out_face = 1U; + + /* : out_foot = 1; */ + *rty_out_foot = 1U; + + /* : mem_def = 0; */ + /* : mem_face = 0; */ + /* : mem_foot = 0; */ + localDW->is_DEF_SUB = IN_Def_Off_d; + localDW->is_FACE_SUB = IN_Face_Off_n; + localDW->is_FOOT_SUB = IN_Foot_Off_o; + localDW->is_AC_SUB_b = IN_AC_Off_p; + } else if (localDW->is_AC_SUB == IN_AC_Off_p) { + /* : sf_internal_predicateOutput = btn_ac == 1; */ + if (rtu_btn_ac == 1) { + /* : out_ac=1 */ + localDW->is_AC_SUB = IN_AC_On_k; + + /* : out_ac = 1; */ + *rty_out_ac = 1.0; + } + + /* case IN_AC_On: */ + /* : sf_internal_predicateOutput = btn_ac == 0; */ + } else if (rtu_btn_ac == 0) { + /* : out_ac=0 */ + *rty_out_ac = 0.0; + localDW->is_AC_SUB = IN_AC_Off_p; + } + + /* case IN_MANUAL_MODE: */ + /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ + } else if ((rtu_btn_auto == 1) || ((*rty_out_def == 0) && (*rty_out_face == 0) + && (*rty_out_foot == 0))) { + /* : mem_def = out_def; */ + /* : mem_face = out_face; */ + /* : mem_foot = out_foot; */ + /* : out_auto=1; */ + localDW->is_AC_SUB_b = IN_NO_ACTIVE_CHILD_g; + localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD_g; + localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD_g; + localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD_g; + localDW->is_c783_HVAC_model = IN_AUTO_MODE_k; + + /* : out_auto = 1; */ + *rty_out_auto = 1U; + + /* : out_def = 0; */ + *rty_out_def = 0U; + + /* : out_face = 0; */ + *rty_out_face = 0U; + + /* : out_foot = 0; */ + *rty_out_foot = 0U; + localDW->is_AC_SUB = IN_AC_On_k; + + /* : out_ac = 1; */ + *rty_out_ac = 1.0; + } else { + if (localDW->is_DEF_SUB == IN_Def_Off_d) { + /* : sf_internal_predicateOutput = btn_def == 1; */ + if (rtu_btn_def == 1.0) { + /* : out_def=1 */ + *rty_out_def = 1U; + localDW->is_DEF_SUB = IN_Def_On_k; + } + + /* case IN_Def_On: */ + /* : sf_internal_predicateOutput = btn_def == 0; */ + } else if (rtu_btn_def == 0.0) { + /* : out_def=0 */ + *rty_out_def = 0U; + localDW->is_DEF_SUB = IN_Def_Off_d; + } + + if (localDW->is_FACE_SUB == IN_Face_Off_n) { + /* : sf_internal_predicateOutput = btn_face == 1; */ + if (rtu_btn_face == 1) { + /* : out_face=1 */ + *rty_out_face = 1U; + localDW->is_FACE_SUB = IN_Face_On_k; + } + + /* case IN_Face_On: */ + /* : sf_internal_predicateOutput = btn_face == 0; */ + } else if (rtu_btn_face == 0) { + /* : out_face=0 */ + *rty_out_face = 0U; + localDW->is_FACE_SUB = IN_Face_Off_n; + } + + if (localDW->is_FOOT_SUB == IN_Foot_Off_o) { + /* : sf_internal_predicateOutput = btn_foot == 1; */ + if (rtu_btn_foot == 1) { + /* : out_foot=1 */ + *rty_out_foot = 1U; + localDW->is_FOOT_SUB = IN_Foot_On_j; + } + + /* case IN_Foot_On: */ + /* : sf_internal_predicateOutput = btn_foot == 0; */ + } else if (rtu_btn_foot == 0) { + /* : out_foot=0 */ + *rty_out_foot = 0U; + localDW->is_FOOT_SUB = IN_Foot_Off_o; + } + + if (localDW->is_AC_SUB_b == IN_AC_Off_p) { + /* : sf_internal_predicateOutput = btn_ac == 1; */ + if (rtu_btn_ac == 1) { + /* : out_ac=1 */ + *rty_out_ac = 1.0; + localDW->is_AC_SUB_b = IN_AC_On_k; + } + + /* case IN_AC_On: */ + /* : sf_internal_predicateOutput = btn_ac == 0; */ + } else if (rtu_btn_ac == 0) { + /* : out_ac=0 */ + *rty_out_ac = 0.0; + localDW->is_AC_SUB_b = IN_AC_Off_p; + } + } + + /* End of Chart: '/Zone_Climate_Logic_Auto_FL2' */ +} + +/* + * Output and update for atomic system: + * '/AF for Bi Level' + * '/AF for Bi Level' */ void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -5215,8 +8184,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) { @@ -5233,8 +8202,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) { @@ -5251,8 +8220,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) { @@ -5269,8 +8238,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) { @@ -5287,8 +8256,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) { @@ -5305,8 +8274,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) { @@ -5323,29 +8292,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)); */ @@ -5357,7 +8326,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; @@ -5367,7 +8336,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; @@ -5377,7 +8346,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; @@ -5387,16 +8356,16 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ } /* * Output and update for atomic system: - * '/func g_ascAUTO_STEP_AF_F' - * '/func g_ascAUTO_STEP_AF_F' + * '/func g_ascAUTO_STEP_AF_F' + * '/func g_ascAUTO_STEP_AF_F' */ void funcg_ascAUTO_STEP_AF_F(int8_t rtu_AF_STEP, int8_t *rty_y) { @@ -5406,8 +8375,8 @@ void funcg_ascAUTO_STEP_AF_F(int8_t rtu_AF_STEP, int8_t *rty_y) /* * Output and update for atomic system: - * '/X1-X4 для Vtg_FX_incar' - * '/X1-X4 для Vtg_FX_incar' + * '/X1-X4 для Vtg_FX_incar' + * '/X1-X4 для Vtg_FX_incar' */ void X1X4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -5511,8 +8480,8 @@ void X1X4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/Y1-Y4 для Vtg_FX_incar' - * '/Y1-Y4 для Vtg_FX_incar' + * '/Y1-Y4 для Vtg_FX_incar' + * '/Y1-Y4 для Vtg_FX_incar' */ void Y1Y4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -5616,8 +8585,8 @@ void Y1Y4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/Y1-Y2 для Vtg_FL_amb' - * '/Y1-Y4 для Vtg_FR_amb' + * '/Y1-Y2 для Vtg_FL_amb' + * '/Y1-Y4 для Vtg_FR_amb' */ void Y1Y2Vtg_FL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -5681,8 +8650,8 @@ void Y1Y2Vtg_FL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/X1-X2 для Vtg_FX_sun' - * '/X1-X4 для Vtg_FX_sun' + * '/X1-X2 для Vtg_FX_sun' + * '/X1-X4 для Vtg_FX_sun' */ void X1X2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -5746,8 +8715,8 @@ void X1X2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Y1-Y2 для Vtg_FX_sun' - * '/Y1-Y4 для Vtg_FX_sun' + * '/Y1-Y2 для Vtg_FX_sun' + * '/Y1-Y4 для Vtg_FX_sun' */ void Y1Y2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -5811,8 +8780,8 @@ void Y1Y2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Vtg_FX_plus_max' - * '/Vtg_FX_plus_max' + * '/Vtg_FX_plus_max' + * '/Vtg_FX_plus_max' */ void Vtg_FX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -5847,8 +8816,8 @@ void Vtg_FX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/Vtg_FX_plus_min' - * '/FXU_tg_min' + * '/Vtg_FX_plus_min' + * '/FXU_tg_min' */ void Vtg_FX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -5883,8 +8852,8 @@ void Vtg_FX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/X1-X4 для Vtg_FX_incar' - * '/X1-X4 для Vtg_RX_incar' + * '/X1-X4 для Vtg_FX_incar' + * '/X1-X4 для Vtg_RX_incar' */ void X1X4Vtg_FX_incar_o(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -5988,8 +8957,8 @@ void X1X4Vtg_FX_incar_o(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/Y1-Y4 для Vtg_FX_incar' - * '/Y1-Y4 для Vtg_RX_incar' + * '/Y1-Y4 для Vtg_FX_incar' + * '/Y1-Y4 для Vtg_RX_incar' */ void Y1Y4Vtg_FX_incar_o(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -6093,8 +9062,8 @@ void Y1Y4Vtg_FX_incar_o(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) /* * Output and update for atomic system: - * '/Y1-Y2 для Vtg_RL_amb' - * '/Y1-Y4 для Vtg_RX_amb' + * '/Y1-Y2 для Vtg_RL_amb' + * '/Y1-Y4 для Vtg_RX_amb' */ void Y1Y2Vtg_RL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -6158,8 +9127,8 @@ void Y1Y2Vtg_RL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/X1-X2 для Vtg_FX_sun' - * '/X1-X4 для Vtg_RX_sun' + * '/X1-X2 для Vtg_FX_sun' + * '/X1-X4 для Vtg_RX_sun' */ void X1X2Vtg_FX_sun_p(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -6223,8 +9192,8 @@ void X1X2Vtg_FX_sun_p(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Y1-Y2 для Vtg_RX_sun' - * '/Y1-Y4 для Vtg_RX_sun' + * '/Y1-Y2 для Vtg_RX_sun' + * '/Y1-Y4 для Vtg_RX_sun' */ void Y1Y2Vtg_RX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -6288,8 +9257,8 @@ void Y1Y2Vtg_RX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) /* * Output and update for atomic system: - * '/Vtg_RX_plus_max' - * '/Vtg_RX_plus_max' + * '/Vtg_RX_plus_max' + * '/Vtg_RX_plus_max' */ void Vtg_RX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -6324,8 +9293,8 @@ void Vtg_RX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/Vtg_RX_plus_min' - * '/Vtg_RX_plus_min' + * '/Vtg_RX_plus_min' + * '/Vtg_RX_plus_min' */ void Vtg_RX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -6358,43 +9327,323 @@ void Vtg_RX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; } +/* + * Output and update for atomic system: + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + */ +void u_bs(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) +{ + int32_t tmp; + + /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ + tmp = rtu_lvl + 1; + if (rtu_lvl + 1 > 32767) { + tmp = 32767; + } + + *rty_f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING[tmp - 1]; +} + /* * Output and update for action system: - * '/If Action Subsystem' - * '/If Action Subsystem' - * '/If Action Subsystem' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + */ +void u_de(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' + */ + /* : 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' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_FALLING_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное понижение темп.' + * Merge: '/Merge' + */ + u_bs(rtu_lvl, rty_out); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + /* 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' + */ + *rty_out = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ +} + +/* + * Output and update for action system: + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + */ +void u_co(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' + */ + /* : 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' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_FALLING_UNTIL_LIMIT = 1.0; + + /* 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' + */ + *rty_riseperminute = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/обычное повышение темп.' + * Merge: '/Merge' + */ + u_bs(rtu_lvl, rty_riseperminute); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ +} + +/* + * Output and update for atomic system: + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + */ +void u_bq(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) +{ + int32_t tmp; + + /* : f_g_aucAMBRATE_RISING = g_aucAMBRATE_RISING(lvl + 1); */ + tmp = rtu_lvl + 1; + if (rtu_lvl + 1 > 32767) { + tmp = 32767; + } + + *rty_f_g_aucAMBRATE_RISING = g_aucAMBRATE_RISING[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + */ +void u_gw(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) +{ + int32_t tmp; + + /* : f_g_aucAMBRATE_RISING_DIFF_LVL = g_aucAMBRATE_RISING_DIFF(lvl + 1); */ + tmp = rtu_lvl + 1; + if (rtu_lvl + 1 > 32767) { + tmp = 32767; + } + + *rty_f_g_aucAMBRATE_RISING_DIFF_LVL = g_aucAMBRATE_RISING_DIFF[tmp - 1]; +} + +/* + * Output and update for action system: + * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + */ +void u_hd(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' + */ + /* : 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' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_RISING_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_bq(rtu_lvl, rty_out); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_gw(rtu_lvl, rty_out); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ +} + +/* + * Output and update for action system: + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + */ +void u_a5(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' + */ + /* : 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' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_RISING_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_gw(rtu_lvl, rty_riseperminute); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_bq(rtu_lvl, rty_riseperminute); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ +} + +/* + * Output and update for action system: + * '/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) { @@ -6404,9 +9653,9 @@ void MATLABFunction_Init(DW_MATLABFunction *localDW) /* * Output and update for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, DW_MATLABFunction *localDW) @@ -6453,9 +9702,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 @@ -6466,32 +9715,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) { @@ -6506,2438 +9755,40 @@ 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: - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' - */ -void g_assSTART_ENTER_INCAR_j(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - - /* : out = int16(g_assSTART_ENTER_INCAR(LVL+1)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_assSTART_ENTER_INCAR[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' - */ -void g_assSTART_ENTER_COOLANT_p(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t q0; - uint32_t qY; - - /* : out = int16(g_assSTART_ENTER_COOLANT(LVL + 1 - 3)); */ - q0 = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - q0 = 255; - } - - /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - qY = (uint32_t)q0 - 3U; - - /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ - if ((uint32_t)q0 - 3U > (uint32_t)q0) { - qY = 0U; - } - - *rty_out = g_assSTART_ENTER_COOLANT[(int32_t)qY - 1]; -} - -/* - * Output and update for action system: - * '/Level 4' - * '/Level 5' - */ -void Level4(int8_t *rty_step1, const int16_t *rtd_ECT, const uint8_t *rtd_LEVEL, - const double *rtd_MODE_DRIVER) -{ - int16_t rtb_out_p2; - - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - g_assSTART_ENTER_COOLANT_p(*rtd_LEVEL, &rtb_out_p2); - - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator2' - */ - if ((*rtd_ECT < rtb_out_p2) && (*rtd_MODE_DRIVER == 1.0)) { - *rty_step1 = 0; - } else { - *rty_step1 = -1; - } - - /* End of Switch: '/Switch' */ -} - -/* - * Output and update for action system: - * '/Level 0' - * '/Level 1' - * '/Level 2' - * '/Level 0' - * '/Level 1' - */ -void Level0(int8_t *rty_step) -{ - /* SignalConversion generated from: '/step' incorporates: - * Constant: '/Constant' - */ - *rty_step = 1; -} - -/* - * Output and update for atomic system: - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * ... - */ -void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_INCAR_FLT_DN(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_INCAR_FLT_DN[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * ... - */ -void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_INCAR_FLT_UP(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_INCAR_FLT_UP[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - */ -void g_assSTART_COOLANT_STEP0_TO_1_h(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t q0; - uint32_t qY; - - /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ - q0 = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - q0 = 255; - } - - /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - qY = (uint32_t)q0 - 2U; - - /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ - if ((uint32_t)q0 - 2U > (uint32_t)q0) { - qY = 0U; - } - - *rty_out = g_assSTART_COOLANT_STEP0_TO_1[(int32_t)qY - 1]; -} - -/* - * Output and update for atomic system: - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' - */ -void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_3WAY_OPEN(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_3WAY_OPEN[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/Dtg_FrontLower_X' - * '/Dtg_FrontLower_X' - * '/Dtg_FrontLower_X' - */ -void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/Dtg_FrontUpper_X' - * '/Dtg_FrontUpper_X' - * '/Dtg_FrontUpper_X' - */ -void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - */ -void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - - /* : out = int16(g_assSTART_INCAR_STEP1_TO_2(LVL + 1)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_assSTART_INCAR_STEP1_TO_2[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/blower FR' - * '/blower FR' - */ -void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = g_ausSTART_BLR_AF_STEP12_F(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausSTART_BLR_AF_STEP12_F[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/mode FR step 1' - * '/mode FR step 1' - * '/mode FR step 1' - * '/mode FR step 1' - * '/mode FR step 1' - */ -void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_VALVE_IDX_STEP1(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_VALVE_IDX_STEP1[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/window heating' - * '/window heating' - * '/window heating' - * '/window heating' - * '/window heating' - */ -void windowheating(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_ELEC_WINDOW[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - */ -void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - uint16_t tmp_0; - - /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = g_ausSTART_TIME_STEP1_TO_2[tmp - 1]; - if (tmp_0 > 32767) { - tmp_0 = 32767U; - } - - *rty_out = (int16_t)tmp_0; -} - -/* - * Output and update for atomic system: - * '/ECT min max' - * '/ECT min max' - * '/ECT min max' - */ -void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]) -{ - int32_t q0; - uint32_t qY; - - /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ - /* : max = int16(g_assSTART_COOLANT_TO_STEP2(1)); */ - /* : out = [min, max]; */ - q0 = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - q0 = 255; - } - - /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - qY = (uint32_t)q0 - 2U; - - /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ - if ((uint32_t)q0 - 2U > (uint32_t)q0) { - qY = 0U; - } - - rty_out[0] = g_assSTART_COOLANT_STEP0_TO_1[(int32_t)qY - 1]; - rty_out[1] = g_assSTART_COOLANT_TO_STEP2[0]; -} - -/* - * Output and update for atomic system: - * '/blower min max' - * '/blower min max' - * '/blower min max' - */ -void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]) -{ - int32_t tmp; - - /* : min = 20; */ - /* : max = g_ausSTART_BLR_AF_STEP12_F(LVL + 1); */ - /* : out = [min, max]; */ - rty_out[0] = 20U; - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - rty_out[1] = g_ausSTART_BLR_AF_STEP12_F[tmp - 1]; -} - -/* - * Output and update for action system: - * '/Level 4' - * '/Level 5' - */ -void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t *rtd_Blower_FR, - uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR, uint8_t *rtd_Dtg_FUL, - uint8_t *rtd_Dtg_FUR, const int16_t *rtd_ECT, uint8_t - *rtd_El_window_heating, const int16_t *rtd_Incar_FL, uint8_t - *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, - const uint8_t *rtd_LEVEL, uint8_t *rtd_Mode_FL, uint8_t - *rtd_Mode_FR, double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, - const int8_t *rtd_step_start_controle_front, const uint32_t - *rtd_t_now, DW_Level4_n *localDW) -{ - int32_t tmp; - int16_t rtb_out_jl[2]; - int16_t rtb_out_ap; - int16_t rtb_out_nv; - uint16_t rtb_out_nm[2]; - uint8_t rtb_out_fa; - bool rtb_Equal_b; - bool rtb_RelationalOperator1_mub; - - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read10' - * MATLAB Function: '/3 way valve status' - */ - uwayvalvestatus(*rtd_LEVEL, rtd_Valve_3_way); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' - */ - incarfilterup(*rtd_LEVEL, rtd_Incar_filter_up_value); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' - */ - incarfilterdown(*rtd_LEVEL, rtd_Incar_filter_down_value); - - /* MATLAB Function: '/mode FR step 1' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - modeFRstep1(*rtd_LEVEL, &rtb_out_fa); - - /* DataStoreWrite: '/Data Store Write2' */ - *rtd_Mode_FR = rtb_out_fa; - - /* DataStoreWrite: '/Data Store Write3' */ - *rtd_Mode_FL = rtb_out_fa; - - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - windowheating(*rtd_LEVEL, &rtb_out_fa); - - /* DataStoreWrite: '/Data Store Write4' */ - *rtd_El_window_heating = rtb_out_fa; - - /* MATLAB Function: '/blower min max' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerminmax(*rtd_LEVEL, rtb_out_nm); - - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - ECTminmax(*rtd_LEVEL, rtb_out_jl); - - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' - */ - rtb_out_nv = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_jl, - rtb_out_nm, 1U); - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - *rtd_Blower_FR = (uint16_t)rtb_out_nv; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - *rtd_Blower_FL = *rtd_Blower_FR; - - /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1); */ - tmp = (int32_t)(*rtd_LEVEL + 1U); - if (*rtd_LEVEL + 1U > 255U) { - tmp = 255; - } - - rtb_out_fa = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp - 1]; - - /* DataStoreWrite: '/Data Store Write10' */ - *rtd_Dtg_FUR = rtb_out_fa; - - /* DataStoreWrite: '/Data Store Write11' */ - *rtd_Dtg_FUL = rtb_out_fa; - - /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * MATLAB Function: '/Dtg_FrontUpper_X' - */ - /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1); */ - tmp = (int32_t)(*rtd_LEVEL + 1U); - if (*rtd_LEVEL + 1U > 255U) { - tmp = 255; - } - - rtb_out_fa = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp - 1]; - - /* End of MATLAB Function: '/Dtg_FrontLower_X' */ - - /* DataStoreWrite: '/Data Store Write12' */ - *rtd_Dtg_FLR = rtb_out_fa; - - /* DataStoreWrite: '/Data Store Write13' */ - *rtd_Dtg_FLL = rtb_out_fa; - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' - */ - *rtd_Recirculation = 1.0; - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - rtb_Equal_b = (*rtd_step_start_controle_front == 1); - - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - Incartempgotofromstep1tostep2(*rtd_LEVEL, &rtb_out_ap); - - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep1tostep2(*rtd_LEVEL, &rtb_out_nv); - - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_RelationalOperator1_mub = (*rtd_t_now - - localDW->t_start_delay_private_DSTATE > (uint32_t)(1000 * rtb_out_nv)); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Equal_b && (!localDW->Cond_prev_private_DSTATE)) { - localDW->t_start_delay_private_DSTATE = *rtd_t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Constant: '/stay at step 1' - * DataStoreRead: '/incar temp' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' - */ - if ((*rtd_Incar_FL > rtb_out_ap) || rtb_RelationalOperator1_mub) { - *rty_step = 2; - } else { - *rty_step = 1; - } - - /* End of Switch: '/Switch' */ - - /* Update for UnitDelay: '/Cond_prev_private ' */ - localDW->Cond_prev_private_DSTATE = rtb_Equal_b; -} - -/* - * Output and update for atomic system: - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' - */ -void uwayvalvestatus_a(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_3WAY_OPEN(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_3WAY_OPEN[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - */ -void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - */ -void timeforstep_j(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/Time goto from step 2 to step 3 ' - * '/Time goto from step 2 to step 3 ' - * '/Time goto from step 2 to step 3 ' - * '/Time goto from step 2 to step 3 ' - * '/Time goto from step 2 to step 3 ' - */ -void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - uint16_t tmp_0; - - /* : out = int16(g_ausSTART_TIME_STEP2_TO_3(LVL + 1)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = g_ausSTART_TIME_STEP2_TO_3[tmp - 1]; - if (tmp_0 > 32767) { - tmp_0 = 32767U; - } - - *rty_out = (int16_t)tmp_0; -} - -/* - * Output and update for atomic system: - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - */ -void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = g_ausSTART_BLR_SPD_STEP2_F(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausSTART_BLR_SPD_STEP2_F[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - */ -void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_ausSTART_BLR_SPD_STEP2_F(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_ausSTART_BLR_SPD_STEP2_F[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' - */ -void step_j(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_VALVE_CHANGE_SPD_F(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_VALVE_CHANGE_SPD_F[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - */ -void timeforstep_g(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_VALVE_CHANGE_SPD_F(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_VALVE_CHANGE_SPD_F[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/window heating' - * '/window heating' - * '/window heating' - * '/window heating' - */ -void windowheating_k(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_ELEC_WINDOW[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/autodemist (autodefog)' - * '/autodemist (autodefog)' - * '/autodemist (autodefog)' - */ -void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_AUTODEMIST2_STEP2(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_AUTODEMIST2_STEP2[tmp - 1]; -} - -/* - * Output and update for action system: - * '/Level 3' - * '/Level 4' - */ -void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, - uint16_t *rtd_Blower_FR, const uint16_t *rtd_Blower_logic_FL, - uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR, uint8_t *rtd_Dtg_FUL, - uint8_t *rtd_Dtg_FUR, const uint8_t *rtd_Dtg_logic_FLL, const - uint8_t *rtd_Dtg_logic_FUL, uint8_t *rtd_El_window_heating, const - bool *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value, uint8_t - *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, uint8_t - *rtd_Mode_FL, uint8_t *rtd_Mode_FR, const uint8_t *rtd_Mode_logic_FL, - double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const int8_t - *rtd_step_start_controle_front, const uint32_t *rtd_t_now, DW_Level3 - *localDW) -{ - int32_t tmp; - int16_t rtb_out_cw; - uint16_t rtb_out_gqg; - uint16_t rtb_out_ov4; - uint8_t rtb_out_ac; - uint8_t rtb_out_ln5; - uint8_t rtb_out_oq; - bool rtb_Cond_prev_private_gh; - bool rtb_RelationalOperator1_bkl; - - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read10' - * MATLAB Function: '/3 way valve status' - */ - uwayvalvestatus_a(*rtd_LEVEL, rtd_Valve_3_way); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' - */ - Dtg_FrontLower_X(*rtd_LEVEL, &rtb_out_oq); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' - */ - timeforstep(*rtd_LEVEL, &rtb_out_ac); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write12' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - if ((uint8_t)(*rtd_Dtg_FLL - *rtd_Dtg_logic_FLL) <= 0.01) { - *rtd_Dtg_FLR = *rtd_Dtg_logic_FLL; - } else { - if (*rtd_Dtg_FLL <= *rtd_Dtg_logic_FLL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - tmp = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - tmp = -1; - } - - *rtd_Dtg_FLR = (uint8_t)((double)rtb_out_oq / (double)rtb_out_ac / 1000.0 * - (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * (double)tmp + (double)* - rtd_Dtg_FLL); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreWrite: '/Data Store Write12' - */ - *rtd_Dtg_FLL = *rtd_Dtg_FLR; - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_FrontUpper_X(*rtd_LEVEL, &rtb_out_oq); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_j(*rtd_LEVEL, &rtb_out_ac); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write10' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - if ((uint8_t)(*rtd_Dtg_FUL - *rtd_Dtg_logic_FUL) <= 0.01) { - *rtd_Dtg_FUR = *rtd_Dtg_logic_FUL; - } else { - if (*rtd_Dtg_FUL <= *rtd_Dtg_logic_FUL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - tmp = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - tmp = -1; - } - - *rtd_Dtg_FUR = (uint8_t)((double)rtb_out_oq / (double)rtb_out_ac / 1000.0 * - (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_i) * (double)tmp + (double)* - rtd_Dtg_FUL); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' - */ - *rtd_Dtg_FUL = *rtd_Dtg_FUR; - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' - */ - incarfilterup(*rtd_LEVEL, rtd_Incar_filter_up_value); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' - */ - incarfilterdown(*rtd_LEVEL, rtd_Incar_filter_down_value); - - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read3' - * MATLAB Function: '/autodemist (autodefog)' - */ - autodemistautodefog(*rtd_LEVEL, rtd_Autodefog); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtb_out_oq = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - step_j(*rtd_LEVEL, &rtb_out_ac); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_g(*rtd_LEVEL, &rtb_out_ln5); - - /* 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_oq <= 0.01) { - *rtd_Mode_FR = *rtd_Mode_logic_FL; - } else { - if (*rtd_Mode_FL <= *rtd_Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - tmp = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - tmp = -1; - } - - *rtd_Mode_FR = (uint8_t)((double)rtb_out_ac / (double)rtb_out_ln5 / 1000.0 * - (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_j) * (double)tmp + (double)* - rtd_Mode_FL); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - *rtd_Mode_FL = *rtd_Mode_FR; - - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - windowheating_k(*rtd_LEVEL, &rtb_out_oq); - - /* DataStoreWrite: '/Data Store Write4' */ - *rtd_El_window_heating = rtb_out_oq; - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtb_out_ov4 = (uint16_t)(*rtd_Blower_FL - *rtd_Blower_logic_FL); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - rtb_Cond_prev_private_gh = (rtb_out_ov4 <= 0.01); - - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerstep(*rtd_LEVEL, &rtb_out_gqg); - - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowertimeforstep(*rtd_LEVEL, &rtb_out_ov4); - - /* 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_Cond_prev_private_gh) { - *rtd_Blower_FR = *rtd_Blower_logic_FL; - } else { - if (*rtd_Blower_FL <= *rtd_Blower_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - tmp = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - tmp = -1; - } - - *rtd_Blower_FR = (uint16_t)((double)rtb_out_gqg / (double)rtb_out_ov4 / - 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_a) * (double)tmp - + (double)*rtd_Blower_FL); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - *rtd_Blower_FL = *rtd_Blower_FR; - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' - */ - *rtd_Recirculation = 1.0; - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - rtb_Cond_prev_private_gh = (*rtd_step_start_controle_front == 2); - - /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep2tostep3(*rtd_LEVEL, &rtb_out_cw); - - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_RelationalOperator1_bkl = (*rtd_t_now - - localDW->t_start_delay_private_DSTATE > (uint32_t)(1000 * rtb_out_cw)); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Cond_prev_private_gh && (!localDW->Cond_prev_private_DSTATE)) { - localDW->t_start_delay_private_DSTATE = *rtd_t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Constant: '/stay at step' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - */ - if (rtb_RelationalOperator1_bkl || (*rtd_HI_logic_on)) { - *rty_step = 3; - } else { - *rty_step = 2; - } - - /* End of Switch: '/Switch' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - localDW->UnitDelay_DSTATE = *rtd_t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - localDW->UnitDelay_DSTATE_i = *rtd_t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - localDW->UnitDelay_DSTATE_j = *rtd_t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - localDW->UnitDelay_DSTATE_a = *rtd_t_now; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - localDW->Cond_prev_private_DSTATE = rtb_Cond_prev_private_gh; -} - -/* - * Output and update for action system: - * '/Step 3 F' - * '/Step 3 R' - */ -void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front) -{ - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/True' - */ - *rtd_start_control_finished_front = 1; - - /* SignalConversion generated from: '/step' incorporates: - * Constant: '/Constant1' - */ - *rty_step = 3; -} - -/* - * Output and update for atomic system: - * '/g_ausSTART_ENTER_SETTEMP' - * '/g_ausSTART_ENTER_SETTEMP' - * '/g_ausSTART_ENTER_SETTEMP' - */ -void g_ausSTART_ENTER_SETTEMP_b(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - uint16_t tmp_1; - - /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - tmp_1 = g_ausSTART_ENTER_SETTEMP[tmp_0 - 1]; - if (tmp_1 > 32767) { - tmp_1 = 32767U; - } - - *rty_out = (int16_t)tmp_1; -} - -/* - * Output and update for atomic system: - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' - */ -void g_assSTART_ENTER_INCAR_p(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = int16(g_assSTART_ENTER_INCAR(LVL+1+6)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_assSTART_ENTER_INCAR[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' - */ -void g_assSTART_ENTER_COOLANT_e(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - - /* : out = int16(g_assSTART_ENTER_COOLANT(LVL + 1)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_assSTART_ENTER_COOLANT[tmp - 1]; -} - -/* - * Output and update for action system: - * '/Level 4' - * '/Level 5' - */ -void Level4_e(int8_t *rty_step1, const int16_t *rtd_ECT, const int16_t - *rtd_Incar_RR, const uint8_t *rtd_LEVEL, const double - *rtd_MODE_RR_passenger) -{ - int16_t rtb_out_cv; - int16_t rtb_out_jz; - - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - g_assSTART_ENTER_INCAR_p(*rtd_LEVEL, &rtb_out_jz); - - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - g_assSTART_ENTER_COOLANT_e(*rtd_LEVEL, &rtb_out_cv); - - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * Logic: '/AND1' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - */ - if (((*rtd_Incar_RR < rtb_out_jz) || (*rtd_ECT < rtb_out_cv)) && - (*rtd_MODE_RR_passenger == 1.0)) { - *rty_step1 = 0; - } else { - *rty_step1 = -1; - } - - /* End of Switch: '/Switch' */ -} - -/* - * Output and update for atomic system: - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - */ -void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_INCAR_FLT_DN(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_INCAR_FLT_DN[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - */ -void incarfilterup_i(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_INCAR_FLT_UP(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_INCAR_FLT_UP[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - */ -void g_assSTART_COOLANT_STEP0_TO_1_e(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - - /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ - tmp = (int32_t)(rtu_LVL + 3U); - if (rtu_LVL + 3U > 255U) { - tmp = 255; - } - - *rty_out = g_assSTART_COOLANT_STEP0_TO_1[tmp - 1]; -} - -/* - * Output and update for action system: - * '/Level 4' - * '/Level 5' - */ -void Level4_m(int8_t *rty_step1, uint16_t *rtd_Blower_RL, uint16_t - *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const - int16_t *rtd_ECT, uint8_t *rtd_Incar_filter_down_value, uint8_t - *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, uint8_t - *rtd_Mode_RL, uint8_t *rtd_Mode_RR, uint8_t *rtd_Valve_2_way, - uint8_t *rtd_Valve_3_way) -{ - int16_t rtb_out_pr; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - *rtd_Blower_RR = 10U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - *rtd_Blower_RL = 10U; - - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' - */ - *rtd_Dtg_RR = 80U; - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant5' - */ - *rtd_Dtg_RL = 80U; - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' - */ - incarfilterup_i(*rtd_LEVEL, rtd_Incar_filter_up_value); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' - */ - incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Mode - foot' - */ - *rtd_Mode_RR = 60U; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - foot' - */ - *rtd_Mode_RL = 60U; - - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' - */ - *rtd_Valve_3_way = 1U; - - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' - */ - *rtd_Valve_2_way = 1U; - - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - g_assSTART_COOLANT_STEP0_TO_1_e(*rtd_LEVEL, &rtb_out_pr); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - */ - *rty_step1 = (int8_t)(*rtd_ECT > rtb_out_pr); -} - -/* - * Output and update for atomic system: - * '/2 way valve' - * '/2 way valve' - * '/2 way valve' - * '/2 way valve' - * '/2 way valve' - * '/2 way valve' - * '/2 way valve' - * '/2 way valve' - * '/2 way valve' - * '/2 way valve' - * ... - */ -void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_2WAY_OPEN(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_2WAY_OPEN[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' - */ -void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_DUCT_TGT_STEP2_RX(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_DUCT_TGT_STEP2_RX[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - */ -void Incartempgotofromstep1tostep2_j(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = int16(g_assSTART_INCAR_STEP1_TO_2(LVL + 1 + 6)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_assSTART_INCAR_STEP1_TO_2[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * ... - */ -void Timegotofromstep1tostep2_l(uint8_t rtu_LVL, int16_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - uint16_t tmp_1; - - /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1 + 6)); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - tmp_1 = g_ausSTART_TIME_STEP1_TO_2[tmp_0 - 1]; - if (tmp_1 > 32767) { - tmp_1 = 32767U; - } - - *rty_out = (int16_t)tmp_1; -} - -/* - * Output and update for atomic system: - * '/mode rear step 1' - * '/mode rear step 1' - * '/mode rear step 1' - * '/mode rear step 1' - * '/mode rear step 1' - * '/mode rear step 1' - */ -void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_VALVE_IDX_STEP1(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_VALVE_IDX_STEP1[tmp_0 - 1]; -} - -/* - * Output and update for action system: - * '/Level 0' - * '/Level 1' - */ -void Level0_b(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR, - uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const int16_t - *rtd_Incar_RR, uint8_t *rtd_Incar_filter_down_value, uint8_t - *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, uint8_t - *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double *rtd_Recirculation, - uint8_t *rtd_Valve_2_way, const int8_t - *rtd_step_start_controle_rear, const uint32_t *rtd_t_now, - DW_Level0_c *localDW) -{ - int32_t tmp; - uint32_t rtb_dt_j0; - int16_t rtb_out_gb; - int16_t rtb_out_kdi; - uint16_t rtb_out_ne; - uint8_t rtb_out_jlu; - bool rtb_Equal_eo; - - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' - */ - uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' - */ - incarfilterup_i(*rtd_LEVEL, rtd_Incar_filter_up_value); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' - */ - incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); - - /* MATLAB Function: '/mode rear step 1' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - moderearstep1(*rtd_LEVEL, &rtb_out_jlu); - - /* DataStoreWrite: '/Data Store Write2' */ - *rtd_Mode_RR = rtb_out_jlu; - - /* DataStoreWrite: '/Data Store Write3' */ - *rtd_Mode_RL = rtb_out_jlu; - - /* MATLAB Function: '/blower rear' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - /* : out = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ - tmp = (int32_t)(*rtd_LEVEL + 1U); - if (*rtd_LEVEL + 1U > 255U) { - tmp = 255; - } - - rtb_out_ne = g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; - - /* End of MATLAB Function: '/blower rear' */ - - /* DataStoreWrite: '/Data Store Write5' */ - *rtd_Blower_RR = rtb_out_ne; - - /* DataStoreWrite: '/Data Store Write6' */ - *rtd_Blower_RL = rtb_out_ne; - - /* MATLAB Function: '/Dtg_rear' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_rear(*rtd_LEVEL, &rtb_out_jlu); - - /* DataStoreWrite: '/Data Store Write10' */ - *rtd_Dtg_RR = rtb_out_jlu; - - /* DataStoreWrite: '/Data Store Write11' */ - *rtd_Dtg_RL = rtb_out_jlu; - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' - */ - *rtd_Recirculation = 1.0; - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - rtb_Equal_eo = (*rtd_step_start_controle_rear == 1); - - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - Incartempgotofromstep1tostep2_j(*rtd_LEVEL, &rtb_out_kdi); - - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_dt_j0 = *rtd_t_now - localDW->t_start_delay_private_DSTATE; - - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep1tostep2_l(*rtd_LEVEL, &rtb_out_gb); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Equal_eo && (!localDW->Cond_prev_private_DSTATE)) { - localDW->t_start_delay_private_DSTATE = *rtd_t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Constant: '/stay at step 1' - * DataStoreRead: '/incar temp' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - */ - if ((*rtd_Incar_RR < rtb_out_kdi) || (rtb_dt_j0 > (uint16_t)(1000 * rtb_out_gb))) - { - *rty_step = 2; - } else { - *rty_step = 1; - } - - /* End of Switch: '/Switch' */ - - /* Update for UnitDelay: '/Cond_prev_private ' */ - localDW->Cond_prev_private_DSTATE = rtb_Equal_eo; -} - -/* - * Output and update for atomic system: - * '/blower start finish' - * '/blower start finish' - * '/blower start finish' - * '/blower start finish' - */ -void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]) -{ - int32_t tmp; - int32_t tmp_0; - - /* : start = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ - /* : finish = g_ausSTART_BLR_AF_STEP12_R(LVL + 1 + 6); */ - /* : out = [start, finish]; */ - tmp_0 = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp_0 = 255; - } - - rty_out[0] = g_ausSTART_BLR_AF_STEP12_R[tmp_0 - 1]; - tmp_0 = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp_0 = 255; - } - - tmp = (int32_t)((uint32_t)tmp_0 + 6U); - if ((uint32_t)tmp_0 + 6U > 255U) { - tmp = 255; - } - - rty_out[1] = g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/ECT min max' - * '/ECT min max' - * '/ECT min max' - */ -void ECTminmax_l(uint8_t rtu_LVL, int16_t rty_out[2]) -{ - int32_t tmp; - - /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ - /* : max = int16(g_assSTART_COOLANT_TO_STEP2(3)); */ - /* : out = [min, max]; */ - tmp = (int32_t)(rtu_LVL + 3U); - if (rtu_LVL + 3U > 255U) { - tmp = 255; - } - - rty_out[0] = g_assSTART_COOLANT_STEP0_TO_1[tmp - 1]; - rty_out[1] = g_assSTART_COOLANT_TO_STEP2[2]; -} - -/* - * Output and update for action system: - * '/Level 4' - * '/Level 5' - */ -void Level4_d(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR, - uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const int16_t *rtd_ECT, - const int16_t *rtd_Incar_RR, uint8_t *rtd_Incar_filter_down_value, - uint8_t *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, - uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double - *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t - *rtd_step_start_controle_rear, const uint32_t *rtd_t_now, - DW_Level4_a *localDW) -{ - uint32_t rtb_dt_md; - int16_t rtb_out_ij[2]; - int16_t rtb_out_fp; - int16_t rtb_out_md; - uint16_t rtb_out_dq[2]; - uint8_t rtb_out_gz; - bool rtb_Equal_m3; - - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' - */ - uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' - */ - incarfilterup_i(*rtd_LEVEL, rtd_Incar_filter_up_value); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' - */ - incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); - - /* MATLAB Function: '/mode rear step 1' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - moderearstep1(*rtd_LEVEL, &rtb_out_gz); - - /* DataStoreWrite: '/Data Store Write2' */ - *rtd_Mode_RR = rtb_out_gz; - - /* DataStoreWrite: '/Data Store Write3' */ - *rtd_Mode_RL = rtb_out_gz; - - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerstartfinish(*rtd_LEVEL, rtb_out_dq); - - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - ECTminmax_l(*rtd_LEVEL, rtb_out_ij); - - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' - */ - rtb_out_md = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_ij, - rtb_out_dq, 1U); - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - *rtd_Blower_RR = (uint16_t)rtb_out_md; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - *rtd_Blower_RL = *rtd_Blower_RR; - - /* MATLAB Function: '/Dtg_rear' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_rear(*rtd_LEVEL, &rtb_out_gz); - - /* DataStoreWrite: '/Data Store Write10' */ - *rtd_Dtg_RR = rtb_out_gz; - - /* DataStoreWrite: '/Data Store Write11' */ - *rtd_Dtg_RL = rtb_out_gz; - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' - */ - *rtd_Recirculation = 1.0; - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - rtb_Equal_m3 = (*rtd_step_start_controle_rear == 1); - - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - Incartempgotofromstep1tostep2_j(*rtd_LEVEL, &rtb_out_fp); - - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_dt_md = *rtd_t_now - localDW->t_start_delay_private_DSTATE; - - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep1tostep2_l(*rtd_LEVEL, &rtb_out_md); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Equal_m3 && (!localDW->Cond_prev_private_DSTATE)) { - localDW->t_start_delay_private_DSTATE = *rtd_t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Constant: '/stay at step 1' - * DataStoreRead: '/incar temp' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - */ - if ((*rtd_Incar_RR > rtb_out_fp) || (rtb_dt_md > (uint16_t)(1000 * rtb_out_md))) - { - *rty_step = 2; - } else { - *rty_step = 1; - } - - /* End of Switch: '/Switch' */ - - /* Update for UnitDelay: '/Cond_prev_private ' */ - localDW->Cond_prev_private_DSTATE = rtb_Equal_m3; -} - -/* - * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - */ -void timeforstep_jn(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_DUCT_TGT_STEP2_RX(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_DUCT_TGT_STEP2_RX[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - */ -void blowerstep_d(uint8_t rtu_LVL, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = g_ausSTART_BLR_SPD_STEP2_R(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausSTART_BLR_SPD_STEP2_R[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - */ -void blowertimeforstep_l(uint8_t rtu_LVL, uint16_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_ausSTART_BLR_SPD_STEP2_R(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_ausSTART_BLR_SPD_STEP2_R[tmp_0 - 1]; -} - -/* - * Output and update for atomic system: - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' - */ -void step_a(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - - /* : out = g_aucSTART_VALVE_CHANGE_SPD_R(LVL + 1); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_aucSTART_VALVE_CHANGE_SPD_R[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - */ -void timeforstep_h(uint8_t rtu_LVL, uint8_t *rty_out) -{ - int32_t tmp; - int32_t tmp_0; - - /* : out = g_aucSTART_VALVE_CHANGE_SPD_R(LVL + 1 + 6); */ - tmp = (int32_t)(rtu_LVL + 1U); - if (rtu_LVL + 1U > 255U) { - tmp = 255; - } - - tmp_0 = (int32_t)((uint32_t)tmp + 6U); - if ((uint32_t)tmp + 6U > 255U) { - tmp_0 = 255; - } - - *rty_out = g_aucSTART_VALVE_CHANGE_SPD_R[tmp_0 - 1]; -} - -/* - * Output and update for action system: - * '/Level 3' - * '/Level 4' - * '/Level 5' - */ -void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR, - const uint16_t *rtd_Blower_logic_RR, uint8_t *rtd_Dtg_RL, uint8_t * - rtd_Dtg_RR, const uint8_t *rtd_Dtg_logic_RR, const bool - *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value, uint8_t - *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, uint8_t - *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t - *rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t - *rtd_Valve_2_way, const int8_t *rtd_step_start_controle_rear, - const uint32_t *rtd_t_now, DW_Level3_n *localDW) -{ - int32_t tmp; - uint32_t rtb_dt_jh; - int16_t rtb_out_cg; - uint16_t rtb_out_d0h; - uint16_t rtb_out_pv; - uint8_t rtb_out_cn; - uint8_t rtb_out_i4; - bool rtb_Cond_prev_private_a4; - - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' - */ - uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_rear(*rtd_LEVEL, &rtb_out_i4); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_jn(*rtd_LEVEL, &rtb_out_cn); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write10' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - if ((uint8_t)(*rtd_Dtg_RR - *rtd_Dtg_logic_RR) <= 0.01) { - *rtd_Dtg_RR = *rtd_Dtg_logic_RR; - } else { - if (*rtd_Dtg_RR <= *rtd_Dtg_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - tmp = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - tmp = -1; - } - - *rtd_Dtg_RR = (uint8_t)((double)rtb_out_i4 / (double)rtb_out_cn / 1000.0 * - (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * (double)tmp + (double)* - rtd_Dtg_RR); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' - */ - *rtd_Dtg_RL = *rtd_Dtg_RR; - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' - */ - incarfilterup_i(*rtd_LEVEL, rtd_Incar_filter_up_value); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' - */ - incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtb_out_i4 = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - rtb_Cond_prev_private_a4 = (rtb_out_i4 <= 0.01); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - step_a(*rtd_LEVEL, &rtb_out_cn); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_h(*rtd_LEVEL, &rtb_out_i4); - - /* 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_Cond_prev_private_a4) { - *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_cn / (double)rtb_out_i4 / 1000.0 * - (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_i) * (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; - - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerstep_d(*rtd_LEVEL, &rtb_out_d0h); - - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowertimeforstep_l(*rtd_LEVEL, &rtb_out_pv); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * 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 ((uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR) <= 0.01) { - *rtd_Blower_RR = *rtd_Blower_logic_RR; - } else { - if (*rtd_Blower_RR <= *rtd_Blower_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - tmp = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - tmp = -1; - } - - *rtd_Blower_RR = (uint16_t)((double)rtb_out_d0h / (double)rtb_out_pv / - 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_e) * (double)tmp - + (double)*rtd_Blower_RR); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - *rtd_Blower_RL = *rtd_Blower_RR; - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' - */ - *rtd_Recirculation = 1.0; - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - rtb_Cond_prev_private_a4 = (*rtd_step_start_controle_rear == 2); - - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_dt_jh = *rtd_t_now - localDW->t_start_delay_private_DSTATE; - - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep1tostep2_l(*rtd_LEVEL, &rtb_out_cg); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Cond_prev_private_a4 && (!localDW->Cond_prev_private_DSTATE)) { - localDW->t_start_delay_private_DSTATE = *rtd_t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Constant: '/stay at step' - * DataStoreRead: '/Data Store Read' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator1' - */ - if ((rtb_dt_jh > (uint16_t)(1000 * rtb_out_cg)) || (*rtd_HI_logic_on)) { - *rty_step = 3; - } else { - *rty_step = 2; - } - - /* End of Switch: '/Switch' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - localDW->UnitDelay_DSTATE = *rtd_t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - localDW->UnitDelay_DSTATE_i = *rtd_t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - localDW->UnitDelay_DSTATE_e = *rtd_t_now; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - localDW->Cond_prev_private_DSTATE = rtb_Cond_prev_private_a4; -} - -/* - * 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) @@ -8978,8 +9829,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) @@ -9006,8 +9857,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) @@ -9034,8 +9885,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]) { @@ -9082,8 +9933,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' + * '/Valves for Bi Level' + * '/Valves for Bi Level' */ void ValvesforBiLevel(uint16_t rty_out[9]) { @@ -9097,8 +9948,8 @@ void ValvesforBiLevel(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Def' - * '/Valves for Def' + * '/Valves for Def' + * '/Valves for Def' */ void ValvesforDef(uint16_t rty_out[9]) { @@ -9112,8 +9963,8 @@ void ValvesforDef(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Foot + Def' - * '/Valves for Foot + Def' + * '/Valves for Foot + Def' + * '/Valves for Foot + Def' */ void ValvesforFootDef(uint16_t rty_out[9]) { @@ -9127,8 +9978,8 @@ void ValvesforFootDef(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Hi_Level' - * '/Valves for Hi_Level' + * '/Valves for Hi_Level' + * '/Valves for Hi_Level' */ void ValvesforHi_Level(uint16_t rty_out[9]) { @@ -9142,8 +9993,8 @@ void ValvesforHi_Level(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Tri-Level' - * '/Valves for Tri-Level' + * '/Valves for Tri-Level' + * '/Valves for Tri-Level' */ void ValvesforTriLevel(uint16_t rty_out[9]) { @@ -9157,8 +10008,8 @@ void ValvesforTriLevel(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' + * '/AF for Bi Level' + * '/AF for Bi Level' */ void AFforBiLevel_a(uint16_t rty_out[6]) { @@ -9172,8 +10023,8 @@ void AFforBiLevel_a(uint16_t rty_out[6]) /* * Output and update for atomic system: - * '/valves for Vent mode' - * '/valves for Vent mode' + * '/valves for Vent mode' + * '/valves for Vent mode' */ void valvesforVentmode(uint16_t rty_out[6]) { @@ -9185,161 +10036,6 @@ void valvesforVentmode(uint16_t rty_out[6]) /* : out = g_ausFLOW_RE_VENT_MANUAL; */ } -/* - * System initialize for atomic system: - * '/Zone_Climate_Logic_Auto_FL' - * '/Zone_Climate_Logic_Auto_FR' - */ -void Zone_Climate_Logic_Auto_FL_Init(uint8_t *rty_out_def, uint8_t *rty_out_face, - uint8_t *rty_out_foot, uint8_t *rty_out_auto, DW_Zone_Climate_Logic_Auto_FL - *localDW) -{ - *rty_out_def = 0U; - *rty_out_face = 0U; - *rty_out_foot = 0U; - *rty_out_auto = 0U; - localDW->is_active_c777_HVAC_model = 0U; - localDW->is_c777_HVAC_model = IN_NO_ACTIVE_CHILD; - localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD; -} - -/* - * Output and update for atomic system: - * '/Zone_Climate_Logic_Auto_FL' - * '/Zone_Climate_Logic_Auto_FR' - */ -void Zone_Climate_Logic_Auto_FL(uint8_t rtu_btn_def, uint8_t rtu_btn_face, - uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t *rty_out_def, uint8_t - *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, - DW_Zone_Climate_Logic_Auto_FL *localDW) -{ - /* Chart: '/Zone_Climate_Logic_Auto_FL' */ - if (localDW->is_active_c777_HVAC_model == 0U) { - localDW->is_active_c777_HVAC_model = 1U; - localDW->is_c777_HVAC_model = IN_MANUAL_MODE; - - /* : out_def = 0; */ - *rty_out_def = 0U; - - /* : out_face = 1; */ - *rty_out_face = 1U; - - /* : out_foot = 1; */ - *rty_out_foot = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - localDW->is_DEF_SUB = IN_Def_Off; - localDW->is_FACE_SUB = IN_Face_Off; - localDW->is_FOOT_SUB = IN_Foot_Off; - } else if (localDW->is_c777_HVAC_model == IN_AUTO_MODE) { - /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ - if ((rtu_btn_auto == 0) || (rtu_btn_def == 1) || (rtu_btn_face == 1) || - (rtu_btn_foot == 1)) { - /* : out_def = mem_def; */ - /* : out_face = mem_face; */ - /* : out_foot = mem_foot; */ - /* : out_auto=0; */ - *rty_out_auto = 0U; - localDW->is_c777_HVAC_model = IN_MANUAL_MODE; - - /* : out_def = 0; */ - *rty_out_def = 0U; - - /* : out_face = 1; */ - *rty_out_face = 1U; - - /* : out_foot = 1; */ - *rty_out_foot = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - localDW->is_DEF_SUB = IN_Def_Off; - localDW->is_FACE_SUB = IN_Face_Off; - localDW->is_FOOT_SUB = IN_Foot_Off; - } - - /* case IN_MANUAL_MODE: */ - /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ - } else if ((rtu_btn_auto == 1) || ((*rty_out_def == 0) && (*rty_out_face == 0) - && (*rty_out_foot == 0))) { - /* : mem_def = out_def; */ - /* : mem_face = out_face; */ - /* : mem_foot = out_foot; */ - /* : out_auto=1; */ - localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_c777_HVAC_model = IN_AUTO_MODE; - - /* : out_auto = 1; */ - *rty_out_auto = 1U; - - /* : out_def = 0; */ - *rty_out_def = 0U; - - /* : out_face = 0; */ - *rty_out_face = 0U; - - /* : out_foot = 0; */ - *rty_out_foot = 0U; - } else { - if (localDW->is_DEF_SUB == IN_Def_Off) { - /* : sf_internal_predicateOutput = btn_def == 1; */ - if (rtu_btn_def == 1) { - /* : out_def=1 */ - *rty_out_def = 1U; - localDW->is_DEF_SUB = IN_Def_On; - } - - /* case IN_Def_On: */ - /* : sf_internal_predicateOutput = btn_def == 0; */ - } else if (rtu_btn_def == 0) { - /* : out_def=0 */ - *rty_out_def = 0U; - localDW->is_DEF_SUB = IN_Def_Off; - } - - if (localDW->is_FACE_SUB == IN_Face_Off) { - /* : sf_internal_predicateOutput = btn_face == 1; */ - if (rtu_btn_face == 1) { - /* : out_face=1 */ - *rty_out_face = 1U; - localDW->is_FACE_SUB = IN_Face_On; - } - - /* case IN_Face_On: */ - /* : sf_internal_predicateOutput = btn_face == 0; */ - } else if (rtu_btn_face == 0) { - /* : out_face=0 */ - *rty_out_face = 0U; - localDW->is_FACE_SUB = IN_Face_Off; - } - - if (localDW->is_FOOT_SUB == IN_Foot_Off) { - /* : sf_internal_predicateOutput = btn_foot == 1; */ - if (rtu_btn_foot == 1) { - /* : out_foot=1 */ - *rty_out_foot = 1U; - localDW->is_FOOT_SUB = IN_Foot_On; - } - - /* case IN_Foot_On: */ - /* : sf_internal_predicateOutput = btn_foot == 0; */ - } else if (rtu_btn_foot == 0) { - /* : out_foot=0 */ - *rty_out_foot = 0U; - localDW->is_FOOT_SUB = IN_Foot_Off; - } - } - - /* End of Chart: '/Zone_Climate_Logic_Auto_FL' */ -} - /* Function for Chart: '/A//C Control' */ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *g_assEVA_TG_AMB_F_n, const int16_t *g_assEVA_TG_AMB_R_h) @@ -9351,7 +10047,7 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t * DataStoreRead: '/Data Store Read37' */ /* : sf_internal_predicateOutput = (FRONT_Start_request ==1 || REAR_Start_request == 1 || Chiller_Start_request ==1) && Pressure_Hi_Fault == 0 && Pressure_Condition_table_OK == 1 && eCompChiller_Err==false && BCM_T15_Stat == 1; */ - if ((rtB.FRONT_Start_request || rtB.REAR_Start_request || + if ((rtDW.FRONT_Start_request || rtDW.REAR_Start_request || rtDW.Chiller_Start_request) && (!rtDW.Pressure_Hi_Fault) && rtDW.Pressure_Condition_table_OK && (!rtDW.eCompChiller_Err) && (rtDW.BCM_T15_Stat == 1)) { @@ -9368,8 +10064,8 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *Enable_Comp_PID = true; /* : sf_internal_predicateOutput = [(FRONT_Start_request ==0 && REAR_Start_request == 0 && Chiller_Start_request ==0) || Pressure_Hi_Fault == 1 || Pressure_Condition_table_OK == 0 || eCompChiller_Err==true || BCM_T15_Stat == 0]; */ - tmp = !rtB.FRONT_Start_request; - tmp_0 = !rtB.REAR_Start_request; + tmp = !rtDW.FRONT_Start_request; + tmp_0 = !rtDW.REAR_Start_request; /* DataStoreRead: '/Data Store Read55' incorporates: * DataStoreRead: '/Data Store Read2' @@ -9401,16 +10097,16 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t rtB.Chiller_eTXV = true; } else { /* : FRONT_eTXV = (FRONT_Start_request == 1); */ - rtB.FRONT_eTXV = rtB.FRONT_Start_request; + rtB.FRONT_eTXV = rtDW.FRONT_Start_request; /* : REAR_eTXV = (REAR_Start_request == 1); */ - rtB.REAR_eTXV = rtB.REAR_Start_request; + rtB.REAR_eTXV = rtDW.REAR_Start_request; /* : Chiller_eTXV = (Chiller_Start_request == 1); */ rtB.Chiller_eTXV = rtDW.Chiller_Start_request; /* : if FRONT_Start_request == 1 && REAR_Start_request == 1 */ - if (rtB.FRONT_Start_request && rtB.REAR_Start_request) { + if (rtDW.FRONT_Start_request && rtDW.REAR_Start_request) { /* : if Eva_R < Eva_F */ if (rtDW.Eva_R < rtDW.Eva_F) { /* : Comp_Feedback_Temp = Eva_R; */ @@ -9426,14 +10122,14 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t /* : Comp_Target_Temp = Target_Front; */ rtB.Comp_Target_Temp = *g_assEVA_TG_AMB_F_n; } - } else if (rtB.FRONT_Start_request) { + } else if (rtDW.FRONT_Start_request) { /* : elseif FRONT_Start_request == 1 */ /* : Comp_Feedback_Temp = Eva_F; */ rtB.Comp_Feedback_Temp = rtDW.Eva_F; /* : Comp_Target_Temp = Target_Front; */ rtB.Comp_Target_Temp = *g_assEVA_TG_AMB_F_n; - } else if (rtB.REAR_Start_request) { + } else if (rtDW.REAR_Start_request) { /* : elseif REAR_Start_request == 1 */ /* : Comp_Feedback_Temp = Eva_R; */ rtB.Comp_Feedback_Temp = rtDW.Eva_R; @@ -9469,98 +10165,29 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t } } -/* Function for Chart: '/Synchronization stateflow chart' */ -static void NO_SYNC(void) +/* + * Function for Chart: '/Chart' + * function idx = find_index(delta) + */ +static double find_index(int16_t delta) { - rtB.sync_front = 0U; - rtB.sync_rear = 0U; - rtB.sync_all = 0U; + double idx; + int32_t i; - /* : sf_internal_predicateOutput = enable_front_sync; */ - if (rtDW.enable_front_sync != 0) { - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; + /* : idx = 1; */ + idx = 1.0; - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0; */ - rtDW.changed_RR_params = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - rtDW.is_c618_HVAC_model = IN_FRONT_ONLY; - - /* : sync_front = 1; */ - rtB.sync_front = 1U; - - /* : sync_rear = 0; */ - /* : sync_all = 0; */ - /* : enable_front_sync=0; */ - rtDW.enable_front_sync = 0U; - - /* : sf_internal_predicateOutput = enable_full_sync; */ - } else if (rtDW.enable_full_sync != 0) { - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0; */ - rtDW.changed_RR_params = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - rtDW.is_c618_HVAC_model = IN_FULL_SYNC; - - /* : sync_front = 0; */ - /* : sync_rear = 0; */ - /* : sync_all = 1; */ - rtB.sync_all = 1U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - - /* : sf_internal_predicateOutput = enable_rear_sync; */ - } else if (rtDW.enable_rear_sync != 0) { - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0; */ - rtDW.changed_RR_params = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - rtDW.is_c618_HVAC_model = IN_REAR_ONLY; - - /* : sync_front = 0; */ - /* : sync_rear = 1; */ - rtB.sync_rear = 1U; - - /* : sync_all = 0; */ - } else { - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0; */ - rtDW.changed_RR_params = 0U; + /* : for i = 1:7 */ + i = 0; + while ((i < 7) && (delta >= g_assPREC_EVA_DIFF_FB_TG_F[i])) { + /* : if delta >= g_assPREC_EVA_DIFF_FB_TG_F(i) */ + /* : idx = i; */ + idx = (double)i + 1.0; + i++; } + + /* : else */ + return idx; } /* Model step function */ @@ -9570,11 +10197,15 @@ void HVAC_model_step(void) double rtb_Saturation_m[8]; double rtb_f_lower_upper_bounds[2]; double rtb_Divide1; + double rtb_Divide10; double rtb_Divide11; double rtb_Divide1_cf; double rtb_Divide1_ea; - double rtb_Product_n; - double rtb_rate; + double rtb_Divide3; + double rtb_Divide3_hk; + double rtb_Divide8; + double rtb_FLU_tg_correct_n; + double rtb_FLU_tg_correct_o; int64_t rtb_IntegralGain; int64_t rtb_SumI2_b; int64_t rtb_SumI2_c; @@ -9591,59 +10222,60 @@ void HVAC_model_step(void) int32_t rtb_Gain_pl; int32_t rtb_Switch_fs; int32_t rtb_y_cc_tmp; - uint32_t rtb_Subtract; - uint32_t rtb_dt_an; + uint32_t rtb_dt_ca; + uint32_t rtb_dt_e; int16_t FLU_tg[78]; int16_t tmp[42]; int16_t tmp_0[42]; int16_t tmp_1[42]; int16_t tmp_2[42]; int16_t rtb_uDLookupTable7[6]; - int16_t rtb_y_gk[5]; - int16_t rtb_y_izu[5]; - int16_t rtb_y_ao[3]; - int16_t rtb_y_gu[3]; - int16_t rtb_y_nq[3]; - int16_t rtb_y_oz[3]; - int16_t rtb_out_gu[2]; + int16_t rtb_y_hf[5]; + int16_t rtb_y_ie[5]; + int16_t rtb_y_ah[3]; + int16_t rtb_y_deg[3]; + int16_t rtb_y_lqe[3]; + int16_t rtb_y_ojk[3]; + int16_t rtb_out_jy[2]; int16_t Duct1_R; int16_t Duct2_R; int16_t Duct3_R; int16_t Duct4_R; + int16_t Duct6_F; int16_t Duct_FLU_Tg; int16_t Eva_Target; int16_t g_assEVA_TG_AMB_F_n; int16_t g_assEVA_TG_AMB_R_h; - int16_t rtb_Add1_f; + int16_t rtb_Merge1; + int16_t rtb_Merge_ja; int16_t rtb_u0101_a; - int16_t rtb_y_bu; - int16_t rtb_y_el; - int16_t rtb_y_jq; - int16_t rtb_y_k5; - int16_t rtb_y_ko4; - int16_t rtb_y_nm; - int16_t rtb_y_pfc; - int16_t rtb_y_pj; + int16_t rtb_y_ac; + int16_t rtb_y_cy; + int16_t rtb_y_d2; + int16_t rtb_y_e3; + int16_t rtb_y_j5; + int16_t rtb_y_jw; + int16_t rtb_y_pc; uint16_t tmp_3[45]; uint16_t tmp_4[42]; - uint16_t rtb_out_ex[9]; - uint16_t rtb_out_fxe[9]; - uint16_t rtb_out_go[9]; - uint16_t rtb_out_jh[9]; - uint16_t rtb_out_mq[9]; - uint16_t rtb_out_ps[9]; + uint16_t rtb_out_bn[9]; + uint16_t rtb_out_c[9]; + uint16_t rtb_out_cc[9]; + uint16_t rtb_out_dy[9]; + uint16_t rtb_out_g4h[9]; + uint16_t rtb_out_hu[9]; uint16_t rtb_get_mode[7]; uint16_t rtb_Gain1_nj[6]; uint16_t rtb_TmpSignalConversionAt1DLookupTable7Inport1[6]; - uint16_t rtb_out_en[2]; + uint16_t rtb_out_df[2]; uint16_t Gain; uint16_t Gain1; uint16_t rtb_Saturation2_a; - uint16_t rtb_out_bk; + uint16_t rtb_out_d1m; uint16_t rtb_out_gr; - uint16_t rtb_out_kpg; + uint16_t rtb_out_hvi; uint16_t rtb_out_ni; - int8_t rtb_y_hzc; + int8_t rtb_y_b2; int8_t tmp_5; uint8_t rtb_get_modes_for_levels[78]; uint8_t Actuator_pos_percent_Ch1[9]; @@ -9651,62 +10283,78 @@ void HVAC_model_step(void) uint8_t rtb_DataTypeConversion_bq[9]; uint8_t rtb_DataTypeConversion_fb[9]; uint8_t rtb_DataTypeConversion2_oi[6]; + uint8_t Blower_AF_RL; uint8_t Comp_Max_RPM_Allowed; uint8_t EN_BATTChiller; uint8_t ShutOffRear_EN; uint8_t Valve_2_way; uint8_t rtb_DataTypeConversion2_bb; - uint8_t rtb_Merge_e; - uint8_t rtb_Merge_o; + uint8_t rtb_Merge_et; + uint8_t rtb_Merge_jf; uint8_t rtb_Saturation4_l; + uint8_t rtb_Saturation9; uint8_t rtb_Switch3_ed; uint8_t rtb_timer_out; - uint8_t rtb_u_cuz; - bool rtb_LogicalOperator3_nq[9]; - bool rtb_Compare_l0[8]; - bool rtb_LogicalOperator3_b0[6]; + uint8_t rtb_u_gnq; + bool rtb_LogicalOperator3_i5[9]; + bool rtb_Compare_le[8]; + bool rtb_LogicalOperator3_n1[6]; bool Enable_Comp_PID; bool eComp_stop; bool guard1; bool guard2; + bool guard3; + bool guard4; bool rtb_Compare; bool rtb_Compare_ah; + bool rtb_Compare_au; bool rtb_Compare_b; - bool rtb_Compare_b0; - bool rtb_Compare_bp; - bool rtb_Compare_bt; - bool rtb_Compare_e1; + bool rtb_Compare_bnt; + bool rtb_Compare_c5j; + bool rtb_Compare_ck; + bool rtb_Compare_dd; + bool rtb_Compare_e; bool rtb_Compare_e3; - bool rtb_Compare_eg; - bool rtb_Compare_eo; + bool rtb_Compare_em; bool rtb_Compare_eu; + bool rtb_Compare_fbl; bool rtb_Compare_fr; + bool rtb_Compare_g2; + bool rtb_Compare_g4; bool rtb_Compare_gl; - bool rtb_Compare_gq; - bool rtb_Compare_h3; + bool rtb_Compare_gs; + bool rtb_Compare_h2; bool rtb_Compare_i; - bool rtb_Compare_i0; - bool rtb_Compare_k4; + bool rtb_Compare_j; + bool rtb_Compare_jt; + bool rtb_Compare_kmz; bool rtb_Compare_l; - bool rtb_Compare_lu; - bool rtb_Compare_m4; - bool rtb_Compare_mw; - bool rtb_Compare_n; + bool rtb_Compare_lb; + bool rtb_Compare_m; + bool rtb_Compare_n2; + bool rtb_Compare_nq; + bool rtb_Compare_ofn; bool rtb_Compare_p; - bool rtb_Compare_pl; bool rtb_FailCond; bool rtb_FailCond_fn; + bool rtb_FailCond_gd; bool rtb_FailCond_gk; + bool rtb_FailCond_i; + bool rtb_FailCond_p0; + bool rtb_LogicalOperator; bool rtb_LogicalOperator1; bool rtb_LogicalOperator10; bool rtb_LogicalOperator11; bool rtb_LogicalOperator1_f; bool rtb_LogicalOperator1_f1; - bool rtb_LogicalOperator3_cz; - bool rtb_LogicalOperator4_fo; + bool rtb_LogicalOperator1_m2; + bool rtb_LogicalOperator1_n; + bool rtb_LogicalOperator3; + bool rtb_LogicalOperator3_nz; + bool rtb_LogicalOperator3_p5; bool rtb_LogicalOperator6; bool rtb_LogicalOperator8; - bool rtb_LogicalOperator_fc; + bool rtb_is_ending_with_5; /* Gain: '/Gain' incorporates: * DataStoreRead: '/Data Store Read' @@ -9718,96 +10366,96 @@ void HVAC_model_step(void) */ Gain1 = (uint16_t)(10U * rtDW.PWM_rear); - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare = (rtb_Divide1 < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_ah = (rtb_Divide1 > 4.9); - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_FailCond = (rtb_Compare || rtb_Compare_ah); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1 = (rtb_FailCond && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE >= 3000U)); - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1_cf = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_eu = (rtb_Divide1_cf < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_e3 = (rtb_Divide1_cf > 4.9); - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_FailCond_fn = (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 ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1_f1 = (rtb_FailCond_fn && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_g >= 3000U)); - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1_ea = (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_fr = (rtb_Divide1_ea < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_b = (rtb_Divide1_ea > 4.9); - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_FailCond_gk = (rtb_Compare_fr || rtb_Compare_b); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1_f = (rtb_FailCond_gk && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_c >= 3000U)); @@ -9837,9 +10485,9 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read59' * DataTypeConversion: '/Data Type Conversion' * DataTypeConversion: '/Data Type Conversion3' - * 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: '/Gain2' * Gain: '/Gain3' * Lookup_n-D: '/1-D Lookup Table' @@ -9857,11 +10505,11 @@ void HVAC_model_step(void) rtDW.is_FRONT_CONTOUR = IN_Front_A_C_OFF; /* : FRONT_Start_request = false; */ - rtB.FRONT_Start_request = false; + rtDW.FRONT_Start_request = false; rtDW.is_REAR_CONTOUR = IN_Rear_A_C_OFF; /* : REAR_Start_request = false; */ - rtB.REAR_Start_request = false; + rtDW.REAR_Start_request = false; rtDW.is_CHILLER_CONTOUR = IN_Chiller_OFF; /* : Chiller_Start_request = false; */ @@ -9887,8 +10535,8 @@ void HVAC_model_step(void) rtB.Chiller_eTXV = true; 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; @@ -9908,15 +10556,15 @@ void HVAC_model_step(void) */ /* : sf_internal_predicateOutput = Pressure_sen < P_Hi_CutOff; */ if (rtDW.AMB > 400) { - rtb_y_ko4 = g_assAC_PRESSURE_HYS_HI_ENG_ON[0]; + rtb_y_pc = g_assAC_PRESSURE_HYS_HI_ENG_ON[0]; } else { - rtb_y_ko4 = g_assAC_PRESSURE_HYS_HI_ENG_ON[2]; + rtb_y_pc = g_assAC_PRESSURE_HYS_HI_ENG_ON[2]; } /* Gain: '/Gain2' incorporates: * Switch: '/Switch' */ - i = 15857 * rtb_y_ko4; + i = 15857 * rtb_y_pc; if (rtDW.Pressure < ((((uint32_t)i & 8192U) != 0U) && ((((uint32_t)i & 8191U) != 0U) || (i > 0))) + (i >> 14)) { rtDW.is_PRESSURE_MONITOR = IN_PRESSURE_OK; @@ -9970,51 +10618,75 @@ void HVAC_model_step(void) } if (rtDW.is_FRONT_CONTOUR == IN_Front_A_C_OFF) { - /* : sf_internal_predicateOutput = AC_Req_MMS == 1 && pwm_front>=g_ausMIN_PWM(1) && Error_PressSen == 0 && Error_Eva_F == 0 && Eva_F > 0 && amb_temp>g_assAC_CUT_OFF_AMB_F(1) && Pressure_Condition_table_OK == 1; */ - if ((rtDW.CCU_AC_FRONT != 0) && ((Gain >= g_ausMIN_PWM[0]) && + /* : sf_internal_predicateOutput = AC_Req_MMS == 1 && pwm_front>= (g_ausMIN_PWM(1)-1) && Error_PressSen == 0 && Error_Eva_F == 0 && Eva_F > 0 && amb_temp>g_assAC_CUT_OFF_AMB_F(1) && Pressure_Condition_table_OK == 1; */ + rtb_dt_ca = g_ausMIN_PWM[0] - 1U; + if (g_ausMIN_PWM[0] - 1U > g_ausMIN_PWM[0]) { + rtb_dt_ca = 0U; + } + + if ((rtDW.CCU_AC_FRONT != 0) && ((Gain >= (int32_t)rtb_dt_ca) && ((!rtb_LogicalOperator1) && (!rtb_LogicalOperator1_f1) && (rtDW.Eva_F > 0) && ((rtDW.AMB > g_assAC_CUT_OFF_AMB_F[0]) && rtDW.Pressure_Condition_table_OK)))) { rtDW.is_FRONT_CONTOUR = IN_Front_A_C_ON; /* : FRONT_Start_request = true; */ - rtB.FRONT_Start_request = true; + rtDW.FRONT_Start_request = true; + } + } else { + /* case IN_Front_A_C_ON: */ + /* : sf_internal_predicateOutput = AC_Req_MMS == 0 || pwm_front < (g_ausMIN_PWM(1)-1) || Error_PressSen == 1 || Error_Eva_F == 1 || Eva_F <= 0 || amb_temp<=g_assAC_CUT_OFF_AMB_F(1) || Pressure_Condition_table_OK == 0; */ + rtb_dt_ca = g_ausMIN_PWM[0] - 1U; + if (g_ausMIN_PWM[0] - 1U > g_ausMIN_PWM[0]) { + rtb_dt_ca = 0U; } - /* case IN_Front_A_C_ON: */ - /* : sf_internal_predicateOutput = AC_Req_MMS == 0 || pwm_front < g_ausMIN_PWM(1) || Error_PressSen == 1 || Error_Eva_F == 1 || Eva_F <= 0 || amb_temp<=g_assAC_CUT_OFF_AMB_F(1) || Pressure_Condition_table_OK == 0; */ - } else if ((rtDW.CCU_AC_FRONT == 0) || ((Gain < g_ausMIN_PWM[0]) || - (rtb_LogicalOperator1 || rtb_LogicalOperator1_f1 || (rtDW.Eva_F <= - 0) || ((rtDW.AMB <= g_assAC_CUT_OFF_AMB_F[0]) || ((rtDW.AMB > - g_assAC_CUT_OFF_AMB_F[0]) && (!rtDW.Pressure_Condition_table_OK)))))) { - rtDW.is_FRONT_CONTOUR = IN_Front_A_C_OFF; + if ((rtDW.CCU_AC_FRONT == 0) || ((Gain < (int32_t)rtb_dt_ca) || + (rtb_LogicalOperator1 || rtb_LogicalOperator1_f1 || (rtDW.Eva_F <= 0) + || ((rtDW.AMB <= g_assAC_CUT_OFF_AMB_F[0]) || ((rtDW.AMB > + g_assAC_CUT_OFF_AMB_F[0]) && (!rtDW.Pressure_Condition_table_OK)))))) + { + rtDW.is_FRONT_CONTOUR = IN_Front_A_C_OFF; - /* : FRONT_Start_request = false; */ - rtB.FRONT_Start_request = false; + /* : FRONT_Start_request = false; */ + rtDW.FRONT_Start_request = false; + } } if (rtDW.is_REAR_CONTOUR == IN_Rear_A_C_OFF) { - /* : sf_internal_predicateOutput = AC_Req_MMS_Rear == 1 && pwm_rear>=g_ausMIN_PWM(2) && Error_PressSen == 0 && Error_Eva_R == 0 && Eva_R > 0 && amb_temp>g_assAC_CUT_OFF_AMB_F(2) && Pressure_Condition_table_OK == 1; */ - if ((rtDW.CCU_AC_REAR != 0) && ((Gain1 >= g_ausMIN_PWM[1]) && + /* : sf_internal_predicateOutput = AC_Req_MMS_Rear == 1 && pwm_rear >= (g_ausMIN_PWM(2)-1) && Error_PressSen == 0 && Error_Eva_R == 0 && Eva_R > 0 && amb_temp>g_assAC_CUT_OFF_AMB_F(2) && Pressure_Condition_table_OK == 1; */ + rtb_dt_ca = g_ausMIN_PWM[1] - 1U; + if (g_ausMIN_PWM[1] - 1U > g_ausMIN_PWM[1]) { + rtb_dt_ca = 0U; + } + + if ((rtDW.CCU_AC_REAR != 0) && ((Gain1 >= (int32_t)rtb_dt_ca) && ((!rtb_LogicalOperator1) && (!rtb_LogicalOperator1_f) && (rtDW.Eva_R > 0) && ((rtDW.AMB > g_assAC_CUT_OFF_AMB_F[1]) && rtDW.Pressure_Condition_table_OK)))) { rtDW.is_REAR_CONTOUR = IN_Rear_A_C_ON; /* : REAR_Start_request = true; */ - rtB.REAR_Start_request = true; + rtDW.REAR_Start_request = true; + } + } else { + /* case IN_Rear_A_C_ON: */ + /* : sf_internal_predicateOutput = [AC_Req_MMS_Rear == 0 || pwm_rear < (g_ausMIN_PWM(2)-1) || Error_PressSen == 1 || Error_Eva_R == 1 || Eva_R <= 0 || amb_temp<=g_assAC_CUT_OFF_AMB_F(2) || Pressure_Condition_table_OK == 0]; */ + rtb_dt_ca = g_ausMIN_PWM[1] - 1U; + if (g_ausMIN_PWM[1] - 1U > g_ausMIN_PWM[1]) { + rtb_dt_ca = 0U; } - /* case IN_Rear_A_C_ON: */ - /* : sf_internal_predicateOutput = [AC_Req_MMS_Rear == 0 || pwm_rear < g_ausMIN_PWM(2) || Error_PressSen == 1 || Error_Eva_R == 1 || Eva_R <= 0 || amb_temp<=g_assAC_CUT_OFF_AMB_F(2) || Pressure_Condition_table_OK == 0]; */ - } else if ((rtDW.CCU_AC_REAR == 0) || ((Gain1 < g_ausMIN_PWM[1]) || - (rtb_LogicalOperator1 || rtb_LogicalOperator1_f || (rtDW.Eva_R <= - 0) || ((rtDW.AMB <= g_assAC_CUT_OFF_AMB_F[1]) || ((rtDW.AMB > - g_assAC_CUT_OFF_AMB_F[1]) && (!rtDW.Pressure_Condition_table_OK)))))) { - rtDW.is_REAR_CONTOUR = IN_Rear_A_C_OFF; + if ((rtDW.CCU_AC_REAR == 0) || ((Gain1 < (int32_t)rtb_dt_ca) || + (rtb_LogicalOperator1 || rtb_LogicalOperator1_f || (rtDW.Eva_R <= 0) || + ((rtDW.AMB <= g_assAC_CUT_OFF_AMB_F[1]) || ((rtDW.AMB > + g_assAC_CUT_OFF_AMB_F[1]) && (!rtDW.Pressure_Condition_table_OK)))))) + { + rtDW.is_REAR_CONTOUR = IN_Rear_A_C_OFF; - /* : REAR_Start_request = false; */ - rtB.REAR_Start_request = false; + /* : REAR_Start_request = false; */ + rtDW.REAR_Start_request = false; + } } if (rtDW.is_CHILLER_CONTOUR == IN_Chiller_OFF) { @@ -10040,8 +10712,8 @@ void HVAC_model_step(void) E_COMP_MANAGER(&Enable_Comp_PID, &g_assEVA_TG_AMB_F_n, &g_assEVA_TG_AMB_R_h); 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; @@ -10051,8 +10723,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; @@ -10066,8 +10738,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; @@ -10077,8 +10749,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; @@ -10093,8 +10765,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; @@ -10108,8 +10780,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; @@ -10120,8 +10792,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; @@ -10138,25 +10810,13 @@ void HVAC_model_step(void) /* End of Chart: '/A//C Control' */ - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write' - * Logic: '/NOT' - */ - rtDW.CCU_AC_FRONT = (uint8_t)!rtB.FRONT_Start_request; - - /* DataTypeConversion: '/Data Type Conversion5' incorporates: - * DataStoreWrite: '/Data Store Write10' - * Logic: '/NOT1' - */ - rtDW.CCU_AC_REAR = (uint8_t)!rtB.REAR_Start_request; - /* DataTypeConversion: '/Data Type Conversion6' incorporates: * DataStoreWrite: '/Data Store Write11' */ 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: '/MATLAB Function' */ /* : if isempty(t_start) */ @@ -10169,8 +10829,8 @@ void HVAC_model_step(void) } /* : if Enable_Comp_PID == 0 */ - rtb_LogicalOperator4_fo = !Enable_Comp_PID; - if (rtb_LogicalOperator4_fo) { + rtb_LogicalOperator1_n = !Enable_Comp_PID; + if (rtb_LogicalOperator1_n) { /* : t_start = t_now; */ rtDW.t_start = rtDW.t_now; @@ -10191,12 +10851,12 @@ void HVAC_model_step(void) } /* : if (t_now - t_start) >= 60000.0 */ - rtb_Subtract = rtDW.t_now - /*MW:OvSatOk*/ rtDW.t_start; - if (rtb_Subtract > rtDW.t_now) { - rtb_Subtract = 0U; + rtb_dt_ca = rtDW.t_now - /*MW:OvSatOk*/ rtDW.t_start; + if (rtb_dt_ca > rtDW.t_now) { + rtb_dt_ca = 0U; } - if (rtb_Subtract >= 60000U) { + if (rtb_dt_ca >= 60000U) { /* : timer_out = uint8(1); */ rtb_timer_out = 1U; } else { @@ -10206,60 +10866,64 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MATLAB Function1' */ + /* End of MATLAB Function: '/MATLAB Function1' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant4' - * 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 { - Comp_Max_RPM_Allowed = (uint8_t)((41943U * g_usCMP_MAX_ENG_OFF) >> 21); + /* Gain: '/Gain2' incorporates: + * Constant: '/Constant4' + */ + rtb_dt_ca = 41943U * g_usCMP_MAX_ENG_OFF; + Comp_Max_RPM_Allowed = (uint8_t)((uint32_t)((rtb_dt_ca & 1048576U) != 0U) + + (rtb_dt_ca >> 21)); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ /* Sum: '/Sum' incorporates: * DataStoreWrite: '/Data Store Write14' */ Eva_Target = (int16_t)(rtB.Comp_Target_Temp + g_assEVA_TG_AMB_F_n); - /* Sum: '/Sum' incorporates: + /* Sum: '/Sum' incorporates: * DataStoreWrite: '/Data Store Write14' */ - rtb_y_pfc = (int16_t)(Eva_Target - rtB.Comp_Feedback_Temp); + rtb_Merge1 = (int16_t)(Eva_Target - rtB.Comp_Feedback_Temp); - /* DiscreteIntegrator: '/Integrator' */ + /* DiscreteIntegrator: '/Integrator' */ if (Enable_Comp_PID || (rtDW.Integrator_PrevResetState != 0)) { rtDW.Integrator_DSTATE_l = 0; } - /* Sum: '/Sum' incorporates: - * DiscreteIntegrator: '/Integrator' - * Gain: '/Proportional Gain' + /* Sum: '/Sum' incorporates: + * DiscreteIntegrator: '/Integrator' + * Gain: '/Proportional Gain' */ - rtb_SumI2_e = (((int64_t)(-32768 * rtb_y_pfc) << 1) + rtDW.Integrator_DSTATE_l) - >> 17; + rtb_SumI2_e = (((int64_t)(-2 * rtb_Merge1) << 16) + rtDW.Integrator_DSTATE_l) >> + 16; if (rtb_SumI2_e < 0LL) { rtb_SumI2_e = 0LL; } else if (rtb_SumI2_e > 255LL) { rtb_SumI2_e = 255LL; } - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant5' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant5' */ if (Enable_Comp_PID) { rtb_Switch3_ed = 16U; @@ -10267,56 +10931,56 @@ void HVAC_model_step(void) rtb_Switch3_ed = 0U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum' + * Switch: '/Switch' */ if ((uint8_t)rtb_SumI2_e > Comp_Max_RPM_Allowed) { rtb_timer_out = Comp_Max_RPM_Allowed; } else if ((uint8_t)rtb_SumI2_e < rtb_Switch3_ed) { - /* Switch: '/Switch' */ + /* Switch: '/Switch' */ rtb_timer_out = rtb_Switch3_ed; } else { rtb_timer_out = (uint8_t)rtb_SumI2_e; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* RateLimiter: '/Rate Limiter' */ + /* RateLimiter: '/Rate Limiter' */ i = rtb_timer_out - rtDW.PrevY; - if (i > 10) { - rtb_timer_out = (uint8_t)(rtDW.PrevY + 10); - } else if (i < -10) { - rtb_timer_out = (uint8_t)(rtDW.PrevY - 10); + if (i > 20) { + rtb_timer_out = (uint8_t)(rtDW.PrevY + 20); + } else if (i < -20) { + rtb_timer_out = (uint8_t)(rtDW.PrevY - 20); } rtDW.PrevY = rtb_timer_out; - /* 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_timer_out = 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_nj[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); */ rpm_phys = rtb_timer_out; @@ -10366,18 +11030,22 @@ void HVAC_model_step(void) } } + /* : rpm_can = uint8(rpm_phys); */ + if (rpm_phys > 255) { + rpm_phys = 255; + } + /* MATLAB Function: '/MATLAB Function' incorporates: * Constant: '/Constant1' * Constant: '/Constant6' - * Constant: '/Constant' + * Constant: '/Constant' * DataStoreRead: '/Data Store Read31' * DataStoreRead: '/Data Store Read32' * DataStoreWrite: '/Data Store Write25' - * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' * Lookup_n-D: '/Fan_Speed_By_Pressure' - * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - /* : rpm_can = uint8(rpm_phys); */ /* : fan_speed_out = uint8(0); */ Valve_2_way = 0U; @@ -10385,7 +11053,7 @@ void HVAC_model_step(void) eComp_stop = false; /* : if (comp_state ~= 1) */ - if (!rtb_LogicalOperator4_fo) { + if (!rtb_LogicalOperator1_n) { /* : if pressure_failed */ if (rtb_LogicalOperator1) { /* : fan_speed_out = uint8(100); */ @@ -10397,18 +11065,18 @@ void HVAC_model_step(void) /* : if pressure_val <= g_assPRESSURE_TO_FAN_X */ } else if (rtDW.Pressure > g_assPRESSURE_TO_FAN_X[0]) { /* : fan_speed_out = uint8(fan_speed_table); */ - rtb_y_ko4 = look1_is16lu64n32tu8Ds16Is16_binlcs(rtDW.Pressure, + rtb_y_pc = look1_is16lu64n32tu8Ds16Is16_binlcs(rtDW.Pressure, &g_assPRESSURE_TO_FAN_X[0], &g_aucPRESSURE_TO_FAN_Y[0], 6U); - if (rtb_y_ko4 < 0) { - rtb_y_ko4 = 0; - } else if (rtb_y_ko4 > 255) { - rtb_y_ko4 = 255; + if (rtb_y_pc < 0) { + rtb_y_pc = 0; + } else if (rtb_y_pc > 255) { + rtb_y_pc = 255; } - Valve_2_way = (uint8_t)rtb_y_ko4; + Valve_2_way = (uint8_t)rtb_y_pc; /* : if engine_on == false */ - if ((rtDW.Engine_speed <= 500.0) && (rtb_y_ko4 > g_ucFAN_MAX_ENG_OFF)) { + if ((rtDW.Engine_speed <= 500.0) && (rtb_y_pc > g_ucFAN_MAX_ENG_OFF)) { /* : if(fan_speed_out>g_ucFAN_MAX_ENG_OFF) */ /* : fan_speed_out = uint8(g_ucFAN_MAX_ENG_OFF); */ Valve_2_way = g_ucFAN_MAX_ENG_OFF; @@ -10428,29 +11096,29 @@ void HVAC_model_step(void) */ ShutOffRear_EN = rtB.REAR_eTXV; - /* 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' */ - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/u_GTE_up' - * Sum: '/Sum' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/u_GTE_up' + * Sum: '/Sum' */ if ((uint8_t)rtb_SumI2_e < Comp_Max_RPM_Allowed) { - /* Switch: '/Switch1' incorporates: - * RelationalOperator: '/u_GT_lo' + /* Switch: '/Switch1' incorporates: + * RelationalOperator: '/u_GT_lo' */ if ((uint8_t)rtb_SumI2_e > rtb_Switch3_ed) { Comp_Max_RPM_Allowed = (uint8_t)rtb_SumI2_e; @@ -10458,39 +11126,39 @@ void HVAC_model_step(void) Comp_Max_RPM_Allowed = rtb_Switch3_ed; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Sum: '/Diff' incorporates: - * Sum: '/Sum' + /* Sum: '/Diff' incorporates: + * Sum: '/Sum' */ Comp_Max_RPM_Allowed = (uint8_t)((uint8_t)rtb_SumI2_e - Comp_Max_RPM_Allowed); - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * RelationalOperator: '/fix for DT propagation issue' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * RelationalOperator: '/fix for DT propagation issue' */ if (Comp_Max_RPM_Allowed > 0) { - rtb_y_hzc = 1; + rtb_y_b2 = 1; } else { - rtb_y_hzc = -1; + rtb_y_b2 = -1; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Gain: '/Integral Gain' incorporates: - * Gain: '/Gain' + /* Gain: '/Integral Gain' incorporates: + * Gain: '/Gain' */ - rtb_Gain_pl = -26214 * rtb_y_pfc; + rtb_Gain_pl = -26214 * rtb_Merge1; - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * Gain: '/Gain' - * RelationalOperator: '/fix for DT propagation issue1' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * Gain: '/Gain' + * RelationalOperator: '/fix for DT propagation issue1' */ if (rtb_Gain_pl > 0) { tmp_5 = 1; @@ -10498,464 +11166,21 @@ void HVAC_model_step(void) tmp_5 = -1; } - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * Gain: '/Gain' - * Logic: '/AND3' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * Gain: '/Gain' + * Logic: '/AND3' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch2' */ - if ((Comp_Max_RPM_Allowed != 0) && (rtb_y_hzc == tmp_5)) { + if ((Comp_Max_RPM_Allowed != 0) && (rtb_y_b2 == tmp_5)) { rtb_Switch_fs = 0; } else { rtb_Switch_fs = rtb_Gain_pl; } - /* End of Switch: '/Switch' */ - - /* RelationalOperator: '/Relational Operator1' incorporates: - * UnitDelay: '/Unit Delay' - */ - rtb_LogicalOperator_fc = (rtDW.UnitDelay_DSTATE_d5 == -9999); - - /* DataStoreRead: '/Data Store Read14' incorporates: - * UnitDelay: '/Unit Delay' - */ - rtDW.UnitDelay_DSTATE_d5 = rtDW.AMB_RAW; - - /* If: '/If' */ - if (rtb_LogicalOperator_fc) { - /* Outputs for IfAction SubSystem: '/Инициализация температуры' incorporates: - * ActionPort: '/Action Port' - */ - /* Switch: '/Switch1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnitDelay: '/Unit Delay' - */ - rtDW.AMB_store = rtDW.UnitDelay_DSTATE_d5; - - /* SignalConversion generated from: '/AMB_out' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtb_Product_n = rtDW.AMB_store; - - /* End of Outputs for SubSystem: '/Инициализация температуры' */ - } else { - /* Outputs for IfAction SubSystem: '/Фильтрация температуры' incorporates: - * ActionPort: '/Action Port' - */ - /* Lookup_n-D: '/Get LVL for temp' incorporates: - * DataStoreRead: '/Data Store Read14' - * UnitDelay: '/Unit Delay' - */ - g_assEVA_TG_AMB_F_n = rtConstP.pooled49[plook_u32s16_bincka - (rtDW.UnitDelay_DSTATE_d5, rtConstP.GetLVLfortemp_bp01Data, 5U)]; - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_h(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &Comp_Max_RPM_Allowed, - &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_a(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &Comp_Max_RPM_Allowed, - &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/обычный режим' */ - } - - /* End of If: '/If1' */ - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_d(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Switch3_ed, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_c(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Switch3_ed, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/обычный режим' */ - } - - /* End of If: '/If1' */ - - /* 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' - */ - /* : 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' - */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_h(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Merge_o, - &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_a(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Merge_o, - &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/обычный режим' */ - } - - /* End of If: '/If1' */ - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_d(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Merge_e, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_c(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Merge_e, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/обычный режим' */ - } - - /* End of If: '/If1' */ - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - if (fabs((double)rtDW.UnitDelay_DSTATE_d5 - rtDW.AMB_store) <= 0.01) { - /* SignalConversion generated from: '/AMB_new' */ - rtb_rate = rtDW.AMB_store; - } else { - if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_y_ko4 = rtb_Merge_o; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_y_ko4 = (int16_t)-rtb_Merge_e; - } - - /* SignalConversion generated from: '/AMB_new' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' - */ - rtb_rate = (double)rtb_Subtract / 60000.0 * (double)rtb_y_ko4 + - rtDW.AMB_store; - } - - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Быстро из-за флага' */ - } else if (rtDW.VehicleSpeed > 50) { - /* Outputs for IfAction SubSystem: '/Быстро из-за скорости' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_UNTIL_SPEED_DROPS = 1; - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_h(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Merge_o, - &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_a(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Merge_o, - &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/обычный режим' */ - } - - /* End of If: '/If1' */ - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_d(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Merge_e, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_c(rtDW.UnitDelay_DSTATE_d5, g_assEVA_TG_AMB_F_n, &rtb_Merge_e, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/обычный режим' */ - } - - /* End of If: '/If1' */ - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - if (fabs((double)rtDW.UnitDelay_DSTATE_d5 - rtDW.AMB_store) <= 0.01) { - /* SignalConversion generated from: '/AMB_new' */ - rtb_rate = rtDW.AMB_store; - } else { - if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_y_ko4 = rtb_Merge_o; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_y_ko4 = (int16_t)-rtb_Merge_e; - } - - /* SignalConversion generated from: '/AMB_new' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' - */ - rtb_rate = (double)rtb_Subtract / 60000.0 * (double)rtb_y_ko4 + - rtDW.AMB_store; - } - - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Быстро из-за скорости' */ - } else { - /* Outputs for IfAction SubSystem: '/Медленно' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant1' - */ - rtDW.KEEP_UNTIL_SPEED_DROPS = 0; - - /* 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 = g_assEVA_TG_AMB_F_n + 1; - if (g_assEVA_TG_AMB_F_n + 1 > 32767) { - i = 32767; - } - - rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[i - 1]; - - /* MATLAB Function: '/обычное понижение темп.' */ - /* : fprintf("lvl = %d\n", lvl); */ - printf("lvl = %d\n", g_assEVA_TG_AMB_F_n); - fflush(stdout); - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * Product: '/Divide' - * Product: '/Product' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ - if (fabs((double)rtDW.UnitDelay_DSTATE_d5 - rtDW.AMB_store) <= 0.01) { - rtb_rate = rtDW.UnitDelay_DSTATE_d5; - } else { - if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { - /* Switch: '/Скорость >10' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' - */ - if (rtDW.VehicleSpeed > 10) { - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: - * DataStoreRead: '/Data Store Read12' - */ - rtb_rate = look1_is16td_binlc(rtDW.VehicleSpeed, - rtConstP.uDLookupTable1_bp01Data, rtb_f_lower_upper_bounds, 1U); - } else { - rtb_rate = 0.5; - } - - /* End of Switch: '/Скорость >10' */ - } else { - /* MATLAB Function: '/обычное понижение темп.' incorporates: - * MATLAB Function: '/границы' - */ - i = g_assEVA_TG_AMB_F_n + 1; - if (g_assEVA_TG_AMB_F_n + 1 > 32767) { - i = 32767; - } - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * MATLAB Function: '/обычное понижение темп.' - * UnaryMinus: '/Unary Minus' - */ - rtb_rate = -(double)g_aucAMBRATE_FALLING[i - 1]; - } - - rtb_rate = (double)rtb_Subtract / 60000.0 * rtb_rate + rtDW.AMB_store; - } - - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Медленно' */ - } - - /* End of If: '/If' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * MATLAB Function: '/Coolant temp threshold' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' - */ - if (rtDW.ECT <= g_ssAMBFILT_WATER) { - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * UnitDelay: '/Unit Delay' - */ - if (fabs((double)rtDW.UnitDelay_DSTATE_d5 - rtDW.AMB_store) > 0.01) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * RelationalOperator: '/AMBraw > AMB' - * UnaryMinus: '/Unary Minus' - */ - if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { - rtb_y_ko4 = Comp_Max_RPM_Allowed; - } else { - rtb_y_ko4 = (int16_t)-rtb_Switch3_ed; - } - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' - */ - rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double)rtb_y_ko4; - } - - /* End of Switch: '/Switch1' */ - } else if (rtDW.VehicleSpeed != 0) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Write new AMB' - * Switch: '/Switch' - */ - rtDW.AMB_store = rtb_rate; - } - - /* End of Switch: '/Switch' */ - - /* SignalConversion generated from: '/AMB_out' incorporates: - * DataStoreWrite: '/Write new AMB' - */ - rtb_Product_n = rtDW.AMB_store; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read15' - */ - rtDW.UnitDelay_DSTATE_c = rtDW.t_now; - - /* End of Outputs for SubSystem: '/Фильтрация температуры' */ - } - - /* End of If: '/If' */ - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.AMB = (int16_t)floor(rtb_Product_n); + /* End of Switch: '/Switch' */ /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read16' @@ -10970,13 +11195,13 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain2' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain2' + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + * Gain: '/Gain2' */ - rtb_Subtract = 52429U * Gain; - rtb_u0101_a = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + - (rtb_Subtract >> 19)); + rtb_dt_ca = 52429U * Gain; + rtb_u0101_a = (int16_t)((uint32_t)((rtb_dt_ca & 262144U) != 0U) + (rtb_dt_ca >> + 19)); /* Saturate: '/Saturation4' incorporates: * DataStoreRead: '/Data Store Read28' @@ -10989,17 +11214,17 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation4' */ - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ /* : all_min = [g_assDTG_FU_MIN_LV0; g_assDTG_FU_MIN_LV1; g_assDTG_FU_MIN_LV2; g_assDTG_FU_MIN_LV3; g_assDTG_FU_MIN_LV4; g_assDTG_FU_MIN_LV5]; */ /* : all_max = [g_assDTG_FU_MAX_LV0; g_assDTG_FU_MAX_LV1; g_assDTG_FU_MAX_LV2; g_assDTG_FU_MAX_LV3; g_assDTG_FU_MAX_LV4; g_assDTG_FU_MAX_LV5]; */ /* : y = all_max(LVL + 1, idivide(SET - 16 + 1, 2)); */ /* : y_fixed = double(y_in); */ /* : eps_val = 0.01; */ /* : for i = 2:length(y_fixed) */ - is_ending_with_5(Gain, &rtb_LogicalOperator_fc); + is_ending_with_5(Gain, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 FLU_tg' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.3 FLU_tg' incorporates: + * Gain: '/Gain2' */ /* : FLU_tg = [g_assTG_FLU_LV0; g_assTG_FLU_LV1; g_assTG_FLU_LV2; g_assTG_FLU_LV3; g_assTG_FLU_LV4; g_assTG_FLU_LV5]; */ for (i = 0; i < 13; i++) { @@ -11012,7 +11237,7 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ - if (rtb_LogicalOperator_fc && (rtb_u0101_a - 15 <= 13)) { + if (rtb_is_ending_with_5 && (rtb_u0101_a - 15 <= 13)) { /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ i = FLU_tg[(rtb_u0101_a - 17) * 6 + Comp_Max_RPM_Allowed] + FLU_tg [(rtb_u0101_a - 16) * 6 + Comp_Max_RPM_Allowed]; @@ -11029,79 +11254,81 @@ void HVAC_model_step(void) g_assEVA_TG_AMB_F_n = FLU_tg[(rtb_u0101_a - 17) * 6 + Comp_Max_RPM_Allowed]; } - /* End of MATLAB Function: '/2.3 FLU_tg' */ + /* End of MATLAB Function: '/2.3 FLU_tg' */ - /* MATLAB Function: '/2.1 Incar target' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.1 Incar target' incorporates: + * Gain: '/Gain2' */ - u1Incartarget(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_LogicalOperator_fc, + u1Incartarget(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_is_ending_with_5, &g_assEVA_TG_AMB_R_h); - /* MATLAB Function: '/Y1-Y4 для FLU_tg_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для FLU_tg_incar' incorporates: + * Gain: '/Gain2' */ - Y1Y4FLU_tg_incar(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_izu); + Y1Y4FLU_tg_incar(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для FLU_tg_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для FLU_tg_incar' incorporates: + * Gain: '/Gain2' */ - X1X4FLU_tg_incar(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_gk); + X1X4FLU_tg_incar(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_hf); - /* 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_y_pfc = look1_is16lu64n32Ds32_binlcn((int16_t)(g_assEVA_TG_AMB_R_h - - rtDW.Incar_FL), rtb_y_gk, rtb_y_izu, 4U); + rtb_Merge1 = look1_is16lu64n32Ds32_binlcn((int16_t)(g_assEVA_TG_AMB_R_h - + rtDW.Incar_FL), rtb_y_hf, rtb_y_ie, 4U); - /* MATLAB Function: '/Amb_Tg ' */ + /* MATLAB Function: '/Amb_Tg ' */ Amb_Tg(Comp_Max_RPM_Allowed, &g_assEVA_TG_AMB_R_h); - /* MATLAB Function: '/Y1-Y4 для FLU_tg_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для FLU_tg_amb' incorporates: + * Gain: '/Gain2' */ - Y1Y4FLU_tg_amb(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ao); + Y1Y4FLU_tg_amb(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для FLU_tg_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для FLU_tg_amb' incorporates: + * Gain: '/Gain2' */ - X1X4FLU_tg_amb(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_gu); + X1X4FLU_tg_amb(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_Add1_f = look1_is16lu64n32Ds32_binlcn((int16_t)(g_assEVA_TG_AMB_R_h - - rtDW.AMB), rtb_y_gu, rtb_y_ao, 2U); + rtb_Merge_ja = look1_is16lu64n32Ds32_binlcn((int16_t)(g_assEVA_TG_AMB_R_h - + rtDW.AMB), rtb_y_deg, rtb_y_ojk, 2U); - /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' */ - Y1Y4FLU_tg_sun(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ao); + Y1Y4FLU_tg_sun(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' */ - X1X4FLU_tg_sun_h(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_gu); + X1X4FLU_tg_sun_h(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_Product_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_gu, rtb_y_ao, 2U); + rtb_FLU_tg_correct_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_deg, + rtb_y_ojk, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_Product_n += (double)((g_assEVA_TG_AMB_F_n + rtb_y_pfc) + rtb_Add1_f); + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_n += (double)((g_assEVA_TG_AMB_F_n + rtb_Merge1) + + rtb_Merge_ja); - /* MATLAB Function: '/FXU_tg_min' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/FXU_tg_min' incorporates: + * Gain: '/Gain2' */ FXU_tg_min(rtb_u0101_a, Comp_Max_RPM_Allowed, &g_assEVA_TG_AMB_R_h); - /* MATLAB Function: '/FXU_tg_max' incorporates: - * Gain: '/Gain2' - * MATLAB Function: '/correction max' - * MATLAB Function: '/correction_start_time' - * MATLAB Function: '/X1-X4 для FLL_tg_incar' + /* MATLAB Function: '/FXU_tg_max' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/correction max' + * MATLAB Function: '/correction_start_time' + * MATLAB Function: '/X1-X4 для FLL_tg_incar' */ for (i = 0; i < 7; i++) { tmp[6 * i] = g_assDTG_FU_MAX_LV0[i]; @@ -11115,14 +11342,14 @@ void HVAC_model_step(void) i = ((int32_t)trunc((((double)rtb_u0101_a - 16.0) + 1.0) / 2.0) - 1) * 6 + Comp_Max_RPM_Allowed; - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/FXU_tg_max' - * MATLAB Function: '/убираем одинаковые точки' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/FXU_tg_max' + * MATLAB Function: '/убираем одинаковые точки' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_Product_n > tmp[i]) { + if (rtb_FLU_tg_correct_n > tmp[i]) { for (i_0 = 0; i_0 < 7; i_0++) { tmp[6 * i_0] = g_assDTG_FU_MAX_LV0[i_0]; tmp[6 * i_0 + 1] = g_assDTG_FU_MAX_LV1[i_0]; @@ -11132,18 +11359,18 @@ void HVAC_model_step(void) tmp[6 * i_0 + 5] = g_assDTG_FU_MAX_LV5[i_0]; } - rtb_Product_n = tmp[i]; - } else if (rtb_Product_n < g_assEVA_TG_AMB_R_h) { - /* Switch: '/Switch' */ - rtb_Product_n = g_assEVA_TG_AMB_R_h; + rtb_FLU_tg_correct_n = tmp[i]; + } else if (rtb_FLU_tg_correct_n < g_assEVA_TG_AMB_R_h) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_n = g_assEVA_TG_AMB_R_h; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: + /* DataTypeConversion: '/Data Type Conversion' incorporates: * DataStoreWrite: '/Data Store Write2' */ - Duct_FLU_Tg = (int16_t)floor(rtb_Product_n); + Duct_FLU_Tg = (int16_t)floor(rtb_FLU_tg_correct_n); /* Saturate: '/Saturation1' incorporates: * DataStoreRead: '/Data Store Read17' @@ -11158,19 +11385,19 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation1' */ - /* Gain: '/Gain2' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain2' + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + * Gain: '/Gain2' */ - rtb_Subtract = 52429U * Gain1; - rtb_y_ko4 = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + - (rtb_Subtract >> 19)); + rtb_dt_ca = 52429U * Gain1; + rtb_y_pc = (int16_t)((uint32_t)((rtb_dt_ca & 262144U) != 0U) + (rtb_dt_ca >> + 19)); - /* MATLAB Function: '/FXU_tg_max' incorporates: - * Gain: '/Gain2' - * MATLAB Function: '/correction max' - * MATLAB Function: '/correction_start_time' - * MATLAB Function: '/X1-X4 для FRL_tg_incar' + /* MATLAB Function: '/FXU_tg_max' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/correction max' + * MATLAB Function: '/correction_start_time' + * MATLAB Function: '/X1-X4 для FRL_tg_incar' */ /* : all_min = [g_assDTG_FU_MIN_LV0; g_assDTG_FU_MIN_LV1; g_assDTG_FU_MIN_LV2; g_assDTG_FU_MIN_LV3; g_assDTG_FU_MIN_LV4; g_assDTG_FU_MIN_LV5]; */ /* : all_max = [g_assDTG_FU_MAX_LV0; g_assDTG_FU_MAX_LV1; g_assDTG_FU_MAX_LV2; g_assDTG_FU_MAX_LV3; g_assDTG_FU_MAX_LV4; g_assDTG_FU_MAX_LV5]; */ @@ -11184,17 +11411,17 @@ void HVAC_model_step(void) tmp[6 * i_0 + 5] = g_assDTG_FU_MAX_LV5[i_0]; } - rtb_Gain3 = ((int32_t)trunc((((double)rtb_y_ko4 - 16.0) + 1.0) / 2.0) - 1) * 6 + rtb_Gain3 = ((int32_t)trunc((((double)rtb_y_pc - 16.0) + 1.0) / 2.0) - 1) * 6 + Comp_Max_RPM_Allowed; g_assEVA_TG_AMB_F_n = tmp[rtb_Gain3]; - /* End of MATLAB Function: '/FXU_tg_max' */ + /* End of MATLAB Function: '/FXU_tg_max' */ - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain1, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain1, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 FRU_tg' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.3 FRU_tg' incorporates: + * Gain: '/Gain2' */ /* : FRU_tg = [g_assTG_FRU_LV0; g_assTG_FRU_LV1; g_assTG_FRU_LV2; g_assTG_FRU_LV3; g_assTG_FRU_LV4; g_assTG_FRU_LV5]; */ for (i_0 = 0; i_0 < 13; i_0++) { @@ -11207,10 +11434,10 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(FRU_tg)) */ - if (rtb_LogicalOperator_fc && (rtb_y_ko4 - 15 <= 13)) { + if (rtb_is_ending_with_5 && (rtb_y_pc - 15 <= 13)) { /* : y = (FRU_tg(LVL + 1, SET - 16) + FRU_tg(LVL + 1, SET - 16 + 1)) / 2; */ - i_0 = FLU_tg[(rtb_y_ko4 - 17) * 6 + Comp_Max_RPM_Allowed] + FLU_tg - [(rtb_y_ko4 - 16) * 6 + Comp_Max_RPM_Allowed]; + i_0 = FLU_tg[(rtb_y_pc - 17) * 6 + Comp_Max_RPM_Allowed] + FLU_tg[(rtb_y_pc + - 16) * 6 + Comp_Max_RPM_Allowed]; if (i_0 > 32767) { i_0 = 32767; } else if (i_0 < -32768) { @@ -11221,97 +11448,96 @@ void HVAC_model_step(void) } else { /* : else */ /* : y = FRU_tg(LVL + 1, SET - 16); */ - g_assEVA_TG_AMB_R_h = FLU_tg[(rtb_y_ko4 - 17) * 6 + Comp_Max_RPM_Allowed]; + g_assEVA_TG_AMB_R_h = FLU_tg[(rtb_y_pc - 17) * 6 + Comp_Max_RPM_Allowed]; } - /* End of MATLAB Function: '/2.3 FRU_tg' */ + /* End of MATLAB Function: '/2.3 FRU_tg' */ - /* MATLAB Function: '/2.1 Incar target' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.1 Incar target' incorporates: + * Gain: '/Gain2' */ - u1Incartarget_l(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_LogicalOperator_fc, - &rtb_y_pj); + u1Incartarget_l(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_is_ending_with_5, + &rtb_y_e3); - /* MATLAB Function: '/Y1-Y4 для FLU_tg_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для FLU_tg_incar' incorporates: + * Gain: '/Gain2' */ - Y1Y4FLU_tg_incar(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_izu); + Y1Y4FLU_tg_incar(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для FLU_tg_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для FLU_tg_incar' incorporates: + * Gain: '/Gain2' */ - X1X4FLU_tg_incar(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_gk); + X1X4FLU_tg_incar(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_hf); - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read23' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_Add1_f = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_pj - rtDW.Incar_RL), - rtb_y_gk, rtb_y_izu, 4U); + rtb_Merge_ja = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_e3 - rtDW.Incar_RL), + rtb_y_hf, rtb_y_ie, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(Comp_Max_RPM_Allowed, &rtb_y_pj); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(Comp_Max_RPM_Allowed, &rtb_y_e3); - /* MATLAB Function: '/Y1-Y4 для FLU_tg_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для FLU_tg_amb' incorporates: + * Gain: '/Gain2' */ - Y1Y4FLU_tg_amb(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_ao); + Y1Y4FLU_tg_amb(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для FLU_tg_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для FLU_tg_amb' incorporates: + * Gain: '/Gain2' */ - X1X4FLU_tg_amb(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_gu); + X1X4FLU_tg_amb(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_pfc = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_pj - rtDW.AMB), - rtb_y_gu, rtb_y_ao, 2U); + rtb_Merge1 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_e3 - rtDW.AMB), + rtb_y_deg, rtb_y_ojk, 2U); - /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' */ - Y1Y4FLU_tg_sun(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_ao); + Y1Y4FLU_tg_sun(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' */ - X1X4FLU_tg_sun_h(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_gu); + X1X4FLU_tg_sun_h(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_Product_n = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_gu, rtb_y_ao, 2U); + rtb_FLU_tg_correct_n = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_deg, + rtb_y_ojk, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate = (double)((g_assEVA_TG_AMB_R_h + rtb_Add1_f) + rtb_y_pfc) + - rtb_Product_n; + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_o = (double)((g_assEVA_TG_AMB_R_h + rtb_Merge_ja) + + rtb_Merge1) + rtb_FLU_tg_correct_n; - /* RelationalOperator: '/LowerRelop1' */ - rtb_LogicalOperator_fc = (rtb_rate > g_assEVA_TG_AMB_F_n); - - /* MATLAB Function: '/FXU_tg_min' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/FXU_tg_min' incorporates: + * Gain: '/Gain2' */ - FXU_tg_min(rtb_y_ko4, Comp_Max_RPM_Allowed, &rtb_y_pj); + FXU_tg_min(rtb_y_pc, Comp_Max_RPM_Allowed, &rtb_y_e3); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_LogicalOperator_fc) { - rtb_rate = g_assEVA_TG_AMB_F_n; - } else if (rtb_rate < rtb_y_pj) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_pj; + if (rtb_FLU_tg_correct_o > g_assEVA_TG_AMB_F_n) { + rtb_FLU_tg_correct_o = g_assEVA_TG_AMB_F_n; + } else if (rtb_FLU_tg_correct_o < rtb_y_e3) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_o = rtb_y_e3; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: + /* DataTypeConversion: '/Data Type Conversion' incorporates: * DataStoreWrite: '/Data Store Write3' - * Switch: '/Switch2' + * Switch: '/Switch2' */ - rtb_y_pj = (int16_t)floor(rtb_rate); + rtb_y_e3 = (int16_t)floor(rtb_FLU_tg_correct_o); /* Saturate: '/Saturation2' incorporates: * DataStoreRead: '/Data Store Read18' @@ -11326,23 +11552,23 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation2' */ - /* Gain: '/Gain2' incorporates: - * Gain: '/Gain2' + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' */ - rtb_Subtract = 52429U * rtb_Saturation2_a; - g_assEVA_TG_AMB_R_h = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + - (rtb_Subtract >> 19)); + rtb_dt_ca = 52429U * rtb_Saturation2_a; + g_assEVA_TG_AMB_R_h = (int16_t)((uint32_t)((rtb_dt_ca & 262144U) != 0U) + + (rtb_dt_ca >> 19)); - /* MATLAB Function: '/R_tg_max' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/R_tg_max' incorporates: + * Gain: '/Gain2' */ - R_tg_max(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, &rtb_y_nm); + R_tg_max(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, &rtb_y_cy); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation2_a, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation2_a, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 RL_tg' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.3 RL_tg' incorporates: + * Gain: '/Gain2' */ /* : RL_tg = [g_assTG_RL_LV0; g_assTG_RL_LV1; g_assTG_RL_LV2; g_assTG_RL_LV3; g_assTG_RL_LV4; g_assTG_RL_LV5]; */ for (i_0 = 0; i_0 < 13; i_0++) { @@ -11355,7 +11581,7 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(RL_tg)) */ - if (rtb_LogicalOperator_fc && (g_assEVA_TG_AMB_R_h - 15 <= 13)) { + if (rtb_is_ending_with_5 && (g_assEVA_TG_AMB_R_h - 15 <= 13)) { /* : y = (RL_tg(LVL + 1, SET - 16) + RL_tg(LVL + 1, SET - 16 + 1)) / 2; */ i_0 = FLU_tg[(g_assEVA_TG_AMB_R_h - 17) * 6 + Comp_Max_RPM_Allowed] + FLU_tg[(g_assEVA_TG_AMB_R_h - 16) * 6 + Comp_Max_RPM_Allowed]; @@ -11373,102 +11599,101 @@ void HVAC_model_step(void) Comp_Max_RPM_Allowed]; } - /* End of MATLAB Function: '/2.3 RL_tg' */ + /* End of MATLAB Function: '/2.3 RL_tg' */ - /* MATLAB Function: '/2.1 Incar target' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.1 Incar target' incorporates: + * Gain: '/Gain2' */ u1Incartarget_e(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, - rtb_LogicalOperator_fc, &rtb_y_pfc); + rtb_is_ending_with_5, &rtb_Merge1); - /* MATLAB Function: '/Y1-Y4 для R_tg_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для R_tg_incar' incorporates: + * Gain: '/Gain2' */ - Y1Y4R_tg_incar(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_izu); + Y1Y4R_tg_incar(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для R_tg_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для R_tg_incar' incorporates: + * Gain: '/Gain2' */ - X1X4R_tg_incar(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_gk); + X1X4R_tg_incar(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_hf); - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read22' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_Add1_f = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_pfc - rtDW.Incar_FR), - rtb_y_gk, rtb_y_izu, 4U); + rtb_Merge_ja = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Merge1 - + rtDW.Incar_FR), rtb_y_hf, rtb_y_ie, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(Comp_Max_RPM_Allowed, &rtb_y_pfc); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(Comp_Max_RPM_Allowed, &rtb_Merge1); - /* MATLAB Function: '/Y1-Y4 для R_tg_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для R_tg_amb' incorporates: + * Gain: '/Gain2' */ - Y1Y4R_tg_amb(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ao); + Y1Y4R_tg_amb(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для R_tg_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для R_tg_amb' incorporates: + * Gain: '/Gain2' */ - X1X4R_tg_amb(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_gu); + X1X4R_tg_amb(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_pfc = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_pfc - rtDW.AMB), - rtb_y_gu, rtb_y_ao, 2U); + rtb_Merge1 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Merge1 - rtDW.AMB), + rtb_y_deg, rtb_y_ojk, 2U); - /* MATLAB Function: '/Y1-Y4 для R_tg_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для R_tg_sun' incorporates: + * Gain: '/Gain2' */ - Y1Y4R_tg_sun(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ao); + Y1Y4R_tg_sun(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для R_tg_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для R_tg_sun' incorporates: + * Gain: '/Gain2' */ - X1X4R_tg_sun(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_gu); + X1X4R_tg_sun(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_Product_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_gu, rtb_y_ao, 2U); + rtb_FLU_tg_correct_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_deg, + rtb_y_ojk, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate = (double)((g_assEVA_TG_AMB_F_n + rtb_Add1_f) + rtb_y_pfc) + - rtb_Product_n; + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_o = (double)((g_assEVA_TG_AMB_F_n + rtb_Merge_ja) + + rtb_Merge1) + rtb_FLU_tg_correct_n; - /* RelationalOperator: '/LowerRelop1' */ - rtb_LogicalOperator_fc = (rtb_rate > rtb_y_nm); - - /* MATLAB Function: '/R_tg_min' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/R_tg_min' incorporates: + * Gain: '/Gain2' */ - R_tg_min(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, &rtb_y_pfc); + R_tg_min(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, &rtb_Merge1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_LogicalOperator_fc) { - rtb_rate = rtb_y_nm; - } else if (rtb_rate < rtb_y_pfc) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_pfc; + if (rtb_FLU_tg_correct_o > rtb_y_cy) { + rtb_FLU_tg_correct_o = rtb_y_cy; + } else if (rtb_FLU_tg_correct_o < rtb_Merge1) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_o = rtb_Merge1; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: + /* DataTypeConversion: '/Data Type Conversion' incorporates: * DataStoreWrite: '/Data Store Write4' - * Switch: '/Switch2' + * Switch: '/Switch2' */ - g_assEVA_TG_AMB_F_n = (int16_t)floor(rtb_rate); + g_assEVA_TG_AMB_F_n = (int16_t)floor(rtb_FLU_tg_correct_o); - /* MATLAB Function: '/R_tg_max' */ - R_tg_max(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, &rtb_y_k5); + /* MATLAB Function: '/R_tg_max' */ + R_tg_max(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, &rtb_y_ac); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation2_a, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation2_a, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 RR_tg' */ + /* MATLAB Function: '/2.3 RR_tg' */ /* : RL_tg = [g_assTG_RR_LV0; g_assTG_RR_LV1; g_assTG_RR_LV2; g_assTG_RR_LV3; g_assTG_RR_LV4; g_assTG_RR_LV5]; */ for (i_0 = 0; i_0 < 13; i_0++) { FLU_tg[6 * i_0] = g_assTG_RR_LV0[i_0]; @@ -11480,7 +11705,7 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(RL_tg)) */ - if (rtb_LogicalOperator_fc && (g_assEVA_TG_AMB_R_h - 15 <= 13)) { + if (rtb_is_ending_with_5 && (g_assEVA_TG_AMB_R_h - 15 <= 13)) { /* : y = (RL_tg(LVL + 1, SET - 16) + RL_tg(LVL + 1, SET - 16 + 1)) / 2; */ i_0 = FLU_tg[(g_assEVA_TG_AMB_R_h - 17) * 6 + Comp_Max_RPM_Allowed] + FLU_tg[(g_assEVA_TG_AMB_R_h - 16) * 6 + Comp_Max_RPM_Allowed]; @@ -11490,92 +11715,92 @@ void HVAC_model_step(void) i_0 = -32768; } - rtb_y_jq = (int16_t)rt_roundd((double)i_0 / 2.0); + rtb_y_j5 = (int16_t)rt_roundd((double)i_0 / 2.0); } else { /* : else */ /* : y = RL_tg(LVL + 1, SET - 16); */ - rtb_y_jq = FLU_tg[(g_assEVA_TG_AMB_R_h - 17) * 6 + Comp_Max_RPM_Allowed]; + rtb_y_j5 = FLU_tg[(g_assEVA_TG_AMB_R_h - 17) * 6 + Comp_Max_RPM_Allowed]; } - /* End of MATLAB Function: '/2.3 RR_tg' */ + /* End of MATLAB Function: '/2.3 RR_tg' */ - /* MATLAB Function: '/2.1 Incar target' */ + /* MATLAB Function: '/2.1 Incar target' */ u1Incartarget_p(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, - rtb_LogicalOperator_fc, &rtb_y_nm); + rtb_is_ending_with_5, &rtb_y_cy); - /* MATLAB Function: '/Y1-Y4 для R_tg_incar' */ - Y1Y4R_tg_incar(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_izu); + /* MATLAB Function: '/Y1-Y4 для R_tg_incar' */ + Y1Y4R_tg_incar(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для R_tg_incar' */ - X1X4R_tg_incar(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_gk); + /* MATLAB Function: '/X1-X4 для R_tg_incar' */ + X1X4R_tg_incar(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_hf); - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read24' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_Add1_f = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_nm - rtDW.Incar_RR), - rtb_y_gk, rtb_y_izu, 4U); + rtb_Merge_ja = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_cy - rtDW.Incar_RR), + rtb_y_hf, rtb_y_ie, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(Comp_Max_RPM_Allowed, &rtb_y_nm); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(Comp_Max_RPM_Allowed, &rtb_y_cy); - /* MATLAB Function: '/Y1-Y4 для R_tg_amb' */ - Y1Y4R_tg_amb(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ao); + /* MATLAB Function: '/Y1-Y4 для R_tg_amb' */ + Y1Y4R_tg_amb(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для R_tg_amb' */ - X1X4R_tg_amb(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_gu); + /* MATLAB Function: '/X1-X4 для R_tg_amb' */ + X1X4R_tg_amb(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_pfc = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_nm - rtDW.AMB), - rtb_y_gu, rtb_y_ao, 2U); + rtb_Merge1 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_cy - rtDW.AMB), + rtb_y_deg, rtb_y_ojk, 2U); - /* MATLAB Function: '/Y1-Y4 для R_tg_sun' */ - Y1Y4R_tg_sun(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ao); + /* MATLAB Function: '/Y1-Y4 для R_tg_sun' */ + Y1Y4R_tg_sun(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для R_tg_sun' */ - X1X4R_tg_sun(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_gu); + /* MATLAB Function: '/X1-X4 для R_tg_sun' */ + X1X4R_tg_sun(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_Product_n = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_gu, rtb_y_ao, 2U); + rtb_FLU_tg_correct_n = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_deg, + rtb_y_ojk, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate = (double)((rtb_y_jq + rtb_Add1_f) + rtb_y_pfc) + rtb_Product_n; + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_o = (double)((rtb_y_j5 + rtb_Merge_ja) + rtb_Merge1) + + rtb_FLU_tg_correct_n; - /* RelationalOperator: '/LowerRelop1' */ - rtb_LogicalOperator_fc = (rtb_rate > rtb_y_k5); + /* MATLAB Function: '/R_tg_min' */ + R_tg_min(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, &rtb_y_cy); - /* MATLAB Function: '/R_tg_min' */ - R_tg_min(g_assEVA_TG_AMB_R_h, Comp_Max_RPM_Allowed, &rtb_y_nm); - - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_LogicalOperator_fc) { - rtb_rate = rtb_y_k5; - } else if (rtb_rate < rtb_y_nm) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_nm; + if (rtb_FLU_tg_correct_o > rtb_y_ac) { + rtb_FLU_tg_correct_o = rtb_y_ac; + } else if (rtb_FLU_tg_correct_o < rtb_y_cy) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_o = rtb_y_cy; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: + /* DataTypeConversion: '/Data Type Conversion' incorporates: * DataStoreWrite: '/Data Store Write5' - * Switch: '/Switch2' + * Switch: '/Switch2' */ - g_assEVA_TG_AMB_R_h = (int16_t)floor(rtb_rate); + g_assEVA_TG_AMB_R_h = (int16_t)floor(rtb_FLU_tg_correct_o); - /* MATLAB Function: '/FLL_tg_max' */ - FLL_tg_max(rtb_u0101_a, Comp_Max_RPM_Allowed, &rtb_y_nm); + /* MATLAB Function: '/FLL_tg_max' */ + FLL_tg_max(rtb_u0101_a, Comp_Max_RPM_Allowed, &rtb_y_cy); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 FLL_tg' */ + /* MATLAB Function: '/2.3 FLL_tg' */ /* : FLU_tg = [g_assTG_FLL_LV0; g_assTG_FLL_LV1; g_assTG_FLL_LV2; g_assTG_FLL_LV3; g_assTG_FLL_LV4; g_assTG_FLL_LV5]; */ for (i_0 = 0; i_0 < 13; i_0++) { FLU_tg[6 * i_0] = g_assTG_FLL_LV0[i_0]; @@ -11587,7 +11812,7 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ - if (rtb_LogicalOperator_fc && (rtb_u0101_a - 15 <= 13)) { + if (rtb_is_ending_with_5 && (rtb_u0101_a - 15 <= 13)) { /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ i_0 = FLU_tg[(rtb_u0101_a - 17) * 6 + Comp_Max_RPM_Allowed] + FLU_tg [(rtb_u0101_a - 16) * 6 + Comp_Max_RPM_Allowed]; @@ -11597,23 +11822,23 @@ void HVAC_model_step(void) i_0 = -32768; } - rtb_y_k5 = (int16_t)rt_roundd((double)i_0 / 2.0); + rtb_y_ac = (int16_t)rt_roundd((double)i_0 / 2.0); } else { /* : else */ /* : y = FLU_tg(LVL + 1, SET - 16); */ - rtb_y_k5 = FLU_tg[(rtb_u0101_a - 17) * 6 + Comp_Max_RPM_Allowed]; + rtb_y_ac = FLU_tg[(rtb_u0101_a - 17) * 6 + Comp_Max_RPM_Allowed]; } - /* End of MATLAB Function: '/2.3 FLL_tg' */ + /* End of MATLAB Function: '/2.3 FLL_tg' */ - /* MATLAB Function: '/2.1 Incar target' */ - u1Incartarget(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_LogicalOperator_fc, - &rtb_y_pfc); + /* MATLAB Function: '/2.1 Incar target' */ + u1Incartarget(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_is_ending_with_5, + &rtb_Merge1); - /* MATLAB Function: '/Y1-Y4 для FLL_tg_incar' */ - Y1Y4FLL_tg_incar(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_izu); + /* MATLAB Function: '/Y1-Y4 для FLL_tg_incar' */ + Y1Y4FLL_tg_incar(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для FLL_tg_incar' */ + /* MATLAB Function: '/X1-X4 для FLL_tg_incar' */ /* : all_lvl_x1 = [g_assDTG_FL_INC_X1_LV0; g_assDTG_FL_INC_X1_LV1; g_assDTG_FL_INC_X1_LV2; g_assDTG_FL_INC_X1_LV3; g_assDTG_FL_INC_X1_LV4; g_assDTG_FL_INC_X1_LV5]; */ /* : all_lvl_x2 = [g_assDTG_FL_INC_X2_LV0; g_assDTG_FL_INC_X2_LV1; g_assDTG_FL_INC_X2_LV2; g_assDTG_FL_INC_X2_LV3; g_assDTG_FL_INC_X2_LV4; g_assDTG_FL_INC_X2_LV5]; */ /* : all_lvl_x3 = [g_assDTG_FL_INC_X3_LV0; g_assDTG_FL_INC_X3_LV1; g_assDTG_FL_INC_X3_LV2; g_assDTG_FL_INC_X3_LV3; g_assDTG_FL_INC_X3_LV4; g_assDTG_FL_INC_X3_LV5]; */ @@ -11651,91 +11876,76 @@ void HVAC_model_step(void) tmp_2[rtb_y_cc_tmp] = g_assDTG_FL_INC_X4_LV5[i_0]; } - rtb_y_gk[0] = tmp[i]; - rtb_y_gk[1] = tmp_0[i]; - rtb_y_gk[2] = 0; - rtb_y_gk[3] = tmp_1[i]; - rtb_y_gk[4] = tmp_2[i]; + rtb_y_hf[0] = tmp[i]; + rtb_y_hf[1] = tmp_0[i]; + rtb_y_hf[2] = 0; + rtb_y_hf[3] = tmp_1[i]; + rtb_y_hf[4] = tmp_2[i]; /* : fprintf('y = [%d, %d, %d, %d, %d]\n', y(1), y(2), y(3), y(4), y(5)); */ - printf("y = [%d, %d, %d, %d, %d]\n", rtb_y_gk[0], rtb_y_gk[1], 0, rtb_y_gk[3], - rtb_y_gk[4]); + printf("y = [%d, %d, %d, %d, %d]\n", rtb_y_hf[0], rtb_y_hf[1], 0, rtb_y_hf[3], + rtb_y_hf[4]); fflush(stdout); - /* MATLAB Function: '/убираем одинаковые точки' */ - u_n(rtb_y_gk, &rtb_Saturation_m[0]); + /* MATLAB Function: '/убираем одинаковые точки' */ + u(rtb_y_hf, &rtb_Saturation_m[0]); - /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: * DataStoreRead: '/Data Store Read21' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_Add1_f = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_pfc - - rtDW.Incar_FL), &rtb_Saturation_m[0], rtb_y_izu, 4U); + rtb_Merge_ja = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_Merge1 - + rtDW.Incar_FL), &rtb_Saturation_m[0], rtb_y_ie, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(Comp_Max_RPM_Allowed, &rtb_y_pfc); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(Comp_Max_RPM_Allowed, &rtb_Merge1); - /* MATLAB Function: '/Y1-Y4 для FLL_tg_amb' */ - Y1Y4FLL_tg_amb(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ao); + /* MATLAB Function: '/Y1-Y4 для FLL_tg_amb' */ + Y1Y4FLL_tg_amb(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ - X1X4FLL_tg_amb(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_gu); + /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ + X1X4FLL_tg_amb(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_pfc = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_pfc - rtDW.AMB), - rtb_y_gu, rtb_y_ao, 2U); + rtb_Merge1 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Merge1 - rtDW.AMB), + rtb_y_deg, rtb_y_ojk, 2U); - /* MATLAB Function: '/Y1-Y4 для FLL_tg_sun' */ - Y1Y4FLL_tg_sun(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ao); + /* MATLAB Function: '/Y1-Y4 для FLL_tg_sun' */ + Y1Y4FLL_tg_sun(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для FLU_tg_sun' */ - X1X4FLU_tg_sun(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_gu); + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' */ + X1X4FLU_tg_sun(rtb_u0101_a, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_Product_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_gu, rtb_y_ao, 2U); + rtb_FLU_tg_correct_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_deg, + rtb_y_ojk, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_Product_n += (double)((rtb_y_k5 + rtb_Add1_f) + rtb_y_pfc); + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_n += (double)((rtb_y_ac + rtb_Merge_ja) + rtb_Merge1); - /* RelationalOperator: '/LowerRelop1' */ - rtb_LogicalOperator_fc = (rtb_Product_n > rtb_y_nm); + /* MATLAB Function: '/FLL_tg_min' */ + FLL_tg_min(rtb_u0101_a, Comp_Max_RPM_Allowed, &rtb_Merge1); - /* MATLAB Function: '/FLL_tg_min' */ - FLL_tg_min(rtb_u0101_a, Comp_Max_RPM_Allowed, &rtb_y_pfc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain, &rtb_is_ending_with_5); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' - */ - if (rtb_LogicalOperator_fc) { - rtb_Product_n = rtb_y_nm; - } else if (rtb_Product_n < rtb_y_pfc) { - /* Switch: '/Switch' */ - rtb_Product_n = rtb_y_pfc; - } - - /* End of Switch: '/Switch2' */ - - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain, &rtb_LogicalOperator_fc); - - /* MATLAB Function: '/correction rate' */ + /* MATLAB Function: '/correction rate' */ /* : 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(rtb_u0101_a, Comp_Max_RPM_Allowed, &rtb_y_k5); + correctionrate(rtb_u0101_a, Comp_Max_RPM_Allowed, &rtb_y_ac); - /* Sum: '/Subtract' incorporates: + /* Sum: '/Subtract' incorporates: * DataStoreRead: '/Data Store Read25' - * UnitDelay: '/t_start_delay_private ' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_l; + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_l; - /* MATLAB Function: '/correction_start_time' */ + /* MATLAB Function: '/correction_start_time' */ /* : 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)); */ for (i_0 = 0; i_0 < 7; i_0++) { @@ -11747,25 +11957,23 @@ void HVAC_model_step(void) tmp[6 * i_0 + 5] = g_assCORRECT_DUCT_TIME_FL_LV5[i_0]; } - /* RelationalOperator: '/Relational Operator' incorporates: - * Gain: '/из сек в мс' - * MATLAB Function: '/correction_start_time' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Gain: '/из сек в мс' + * Logic: '/ After start control system works X sec' + * MATLAB Function: '/correction_start_time' + * RelationalOperator: '/Relational Operator' + * UnitDelay: '/Unit Delay' */ - rtb_LogicalOperator_fc = ((int64_t)rtb_Subtract >= tmp[i] * 1000); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Logic: '/ After start control system works X sec' - * UnitDelay: '/Unit Delay' - */ - if (rtb_LogicalOperator_fc && (rtDW.UnitDelay_DSTATE_l0 != 0)) { - /* Product: '/Product' incorporates: - * Constant: '/Constant1' - * Product: '/Divide' + if (((int64_t)rtb_dt_ca >= tmp[i] * 1000) && (rtDW.UnitDelay_DSTATE_l0 != 0)) + { + /* Product: '/Product' incorporates: + * Constant: '/Constant1' + * Product: '/Divide' */ - rtb_rate = (double)rtb_Subtract / 10000.0 * (double)rtb_y_k5; + rtb_FLU_tg_correct_o = (double)rtb_dt_ca / 10000.0 * (double)rtb_y_ac; - /* MATLAB Function: '/correction max' */ + /* MATLAB Function: '/correction max' */ for (i_0 = 0; i_0 < 7; i_0++) { tmp[6 * i_0] = g_assCORRECT_DUCT_MAX_LV0[i_0]; tmp[6 * i_0 + 1] = g_assCORRECT_DUCT_MAX_LV1[i_0]; @@ -11775,49 +11983,62 @@ void HVAC_model_step(void) tmp[6 * i_0 + 5] = g_assCORRECT_DUCT_MAX_LV5[i_0]; } - /* Gain: '/из 0.01 в 0.1 градус Цельсия' incorporates: - * MATLAB Function: '/correction max' + /* Gain: '/из 0.01 в 0.1 градус Цельсия' incorporates: + * MATLAB Function: '/correction max' */ i = tmp[i] * 13107; rtb_u0101_a = (int16_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant2' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_rate > rtb_u0101_a) { - rtb_rate = rtb_u0101_a; - } else if (rtb_rate < 0.0) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + if (rtb_FLU_tg_correct_o > rtb_u0101_a) { + rtb_FLU_tg_correct_o = rtb_u0101_a; + } else if (rtb_FLU_tg_correct_o < 0.0) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' */ - rtb_rate = 0.0; + rtb_FLU_tg_correct_o = 0.0; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } else { - rtb_rate = 0.0; + rtb_FLU_tg_correct_o = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write6' - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/Add' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - rtb_u0101_a = (int16_t)floor(rtb_Product_n - floor(rtb_rate)); + if (rtb_FLU_tg_correct_n > rtb_y_cy) { + rtb_FLU_tg_correct_n = rtb_y_cy; + } else if (rtb_FLU_tg_correct_n < rtb_Merge1) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_n = rtb_Merge1; + } - /* MATLAB Function: '/FRL_tg_max' */ - FLL_tg_max(rtb_y_ko4, Comp_Max_RPM_Allowed, &rtb_y_k5); + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write6' + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/Add' + * Switch: '/Switch2' + */ + rtb_u0101_a = (int16_t)floor(rtb_FLU_tg_correct_n - floor(rtb_FLU_tg_correct_o)); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain1, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/FRL_tg_max' */ + FLL_tg_max(rtb_y_pc, Comp_Max_RPM_Allowed, &rtb_y_ac); - /* MATLAB Function: '/2.3 FRL_tg' */ + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain1, &rtb_is_ending_with_5); + + /* MATLAB Function: '/2.3 FRL_tg' */ /* : FLU_tg = [g_assTG_FRL_LV0; g_assTG_FRL_LV1; g_assTG_FRL_LV2; g_assTG_FRL_LV3; g_assTG_FRL_LV4; g_assTG_FRL_LV5]; */ for (i = 0; i < 13; i++) { FLU_tg[6 * i] = g_assTG_FRL_LV0[i]; @@ -11829,33 +12050,32 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ - if (rtb_LogicalOperator_fc && (rtb_y_ko4 - 15 <= 13)) { + if (rtb_is_ending_with_5 && (rtb_y_pc - 15 <= 13)) { /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_ko4 - 17) * 6 + Comp_Max_RPM_Allowed] + FLU_tg[(rtb_y_ko4 - - 16) * 6 + Comp_Max_RPM_Allowed]; + i = FLU_tg[(rtb_y_pc - 17) * 6 + Comp_Max_RPM_Allowed] + FLU_tg[(rtb_y_pc - + 16) * 6 + Comp_Max_RPM_Allowed]; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_y_jq = (int16_t)rt_roundd((double)i / 2.0); + rtb_y_j5 = (int16_t)rt_roundd((double)i / 2.0); } else { /* : else */ /* : y = FLU_tg(LVL + 1, SET - 16); */ - rtb_y_jq = FLU_tg[(rtb_y_ko4 - 17) * 6 + Comp_Max_RPM_Allowed]; + rtb_y_j5 = FLU_tg[(rtb_y_pc - 17) * 6 + Comp_Max_RPM_Allowed]; } - /* End of MATLAB Function: '/2.3 FRL_tg' */ + /* End of MATLAB Function: '/2.3 FRL_tg' */ - /* MATLAB Function: '/2.1 Incar target' */ - u1Incartarget(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_LogicalOperator_fc, - &rtb_y_nm); + /* MATLAB Function: '/2.1 Incar target' */ + u1Incartarget(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_is_ending_with_5, &rtb_y_cy); - /* MATLAB Function: '/Y1-Y4 для FRL_tg_incar' */ - Y1Y4FLL_tg_incar(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_izu); + /* MATLAB Function: '/Y1-Y4 для FRL_tg_incar' */ + Y1Y4FLL_tg_incar(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для FRL_tg_incar' */ + /* MATLAB Function: '/X1-X4 для FRL_tg_incar' */ /* : all_lvl_x1 = [g_assDTG_FL_INC_X1_LV0; g_assDTG_FL_INC_X1_LV1; g_assDTG_FL_INC_X1_LV2; g_assDTG_FL_INC_X1_LV3; g_assDTG_FL_INC_X1_LV4; g_assDTG_FL_INC_X1_LV5]; */ /* : all_lvl_x2 = [g_assDTG_FL_INC_X2_LV0; g_assDTG_FL_INC_X2_LV1; g_assDTG_FL_INC_X2_LV2; g_assDTG_FL_INC_X2_LV3; g_assDTG_FL_INC_X2_LV4; g_assDTG_FL_INC_X2_LV5]; */ /* : all_lvl_x3 = [g_assDTG_FL_INC_X3_LV0; g_assDTG_FL_INC_X3_LV1; g_assDTG_FL_INC_X3_LV2; g_assDTG_FL_INC_X3_LV3; g_assDTG_FL_INC_X3_LV4; g_assDTG_FL_INC_X3_LV5]; */ @@ -11893,86 +12113,85 @@ void HVAC_model_step(void) tmp_2[rtb_Gain2] = g_assDTG_FL_INC_X4_LV5[i]; } - rtb_y_gk[0] = tmp[rtb_Gain3]; - rtb_y_gk[1] = tmp_0[rtb_Gain3]; - rtb_y_gk[2] = 0; - rtb_y_gk[3] = tmp_1[rtb_Gain3]; - rtb_y_gk[4] = tmp_2[rtb_Gain3]; + rtb_y_hf[0] = tmp[rtb_Gain3]; + rtb_y_hf[1] = tmp_0[rtb_Gain3]; + rtb_y_hf[2] = 0; + rtb_y_hf[3] = tmp_1[rtb_Gain3]; + rtb_y_hf[4] = tmp_2[rtb_Gain3]; - /* MATLAB Function: '/убираем одинаковые точки' */ - u_n(rtb_y_gk, &rtb_Saturation_m[0]); + /* MATLAB Function: '/убираем одинаковые точки' */ + u(rtb_y_hf, &rtb_Saturation_m[0]); - /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: * DataStoreRead: '/Data Store Read22' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_Add1_f = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_nm - rtDW.Incar_FR), - &rtb_Saturation_m[0], rtb_y_izu, 4U); + rtb_Merge_ja = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_cy - + rtDW.Incar_FR), &rtb_Saturation_m[0], rtb_y_ie, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(Comp_Max_RPM_Allowed, &rtb_y_nm); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(Comp_Max_RPM_Allowed, &rtb_y_cy); - /* MATLAB Function: '/Y1-Y4 для FRL_tg_amb' */ - Y1Y4FLL_tg_amb(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_ao); + /* MATLAB Function: '/Y1-Y4 для FRL_tg_amb' */ + Y1Y4FLL_tg_amb(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ - X1X4FLL_tg_amb(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_gu); + /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ + X1X4FLL_tg_amb(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_pfc = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_nm - rtDW.AMB), - rtb_y_gu, rtb_y_ao, 2U); + rtb_Merge1 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_cy - rtDW.AMB), + rtb_y_deg, rtb_y_ojk, 2U); - /* MATLAB Function: '/Y1-Y4 для FRL_tg_sun' */ - Y1Y4FLL_tg_sun(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_ao); + /* MATLAB Function: '/Y1-Y4 для FRL_tg_sun' */ + Y1Y4FLL_tg_sun(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для FRL_tg_sun' */ - X1X4FLU_tg_sun(rtb_y_ko4, Comp_Max_RPM_Allowed, rtb_y_gu); + /* MATLAB Function: '/X1-X4 для FRL_tg_sun' */ + X1X4FLU_tg_sun(rtb_y_pc, Comp_Max_RPM_Allowed, rtb_y_deg); - /* Lookup_n-D: '/2.6 FRL_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FRL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_gu, rtb_y_ao, 2U); + rtb_FLU_tg_correct_o = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_deg, + rtb_y_ojk, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate += (double)((rtb_y_jq + rtb_Add1_f) + rtb_y_pfc); + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_o += (double)((rtb_y_j5 + rtb_Merge_ja) + rtb_Merge1); - /* RelationalOperator: '/LowerRelop1' */ - rtb_LogicalOperator_fc = (rtb_rate > rtb_y_k5); + /* MATLAB Function: '/FRL_tg_min' */ + FLL_tg_min(rtb_y_pc, Comp_Max_RPM_Allowed, &rtb_y_cy); - /* MATLAB Function: '/FRL_tg_min' */ - FLL_tg_min(rtb_y_ko4, Comp_Max_RPM_Allowed, &rtb_y_nm); - - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_LogicalOperator_fc) { - rtb_rate = rtb_y_k5; - } else if (rtb_rate < rtb_y_nm) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_nm; + if (rtb_FLU_tg_correct_o > rtb_y_ac) { + rtb_FLU_tg_correct_o = rtb_y_ac; + } else if (rtb_FLU_tg_correct_o < rtb_y_cy) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_o = rtb_y_cy; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain1, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain1, &rtb_is_ending_with_5); - /* MATLAB Function: '/correction rate' */ + /* MATLAB Function: '/correction rate' */ /* : 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(rtb_y_ko4, Comp_Max_RPM_Allowed, &rtb_y_k5); + correctionrate(rtb_y_pc, Comp_Max_RPM_Allowed, &rtb_y_ac); - /* Sum: '/Subtract' incorporates: + /* Sum: '/Subtract' incorporates: * DataStoreRead: '/Data Store Read25' - * UnitDelay: '/t_start_delay_private ' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_gg; + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_gg; - /* MATLAB Function: '/correction_start_time' */ + /* MATLAB Function: '/correction_start_time' */ /* : 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)); */ for (i = 0; i < 7; i++) { @@ -11984,25 +12203,23 @@ void HVAC_model_step(void) tmp[6 * i + 5] = g_assCORRECT_DUCT_TIME_FR_LV5[i]; } - /* RelationalOperator: '/Relational Operator' incorporates: - * Gain: '/из сек в мс' - * MATLAB Function: '/correction_start_time' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Gain: '/из сек в мс' + * Logic: '/ After start control system works X sec' + * MATLAB Function: '/correction_start_time' + * RelationalOperator: '/Relational Operator' + * UnitDelay: '/Unit Delay' */ - rtb_LogicalOperator_fc = ((int64_t)rtb_Subtract >= tmp[rtb_Gain3] * 1000); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Logic: '/ After start control system works X sec' - * UnitDelay: '/Unit Delay' - */ - if (rtb_LogicalOperator_fc && (rtDW.UnitDelay_DSTATE_cc != 0)) { - /* Product: '/Product' incorporates: - * Constant: '/Constant1' - * Product: '/Divide' + if (((int64_t)rtb_dt_ca >= tmp[rtb_Gain3] * 1000) && (rtDW.UnitDelay_DSTATE_c + != 0)) { + /* Product: '/Product' incorporates: + * Constant: '/Constant1' + * Product: '/Divide' */ - rtb_Product_n = (double)rtb_Subtract / 10000.0 * (double)rtb_y_k5; + rtb_FLU_tg_correct_n = (double)rtb_dt_ca / 10000.0 * (double)rtb_y_ac; - /* MATLAB Function: '/correction max' */ + /* MATLAB Function: '/correction max' */ for (i = 0; i < 7; i++) { tmp[6 * i] = g_assCORRECT_DUCT_MAX_LV0[i]; tmp[6 * i + 1] = g_assCORRECT_DUCT_MAX_LV1[i]; @@ -12012,161 +12229,162 @@ void HVAC_model_step(void) tmp[6 * i + 5] = g_assCORRECT_DUCT_MAX_LV5[i]; } - /* Gain: '/из 0.01 в 0.1 градус Цельсия' incorporates: - * MATLAB Function: '/correction max' + /* Gain: '/из 0.01 в 0.1 градус Цельсия' incorporates: + * MATLAB Function: '/correction max' */ i = tmp[rtb_Gain3] * 13107; - rtb_Add1_f = (int16_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & + rtb_Merge_ja = (int16_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant2' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_Product_n > rtb_Add1_f) { - rtb_Product_n = rtb_Add1_f; - } else if (rtb_Product_n < 0.0) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + if (rtb_FLU_tg_correct_n > rtb_Merge_ja) { + rtb_FLU_tg_correct_n = rtb_Merge_ja; + } else if (rtb_FLU_tg_correct_n < 0.0) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' */ - rtb_Product_n = 0.0; + rtb_FLU_tg_correct_n = 0.0; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } else { - rtb_Product_n = 0.0; + rtb_FLU_tg_correct_n = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: + /* DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreWrite: '/Data Store Write7' - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/Add1' + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/Add1' */ - rtb_Add1_f = (int16_t)floor(rtb_rate - floor(rtb_Product_n)); + rtb_Merge_ja = (int16_t)floor(rtb_FLU_tg_correct_o - floor + (rtb_FLU_tg_correct_n)); - /* 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: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforBiLevel(rtDW.CCU_BLOWERS_FL, &Gain); - /* MATLAB Function: '/AF for Def' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Def' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforDef(rtDW.CCU_BLOWERS_FL, &Gain1); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforFoorDef(rtDW.CCU_BLOWERS_FL, &rtb_Saturation2_a); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataStoreRead: '/Data Store Read11' */ - AFforFoot(rtDW.CCU_BLOWERS_FL, &rtb_out_kpg); + AFforFoot(rtDW.CCU_BLOWERS_FL, &rtb_out_d1m); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataStoreRead: '/Data Store Read11' */ - AFforHi_Level(rtDW.CCU_BLOWERS_FL, &rtb_out_bk); + AFforHi_Level(rtDW.CCU_BLOWERS_FL, &rtb_out_hvi); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforTriLevel(rtDW.CCU_BLOWERS_FL, &rtB.MultiportSwitch_o2); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforVentmode(rtDW.CCU_BLOWERS_FL, &rtb_out_gr); - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read9' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read9' */ - rtb_LogicalOperator_fc = (rtDW.CCU_FOOT_FL == 1); + rtb_is_ending_with_5 = (rtDW.CCU_FOOT_FL == 1); - /* DataTypeConversion: '/Data Type Conversion5' */ - rtb_DataTypeConversion2_bb = rtb_LogicalOperator_fc; + /* DataTypeConversion: '/Data Type Conversion5' */ + rtb_DataTypeConversion2_bb = rtb_is_ending_with_5; - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read8' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + (uint32_t) - (rtDW.CCU_DEF_FL == 1)) + (uint32_t) - (rtb_LogicalOperator_fc << 2))) { + (rtDW.CCU_DEF_FL == 1)) + (uint32_t)(rtb_is_ending_with_5 + << 2))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' */ rtB.MultiportSwitch_o2 = 0U; break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_o2 = Gain1; break; case 2: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_o2 = rtb_out_gr; break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_o2 = rtb_out_bk; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_o2 = rtb_out_hvi; break; case 4: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_o2 = rtb_out_kpg; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_o2 = rtb_out_d1m; break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_o2 = rtb_Saturation2_a; break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_o2 = Gain; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal2' */ - /* End of Outputs for SubSystem: '/Front Left AF - manual directions' */ + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Front Left AF - manual directions' */ - /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion1' + /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion1' */ - funcg_ascAUTO_STEP_AF_F((int8_t)rtDW.CCU_AUTOMODE_FL, &rtb_y_hzc); + funcg_ascAUTO_STEP_AF_F((int8_t)rtDW.CCU_AUTOMODE_FL, &rtb_y_b2); - /* Saturate: '/Saturation5' incorporates: - * DataStoreRead: '/Data Store Read30' + /* Saturate: '/Saturation5' incorporates: + * DataStoreRead: '/Data Store Read30' */ if (rtDW.CCU_SET_FL > 290) { Gain = 290U; @@ -12176,37 +12394,36 @@ void HVAC_model_step(void) Gain = rtDW.CCU_SET_FL; } - /* End of Saturate: '/Saturation5' */ + /* End of Saturate: '/Saturation5' */ - /* Gain: '/Gain2' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain2' + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' */ - rtb_Subtract = 52429U * Gain; - rtb_y_pfc = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + - (rtb_Subtract >> 19)); + rtb_dt_ca = 52429U * Gain; + rtb_Merge1 = (int16_t)((uint32_t)((rtb_dt_ca & 262144U) != 0U) + (rtb_dt_ca >> + 19)); - /* Saturate: '/Saturation9' incorporates: - * DataStoreRead: '/Data Store Read42' + /* Saturate: '/Saturation9' incorporates: + * DataStoreRead: '/Data Store Read42' */ if (rtDW.LEVEL <= 5) { - rtb_Merge_e = rtDW.LEVEL; + rtb_Saturation9 = rtDW.LEVEL; } else { - rtb_Merge_e = 5U; + rtb_Saturation9 = 5U; } - /* End of Saturate: '/Saturation9' */ + /* End of Saturate: '/Saturation9' */ - /* MATLAB Function: '/Vtg_FX_plus_max' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Vtg_FX_plus_max' incorporates: + * Gain: '/Gain2' */ - Vtg_FX_plus_max(rtb_y_pfc, rtb_Merge_e, &rtb_y_ko4); + Vtg_FX_plus_max(rtb_Merge1, rtb_Saturation9, &rtb_y_pc); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 Vtg_FLU' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.3 Vtg_FLU' incorporates: + * Gain: '/Gain2' */ /* : Vtg_FLU = [g_assVTG_FL_LV0; g_assVTG_FL_LV1; g_assVTG_FL_LV2; g_assVTG_FL_LV3; g_assVTG_FL_LV4; g_assVTG_FL_LV5]; */ for (i = 0; i < 13; i++) { @@ -12219,54 +12436,51 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_FLU)) */ - if (rtb_LogicalOperator_fc && (rtb_y_pfc - 15 <= 13)) { + if (rtb_is_ending_with_5 && (rtb_Merge1 - 15 <= 13)) { /* : y = (Vtg_FLU(LVL + 1, SET - 16) + Vtg_FLU(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_pfc - 17) * 6 + rtb_Merge_e] + FLU_tg[(rtb_y_pfc - 16) * 6 - + rtb_Merge_e]; + i = FLU_tg[(rtb_Merge1 - 17) * 6 + rtb_Saturation9] + FLU_tg[(rtb_Merge1 - + 16) * 6 + rtb_Saturation9]; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_y_k5 = (int16_t)rt_roundd((double)i / 2.0); + rtb_y_cy = (int16_t)rt_roundd((double)i / 2.0); } else { /* : else */ /* : y = Vtg_FLU(LVL + 1, SET - 16); */ - rtb_y_k5 = FLU_tg[(rtb_y_pfc - 17) * 6 + rtb_Merge_e]; + rtb_y_cy = FLU_tg[(rtb_Merge1 - 17) * 6 + rtb_Saturation9]; } - /* End of MATLAB Function: '/2.3 Vtg_FLU' */ + /* End of MATLAB Function: '/2.3 Vtg_FLU' */ - /* MATLAB Function: '/2.1 Incar target Left' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.1 Incar target Left' incorporates: + * Gain: '/Gain2' */ - u1Incartarget(rtb_y_pfc, rtb_Merge_e, rtb_LogicalOperator_fc, &rtb_y_jq); + u1Incartarget(rtb_Merge1, rtb_Saturation9, rtb_is_ending_with_5, &rtb_y_j5); - /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' incorporates: + * Gain: '/Gain2' */ - Y1Y4Vtg_FX_incar(rtb_y_pfc, rtb_Merge_e, rtb_y_gk); + Y1Y4Vtg_FX_incar(rtb_Merge1, rtb_Saturation9, rtb_y_hf); - /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' incorporates: + * Gain: '/Gain2' */ - X1X4Vtg_FX_incar(rtb_y_pfc, rtb_Merge_e, rtb_y_izu); + X1X4Vtg_FX_incar(rtb_Merge1, rtb_Saturation9, rtb_y_ie); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_e, &rtb_y_el); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Saturation9, &rtb_y_d2); - /* MATLAB Function: '/Y1-Y2 для Vtg_FL_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y2 для Vtg_FL_amb' incorporates: + * Gain: '/Gain2' */ - Y1Y2Vtg_FL_amb(rtb_y_pfc, rtb_Merge_e, rtb_y_ao); + Y1Y2Vtg_FL_amb(rtb_Merge1, rtb_Saturation9, rtb_y_ojk); - /* MATLAB Function: '/X1-X2 для Vtg_FL_amb' incorporates: - * Gain: '/Gain2' - * MATLAB Function: '/correction max' - * MATLAB Function: '/correction rate' - * MATLAB Function: '/correction_start_time' - * MATLAB Function: '/X1-X2 для Vtg_RL_amb' + /* MATLAB Function: '/X1-X2 для Vtg_FL_amb' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/X1-X2 для Vtg_RL_amb' */ /* : all_lvl_x1 = [g_assVF_AMB_X1_LV0; g_assVF_AMB_X1_LV1; g_assVF_AMB_X1_LV2; g_assVF_AMB_X1_LV3; g_assVF_AMB_X1_LV4; g_assVF_AMB_X1_LV5]; */ /* : all_lvl_x2 = [g_assVF_AMB_X2_LV0; g_assVF_AMB_X2_LV1; g_assVF_AMB_X2_LV2; g_assVF_AMB_X2_LV3; g_assVF_AMB_X2_LV4; g_assVF_AMB_X2_LV5]; */ @@ -12291,308 +12505,210 @@ void HVAC_model_step(void) tmp_0[rtb_Gain2] = g_assVF_AMB_X2_LV5[i]; } - rtb_Gain3 = ((int32_t)trunc((((double)rtb_y_pfc - 16.0) + 1.0) / 2.0) - 1) * 6 - + rtb_Merge_e; - rtb_y_nq[0] = tmp[rtb_Gain3]; - rtb_y_nq[1] = 0; - rtb_y_nq[2] = tmp_0[rtb_Gain3]; + rtb_Gain3 = ((int32_t)trunc((((double)rtb_Merge1 - 16.0) + 1.0) / 2.0) - 1) * + 6 + rtb_Saturation9; + rtb_y_lqe[0] = tmp[rtb_Gain3]; + rtb_y_lqe[1] = 0; + rtb_y_lqe[2] = tmp_0[rtb_Gain3]; - /* End of MATLAB Function: '/X1-X2 для Vtg_FL_amb' */ + /* End of MATLAB Function: '/X1-X2 для Vtg_FL_amb' */ - /* MATLAB Function: '/Y1-Y2 для Vtg_FX_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y2 для Vtg_FX_sun' incorporates: + * Gain: '/Gain2' */ - Y1Y2Vtg_FX_sun(rtb_y_pfc, rtb_Merge_e, rtb_y_oz); + Y1Y2Vtg_FX_sun(rtb_Merge1, rtb_Saturation9, rtb_y_ah); - /* MATLAB Function: '/X1-X2 для Vtg_FX_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X2 для Vtg_FX_sun' incorporates: + * Gain: '/Gain2' */ - X1X2Vtg_FX_sun(rtb_y_pfc, rtb_Merge_e, rtb_y_gu); + X1X2Vtg_FX_sun(rtb_Merge1, rtb_Saturation9, rtb_y_deg); - /* MATLAB Function: '/Vtg_FX_plus_min' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Vtg_FX_plus_min' incorporates: + * Gain: '/Gain2' */ - Vtg_FX_plus_min(rtb_y_pfc, rtb_Merge_e, &rtb_y_nm); + Vtg_FX_plus_min(rtb_Merge1, rtb_Saturation9, &rtb_y_ac); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain, &rtb_LogicalOperator_fc); - - /* Switch: '/Switch' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' * DataStoreWrite: '/Data Store Write19' - * DataTypeConversion: '/Data Type Conversion3' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain' - * Product: '/Product' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + * DataTypeConversion: '/Data Type Conversion3' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain' + * Product: '/Product' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ - /* : 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) */ - /* : 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)); */ if (rtDW.CCU_MODE_FL == 0) { Comp_Max_RPM_Allowed = (uint8_t)rtB.MultiportSwitch_o2; } else { - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read39' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read39' */ - rtb_Product_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_gu, rtb_y_oz, 2U); + rtb_FLU_tg_correct_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_deg, + rtb_y_ah, 2U); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read34' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read34' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_el = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_el - rtDW.AMB), - rtb_y_nq, rtb_y_ao, 2U); + rtb_y_d2 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_d2 - rtDW.AMB), + rtb_y_lqe, rtb_y_ojk, 2U); - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read35' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read35' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' */ - rtb_y_jq = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_jq - rtDW.Incar_FL), - rtb_y_izu, rtb_y_gk, 4U); + rtb_y_j5 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_j5 - rtDW.Incar_FL), + rtb_y_ie, rtb_y_hf, 4U); - /* Sum: '/2.8. Vtg_FX_plus' */ - rtb_rate = (double)((rtb_y_k5 + rtb_y_jq) + rtb_y_el) + rtb_Product_n; + /* Sum: '/2.8. Vtg_FX_plus' */ + rtb_FLU_tg_correct_n += (double)((rtb_y_cy + rtb_y_j5) + rtb_y_d2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read40' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_a; - - /* MATLAB Function: '/correction_start_time' */ - for (i = 0; i < 7; i++) { - tmp[6 * i] = g_assCORRECT_AF_TIME_FL_LV0[i]; - tmp[6 * i + 1] = g_assCORRECT_AF_TIME_FL_LV1[i]; - tmp[6 * i + 2] = g_assCORRECT_AF_TIME_FL_LV2[i]; - tmp[6 * i + 3] = g_assCORRECT_AF_TIME_FL_LV3[i]; - tmp[6 * i + 4] = g_assCORRECT_AF_TIME_FL_LV4[i]; - tmp[6 * i + 5] = g_assCORRECT_AF_TIME_FL_LV5[i]; + if (rtb_FLU_tg_correct_n > rtb_y_pc) { + rtb_FLU_tg_correct_n = rtb_y_pc; + } else if (rtb_FLU_tg_correct_n < rtb_y_ac) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_n = rtb_y_ac; } - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Gain: '/из сек в мс' - * Logic: '/ After start control system works X sec' - * MATLAB Function: '/correction_start_time' - * RelationalOperator: '/Relational Operator' - * UnitDelay: '/Unit Delay' - */ - if (((int64_t)rtb_Subtract >= tmp[rtb_Gain3] * 1000) && - (rtDW.UnitDelay_DSTATE_cd != 0)) { - /* MATLAB Function: '/correction rate' */ - 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]; - } + /* End of Switch: '/Switch2' */ - /* Product: '/Product' incorporates: - * Constant: '/Constant1' - * MATLAB Function: '/correction rate' - * Product: '/Divide' - */ - rtb_Product_n = (double)rtb_Subtract / 10000.0 * (double)tmp[rtb_Gain3]; - - /* MATLAB Function: '/correction max' */ - for (i = 0; i < 7; i++) { - tmp[6 * i] = g_assCORRECT_AF_MAX_LV0[i]; - tmp[6 * i + 1] = g_assCORRECT_AF_MAX_LV1[i]; - tmp[6 * i + 2] = g_assCORRECT_AF_MAX_LV2[i]; - tmp[6 * i + 3] = g_assCORRECT_AF_MAX_LV3[i]; - tmp[6 * i + 4] = g_assCORRECT_AF_MAX_LV4[i]; - tmp[6 * i + 5] = g_assCORRECT_AF_MAX_LV5[i]; - } - - /* Gain: '/из 0.01 в 0.1 градус Цельсия' incorporates: - * MATLAB Function: '/correction max' - */ - i = tmp[rtb_Gain3] * 13107; - rtb_y_k5 = (int16_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & - 65535U) != 0U) || (i > 0))) + (i >> 17)); - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' - */ - if (rtb_Product_n > rtb_y_k5) { - rtb_Product_n = rtb_y_k5; - } else if (rtb_Product_n < 0.0) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - */ - rtb_Product_n = 0.0; - } - - /* End of Switch: '/Switch2' */ - } else { - rtb_Product_n = 0.0; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' - */ - if (rtb_rate > rtb_y_ko4) { - rtb_rate = rtb_y_ko4; - } else if (rtb_rate < rtb_y_nm) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_nm; - } - - /* Sum: '/Add' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch2' - */ - rtb_Product_n = rtb_rate - floor(rtb_Product_n); - - /* DataTypeConversion: '/Data Type Conversion3' */ - rtb_rate = fabs(rtb_Product_n); - if (rtb_rate < 4.503599627370496E+15) { - if (rtb_rate >= 0.5) { - rtb_Product_n = floor(rtb_Product_n + 0.5); + /* DataTypeConversion: '/Data Type Conversion3' */ + rtb_FLU_tg_correct_o = fabs(rtb_FLU_tg_correct_n); + if (rtb_FLU_tg_correct_o < 4.503599627370496E+15) { + if (rtb_FLU_tg_correct_o >= 0.5) { + rtb_FLU_tg_correct_n = floor(rtb_FLU_tg_correct_n + 0.5); } else { - rtb_Product_n = 0.0; + rtb_FLU_tg_correct_n = 0.0; } } - Comp_Max_RPM_Allowed = (uint8_t)(0.01 * (double)rtb_y_hzc * (double)(uint8_t) - rtb_Product_n + (double)(uint8_t)rtb_Product_n); + Comp_Max_RPM_Allowed = (uint8_t)(0.01 * (double)rtb_y_b2 * (double)(uint8_t) + rtb_FLU_tg_correct_n + (double)(uint8_t)rtb_FLU_tg_correct_n); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Outputs for Enabled SubSystem: '/Front Right AF - manual directions' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Front Right AF - manual directions' incorporates: + * EnablePort: '/Enable' */ - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read45' + /* RelationalOperator: '/Equal3' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read45' */ if (rtDW.CCU_MODE_FR == 0) { - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataStoreRead: '/Data Store Read7' */ AFforBiLevel(rtDW.CCU_BLOWERS_FR, &Gain1); - /* MATLAB Function: '/AF for Def' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Def' incorporates: + * DataStoreRead: '/Data Store Read7' */ AFforDef(rtDW.CCU_BLOWERS_FR, &rtb_Saturation2_a); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforFoorDef(rtDW.CCU_BLOWERS_FR, &rtb_out_kpg); + AFforFoorDef(rtDW.CCU_BLOWERS_FR, &rtb_out_d1m); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforFoot(rtDW.CCU_BLOWERS_FR, &rtb_out_bk); + AFforFoot(rtDW.CCU_BLOWERS_FR, &rtb_out_hvi); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataStoreRead: '/Data Store Read7' */ AFforHi_Level(rtDW.CCU_BLOWERS_FR, &rtb_out_gr); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataStoreRead: '/Data Store Read7' */ AFforTriLevel(rtDW.CCU_BLOWERS_FR, &rtB.MultiportSwitch_a); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataStoreRead: '/Data Store Read7' */ AFforVentmode(rtDW.CCU_BLOWERS_FR, &rtb_out_ni); - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read14' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read14' */ - rtb_LogicalOperator_fc = (rtDW.CCU_FOOT_FR == 1); + rtb_is_ending_with_5 = (rtDW.CCU_FOOT_FR == 1); - /* DataTypeConversion: '/Data Type Conversion5' */ - rtb_DataTypeConversion2_bb = rtb_LogicalOperator_fc; + /* DataTypeConversion: '/Data Type Conversion5' */ + rtb_DataTypeConversion2_bb = rtb_is_ending_with_5; - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FR == 1) << 1) + (uint32_t) - (rtDW.CCU_DEF_FR == 1)) + (uint32_t) - (rtb_LogicalOperator_fc << 2))) { + (rtDW.CCU_DEF_FR == 1)) + (uint32_t)(rtb_is_ending_with_5 + << 2))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' */ rtB.MultiportSwitch_a = 0U; break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_a = rtb_Saturation2_a; break; case 2: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_a = rtb_out_ni; break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_a = rtb_out_gr; break; case 4: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_bk; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_hvi; break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_kpg; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_d1m; break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_a = Gain1; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal3' */ - /* End of Outputs for SubSystem: '/Front Right AF - manual directions' */ + /* End of RelationalOperator: '/Equal3' */ + /* End of Outputs for SubSystem: '/Front Right AF - manual directions' */ - /* Saturate: '/Saturation6' incorporates: - * DataStoreRead: '/Data Store Read31' + /* Saturate: '/Saturation6' incorporates: + * DataStoreRead: '/Data Store Read31' */ /* : y = g_ascAUTO_STEP_AF_F(AF_STEP); */ if (rtDW.CCU_SET_FR > 290) { @@ -12603,26 +12719,25 @@ void HVAC_model_step(void) Gain1 = rtDW.CCU_SET_FR; } - /* End of Saturate: '/Saturation6' */ + /* End of Saturate: '/Saturation6' */ - /* Gain: '/Gain2' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain2' + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' */ - rtb_Subtract = 52429U * Gain1; - rtb_y_ko4 = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + - (rtb_Subtract >> 19)); + rtb_dt_ca = 52429U * Gain1; + rtb_y_pc = (int16_t)((uint32_t)((rtb_dt_ca & 262144U) != 0U) + (rtb_dt_ca >> + 19)); - /* MATLAB Function: '/Vtg_FX_plus_max' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Vtg_FX_plus_max' incorporates: + * Gain: '/Gain2' */ - Vtg_FX_plus_max(rtb_y_ko4, rtb_Merge_e, &rtb_y_nm); + Vtg_FX_plus_max(rtb_y_pc, rtb_Saturation9, &rtb_y_cy); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain1, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain1, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 Vtg_FRU' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.3 Vtg_FRU' incorporates: + * Gain: '/Gain2' */ /* : Vtg_FLU = [g_assVTG_FR_LV0; g_assVTG_FR_LV1; g_assVTG_FR_LV2; g_assVTG_FR_LV3; g_assVTG_FR_LV4; g_assVTG_FR_LV5]; */ for (i = 0; i < 13; i++) { @@ -12635,54 +12750,51 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_FLU)) */ - if (rtb_LogicalOperator_fc && (rtb_y_ko4 - 15 <= 13)) { + if (rtb_is_ending_with_5 && (rtb_y_pc - 15 <= 13)) { /* : y = (Vtg_FLU(LVL + 1, SET - 16) + Vtg_FLU(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_ko4 - 17) * 6 + rtb_Merge_e] + FLU_tg[(rtb_y_ko4 - 16) * 6 - + rtb_Merge_e]; + i = FLU_tg[(rtb_y_pc - 17) * 6 + rtb_Saturation9] + FLU_tg[(rtb_y_pc - 16) * + 6 + rtb_Saturation9]; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_y_jq = (int16_t)rt_roundd((double)i / 2.0); + rtb_y_ac = (int16_t)rt_roundd((double)i / 2.0); } else { /* : else */ /* : y = Vtg_FLU(LVL + 1, SET - 16); */ - rtb_y_jq = FLU_tg[(rtb_y_ko4 - 17) * 6 + rtb_Merge_e]; + rtb_y_ac = FLU_tg[(rtb_y_pc - 17) * 6 + rtb_Saturation9]; } - /* End of MATLAB Function: '/2.3 Vtg_FRU' */ + /* End of MATLAB Function: '/2.3 Vtg_FRU' */ - /* MATLAB Function: '/2.1 Incar target Right' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/2.1 Incar target Right' incorporates: + * Gain: '/Gain2' */ - u1Incartarget_l(rtb_y_ko4, rtb_Merge_e, rtb_LogicalOperator_fc, &rtb_y_el); + u1Incartarget_l(rtb_y_pc, rtb_Saturation9, rtb_is_ending_with_5, &rtb_y_d2); - /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' incorporates: + * Gain: '/Gain2' */ - Y1Y4Vtg_FX_incar(rtb_y_ko4, rtb_Merge_e, rtb_y_izu); + Y1Y4Vtg_FX_incar(rtb_y_pc, rtb_Saturation9, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' incorporates: + * Gain: '/Gain2' */ - X1X4Vtg_FX_incar(rtb_y_ko4, rtb_Merge_e, rtb_y_gk); + X1X4Vtg_FX_incar(rtb_y_pc, rtb_Saturation9, rtb_y_hf); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_e, &rtb_y_bu); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Saturation9, &rtb_y_jw); - /* MATLAB Function: '/Y1-Y4 для Vtg_FR_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для Vtg_FR_amb' incorporates: + * Gain: '/Gain2' */ - Y1Y2Vtg_FL_amb(rtb_y_ko4, rtb_Merge_e, rtb_y_ao); + Y1Y2Vtg_FL_amb(rtb_y_pc, rtb_Saturation9, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для Vtg_FR_amb' incorporates: - * Gain: '/Gain2' - * MATLAB Function: '/correction max' - * MATLAB Function: '/correction rate' - * MATLAB Function: '/correction_start_time' - * MATLAB Function: '/X1-X4 для Vtg_RX_amb' + /* MATLAB Function: '/X1-X4 для Vtg_FR_amb' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/X1-X4 для Vtg_RX_amb' */ /* : all_lvl_x1 = [g_assVF_AMB_X1_LV0; g_assVF_AMB_X1_LV1; g_assVF_AMB_X1_LV2; g_assVF_AMB_X1_LV3; g_assVF_AMB_X1_LV4; g_assVF_AMB_X1_LV5]; */ /* : all_lvl_x2 = [g_assVF_AMB_X2_LV0; g_assVF_AMB_X2_LV1; g_assVF_AMB_X2_LV2; g_assVF_AMB_X2_LV3; g_assVF_AMB_X2_LV4; g_assVF_AMB_X2_LV5]; */ @@ -12707,215 +12819,121 @@ void HVAC_model_step(void) tmp_0[rtb_Gain2] = g_assVF_AMB_X2_LV5[i]; } - rtb_y_cc_tmp = ((int32_t)trunc((((double)rtb_y_ko4 - 16.0) + 1.0) / 2.0) - 1) * - 6 + rtb_Merge_e; - rtb_y_gu[0] = tmp[rtb_y_cc_tmp]; - rtb_y_gu[1] = 0; - rtb_y_gu[2] = tmp_0[rtb_y_cc_tmp]; + rtb_y_cc_tmp = ((int32_t)trunc((((double)rtb_y_pc - 16.0) + 1.0) / 2.0) - 1) * + 6 + rtb_Saturation9; + rtb_y_deg[0] = tmp[rtb_y_cc_tmp]; + rtb_y_deg[1] = 0; + rtb_y_deg[2] = tmp_0[rtb_y_cc_tmp]; - /* End of MATLAB Function: '/X1-X4 для Vtg_FR_amb' */ + /* End of MATLAB Function: '/X1-X4 для Vtg_FR_amb' */ - /* MATLAB Function: '/Y1-Y4 для Vtg_FX_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для Vtg_FX_sun' incorporates: + * Gain: '/Gain2' */ - Y1Y2Vtg_FX_sun(rtb_y_ko4, rtb_Merge_e, rtb_y_nq); + Y1Y2Vtg_FX_sun(rtb_y_pc, rtb_Saturation9, rtb_y_lqe); - /* MATLAB Function: '/X1-X4 для Vtg_FX_sun' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для Vtg_FX_sun' incorporates: + * Gain: '/Gain2' */ - X1X2Vtg_FX_sun(rtb_y_ko4, rtb_Merge_e, rtb_y_oz); + X1X2Vtg_FX_sun(rtb_y_pc, rtb_Saturation9, rtb_y_ah); - /* MATLAB Function: '/FXU_tg_min' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/FXU_tg_min' incorporates: + * Gain: '/Gain2' */ - Vtg_FX_plus_min(rtb_y_ko4, rtb_Merge_e, &rtb_y_k5); + Vtg_FX_plus_min(rtb_y_pc, rtb_Saturation9, &rtb_y_j5); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain1, &rtb_LogicalOperator_fc); - - /* Switch: '/Switch1' incorporates: - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch1' incorporates: + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' * DataStoreWrite: '/Data Store Write20' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' - * Product: '/Product' - * RelationalOperator: '/Equal2' - * Sum: '/Add' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' + * Product: '/Product' + * RelationalOperator: '/Equal2' + * Sum: '/Add' */ - /* : 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)); */ - /* : 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)); */ if (rtDW.CCU_MODE_FR == 0) { rtb_Switch3_ed = (uint8_t)rtB.MultiportSwitch_a; } else { - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read41' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read41' */ - rtb_Product_n = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_oz, rtb_y_nq, 2U); + rtb_FLU_tg_correct_n = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_ah, + rtb_y_lqe, 2U); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read34' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read34' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_bu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_bu - rtDW.AMB), - rtb_y_gu, rtb_y_ao, 2U); + rtb_y_jw = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_jw - rtDW.AMB), + rtb_y_deg, rtb_y_ojk, 2U); - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read36' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read36' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_y_el = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_el - rtDW.Incar_FR), - rtb_y_gk, rtb_y_izu, 4U); + rtb_y_d2 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_d2 - rtDW.Incar_FR), + rtb_y_hf, rtb_y_ie, 4U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate = (double)((rtb_y_jq + rtb_y_el) + rtb_y_bu) + rtb_Product_n; + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_n += (double)((rtb_y_ac + rtb_y_d2) + rtb_y_jw); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read40' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_ao; - - /* MATLAB Function: '/correction_start_time' */ - for (i = 0; i < 7; i++) { - tmp[6 * i] = g_assCORRECT_AF_TIME_FR_LV0[i]; - tmp[6 * i + 1] = g_assCORRECT_AF_TIME_FR_LV1[i]; - tmp[6 * i + 2] = g_assCORRECT_AF_TIME_FR_LV2[i]; - tmp[6 * i + 3] = g_assCORRECT_AF_TIME_FR_LV3[i]; - tmp[6 * i + 4] = g_assCORRECT_AF_TIME_FR_LV4[i]; - tmp[6 * i + 5] = g_assCORRECT_AF_TIME_FR_LV5[i]; + if (rtb_FLU_tg_correct_n > rtb_y_cy) { + rtb_FLU_tg_correct_n = rtb_y_cy; + } else if (rtb_FLU_tg_correct_n < rtb_y_j5) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_n = rtb_y_j5; } - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Gain: '/из сек в мс' - * Logic: '/ After start control system works X sec' - * MATLAB Function: '/correction_start_time' - * RelationalOperator: '/Relational Operator' - * UnitDelay: '/Unit Delay' - */ - if (((int64_t)rtb_Subtract >= tmp[rtb_y_cc_tmp] * 1000) && - (rtDW.UnitDelay_DSTATE_js != 0)) { - /* MATLAB Function: '/correction rate' */ - 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]; - } + /* End of Switch: '/Switch2' */ - /* Product: '/Product' incorporates: - * Constant: '/Constant1' - * MATLAB Function: '/correction rate' - * Product: '/Divide' - */ - rtb_Product_n = (double)rtb_Subtract / 10000.0 * (double)tmp[rtb_y_cc_tmp]; - - /* MATLAB Function: '/correction max' */ - for (i = 0; i < 7; i++) { - tmp[6 * i] = g_assCORRECT_AF_MAX_LV0[i]; - tmp[6 * i + 1] = g_assCORRECT_AF_MAX_LV1[i]; - tmp[6 * i + 2] = g_assCORRECT_AF_MAX_LV2[i]; - tmp[6 * i + 3] = g_assCORRECT_AF_MAX_LV3[i]; - tmp[6 * i + 4] = g_assCORRECT_AF_MAX_LV4[i]; - tmp[6 * i + 5] = g_assCORRECT_AF_MAX_LV5[i]; - } - - /* Gain: '/из 0.01 в 0.1' incorporates: - * MATLAB Function: '/correction max' - */ - i = tmp[rtb_y_cc_tmp] * 13107; - rtb_y_jq = (int16_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & - 65535U) != 0U) || (i > 0))) + (i >> 17)); - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' - */ - if (rtb_Product_n > rtb_y_jq) { - rtb_Product_n = rtb_y_jq; - } else if (rtb_Product_n < 0.0) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - */ - rtb_Product_n = 0.0; - } - - /* End of Switch: '/Switch2' */ - } else { - rtb_Product_n = 0.0; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' - */ - if (rtb_rate > rtb_y_nm) { - rtb_rate = rtb_y_nm; - } else if (rtb_rate < rtb_y_k5) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_k5; - } - - /* Sum: '/Add1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch2' - */ - rtb_Product_n = rtb_rate - floor(rtb_Product_n); - - /* DataTypeConversion: '/Data Type Conversion' */ - rtb_rate = fabs(rtb_Product_n); - if (rtb_rate < 4.503599627370496E+15) { - if (rtb_rate >= 0.5) { - rtb_Product_n = floor(rtb_Product_n + 0.5); + /* DataTypeConversion: '/Data Type Conversion' */ + rtb_FLU_tg_correct_o = fabs(rtb_FLU_tg_correct_n); + if (rtb_FLU_tg_correct_o < 4.503599627370496E+15) { + if (rtb_FLU_tg_correct_o >= 0.5) { + rtb_FLU_tg_correct_n = floor(rtb_FLU_tg_correct_n + 0.5); } else { - rtb_Product_n = 0.0; + rtb_FLU_tg_correct_n = 0.0; } } rtb_Switch3_ed = (uint8_t)((double)g_ascAUTO_STEP_AF_F[rtDW.CCU_AUTOMODE_FR - - 1] * 0.01 * (double)(uint8_t)rtb_Product_n + (double)(uint8_t) - rtb_Product_n); + - 1] * 0.01 * (double)(uint8_t)rtb_FLU_tg_correct_n + (double)(uint8_t) + rtb_FLU_tg_correct_n); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read18' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read20' + /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' */ + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read18' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' */ RearLeftAFmanualdirections((rtDW.CCU_MODE_RL == 0), rtDW.CCU_BLOWERS_RL, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, &rtB.MultiportSwitch_j); - /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ - /* MATLAB Function: '/Vtg_RX_plus_max' */ + /* MATLAB Function: '/Vtg_RX_plus_max' */ /* : y = g_ascAUTO_STEP_AF_R(AF_STEP); */ - Vtg_RX_plus_max(rtb_y_pfc, rtb_Merge_e, &rtb_y_nm); + Vtg_RX_plus_max(rtb_Merge1, rtb_Saturation9, &rtb_y_cy); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 Vtg_RL' */ + /* MATLAB Function: '/2.3 Vtg_RL' */ /* : Vtg_RLU = [g_assVTG_RL_LV0; g_assVTG_RL_LV1; g_assVTG_RL_LV2; g_assVTG_RL_LV3; g_assVTG_RL_LV4; g_assVTG_RL_LV5]; */ for (i = 0; i < 13; i++) { FLU_tg[6 * i] = g_assVTG_RL_LV0[i]; @@ -12927,41 +12945,41 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_RLU)) */ - if (rtb_LogicalOperator_fc && (rtb_y_pfc - 15 <= 13)) { + if (rtb_is_ending_with_5 && (rtb_Merge1 - 15 <= 13)) { /* : y = (Vtg_RLU(LVL + 1, SET - 16) + Vtg_RLU(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_pfc - 17) * 6 + rtb_Merge_e] + FLU_tg[(rtb_y_pfc - 16) * 6 - + rtb_Merge_e]; + i = FLU_tg[(rtb_Merge1 - 17) * 6 + rtb_Saturation9] + FLU_tg[(rtb_Merge1 - + 16) * 6 + rtb_Saturation9]; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_y_k5 = (int16_t)rt_roundd((double)i / 2.0); + rtb_y_ac = (int16_t)rt_roundd((double)i / 2.0); } else { /* : else */ /* : y = Vtg_RLU(LVL + 1, SET - 16); */ - rtb_y_k5 = FLU_tg[(rtb_y_pfc - 17) * 6 + rtb_Merge_e]; + rtb_y_ac = FLU_tg[(rtb_Merge1 - 17) * 6 + rtb_Saturation9]; } - /* End of MATLAB Function: '/2.3 Vtg_RL' */ + /* End of MATLAB Function: '/2.3 Vtg_RL' */ - /* MATLAB Function: '/2.1 Incar target Left' */ - u1Incartarget_e(rtb_y_pfc, rtb_Merge_e, rtb_LogicalOperator_fc, &rtb_y_el); + /* MATLAB Function: '/2.1 Incar target Left' */ + u1Incartarget_e(rtb_Merge1, rtb_Saturation9, rtb_is_ending_with_5, &rtb_y_d2); - /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' */ - Y1Y4Vtg_FX_incar_o(rtb_y_pfc, rtb_Merge_e, rtb_y_izu); + /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' */ + Y1Y4Vtg_FX_incar_o(rtb_Merge1, rtb_Saturation9, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' */ - X1X4Vtg_FX_incar_o(rtb_y_pfc, rtb_Merge_e, rtb_y_gk); + /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' */ + X1X4Vtg_FX_incar_o(rtb_Merge1, rtb_Saturation9, rtb_y_hf); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_e, &rtb_y_bu); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Saturation9, &rtb_y_jw); - /* MATLAB Function: '/Y1-Y2 для Vtg_RL_amb' */ - Y1Y2Vtg_RL_amb(rtb_y_pfc, rtb_Merge_e, rtb_y_ao); + /* MATLAB Function: '/Y1-Y2 для Vtg_RL_amb' */ + Y1Y2Vtg_RL_amb(rtb_Merge1, rtb_Saturation9, rtb_y_ojk); - /* MATLAB Function: '/X1-X2 для Vtg_RL_amb' */ + /* MATLAB Function: '/X1-X2 для Vtg_RL_amb' */ /* : all_lvl_x1 = [g_assVR_AMB_X1_LV0; g_assVR_AMB_X1_LV1; g_assVR_AMB_X1_LV2; g_assVR_AMB_X1_LV3; g_assVR_AMB_X1_LV4; g_assVR_AMB_X1_LV5]; */ /* : all_lvl_x2 = [g_assVR_AMB_X2_LV0; g_assVR_AMB_X2_LV1; g_assVR_AMB_X2_LV2; g_assVR_AMB_X2_LV3; g_assVR_AMB_X2_LV4; g_assVR_AMB_X2_LV5]; */ /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ @@ -12985,116 +13003,117 @@ void HVAC_model_step(void) tmp_0[rtb_Gain2] = g_assVR_AMB_X2_LV5[i]; } - rtb_y_gu[0] = tmp[rtb_Gain3]; - rtb_y_gu[1] = 0; - rtb_y_gu[2] = tmp_0[rtb_Gain3]; + rtb_y_deg[0] = tmp[rtb_Gain3]; + rtb_y_deg[1] = 0; + rtb_y_deg[2] = tmp_0[rtb_Gain3]; - /* MATLAB Function: '/Y1-Y2 для Vtg_RX_sun' */ - Y1Y2Vtg_RX_sun(rtb_y_pfc, rtb_Merge_e, rtb_y_nq); + /* MATLAB Function: '/Y1-Y2 для Vtg_RX_sun' */ + Y1Y2Vtg_RX_sun(rtb_Merge1, rtb_Saturation9, rtb_y_lqe); - /* MATLAB Function: '/X1-X2 для Vtg_FX_sun' */ - X1X2Vtg_FX_sun_p(rtb_y_pfc, rtb_Merge_e, rtb_y_oz); + /* MATLAB Function: '/X1-X2 для Vtg_FX_sun' */ + X1X2Vtg_FX_sun_p(rtb_Merge1, rtb_Saturation9, rtb_y_ah); - /* MATLAB Function: '/Vtg_RX_plus_min' */ - Vtg_RX_plus_min(rtb_y_pfc, rtb_Merge_e, &rtb_y_jq); + /* MATLAB Function: '/Vtg_RX_plus_min' */ + Vtg_RX_plus_min(rtb_Merge1, rtb_Saturation9, &rtb_y_j5); - /* Switch: '/Switch2' incorporates: - * Constant: '/manual2' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch2' incorporates: + * Constant: '/manual2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/Data Store Write21' - * DataTypeConversion: '/Data Type Conversion4' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain' - * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' - * Product: '/Product' - * RelationalOperator: '/Equal3' - * Sum: '/Add' + * DataTypeConversion: '/Data Type Conversion4' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain' + * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' + * Product: '/Product' + * RelationalOperator: '/Equal3' + * Sum: '/Add' */ if (rtDW.CCU_MODE_RL == 0) { - rtb_Merge_o = (uint8_t)rtB.MultiportSwitch_j; + Blower_AF_RL = (uint8_t)rtB.MultiportSwitch_j; } else { - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read39' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read39' */ - rtb_Product_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_oz, rtb_y_nq, 2U); + rtb_FLU_tg_correct_n = look1_bs16ts16DdId_binlc(rtDW.Sun_L, rtb_y_ah, + rtb_y_lqe, 2U); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read34' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read34' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_pfc = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_bu - rtDW.AMB), - rtb_y_gu, rtb_y_ao, 2U); + rtb_Merge1 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_jw - rtDW.AMB), + rtb_y_deg, rtb_y_ojk, 2U); - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read37' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read37' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' */ - rtb_y_el = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_el - rtDW.Incar_RL), - rtb_y_gk, rtb_y_izu, 4U); + rtb_y_d2 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_d2 - rtDW.Incar_RL), + rtb_y_hf, rtb_y_ie, 4U); - /* Sum: '/2.8. Vtg_FX_plus' */ - rtb_Product_n += (double)((rtb_y_k5 + rtb_y_el) + rtb_y_pfc); + /* Sum: '/2.8. Vtg_FX_plus' */ + rtb_FLU_tg_correct_n += (double)((rtb_y_ac + rtb_y_d2) + rtb_Merge1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_Product_n > rtb_y_nm) { - rtb_Product_n = rtb_y_nm; - } else if (rtb_Product_n < rtb_y_jq) { - /* Switch: '/Switch' */ - rtb_Product_n = rtb_y_jq; + if (rtb_FLU_tg_correct_n > rtb_y_cy) { + rtb_FLU_tg_correct_n = rtb_y_cy; + } else if (rtb_FLU_tg_correct_n < rtb_y_j5) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_n = rtb_y_j5; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* DataTypeConversion: '/Data Type Conversion2' */ - rtb_rate = fabs(rtb_Product_n); - if (rtb_rate < 4.503599627370496E+15) { - if (rtb_rate >= 0.5) { - rtb_Product_n = floor(rtb_Product_n + 0.5); + /* DataTypeConversion: '/Data Type Conversion2' */ + rtb_FLU_tg_correct_o = fabs(rtb_FLU_tg_correct_n); + if (rtb_FLU_tg_correct_o < 4.503599627370496E+15) { + if (rtb_FLU_tg_correct_o >= 0.5) { + rtb_FLU_tg_correct_n = floor(rtb_FLU_tg_correct_n + 0.5); } else { - rtb_Product_n = 0.0; + rtb_FLU_tg_correct_n = 0.0; } } - rtb_Merge_o = (uint8_t)((double)g_ascAUTO_STEP_AF_R[(int8_t) - rtDW.CCU_AUTOMODE_RL - 1] * 0.01 * (double)(uint8_t)rtb_Product_n + - (double)(uint8_t)rtb_Product_n); + Blower_AF_RL = (uint8_t)((double)g_ascAUTO_STEP_AF_R[(int8_t) + rtDW.CCU_AUTOMODE_RL - 1] * 0.01 * (double)(uint8_t)rtb_FLU_tg_correct_n + + (double)(uint8_t)rtb_FLU_tg_correct_n); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Outputs for Enabled SubSystem: '/Rear Right AF - manual directions' */ - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read45' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read16' - * DataStoreRead: '/Data Store Read17' + /* Outputs for Enabled SubSystem: '/Rear Right AF - manual directions' */ + /* RelationalOperator: '/Equal1' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read45' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' */ RearLeftAFmanualdirections((rtDW.CCU_MODE_RR == 0), rtDW.CCU_BLOWERS_RR, rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, &rtB.MultiportSwitch_of); - /* End of Outputs for SubSystem: '/Rear Right AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Right AF - manual directions' */ - /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion1' + /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion1' */ - funcg_ascAUTO_STEP_AF_F((int8_t)rtDW.CCU_AUTOMODE_RR, &rtb_y_hzc); + funcg_ascAUTO_STEP_AF_F((int8_t)rtDW.CCU_AUTOMODE_RR, &rtb_y_b2); - /* MATLAB Function: '/Vtg_RX_plus_max' */ - Vtg_RX_plus_max(rtb_y_ko4, rtb_Merge_e, &rtb_y_nm); + /* MATLAB Function: '/Vtg_RX_plus_max' */ + Vtg_RX_plus_max(rtb_y_pc, rtb_Saturation9, &rtb_Merge1); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(Gain1, &rtb_LogicalOperator_fc); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain1, &rtb_is_ending_with_5); - /* MATLAB Function: '/2.3 Vtg_RR' */ + /* MATLAB Function: '/2.3 Vtg_RR' */ /* : Vtg_RR = [g_assVTG_RR_LV0; g_assVTG_RR_LV1; g_assVTG_RR_LV2; g_assVTG_RR_LV3; g_assVTG_RR_LV4; g_assVTG_RR_LV5]; */ for (i = 0; i < 13; i++) { FLU_tg[6 * i] = g_assVTG_RR_LV0[i]; @@ -13106,41 +13125,41 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_RR)) */ - if (rtb_LogicalOperator_fc && (rtb_y_ko4 - 15 <= 13)) { + if (rtb_is_ending_with_5 && (rtb_y_pc - 15 <= 13)) { /* : y = (Vtg_RR(LVL + 1, SET - 16) + Vtg_RR(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_ko4 - 17) * 6 + rtb_Merge_e] + FLU_tg[(rtb_y_ko4 - 16) * 6 - + rtb_Merge_e]; + i = FLU_tg[(rtb_y_pc - 17) * 6 + rtb_Saturation9] + FLU_tg[(rtb_y_pc - 16) * + 6 + rtb_Saturation9]; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_y_k5 = (int16_t)rt_roundd((double)i / 2.0); + rtb_y_ac = (int16_t)rt_roundd((double)i / 2.0); } else { /* : else */ /* : y = Vtg_RR(LVL + 1, SET - 16); */ - rtb_y_k5 = FLU_tg[(rtb_y_ko4 - 17) * 6 + rtb_Merge_e]; + rtb_y_ac = FLU_tg[(rtb_y_pc - 17) * 6 + rtb_Saturation9]; } - /* End of MATLAB Function: '/2.3 Vtg_RR' */ + /* End of MATLAB Function: '/2.3 Vtg_RR' */ - /* MATLAB Function: '/2.1 Incar target Rear Right' */ - u1Incartarget_p(rtb_y_ko4, rtb_Merge_e, rtb_LogicalOperator_fc, &rtb_y_jq); + /* MATLAB Function: '/2.1 Incar target Rear Right' */ + u1Incartarget_p(rtb_y_pc, rtb_Saturation9, rtb_is_ending_with_5, &rtb_y_j5); - /* MATLAB Function: '/Y1-Y4 для Vtg_RX_incar' */ - Y1Y4Vtg_FX_incar_o(rtb_y_ko4, rtb_Merge_e, rtb_y_izu); + /* MATLAB Function: '/Y1-Y4 для Vtg_RX_incar' */ + Y1Y4Vtg_FX_incar_o(rtb_y_pc, rtb_Saturation9, rtb_y_ie); - /* MATLAB Function: '/X1-X4 для Vtg_RX_incar' */ - X1X4Vtg_FX_incar_o(rtb_y_ko4, rtb_Merge_e, rtb_y_gk); + /* MATLAB Function: '/X1-X4 для Vtg_RX_incar' */ + X1X4Vtg_FX_incar_o(rtb_y_pc, rtb_Saturation9, rtb_y_hf); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_e, &rtb_y_el); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Saturation9, &rtb_y_d2); - /* MATLAB Function: '/Y1-Y4 для Vtg_RX_amb' */ - Y1Y2Vtg_RL_amb(rtb_y_ko4, rtb_Merge_e, rtb_y_ao); + /* MATLAB Function: '/Y1-Y4 для Vtg_RX_amb' */ + Y1Y2Vtg_RL_amb(rtb_y_pc, rtb_Saturation9, rtb_y_ojk); - /* MATLAB Function: '/X1-X4 для Vtg_RX_amb' */ + /* MATLAB Function: '/X1-X4 для Vtg_RX_amb' */ /* : all_lvl_x1 = [g_assVR_AMB_X1_LV0; g_assVR_AMB_X1_LV1; g_assVR_AMB_X1_LV2; g_assVR_AMB_X1_LV3; g_assVR_AMB_X1_LV4; g_assVR_AMB_X1_LV5]; */ /* : all_lvl_x2 = [g_assVR_AMB_X2_LV0; g_assVR_AMB_X2_LV1; g_assVR_AMB_X2_LV2; g_assVR_AMB_X2_LV3; g_assVR_AMB_X2_LV4; g_assVR_AMB_X2_LV5]; */ /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ @@ -13164,513 +13183,748 @@ void HVAC_model_step(void) tmp_0[rtb_Gain2] = g_assVR_AMB_X2_LV5[i]; } - rtb_y_gu[0] = tmp[rtb_y_cc_tmp]; - rtb_y_gu[1] = 0; - rtb_y_gu[2] = tmp_0[rtb_y_cc_tmp]; + rtb_y_deg[0] = tmp[rtb_y_cc_tmp]; + rtb_y_deg[1] = 0; + rtb_y_deg[2] = tmp_0[rtb_y_cc_tmp]; - /* MATLAB Function: '/Y1-Y4 для Vtg_RX_sun' */ - Y1Y2Vtg_RX_sun(rtb_y_ko4, rtb_Merge_e, rtb_y_nq); + /* MATLAB Function: '/Y1-Y4 для Vtg_RX_sun' */ + Y1Y2Vtg_RX_sun(rtb_y_pc, rtb_Saturation9, rtb_y_lqe); - /* MATLAB Function: '/X1-X4 для Vtg_RX_sun' */ - X1X2Vtg_FX_sun_p(rtb_y_ko4, rtb_Merge_e, rtb_y_oz); + /* MATLAB Function: '/X1-X4 для Vtg_RX_sun' */ + X1X2Vtg_FX_sun_p(rtb_y_pc, rtb_Saturation9, rtb_y_ah); - /* MATLAB Function: '/Vtg_RX_plus_min' */ - Vtg_RX_plus_min(rtb_y_ko4, rtb_Merge_e, &rtb_y_pfc); + /* MATLAB Function: '/Vtg_RX_plus_min' */ + Vtg_RX_plus_min(rtb_y_pc, rtb_Saturation9, &rtb_y_cy); - /* Switch: '/Switch3' incorporates: - * Constant: '/manual3' - * DataStoreRead: '/Data Store Read3' + /* Switch: '/Switch3' incorporates: + * Constant: '/manual3' + * DataStoreRead: '/Data Store Read3' * DataStoreWrite: '/Data Store Write22' - * DataTypeConversion: '/Data Type Conversion5' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Gain: '/Gain' - * Product: '/Product' - * RelationalOperator: '/Equal4' - * Sum: '/Add' + * DataTypeConversion: '/Data Type Conversion5' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * Product: '/Product' + * RelationalOperator: '/Equal4' + * Sum: '/Add' */ if (rtDW.CCU_MODE_RR == 0) { - rtb_Merge_e = (uint8_t)rtB.MultiportSwitch_of; + rtb_Saturation9 = (uint8_t)rtB.MultiportSwitch_of; } else { - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read41' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read41' */ - rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_oz, rtb_y_nq, 2U); + rtb_FLU_tg_correct_o = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_y_ah, + rtb_y_lqe, 2U); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read34' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read34' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_ko4 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_el - rtDW.AMB), - rtb_y_gu, rtb_y_ao, 2U); + rtb_y_pc = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_d2 - rtDW.AMB), + rtb_y_deg, rtb_y_ojk, 2U); - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read38' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read38' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_y_jq = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_jq - rtDW.Incar_RR), - rtb_y_gk, rtb_y_izu, 4U); + rtb_y_j5 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_j5 - rtDW.Incar_RR), + rtb_y_hf, rtb_y_ie, 4U); - /* Sum: '/FLU_tg_correct' */ - rtb_y_ko4 = (int16_t)floor((double)((rtb_y_k5 + rtb_y_jq) + rtb_y_ko4) + - rtb_rate); + /* Sum: '/FLU_tg_correct' */ + rtb_y_pc = (int16_t)floor((double)((rtb_y_ac + rtb_y_j5) + rtb_y_pc) + + rtb_FLU_tg_correct_o); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_y_ko4 > rtb_y_nm) { - rtb_y_ko4 = rtb_y_nm; - } else if (rtb_y_ko4 < rtb_y_pfc) { - /* Switch: '/Switch' */ - rtb_y_ko4 = rtb_y_pfc; + if (rtb_y_pc > rtb_Merge1) { + rtb_y_pc = rtb_Merge1; + } else if (rtb_y_pc < rtb_y_cy) { + /* Switch: '/Switch' */ + rtb_y_pc = rtb_y_cy; } - /* End of Switch: '/Switch2' */ - rtb_Merge_e = (uint8_t)(0.01 * (double)rtb_y_hzc * (double)(uint8_t) - rtb_y_ko4 + (double)(uint8_t)rtb_y_ko4); + /* End of Switch: '/Switch2' */ + rtb_Saturation9 = (uint8_t)(0.01 * (double)rtb_y_b2 * (double)(uint8_t) + rtb_y_pc + (double)(uint8_t)rtb_y_pc); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Chart: '/Zone_Climate_Logic_Auto_FL' incorporates: - * DataStoreRead: '/Data Store Read38' - * DataStoreRead: '/Data Store Read39' - * DataStoreRead: '/Data Store Read40' - * DataStoreRead: '/Data Store Read41' + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' */ - Zone_Climate_Logic_Auto_FL(rtDW.CCU_DEF_FL, rtDW.CCU_FACE_FL, rtDW.CCU_FOOT_FL, - rtDW.CCU_MODE_FL, &rtB.out_def_l, &rtB.out_face_o, &rtB.out_foot_h, - &rtB.out_auto_a, &rtDW.sf_Zone_Climate_Logic_Auto_FL); + rtb_LogicalOperator = ((rtDW.LO_HI_MODE_RR == 1) && (rtDW.LO_HI_MODE_RL == 1) && + (rtDW.LO_HI_MODE_FR == 1) && (rtDW.LO_HI_MODE_FL == 1)); - /* DataStoreWrite: '/Data Store Write28' */ - rtDW.CCU_FACE_FL = rtB.out_face_o; - - /* DataStoreWrite: '/Data Store Write29' */ - rtDW.CCU_FOOT_FL = rtB.out_foot_h; - - /* DataStoreWrite: '/Data Store Write30' */ - rtDW.CCU_MODE_FL = rtB.out_auto_a; - - /* DataStoreWrite: '/Data Store Write31' */ - rtDW.CCU_DEF_FR = rtB.out_def_l; - - /* DataStoreWrite: '/Data Store Write37' */ - rtDW.CCU_DEF_FL = rtB.out_def_l; - - /* Chart: '/Zone_Climate_Logic_Auto_FR' incorporates: - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read61' - * DataStoreRead: '/Data Store Read62' - * DataStoreRead: '/Data Store Read63' + /* Chart: '/Chart' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read35' + * DataStoreRead: '/Data Store Read36' */ - Zone_Climate_Logic_Auto_FL(rtDW.CCU_DEF_FR, rtDW.CCU_FACE_FR, rtDW.CCU_FOOT_FR, - rtDW.CCU_MODE_FR, &rtB.out_def, &rtB.out_face, &rtB.out_foot, &rtB.out_auto, - &rtDW.sf_Zone_Climate_Logic_Auto_FR); + if (rtDW.is_active_c775_HVAC_model == 0U) { + rtDW.is_active_c775_HVAC_model = 1U; - /* DataStoreWrite: '/Data Store Write32' */ - rtDW.CCU_FACE_FR = rtB.out_face; + /* : Cmd_3Way = 2; */ + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1; */ + /* : Cmd_3Way = 1; */ + /* : t_start_1 = t_now; */ + rtDW.t_start_1 = rtDW.t_now; - /* DataStoreWrite: '/Data Store Write33' */ - rtDW.CCU_FOOT_FR = rtB.out_foot; + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreRead: '/Data Store Read35' + * DataStoreWrite: '/Data Store Write3' + */ + /* : Cmd_3Way = 1; */ + rtDW.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = 1U; - /* DataStoreWrite: '/Data Store Write34' */ - rtDW.CCU_MODE_FR = rtB.out_auto; + /* : Cmd_FrontTemp = 0; */ + /* : Cmd_RearTemp_3W = 0; */ + /* : t_start_2 = t_now; */ + rtDW.t_start_2 = rtDW.t_now; + rtDW.is_TwoWay_Logic = IN_Wait_2W; - /* DataStoreWrite: '/Data Store Write35' */ - rtDW.CCU_DEF_FR = rtB.out_def; + /* : Cmd_2Way = 0; */ + rtB.Cmd_2Way = 0U; - /* DataStoreWrite: '/Data Store Write36' */ - rtDW.CCU_DEF_FL = rtB.out_def; + /* : Cmd_RearTemp_2W = -1; */ + } else { + /* : sf_internal_predicateOutput = (D_tg_RR <= g_assTHREEWAY_DUCT_TGT_R(2) || LO_HI_MODE_FULL == 1)&& LO_HI_MODE_RR ~= 2; */ + if ((g_assEVA_TG_AMB_R_h <= g_assTHREEWAY_DUCT_TGT_R[1]) || + rtb_LogicalOperator) { + rtb_FailCond_gd = (rtDW.LO_HI_MODE_RR != 2); + } else { + rtb_FailCond_gd = false; + } - /* Chart: '/Synchronization stateflow chart' */ + if (rtb_FailCond_gd) { + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1 */ + /* : Cmd_3Way = 2; */ + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1; */ + /* : Cmd_3Way = 1; */ + /* : t_start_1 = t_now; */ + rtDW.t_start_1 = rtDW.t_now; + + /* : Cmd_3Way = 1; */ + /* : Cmd_FrontTemp = 0; */ + /* : Cmd_RearTemp_3W = 0; */ + /* : t_start_2 = t_now; */ + rtDW.t_start_2 = rtDW.t_now; + } + + /* : sf_internal_predicateOutput = D_tg_RR > g_assTHREEWAY_DUCT_TGT_R(1) && LO_HI_MODE_FULL ~= 1 && (t_now - t_start_1) > 60000 && LO_HI_MODE_RR ~= 2; */ + rtb_dt_ca = rtDW.t_now - /*MW:OvSatOk*/ rtDW.t_start_1; + if (rtb_dt_ca > rtDW.t_now) { + rtb_dt_ca = 0U; + } + + rtb_LogicalOperator1_n = !rtb_LogicalOperator; + if ((g_assEVA_TG_AMB_R_h > g_assTHREEWAY_DUCT_TGT_R[0]) && + (rtb_LogicalOperator1_n && (rtb_dt_ca > 60000U) && (rtDW.LO_HI_MODE_RR + != 2))) { + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1 */ + /* : Cmd_3Way = 2; */ + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1; */ + /* : Cmd_3Way = 1; */ + /* : t_start_1 = t_now; */ + rtDW.t_start_1 = rtDW.t_now; + + /* : Cmd_3Way = 1; */ + /* : Cmd_FrontTemp = 0; */ + /* : Cmd_RearTemp_3W = 0; */ + /* : t_start_2 = t_now; */ + rtDW.t_start_2 = rtDW.t_now; + } else { + /* : sf_internal_predicateOutput = (D_tg_RR > g_assTHREEWAY_DUCT_TGT_R(1) & LO_HI_MODE_FULL ~= 1 && (t_now - t_start_1) <= 60000) || LO_HI_MODE_RR == 2; */ + if ((g_assEVA_TG_AMB_R_h > g_assTHREEWAY_DUCT_TGT_R[0]) && + rtb_LogicalOperator1_n) { + rtb_dt_ca = rtDW.t_now - /*MW:OvSatOk*/ rtDW.t_start_1; + if (rtb_dt_ca > rtDW.t_now) { + rtb_dt_ca = 0U; + } + + if (rtb_dt_ca <= 60000U) { + rtb_LogicalOperator = true; + } else { + rtb_LogicalOperator = (rtDW.LO_HI_MODE_RR == 2); + } + } else { + rtb_LogicalOperator = (rtDW.LO_HI_MODE_RR == 2); + } + + if (rtb_LogicalOperator) { + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1 */ + /* : Cmd_3Way = 2; */ + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1; */ + /* : Cmd_3Way = 1; */ + /* : t_start_1 = t_now; */ + rtDW.t_start_1 = rtDW.t_now; + + /* : Cmd_3Way = 1; */ + /* : Cmd_FrontTemp = 0; */ + /* : Cmd_RearTemp_3W = 0; */ + /* : t_start_2 = t_now; */ + rtDW.t_start_2 = rtDW.t_now; + } + } + + /* : sf_internal_predicateOutput = (t_now - t_start_2) >= 3000 || LO_HI_MODE_RR == 2; */ + rtb_dt_ca = rtDW.t_now - /*MW:OvSatOk*/ rtDW.t_start_2; + if (rtb_dt_ca > rtDW.t_now) { + rtb_dt_ca = 0U; + } + + if ((rtb_dt_ca >= 3000U) || (rtDW.LO_HI_MODE_RR == 2)) { + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1 */ + /* : Cmd_3Way = 2; */ + /* : Cmd_FrontTemp = -1; */ + /* : Cmd_RearTemp_3W = -1; */ + /* : Cmd_3Way = 1; */ + /* : t_start_1 = t_now; */ + rtDW.t_start_1 = rtDW.t_now; + + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreWrite: '/Data Store Write3' + */ + /* : Cmd_3Way = 1; */ + rtDW.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = 1U; + + /* : Cmd_FrontTemp = 0; */ + /* : Cmd_RearTemp_3W = 0; */ + /* : t_start_2 = t_now; */ + rtDW.t_start_2 = rtDW.t_now; + } else { + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreWrite: '/Data Store Write3' + */ + /* : Cmd_3Way = 1; */ + rtDW.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = 1U; + + /* : Cmd_FrontTemp = 0; */ + /* : Cmd_RearTemp_3W = 0; */ + /* : t_start_2 = t_now; */ + rtDW.t_start_2 = rtDW.t_now; + } + + switch (rtDW.is_TwoWay_Logic) { + case IN_Entry_2W: + /* : sf_internal_predicateOutput = D_tg_RR > g_assTWOWAY_REAR_DUCTTGT_R(1) && LO_HI_MODE_RR ~= 1 && (t_now - t_start_3) > 60000 && LO_HI_MODE_RR ~= 2; */ + rtb_dt_e = rtDW.t_now - /*MW:OvSatOk*/ rtDW.t_start_3; + rtb_dt_ca = rtb_dt_e; + if (rtb_dt_e > rtDW.t_now) { + rtb_dt_ca = 0U; + } + + if ((g_assEVA_TG_AMB_R_h > g_assTWOWAY_REAR_DUCTTGT_R[0]) && + ((rtDW.LO_HI_MODE_RR != 1) && (rtb_dt_ca > 60000U) && + (rtDW.LO_HI_MODE_RR != 2))) { + /* : Cmd_RearTemp_2W = -1; */ + rtDW.is_TwoWay_Logic = IN_ExitSeq_2W; + + /* : Cmd_2Way = 1; */ + rtB.Cmd_2Way = 1U; + + /* : Cmd_RearTemp_2W = 0; */ + /* : t_start_4 = t_now; */ + rtDW.t_start_4 = rtDW.t_now; + } else { + /* : sf_internal_predicateOutput = (D_tg_RR > g_assTWOWAY_REAR_DUCTTGT_R(1) && LO_HI_MODE_RR ~= 1 && (t_now - t_start_3) <= 60000) || LO_HI_MODE_RR == 2; */ + if (g_assEVA_TG_AMB_R_h > g_assTWOWAY_REAR_DUCTTGT_R[0]) { + if (rtb_dt_e > rtDW.t_now) { + rtb_dt_e = 0U; + } + + if ((rtDW.LO_HI_MODE_RR != 1) && (rtb_dt_e <= 60000U)) { + rtb_LogicalOperator = true; + } else { + rtb_LogicalOperator = (rtDW.LO_HI_MODE_RR == 2); + } + } else { + rtb_LogicalOperator = (rtDW.LO_HI_MODE_RR == 2); + } + + if (rtb_LogicalOperator) { + /* : Cmd_RearTemp_2W = -1; */ + rtDW.is_TwoWay_Logic = IN_Wait_2W; + + /* : Cmd_2Way = 0; */ + rtB.Cmd_2Way = 0U; + + /* : Cmd_RearTemp_2W = -1; */ + } + } + break; + + case IN_ExitSeq_2W: + /* : sf_internal_predicateOutput = (t_now - t_start_4) >= 3000 || LO_HI_MODE_RR == 2; */ + rtb_dt_ca = rtDW.t_now - /*MW:OvSatOk*/ rtDW.t_start_4; + if (rtb_dt_ca > rtDW.t_now) { + rtb_dt_ca = 0U; + } + + if ((rtb_dt_ca >= 3000U) || (rtDW.LO_HI_MODE_RR == 2)) { + /* : Cmd_RearTemp_2W = -1; */ + rtDW.is_TwoWay_Logic = IN_Wait_2W; + + /* : Cmd_2Way = 0; */ + rtB.Cmd_2Way = 0U; + + /* : Cmd_RearTemp_2W = -1; */ + } + break; + + default: + /* case IN_Wait_2W: */ + /* : sf_internal_predicateOutput = (D_tg_RR <= g_assTWOWAY_REAR_DUCTTGT_R(2)|| LO_HI_MODE_RR == 1) && LO_HI_MODE_RR ~= 2; */ + if ((g_assEVA_TG_AMB_R_h <= g_assTWOWAY_REAR_DUCTTGT_R[1]) || + (rtDW.LO_HI_MODE_RR == 1)) { + rtb_LogicalOperator = (rtDW.LO_HI_MODE_RR != 2); + } else { + rtb_LogicalOperator = false; + } + + if (rtb_LogicalOperator) { + rtDW.is_TwoWay_Logic = IN_Entry_2W; + + /* : Cmd_2Way = 1; */ + rtB.Cmd_2Way = 1U; + + /* : t_start_3 = t_now; */ + rtDW.t_start_3 = rtDW.t_now; + + /* : if RL_Seat_Occupied == 0 */ + } else { + /* : Cmd_2Way = 0; */ + rtB.Cmd_2Way = 0U; + + /* : Cmd_RearTemp_2W = -1; */ + } + break; + } + + /* : if Cmd_RearTemp_3W == 0 || Cmd_RearTemp_2W == 0 */ + /* : Cmd_RearTemp = 0; */ + } + + /* End of Chart: '/Chart' */ + + /* Chart: '/Synchronization stateflow chart' incorporates: + * DataStoreWrite: '/Data Store Write15' + * DataStoreWrite: '/Data Store Write16' + * DataStoreWrite: '/Data Store Write17' + */ if (rtDW.is_active_c618_HVAC_model == 0U) { rtDW.is_active_c618_HVAC_model = 1U; rtDW.is_c618_HVAC_model = IN_NO_SYNC; /* : sync_front = 0; */ - rtB.sync_front = 0U; + rtDW.CCU_FRONT_SYNC = 0U; /* : sync_rear = 0; */ - rtB.sync_rear = 0U; + rtDW.CCU_REAR_SYNC = 0U; /* : sync_all = 0; */ - rtB.sync_all = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; } else { guard1 = false; guard2 = false; + guard3 = false; + guard4 = false; switch (rtDW.is_c618_HVAC_model) { case IN_FRONT_ONLY: - rtB.sync_front = 1U; - rtB.sync_rear = 0U; - rtB.sync_all = 0U; + rtDW.CCU_FRONT_SYNC = 1U; + rtDW.CCU_REAR_SYNC = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; /* : sf_internal_predicateOutput = enable_full_sync; */ if (rtDW.enable_full_sync != 0) { - /* : enable_front_sync=0; */ - rtDW.enable_front_sync = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0; */ - rtDW.changed_RR_params = 0U; + /* : enable_full_sync = 0; */ + rtDW.enable_full_sync = 0U; rtDW.is_c618_HVAC_model = IN_FULL_SYNC; /* : sync_front = 0; */ - rtB.sync_front = 0U; + rtDW.CCU_FRONT_SYNC = 0U; /* : sync_rear = 0; */ - rtB.sync_rear = 0U; + rtDW.CCU_REAR_SYNC = 0U; /* : sync_all = 1; */ - rtB.sync_all = 1U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 1U; /* : sf_internal_predicateOutput = disable_front_sync; */ } else if (rtDW.disable_front_sync != 0) { - guard1 = true; + /* : disable_front_sync = 0; */ + rtDW.disable_front_sync = 0U; + guard2 = true; /* : sf_internal_predicateOutput = enable_rear_sync; */ } else if (rtDW.enable_rear_sync != 0) { - /* : enable_front_sync=0; */ - rtDW.enable_front_sync = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0; */ - rtDW.changed_RR_params = 0U; + /* : enable_rear_sync = 0; */ + rtDW.enable_rear_sync = 0U; rtDW.is_c618_HVAC_model = IN_SEPARATE_FRONT_AND_REAR; /* : sync_front = 1; */ - rtB.sync_front = 1U; + rtDW.CCU_FRONT_SYNC = 1U; /* : sync_rear = 1; */ - rtB.sync_rear = 1U; + rtDW.CCU_REAR_SYNC = 1U; /* : sync_all = 0; */ - rtB.sync_all = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; /* : sf_internal_predicateOutput = changed_FR_params; */ } else if (rtDW.changed_FR_params != 0) { - guard1 = true; + /* : changed_FR_params = 0; */ + rtDW.changed_FR_params = 0U; + guard2 = true; } break; case IN_FULL_SYNC: - rtB.sync_front = 0U; - rtB.sync_rear = 0U; - rtB.sync_all = 1U; + rtDW.CCU_FRONT_SYNC = 0U; + rtDW.CCU_REAR_SYNC = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 1U; /* : sf_internal_predicateOutput = disable_front_sync; */ if (rtDW.disable_front_sync != 0) { - guard2 = true; + /* : disable_front_sync = 0; */ + rtDW.disable_front_sync = 0U; + guard3 = true; /* : sf_internal_predicateOutput = enable_front_sync; */ - } else if ((rtDW.enable_front_sync != 0) || (rtDW.enable_rear_sync != 0)) - { - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - rtDW.is_c618_HVAC_model = IN_SEPARATE_FRONT_AND_REAR; - - /* : sync_front = 1; */ - rtB.sync_front = 1U; - - /* : sync_rear = 1; */ - rtB.sync_rear = 1U; - - /* : sync_all = 0; */ - rtB.sync_all = 0U; + } else if (rtDW.enable_front_sync != 0) { + /* : enable_front_sync = 0; */ + rtDW.enable_front_sync = 0U; + guard4 = true; /* : sf_internal_predicateOutput = enable_rear_sync; */ + } else if (rtDW.enable_rear_sync != 0) { + /* : enable_rear_sync = 0 */ + rtDW.enable_rear_sync = 0U; + guard4 = true; + /* : sf_internal_predicateOutput = changed_FR_params; */ } else if (rtDW.changed_FR_params != 0) { - guard2 = true; + /* : changed_FR_params = 0; */ + rtDW.changed_FR_params = 0U; + guard3 = true; /* : sf_internal_predicateOutput = changed_RL_params || changed_RR_params; */ } else if ((rtDW.changed_RL_params != 0) || (rtDW.changed_RR_params != 0)) { - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; + /* : changed_RL_params = 0; */ + rtDW.changed_RL_params = 0U; + + /* : changed_RR_params = 0; */ + rtDW.changed_RR_params = 0U; rtDW.is_c618_HVAC_model = IN_FRONT_ONLY; /* : sync_front = 1; */ - rtB.sync_front = 1U; + rtDW.CCU_FRONT_SYNC = 1U; /* : sync_rear = 0; */ - rtB.sync_rear = 0U; + rtDW.CCU_REAR_SYNC = 0U; /* : sync_all = 0; */ - rtB.sync_all = 0U; - - /* : enable_front_sync=0; */ - rtDW.enable_front_sync = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; } break; case IN_NO_SYNC: - NO_SYNC(); - break; + rtDW.CCU_FRONT_SYNC = 0U; + rtDW.CCU_REAR_SYNC = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; - case IN_REAR_ONLY: - rtB.sync_front = 0U; - rtB.sync_rear = 1U; - rtB.sync_all = 0U; - - /* : sf_internal_predicateOutput = enable_full_sync; */ - if (rtDW.enable_full_sync != 0) { - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - rtDW.is_c618_HVAC_model = IN_FULL_SYNC; - - /* : sync_front = 0; */ - rtB.sync_front = 0U; - - /* : sync_rear = 0; */ - rtB.sync_rear = 0U; - - /* : sync_all = 1; */ - rtB.sync_all = 1U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - - /* : sf_internal_predicateOutput = enable_front_sync; */ - } else if (rtDW.enable_front_sync != 0) { - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - rtDW.is_c618_HVAC_model = IN_SEPARATE_FRONT_AND_REAR; - - /* : sync_front = 1; */ - rtB.sync_front = 1U; - - /* : sync_rear = 1; */ - rtB.sync_rear = 1U; - - /* : sync_all = 0; */ - rtB.sync_all = 0U; - - /* : sf_internal_predicateOutput = disable_rear_sync; */ - } else if (rtDW.disable_rear_sync != 0) { - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - rtDW.is_c618_HVAC_model = IN_NO_SYNC; - - /* : sync_front = 0; */ - rtB.sync_front = 0U; - - /* : sync_rear = 0; */ - rtB.sync_rear = 0U; - - /* : sync_all = 0; */ - rtB.sync_all = 0U; - } - break; - - default: - /* case IN_SEPARATE_FRONT_AND_REAR: */ - rtB.sync_front = 1U; - rtB.sync_rear = 1U; - rtB.sync_all = 0U; - - /* : sf_internal_predicateOutput = enable_full_sync; */ - if (rtDW.enable_full_sync != 0) { + /* : sf_internal_predicateOutput = enable_front_sync; */ + if (rtDW.enable_front_sync != 0) { /* : enable_front_sync = 0; */ rtDW.enable_front_sync = 0U; - - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - rtDW.is_c618_HVAC_model = IN_FULL_SYNC; - - /* : sync_front = 0; */ - rtB.sync_front = 0U; - - /* : sync_rear = 0; */ - rtB.sync_rear = 0U; - - /* : sync_all = 1; */ - rtB.sync_all = 1U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - - /* : sf_internal_predicateOutput = disable_rear_sync || changed_RL_params; */ - } else if ((rtDW.disable_rear_sync != 0) || (rtDW.changed_RL_params != 0)) - { - /* : enable_front_sync = 0; */ - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; rtDW.is_c618_HVAC_model = IN_FRONT_ONLY; /* : sync_front = 1; */ - rtB.sync_front = 1U; + rtDW.CCU_FRONT_SYNC = 1U; /* : sync_rear = 0; */ - rtB.sync_rear = 0U; + rtDW.CCU_REAR_SYNC = 0U; /* : sync_all = 0; */ - rtB.sync_all = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; - /* : enable_front_sync=0; */ - rtDW.enable_front_sync = 0U; + /* : sf_internal_predicateOutput = enable_full_sync; */ + } else if (rtDW.enable_full_sync != 0) { + /* : enable_full_sync = 0; */ + rtDW.enable_full_sync = 0U; + rtDW.is_c618_HVAC_model = IN_FULL_SYNC; - /* : sf_internal_predicateOutput = disable_front_sync; */ - } else if ((rtDW.disable_front_sync != 0) || (rtDW.changed_FR_params != 0)) - { - /* : enable_front_sync = 0; */ - rtDW.enable_front_sync = 0U; + /* : sync_front = 0; */ + rtDW.CCU_FRONT_SYNC = 0U; + /* : sync_rear = 0; */ + rtDW.CCU_REAR_SYNC = 0U; + + /* : sync_all = 1; */ + rtDW.CCU_ALL_ZONE_SYNC = 1U; + + /* : sf_internal_predicateOutput = enable_rear_sync; */ + } else if (rtDW.enable_rear_sync != 0) { /* : enable_rear_sync = 0; */ rtDW.enable_rear_sync = 0U; rtDW.is_c618_HVAC_model = IN_REAR_ONLY; /* : sync_front = 0; */ - rtB.sync_front = 0U; + rtDW.CCU_FRONT_SYNC = 0U; /* : sync_rear = 1; */ - rtB.sync_rear = 1U; + rtDW.CCU_REAR_SYNC = 1U; /* : sync_all = 0; */ - rtB.sync_all = 0U; - } else { + rtDW.CCU_ALL_ZONE_SYNC = 0U; + } + break; + + case IN_REAR_ONLY: + rtDW.CCU_FRONT_SYNC = 0U; + rtDW.CCU_REAR_SYNC = 1U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; + + /* : sf_internal_predicateOutput = enable_full_sync; */ + if (rtDW.enable_full_sync != 0) { + /* : enable_full_sync = 0; */ + rtDW.enable_full_sync = 0U; + rtDW.is_c618_HVAC_model = IN_FULL_SYNC; + + /* : sync_front = 0; */ + rtDW.CCU_FRONT_SYNC = 0U; + + /* : sync_rear = 0; */ + rtDW.CCU_REAR_SYNC = 0U; + + /* : sync_all = 1; */ + rtDW.CCU_ALL_ZONE_SYNC = 1U; + + /* : sf_internal_predicateOutput = enable_front_sync; */ + } else if (rtDW.enable_front_sync != 0) { + /* : enable_front_sync = 0; */ + rtDW.enable_front_sync = 0U; + rtDW.is_c618_HVAC_model = IN_SEPARATE_FRONT_AND_REAR; + + /* : sync_front = 1; */ + rtDW.CCU_FRONT_SYNC = 1U; + + /* : sync_rear = 1; */ + rtDW.CCU_REAR_SYNC = 1U; + + /* : sync_all = 0; */ + rtDW.CCU_ALL_ZONE_SYNC = 0U; + + /* : sf_internal_predicateOutput = disable_rear_sync; */ + } else if (rtDW.disable_rear_sync != 0) { + /* : disable_rear_sync = 0; */ + rtDW.disable_rear_sync = 0U; + rtDW.is_c618_HVAC_model = IN_NO_SYNC; + + /* : sync_front = 0; */ + rtDW.CCU_FRONT_SYNC = 0U; + + /* : sync_rear = 0; */ + rtDW.CCU_REAR_SYNC = 0U; + + /* : sync_all = 0; */ + rtDW.CCU_ALL_ZONE_SYNC = 0U; + } + break; + + default: + /* case IN_SEPARATE_FRONT_AND_REAR: */ + rtDW.CCU_FRONT_SYNC = 1U; + rtDW.CCU_REAR_SYNC = 1U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; + + /* : sf_internal_predicateOutput = enable_full_sync; */ + if (rtDW.enable_full_sync != 0) { + /* : enable_full_sync = 0; */ + rtDW.enable_full_sync = 0U; + rtDW.is_c618_HVAC_model = IN_FULL_SYNC; + + /* : sync_front = 0; */ + rtDW.CCU_FRONT_SYNC = 0U; + + /* : sync_rear = 0; */ + rtDW.CCU_REAR_SYNC = 0U; + + /* : sync_all = 1; */ + rtDW.CCU_ALL_ZONE_SYNC = 1U; + + /* : sf_internal_predicateOutput = disable_rear_sync || changed_RL_params; */ + } else if ((rtDW.disable_rear_sync != 0) || (rtDW.changed_RL_params != 0)) + { + /* : disable_rear_sync = 0; */ + rtDW.disable_rear_sync = 0U; + + /* : changed_RL_params = 0; */ + rtDW.changed_RL_params = 0U; + rtDW.is_c618_HVAC_model = IN_FRONT_ONLY; + + /* : sync_front = 1; */ + rtDW.CCU_FRONT_SYNC = 1U; + + /* : sync_rear = 0; */ + rtDW.CCU_REAR_SYNC = 0U; + + /* : sync_all = 0; */ + rtDW.CCU_ALL_ZONE_SYNC = 0U; + + /* : sf_internal_predicateOutput = disable_front_sync; */ + } else if (rtDW.disable_front_sync != 0) { + /* : disable_front_sync = 0; */ + rtDW.disable_front_sync = 0U; + guard1 = true; + /* : sf_internal_predicateOutput = changed_FR_params; */ + } else if (rtDW.changed_FR_params != 0) { + /* : changed_FR_params = 0; */ + rtDW.changed_FR_params = 0U; + guard1 = true; } break; } - if (guard2) { - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; + if (guard4) { + rtDW.is_c618_HVAC_model = IN_SEPARATE_FRONT_AND_REAR; + + /* : sync_front = 1; */ + rtDW.CCU_FRONT_SYNC = 1U; + + /* : sync_rear = 1; */ + rtDW.CCU_REAR_SYNC = 1U; + + /* : sync_all = 0; */ + rtDW.CCU_ALL_ZONE_SYNC = 0U; + } + + if (guard3) { rtDW.is_c618_HVAC_model = IN_REAR_ONLY; /* : sync_front = 0; */ - rtB.sync_front = 0U; + rtDW.CCU_FRONT_SYNC = 0U; /* : sync_rear = 1; */ - rtB.sync_rear = 1U; + rtDW.CCU_REAR_SYNC = 1U; /* : sync_all = 0; */ - rtB.sync_all = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; } - if (guard1) { - /* : enable_front_sync=0; */ - rtDW.enable_front_sync = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0; */ - rtDW.changed_RR_params = 0U; + if (guard2) { rtDW.is_c618_HVAC_model = IN_NO_SYNC; /* : sync_front = 0; */ - rtB.sync_front = 0U; + rtDW.CCU_FRONT_SYNC = 0U; /* : sync_rear = 0; */ - rtB.sync_rear = 0U; + rtDW.CCU_REAR_SYNC = 0U; /* : sync_all = 0; */ - rtB.sync_all = 0U; + rtDW.CCU_ALL_ZONE_SYNC = 0U; + } + + if (guard1) { + rtDW.is_c618_HVAC_model = IN_REAR_ONLY; + + /* : sync_front = 0; */ + rtDW.CCU_FRONT_SYNC = 0U; + + /* : sync_rear = 1; */ + rtDW.CCU_REAR_SYNC = 1U; + + /* : sync_all = 0; */ + rtDW.CCU_ALL_ZONE_SYNC = 0U; } } /* End of Chart: '/Synchronization stateflow chart' */ - /* Outputs for Enabled SubSystem: '/Front Left Valves - manual directions' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Front Left Valves - manual directions' incorporates: + * EnablePort: '/Enable' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' */ if (rtDW.CCU_MODE_FL == 0) { - /* DataTypeConversion: '/Data Type Conversion5' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read10' - * RelationalOperator: '/Relational Operator2' + /* DataTypeConversion: '/Data Type Conversion5' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read10' + * RelationalOperator: '/Relational Operator2' */ rtb_DataTypeConversion2_bb = (uint8_t)(rtDW.CCU_FOOT_FL == 1); - /* MATLAB Function: '/Valves for Def' */ - ValvesforDef(rtb_out_fxe); + /* MATLAB Function: '/Valves for Def' */ + ValvesforDef(rtb_out_cc); - /* MATLAB Function: '/Valves for Hi_Level' */ + /* MATLAB Function: '/Valves for Hi_Level' */ /* : out = g_ausFLOW_FR_VE2VALVE; */ - ValvesforHi_Level(rtb_out_ps); + ValvesforHi_Level(rtb_out_dy); - /* MATLAB Function: '/Valves for Foot + Def' */ + /* MATLAB Function: '/Valves for Foot + Def' */ /* : out = g_ausFLOW_FR_FO2VALVE; */ - ValvesforFootDef(rtb_out_go); + ValvesforFootDef(rtb_out_c); - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_jh); + /* MATLAB Function: '/Valves for Bi Level' */ + ValvesforBiLevel(rtb_out_bn); - /* MATLAB Function: '/Valves for Tri-Level' */ + /* MATLAB Function: '/Valves for Tri-Level' */ ValvesforTriLevel(rtB.MultiportSwitch_f); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * 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_DataTypeConversion2_bb << 2))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { rtB.MultiportSwitch_f[i] = 0U; } break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = rtb_out_fxe[i]; + rtB.MultiportSwitch_f[i] = rtb_out_cc[i]; } break; case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Vent mode' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/Valves for Vent mode' */ for (i = 0; i < 9; i++) { rtB.MultiportSwitch_f[i] = g_ausFLOW_FR_VE2VALVE[i]; @@ -13678,15 +13932,15 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = rtb_out_ps[i]; + rtB.MultiportSwitch_f[i] = rtb_out_dy[i]; } break; case 4: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Foot' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/Valves for Foot' */ for (i = 0; i < 9; i++) { rtB.MultiportSwitch_f[i] = g_ausFLOW_FR_FO2VALVE[i]; @@ -13694,34 +13948,34 @@ void HVAC_model_step(void) break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = rtb_out_go[i]; + rtB.MultiportSwitch_f[i] = rtb_out_c[i]; } break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = rtb_out_jh[i]; + rtB.MultiportSwitch_f[i] = rtb_out_bn[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal2' */ - /* End of Outputs for SubSystem: '/Front Left Valves - manual directions' */ + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Front Left Valves - manual directions' */ - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' + /* RelationalOperator: '/Equal1' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' */ - rtb_LogicalOperator_fc = (rtDW.CCU_MODE_FL == 0); + rtb_LogicalOperator = (rtDW.CCU_MODE_FL == 0); - /* Saturate: '/Saturation4' incorporates: - * DataStoreRead: '/Data Store Read' + /* Saturate: '/Saturation4' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.LEVEL <= 5) { rtb_Saturation4_l = rtDW.LEVEL; @@ -13729,27 +13983,27 @@ void HVAC_model_step(void) rtb_Saturation4_l = 5U; } - /* End of Saturate: '/Saturation4' */ + /* End of Saturate: '/Saturation4' */ - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read16' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' */ if (rtDW.CCU_SET_FL > 290) { - Gain = 290U; + rtb_Saturation2_a = 290U; } else if (rtDW.CCU_SET_FL < 170) { - Gain = 170U; + rtb_Saturation2_a = 170U; } else { - Gain = rtDW.CCU_SET_FL; + rtb_Saturation2_a = rtDW.CCU_SET_FL; } - /* MATLAB Function: '/MODE_for_set_and_lvl' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' + /* MATLAB Function: '/MODE_for_set_and_lvl' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation' */ - MODE_for_set_and_lvl(rtb_Saturation4_l, (int16_t)((52429U * Gain) >> 19), - &rtb_DataTypeConversion2_bb); + MODE_for_set_and_lvl(rtb_Saturation4_l, (int16_t)((52429U * rtb_Saturation2_a) + >> 19), &rtb_DataTypeConversion2_bb); - /* MATLAB Function: '/valves_front_left' */ + /* MATLAB Function: '/valves_front_left' */ /* : modes_array = [ */ /* : g_ausFLOW_FR_VE2VALVE; */ /* : g_ausFLOW_FR_BIVALVE; */ @@ -13766,61 +14020,61 @@ void HVAC_model_step(void) tmp_3[5 * i_0 + 3] = g_ausFLOW_FR_AF2VALVE[i_0]; tmp_3[5 * i_0 + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[i_0]; - /* Switch: '/Switch' */ - if (rtb_LogicalOperator_fc) { + /* Switch: '/Switch' */ + if (rtb_LogicalOperator) { /* DataStoreWrite: '/Data Store Write23' incorporates: - * MultiPortSwitch: '/Multiport Switch' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_fxe[i_0] = rtB.MultiportSwitch_f[i_0]; + rtb_out_cc[i_0] = rtB.MultiportSwitch_f[i_0]; } else { /* DataStoreWrite: '/Data Store Write23' */ - rtb_out_fxe[i_0] = tmp_3[(5 * i_0 + i) - 1]; + rtb_out_cc[i_0] = tmp_3[(5 * i_0 + i) - 1]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of MATLAB Function: '/valves_front_left' */ + /* End of MATLAB Function: '/valves_front_left' */ - /* MATLAB Function: '/Valves for Def' */ - ValvesforDef(rtb_out_ps); + /* MATLAB Function: '/Valves for Def' */ + ValvesforDef(rtb_out_dy); - /* MATLAB Function: '/Valves for Hi_Level' */ + /* MATLAB Function: '/Valves for Hi_Level' */ /* : out = g_ausFLOW_FR_VE2VALVE; */ - ValvesforHi_Level(rtb_out_go); + ValvesforHi_Level(rtb_out_c); - /* MATLAB Function: '/Valves for Foot + Def' */ + /* MATLAB Function: '/Valves for Foot + Def' */ /* : out = g_ausFLOW_FR_FO2VALVE; */ - ValvesforFootDef(rtb_out_jh); + ValvesforFootDef(rtb_out_bn); - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_mq); + /* MATLAB Function: '/Valves for Bi Level' */ + ValvesforBiLevel(rtb_out_hu); - /* MATLAB Function: '/Valves for Tri-Level' */ - ValvesforTriLevel(rtb_out_ex); + /* MATLAB Function: '/Valves for Tri-Level' */ + ValvesforTriLevel(rtb_out_g4h); - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read17' + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read17' */ if (rtDW.CCU_SET_FR > 290) { - Gain = 290U; + rtb_Saturation2_a = 290U; } else if (rtDW.CCU_SET_FR < 170) { - Gain = 170U; + rtb_Saturation2_a = 170U; } else { - Gain = rtDW.CCU_SET_FR; + rtb_Saturation2_a = rtDW.CCU_SET_FR; } - /* MATLAB Function: '/MODE_for_set_and_lvl1' incorporates: - * Gain: '/Gain1' - * Saturate: '/Saturation1' + /* MATLAB Function: '/MODE_for_set_and_lvl1' incorporates: + * Gain: '/Gain1' + * Saturate: '/Saturation1' */ - MODE_for_set_and_lvl(rtb_Saturation4_l, (int16_t)((52429U * Gain) >> 19), - &rtb_DataTypeConversion2_bb); + MODE_for_set_and_lvl(rtb_Saturation4_l, (int16_t)((52429U * rtb_Saturation2_a) + >> 19), &rtb_DataTypeConversion2_bb); - /* Switch: '/Switch1' incorporates: - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read8' - * RelationalOperator: '/Equal2' + /* Switch: '/Switch1' incorporates: + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read8' + * RelationalOperator: '/Equal2' */ /* : modes_array = [ */ /* : g_ausFLOW_FR_VE2VALVE; */ @@ -13831,81 +14085,81 @@ void HVAC_model_step(void) /* : index = idivide(MODE, 10); */ /* : get_valves = modes_array(index, :); */ if (rtDW.CCU_MODE_FR == 0) { - /* MultiPortSwitch: '/Multiport Switch' 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' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' 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' + * Sum: '/Add' */ 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: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_out_ex[i] = 0U; + rtb_out_g4h[i] = 0U; } break; case 1: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_out_ex[i] = rtb_out_ps[i]; + rtb_out_g4h[i] = rtb_out_dy[i]; } break; case 2: - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Valves for Vent mode' + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Valves for Vent mode' */ for (i = 0; i < 9; i++) { - rtb_out_ex[i] = g_ausFLOW_FR_VE2VALVE[i]; + rtb_out_g4h[i] = g_ausFLOW_FR_VE2VALVE[i]; } break; case 3: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_out_ex[i] = rtb_out_go[i]; + rtb_out_g4h[i] = rtb_out_c[i]; } break; case 4: - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Valves for Foot' + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Valves for Foot' */ for (i = 0; i < 9; i++) { - rtb_out_ex[i] = g_ausFLOW_FR_FO2VALVE[i]; + rtb_out_g4h[i] = g_ausFLOW_FR_FO2VALVE[i]; } break; case 5: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_out_ex[i] = rtb_out_jh[i]; + rtb_out_g4h[i] = rtb_out_bn[i]; } break; case 6: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_out_ex[i] = rtb_out_mq[i]; + rtb_out_g4h[i] = rtb_out_hu[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } else { - /* MATLAB Function: '/valves_front_right' incorporates: - * Switch: '/Switch1' + /* MATLAB Function: '/valves_front_right' incorporates: + * Switch: '/Switch1' */ i = (int32_t)trunc((double)rtb_DataTypeConversion2_bb / 10.0); for (i_0 = 0; i_0 < 9; i_0++) { @@ -13914,78 +14168,78 @@ void HVAC_model_step(void) tmp_3[5 * i_0 + 2] = g_ausFLOW_FR_BI2VALVE[i_0]; tmp_3[5 * i_0 + 3] = g_ausFLOW_FR_AF2VALVE[i_0]; tmp_3[5 * i_0 + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[i_0]; - rtb_out_ex[i_0] = tmp_3[(5 * i_0 + i) - 1]; + rtb_out_g4h[i_0] = tmp_3[(5 * i_0 + i) - 1]; } - /* End of MATLAB Function: '/valves_front_right' */ + /* End of MATLAB Function: '/valves_front_right' */ } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Assignment: '/Присваивание в [3-4]' incorporates: + /* Assignment: '/Присваивание в [3-4]' incorporates: * DataStoreWrite: '/Data Store Write23' */ - rtb_out_fxe[2] = rtb_out_ex[2]; + rtb_out_cc[2] = rtb_out_g4h[2]; - /* Assignment: '/Присваивание в [7-8]' incorporates: + /* Assignment: '/Присваивание в [7-8]' incorporates: * DataStoreWrite: '/Data Store Write23' */ - rtb_out_fxe[6] = rtb_out_ex[6]; + rtb_out_cc[6] = rtb_out_g4h[6]; - /* Assignment: '/Присваивание в [3-4]' incorporates: + /* Assignment: '/Присваивание в [3-4]' incorporates: * DataStoreWrite: '/Data Store Write23' */ - rtb_out_fxe[3] = rtb_out_ex[3]; + rtb_out_cc[3] = rtb_out_g4h[3]; - /* Assignment: '/Присваивание в [7-8]' incorporates: + /* Assignment: '/Присваивание в [7-8]' incorporates: * DataStoreWrite: '/Data Store Write23' */ - rtb_out_fxe[7] = rtb_out_ex[7]; + rtb_out_cc[7] = rtb_out_g4h[7]; - /* Outputs for Enabled SubSystem: '/Rear valves left - manual directions' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Rear valves left - 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_RL == 0) { - /* MATLAB Function: '/AF for Bi Level' */ + /* MATLAB Function: '/AF for Bi Level' */ AFforBiLevel_a(rtB.MultiportSwitch_o); - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ valvesforVentmode(rtb_Gain1_nj); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read23' - * DataStoreRead: '/Data Store Read24' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read23' + * DataStoreRead: '/Data Store Read24' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)((rtDW.CCU_FOOT_RL == 1) << 1) + (uint32_t) (rtDW.CCU_FACE_RL == 1))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch_o[i] = 0U; } break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch_o[i] = rtb_Gain1_nj[i]; } break; case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/AF for Foot' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/AF for Foot' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch_o[i] = g_ausFLOW_RE_FO2VALVE[i]; @@ -13993,19 +14247,19 @@ 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' */ - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/manual2' - * DataStoreRead: '/Data Store Read9' + /* RelationalOperator: '/Equal3' incorporates: + * Constant: '/manual2' + * DataStoreRead: '/Data Store Read9' */ - rtb_LogicalOperator_fc = (rtDW.CCU_MODE_RL == 0); + rtb_LogicalOperator = (rtDW.CCU_MODE_RL == 0); - /* MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ + /* MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ /* : modes_array = [ */ /* : g_ausMODE_BY_DUCT_TG_R_LV0; */ /* : g_ausMODE_BY_DUCT_TG_R_LV1; */ @@ -14024,92 +14278,93 @@ void HVAC_model_step(void) rtb_get_mode[i] = tmp_4[6 * i + rtb_Saturation4_l]; } - /* End of MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ + /* End of MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read6' - * Sum: '/Subtract' - * UnitDelay: '/Unit Delay' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read6' + * Sum: '/Subtract' + * UnitDelay: '/Unit Delay' */ if ((int16_t)(g_assEVA_TG_AMB_F_n - rtDW.UnitDelay_DSTATE_lk) >= 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(g_assEVA_TG_AMB_F_n, rtb_get_mode, &Gain); + increase(g_assEVA_TG_AMB_F_n, rtb_get_mode, &rtb_Saturation2_a); - /* 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(g_assEVA_TG_AMB_F_n, rtb_get_mode, &Gain); + decrease(g_assEVA_TG_AMB_F_n, rtb_get_mode, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/duct_tg уменьшается RL' */ + /* End of Outputs for SubSystem: '/duct_tg уменьшается RL' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* MATLAB Function: '/valves_rear_left' */ - valves_rear_left(Gain, rtb_TmpSignalConversionAt1DLookupTable7Inport1); + /* MATLAB Function: '/valves_rear_left' */ + valves_rear_left(rtb_Saturation2_a, + rtb_TmpSignalConversionAt1DLookupTable7Inport1); for (i = 0; i < 6; i++) { - /* Switch: '/Switch2' */ - if (rtb_LogicalOperator_fc) { + /* Switch: '/Switch2' */ + if (rtb_LogicalOperator) { /* DataStoreWrite: '/Data Store Write24' incorporates: - * MultiPortSwitch: '/Multiport Switch' + * MultiPortSwitch: '/Multiport Switch' */ rtb_Gain1_nj[i] = rtB.MultiportSwitch_o[i]; } else { /* DataStoreWrite: '/Data Store Write24' incorporates: - * SignalConversion generated from: '/1-D Lookup Table7' + * SignalConversion generated from: '/1-D Lookup Table7' */ rtb_Gain1_nj[i] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[i]; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } - /* 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) { - /* MATLAB Function: '/AF for Bi Level' */ + /* MATLAB Function: '/AF for Bi Level' */ AFforBiLevel_a(rtB.MultiportSwitch); - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ valvesforVentmode(rtb_TmpSignalConversionAt1DLookupTable7Inport1); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read21' + * DataStoreRead: '/Data Store Read22' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)((rtDW.CCU_FOOT_RR == 1) << 1) + (uint32_t) (rtDW.CCU_FACE_RR == 1))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch[i] = 0U; } break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch[i] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[i]; @@ -14117,8 +14372,8 @@ void HVAC_model_step(void) 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]; @@ -14126,49 +14381,50 @@ 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)(g_assEVA_TG_AMB_R_h - 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(g_assEVA_TG_AMB_R_h, rtb_get_mode, &Gain); + increase(g_assEVA_TG_AMB_R_h, rtb_get_mode, &rtb_Saturation2_a); - /* 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(g_assEVA_TG_AMB_R_h, rtb_get_mode, &Gain); + decrease(g_assEVA_TG_AMB_R_h, rtb_get_mode, &rtb_Saturation2_a); - /* 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(Gain, rtb_TmpSignalConversionAt1DLookupTable7Inport1); + /* MATLAB Function: '/valves_rear_right' */ + valves_rear_left(rtb_Saturation2_a, + rtb_TmpSignalConversionAt1DLookupTable7Inport1); - /* 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++) { @@ -14176,33 +14432,33 @@ void HVAC_model_step(void) } } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Assignment: '/Присваивание в [3-4] rear' incorporates: + /* Assignment: '/Присваивание в [3-4] rear' incorporates: * DataStoreWrite: '/Data Store Write24' */ rtb_Gain1_nj[2] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[2]; rtb_Gain1_nj[3] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[3]; - /* Assignment: '/Присваивание в [6] rear' incorporates: + /* Assignment: '/Присваивание в [6] rear' incorporates: * DataStoreWrite: '/Data Store Write24' */ rtb_Gain1_nj[5] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[5]; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.AMB > 1000) { - rtb_y_pfc = 1000; + rtb_Merge1 = 1000; } else if (rtDW.AMB < -1000) { - rtb_y_pfc = -1000; + rtb_Merge1 = -1000; } else { - rtb_y_pfc = rtDW.AMB; + rtb_Merge1 = rtDW.AMB; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* MATLAB Function: '/Convert_g_assAMB_LV_UP' */ + /* MATLAB Function: '/Convert_g_assAMB_LV_UP' */ /* : c_g_assAMB_LV_UP = [-1000, g_assAMB_LV_UP(5), g_assAMB_LV_UP(4), g_assAMB_LV_UP(3), g_assAMB_LV_UP(2), g_assAMB_LV_UP(1)]; */ rtb_uDLookupTable7[0] = -1000; rtb_uDLookupTable7[1] = g_assAMB_LV_UP[4]; @@ -14211,200 +14467,200 @@ void HVAC_model_step(void) rtb_uDLookupTable7[4] = g_assAMB_LV_UP[1]; rtb_uDLookupTable7[5] = g_assAMB_LV_UP[0]; - /* SwitchCase: '/Switch Case' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation' + /* SwitchCase: '/Switch Case' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation' */ - switch ((int8_t)rtConstP.pooled49[plook_u32s16_bincka(rtb_y_pfc, + switch ((int8_t)rtConstP.pooled48[plook_u32s16_bincka(rtb_Merge1, rtb_uDLookupTable7, 5U)]) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ - rtB.Merge_b = (uint8_t)(rtb_y_pfc <= g_assAMB_LV_UP[0]); + rtB.Merge_b = (uint8_t)(rtb_Merge1 <= g_assAMB_LV_UP[0]); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_2' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_2' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_1 = g_assAMB_LV_DN(1); */ /* : c_g_assAMB_LV_UP_2 = g_assAMB_LV_UP(2); */ - if (rtb_y_pfc > g_assAMB_LV_UP[1]) { - /* Merge: '/Merge' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' - * RelationalOperator: '/Relational Operator1' + if (rtb_Merge1 > g_assAMB_LV_UP[1]) { + /* Merge: '/Merge' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' + * RelationalOperator: '/Relational Operator1' */ - rtB.Merge_b = (uint8_t)(rtb_y_pfc <= g_assAMB_LV_DN[0]); + rtB.Merge_b = (uint8_t)(rtb_Merge1 <= g_assAMB_LV_DN[0]); } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_3' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_3' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_2 = g_assAMB_LV_DN(2); */ /* : c_g_assAMB_LV_UP_3 = g_assAMB_LV_UP(3); */ - if (rtb_y_pfc > g_assAMB_LV_UP[2]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' - * RelationalOperator: '/Relational Operator1' + if (rtb_Merge1 > g_assAMB_LV_UP[2]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_y_pfc > g_assAMB_LV_DN[1]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv1' + if (rtb_Merge1 > g_assAMB_LV_DN[1]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv1' */ rtB.Merge_b = 1U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_3 = g_assAMB_LV_DN(3); */ /* : c_g_assAMB_LV_UP_4 = g_assAMB_LV_UP(4); */ - if (rtb_y_pfc > g_assAMB_LV_UP[3]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' - * RelationalOperator: '/Relational Operator1' + if (rtb_Merge1 > g_assAMB_LV_UP[3]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_y_pfc > g_assAMB_LV_DN[2]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + if (rtb_Merge1 > g_assAMB_LV_DN[2]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_4 = g_assAMB_LV_DN(4); */ /* : c_g_assAMB_LV_UP_5 = g_assAMB_LV_UP(5); */ - if (rtb_y_pfc > g_assAMB_LV_UP[4]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' - * RelationalOperator: '/Relational Operator1' + if (rtb_Merge1 > g_assAMB_LV_UP[4]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_y_pfc > g_assAMB_LV_DN[3]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + if (rtb_Merge1 > g_assAMB_LV_DN[3]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' */ rtB.Merge_b = 5U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_5 = g_assAMB_LV_DN(5); */ - if (rtb_y_pfc > g_assAMB_LV_DN[4]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + if (rtb_Merge1 > g_assAMB_LV_DN[4]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' */ rtB.Merge_b = 5U; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_SET_FL > 290) { i = 290; @@ -14414,14 +14670,14 @@ void HVAC_model_step(void) i = rtDW.CCU_SET_FL; } - /* Gain: '/Gain' incorporates: - * Saturate: '/Saturation' + /* Gain: '/Gain' incorporates: + * Saturate: '/Saturation' */ i *= 13107; rtb_DataTypeConversion2_bb = (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; */ @@ -14438,21 +14694,21 @@ void HVAC_model_step(void) rtb_get_modes_for_levels[6 * i + 5] = g_aucMODE_BY_SET_F_LV5[i]; } - /* End of MATLAB Function: '/Modes for levels' */ + /* End of MATLAB Function: '/Modes for levels' */ - /* Lookup_n-D: '/Выбор режима Left' incorporates: - * Gain: '/Gain' - * Merge: '/Merge' + /* Lookup_n-D: '/Выбор режима Left' incorporates: + * Gain: '/Gain' + * Merge: '/Merge' */ - rtb_u_cuz = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, - rtb_DataTypeConversion2_bb, rtConstP.pooled104, rtConstP.pooled57, + rtb_u_gnq = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, + rtb_DataTypeConversion2_bb, rtConstP.pooled104, rtConstP.pooled56, rtb_get_modes_for_levels, rtConstP.pooled46, 6U); - /* MATLAB Function: '/Начальные положения заслонок left' */ - left(rtb_u_cuz, rtb_out_ps); + /* MATLAB Function: '/Начальные положения заслонок left' */ + left(rtb_u_gnq, rtb_out_dy); - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read2' + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_SET_FR > 290) { i = 290; @@ -14462,199 +14718,199 @@ void HVAC_model_step(void) i = rtDW.CCU_SET_FR; } - /* Gain: '/Gain2' incorporates: - * Saturate: '/Saturation1' + /* Gain: '/Gain2' incorporates: + * Saturate: '/Saturation1' */ i *= 13107; rtb_Saturation4_l = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); - /* SwitchCase: '/Switch for Left ' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch for Left ' incorporates: + * DataStoreRead: '/Data Store Read' */ - switch (rtb_u_cuz) { + switch (rtb_u_gnq) { 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_go[i] = rtb_out_ps[i]; + rtb_out_c[i] = rtb_out_dy[i]; - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ } - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ - Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_go, rtb_DataTypeConversion2_bb, + Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_c, rtb_DataTypeConversion2_bb, rtb_Saturation4_l); - /* 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_go[i] = rtb_out_ps[i]; + rtb_out_c[i] = rtb_out_dy[i]; - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ } - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ - Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_go, rtb_DataTypeConversion2_bb, + Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_c, rtb_DataTypeConversion2_bb, rtb_Saturation4_l); - /* 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_go[i] = rtb_out_ps[i]; + rtb_out_c[i] = rtb_out_dy[i]; - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ } - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ - Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_go, rtb_DataTypeConversion2_bb, + Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_c, rtb_DataTypeConversion2_bb, rtb_Saturation4_l); - /* 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_go[i] = rtb_out_ps[i]; + rtb_out_c[i] = rtb_out_dy[i]; - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ } - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ - Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_go, rtb_DataTypeConversion2_bb, + Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_c, rtb_DataTypeConversion2_bb, rtb_Saturation4_l); - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ break; } - /* End of SwitchCase: '/Switch for Left ' */ + /* End of SwitchCase: '/Switch for Left ' */ - /* Lookup_n-D: '/Выбор режима Right' incorporates: - * Gain: '/Gain2' - * Merge: '/Merge' + /* Lookup_n-D: '/Выбор режима Right' incorporates: + * Gain: '/Gain2' + * Merge: '/Merge' */ - rtb_u_cuz = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Saturation4_l, - rtConstP.pooled104, rtConstP.pooled57, rtb_get_modes_for_levels, + rtb_u_gnq = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Saturation4_l, + rtConstP.pooled104, rtConstP.pooled56, rtb_get_modes_for_levels, rtConstP.pooled46, 6U); - /* MATLAB Function: '/Начальные положения заслонок right' */ - left(rtb_u_cuz, rtb_out_ps); + /* MATLAB Function: '/Начальные положения заслонок right' */ + left(rtb_u_gnq, rtb_out_dy); - /* SwitchCase: '/Switch for Left ' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch for Left ' incorporates: + * DataStoreRead: '/Data Store Read' */ - switch (rtb_u_cuz) { + switch (rtb_u_gnq) { 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_go[i] = rtb_out_ps[i]; + rtb_out_c[i] = rtb_out_dy[i]; - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ } - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ - Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_go, rtb_DataTypeConversion2_bb, + Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_c, rtb_DataTypeConversion2_bb, rtb_Saturation4_l); - /* 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_go[i] = rtb_out_ps[i]; + rtb_out_c[i] = rtb_out_dy[i]; - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ } - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ - Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_go, rtb_DataTypeConversion2_bb, + Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_c, rtb_DataTypeConversion2_bb, rtb_Saturation4_l); - /* 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_go[i] = rtb_out_ps[i]; + rtb_out_c[i] = rtb_out_dy[i]; - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ } - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ - Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_go, rtb_DataTypeConversion2_bb, + Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_c, rtb_DataTypeConversion2_bb, rtb_Saturation4_l); - /* 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_go[i] = rtb_out_ps[i]; + rtb_out_c[i] = rtb_out_dy[i]; - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ } - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ - Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_go, rtb_DataTypeConversion2_bb, + Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_c, rtb_DataTypeConversion2_bb, rtb_Saturation4_l); - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ break; } - /* End of SwitchCase: '/Switch for Left ' */ + /* End of SwitchCase: '/Switch for Left ' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.LEVEL = rtB.Merge_b; - /* MATLAB Function: '/Log Ambient Lv' */ + /* MATLAB Function: '/Log Ambient Lv' */ /* : if (isempty(current_Ambient_Lv)) */ if (!rtDW.current_Ambient_Lv_not_empty) { /* : current_Ambient_Lv = Ambient_Lv; */ @@ -14663,7 +14919,7 @@ void HVAC_model_step(void) /* : fprintf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl (init) = %u \n", in_Amb_Fb, Ambient_Lv); */ printf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl (init) = %u \n", - rtb_y_pfc, rtB.Merge_b); + rtb_Merge1, rtB.Merge_b); fflush(stdout); /* : else */ @@ -14674,22 +14930,170 @@ void HVAC_model_step(void) /* : fprintf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl = %u \n", in_Amb_Fb, Ambient_Lv); */ printf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl = %u \n", - rtb_y_pfc, rtB.Merge_b); + rtb_Merge1, rtB.Merge_b); fflush(stdout); } - /* End of MATLAB Function: '/Log Ambient Lv' */ + /* End of MATLAB Function: '/Log Ambient Lv' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write2' + /* Chart: '/Chart' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * Gain: '/Gain' + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * 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; + } else if (rtDW.is_c776_HVAC_model == IN_PARTIAL_REC_OFF) { + /* : sf_internal_predicateOutput = Amb_temp >= g_ssPREC_REC_ON_AMB; */ + if (rtDW.AMB >= g_ssPREC_REC_ON_AMB) { + rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_ON; + + /* : sf_internal_predicateOutput = Evap_F_Fb >= g_aucPREC_EVA_DIFF(1) && Evap_R_Fb >= g_aucPREC_EVA_DIFF(3); */ + if ((rtDW.Eva_F >= g_aucPREC_EVA_DIFF[0]) && (rtDW.Eva_R >= + g_aucPREC_EVA_DIFF[2])) { + rtDW.is_PARTIAL_REC_ON = IN_COND_3; + + /* : sf_internal_predicateOutput = E_comp_speed >= g_ausPREC_ENTRY_RPM(2); */ + } else if ((uint8_t)rpm_phys >= g_ausPREC_ENTRY_RPM[1]) { + rtDW.is_PARTIAL_REC_ON = IN_COND_2; + rtDW.is_COND_2 = IN_TRACKING; + } else { + rtDW.is_PARTIAL_REC_ON = IN_COND_1; + } + } + + /* case IN_PARTIAL_REC_ON: */ + /* : sf_internal_predicateOutput = [Amb_temp < g_ssPREC_REC_ON_AMB]; */ + } else if (rtDW.AMB < g_ssPREC_REC_ON_AMB) { + rtDW.is_COND_2 = IN_NO_ACTIVE_CHILD_h; + rtDW.is_PARTIAL_REC_ON = IN_NO_ACTIVE_CHILD_h; + rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; + } else { + switch (rtDW.is_PARTIAL_REC_ON) { + case IN_COND_1: + /* : sf_internal_predicateOutput = E_comp_speed /Gain' incorporates: + * Gain: '/Gain1' + */ + /* : req_OSA =PREC_OSA_SUMMER_1; */ + rtb_Saturation2_a = (uint16_t)(5U * (uint8_t)rpm_phys); + rtB.req_OSA = look1_iu16lu64n48tu8_binlcse(rtb_Saturation2_a, + &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_a, + &g_ausPREC_COMP_SPD_1[0], &g_aucPREC_REC_SUMMER_1[0], 2U); + } + break; + + case IN_COND_2: + /* : sf_internal_predicateOutput = E_comp_speed 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_FLU_tg_correct_o = find_index((int16_t)i); + + /* : X=g_assPREC_EVA_DIFF_FB_TG_F(x_idx); */ + if (rtDW.is_COND_2 == IN_HOLDING) { + /* : sf_internal_predicateOutput = X <= 0; */ + rtb_y_pc = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)rtb_FLU_tg_correct_o - + 1]; + if (rtb_y_pc <= 0) { + rtDW.is_COND_2 = IN_TRACKING; + + /* : sf_internal_predicateOutput = X > X_prev; */ + } else if (rtb_y_pc > rtDW.X_prev) { + rtDW.is_COND_2 = IN_TRACKING; + } else { + /* : X_prev = X; */ + rtDW.X_prev = rtb_y_pc; + } + } else { + /* case IN_TRACKING: */ + /* : sf_internal_predicateOutput = X < X_prev && X > 0; */ + i_0 = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)rtb_FLU_tg_correct_o - 1]; + if ((i_0 < rtDW.X_prev) && (i_0 > 0)) { + rtDW.is_COND_2 = IN_HOLDING; + } else { + /* : req_OSA = g_aucPREC_OSA_SUMMER_2(x_idx); */ + rtB.req_OSA = g_aucPREC_OSA_SUMMER_2[(int32_t)rtb_FLU_tg_correct_o - + 1]; + + /* : req_REC = g_aucPREC_REC_SUMMER_2(x_idx); */ + rtB.req_REC = g_aucPREC_REC_SUMMER_2[(int32_t)rtb_FLU_tg_correct_o - + 1]; + + /* : X_prev = X; */ + rtDW.X_prev = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t) + rtb_FLU_tg_correct_o - 1]; + } + } + } + break; + + default: + /* case IN_COND_3: */ + /* : sf_internal_predicateOutput = Evap_F_Fb < g_aucPREC_EVA_DIFF(2) && Evap_R_Fb < g_aucPREC_EVA_DIFF(4); */ + if ((rtDW.Eva_F < g_aucPREC_EVA_DIFF[1]) && (rtDW.Eva_R < + g_aucPREC_EVA_DIFF[3])) { + rtDW.is_PARTIAL_REC_ON = IN_COND_2; + rtDW.is_COND_2 = IN_TRACKING; + } else { + /* : req_OSA = g_ucPREC_OSA_SUMMER_3; */ + rtB.req_OSA = g_ucPREC_OSA_SUMMER_3; + + /* : req_REC = g_ucPREC_REC_SUMMER_3; */ + rtB.req_REC = g_ucPREC_REC_SUMMER_3; + } + break; + } + } + + /* End of Chart: '/Chart' */ + + /* Lookup_n-D: '/1-D Lookup Table2' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + rtb_DataTypeConversion2_bb = look1_iu16lu64n48tu8_binlcse(rtDW.VehicleSpeed, + &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], 12U); + + /* MinMax: '/MinMax' */ + if (rtb_DataTypeConversion2_bb > rtB.req_OSA) { + rtb_DataTypeConversion2_bb = rtB.req_OSA; + } + + /* End of MinMax: '/MinMax' */ + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write2' */ Status_Sensor_Model.Battery = 0; Status_Sensor_Model.AMB = rtDW.AMB; @@ -14712,51 +15116,1418 @@ void HVAC_model_step(void) Status_Sensor_Model.Duct_Side_RR = 0; Status_Sensor_Model.AQS = 0; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' + /* RelationalOperator: '/Relational Operator1' incorporates: + * UnitDelay: '/Unit Delay' + */ + rtb_is_ending_with_5 = (rtDW.UnitDelay_DSTATE_da == -9999); + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_FLU_tg_correct_o = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / + 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_g2 = (rtb_FLU_tg_correct_o < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_c5j = (rtb_FLU_tg_correct_o > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator = (rtb_Compare_g2 || rtb_Compare_c5j); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator1_n = (rtb_LogicalOperator && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_go >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Lookup_n-D: '/1-D Lookup Table2' + * UnitDelay: '/Unit Delay' + */ + if (rtb_LogicalOperator1_n) { + rtDW.UnitDelay_DSTATE_da = 200; + } else { + rtDW.UnitDelay_DSTATE_da = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled65, + rtConstP.pooled9, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + * If: '/If1' + */ + if (rtb_is_ending_with_5) { + /* Outputs for IfAction SubSystem: '/Инициализация FL' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/temp_fl' + * UnitDelay: '/Unit Delay' + */ + rtDW.Temp_FL_store = rtDW.UnitDelay_DSTATE_da; + + /* End of Outputs for SubSystem: '/Инициализация FL' */ + } else { + /* Outputs for IfAction SubSystem: '/Фильтрация FL температуры' incorporates: + * ActionPort: '/Action Port' + */ + if (rtDW.KEEP_RISING_FL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * If: '/If' + * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2_a); + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_da - rtDW.Temp_FL_store); + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + if (rtb_y_pc <= rtb_Saturation2_a) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_FL_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное повышение темп.' + */ + u_e(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + u_cc(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * If: '/If' + * MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + INCARRATE_RISING_DIFF_F7(&rtb_Saturation2_a); + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_da - rtDW.Temp_FL_store); + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + if (rtb_y_pc > rtb_Saturation2_a) { + /* 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: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_c(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + u_mu(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8(&rtb_out_d1m); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read temp' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_da - rtDW.Temp_FL_store); + + /* Abs: '/ABS(AMBraw - AMB)' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc <= rtb_out_d1m) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_FL_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное понижение темп.' + */ + u_j(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_h(rtDW.LEVEL, &rtb_out_d1m); + + /* 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_d1m); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read Amb' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_da - rtDW.Temp_FL_store); + + /* Abs: '/ABS(AMBraw - AMB)' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc > rtb_out_d1m) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_FL_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_m(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_i(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of If: '/If1' */ + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read Amb' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_da - rtDW.Temp_FL_store); + + /* Abs: '/Abs' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc > 0.01) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Read Amb' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/AMBraw > AMB' + * UnaryMinus: '/Unary Minus' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.UnitDelay_DSTATE_da > rtDW.Temp_FL_store) { + rtb_y_pc = (int16_t)rtb_Saturation2_a; + } else { + rtb_y_pc = (int16_t)-(int16_t)rtb_out_d1m; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * SignalConversion generated from: '/temp_out' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtDW.Temp_FL_store += (int16_t)((uint16_t)((rtDW.t_now - + rtDW.UnitDelay_DSTATE_bd) / 60000U) * rtb_y_pc); + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtDW.UnitDelay_DSTATE_bd = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Фильтрация FL температуры' */ + } + + /* End of If: '/If' */ + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Incar_FL = rtDW.Temp_FL_store; + + /* RelationalOperator: '/Relational Operator2' incorporates: + * UnitDelay: '/Unit Delay1' + */ + rtb_is_ending_with_5 = (rtDW.UnitDelay1_DSTATE_k == -9999); + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_FLU_tg_correct_n = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / + 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_l = (rtb_FLU_tg_correct_n < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_bnt = (rtb_FLU_tg_correct_n > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_FailCond_gd = (rtb_Compare_l || rtb_Compare_bnt); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator1_m2 = (rtb_FailCond_gd && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_k >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Lookup_n-D: '/1-D Lookup Table2' + * UnitDelay: '/Unit Delay1' + */ + if (rtb_LogicalOperator1_m2) { + rtDW.UnitDelay1_DSTATE_k = 200; + } else { + rtDW.UnitDelay1_DSTATE_k = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled65, + rtConstP.pooled9, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * If: '/If1' + */ + if (rtb_is_ending_with_5) { + /* Outputs for IfAction SubSystem: '/Инициализация FR' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/temp' incorporates: + * DataStoreWrite: '/Data Store Write' + * UnitDelay: '/Unit Delay1' + */ + rtDW.Temp_FR_store = rtDW.UnitDelay1_DSTATE_k; + + /* SignalConversion generated from: '/temp_out' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtb_Merge1 = rtDW.Temp_FR_store; + + /* End of Outputs for SubSystem: '/Инициализация FR' */ + } else { + /* Outputs for IfAction SubSystem: '/Фильтрация FR температуры' incorporates: + * ActionPort: '/Action Port' + */ + if (rtDW.KEEP_RISING_FR_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * If: '/If' + * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay1' + */ + g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2_a); + rtb_y_pc = (int16_t)(rtDW.UnitDelay1_DSTATE_k - rtDW.Temp_FR_store); + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + if (rtb_y_pc <= rtb_Saturation2_a) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_FR_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное повышение темп.' + */ + u_e(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + u_cc(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * If: '/If' + * MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay1' + */ + INCARRATE_RISING_DIFF_F7(&rtb_Saturation2_a); + rtb_y_pc = (int16_t)(rtDW.UnitDelay1_DSTATE_k - rtDW.Temp_FR_store); + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + if (rtb_y_pc > rtb_Saturation2_a) { + /* 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: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_c(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + u_mu(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_FALLING_FR_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8(&rtb_out_d1m); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read temp' + * UnitDelay: '/Unit Delay1' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay1_DSTATE_k - rtDW.Temp_FR_store); + + /* Abs: '/ABS(AMBraw - AMB)' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc <= rtb_out_d1m) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_FR_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное понижение темп.' + */ + u_j(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_h(rtDW.LEVEL, &rtb_out_d1m); + + /* 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_d1m); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read Amb' + * UnitDelay: '/Unit Delay1' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay1_DSTATE_k - rtDW.Temp_FR_store); + + /* Abs: '/ABS(AMBraw - AMB)' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc > rtb_out_d1m) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_FR_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_m(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_i(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of If: '/If1' */ + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read Amb' + * UnitDelay: '/Unit Delay1' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay1_DSTATE_k - rtDW.Temp_FR_store); + + /* Abs: '/Abs' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay1' + */ + if (rtb_y_pc <= 0.01) { + /* SignalConversion generated from: '/temp_out' incorporates: + * DataStoreRead: '/Read Amb' + */ + rtb_Merge1 = rtDW.Temp_FR_store; + } else { + if (rtDW.UnitDelay1_DSTATE_k > rtDW.Temp_FR_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_y_pc = (int16_t)rtb_Saturation2_a; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_y_pc = (int16_t)-(int16_t)rtb_out_d1m; + } + + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtb_Merge1 = (int16_t)((int16_t)((uint16_t)((rtDW.t_now - + rtDW.UnitDelay_DSTATE_b) / 60000U) * rtb_y_pc) + rtDW.Temp_FR_store); + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtDW.UnitDelay_DSTATE_b = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Фильтрация FR температуры' */ + } + + /* End of If: '/If1' */ + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Incar_FR = rtb_Merge1; + + /* RelationalOperator: '/Relational Operator1' incorporates: + * UnitDelay: '/Unit Delay' + */ + rtb_is_ending_with_5 = (rtDW.UnitDelay_DSTATE_my == -9999); + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' + */ + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_fbl = (rtb_Divide3 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_j = (rtb_Divide3 > 4.9); + + /* Logic: '/Logical Operator2' */ + rtb_FailCond_i = (rtb_Compare_fbl || rtb_Compare_j); + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator3 = (rtb_FailCond_i && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_j >= 3000U)); + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read1' + * Lookup_n-D: '/1-D Lookup Table1' + * UnitDelay: '/Unit Delay' + */ + if (rtb_LogicalOperator3) { + rtDW.UnitDelay_DSTATE_my = 200; + } else { + rtDW.UnitDelay_DSTATE_my = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled65, + rtConstP.pooled9, 1023U); + } + + /* End of Switch: '/Switch1' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + * If: '/If1' + */ + if (rtb_is_ending_with_5) { + /* Outputs for IfAction SubSystem: '/Инициализация RL' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/temp_in' + * UnitDelay: '/Unit Delay' + */ + rtDW.Temp_RL_store = rtDW.UnitDelay_DSTATE_my; + + /* End of Outputs for SubSystem: '/Инициализация RL' */ + } else { + /* Outputs for IfAction SubSystem: '/Фильтрация RL температуры' incorporates: + * ActionPort: '/Action Port' + */ + if (rtDW.KEEP_RISING_RL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * If: '/If' + * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2_a); + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_my - rtDW.Temp_RL_store); + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + if (rtb_y_pc <= rtb_Saturation2_a) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_RL_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное повышение темп.' + */ + u_jy(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + u_jk(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * If: '/If' + * MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + INCARRATE_RISING_DIFF_R7(&rtb_Saturation2_a); + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_my - rtDW.Temp_RL_store); + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + if (rtb_y_pc > rtb_Saturation2_a) { + /* 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: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_d(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + u_ew(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_FALLING_RL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8_m(&rtb_out_d1m); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read temp' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_my - rtDW.Temp_RL_store); + + /* Abs: '/ABS(AMBraw - AMB)' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc <= rtb_out_d1m) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_RL_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное понижение темп.' + */ + u_a(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_g(rtDW.LEVEL, &rtb_out_d1m); + + /* 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_a(&rtb_out_d1m); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read Amb' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_my - rtDW.Temp_RL_store); + + /* Abs: '/ABS(AMBraw - AMB)' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc > rtb_out_d1m) { + /* 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: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_l(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_b(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of If: '/If1' */ + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read Amb' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_my - rtDW.Temp_RL_store); + + /* Abs: '/Abs' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc > 0.01) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Read Amb' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/AMBraw > AMB' + * UnaryMinus: '/Unary Minus' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.UnitDelay_DSTATE_my > rtDW.Temp_RL_store) { + rtb_y_pc = (int16_t)rtb_Saturation2_a; + } else { + rtb_y_pc = (int16_t)-(int16_t)rtb_out_d1m; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * SignalConversion generated from: '/temp_out' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtDW.Temp_RL_store += (int16_t)((uint16_t)((rtDW.t_now - + rtDW.UnitDelay_DSTATE_a) / 60000U) * rtb_y_pc); + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtDW.UnitDelay_DSTATE_a = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Фильтрация RL температуры' */ + } + + /* End of If: '/If' */ + + /* DataStoreWrite: '/Data Store Write4' */ + rtDW.Incar_RL = rtDW.Temp_RL_store; + + /* RelationalOperator: '/Relational Operator1' incorporates: + * UnitDelay: '/Unit Delay' + */ + rtb_is_ending_with_5 = (rtDW.UnitDelay_DSTATE_lt == -9999); + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' + */ + rtb_Divide3_hk = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * + 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_g4 = (rtb_Divide3_hk < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_dd = (rtb_Divide3_hk > 4.9); + + /* Logic: '/Logical Operator2' */ + rtb_FailCond_p0 = (rtb_Compare_g4 || rtb_Compare_dd); + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator3_p5 = (rtb_FailCond_p0 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_gd >= 3000U)); + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read1' + * Lookup_n-D: '/1-D Lookup Table1' + * UnitDelay: '/Unit Delay' + */ + if (rtb_LogicalOperator3_p5) { + rtDW.UnitDelay_DSTATE_lt = 200; + } else { + rtDW.UnitDelay_DSTATE_lt = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled65, + rtConstP.pooled9, 1023U); + } + + /* End of Switch: '/Switch1' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + * If: '/If1' + */ + if (rtb_is_ending_with_5) { + /* Outputs for IfAction SubSystem: '/Инициализация RR' incorporates: + * ActionPort: '/Action Port' + */ + /* Sum: '/Add1' incorporates: + * SignalConversion generated from: '/temp_in' + * UnitDelay: '/Unit Delay' + */ + rtDW.Temp_RR_store = rtDW.UnitDelay_DSTATE_lt; + + /* End of Outputs for SubSystem: '/Инициализация RR' */ + } else { + /* Outputs for IfAction SubSystem: '/Фильтрация RR температуры' incorporates: + * ActionPort: '/Action Port' + */ + if (rtDW.KEEP_RISING_RR_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * If: '/If' + * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2_a); + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_lt - rtDW.Temp_RR_store); + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + if (rtb_y_pc <= rtb_Saturation2_a) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_RR_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное повышение темп.' + */ + u_jy(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + u_jk(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * If: '/If' + * MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + INCARRATE_RISING_DIFF_R7(&rtb_Saturation2_a); + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_lt - rtDW.Temp_RR_store); + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + if (rtb_y_pc > rtb_Saturation2_a) { + /* 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: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_d(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + u_ew(rtDW.LEVEL, &rtb_Saturation2_a); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_FALLING_RR_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8_m(&rtb_out_d1m); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read temp' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_lt - rtDW.Temp_RR_store); + + /* Abs: '/ABS(AMBraw - AMB)' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc <= rtb_out_d1m) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_RR_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное понижение темп.' + */ + u_a(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_g(rtDW.LEVEL, &rtb_out_d1m); + + /* 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_a(&rtb_out_d1m); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read Amb' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_lt - rtDW.Temp_RR_store); + + /* Abs: '/ABS(AMBraw - AMB)' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc > rtb_out_d1m) { + /* 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: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_l(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_b(rtDW.LEVEL, &rtb_out_d1m); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of If: '/If1' */ + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Read Amb' + * UnitDelay: '/Unit Delay' + */ + rtb_y_pc = (int16_t)(rtDW.UnitDelay_DSTATE_lt - rtDW.Temp_RR_store); + + /* Abs: '/Abs' */ + if (rtb_y_pc < 0) { + rtb_y_pc = (int16_t)-rtb_y_pc; + } + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * RelationalOperator: '/Relational Operator' + */ + if (rtb_y_pc > 0.01) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Read Amb' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/AMBraw > AMB' + * UnaryMinus: '/Unary Minus' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.UnitDelay_DSTATE_lt > rtDW.Temp_RR_store) { + rtb_y_pc = (int16_t)rtb_Saturation2_a; + } else { + rtb_y_pc = (int16_t)-(int16_t)rtb_out_d1m; + } + + /* Sum: '/Add1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * SignalConversion generated from: '/temp_out' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtDW.Temp_RR_store += (int16_t)((uint16_t)((rtDW.t_now - + rtDW.UnitDelay_DSTATE_n) / 60000U) * rtb_y_pc); + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtDW.UnitDelay_DSTATE_n = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Фильтрация RR температуры' */ + } + + /* End of If: '/If' */ + + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.Incar_RR = rtDW.Temp_RR_store; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table' */ if (rtb_LogicalOperator1_f1) { rtDW.Eva_F = -100; } else { rtDW.Eva_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Evap_Temp, - rtConstP.pooled64, rtConstP.pooled8, 1023U); + rtConstP.pooled65, rtConstP.pooled8, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[12] = rtb_LogicalOperator1_f1; - /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ 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_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) { @@ -14767,11 +16538,11 @@ 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' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -14780,67 +16551,67 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write Eva_F' */ + /* End of MATLAB Function: '/Write Eva_F' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_fn && (!rtDW.Cond_prev_private_DSTATE)) { rtDW.t_start_delay_private_DSTATE_g = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table' */ if (rtb_LogicalOperator1_f) { rtDW.Eva_R = -100; } else { rtDW.Eva_R = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled64, + (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled65, rtConstP.pooled8, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_f; - /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[15] = rtb_Compare_fr; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[14] = rtb_Compare_b; } 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) { @@ -14851,11 +16622,11 @@ 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' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -14864,68 +16635,68 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write Eva_F' */ + /* End of MATLAB Function: '/Write Eva_F' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_gk && (!rtDW.Cond_prev_private_DSTATE_p)) { rtDW.t_start_delay_private_DSTATE_c = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' + * Lookup_n-D: '/1-D Lookup Table' */ if (rtb_LogicalOperator1) { rtDW.Pressure = 320; } else { rtDW.Pressure = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled64, + (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled65, rtConstP.uDLookupTable_tableData, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[50] = rtb_Compare; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[51] = rtb_Compare_ah; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[50] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -14934,10 +16705,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1) { @@ -14948,54 +16719,54 @@ 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 ' + /* 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 && (!rtDW.Cond_prev_private_DSTATE_a)) { rtDW.t_start_delay_private_DSTATE = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide4' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide1' + /* Product: '/Divide4' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide1' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_LogicalOperator_fc = (rtb_Divide1 < 0.15); + rtb_Compare_m = (rtb_Divide1 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_m4 = (rtb_Divide1 > 4.9); + rtb_Compare_i = (rtb_Divide1 > 4.9); - /* Logic: '/Logical Operator1' */ - rtb_Compare = (rtb_LogicalOperator_fc || rtb_Compare_m4); + /* Logic: '/Logical Operator1' */ + rtb_Compare = (rtb_Compare_m || rtb_Compare_i); - /* Logic: '/Logical Operator4' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator4' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator4_fo = (rtb_Compare && (rtDW.t_now - + rtb_is_ending_with_5 = (rtb_Compare && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_m >= 3000U)); - /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtb_TmpSignalConversionAt1DLookupTable7Inport1[0] = rtDW.ADC_Data_Model.Sensor_Front_Duct1; @@ -15010,493 +16781,493 @@ void HVAC_model_step(void) rtb_TmpSignalConversionAt1DLookupTable7Inport1[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[i] = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_TmpSignalConversionAt1DLookupTable7Inport1[i], rtConstP.pooled59, - rtConstP.pooled58, 1023U); + (rtb_TmpSignalConversionAt1DLookupTable7Inport1[i], rtConstP.pooled58, + rtConstP.pooled57, 1023U); } - /* End of Lookup_n-D: '/1-D Lookup Table7' */ + /* End of Lookup_n-D: '/1-D Lookup Table7' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant6' - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * DataStoreWrite: '/Data Store Write1' */ - if (rtb_LogicalOperator4_fo) { - rtb_y_pfc = 230; + if (rtb_is_ending_with_5) { + rtb_y_cy = 230; } else { - rtb_y_pfc = rtb_uDLookupTable7[1]; + rtb_y_cy = rtb_uDLookupTable7[1]; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ rtb_Divide1_cf = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_lu = (rtb_Divide1_cf < 0.15); + rtb_Compare_au = (rtb_Divide1_cf < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_eg = (rtb_Divide1_cf > 4.9); + rtb_Compare_gl = (rtb_Divide1_cf > 4.9); - /* Logic: '/Logical Operator2' */ - rtb_Compare_ah = (rtb_Compare_lu || rtb_Compare_eg); + /* Logic: '/Logical Operator2' */ + rtb_Compare_ah = (rtb_Compare_au || rtb_Compare_gl); - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator3_cz = (rtb_Compare_ah && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_k >= 3000U)); + rtb_LogicalOperator3_nz = (rtb_Compare_ah && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_kc >= 3000U)); - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' */ - if (rtb_LogicalOperator3_cz) { - rtb_y_nm = 230; + if (rtb_LogicalOperator3_nz) { + rtb_y_ac = 230; } else { - rtb_y_nm = rtb_uDLookupTable7[0]; + rtb_y_ac = rtb_uDLookupTable7[0]; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Product: '/Divide6' incorporates: - * Constant: '/Constant7' - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide5' + /* Product: '/Divide6' incorporates: + * Constant: '/Constant7' + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide5' */ rtb_Divide1_ea = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_pl = (rtb_Divide1_ea < 0.15); + rtb_Compare_e = (rtb_Divide1_ea < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_l = (rtb_Divide1_ea > 4.9); + rtb_Compare_gs = (rtb_Divide1_ea > 4.9); - /* Logic: '/Logical Operator5' */ - rtb_Compare_eu = (rtb_Compare_pl || rtb_Compare_l); + /* Logic: '/Logical Operator5' */ + rtb_Compare_eu = (rtb_Compare_e || rtb_Compare_gs); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator6 = (rtb_Compare_eu && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_p >= 3000U)); - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write3' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write3' */ if (rtb_LogicalOperator6) { - rtb_y_k5 = 230; + rtb_y_j5 = 230; } else { - rtb_y_k5 = rtb_uDLookupTable7[2]; + rtb_y_j5 = rtb_uDLookupTable7[2]; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Product: '/Divide8' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide7' + /* Product: '/Divide8' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide7' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; + rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_mw = (rtb_rate < 0.15); + rtb_Compare_n2 = (rtb_Divide8 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_e1 = (rtb_rate > 4.9); + rtb_Compare_jt = (rtb_Divide8 > 4.9); - /* Logic: '/Logical Operator7' */ - rtb_Compare_e3 = (rtb_Compare_mw || rtb_Compare_e1); + /* Logic: '/Logical Operator7' */ + rtb_Compare_e3 = (rtb_Compare_n2 || rtb_Compare_jt); - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator8 = (rtb_Compare_e3 && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_h >= 3000U)); - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant12' - * DataStoreWrite: '/Data Store Write4' + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant12' + * DataStoreWrite: '/Data Store Write4' */ if (rtb_LogicalOperator8) { - rtb_y_jq = 230; + rtb_y_d2 = 230; } else { - rtb_y_jq = rtb_uDLookupTable7[3]; + rtb_y_d2 = rtb_uDLookupTable7[3]; } - /* End of Switch: '/Switch4' */ + /* End of Switch: '/Switch4' */ - /* Product: '/Divide10' incorporates: - * Constant: '/Constant13' - * Constant: '/Constant14' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide9' + /* Product: '/Divide10' incorporates: + * Constant: '/Constant13' + * Constant: '/Constant14' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide9' */ - rtb_Product_n = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; + rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_bp = (rtb_Product_n < 0.15); + rtb_Compare_h2 = (rtb_Divide10 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_bt = (rtb_Product_n > 4.9); + rtb_Compare_nq = (rtb_Divide10 > 4.9); - /* Logic: '/Logical Operator9' */ - rtb_Compare_fr = (rtb_Compare_bp || rtb_Compare_bt); + /* Logic: '/Logical Operator9' */ + rtb_Compare_fr = (rtb_Compare_h2 || rtb_Compare_nq); - /* Logic: '/Logical Operator10' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator10' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator10 = (rtb_Compare_fr && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_i >= 3000U)); - /* Switch: '/Switch5' incorporates: - * Constant: '/Constant15' - * DataStoreWrite: '/Data Store Write5' + /* Switch: '/Switch5' incorporates: + * Constant: '/Constant15' + * DataStoreWrite: '/Data Store Write5' */ if (rtb_LogicalOperator10) { - rtb_y_el = 230; + rtb_y_jw = 230; } else { - rtb_y_el = rtb_uDLookupTable7[4]; + rtb_y_jw = rtb_uDLookupTable7[4]; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* Product: '/Divide11' incorporates: - * Constant: '/Constant16' - * Constant: '/Constant17' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide12' + /* Product: '/Divide11' incorporates: + * Constant: '/Constant16' + * Constant: '/Constant17' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide12' */ rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_p = (rtb_Divide11 < 0.15); + rtb_Compare_ck = (rtb_Divide11 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_eo = (rtb_Divide11 > 4.9); + rtb_Compare_ofn = (rtb_Divide11 > 4.9); - /* Logic: '/Logical Operator12' */ - rtb_Compare_b = (rtb_Compare_p || rtb_Compare_eo); + /* Logic: '/Logical Operator12' */ + rtb_Compare_b = (rtb_Compare_ck || rtb_Compare_ofn); - /* Logic: '/Logical Operator11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator11 = (rtb_Compare_b && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_cc >= 3000U)); - /* Switch: '/Switch6' incorporates: - * Constant: '/Constant18' - * DataStoreWrite: '/Data Store Write6' + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant18' + * DataStoreWrite: '/Data Store Write6' */ if (rtb_LogicalOperator11) { - rtb_y_bu = 230; + Duct6_F = 230; } else { - rtb_y_bu = rtb_uDLookupTable7[5]; + Duct6_F = rtb_uDLookupTable7[5]; } - /* End of Switch: '/Switch6' */ + /* End of Switch: '/Switch6' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[17] = rtb_LogicalOperator3_cz; + rtDW.dtc_state_error_model[17] = rtb_LogicalOperator3_nz; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_LogicalOperator3_cz) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_LogicalOperator3_nz) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[18] = rtb_Compare_lu; + rtDW.dtc_state_error_model[18] = rtb_Compare_au; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[17] = rtb_Compare_eg; + rtDW.dtc_state_error_model[17] = rtb_Compare_gl; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[18] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[19] = rtb_LogicalOperator4_fo; + rtDW.dtc_state_error_model[19] = rtb_is_ending_with_5; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_LogicalOperator4_fo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_is_ending_with_5) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[20] = rtb_LogicalOperator_fc; + rtDW.dtc_state_error_model[20] = rtb_Compare_m; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[19] = rtb_Compare_m4; + rtDW.dtc_state_error_model[19] = rtb_Compare_i; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[20] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[21] = rtb_LogicalOperator6; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator6) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[22] = rtb_Compare_pl; + rtDW.dtc_state_error_model[22] = rtb_Compare_e; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[21] = rtb_Compare_l; + rtDW.dtc_state_error_model[21] = rtb_Compare_gs; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[22] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[23] = rtb_LogicalOperator8; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator8) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[24] = rtb_Compare_mw; + rtDW.dtc_state_error_model[24] = rtb_Compare_n2; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[23] = rtb_Compare_e1; + rtDW.dtc_state_error_model[23] = rtb_Compare_jt; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[24] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[25] = rtb_LogicalOperator10; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator10) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[26] = rtb_Compare_bp; + rtDW.dtc_state_error_model[26] = rtb_Compare_h2; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[25] = rtb_Compare_bt; + rtDW.dtc_state_error_model[25] = rtb_Compare_nq; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[26] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[27] = rtb_LogicalOperator11; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator11) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[28] = rtb_Compare_p; + rtDW.dtc_state_error_model[28] = rtb_Compare_ck; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[27] = rtb_Compare_eo; + rtDW.dtc_state_error_model[27] = rtb_Compare_ofn; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[28] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct1_F = %d * 0.1 C\n',Sensor); */ - printf("Duct1_F = %d * 0.1 C\n", rtb_y_nm); + printf("Duct1_F = %d * 0.1 C\n", rtb_y_ac); fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct2_F = %d * 0.1 C\n',Sensor); */ - printf("Duct2_F = %d * 0.1 C\n", rtb_y_pfc); + printf("Duct2_F = %d * 0.1 C\n", rtb_y_cy); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write3' + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct3_F = %d * 0.1 C\n',Sensor); */ - printf("Duct3_F = %d * 0.1 C\n", rtb_y_k5); + printf("Duct3_F = %d * 0.1 C\n", rtb_y_j5); fflush(stdout); } - /* End of MATLAB Function: '/Write 3' */ + /* End of MATLAB Function: '/Write 3' */ - /* MATLAB Function: '/Write 4' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write4' + /* MATLAB Function: '/Write 4' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct4_F = %d * 0.1 C\n',Sensor); */ - printf("Duct4_F = %d * 0.1 C\n", rtb_y_jq); + printf("Duct4_F = %d * 0.1 C\n", rtb_y_d2); fflush(stdout); } - /* End of MATLAB Function: '/Write 4' */ + /* End of MATLAB Function: '/Write 4' */ - /* MATLAB Function: '/Write 5' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write5' + /* MATLAB Function: '/Write 5' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write5' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct5_F = %d * 0.1 C\n',Sensor); */ - printf("Duct5_F = %d * 0.1 C\n", rtb_y_el); + printf("Duct5_F = %d * 0.1 C\n", rtb_y_jw); fflush(stdout); } - /* End of MATLAB Function: '/Write 5' */ + /* End of MATLAB Function: '/Write 5' */ - /* MATLAB Function: '/Write 6' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write6' + /* MATLAB Function: '/Write 6' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write6' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct6_F = %d * 0.1 C\n',Sensor); */ - printf("Duct6_F = %d * 0.1 C\n", rtb_y_bu); + printf("Duct6_F = %d * 0.1 C\n", Duct6_F); fflush(stdout); } - /* End of MATLAB Function: '/Write 6' */ + /* End of MATLAB Function: '/Write 6' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_cz) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_nz) { /* : 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", @@ -15504,13 +17275,13 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator4_fo) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_is_ending_with_5) { /* : 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", @@ -15518,10 +17289,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR2' */ + /* End of MATLAB Function: '/Write ERROR2' */ - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator6) { @@ -15532,38 +17303,38 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* MATLAB Function: '/Write ERROR4' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Write ERROR4' incorporates: + * DataStoreRead: '/Data Store Read4' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator8) { /* : 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_rate); + rtb_Divide8); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR4' */ + /* End of MATLAB Function: '/Write ERROR4' */ - /* MATLAB Function: '/Write ERROR5' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/Write ERROR5' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator10) { /* : 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", - rtb_Product_n); + rtb_Divide10); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR5' */ + /* End of MATLAB Function: '/Write ERROR5' */ - /* MATLAB Function: '/Write ERROR6' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR6' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator11) { @@ -15574,471 +17345,471 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR6' */ + /* End of MATLAB Function: '/Write ERROR6' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_ah && (!rtDW.Cond_prev_private_DSTATE_h)) { - rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; + rtDW.t_start_delay_private_DSTATE_kc = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare && (!rtDW.Cond_prev_private_DSTATE_c)) { rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_eu && (!rtDW.Cond_prev_private_DSTATE_m)) { rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_e3 && (!rtDW.Cond_prev_private_DSTATE_j)) { rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_fr && (!rtDW.Cond_prev_private_DSTATE_f)) { rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_b && (!rtDW.Cond_prev_private_DSTATE_cn)) { rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide4' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_pl = (rtb_Divide1 < 0.15); + rtb_Compare_h2 = (rtb_Divide1 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_l = (rtb_Divide1 > 4.9); + rtb_Compare_nq = (rtb_Divide1 > 4.9); - /* Logic: '/Logical Operator5' */ - rtb_LogicalOperator_fc = (rtb_Compare_pl || rtb_Compare_l); + /* Logic: '/Logical Operator5' */ + rtb_Compare_m = (rtb_Compare_h2 || rtb_Compare_nq); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Compare_bp = (rtb_LogicalOperator_fc && (rtDW.t_now - + rtb_Compare_e = (rtb_Compare_m && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (rtb_Compare_bp) { + if (rtb_Compare_e) { Duct1_R = 230; } else { Duct1_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled59, - rtConstP.pooled58, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled58, + rtConstP.pooled57, 1023U); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' */ rtb_Divide1_cf = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_mw = (rtb_Divide1_cf < 0.15); + rtb_Compare_ck = (rtb_Divide1_cf < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_e1 = (rtb_Divide1_cf > 4.9); + rtb_Compare_ofn = (rtb_Divide1_cf > 4.9); - /* Logic: '/Logical Operator7' */ - rtb_Compare_m4 = (rtb_Compare_mw || rtb_Compare_e1); + /* Logic: '/Logical Operator7' */ + rtb_Compare_i = (rtb_Compare_ck || rtb_Compare_ofn); - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Compare_bt = (rtb_Compare_m4 && (rtDW.t_now - + rtb_Compare_gs = (rtb_Compare_i && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_o >= 3000U)); - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (rtb_Compare_bt) { + if (rtb_Compare_gs) { Duct2_R = 230; } else { Duct2_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled59, - rtConstP.pooled58, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled58, + rtConstP.pooled57, 1023U); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1_ea = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_i = (rtb_Divide1_ea < 0.15); + rtb_Compare_em = (rtb_Divide1_ea < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_n = (rtb_Divide1_ea > 4.9); + rtb_Compare_p = (rtb_Divide1_ea > 4.9); - /* Logic: '/Logical Operator' */ - rtb_Compare_lu = (rtb_Compare_i || rtb_Compare_n); + /* Logic: '/Logical Operator' */ + rtb_Compare_au = (rtb_Compare_em || rtb_Compare_p); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Compare_p = (rtb_Compare_lu && (rtDW.t_now - + rtb_Compare_n2 = (rtb_Compare_au && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oj >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (rtb_Compare_p) { + if (rtb_Compare_n2) { Duct3_R = 230; } else { Duct3_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled59, - rtConstP.pooled58, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled58, + rtConstP.pooled57, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; + rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_k4 = (rtb_rate < 0.15); + rtb_Compare_kmz = (rtb_Divide8 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_gq = (rtb_rate > 4.9); + rtb_Compare_lb = (rtb_Divide8 > 4.9); - /* Logic: '/Logical Operator2' */ - rtb_Compare_eg = (rtb_Compare_k4 || rtb_Compare_gq); + /* Logic: '/Logical Operator2' */ + rtb_Compare_gl = (rtb_Compare_kmz || rtb_Compare_lb); - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Compare_eo = (rtb_Compare_eg && (rtDW.t_now - + rtb_Compare_jt = (rtb_Compare_gl && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oy >= 3000U)); - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (rtb_Compare_eo) { + if (rtb_Compare_jt) { Duct4_R = 230; } else { Duct4_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled59, - rtConstP.pooled58, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled58, + rtConstP.pooled57, 1023U); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[29] = rtb_Compare_p; + rtDW.dtc_state_error_model[29] = rtb_Compare_n2; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_p) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_n2) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[30] = rtb_Compare_i; + rtDW.dtc_state_error_model[30] = 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[29] = rtb_Compare_n; + rtDW.dtc_state_error_model[29] = rtb_Compare_p; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[30] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[31] = rtb_Compare_eo; + rtDW.dtc_state_error_model[31] = rtb_Compare_jt; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_eo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_jt) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[32] = rtb_Compare_k4; + rtDW.dtc_state_error_model[32] = rtb_Compare_kmz; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[31] = rtb_Compare_gq; + rtDW.dtc_state_error_model[31] = rtb_Compare_lb; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[32] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[33] = rtb_Compare_bp; + rtDW.dtc_state_error_model[33] = rtb_Compare_e; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_bp) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_e) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[34] = rtb_Compare_pl; + rtDW.dtc_state_error_model[34] = rtb_Compare_h2; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[33] = rtb_Compare_l; + rtDW.dtc_state_error_model[33] = rtb_Compare_nq; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[34] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[35] = rtb_Compare_bt; + rtDW.dtc_state_error_model[35] = rtb_Compare_gs; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_bt) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_gs) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[36] = rtb_Compare_mw; + rtDW.dtc_state_error_model[36] = rtb_Compare_ck; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[35] = rtb_Compare_e1; + rtDW.dtc_state_error_model[35] = rtb_Compare_ofn; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[36] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' + /* MATLAB Function: '/Write ' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct1_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - Gain = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; + rtb_Saturation2_a = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct1 > 32767) { - Gain = 32767U; + rtb_Saturation2_a = 32767U; } - printf("Duct1_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)Gain); + printf("Duct1_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)rtb_Saturation2_a); fflush(stdout); } - /* End of MATLAB Function: '/Write ' */ + /* End of MATLAB Function: '/Write ' */ - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct2_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - Gain = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; + rtb_Saturation2_a = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct2 > 32767) { - Gain = 32767U; + rtb_Saturation2_a = 32767U; } - printf("Duct2_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)Gain); + printf("Duct2_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)rtb_Saturation2_a); fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct3_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - Gain = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; + rtb_Saturation2_a = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct3 > 32767) { - Gain = 32767U; + rtb_Saturation2_a = 32767U; } - printf("Duct3_R = %d * 0.1 C %d V\n", Duct1_R, (int16_t)Gain); + printf("Duct3_R = %d * 0.1 C %d V\n", Duct1_R, (int16_t)rtb_Saturation2_a); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct4_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - Gain = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; + rtb_Saturation2_a = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct4 > 32767) { - Gain = 32767U; + rtb_Saturation2_a = 32767U; } - printf("Duct4_R = %d * 0.1 C %d V\n", Duct2_R, (int16_t)Gain); + printf("Duct4_R = %d * 0.1 C %d V\n", Duct2_R, (int16_t)rtb_Saturation2_a); fflush(stdout); } - /* End of MATLAB Function: '/Write 3' */ + /* End of MATLAB Function: '/Write 3' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_p) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_n2) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n", @@ -16046,27 +17817,27 @@ 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' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_eo) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_jt) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n", - rtb_rate); + rtb_Divide8); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_bp) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_e) { /* : 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", @@ -16074,13 +17845,13 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR2' */ + /* End of MATLAB Function: '/Write ERROR2' */ - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_bt) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_gs) { /* : 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", @@ -16088,542 +17859,380 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_lu && (!rtDW.Cond_prev_private_DSTATE_l)) { + if (rtb_Compare_au && (!rtDW.Cond_prev_private_DSTATE_l)) { rtDW.t_start_delay_private_DSTATE_oj = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_eg && (!rtDW.Cond_prev_private_DSTATE_ja)) { + if (rtb_Compare_gl && (!rtDW.Cond_prev_private_DSTATE_ja)) { rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_LogicalOperator_fc && (!rtDW.Cond_prev_private_DSTATE_g)) { + if (rtb_Compare_m && (!rtDW.Cond_prev_private_DSTATE_g)) { rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_m4 && (!rtDW.Cond_prev_private_DSTATE_cd)) { + if (rtb_Compare_i && (!rtDW.Cond_prev_private_DSTATE_cd)) { rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' + * UnitDelay: '/Unit Delay' + * UnitDelay: '/Unit Delay1' + * UnitDelay: '/Unit Delay' + * UnitDelay: '/Unit Delay' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / 4095.0 * 5.0; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_MultMsg_Idx = 0U; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FL_ro = + rtDW.UnitDelay_DSTATE_da; + 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 = + rtDW.UnitDelay1_DSTATE_k; + 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 = + rtDW.UnitDelay_DSTATE_my; + 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 = + rtDW.UnitDelay_DSTATE_lt; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RR_ro = rtDW.Incar_RR; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Compare_mw = (rtb_Divide1 < 0.15); + rtDW.dtc_state_error_model[2] = rtb_LogicalOperator1_n; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - rtb_Compare_e1 = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_pl = (rtb_Compare_mw || rtb_Compare_e1); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_i = (rtb_Compare_pl && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_go >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table2' - */ - if (rtb_Compare_i) { - rtDW.Incar_FL = 200; - } else { - rtDW.Incar_FL = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled64, - rtConstP.pooled9, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' - */ - rtb_Divide1_cf = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL / 4095.0 * - 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_k4 = (rtb_Divide1_cf < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_gq = (rtb_Divide1_cf > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_l = (rtb_Compare_k4 || rtb_Compare_gq); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_n = (rtb_Compare_l && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_j >= 3000U)); - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table1' - */ - if (rtb_Compare_n) { - rtDW.Incar_RL = 200; - } else { - rtDW.Incar_RL = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled64, - rtConstP.pooled9, 1023U); - } - - /* End of Switch: '/Switch1' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[2] = rtb_Compare_i; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_i) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_LogicalOperator1_n) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[3] = rtb_Compare_mw; + rtDW.dtc_state_error_model[3] = rtb_Compare_g2; - /* 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_e1; + rtDW.dtc_state_error_model[2] = rtb_Compare_c5j; } 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' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[6] = rtb_Compare_n; + rtDW.dtc_state_error_model[6] = rtb_LogicalOperator3; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_n) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_LogicalOperator3) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[7] = rtb_Compare_k4; + rtDW.dtc_state_error_model[7] = rtb_Compare_fbl; - /* 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_gq; + rtDW.dtc_state_error_model[6] = rtb_Compare_j; } 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 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_i) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_n) { /* : if(IncarFLErr) */ /* : fprintf('CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_FL = %f V\n',Sensor_Incar_Temp_FL); */ printf("CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_FL = %f V\n", - rtb_Divide1); + rtb_FLU_tg_correct_o); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_n) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3) { /* : 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_Divide1_cf); + rtb_Divide3); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write IncarFL' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/Write IncarFL' incorporates: + * DataStoreRead: '/Data Store Read' + * UnitDelay: '/Unit Delay' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('IncarFL = %d * 0.1 C\n',IncarFL); */ - printf("IncarFL = %d * 0.1 C\n", rtDW.Incar_FL); + printf("IncarFL = %d * 0.1 C\n", rtDW.UnitDelay_DSTATE_da); fflush(stdout); } - /* End of MATLAB Function: '/Write IncarFL' */ + /* End of MATLAB Function: '/Write IncarFL' */ - /* MATLAB Function: '/Write IncarRL' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write IncarRL' incorporates: + * DataStoreRead: '/Data Store Read1' + * UnitDelay: '/Unit Delay' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('IncarRL = %d * 0.1 C\n',IncarRL); */ - printf("IncarRL = %d * 0.1 C\n", rtDW.Incar_RL); + printf("IncarRL = %d * 0.1 C\n", rtDW.UnitDelay_DSTATE_my); fflush(stdout); } - /* End of MATLAB Function: '/Write IncarRL' */ + /* End of MATLAB Function: '/Write IncarRL' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_pl && (!rtDW.Cond_prev_private_DSTATE_e)) { + if (rtb_LogicalOperator && (!rtDW.Cond_prev_private_DSTATE_e)) { rtDW.t_start_delay_private_DSTATE_go = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_l && (!rtDW.Cond_prev_private_DSTATE_mv)) { + if (rtb_FailCond_i && (!rtDW.Cond_prev_private_DSTATE_mv)) { rtDW.t_start_delay_private_DSTATE_j = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / 4095.0 * 5.0; + rtDW.dtc_state_error_model[4] = rtb_LogicalOperator1_m2; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - rtb_Compare_h3 = (rtb_Divide1 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_gl = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_mw = (rtb_Compare_h3 || rtb_Compare_gl); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_k4 = (rtb_Compare_mw && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_kw >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table2' - */ - if (rtb_Compare_k4) { - rtDW.Incar_FR = 200; - } else { - rtDW.Incar_FR = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled64, - rtConstP.pooled9, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' - */ - rtb_Divide1_cf = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * - 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_b0 = (rtb_Divide1_cf < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_i0 = (rtb_Divide1_cf > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_e1 = (rtb_Compare_b0 || rtb_Compare_i0); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_gq = (rtb_Compare_e1 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_gd >= 3000U)); - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - * Lookup_n-D: '/1-D Lookup Table1' - */ - if (rtb_Compare_gq) { - rtDW.Incar_RR = 200; - } else { - rtDW.Incar_RR = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled64, - rtConstP.pooled9, 1023U); - } - - /* End of Switch: '/Switch1' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[4] = rtb_Compare_k4; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_k4) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_LogicalOperator1_m2) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[5] = rtb_Compare_h3; + rtDW.dtc_state_error_model[5] = rtb_Compare_l; - /* 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_gl; + rtDW.dtc_state_error_model[4] = rtb_Compare_bnt; } 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' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[8] = rtb_Compare_gq; + rtDW.dtc_state_error_model[8] = rtb_LogicalOperator3_p5; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_gq) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_LogicalOperator3_p5) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[9] = rtb_Compare_b0; + rtDW.dtc_state_error_model[9] = rtb_Compare_g4; - /* 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_i0; + rtDW.dtc_state_error_model[8] = rtb_Compare_dd; } 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 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_k4) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_m2) { /* : 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", - rtb_Divide1); + rtb_FLU_tg_correct_n); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_gq) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_p5) { /* : 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_Divide1_cf); + rtb_Divide3_hk); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write IncarFR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write IncarFR' incorporates: + * DataStoreRead: '/Data Store Read' + * UnitDelay: '/Unit Delay1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('IncarFR = %d * 0.1 C\n',IncarFR); */ - printf("IncarFR = %d * 0.1 C\n", rtDW.Incar_FR); + printf("IncarFR = %d * 0.1 C\n", rtDW.UnitDelay1_DSTATE_k); fflush(stdout); } - /* End of MATLAB Function: '/Write IncarFR' */ + /* End of MATLAB Function: '/Write IncarFR' */ - /* MATLAB Function: '/Write IncarRR' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* MATLAB Function: '/Write IncarRR' incorporates: + * DataStoreRead: '/Data Store Read1' + * UnitDelay: '/Unit Delay' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('IncarRR = %d * 0.1 C\n',IncarRR); */ - printf("IncarRR = %d * 0.1 C\n", rtDW.Incar_RR); + printf("IncarRR = %d * 0.1 C\n", rtDW.UnitDelay_DSTATE_lt); fflush(stdout); } - /* End of MATLAB Function: '/Write IncarRR' */ + /* End of MATLAB Function: '/Write IncarRR' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_mw && (!rtDW.Cond_prev_private_DSTATE_jl)) { - rtDW.t_start_delay_private_DSTATE_kw = rtDW.t_now; + if (rtb_FailCond_gd && (!rtDW.Cond_prev_private_DSTATE_jl)) { + rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_e1 && (!rtDW.Cond_prev_private_DSTATE_ei)) { + if (rtb_FailCond_p0 && (!rtDW.Cond_prev_private_DSTATE_ei)) { rtDW.t_start_delay_private_DSTATE_gd = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Write new FR' */ + rtDW.Temp_FR_store = rtb_Merge1; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.LOGGER_ACP = 0.0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16633,23 +18242,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16659,23 +18268,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16685,23 +18294,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16711,23 +18320,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16737,23 +18346,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16763,23 +18372,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16789,23 +18398,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16815,23 +18424,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16841,23 +18450,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16867,15 +18476,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16885,15 +18494,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16903,15 +18512,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16921,15 +18530,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16939,15 +18548,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16957,15 +18566,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16975,15 +18584,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -16993,15 +18602,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -17012,15 +18621,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -17031,23 +18640,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (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) { @@ -17057,23 +18666,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' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide1 = (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) { @@ -17083,11 +18692,11 @@ 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' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -17096,11 +18705,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -17109,11 +18718,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write1' */ + /* End of MATLAB Function: '/Write1' */ - /* MATLAB Function: '/Write2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -17123,11 +18732,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write2' */ + /* End of MATLAB Function: '/Write2' */ - /* MATLAB Function: '/Write3' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write3' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -17137,11 +18746,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write3' */ + /* End of MATLAB Function: '/Write3' */ - /* MATLAB Function: '/Write4' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write4' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -17150,11 +18759,113 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write4' */ + /* End of MATLAB Function: '/Write4' */ - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' + /* Chart: '/Zone_Climate_Logic_Auto_FL2' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read8' + */ + Zone_Climate_Logic_Auto_FL2(0.0, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, + rtDW.CCU_MODE_RL, rtDW.CCU_AC_REAR, &rtB.out_def_a, &rtB.out_face_p, + &rtB.out_foot_e, &rtB.out_auto_c, &rtB.out_ac_h, + &rtDW.sf_Zone_Climate_Logic_Auto_FL2); + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.CCU_FACE_RL = rtB.out_face_p; + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.CCU_FOOT_RL = rtB.out_foot_e; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.CCU_MODE_RL = rtB.out_auto_c; + + /* Chart: '/Zone_Climate_Logic_Auto_FL3' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read9' + */ + Zone_Climate_Logic_Auto_FL2(0.0, rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, + rtDW.CCU_MODE_RR, rtDW.CCU_AC_REAR, &rtB.out_def_m, &rtB.out_face_a, + &rtB.out_foot_m, &rtB.out_auto_d, &rtB.out_ac_i, + &rtDW.sf_Zone_Climate_Logic_Auto_FL3); + + /* DataStoreWrite: '/Data Store Write4' */ + rtDW.CCU_FACE_RR = rtB.out_face_a; + + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_FOOT_RR = rtB.out_foot_m; + + /* DataStoreWrite: '/Data Store Write6' */ + rtDW.CCU_MODE_RR = rtB.out_auto_d; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write7' + * Logic: '/Logical Operator1' + */ + rtDW.CCU_AC_REAR = (uint8_t)((rtB.out_ac_h != 0.0) || (rtB.out_ac_i != 0.0)); + + /* Chart: '/Zone_Climate_Logic_Auto_FL1' incorporates: + * DataStoreRead: '/Data Store Read38' + * DataStoreRead: '/Data Store Read39' + * DataStoreRead: '/Data Store Read40' + * DataStoreRead: '/Data Store Read41' + * DataStoreRead: '/Data Store Read6' + */ + Zone_Climate_Logic_Auto_FL1(rtDW.CCU_DEF_FL, rtDW.CCU_FACE_FL, + rtDW.CCU_FOOT_FL, rtDW.CCU_MODE_FL, rtDW.CCU_AC_FRONT, &rtB.out_def_i, + &rtB.out_face_o, &rtB.out_foot_g, &rtB.out_auto_h, &rtB.out_ac_m, + &rtDW.sf_Zone_Climate_Logic_Auto_FL1); + + /* Chart: '/Zone_Climate_Logic_Auto_FL4' incorporates: + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read62' + * DataStoreRead: '/Data Store Read63' + * DataStoreRead: '/Data Store Read7' + */ + Zone_Climate_Logic_Auto_FL1(rtDW.CCU_DEF_FR, rtDW.CCU_FACE_FR, + rtDW.CCU_FOOT_FR, rtDW.CCU_MODE_FR, rtDW.CCU_AC_FRONT, &rtB.out_def, + &rtB.out_face, &rtB.out_foot, &rtB.out_auto, &rtB.out_ac, + &rtDW.sf_Zone_Climate_Logic_Auto_FL4); + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + */ + rtDW.CCU_AC_FRONT = (uint8_t)((rtB.out_ac_m != 0.0) || (rtB.out_ac != 0.0)); + + /* DataStoreWrite: '/Data Store Write28' */ + rtDW.CCU_FACE_FL = rtB.out_face_o; + + /* DataStoreWrite: '/Data Store Write29' */ + rtDW.CCU_FOOT_FL = rtB.out_foot_g; + + /* DataStoreWrite: '/Data Store Write30' */ + rtDW.CCU_MODE_FL = rtB.out_auto_h; + + /* DataStoreWrite: '/Data Store Write32' */ + rtDW.CCU_FACE_FR = rtB.out_face; + + /* DataStoreWrite: '/Data Store Write33' */ + rtDW.CCU_FOOT_FR = rtB.out_foot; + + /* DataStoreWrite: '/Data Store Write34' */ + rtDW.CCU_MODE_FR = rtB.out_auto; + + /* DataStoreWrite: '/Data Store Write35' */ + rtDW.CCU_DEF_FR = rtB.out_def; + + /* DataStoreWrite: '/Data Store Write37' */ + rtDW.CCU_DEF_FL = rtB.out_def_i; + + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreWrite: '/Data Store Write' */ rtDW.eCompChiller_Err = ((rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompComErr_Stat != 0) || (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompTempSensErr_Stat != 0) || @@ -17164,178 +18875,614 @@ void HVAC_model_step(void) (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompTorqueStallErr_Stat != 0) || (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompVoltSensErr_Stat != 0)); - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreWrite: '/Data Store Write' */ rtDW.eComp_InputC = (uint16_t) (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInputC_Val_ro << 7); - /* Bias: '/Bias' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* Bias: '/Bias' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.eComp_Temp = (int16_t) (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInvTemp_Val_ro - 50); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain1' - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain1' + * Gain: '/Gain2' */ - rtDW.AMB_RAW = (int16_t)floor((0.01 * (double) + rtb_Merge1 = (int16_t)floor((0.01 * (double) rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro - 40.0) * 10.0); - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* If: '/If' incorporates: + * RelationalOperator: '/Relational Operator1' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.UnitDelay_DSTATE_d5 == -9999) { + /* Outputs for IfAction SubSystem: '/Инициализация температуры' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.AMB_store = rtb_Merge1; + + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtb_FLU_tg_correct_o = rtDW.AMB_store; + + /* End of Outputs for SubSystem: '/Инициализация температуры' */ + } else { + /* Outputs for IfAction SubSystem: '/Фильтрация температуры' incorporates: + * ActionPort: '/Action Port' + */ + /* Lookup_n-D: '/Get LVL for temp' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtb_y_pc = rtConstP.pooled48[plook_u32s16_bincka(rtb_Merge1, + rtConstP.GetLVLfortemp_bp01Data, 5U)]; + + /* 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' + */ + u_hd(rtb_Merge1, rtb_y_pc, &rtb_Saturation4_l, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_a5(rtb_Merge1, rtb_y_pc, &rtb_Saturation4_l, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of If: '/If1' */ + + /* 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' + */ + u_de(rtb_Merge1, rtb_y_pc, &rtb_u_gnq, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_co(rtb_Merge1, rtb_y_pc, &rtb_u_gnq, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of If: '/If1' */ + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read15' + * UnitDelay: '/Unit Delay' + */ + rtb_dt_ca = rtDW.t_now - rtDW.UnitDelay_DSTATE; + + /* 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' + */ + /* 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' + */ + u_hd(rtb_Merge1, rtb_y_pc, &rtb_Merge_jf, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_a5(rtb_Merge1, rtb_y_pc, &rtb_Merge_jf, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of If: '/If1' */ + + /* 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' + */ + u_de(rtb_Merge1, rtb_y_pc, &rtb_Merge_et, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_co(rtb_Merge1, rtb_y_pc, &rtb_Merge_et, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* 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' + */ + if (fabs((double)rtb_Merge1 - rtDW.AMB_store) <= 0.01) { + /* SignalConversion generated from: '/AMB_new' */ + rtb_Divide1 = rtDW.AMB_store; + } else { + if (rtb_Merge1 > rtDW.AMB_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_y_pc = rtb_Merge_jf; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_y_pc = (int16_t)-rtb_Merge_et; + } + + /* SignalConversion generated from: '/AMB_new' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' + */ + rtb_Divide1 = (double)rtb_dt_ca / 60000.0 * (double)rtb_y_pc + + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Быстро из-за флага' */ + } else if (rtDW.VehicleSpeed > 50) { + /* Outputs for IfAction SubSystem: '/Быстро из-за скорости' incorporates: + * ActionPort: '/Action Port' + */ + /* 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 (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_hd(rtb_Merge1, rtb_y_pc, &rtb_Merge_jf, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_a5(rtb_Merge1, rtb_y_pc, &rtb_Merge_jf, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of If: '/If1' */ + + /* 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' + */ + u_de(rtb_Merge1, rtb_y_pc, &rtb_Merge_et, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_co(rtb_Merge1, rtb_y_pc, &rtb_Merge_et, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* 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' + */ + if (fabs((double)rtb_Merge1 - rtDW.AMB_store) <= 0.01) { + /* SignalConversion generated from: '/AMB_new' */ + rtb_Divide1 = rtDW.AMB_store; + } else { + if (rtb_Merge1 > rtDW.AMB_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_y_pc = rtb_Merge_jf; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_y_pc = (int16_t)-rtb_Merge_et; + } + + /* SignalConversion generated from: '/AMB_new' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' + */ + rtb_Divide1 = (double)rtb_dt_ca / 60000.0 * (double)rtb_y_pc + + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Быстро из-за скорости' */ + } else { + /* Outputs for IfAction SubSystem: '/Медленно' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' + */ + rtDW.KEEP_UNTIL_SPEED_DROPS = 0U; + + /* 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_y_pc + 1; + if (rtb_y_pc + 1 > 32767) { + i = 32767; + } + + rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[i - 1]; + + /* MATLAB Function: '/обычное понижение темп.' */ + /* : fprintf("lvl = %d\n", lvl); */ + printf("lvl = %d\n", rtb_y_pc); + 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' + */ + /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ + if (fabs((double)rtb_Merge1 - rtDW.AMB_store) <= 0.01) { + rtb_Divide1 = rtb_Merge1; + } else { + if (rtb_Merge1 > rtDW.AMB_store) { + /* Switch: '/Скорость >10' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' + */ + if (rtDW.VehicleSpeed > 10) { + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtb_Divide1 = look1_iu16td_binlc(rtDW.VehicleSpeed, + rtConstP.uDLookupTable1_bp01Data, rtb_f_lower_upper_bounds, 1U); + } else { + rtb_Divide1 = 0.5; + } + + /* End of Switch: '/Скорость >10' */ + } else { + /* MATLAB Function: '/обычное понижение темп.' incorporates: + * MATLAB Function: '/границы' + */ + i = rtb_y_pc + 1; + if (rtb_y_pc + 1 > 32767) { + i = 32767; + } + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/обычное понижение темп.' + * UnaryMinus: '/Unary Minus' + */ + rtb_Divide1 = -(double)g_aucAMBRATE_FALLING[i - 1]; + } + + rtb_Divide1 = (double)rtb_dt_ca / 60000.0 * rtb_Divide1 + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Медленно' */ + } + + /* End of If: '/If' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * MATLAB Function: '/Coolant temp threshold' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + if (rtDW.ECT <= g_ssAMBFILT_WATER) { + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Merge1 - rtDW.AMB_store) > 0.01) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/AMBraw > AMB' + * UnaryMinus: '/Unary Minus' + */ + if (rtb_Merge1 > rtDW.AMB_store) { + rtb_y_pc = rtb_Saturation4_l; + } else { + rtb_y_pc = (int16_t)-rtb_u_gnq; + } + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' + */ + rtDW.AMB_store += (double)rtb_dt_ca / 60000.0 * (double)rtb_y_pc; + } + + /* End of Switch: '/Switch1' */ + } else if (rtDW.VehicleSpeed != 0) { + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Write new AMB' + * Switch: '/Switch' + */ + rtDW.AMB_store = rtb_Divide1; + } + + /* End of Switch: '/Switch' */ + + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Write new AMB' + */ + rtb_FLU_tg_correct_o = rtDW.AMB_store; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read15' + */ + rtDW.UnitDelay_DSTATE = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Фильтрация температуры' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.AMB = (int16_t)floor(rtb_FLU_tg_correct_o); + + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Sun_R = 4.01575 * (double) rtDW.CCUCAN_BCM_Climatic_model.SolarSensRightVal_ro; - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Sun_L = 4.01575 * (double) rtDW.CCUCAN_BCM_Climatic_model.SolarSensLeftVal_ro; - /* Bias: '/Bias' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' + /* Bias: '/Bias' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.ECT = (int16_t)(rtDW.CCUCAN_EMS_Veh_model.EMS_EngCoolTemp_Val_ro - 40); - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.Engine_speed = 0.25 * (double) rtDW.CCUCAN_EMS_Veh_model.EMS_nICEngineSpeed3_Val_ro; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write2' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write2' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' */ - rtDW.VehicleSpeed = (int16_t)floor(0.01 * (double) + rtDW.VehicleSpeed = (uint16_t)(0.01 * (double) rtDW.CCUCAN_ESC_04_model.ESC_VehicleSpeed_ro); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read7' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtDW.BCM_T15_Stat = rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T15_Stat; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read8' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read8' */ rtDW.eCompChiller_Req = rtDW.CCUCAN_EMS_HVC_REQ_MSG_MODEL.EMS_eCompChiller_Req; - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreRead: '/Data Store Read1' */ + /* DataStoreRead: '/Data Store Read1' */ if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write6' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write6' */ rtDW.CCU_MODE_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 1); } - /* 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 (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write10' */ rtDW.CCU_MODE_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.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 (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_DEF_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req <= 1); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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 (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write12' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write12' */ rtDW.CCU_FACE_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req <= 1); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* 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 (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write13' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write13' */ rtDW.CCU_FOOT_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req <= 1); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* 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 (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write14' + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write14' */ if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 7) { rtDW.CCU_BLOWERS_FL = 0U; @@ -17343,18 +19490,18 @@ void HVAC_model_step(void) rtDW.CCU_BLOWERS_FL = rtDW.FIU_CCU1_MODEL.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 (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write15' + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write15' */ if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 7) { rtDW.CCU_BLOWERS_FR = 0U; @@ -17362,50 +19509,50 @@ void HVAC_model_step(void) rtDW.CCU_BLOWERS_FR = rtDW.FIU_CCU1_MODEL.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 (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write16' */ + /* DataStoreWrite: '/Data Store Write16' */ rtDW.CCU_AUTOMODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; } - /* 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 (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write17' */ + /* DataStoreWrite: '/Data Store Write17' */ rtDW.CCU_AUTOMODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; - /* 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 (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req > 0) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write19' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreWrite: '/Data Store Write19' */ switch (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req) { case 1: @@ -17421,371 +19568,519 @@ 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: '/Subsystem21' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem21' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write22' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write22' */ rtDW.CCU_AC_FRONT = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req <= 1); } - /* End of Outputs for SubSystem: '/Subsystem21' */ + /* End of Outputs for SubSystem: '/Subsystem21' */ - /* Outputs for Enabled SubSystem: '/Subsystem24' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem24' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req > 0) { - /* If: '/If' */ + /* If: '/If' */ if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 1) { - /* Outputs for IfAction SubSystem: '/sync front action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync front action' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' */ rtDW.enable_front_sync = 1U; - /* End of Outputs for SubSystem: '/sync front action' */ + /* End of Outputs for SubSystem: '/sync front action' */ } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 2) { - /* Outputs for IfAction SubSystem: '/full sync action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/full sync action' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.enable_full_sync = 1U; - /* End of Outputs for SubSystem: '/full sync action' */ + /* End of Outputs for SubSystem: '/full sync action' */ } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 3) { - /* Outputs for IfAction SubSystem: '/sync off action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync off action' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' */ rtDW.disable_front_sync = 1U; - /* End of Outputs for SubSystem: '/sync off action' */ + /* End of Outputs for SubSystem: '/sync off action' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } - /* End of Outputs for SubSystem: '/Subsystem24' */ + /* End of Outputs for SubSystem: '/Subsystem24' */ - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' */ rtDW.CCU_SET_FL = (uint16_t)((0.5 * (double) rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro + 15.0) * 10.0); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtDW.CCU_SET_FL > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_FL = 305U; } else if (rtDW.CCU_SET_FL < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_FL = 155U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + 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: '/Subsystem5' */ + /* End of Outputs for SubSystem: '/Subsystem5' */ - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' */ rtDW.CCU_SET_FR = (uint16_t)((0.5 * (double) rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro + 15.0) * 10.0); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtDW.CCU_SET_FR > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_FR = 305U; } else if (rtDW.CCU_SET_FR < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_FR = 155U; } - /* 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; + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + 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: '/Subsystem6' */ + /* End of Outputs for SubSystem: '/Subsystem6' */ - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_DEF_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req <= 1); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_DEF_FL = rtDW.CCU_DEF_FR; } - /* End of Outputs for SubSystem: '/Subsystem7' */ + /* End of Outputs for SubSystem: '/Subsystem7' */ - /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write8' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write8' */ rtDW.CCU_FACE_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req <= 1); } - /* End of Outputs for SubSystem: '/Subsystem8' */ + /* End of Outputs for SubSystem: '/Subsystem8' */ - /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write9' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write9' */ rtDW.CCU_FOOT_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req <= 1); } - /* End of DataStoreRead: '/Data Store Read1' */ - /* End of Outputs for SubSystem: '/Subsystem9' */ + /* End of DataStoreRead: '/Data Store Read1' */ + /* End of Outputs for SubSystem: '/Subsystem9' */ - /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreRead: '/Data Store Read2' */ + /* DataStoreRead: '/Data Store Read2' */ if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' */ rtDW.CCU_SET_RL = (uint16_t)((0.5 * (double) rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro + 15.0) * 10.0); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtDW.CCU_SET_RL > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_RL = 305U; } else if (rtDW.CCU_SET_RL < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_RL = 155U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RL_params = 1U; + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + 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: '/Subsystem2' */ + /* End of Outputs for SubSystem: '/Subsystem2' */ - /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_MODE_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 1); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RL_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem27' */ + /* End of Outputs for SubSystem: '/Subsystem27' */ - /* Outputs for Enabled SubSystem: '/Subsystem28' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem28' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RL_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem28' */ + /* End of Outputs for SubSystem: '/Subsystem28' */ - /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_FACE_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req <= 1); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RL_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem29' */ + /* End of Outputs for SubSystem: '/Subsystem29' */ - /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' */ rtDW.CCU_SET_RR = (uint16_t)((0.5 * (double) rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro + 15.0) * 10.0); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtDW.CCU_SET_RR > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_RR = 305U; } else if (rtDW.CCU_SET_RR < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_RR = 155U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RR_params = 1U; + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + 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: '/Subsystem3' */ + /* End of Outputs for SubSystem: '/Subsystem3' */ - /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_FOOT_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req <= 1); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RL_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem30' */ + /* End of Outputs for SubSystem: '/Subsystem30' */ - /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_MODE_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 1); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem31' */ + /* End of Outputs for SubSystem: '/Subsystem31' */ - /* Outputs for Enabled SubSystem: '/Subsystem32' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem32' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem32' */ + /* End of Outputs for SubSystem: '/Subsystem32' */ - /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_FACE_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req <= 1); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem33' */ + /* End of Outputs for SubSystem: '/Subsystem33' */ - /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_FOOT_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req <= 1); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem34' */ + /* End of Outputs for SubSystem: '/Subsystem34' */ - /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write1' */ if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 7) { rtDW.CCU_BLOWERS_RL = 0U; @@ -17793,23 +20088,23 @@ void HVAC_model_step(void) rtDW.CCU_BLOWERS_RL = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RL_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem35' */ + /* End of Outputs for SubSystem: '/Subsystem35' */ - /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write1' */ if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 7) { rtDW.CCU_BLOWERS_RR = 0U; @@ -17817,108 +20112,113 @@ void HVAC_model_step(void) rtDW.CCU_BLOWERS_RR = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem36' */ + /* End of Outputs for SubSystem: '/Subsystem36' */ - /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_AUTOMODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; } - /* End of Outputs for SubSystem: '/Subsystem37' */ + /* End of Outputs for SubSystem: '/Subsystem37' */ - /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_AUTOMODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_RR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem38' */ + /* End of Outputs for SubSystem: '/Subsystem38' */ - /* Outputs for Enabled SubSystem: '/Subsystem41' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem41' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_AC_REAR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem41' */ + /* End of Outputs for SubSystem: '/Subsystem41' */ - /* Outputs for Enabled SubSystem: '/Subsystem44' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem44' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req > 0) { - /* If: '/If' */ + /* If: '/If' */ if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 1) { - /* Outputs for IfAction SubSystem: '/sync rear action' incorporates: - * ActionPort: '/Action Port' + /* 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_rear_sync = 1U; - /* End of Outputs for SubSystem: '/sync rear action' */ + /* End of Outputs for SubSystem: '/sync rear action' */ } else if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 2) { - /* Outputs for IfAction SubSystem: '/sync off rear action' incorporates: - * ActionPort: '/Action Port' + /* 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_rear_sync = 1U; - /* End of Outputs for SubSystem: '/sync off rear action' */ + /* End of Outputs for SubSystem: '/sync off rear action' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } - /* End of DataStoreRead: '/Data Store Read2' */ - /* End of Outputs for SubSystem: '/Subsystem44' */ + /* End of DataStoreRead: '/Data Store Read2' */ + /* End of Outputs for SubSystem: '/Subsystem44' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read18' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read20' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * DataStoreRead: '/Data Store Read23' - * DataStoreRead: '/Data Store Read24' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read18' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read20' + * DataStoreRead: '/Data Store Read21' + * DataStoreRead: '/Data Store Read22' + * DataStoreRead: '/Data Store Read23' + * DataStoreRead: '/Data Store Read24' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_ModeFL_Stat = rtDW.CCU_MODE_FL; rtDW.CCU_STAT1_MODEL.CCU_ModeFR_Stat = rtDW.CCU_MODE_FR; @@ -17941,112 +20241,112 @@ void HVAC_model_step(void) rtDW.CCU_STAT1_MODEL.CCU_Recirculation_Stat = rtDW.CCU_RECIRC; rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedFL_Stat = rtDW.CCU_BLOWERS_FL; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read13' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read13' */ if (rtDW.CCU_SET_FL > 310) { - Gain = 310U; + rtb_Saturation2_a = 310U; } else if (rtDW.CCU_SET_FL < 155) { - Gain = 155U; + rtb_Saturation2_a = 155U; } else { - Gain = rtDW.CCU_SET_FL; + rtb_Saturation2_a = rtDW.CCU_SET_FL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.CCU_STAT1_MODEL.CCU_TargetTempFL_Stat_ro = (uint8_t)((0.10000038146972656 - * (double)Gain - 15.5) * 2.0); + * (double)rtb_Saturation2_a - 15.5) * 2.0); rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedFR_Stat = rtDW.CCU_BLOWERS_FR; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read14' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read14' */ if (rtDW.CCU_SET_FR > 310) { - Gain = 310U; + rtb_Saturation2_a = 310U; } else if (rtDW.CCU_SET_FR < 155) { - Gain = 155U; + rtb_Saturation2_a = 155U; } else { - Gain = rtDW.CCU_SET_FR; + rtb_Saturation2_a = rtDW.CCU_SET_FR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read26' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias1' + * DataStoreRead: '/Data Store Read26' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.CCU_STAT1_MODEL.CCU_TargetTempFR_Stat_ro = (uint8_t)((0.10000038146972656 - * (double)Gain - 15.5) * 2.0); + * (double)rtb_Saturation2_a - 15.5) * 2.0); rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedRL_Stat = rtDW.CCU_BLOWERS_RL; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read15' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read15' */ if (rtDW.CCU_SET_RR > 310) { - Gain = 310U; + rtb_Saturation2_a = 310U; } else if (rtDW.CCU_SET_RR < 155) { - Gain = 155U; + rtb_Saturation2_a = 155U; } else { - Gain = rtDW.CCU_SET_RR; + rtb_Saturation2_a = rtDW.CCU_SET_RR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read25' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read25' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.CCU_STAT1_MODEL.CCU_TargetTempRR_Stat_ro = (uint8_t)((0.10000038146972656 - * (double)Gain - 15.5) * 2.0); + * (double)rtb_Saturation2_a - 15.5) * 2.0); rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedRR_Stat = rtDW.CCU_BLOWERS_RR; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read16' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' */ if (rtDW.CCU_SET_RL > 310) { - Gain = 310U; + rtb_Saturation2_a = 310U; } else if (rtDW.CCU_SET_RL < 155) { - Gain = 155U; + rtb_Saturation2_a = 155U; } else { - Gain = rtDW.CCU_SET_RL; + rtb_Saturation2_a = rtDW.CCU_SET_RL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.CCU_STAT1_MODEL.CCU_TargetTempRL_Stat_ro = (uint8_t)((0.10000038146972656 - * (double)Gain - 15.5) * 2.0); + * (double)rtb_Saturation2_a - 15.5) * 2.0); - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read34' - * DataStoreRead: '/Data Store Read35' - * DataStoreWrite: '/Data Store Write15' - * DataStoreWrite: '/Data Store Write16' - * DataStoreWrite: '/Data Store Write17' - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read27' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read29' + * DataStoreRead: '/Data Store Read34' + * DataStoreRead: '/Data Store Read35' + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_STAT2_MODEL.CCU_AromaCartridgeSw_Stat = 0U; - rtDW.CCU_STAT2_MODEL.CCU_FrontZoneSync_Stat = rtB.sync_front; - rtDW.CCU_STAT2_MODEL.CCU_RearZoneSync_Stat = rtB.sync_rear; - rtDW.CCU_STAT2_MODEL.CCU_AllZoneSync_Stat = rtB.sync_all; + rtDW.CCU_STAT2_MODEL.CCU_FrontZoneSync_Stat = rtDW.CCU_FRONT_SYNC; + rtDW.CCU_STAT2_MODEL.CCU_RearZoneSync_Stat = rtDW.CCU_REAR_SYNC; + rtDW.CCU_STAT2_MODEL.CCU_AllZoneSync_Stat = rtDW.CCU_ALL_ZONE_SYNC; rtDW.CCU_STAT2_MODEL.CCU_ACfront_Stat = rtDW.CCU_AC_FRONT; rtDW.CCU_STAT2_MODEL.CCU_ACrear_Stat = rtDW.CCU_AC_REAR; rtDW.CCU_STAT2_MODEL.CCU_ACmaxF_Stat = 0U; @@ -18067,31 +20367,31 @@ void HVAC_model_step(void) rtDW.CCU_STAT2_MODEL.CCU_DeflectorSwRLB_Stat = 0U; rtDW.CCU_STAT2_MODEL.CCU_DeflectorSwRRB_Stat = 0U; - /* BusCreator: '/Bus Creator2' incorporates: - * DataStoreRead: '/Data Store Read30' - * DataStoreRead: '/Data Store Read31' - * DataStoreWrite: '/Data Store Write2' - * 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' - * Logic: '/Logical Operator13' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator4' + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreRead: '/Data Store Read30' + * DataStoreRead: '/Data Store Read31' + * DataStoreWrite: '/Data Store Write2' + * 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' + * Logic: '/Logical Operator13' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator4' */ - CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_Compare_i || - rtb_Compare_n); - CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_Compare_k4 || - rtb_Compare_gq); - CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = (uint8_t)(rtb_LogicalOperator3_cz || - rtb_LogicalOperator4_fo || rtb_LogicalOperator6 || rtb_LogicalOperator8 || + CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_LogicalOperator1_n || + rtb_LogicalOperator3); + CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_LogicalOperator1_m2 || + rtb_LogicalOperator3_p5); + CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = (uint8_t)(rtb_LogicalOperator3_nz || + rtb_is_ending_with_5 || rtb_LogicalOperator6 || rtb_LogicalOperator8 || rtb_LogicalOperator10 || rtb_LogicalOperator11); - CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(rtb_Compare_p || - rtb_Compare_eo || rtb_Compare_bp || rtb_Compare_bt); + CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(rtb_Compare_n2 || + rtb_Compare_jt || rtb_Compare_e || rtb_Compare_gs); CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = rtb_LogicalOperator1_f1; CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = rtb_LogicalOperator1_f; CCU_Errors_Model.CCU_DeflectorSwErrF_Stat = 0U; @@ -18112,20 +20412,14 @@ void HVAC_model_step(void) CCU_Errors_Model.CCU_IonizationErr_Stat = 0U; CCU_Errors_Model.CCU_AromaErr_Stat = 0U; - /* MATLAB Function: '/MATLAB Function' */ - if (rpm_phys > 255) { - rpm_phys = 255; - } - - /* BusCreator: '/Bus Creator3' incorporates: + /* BusCreator: '/Bus Creator3' incorporates: * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write3' - * DataTypeConversion: '/Data Type Conversion' - * MATLAB Function: '/MATLAB Function' + * DataStoreWrite: '/Data Store Write3' + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/MATLAB Function' */ rtDW.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = (uint8_t)rpm_phys; rtDW.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompReq_Stat = Enable_Comp_PID; - rtDW.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = 0U; rtDW.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_RC = 0U; rtDW.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_CS = 0U; @@ -18140,48 +20434,48 @@ void HVAC_model_step(void) * Switch: '/Switch1' */ if (Valve_2_way <= 100) { - /* BusCreator: '/Bus Creator4' incorporates: - * DataStoreWrite: '/Data Store Write4' + /* BusCreator: '/Bus Creator4' incorporates: + * DataStoreWrite: '/Data Store Write4' */ rtDW.CCU_Msg3_model.CCU_FAN_Req = Valve_2_way; } else { - /* BusCreator: '/Bus Creator4' incorporates: - * DataStoreWrite: '/Data Store Write4' + /* BusCreator: '/Bus Creator4' incorporates: + * DataStoreWrite: '/Data Store Write4' */ rtDW.CCU_Msg3_model.CCU_FAN_Req = 100U; } /* End of Saturate: '/Saturation5' */ - /* BusCreator: '/Bus Creator4' incorporates: - * DataStoreWrite: '/Data Store Write4' + /* BusCreator: '/Bus Creator4' incorporates: + * DataStoreWrite: '/Data Store Write4' */ rtDW.CCU_Msg3_model.CCU_RestMode_Stat = 0U; rtDW.CCU_Msg3_model.CCU_IncarTempSum_Val_ro = 0U; rtDW.CCU_Msg3_model.CCU_MSG3_RC = 0U; rtDW.CCU_Msg3_model.CCU_MSG3_CS = 0U; - /* 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_y_ko4 = rtDW.MaxPositionCh0_private[i]; - if (rtb_y_ko4 != 0) { + rtb_y_pc = rtDW.MaxPositionCh0_private[i]; + if (rtb_y_pc != 0) { rtb_Divide1 = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double) - rtb_y_ko4 * 100.0; + rtb_y_pc * 100.0; } else { rtb_Divide1 = 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_Divide1 > 100.0) { rtb_DataTypeConversion_bh[i] = 100U; @@ -18191,56 +20485,56 @@ void HVAC_model_step(void) rtb_DataTypeConversion_bh[i] = (uint8_t)rtb_Divide1; } - /* 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_hzc = rtDW.stepSig_private; + rtb_y_b2 = rtDW.stepSig_private; } else { - rtb_y_hzc = 1; + rtb_y_b2 = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_hzc) { + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_b2) { 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_hzc + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -18249,55 +20543,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_hzc; + rtB.Merge_f1 = rtb_y_b2; - /* 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_hzc + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -18306,55 +20600,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ - rtB.Merge_f1 = rtb_y_hzc; + rtB.Merge_f1 = rtb_y_b2; - /* 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_hzc + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -18363,79 +20657,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_hzc; + rtB.Merge_f1 = rtb_y_b2; - /* 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_hzc + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -18444,91 +20738,91 @@ 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_f1 = rtb_y_hzc; + rtB.Merge_f1 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_nq[i] = + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1_n) + { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MinPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -18537,54 +20831,54 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_hzc; + rtB.Merge_f1 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -18593,77 +20887,77 @@ 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_f1 = rtb_y_hzc; + rtB.Merge_f1 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' */ + /* DataStoreWrite: '/Data Store Write6' */ rtDW.Coils_private[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -18672,91 +20966,91 @@ 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_f1 = rtb_y_hzc; + rtB.Merge_f1 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ break; case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_nq[i] = + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1_n) + { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MaxPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -18765,74 +21059,74 @@ 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_f1 = rtb_y_hzc; + rtB.Merge_f1 = rtb_y_b2; - /* 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_oo[i] = (double)rtDW.MaxPositionCh0_private[i] / (double) rtConstP.ACT1_Value[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ + /* RelationalOperator: '/Compare' */ rtb_Divide1 = rtb_Divide1_oo[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_LogicalOperator1 = ((rtb_Divide1 >= 0.5) && (rtb_Divide1 <= 1.9)); - rtb_LogicalOperator3_nq[i] = rtb_LogicalOperator1; + rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* 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_LogicalOperator1) && (rtDW.ErrorCalibration_private[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 (rtDW.LOGGER_LIN > 0.0) { @@ -18845,92 +21139,92 @@ void HVAC_model_step(void) /* : fprintf('[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh0_private[i], - rtb_Divide1_oo[i], (int16_t)!rtb_LogicalOperator3_nq[i]); + rtb_Divide1_oo[i], (int16_t)!rtb_LogicalOperator3_i5[i]); fflush(stdout); } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_LogicalOperator1_n) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_a = 4; + rtB.Merge_ac = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_a = 1; + rtB.Merge_ac = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_nq[i] = (rtb_Divide1_oo[i] > 1.5); + rtb_LogicalOperator3_i5[i] = (rtb_Divide1_oo[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo; + rtDW.CCU_ActuatorErrF_Stat_private = rtb_LogicalOperator1_n; 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_LogicalOperator1 = rtb_LogicalOperator3_nq[i]; + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; rtDW.COM_private[i] = rtb_LogicalOperator1; - /* 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_LogicalOperator1 || (rtDW.ErrorActuator[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtDW.LOGGER_LIN >= 0.0) { /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_nq[i]) { + if (rtb_LogicalOperator3_i5[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); @@ -18938,35 +21232,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_nq[i]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[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_LogicalOperator1) && (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_LogicalOperator1; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private = 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 (rtDW.LOGGER_LIN > 0.0) { @@ -18987,66 +21281,66 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtb_LogicalOperator4_fo = (rtDW.ErrorCalibration_private[0] != 0); + rtb_LogicalOperator1_n = (rtDW.ErrorCalibration_private[0] != 0); for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || (rtDW.ErrorCalibration_private[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_LogicalOperator1_n) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_a = 2; + rtB.Merge_ac = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_a = 4; + rtB.Merge_ac = 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' */ + /* RelationalOperator: '/Compare' */ rtb_Divide1 = rtb_Divide1_oo[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_LogicalOperator1 = (((rtb_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && (rtDW.ErrorCalibration_private[i] != 0)); - rtb_LogicalOperator3_nq[i] = rtb_LogicalOperator1; + rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private[i] = rtb_LogicalOperator1; } - /* 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 (rtDW.LOGGER_LIN > 0.0) { @@ -19057,7 +21351,7 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 9; i++) { /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_nq[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh0_private[i], @@ -19067,41 +21361,41 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator2' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || + rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + if (rtb_LogicalOperator1_n) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ - rtB.Merge_a = 3; + rtB.Merge_ac = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_a = 4; + rtB.Merge_ac = 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 (rtDW.LOGGER_LIN > 1.0) { @@ -19109,414 +21403,412 @@ void HVAC_model_step(void) rtb_Divide1 = rt_roundd(rtDW.ErrorHomming_private); if (rtb_Divide1 < 32768.0) { if (rtb_Divide1 >= -32768.0) { - rtb_y_ko4 = (int16_t)rtb_Divide1; + rtb_y_pc = (int16_t)rtb_Divide1; } else { - rtb_y_ko4 = INT16_MIN; + rtb_y_pc = INT16_MIN; } } else { - rtb_y_ko4 = INT16_MAX; + rtb_y_pc = INT16_MAX; } - printf("[LIN 1] Homing 3. Start Time on step %d\n", rtb_y_ko4); + printf("[LIN 1] Homing 3. Start Time on step %d\n", rtb_y_pc); 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 < 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_dt_an, + MATLABFunction(rtDW.Start_timer_n, rtDW.t_now, &rtb_dt_e, &rtDW.sf_MATLABFunction_h); - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { /* : fprintf("[LIN 1] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_Subtract = rtb_dt_an; - if (rtb_dt_an > 2147483647U) { - rtb_Subtract = 2147483647U; + rtb_dt_ca = rtb_dt_e; + if (rtb_dt_e > 2147483647U) { + rtb_dt_ca = 2147483647U; } - printf("[LIN 1] Homing 3. Start TIme dt = %d \n", (int32_t) - rtb_Subtract); + printf("[LIN 1] Homing 3. Start TIme dt = %d \n", (int32_t)rtb_dt_ca); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ - if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* If: '/If' */ + if (rtb_dt_e > 30000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ - IfActionSubsystem(&rtB.Merge_a, &rtDW.ErrorHomming_private, + /* Merge: '/Merge' */ + IfActionSubsystem(&rtB.Merge_ac, &rtDW.ErrorHomming_private, &rtDW.Start_timer_n, &rtDW.stepSig_private); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer_n = 1.0; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_out_fxe[i]; + rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_out_cc[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_bq[8]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* DataStoreRead: '/Data Store Read4' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write1' */ - rtDW.BUS_ADR_private[1] = rtb_DataTypeConversion_bh[1]; + rtDW.BUS_ADR_private[1] = rtB.req_REC; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* DataStoreRead: '/Data Store Read3' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion_bh[2]; + rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion2_bb; - /* 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_bq[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_bq[0]; - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' 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_bq[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_bq[5]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ Valve_2_way = 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)(Valve_2_way * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_bh[i] == + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bh[i] == Valve_2_way); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { 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_bh[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled95[i]); + rtConstP.pooled98[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; + rtB.Merge_ac = 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_a, &rtDW.CCU_ActuatorErrF_Stat_private, + IfActionSubsystem1(&rtB.Merge_ac, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private, rtDW.ErrorActuator, rtDW.ErrorCalibration_private, &rtDW.LOGGER_LIN, 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' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_out_fxe[i]; + rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_out_cc[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_bq[8]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* DataStoreRead: '/Data Store Read4' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write1' */ - rtDW.BUS_ADR_private[1] = rtb_DataTypeConversion_bh[1]; + rtDW.BUS_ADR_private[1] = rtB.req_REC; - /* DataStoreRead: '/Data Store Read3' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read3' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[2] = rtDW.OSA_valve_depend; + rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion2_bb; - /* 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_bq[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_bq[0]; - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' 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_bq[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_bq[5]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ Valve_2_way = 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)(Valve_2_way * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_bh[i] == + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bh[i] == Valve_2_way); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { 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_bh[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled95[i]); + rtConstP.pooled98[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; + rtB.Merge_ac = 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' */ - rtDW.stepHoming_private = rtB.Merge_a; + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.stepHoming_private = rtB.Merge_ac; - /* 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]; @@ -19528,63 +21820,63 @@ void HVAC_model_step(void) Actuator_Ch0_Command_Model.Speed_SET[i] = rtDW.Speed_private[i]; Actuator_Ch0_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private[i]; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' */ - rtb_LogicalOperator3_nq[i] = (rtDW.ErrorCalibration_private[i] == 0); + rtb_LogicalOperator3_i5[i] = (rtDW.ErrorCalibration_private[i] == 0); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || + rtb_LogicalOperator3_i5[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write7' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + * Logic: '/Logical Operator' + * Product: '/Product' */ - if (rtb_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private[i] * rtConstP.pooled95[i]); + rtDW.ErrorCalibration_private[i] * rtConstP.pooled98[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_y_ko4 = rtDW.MaxPositionCh1_private[i]; - if (rtb_y_ko4 != 0) { + rtb_y_pc = rtDW.MaxPositionCh1_private[i]; + if (rtb_y_pc != 0) { rtb_Divide1 = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double) - rtb_y_ko4 * 100.0; + rtb_y_pc * 100.0; } else { rtb_Divide1 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtb_Divide1 > 100.0) { rtb_DataTypeConversion_bq[i] = 100U; } else if (rtb_Divide1 < 0.0) { @@ -19593,68 +21885,68 @@ void HVAC_model_step(void) rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_Divide1; } - /* 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_bq[6] = 0U; rtb_DataTypeConversion_bq[7] = 0U; rtb_DataTypeConversion_bq[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { Actuator_pos_percent_Ch1[i] = rtb_DataTypeConversion_bq[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_hzc = rtDW.stepSig_private_h; + rtb_y_b2 = rtDW.stepSig_private_h; } else { - rtb_y_hzc = 1; + rtb_y_b2 = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_hzc) { + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_b2) { 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_hzc + 1); + rtB.Merge_e = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -19663,55 +21955,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_hzc; + rtB.Merge_e = rtb_y_b2; - /* 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_hzc + 1); + rtB.Merge_e = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -19720,55 +22012,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ - rtB.Merge_e = rtb_y_hzc; + rtB.Merge_e = rtb_y_b2; - /* 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_hzc + 1); + rtB.Merge_e = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -19777,79 +22069,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_hzc; + rtB.Merge_e = rtb_y_b2; - /* 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_hzc + 1); + rtB.Merge_e = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -19858,91 +22150,91 @@ 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_hzc; + rtB.Merge_e = rtb_y_b2; - /* 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_b0[i] = + rtb_LogicalOperator3_n1[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_LogicalOperator4_fo = rtb_LogicalOperator3_b0[0]; + rtb_LogicalOperator1_n = rtb_LogicalOperator3_n1[0]; for (i = 0; i < 5; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_b0[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_n1[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_LogicalOperator4_fo) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1_n) + { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MinPositionCh1_private[i] = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_e = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -19962,54 +22254,54 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_hzc; + rtB.Merge_e = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_e = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -20018,79 +22310,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_hzc; + rtB.Merge_e = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_g[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_e = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -20099,72 +22391,72 @@ 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_hzc; + rtB.Merge_e = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ break; case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 6; i++) { - rtb_LogicalOperator3_b0[i] = + rtb_LogicalOperator3_n1[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' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_b0[0]; + rtb_LogicalOperator1_n = rtb_LogicalOperator3_n1[0]; for (i = 0; i < 5; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_b0[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_n1[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0) && - rtb_LogicalOperator4_fo) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1_n) + { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MaxPositionCh1_private[i] = @@ -20173,19 +22465,19 @@ void HVAC_model_step(void) rtDW.MaxPositionCh1_private[i] = 0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_e = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -20205,81 +22497,81 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_hzc; + rtB.Merge_e = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 6; i++) { rtb_Divide1_oo[i] = (double)rtDW.MaxPositionCh1_private[i] / (double) rtConstP.ACT1_Value_c[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_oo[6] = 1.0; rtb_Divide1_oo[7] = 1.0; rtb_Divide1_oo[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' */ + /* RelationalOperator: '/Compare' */ rtb_Divide1 = rtb_Divide1_oo[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_LogicalOperator1 = ((rtb_Divide1 >= 0.9) && (rtb_Divide1 <= 1.1)); - rtb_LogicalOperator3_nq[i] = rtb_LogicalOperator1; + rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* 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_LogicalOperator1) && (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 (rtDW.LOGGER_LIN > 0.0) { @@ -20292,92 +22584,92 @@ void HVAC_model_step(void) /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh1_private[i], - rtb_Divide1_oo[i], (int16_t)!rtb_LogicalOperator3_nq[i]); + rtb_Divide1_oo[i], (int16_t)!rtb_LogicalOperator3_i5[i]); fflush(stdout); } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_LogicalOperator1_n) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_p = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_nq[i] = (rtb_Divide1_oo[i] > 1.5); + rtb_LogicalOperator3_i5[i] = (rtb_Divide1_oo[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo; + rtDW.CCU_ActuatorErrF_Stat_private = rtb_LogicalOperator1_n; 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_LogicalOperator1 = rtb_LogicalOperator3_nq[i]; + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; rtDW.COM_private_g[i] = rtb_LogicalOperator1; - /* 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_LogicalOperator1 || (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 (rtDW.LOGGER_LIN >= 0.0) { /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_nq[i]) { + if (rtb_LogicalOperator3_i5[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); @@ -20385,35 +22677,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_nq[i]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[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_LogicalOperator1) && (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_LogicalOperator1; } - /* 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 (rtDW.LOGGER_LIN > 0.0) { @@ -20434,66 +22726,66 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtb_LogicalOperator4_fo = (rtDW.ErrorCalibration_private_p[0] != 0); + rtb_LogicalOperator1_n = (rtDW.ErrorCalibration_private_p[0] != 0); for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || (rtDW.ErrorCalibration_private_p[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_LogicalOperator1_n) { + /* 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' */ + /* RelationalOperator: '/Compare' */ rtb_Divide1 = rtb_Divide1_oo[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_LogicalOperator1 = (((rtb_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && (rtDW.ErrorCalibration_private_p[i] != 0)); - rtb_LogicalOperator3_nq[i] = rtb_LogicalOperator1; + rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private_p[i] = rtb_LogicalOperator1; } - /* 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 (rtDW.LOGGER_LIN > 0.0) { @@ -20504,7 +22796,7 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_nq[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh1_private[i], @@ -20514,41 +22806,41 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator2' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || + rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + if (rtb_LogicalOperator1_n) { + /* 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 (rtDW.LOGGER_LIN > 1.0) { @@ -20556,385 +22848,384 @@ void HVAC_model_step(void) rtb_Divide1 = rt_roundd(rtDW.ErrorHomming_private_h); if (rtb_Divide1 < 32768.0) { if (rtb_Divide1 >= -32768.0) { - rtb_y_ko4 = (int16_t)rtb_Divide1; + rtb_y_pc = (int16_t)rtb_Divide1; } else { - rtb_y_ko4 = INT16_MIN; + rtb_y_pc = INT16_MIN; } } else { - rtb_y_ko4 = INT16_MAX; + rtb_y_pc = INT16_MAX; } - printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_y_ko4); + printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_y_pc); 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_an, + MATLABFunction(rtDW.Start_timer_j, rtDW.t_now, &rtb_dt_e, &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 (rtDW.LOGGER_LIN > 1.0) { /* : fprintf("[LIN 2] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_Subtract = rtb_dt_an; - if (rtb_dt_an > 2147483647U) { - rtb_Subtract = 2147483647U; + rtb_dt_ca = rtb_dt_e; + if (rtb_dt_e > 2147483647U) { + rtb_dt_ca = 2147483647U; } - printf("[LIN 2] Homing 3. Start TIme dt = %d \n", (int32_t) - rtb_Subtract); + printf("[LIN 2] Homing 3. Start TIme dt = %d \n", (int32_t)rtb_dt_ca); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ - if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* If: '/If' */ + if (rtb_dt_e > 30000U) { + /* 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' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_fb[i] = (uint8_t)rtb_out_fxe[i]; + rtb_DataTypeConversion_fb[i] = (uint8_t)rtb_out_cc[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_fb[2]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_fb[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_fb[6]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_fb[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' */ + /* Product: '/Product' */ Valve_2_way = 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)(Valve_2_way * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_bq[i] == + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == Valve_2_way); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { 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_bq[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled95[i]); + rtConstP.pooled98[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, &rtDW.LOGGER_LIN, rtDW.MODE_private_b, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/LIN1' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[0] = rtDW.PID_TempFUR; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_fb[i] = (uint8_t)rtb_out_fxe[i]; + rtb_DataTypeConversion_fb[i] = (uint8_t)rtb_out_cc[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_fb[2]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_fb[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_fb[6]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_fb[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' */ + /* Product: '/Product' */ Valve_2_way = 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)(Valve_2_way * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_bq[i] == + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == Valve_2_way); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { 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_bq[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled95[i]); + rtConstP.pooled98[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 (rtDW.LOGGER_LIN > 0.0) { @@ -20943,41 +23234,41 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private_f = rtB.Merge_p; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_e = rtDW.stepSig_private_h; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private_h = rtB.Merge_e; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { Actuator_Ch1_Command_Model.POS[i] = rtDW.POS_private_m[i]; @@ -20991,33 +23282,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_l0[i] = (rtDW.ErrorCalibration_private_p[i] == 0); + rtb_Compare_le[i] = (rtDW.ErrorCalibration_private_p[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_Compare_l0[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_Compare_le[0]; for (i = 0; i < 5; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || rtb_Compare_l0[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || rtb_Compare_le[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_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { rtb_DataTypeConversion_bq[i] = (uint8_t)((uint32_t) rtDW.ErrorCalibration_private_p[i] * rtConstP.Constant3_Value[i]); } else { @@ -21025,44 +23316,44 @@ 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_bq[6] = 0U; rtb_DataTypeConversion_bq[7] = 0U; rtb_DataTypeConversion_bq[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_bq[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private_g[i] = 0U; } - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ for (i = 0; i < 8; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain' - * Product: '/Divide' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Product: '/Divide' */ - rtb_y_ko4 = rtDW.MaxPositionCh2_private[i]; - if (rtb_y_ko4 != 0) { + rtb_y_pc = rtDW.MaxPositionCh2_private[i]; + if (rtb_y_pc != 0) { rtb_Divide1 = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double) - rtb_y_ko4 * 100.0; + rtb_y_pc * 100.0; } else { rtb_Divide1 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtb_Divide1 > 100.0) { rtb_DataTypeConversion_bq[i] = 100U; } else if (rtb_Divide1 < 0.0) { @@ -21071,66 +23362,66 @@ void HVAC_model_step(void) rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_Divide1; } - /* 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_bq[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { rtb_DataTypeConversion_fb[i] = rtb_DataTypeConversion_bq[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_hzc = rtDW.stepSig_private_g; + rtb_y_b2 = rtDW.stepSig_private_g; } else { - rtb_y_hzc = 1; + rtb_y_b2 = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_hzc) { + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_b2) { case 1: - /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_c[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -21139,55 +23430,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_hzc; + rtB.Merge_b4 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -21196,55 +23487,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ - rtB.Merge_b4 = rtb_y_hzc; + rtB.Merge_b4 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_c[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 1U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -21253,79 +23544,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_hzc; + rtB.Merge_b4 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_k[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -21334,89 +23625,89 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_hzc; + rtB.Merge_b4 = rtb_y_b2; - /* 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_l0[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) + rtb_Compare_le[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_LogicalOperator4_fo = rtb_Compare_l0[0]; + rtb_LogicalOperator1_n = rtb_Compare_le[0]; for (i = 0; i < 7; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && rtb_Compare_l0[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && rtb_Compare_le[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_LogicalOperator4_fo) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1_n) + { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MinPositionCh2_private[i] = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -21436,54 +23727,54 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_hzc; + rtB.Merge_b4 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -21492,79 +23783,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_hzc; + rtB.Merge_b4 = rtb_y_b2; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_k[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -21573,70 +23864,70 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_hzc; + rtB.Merge_b4 = rtb_y_b2; - /* 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_l0[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) + rtb_Compare_le[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_LogicalOperator4_fo = rtb_Compare_l0[0]; + rtb_LogicalOperator1_n = rtb_Compare_le[0]; for (i = 0; i < 7; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && rtb_Compare_l0[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && rtb_Compare_le[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_LogicalOperator4_fo) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1_n) + { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MaxPositionCh2_private[i] = @@ -21645,19 +23936,19 @@ void HVAC_model_step(void) rtDW.MaxPositionCh2_private[i] = 0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_hzc + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_b2 + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -21677,79 +23968,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_hzc; + rtB.Merge_b4 = rtb_y_b2; - /* 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_oo[i] = (double)rtDW.MaxPositionCh2_private[i] / (double) rtConstP.ACT1_Value_m[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_oo[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' */ + /* RelationalOperator: '/Compare' */ rtb_Divide1 = rtb_Divide1_oo[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_LogicalOperator1 = ((rtb_Divide1 >= 0.9) && (rtb_Divide1 <= 1.1)); - rtb_LogicalOperator3_nq[i] = rtb_LogicalOperator1; + rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* 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_LogicalOperator1) && (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 (rtDW.LOGGER_LIN > 0.0) { @@ -21762,92 +24053,92 @@ void HVAC_model_step(void) /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh2_private[i], - rtb_Divide1_oo[i], (int16_t)!rtb_LogicalOperator3_nq[i]); + rtb_Divide1_oo[i], (int16_t)!rtb_LogicalOperator3_i5[i]); fflush(stdout); } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_LogicalOperator1_n) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h3 = 4; + rtB.Merge_h = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_h3 = 1; + rtB.Merge_h = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_nq[i] = (rtb_Divide1_oo[i] > 1.5); + rtb_LogicalOperator3_i5[i] = (rtb_Divide1_oo[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo; + rtDW.CCU_ActuatorErrF_Stat_private = rtb_LogicalOperator1_n; 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_LogicalOperator1 = rtb_LogicalOperator3_nq[i]; + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; rtDW.COM_private_k[i] = rtb_LogicalOperator1; - /* 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_LogicalOperator1 || (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 (rtDW.LOGGER_LIN >= 0.0) { /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_nq[i]) { + if (rtb_LogicalOperator3_i5[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); @@ -21855,35 +24146,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_nq[i]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[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_LogicalOperator1) && (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_LogicalOperator1; } - /* 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 (rtDW.LOGGER_LIN > 0.0) { @@ -21904,66 +24195,66 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtb_LogicalOperator4_fo = (rtDW.ErrorCalibration_private_b[0] != 0); + rtb_LogicalOperator1_n = (rtDW.ErrorCalibration_private_b[0] != 0); for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || (rtDW.ErrorCalibration_private_b[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_LogicalOperator1_n) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h3 = 2; + rtB.Merge_h = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h3 = 4; + rtB.Merge_h = 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' */ + /* RelationalOperator: '/Compare' */ rtb_Divide1 = rtb_Divide1_oo[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_LogicalOperator1 = (((rtb_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && (rtDW.ErrorCalibration_private_b[i] != 0)); - rtb_LogicalOperator3_nq[i] = rtb_LogicalOperator1; + rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private_b[i] = rtb_LogicalOperator1; } - /* 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 (rtDW.LOGGER_LIN > 0.0) { @@ -21974,7 +24265,7 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_nq[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh2_private[i], @@ -21984,41 +24275,41 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator2' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || + rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_LogicalOperator4_fo) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + if (rtb_LogicalOperator1_n) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ - rtB.Merge_h3 = 3; + rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h3 = 4; + rtB.Merge_h = 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 (rtDW.LOGGER_LIN > 1.0) { @@ -22026,383 +24317,382 @@ void HVAC_model_step(void) rtb_Divide1 = rt_roundd(rtDW.ErrorHomming_private_m); if (rtb_Divide1 < 32768.0) { if (rtb_Divide1 >= -32768.0) { - rtb_y_ko4 = (int16_t)rtb_Divide1; + rtb_y_pc = (int16_t)rtb_Divide1; } else { - rtb_y_ko4 = INT16_MIN; + rtb_y_pc = INT16_MIN; } } else { - rtb_y_ko4 = INT16_MAX; + rtb_y_pc = INT16_MAX; } - printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_y_ko4); + printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_y_pc); 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_an, + MATLABFunction(rtDW.Start_timer, rtDW.t_now, &rtb_dt_e, &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 (rtDW.LOGGER_LIN > 1.0) { /* : fprintf("[LIN 3] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_Subtract = rtb_dt_an; - if (rtb_dt_an > 2147483647U) { - rtb_Subtract = 2147483647U; + rtb_dt_ca = rtb_dt_e; + if (rtb_dt_e > 2147483647U) { + rtb_dt_ca = 2147483647U; } - printf("[LIN 3] Homing 3. Start TIme dt = %d \n", (int32_t) - rtb_Subtract); + printf("[LIN 3] Homing 3. Start TIme dt = %d \n", (int32_t)rtb_dt_ca); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ - if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* If: '/If' */ + if (rtb_dt_e > 30000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ - IfActionSubsystem(&rtB.Merge_h3, &rtDW.ErrorHomming_private_m, + /* Merge: '/Merge' */ + IfActionSubsystem(&rtB.Merge_h, &rtDW.ErrorHomming_private_m, &rtDW.Start_timer, &rtDW.stepSig_private_g); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer = 1.0; - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[0] = rtDW.PID_TempRR; - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[1] = rtDW.PID_TempRL; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 6; i++) { rtb_DataTypeConversion2_oi[i] = (uint8_t)rtb_Gain1_nj[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[2] = rtb_DataTypeConversion2_oi[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[3] = rtb_DataTypeConversion2_oi[4]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[4] = rtb_DataTypeConversion2_oi[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[5] = rtb_DataTypeConversion2_oi[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[6] = rtb_DataTypeConversion2_oi[5]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[7] = rtb_DataTypeConversion2_oi[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant1' + * SignalConversion generated from: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ Valve_2_way = 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)(Valve_2_way * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_bq[i] == + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == Valve_2_way); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { 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 Write7' - * DataStoreWrite: '/Data Store Write2' - * 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_bq[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled95[i]); + rtConstP.pooled98[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; + rtB.Merge_h = 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_h3, &rtDW.CCU_ActuatorErrF_Stat_private, + IfActionSubsystem1(&rtB.Merge_h, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private_k, rtDW.ErrorActuator_a, rtDW.ErrorCalibration_private_b, &rtDW.LOGGER_LIN, rtDW.MODE_private_c, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[0] = rtDW.PID_TempRR; - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[1] = rtDW.PID_TempRL; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 6; i++) { rtb_DataTypeConversion2_oi[i] = (uint8_t)rtb_Gain1_nj[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[2] = rtb_DataTypeConversion2_oi[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[3] = rtb_DataTypeConversion2_oi[4]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[4] = rtb_DataTypeConversion2_oi[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[5] = rtb_DataTypeConversion2_oi[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[6] = rtb_DataTypeConversion2_oi[5]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[7] = rtb_DataTypeConversion2_oi[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant1' + * SignalConversion generated from: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ Valve_2_way = 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)(Valve_2_way * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_bq[i] == + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == Valve_2_way); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_LogicalOperator3_nq[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo && - rtb_LogicalOperator3_nq[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n && + rtb_LogicalOperator3_i5[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_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { 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 Write7' - * DataStoreWrite: '/Data Store Write2' - * 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_bq[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled95[i]); + rtConstP.pooled98[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; + rtB.Merge_h = 4; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -22411,46 +24701,46 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.stepHoming_private_a = rtB.Merge_h3; + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.stepHoming_private_a = rtB.Merge_h; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_b4 = rtDW.stepSig_private_g; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ /* Outport: '/CCU_Errors_model' incorporates: * DataStoreRead: '/Data Store Read10' */ rtY.CCU_Errors_model = CCU_Errors_Model; - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private_g = rtB.Merge_b4; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { Actuator_Ch2_Command_Model.POS[i] = rtDW.POS_private_h[i]; @@ -22464,33 +24754,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_l0[i] = (rtDW.ErrorCalibration_private_b[i] == 0); + rtb_Compare_le[i] = (rtDW.ErrorCalibration_private_b[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator4_fo = rtb_Compare_l0[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_n = rtb_Compare_le[0]; for (i = 0; i < 7; i++) { - rtb_LogicalOperator4_fo = (rtb_LogicalOperator4_fo || rtb_Compare_l0[i + 1]); + rtb_LogicalOperator1_n = (rtb_LogicalOperator1_n || rtb_Compare_le[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_LogicalOperator4_fo) { + if (rtb_LogicalOperator1_n) { rtb_DataTypeConversion_bq[i] = (uint8_t)((uint32_t) rtDW.ErrorCalibration_private_b[i] * rtConstP.Constant3_Value_d[i]); } else { @@ -22498,46 +24788,46 @@ 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_bq[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_bq[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private_k[i] = 0U; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.LOGGER_LIN = 1.0; - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * Sum: '/Subtract' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * Sum: '/Subtract' */ - rtb_Gain_pl = (int16_t)(Duct_FLU_Tg - rtb_y_nm) * 26214; + rtb_Gain_pl = (int16_t)(Duct_FLU_Tg - rtb_y_ac) * 26214; - /* Sum: '/Sum' incorporates: - * DiscreteIntegrator: '/Integrator' - * Gain: '/Proportional Gain' - * Gain: '/Gain' - * Sum: '/SumI2' + /* Sum: '/Sum' incorporates: + * DiscreteIntegrator: '/Integrator' + * Gain: '/Gain' + * Gain: '/Proportional Gain' + * Sum: '/SumI2' */ rtb_SumI2_e = (int64_t)((int32_t)(((int64_t)rtb_Gain_pl << 30) >> 49) + (int32_t)(rtDW.Integrator_DSTATE >> 32)) << 32; - /* Saturate: '/Saturation' incorporates: - * DataStoreWrite: '/Data Store Write' - * Sum: '/SumI2' + /* Saturate: '/Saturation' incorporates: + * DataStoreWrite: '/Data Store Write' + * Sum: '/SumI2' */ if (rtb_SumI2_e >= 429496729600LL) { rtDW.PID_TempFUL = 100U; @@ -22547,27 +24837,27 @@ void HVAC_model_step(void) rtDW.PID_TempFUL = (uint8_t)(rtb_SumI2_e >> 32); } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * Sum: '/Subtract1' + /* Gain: '/Gain1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * Sum: '/Subtract1' */ - rpm_phys = (int16_t)(rtb_y_pj - rtb_y_pfc) * 26214; + rpm_phys = (int16_t)(rtb_y_e3 - rtb_y_cy) * 26214; - /* Sum: '/Sum' incorporates: - * DiscreteIntegrator: '/Integrator' - * Gain: '/Proportional Gain' - * Gain: '/Gain1' - * Sum: '/SumI2' + /* Sum: '/Sum' incorporates: + * DiscreteIntegrator: '/Integrator' + * Gain: '/Gain1' + * Gain: '/Proportional Gain' + * Sum: '/SumI2' */ rtb_SumI2_je = (int64_t)((int32_t)(((int64_t)rpm_phys << 30) >> 49) + (int32_t) (rtDW.Integrator_DSTATE_k >> 32)) << 32; - /* Saturate: '/Saturation' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Sum: '/SumI2' + /* Saturate: '/Saturation' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Sum: '/SumI2' */ if (rtb_SumI2_je >= 429496729600LL) { rtDW.PID_TempFUR = 100U; @@ -22577,27 +24867,27 @@ void HVAC_model_step(void) rtDW.PID_TempFUR = (uint8_t)(rtb_SumI2_je >> 32); } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain4' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read6' - * Sum: '/Subtract4' + /* Gain: '/Gain4' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read6' + * Sum: '/Subtract4' */ - rtb_Gain4 = (int16_t)(rtb_u0101_a - rtb_y_k5) * 26214; + rtb_Gain4 = (int16_t)(rtb_u0101_a - rtb_y_j5) * 26214; - /* Sum: '/Sum' incorporates: - * DiscreteIntegrator: '/Integrator' - * Gain: '/Proportional Gain' - * Gain: '/Gain4' - * Sum: '/SumI2' + /* Sum: '/Sum' incorporates: + * DiscreteIntegrator: '/Integrator' + * Gain: '/Gain4' + * Gain: '/Proportional Gain' + * Sum: '/SumI2' */ rtb_SumI2_b = (int64_t)((int32_t)(((int64_t)rtb_Gain4 << 30) >> 49) + (int32_t) (rtDW.Integrator_DSTATE_h >> 32)) << 32; - /* Saturate: '/Saturation' incorporates: - * DataStoreWrite: '/Data Store Write4' - * Sum: '/SumI2' + /* Saturate: '/Saturation' incorporates: + * DataStoreWrite: '/Data Store Write4' + * Sum: '/SumI2' */ if (rtb_SumI2_b >= 429496729600LL) { rtDW.PID_TempFLL = 100U; @@ -22607,27 +24897,27 @@ void HVAC_model_step(void) rtDW.PID_TempFLL = (uint8_t)(rtb_SumI2_b >> 32); } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain5' incorporates: - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read9' - * Sum: '/Subtract5' + /* Gain: '/Gain5' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read9' + * Sum: '/Subtract5' */ - rtb_Gain5 = (int16_t)(rtb_Add1_f - rtb_y_jq) * 26214; + rtb_Gain5 = (int16_t)(rtb_Merge_ja - rtb_y_d2) * 26214; - /* Sum: '/Sum' incorporates: - * DiscreteIntegrator: '/Integrator' - * Gain: '/Proportional Gain' - * Gain: '/Gain5' - * Sum: '/SumI2' + /* Sum: '/Sum' incorporates: + * DiscreteIntegrator: '/Integrator' + * Gain: '/Gain5' + * Gain: '/Proportional Gain' + * Sum: '/SumI2' */ rtb_SumI2_c = (int64_t)((int32_t)(((int64_t)rtb_Gain5 << 30) >> 49) + (int32_t) (rtDW.Integrator_DSTATE_i >> 32)) << 32; - /* Saturate: '/Saturation' incorporates: - * DataStoreWrite: '/Data Store Write5' - * Sum: '/SumI2' + /* Saturate: '/Saturation' incorporates: + * DataStoreWrite: '/Data Store Write5' + * Sum: '/SumI2' */ if (rtb_SumI2_c >= 429496729600LL) { rtDW.PID_TempFRL = 100U; @@ -22637,27 +24927,27 @@ void HVAC_model_step(void) rtDW.PID_TempFRL = (uint8_t)(rtb_SumI2_c >> 32); } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain2' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * Sum: '/Subtract2' + /* Gain: '/Gain2' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * Sum: '/Subtract2' */ rtb_Gain2 = (int16_t)(g_assEVA_TG_AMB_F_n - Duct1_R) * 26214; - /* Sum: '/Sum' incorporates: - * DiscreteIntegrator: '/Integrator' - * Gain: '/Proportional Gain' - * Gain: '/Gain2' - * Sum: '/SumI2' + /* Sum: '/Sum' incorporates: + * DiscreteIntegrator: '/Integrator' + * Gain: '/Gain2' + * Gain: '/Proportional Gain' + * Sum: '/SumI2' */ rtb_SumI2_o = (int64_t)((int32_t)(((int64_t)rtb_Gain2 << 30) >> 49) + (int32_t) (rtDW.Integrator_DSTATE_n >> 32)) << 32; - /* Saturate: '/Saturation' incorporates: - * DataStoreWrite: '/Data Store Write2' - * Sum: '/SumI2' + /* Saturate: '/Saturation' incorporates: + * DataStoreWrite: '/Data Store Write2' + * Sum: '/SumI2' */ if (rtb_SumI2_o >= 429496729600LL) { rtDW.PID_TempRL = 100U; @@ -22667,27 +24957,27 @@ void HVAC_model_step(void) rtDW.PID_TempRL = (uint8_t)(rtb_SumI2_o >> 32); } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain3' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * Sum: '/Subtract3' + /* Gain: '/Gain3' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * Sum: '/Subtract3' */ rtb_Gain3 = (int16_t)(g_assEVA_TG_AMB_R_h - Duct2_R) * 26214; - /* Sum: '/Sum' incorporates: - * DiscreteIntegrator: '/Integrator' - * Gain: '/Integral Gain' - * Gain: '/Proportional Gain' - * Gain: '/Gain3' + /* Sum: '/Sum' incorporates: + * DiscreteIntegrator: '/Integrator' + * Gain: '/Gain3' + * Gain: '/Integral Gain' + * Gain: '/Proportional Gain' */ rtb_IntegralGain = (int64_t)((int32_t)(((int64_t)rtb_Gain3 << 30) >> 49) + (int32_t)(rtDW.Integrator_DSTATE_a >> 32)) << 32; - /* Saturate: '/Saturation' incorporates: - * DataStoreWrite: '/Data Store Write3' - * Gain: '/Integral Gain' + /* Saturate: '/Saturation' incorporates: + * DataStoreWrite: '/Data Store Write3' + * Gain: '/Integral Gain' */ if (rtb_IntegralGain >= 429496729600LL) { rtDW.PID_TempRR = 100U; @@ -22697,271 +24987,281 @@ void HVAC_model_step(void) rtDW.PID_TempRR = (uint8_t)(rtb_IntegralGain >> 32); } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Product: '/Divide' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * Sum: '/Add' + /* Product: '/Divide' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * Sum: '/Add' */ rtb_Divide1 = (double)(Comp_Max_RPM_Allowed + rtb_Switch3_ed) / 4.0; - /* Switch: '/Switch' */ + /* Switch: '/Switch' */ if (rtb_Divide1 > 0.0) { - /* Saturate: '/Saturation2' */ + /* Saturate: '/Saturation2' */ if (rtb_Divide1 > 80.0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtDW.PWM_front = 80U; } else if (rtb_Divide1 < 15.0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtDW.PWM_front = 15U; } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtDW.PWM_front = (uint8_t)rtb_Divide1; } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.PWM_front = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * Sum: '/Add1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * Sum: '/Add1' */ - rtb_Divide1 = (double)(rtb_Merge_o + rtb_Merge_e) / 4.0; + rtb_Divide1 = (double)(Blower_AF_RL + rtb_Saturation9) / 4.0; - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ if (rtb_Divide1 > 0.0) { - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (rtb_Divide1 > 80.0) { - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' */ rtDW.PWM_rear = 80U; } else if (rtb_Divide1 < 15.0) { - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' */ rtDW.PWM_rear = 15U; } else { - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' */ rtDW.PWM_rear = (uint8_t)rtb_Divide1; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ } else { - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Constant: '/Constant3' - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Constant: '/Constant3' + * DataStoreWrite: '/Data Store Write3' */ rtDW.PWM_rear = 0U; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* 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 Creator1' incorporates: - * DataStoreRead: '/Data Store Read51' - * DataStoreRead: '/Data Store Read52' - * DataStoreRead: '/Data Store Read53' - * DataStoreRead: '/Data Store Read54' - * DataStoreRead: '/Data Store Read55' - * 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 Write8' + /* 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' + * Logic: '/Logical Operator2' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' */ /* : if(LOGGER) */ rtDW.PowerEnable_Model.SW5V_EN = rtDW.SW5V_EN; rtDW.PowerEnable_Model.PBATT_CK_EN = rtDW.PBATT_CK_EN; rtDW.PowerEnable_Model.Incar_Motor_Front_EN = rtDW.Incar_Motor_Front_EN; rtDW.PowerEnable_Model.Incar_Motor_Rear_EN = rtDW.Incar_Motor_Rear_EN; - rtDW.PowerEnable_Model.TwoWayValve_EN = rtDW.TwoWayValve_EN; + rtDW.PowerEnable_Model.TwoWayValve_EN = rtB.Cmd_2Way; rtDW.PowerEnable_Model.ReservePower_EN = rtDW.ReservePower_EN; rtDW.PowerEnable_Model.PtcRelayDriver1_EN = rtDW.PtcRelayDriver1_EN; rtDW.PowerEnable_Model.PtcRelayDriver2_EN = rtDW.PtcRelayDriver2_EN; - rtDW.PowerEnable_Model.ShutOffFront_EN = rtb_timer_out; - rtDW.PowerEnable_Model.ShutOffRear_EN = ShutOffRear_EN; + rtDW.PowerEnable_Model.ShutOffFront_EN = (uint8_t)(rtb_timer_out == 0); + rtDW.PowerEnable_Model.ShutOffRear_EN = (uint8_t)(ShutOffRear_EN == 0); rtDW.PowerEnable_Model.EN_ReservePower = rtDW.EN_ReservePower; rtDW.PowerEnable_Model.LIN_ActPower_AB = rtDW.LIN_ActPower_AB; rtDW.PowerEnable_Model.LIN_ActPower_C = rtDW.LIN_ActPower_C; rtDW.PowerEnable_Model.ShutOffTXV1_EN = rtDW.ShutOffTXV1_EN; rtDW.PowerEnable_Model.ShutOffTXV2_EN = rtDW.ShutOffTXV2_EN; - rtDW.PowerEnable_Model.EN_BATTChiller = EN_BATTChiller; + rtDW.PowerEnable_Model.EN_BATTChiller = (uint8_t)(EN_BATTChiller == 0); rtDW.PowerEnable_Model.EN_PowerReserve = rtDW.EN_PowerReserve; + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ + rtb_is_ending_with_5 = ((rtDW.BCM_T15_Stat == 0) || ((rtDW.CCU_BLOWERS_RL == 0) + && (rtDW.CCU_BLOWERS_RR == 0))); + /* Outport: '/PWM_Get' incorporates: * DataStoreRead: '/Data Store Read7' */ rtY.PWM_Get_f = PWM_Get; - /* SwitchCase: '/Switch Case' 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: '/Switch Case' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - if ((rtDW.BCM_T15_Stat != 0) && ((rtDW.CCU_BLOWERS_RL != 0) || - (rtDW.CCU_BLOWERS_RR != 0))) { - /* Outputs for IfAction SubSystem: '/Subsystem2' incorporates: - * ActionPort: '/Action Port' + if (!rtb_is_ending_with_5) { + /* Outputs for IfAction SubSystem: '/Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' */ rtDW.Incar_Motor_Front_EN = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' */ rtDW.Incar_Motor_Rear_EN = 1U; - /* End of Outputs for SubSystem: '/Subsystem2' */ + /* End of Outputs for SubSystem: '/Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' */ rtDW.Incar_Motor_Front_EN = 0U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' */ rtDW.Incar_Motor_Rear_EN = 0U; - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion2' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_BattVolt_ro = 0U; rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Pressure_ro = (uint16_t)rtDW.Pressure; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtb_rate = fabs(rtDW.Sun_L); - if (rtb_rate < 4.503599627370496E+15) { - if (rtb_rate >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_FLU_tg_correct_o = fabs(rtDW.Sun_L); + if (rtb_FLU_tg_correct_o < 4.503599627370496E+15) { + if (rtb_FLU_tg_correct_o >= 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_rate = fabs(rtDW.Sun_R); - if (rtb_rate < 4.503599627370496E+15) { - if (rtb_rate >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_FLU_tg_correct_o = fabs(rtDW.Sun_R); + if (rtb_FLU_tg_correct_o < 4.503599627370496E+15) { + if (rtb_FLU_tg_correct_o >= 0.5) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = (uint16_t)floor(rtDW.Sun_R + 0.5); } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = 0U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = (uint16_t)rtDW.Sun_R; } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of DataTypeConversion: '/Data Type Conversion1' */ - /* BusCreator: '/Bus Creator1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_MultMsg_Idx = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Fb_Select = 0U; @@ -22969,138 +25269,139 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_Select = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Fb_Select = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = g_assEVA_TG_AMB_F_n; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = rtb_y_pj; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = rtb_y_e3; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Tgt_ro = g_assEVA_TG_AMB_R_h; 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 = Duct2_R; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = Duct1_R; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = rtb_y_pfc; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = rtb_y_nm; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Side_Fb_ro = rtb_y_bu; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Side_Fb_ro = rtb_y_el; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = rtb_y_cy; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = rtb_y_ac; + 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 = rtb_y_jw; 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_Add1_f; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Tgt_ro = rtb_Merge_ja; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = rtb_u0101_a; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = rtb_y_jq; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = rtb_y_k5; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = rtb_y_d2; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = rtb_y_j5; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read53' - * DataStoreRead: '/Data Store Read54' - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read53' + * DataStoreRead: '/Data Store Read54' + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write27' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_F = 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; - rtDW.dbgCAN_CCU_IO_model.dbg_IO_2WayValve = 0U; + rtDW.dbgCAN_CCU_IO_model.dbg_IO_2WayValve = rtB.Cmd_2Way; rtDW.dbgCAN_CCU_IO_model.dbg_IO_IncarMotor_F = rtDW.Incar_Motor_Front_EN; rtDW.dbgCAN_CCU_IO_model.dbg_IO_IncarMotor_R = rtDW.Incar_Motor_Rear_EN; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read2' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_SET_FL > 310) { - Gain = 310U; + rtb_Saturation2_a = 310U; } else if (rtDW.CCU_SET_FL < 155) { - Gain = 155U; + rtb_Saturation2_a = 155U; } else { - Gain = rtDW.CCU_SET_FL; + rtb_Saturation2_a = 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)Gain - 15.5) * 2.0); + (double)rtb_Saturation2_a - 15.5) * 2.0); - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.CCU_SET_FR > 310) { - Gain = 310U; + rtb_Saturation2_a = 310U; } else if (rtDW.CCU_SET_FR < 155) { - Gain = 155U; + rtb_Saturation2_a = 155U; } else { - Gain = rtDW.CCU_SET_FR; + rtb_Saturation2_a = 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)Gain - 15.5) * 2.0); + (double)rtb_Saturation2_a - 15.5) * 2.0); - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read4' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read4' */ if (rtDW.CCU_SET_RL > 310) { - Gain = 310U; + rtb_Saturation2_a = 310U; } else if (rtDW.CCU_SET_RL < 155) { - Gain = 155U; + rtb_Saturation2_a = 155U; } else { - Gain = rtDW.CCU_SET_RL; + rtb_Saturation2_a = rtDW.CCU_SET_RL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_RL_ro = (uint8_t)((0.10000038146972656 * - (double)Gain - 15.5) * 2.0); + (double)rtb_Saturation2_a - 15.5) * 2.0); - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read5' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read5' */ if (rtDW.CCU_SET_RR > 310) { - Gain = 310U; + rtb_Saturation2_a = 310U; } else if (rtDW.CCU_SET_RR < 155) { - Gain = 155U; + rtb_Saturation2_a = 155U; } else { - Gain = rtDW.CCU_SET_RR; + rtb_Saturation2_a = rtDW.CCU_SET_RR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_RR_ro = (uint8_t)((0.10000038146972656 * - (double)Gain - 15.5) * 2.0); + (double)rtb_Saturation2_a - 15.5) * 2.0); rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_Emergency = 0U; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_FireExtinguisher = 0U; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Install_Sealing_Valve = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store 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' - * DataTypeConversion: '/Data Type Conversion2' + /* 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' + * 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; @@ -23114,10 +25415,10 @@ void HVAC_model_step(void) rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Front = 0U; rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Rear = 0U; - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write2' + /* 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_bh[0]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act01_Vent_SFL = rtb_DataTypeConversion_bh[5]; @@ -23128,11 +25429,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_bh[6]; rtDW.dbgCAN_dbg_Act2_model.dbg_Act17_TempU_FR = Actuator_pos_percent_Ch1[0]; @@ -23144,11 +25445,11 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_fb [8]; - /* BusCreator: '/Bus Creator2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * 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_fb[2]; @@ -23157,29 +25458,29 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act1_model.dbg_Act12_Vent_CRR = rtb_DataTypeConversion_fb[5]; rtDW.dbgCAN_dbg_Act1_model.dbg_Act13_Vent_SRR = rtb_DataTypeConversion_fb[7]; rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_fb[6]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtDW.PID_TempFUL; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_bh[3]; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_ro = rtDW.AMB; - rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_Raw_ro = rtDW.AMB_RAW; + rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_Raw_ro = rtb_Merge1; 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' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FL = rtDW.CCU_BLOWERS_FL; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FR = rtDW.CCU_BLOWERS_FR; @@ -23189,31 +25490,14 @@ 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 = Comp_Max_RPM_Allowed; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FR = rtb_Switch3_ed; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = rtb_Merge_o; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = rtb_Merge_e; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = Blower_AF_RL; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = rtb_Saturation9; - /* 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.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_MultMsg_Idx = 0U; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FL_ro = 0; - 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 = 0; - 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 = 0; - 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 = 0; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RR_ro = rtDW.Incar_RR; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_F = Eva_Target; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_R = 0; @@ -23306,13 +25590,13 @@ void HVAC_model_step(void) */ rtY.CCU_Msg3_model = rtDW.CCU_Msg3_model; - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read25' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/t_start_delay_private ' - * UnitDelay: '/Delay Input1' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/t_start_delay_private ' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ @@ -23320,15 +25604,15 @@ void HVAC_model_step(void) rtDW.t_start_delay_private_DSTATE_l = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read25' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/t_start_delay_private ' - * UnitDelay: '/Delay Input1' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/t_start_delay_private ' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ @@ -23336,83 +25620,73 @@ void HVAC_model_step(void) rtDW.t_start_delay_private_DSTATE_gg = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read40' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/t_start_delay_private ' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if (!rtDW.DelayInput1_DSTATE_f) { - rtDW.t_start_delay_private_DSTATE_a = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read40' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/t_start_delay_private ' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if (!rtDW.DelayInput1_DSTATE_c) { - rtDW.t_start_delay_private_DSTATE_ao = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* If: '/если SC front не завершен' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataTypeConversion: '/Data Type Conversion' + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(Gain, &rtb_is_ending_with_5); + + /* MATLAB Function: '/is_ending_with_5' */ + /* : correct_after_time = [g_assCORRECT_AF_MAX_LV0; g_assCORRECT_AF_MAX_LV1; g_assCORRECT_AF_MAX_LV2; g_assCORRECT_AF_MAX_LV3; g_assCORRECT_AF_MAX_LV4; g_assCORRECT_AF_MAX_LV5]; */ + /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ + /* : correct_rate = [g_assCORRECT_AF_RATE_LV0; g_assCORRECT_AF_RATE_LV1; g_assCORRECT_AF_RATE_LV2; g_assCORRECT_AF_RATE_LV3; g_assCORRECT_AF_RATE_LV4; g_assCORRECT_AF_RATE_LV5]; */ + /* : disp('all correction rate:') */ + /* : disp(correct_rate) */ + /* : y = correct_rate(LVL + 1, idivide(SET - 16 + 1, 2)); */ + /* : disp('correction rate:') */ + /* : disp(y) */ + /* : 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(Gain1, &rtb_is_ending_with_5); + + /* If: '/если SC front не завершен' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataTypeConversion: '/Data Type Conversion' */ + /* : 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)); */ + /* : 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)); */ if ((rtDW.start_control_finished_front == 0) && (rtDW.SKIPPED_FIRST_SIMULATION_STEP == 0.0)) { - /* 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.SKIPPED_FIRST_SIMULATION_STEP = 1.0; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else if (rtDW.start_control_finished_front == 0) { - /* Outputs for IfAction SubSystem: '/Start Control Front' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Start Control Front' incorporates: + * 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_j(rtDW.LEVEL, &Eva_Target); + g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &Eva_Target); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' */ /* : out = g_ausSTART_ENTER_SETTEMP(LVL+1); */ i = (int32_t)(rtDW.LEVEL + 1U); @@ -23420,45 +25694,48 @@ void HVAC_model_step(void) i = 255; } - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* 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 > Eva_Target) && (rtDW.MODE_DRIVER == 1.0) && - (rtDW.CCU_SET_FL < g_ausSTART_ENTER_SETTEMP[i - 1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_FL > Eva_Target) && (rtDW.CCU_MODE_FL == 1) && + (rtDW.CCU_SET_FL < g_ausSTART_ENTER_SETTEMP[i - 1]) && + (rtDW.LO_HI_MODE_FL == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h = 0; + rtB.Merge_fb = 1; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_h = -1; + rtB.Merge_fb = -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_j(rtDW.LEVEL, &Eva_Target); + g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &Eva_Target); - /* 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_ausSTART_ENTER_SETTEMP(LVL+1)); */ i = (int32_t)(rtDW.LEVEL + 1U); @@ -23466,196 +25743,196 @@ void HVAC_model_step(void) i = 255; } - Gain = g_ausSTART_ENTER_SETTEMP[i - 1]; - if (Gain > 32767) { - Gain = 32767U; + rtb_Saturation2_a = g_ausSTART_ENTER_SETTEMP[i - 1]; + if (rtb_Saturation2_a > 32767) { + rtb_Saturation2_a = 32767U; } - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* 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 > Eva_Target) && (rtDW.MODE_DRIVER == 1.0) && - (rtDW.CCU_SET_FL < Gain)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_FL > Eva_Target) && (rtDW.CCU_MODE_FL == 1) && + (rtDW.CCU_SET_FL < rtb_Saturation2_a) && (rtDW.LO_HI_MODE_FL == 0)) + { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h = 0; + rtB.Merge_fb = 1; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_h = -1; + rtB.Merge_fb = -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' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * SignalConversion generated from: '/step' - */ - rtB.Merge_h = 0; + Level2(&rtB.Merge_fb); - /* 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_p(rtDW.LEVEL, &Eva_Target); + g_assSTART_ENTER_COOLANT_j(rtDW.LEVEL, &Eva_Target); - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * 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 < Eva_Target) && (rtDW.MODE_DRIVER == 1.0)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.ECT < Eva_Target) && (rtDW.CCU_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h = 0; + rtB.Merge_fb = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_h = -1; + rtB.Merge_fb = -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_h, &rtDW.ECT, &rtDW.LEVEL, &rtDW.MODE_DRIVER); + Level4(&rtB.Merge_fb, &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_h, &rtDW.ECT, &rtDW.LEVEL, &rtDW.MODE_DRIVER); + Level4(&rtB.Merge_fb, &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_h); + Level0(&rtB.Merge_fb); - /* 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_h); + Level0(&rtB.Merge_fb); - /* 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_h); + Level0(&rtB.Merge_fb); - /* 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 Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant5' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant5' */ rtDW.Dtg_FUL = 60U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant7' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant7' */ rtDW.Dtg_FLL = 80U; - /* 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, &EN_BATTChiller); - /* 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, &rtb_timer_out); - /* 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' */ rtb_Divide1 = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ ShutOffRear_EN = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ 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' */ /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ i = (int32_t)(rtDW.LEVEL + 1U); @@ -23663,237 +25940,237 @@ void HVAC_model_step(void) i = 255; } - rtb_Subtract = (uint32_t)i - 2U; + rtb_dt_ca = (uint32_t)i - 2U; if ((uint32_t)i - 2U > (uint32_t)i) { - rtb_Subtract = 0U; + rtb_dt_ca = 0U; } - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ - rtB.Merge_h = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1[(int32_t) - rtb_Subtract - 1]); + rtB.Merge_fb = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1 + [(int32_t)rtb_dt_ca - 1]); - /* 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' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant5' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant5' */ rtDW.Dtg_FUL = 60U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant7' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant7' */ rtDW.Dtg_FLL = 80U; - /* 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, &EN_BATTChiller); - /* 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, &rtb_timer_out); - /* 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' */ rtb_Divide1 = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ ShutOffRear_EN = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ 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_h(rtDW.LEVEL, &Eva_Target); + g_assSTART_COOLANT_STEP0_TO_1_a(rtDW.LEVEL, &Eva_Target); - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ - rtB.Merge_h = (int8_t)(rtDW.ECT > Eva_Target); + rtB.Merge_fb = (int8_t)(rtDW.ECT > Eva_Target); - /* 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 Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant5' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant5' */ rtDW.Dtg_FUL = 80U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant7' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant7' */ rtDW.Dtg_FLL = 80U; - /* 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, &EN_BATTChiller); - /* 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, &rtb_timer_out); - /* 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' */ rtb_Divide1 = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ ShutOffRear_EN = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ 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_h(rtDW.LEVEL, &Eva_Target); + g_assSTART_COOLANT_STEP0_TO_1_a(rtDW.LEVEL, &Eva_Target); - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ - rtB.Merge_h = (int8_t)(rtDW.ECT > Eva_Target); + rtB.Merge_fb = (int8_t)(rtDW.ECT > Eva_Target); - /* 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 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' + /* 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' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ uwayvalvestatus(rtDW.LEVEL, &ShutOffRear_EN); - /* 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, &EN_BATTChiller); - /* 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, &rtb_timer_out); - /* 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); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/window heating' */ windowheating(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read7' - * MATLAB Function: '/blower FR' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read7' + * MATLAB Function: '/blower FR' */ blowerFR(rtDW.LEVEL, &rtDW.Blower_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_FrontUpper_X' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_FrontUpper_X' */ Dtg_FrontUpper_X(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read9' - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Dtg_FrontLower_X' */ Dtg_FrontLower_X(rtDW.LEVEL, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_Divide1 = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_front == 1); - /* 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' */ /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ i = (int32_t)(rtDW.LEVEL + 1U); @@ -23901,302 +26178,303 @@ void HVAC_model_step(void) i = 255; } - Gain = g_ausSTART_TIME_STEP1_TO_2[i - 1]; - if (Gain > 32767) { - Gain = 32767U; + rtb_Saturation2_a = g_ausSTART_TIME_STEP1_TO_2[i - 1]; + if (rtb_Saturation2_a > 32767) { + rtb_Saturation2_a = 32767U; } - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/incar temp' - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * MATLAB Function: '/Time goto from step 1 to step 2 ' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/incar temp' + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * MATLAB Function: '/Time goto from step 1 to step 2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ if ((rtDW.Incar_FL < Eva_Target) || (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_pd > (uint16_t)(1000 * Gain))) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' - * SignalConversion generated from: '/step' + rtDW.t_start_delay_private_DSTATE_ch > (uint16_t)(1000 * + rtb_Saturation2_a))) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' + * SignalConversion generated from: '/step' */ - rtB.Merge_h = 2; + rtB.Merge_fb = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * SignalConversion generated from: '/step' */ - rtB.Merge_h = 1; + rtB.Merge_fb = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_gx)) { - rtDW.t_start_delay_private_DSTATE_pd = rtDW.t_now; + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_an)) { + rtDW.t_start_delay_private_DSTATE_ch = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_gx = eComp_stop; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_an = eComp_stop; - /* 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(rtDW.LEVEL, &ShutOffRear_EN); - /* 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, &EN_BATTChiller); - /* 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, &rtb_timer_out); - /* 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); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/window heating' */ windowheating(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read7' - * MATLAB Function: '/blower FR' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read7' + * MATLAB Function: '/blower FR' */ blowerFR(rtDW.LEVEL, &rtDW.Blower_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_FrontUpper_X' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_FrontUpper_X' */ Dtg_FrontUpper_X(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read9' - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Dtg_FrontLower_X' */ Dtg_FrontLower_X(rtDW.LEVEL, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_Divide1 = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_front == 1); - /* 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, &Duct_FLU_Tg); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1 = (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_mk > (uint32_t)(1000 * Duct_FLU_Tg)); + rtDW.t_start_delay_private_DSTATE_jr > (uint32_t)(1000 * Duct_FLU_Tg)); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_hs)) { - rtDW.t_start_delay_private_DSTATE_mk = rtDW.t_now; + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_ht)) { + rtDW.t_start_delay_private_DSTATE_jr = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/incar temp' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' */ if ((rtDW.Incar_FL < Eva_Target) || rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ - rtB.Merge_h = 2; + rtB.Merge_fb = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ - rtB.Merge_h = 1; + rtB.Merge_fb = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_hs = eComp_stop; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_ht = eComp_stop; - /* 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' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * SignalConversion generated from: '/step' */ - rtB.Merge_h = 2; + rtB.Merge_fb = 2; - /* 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 Write8' incorporates: - * DataStoreRead: '/Data Store Read11' - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read11' + * MATLAB Function: '/3 way valve status' */ uwayvalvestatus(rtDW.LEVEL, &ShutOffRear_EN); - /* 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, &EN_BATTChiller); - /* 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, &rtb_timer_out); - /* 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); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/window heating' */ windowheating(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* 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_en); + blowerminmax(rtDW.LEVEL, rtb_out_df); - /* 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_gu); + ECTminmax(rtDW.LEVEL, rtb_out_jy); - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - Eva_Target = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_gu, - rtb_out_en, 1U); + Eva_Target = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jy, + rtb_out_df, 1U); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Blower_FL = (uint16_t)Eva_Target; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_FrontUpper_X' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_FrontUpper_X' */ Dtg_FrontUpper_X(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read9' - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Dtg_FrontLower_X' */ Dtg_FrontLower_X(rtDW.LEVEL, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_Divide1 = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_front == 1); - /* 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, &Duct_FLU_Tg); - /* 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, &Eva_Target); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator1 = (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_fm > (uint32_t)(1000 * Eva_Target)); + rtb_LogicalOperator1 = (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_d + > (uint32_t)(1000 * Eva_Target)); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ /* : out = int16(g_assSTART_COOLANT_TO_STEP2(LVL + 1 - 3)); */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_fi)) { - rtDW.t_start_delay_private_DSTATE_fm = rtDW.t_now; + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_fs)) { + rtDW.t_start_delay_private_DSTATE_d = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' incorporates: - * DataStoreRead: '/Data Store Read10' + /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' incorporates: + * DataStoreRead: '/Data Store Read10' */ i = (int32_t)(rtDW.LEVEL + 1U); if (rtDW.LEVEL + 1U > 255U) { @@ -24204,1209 +26482,1214 @@ void HVAC_model_step(void) } /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - rtb_Subtract = (uint32_t)i - 3U; + rtb_dt_ca = (uint32_t)i - 3U; /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ if ((uint32_t)i - 3U > (uint32_t)i) { - rtb_Subtract = 0U; + rtb_dt_ca = 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' + /* 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 < Duct_FLU_Tg) || rtb_LogicalOperator1 || (rtDW.ECT > - g_assSTART_COOLANT_TO_STEP2[(int32_t)rtb_Subtract - 1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step 2' + g_assSTART_COOLANT_TO_STEP2[(int32_t)rtb_dt_ca - 1])) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step 2' */ - rtB.Merge_h = 2; + rtB.Merge_fb = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ - rtB.Merge_h = 1; + rtB.Merge_fb = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_fi = eComp_stop; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_fs = eComp_stop; - /* 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_c(&rtB.Merge_h, &rtDW.Blower_FL, &Gain, &rtDW.Dtg_FLL, + Level4_h(&rtB.Merge_fb, &rtDW.Blower_FL, &Gain, &rtDW.Dtg_FLL, &Valve_2_way, &rtDW.Dtg_FUL, &Comp_Max_RPM_Allowed, &rtDW.ECT, &rtb_Switch3_ed, &rtDW.Incar_FL, &rtb_timer_out, - &EN_BATTChiller, &rtDW.LEVEL, &rtDW.Mode_FL, &rtb_Merge_o, + &EN_BATTChiller, &rtDW.LEVEL, &rtDW.Mode_FL, &Blower_AF_RL, &rtb_Divide1, &ShutOffRear_EN, &rtDW.step_start_controle_front, - &rtDW.t_now, &rtDW.Level4_cw); + &rtDW.t_now, &rtDW.Level4_hv); - /* 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_c(&rtB.Merge_h, &rtDW.Blower_FL, &Gain, &rtDW.Dtg_FLL, + Level4_h(&rtB.Merge_fb, &rtDW.Blower_FL, &Gain, &rtDW.Dtg_FLL, &Valve_2_way, &rtDW.Dtg_FUL, &Comp_Max_RPM_Allowed, &rtDW.ECT, &rtb_Switch3_ed, &rtDW.Incar_FL, &rtb_timer_out, - &EN_BATTChiller, &rtDW.LEVEL, &rtDW.Mode_FL, &rtb_Merge_o, + &EN_BATTChiller, &rtDW.LEVEL, &rtDW.Mode_FL, &Blower_AF_RL, &rtb_Divide1, &ShutOffRear_EN, &rtDW.step_start_controle_front, - &rtDW.t_now, &rtDW.Level5_g); + &rtDW.t_now, &rtDW.Level5_b); - /* 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' */ + /* 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' + /* Outputs for IfAction SubSystem: '/Step 2 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' */ - /* 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_a(rtDW.LEVEL, &ShutOffRear_EN); + uwayvalvestatus_j(rtDW.LEVEL, &ShutOffRear_EN); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' */ Dtg_FrontLower_X(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' */ timeforstep(rtDW.LEVEL, &rtb_timer_out); - /* 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.Dtg_FLL - rtDW.Dtg_logic_FLL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write13' */ + /* DataStoreWrite: '/Data Store Write13' */ rtDW.Dtg_FLL = rtDW.Dtg_logic_FLL; } else { if (rtDW.Dtg_FLL <= rtDW.Dtg_logic_FLL) { - /* 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 Write13' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FLL = (uint8_t)((double)EN_BATTChiller / (double) rtb_timer_out / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_k) * (double)i + (double)rtDW.Dtg_FLL); + rtDW.UnitDelay_DSTATE_hx) * (double)i + (double)rtDW.Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_FrontUpper_X(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_j(rtDW.LEVEL, &rtb_timer_out); + timeforstep_c(rtDW.LEVEL, &rtb_timer_out); - /* 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.Dtg_FUL - rtDW.Dtg_logic_FUL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write11' */ + /* DataStoreWrite: '/Data Store Write11' */ rtDW.Dtg_FUL = rtDW.Dtg_logic_FUL; } else { if (rtDW.Dtg_FUL <= rtDW.Dtg_logic_FUL) { - /* 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 Write11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FUL = (uint8_t)((double)EN_BATTChiller / (double) rtb_timer_out / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_pb) * (double)i + (double)rtDW.Dtg_FUL); + rtDW.UnitDelay_DSTATE_fi) * (double)i + (double)rtDW.Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* 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, &EN_BATTChiller); - /* 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, &rtb_timer_out); - /* 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); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ eComp_stop = (EN_BATTChiller <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - step_j(rtDW.LEVEL, &rtb_timer_out); + step_h(rtDW.LEVEL, &rtb_timer_out); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - timeforstep_g(rtDW.LEVEL, &EN_BATTChiller); + timeforstep_p(rtDW.LEVEL, &EN_BATTChiller); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (eComp_stop) { - /* 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)rtb_timer_out / (double) EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_mk) * (double)i + (double)rtDW.Mode_FL); + rtDW.UnitDelay_DSTATE_m) * (double)i + (double)rtDW.Mode_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ Gain = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ eComp_stop = (Gain <= 0.01); - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep(rtDW.LEVEL, &Gain1); - /* 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, &Gain); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (eComp_stop) { - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Blower_FL = 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; } - /* DataStoreWrite: '/Data Store Write6' 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 Write6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (AF//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Blower_FL = (uint16_t)((double)Gain1 / (double)Gain / 1000.0 * - (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_gm) * (double)i + + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_p5) * (double)i + (double)rtDW.Blower_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_Divide1 = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_front == 2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_gp; + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_jt; - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_mb)) { - rtDW.t_start_delay_private_DSTATE_gp = rtDW.t_now; + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_lu)) { + rtDW.t_start_delay_private_DSTATE_jt = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* 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); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_Subtract > (uint32_t)(1000 * Eva_Target)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if (rtb_dt_ca > (uint32_t)(1000 * Eva_Target)) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ - rtB.Merge_h = 3; + rtB.Merge_fb = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ - rtB.Merge_h = 2; + rtB.Merge_fb = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_k = rtDW.t_now; + rtDW.UnitDelay_DSTATE_hx = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_pb = rtDW.t_now; + rtDW.UnitDelay_DSTATE_fi = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_mk = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_gm = rtDW.t_now; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_mb = eComp_stop; - - /* 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_a(rtDW.LEVEL, &ShutOffRear_EN); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' - */ - Dtg_FrontLower_X(rtDW.LEVEL, &EN_BATTChiller); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' - */ - timeforstep(rtDW.LEVEL, &rtb_timer_out); - - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - */ - if ((uint8_t)(rtDW.Dtg_FLL - rtDW.Dtg_logic_FLL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write13' */ - rtDW.Dtg_FLL = rtDW.Dtg_logic_FLL; - } else { - if (rtDW.Dtg_FLL <= rtDW.Dtg_logic_FLL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - i = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - i = -1; - } - - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - rtDW.Dtg_FLL = (uint8_t)((double)EN_BATTChiller / (double) - rtb_timer_out / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_m) * (double)i + (double)rtDW.Dtg_FLL); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_FrontUpper_X(rtDW.LEVEL, &EN_BATTChiller); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_j(rtDW.LEVEL, &rtb_timer_out); - - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - */ - if ((uint8_t)(rtDW.Dtg_FUL - rtDW.Dtg_logic_FUL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write11' */ - rtDW.Dtg_FUL = rtDW.Dtg_logic_FUL; - } else { - if (rtDW.Dtg_FUL <= rtDW.Dtg_logic_FUL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - i = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - i = -1; - } - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - rtDW.Dtg_FUL = (uint8_t)((double)EN_BATTChiller / (double) - rtb_timer_out / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_gf) * (double)i + (double)rtDW.Dtg_FUL); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' - */ - incarfilterup(rtDW.LEVEL, &EN_BATTChiller); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' - */ - incarfilterdown(rtDW.LEVEL, &rtb_timer_out); - - /* 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' - */ - step_j(rtDW.LEVEL, &rtb_timer_out); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_g(rtDW.LEVEL, &ShutOffRear_EN); - - /* 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 (в соответствии с логикой)' - */ - rtDW.Mode_FL = rtDW.Mode_logic_FL; - } else { - if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - i = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - i = -1; - } - - /* 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)rtb_timer_out / (double) - ShutOffRear_EN / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_l) * (double)i + (double)rtDW.Mode_FL); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - windowheating_k(rtDW.LEVEL, &EN_BATTChiller); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - Gain = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - eComp_stop = (Gain <= 0.01); - - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerstep(rtDW.LEVEL, &Gain1); - - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowertimeforstep(rtDW.LEVEL, &Gain); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' - */ - if (eComp_stop) { - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtDW.Blower_FL = rtDW.Blower_logic_FL; - } else { - if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - i = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - i = -1; - } - - /* DataStoreWrite: '/Data Store Write6' 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.Blower_FL = (uint16_t)((double)Gain1 / (double)Gain / 1000.0 * - (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_p0) * (double)i + - (double)rtDW.Blower_FL); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' - */ - rtb_Divide1 = 1.0; - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - eComp_stop = (rtDW.step_start_controle_front == 2); - - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_mz; - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_b)) { - rtDW.t_start_delay_private_DSTATE_mz = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); - - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_Subtract > (uint32_t)(1000 * Eva_Target)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' - */ - rtB.Merge_h = 3; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' - */ - rtB.Merge_h = 2; - } - - /* End of Switch: '/Switch' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_m = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_gf = rtDW.t_now; + rtDW.UnitDelay_DSTATE_p5 = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_l = rtDW.t_now; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_lu = eComp_stop; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_p0 = rtDW.t_now; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_b = eComp_stop; - - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; - case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * SignalConversion generated from: '/step' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ - rtB.Merge_h = 3; + uwayvalvestatus_j(rtDW.LEVEL, &ShutOffRear_EN); - /* End of Outputs for SubSystem: '/Level 2' */ - break; - - case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' - */ - Level3(&rtB.Merge_h, &rtb_Merge_e, &rtDW.Blower_FL, &Gain, - &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &Valve_2_way, &rtDW.Dtg_FUL, - &Comp_Max_RPM_Allowed, &rtDW.Dtg_logic_FLL, &rtDW.Dtg_logic_FUL, - &rtb_Switch3_ed, &rtDW.HI_logic_on, &rtb_timer_out, - &EN_BATTChiller, &rtDW.LEVEL, &rtDW.Mode_FL, &rtb_Merge_o, - &rtDW.Mode_logic_FL, &rtb_Divide1, &ShutOffRear_EN, - &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level3_l); - - /* End of Outputs for SubSystem: '/Level 3' */ - break; - - case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' - */ - Level3(&rtB.Merge_h, &rtb_Merge_e, &rtDW.Blower_FL, &Gain, - &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &Valve_2_way, &rtDW.Dtg_FUL, - &Comp_Max_RPM_Allowed, &rtDW.Dtg_logic_FLL, &rtDW.Dtg_logic_FUL, - &rtb_Switch3_ed, &rtDW.HI_logic_on, &rtb_timer_out, - &EN_BATTChiller, &rtDW.LEVEL, &rtDW.Mode_FL, &rtb_Merge_o, - &rtDW.Mode_logic_FL, &rtb_Divide1, &ShutOffRear_EN, - &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level4_a); - - /* End of Outputs for SubSystem: '/Level 4' */ - break; - - case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read10' - * MATLAB Function: '/3 way valve status' - */ - uwayvalvestatus_a(rtDW.LEVEL, &ShutOffRear_EN); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' */ Dtg_FrontLower_X(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' */ timeforstep(rtDW.LEVEL, &rtb_timer_out); - /* 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.Dtg_FLL - rtDW.Dtg_logic_FLL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write13' */ + /* DataStoreWrite: '/Data Store Write13' */ rtDW.Dtg_FLL = rtDW.Dtg_logic_FLL; } else { if (rtDW.Dtg_FLL <= rtDW.Dtg_logic_FLL) { - /* 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 Write13' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FLL = (uint8_t)((double)EN_BATTChiller / (double) rtb_timer_out / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_f) * (double)i + (double)rtDW.Dtg_FLL); + rtDW.UnitDelay_DSTATE_an) * (double)i + (double)rtDW.Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_FrontUpper_X(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_j(rtDW.LEVEL, &rtb_timer_out); + timeforstep_c(rtDW.LEVEL, &rtb_timer_out); - /* 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.Dtg_FUL - rtDW.Dtg_logic_FUL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write11' */ + /* DataStoreWrite: '/Data Store Write11' */ rtDW.Dtg_FUL = rtDW.Dtg_logic_FUL; } else { if (rtDW.Dtg_FUL <= rtDW.Dtg_logic_FUL) { - /* 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 Write11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FUL = (uint8_t)((double)EN_BATTChiller / (double) rtb_timer_out / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_pu) * (double)i + (double)rtDW.Dtg_FUL); + rtDW.UnitDelay_DSTATE_a1) * (double)i + (double)rtDW.Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* 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, &EN_BATTChiller); - /* 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, &rtb_timer_out); - /* MATLAB Function: '/autodemist (autodefog)' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - autodemistautodefog(rtDW.LEVEL, &EN_BATTChiller); + EN_BATTChiller = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - rtb_timer_out = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + step_h(rtDW.LEVEL, &rtb_timer_out); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - step_j(rtDW.LEVEL, &EN_BATTChiller); + timeforstep_p(rtDW.LEVEL, &ShutOffRear_EN); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ - timeforstep_g(rtDW.LEVEL, &ShutOffRear_EN); - - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' - */ - if (rtb_timer_out <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + if (EN_BATTChiller <= 0.01) { + /* 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) + rtDW.Mode_FL = (uint8_t)((double)rtb_timer_out / (double) ShutOffRear_EN / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_b) * (double)i + (double)rtDW.Mode_FL); + rtDW.UnitDelay_DSTATE_ne) * (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_k(rtDW.LEVEL, &rtb_timer_out); + windowheating_e(rtDW.LEVEL, &EN_BATTChiller); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ Gain = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ eComp_stop = (Gain <= 0.01); - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep(rtDW.LEVEL, &Gain1); - /* 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, &Gain); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (eComp_stop) { - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Blower_FL = 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; } - /* DataStoreWrite: '/Data Store Write6' 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 Write6' 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.Blower_FL = (uint16_t)((double)Gain1 / (double)Gain / 1000.0 * - (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_e) * (double)i + (double) + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_p) * (double)i + (double) rtDW.Blower_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_Divide1 = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_front == 2); - /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_n; - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator1 = (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_n - > (uint32_t)(1000 * Eva_Target)); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_iy)) { + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_o)) { rtDW.t_start_delay_private_DSTATE_n = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ - if (rtb_LogicalOperator1 || rtDW.HI_logic_on) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); + + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_dt_ca > (uint32_t)(1000 * Eva_Target)) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ - rtB.Merge_h = 3; + rtB.Merge_fb = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ - rtB.Merge_h = 2; + rtB.Merge_fb = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_f = rtDW.t_now; + rtDW.UnitDelay_DSTATE_an = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_pu = rtDW.t_now; + rtDW.UnitDelay_DSTATE_a1 = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_b = rtDW.t_now; + rtDW.UnitDelay_DSTATE_ne = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_p = rtDW.t_now; + + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_o = eComp_stop; + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + Level2(&rtB.Merge_fb); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + Level3(&rtB.Merge_fb, &rtb_Saturation9, &rtDW.Blower_FL, &Gain, + &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &Valve_2_way, &rtDW.Dtg_FUL, + &Comp_Max_RPM_Allowed, &rtDW.Dtg_logic_FLL, &rtDW.Dtg_logic_FUL, + &rtb_Switch3_ed, &rtDW.HI_logic_on, &rtb_timer_out, + &EN_BATTChiller, &rtDW.LEVEL, &rtDW.Mode_FL, &Blower_AF_RL, + &rtDW.Mode_logic_FL, &rtb_Divide1, &ShutOffRear_EN, + &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level3_f); + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level3(&rtB.Merge_fb, &rtb_Saturation9, &rtDW.Blower_FL, &Gain, + &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &Valve_2_way, &rtDW.Dtg_FUL, + &Comp_Max_RPM_Allowed, &rtDW.Dtg_logic_FLL, &rtDW.Dtg_logic_FUL, + &rtb_Switch3_ed, &rtDW.HI_logic_on, &rtb_timer_out, + &EN_BATTChiller, &rtDW.LEVEL, &rtDW.Mode_FL, &Blower_AF_RL, + &rtDW.Mode_logic_FL, &rtb_Divide1, &ShutOffRear_EN, + &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level4_k); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_j(rtDW.LEVEL, &ShutOffRear_EN); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &rtb_timer_out); + + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if ((uint8_t)(rtDW.Dtg_FLL - rtDW.Dtg_logic_FLL) <= 0.01) { + /* DataStoreWrite: '/Data Store Write13' */ + rtDW.Dtg_FLL = rtDW.Dtg_logic_FLL; + } else { + if (rtDW.Dtg_FLL <= rtDW.Dtg_logic_FLL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtDW.Dtg_FLL = (uint8_t)((double)EN_BATTChiller / (double) + rtb_timer_out / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_fs) * (double)i + (double)rtDW.Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_c(rtDW.LEVEL, &rtb_timer_out); + + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if ((uint8_t)(rtDW.Dtg_FUL - rtDW.Dtg_logic_FUL) <= 0.01) { + /* DataStoreWrite: '/Data Store Write11' */ + rtDW.Dtg_FUL = rtDW.Dtg_logic_FUL; + } else { + if (rtDW.Dtg_FUL <= rtDW.Dtg_logic_FUL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtDW.Dtg_FUL = (uint8_t)((double)EN_BATTChiller / (double) + rtb_timer_out / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_ha) * (double)i + (double)rtDW.Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &rtb_timer_out); + + /* MATLAB Function: '/autodemist (autodefog)' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + autodemistautodefog(rtDW.LEVEL, &EN_BATTChiller); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_timer_out = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_h(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_p(rtDW.LEVEL, &ShutOffRear_EN); + + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + if (rtb_timer_out <= 0.01) { + /* 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' + */ + i = 1; + } else { + /* 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' + */ + rtDW.Mode_FL = (uint8_t)((double)EN_BATTChiller / (double) + ShutOffRear_EN / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_e) * (double)i + (double)rtDW.Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating_e(rtDW.LEVEL, &rtb_timer_out); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + Gain = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + eComp_stop = (Gain <= 0.01); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(rtDW.LEVEL, &Gain1); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &Gain); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + if (eComp_stop) { + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtDW.Blower_FL = rtDW.Blower_logic_FL; + } else { + if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + /* DataStoreWrite: '/Data Store Write6' 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.Blower_FL = (uint16_t)((double)Gain1 / (double)Gain / 1000.0 * + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_k) * (double)i + (double) + rtDW.Blower_FL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Divide1 = 1.0; + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + eComp_stop = (rtDW.step_start_controle_front == 2); + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator1 = (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_it > (uint32_t)(1000 * Eva_Target)); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_n)) { + rtDW.t_start_delay_private_DSTATE_it = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + */ + if (rtb_LogicalOperator1 || rtDW.HI_logic_on) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' + */ + rtB.Merge_fb = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + */ + rtB.Merge_fb = 2; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_fs = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_ha = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_e = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_iy = eComp_stop; + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_k = rtDW.t_now; - /* End of Outputs for SubSystem: '/Level 5' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_n = eComp_stop; + + /* 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_h, &rtDW.start_control_finished_front); + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/True' + */ + rtDW.start_control_finished_front = 1; - /* End of Outputs for SubSystem: '/Step 3 F' */ + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' + */ + rtB.Merge_fb = 3; + + /* End of Outputs for SubSystem: '/Step 3 F' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ - rtDW.step_start_controle_front = rtB.Merge_h; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.step_start_controle_front = rtB.Merge_fb; - /* End of Outputs for SubSystem: '/Start Control Front' */ + /* End of Outputs for SubSystem: '/Start Control Front' */ } - /* End of If: '/если SC front не завершен' */ + /* End of If: '/если SC front не завершен' */ - /* If: '/если SC rear не завершен1' incorporates: - * DataStoreRead: '/Data Store Read3' + /* If: '/если SC rear не завершен1' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.start_control_finished_rear == 0.0) { - /* Outputs for IfAction SubSystem: '/Start Control Rear' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Start Control Rear' incorporates: + * 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_b(rtDW.LEVEL, &Eva_Target); + g_ausSTART_ENTER_SETTEMP_m(rtDW.LEVEL, &Eva_Target); - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' */ i = (int32_t)(rtDW.LEVEL + 1U); if (rtDW.LEVEL + 1U > 255U) { @@ -25418,132 +27701,139 @@ void HVAC_model_step(void) i_0 = 255; } - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * MATLAB Function: '/g_assSTART_ENTER_INCAR' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* 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[i_0 - 1]) && - (rtDW.MODE_RR_passenger == 1.0) && (rtDW.CCU_SET_RR < Eva_Target)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR < Eva_Target) && + (rtDW.LO_HI_MODE_RR == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_c = 0; + rtB.Merge_c = 1; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -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_p(rtDW.LEVEL, &Eva_Target); + g_assSTART_ENTER_INCAR_c(rtDW.LEVEL, &Eva_Target); - /* 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_b(rtDW.LEVEL, &Duct_FLU_Tg); + g_ausSTART_ENTER_SETTEMP_m(rtDW.LEVEL, &Duct_FLU_Tg); - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* 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 > Eva_Target) && (rtDW.MODE_RR_passenger == 1.0) && - (rtDW.CCU_SET_RR < Duct_FLU_Tg)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_RR > Eva_Target) && (rtDW.CCU_MODE_RR == 1) && + (rtDW.CCU_SET_RR < Duct_FLU_Tg) && (rtDW.LO_HI_MODE_FL == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_c = 0; + rtB.Merge_c = 1; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -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_p(rtDW.LEVEL, &Eva_Target); + g_assSTART_ENTER_INCAR_c(rtDW.LEVEL, &Eva_Target); - /* 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_b(rtDW.LEVEL, &Duct_FLU_Tg); + g_ausSTART_ENTER_SETTEMP_m(rtDW.LEVEL, &Duct_FLU_Tg); - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* 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 < Eva_Target) && (rtDW.MODE_RR_passenger == 1.0) && - (rtDW.CCU_SET_RR > Duct_FLU_Tg)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_RR < Eva_Target) && (rtDW.CCU_MODE_RR == 1) && + (rtDW.CCU_SET_RR > Duct_FLU_Tg) && (rtDW.LO_HI_MODE_FL != 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_c = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -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_p(rtDW.LEVEL, &Eva_Target); + g_assSTART_ENTER_INCAR_c(rtDW.LEVEL, &Eva_Target); - /* 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_e(rtDW.LEVEL, &Duct_FLU_Tg); + g_assSTART_ENTER_COOLANT_c(rtDW.LEVEL, &Duct_FLU_Tg); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ i = (int32_t)(rtDW.LEVEL + 1U); @@ -25556,124 +27846,127 @@ void HVAC_model_step(void) i_0 = 255; } - Gain = g_ausSTART_ENTER_SETTEMP[i_0 - 1]; - if (Gain > 32767) { - Gain = 32767U; + rtb_Saturation2_a = g_ausSTART_ENTER_SETTEMP[i_0 - 1]; + if (rtb_Saturation2_a > 32767) { + rtb_Saturation2_a = 32767U; } - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read5' - * Logic: '/AND' - * Logic: '/AND1' - * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' - * 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' + * 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 < Eva_Target) || (rtDW.ECT < Duct_FLU_Tg)) && - (rtDW.MODE_RR_passenger == 1.0) && (rtDW.CCU_SET_RR > Gain)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR > rtb_Saturation2_a) && + (rtDW.LO_HI_MODE_FL != 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_c = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -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_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtDW.LEVEL, - &rtDW.MODE_RR_passenger); + Level4_l(&rtB.Merge_c, &rtDW.CCU_MODE_RR, &rtDW.ECT, &rtDW.Incar_RR, + &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_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtDW.LEVEL, - &rtDW.MODE_RR_passenger); + Level4_l(&rtB.Merge_c, &rtDW.CCU_MODE_RR, &rtDW.ECT, &rtDW.Incar_RR, + &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 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_c); - /* 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_c); - /* 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 Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RR = 65U; - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtDW.LEVEL, &EN_BATTChiller); + incarfilterup_b(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ incarfilterdown_c(rtDW.LEVEL, &EN_BATTChiller); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Mode - foot' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' */ rtDW.Mode_RR = 60U; - /* 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' */ /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ i = (int32_t)(rtDW.LEVEL + 3U); @@ -25681,686 +27974,934 @@ void HVAC_model_step(void) i = 255; } - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ rtB.Merge_c = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1[i - 1]); - /* 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' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Blower_RR = 10U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RR = 65U; - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtDW.LEVEL, &EN_BATTChiller); + incarfilterup_b(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ incarfilterdown_c(rtDW.LEVEL, &EN_BATTChiller); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Mode - foot' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' */ rtDW.Mode_RR = 60U; - /* 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_e(rtDW.LEVEL, &Eva_Target); + g_assSTART_COOLANT_STEP0_TO_1_k(rtDW.LEVEL, &Eva_Target); - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ rtB.Merge_c = (int8_t)(rtDW.ECT > Eva_Target); - /* 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_m(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, + Level4_c(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.ECT, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &Valve_2_way, &ShutOffRear_EN); - /* 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_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, + Level4_c(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.ECT, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &Valve_2_way, &ShutOffRear_EN); - /* 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_b(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, + Level0_o(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &rtb_Divide1, &Valve_2_way, &rtDW.step_start_controle_rear, &rtDW.t_now, - &rtDW.Level0_bc); + &rtDW.Level0_o3); - /* 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_b(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, + Level0_o(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &rtb_Divide1, &Valve_2_way, &rtDW.step_start_controle_rear, &rtDW.t_now, - &rtDW.Level1_d3); + &rtDW.Level1_f); - /* 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_i(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterup_b(rtDW.LEVEL, &rtDW.Mode_RR); incarfilterdown_c(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_en); + blowerstartfinish(rtDW.LEVEL, rtb_out_df); - /* 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_gu[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; - rtb_out_gu[1] = g_assSTART_COOLANT_TO_STEP2[1]; + rtb_out_jy[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; + rtb_out_jy[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' */ - Eva_Target = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_gu, - rtb_out_en, 1U); + Eva_Target = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jy, + rtb_out_df, 1U); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write5' */ rtDW.Blower_RR = (uint16_t)Eva_Target; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_rear' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_rear' */ Dtg_rear(rtDW.LEVEL, &rtDW.Dtg_RR); - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_rear == 1); - /* 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_j(rtDW.LEVEL, &Duct_FLU_Tg); + Incartempgotofromstep1tostep2_n(rtDW.LEVEL, &Duct_FLU_Tg); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_em; + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_e; - /* 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_l(rtDW.LEVEL, &Eva_Target); + Timegotofromstep1tostep2_p(rtDW.LEVEL, &Eva_Target); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ /* : out = int16(g_assSTART_COOLANT_TO_STEP2(2)); */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_cp)) { - rtDW.t_start_delay_private_DSTATE_em = rtDW.t_now; + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_ld)) { + rtDW.t_start_delay_private_DSTATE_e = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreRead: '/incar temp' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ - if ((rtDW.Incar_RR > Duct_FLU_Tg) || (rtb_Subtract > (uint16_t)(1000 * + if ((rtDW.Incar_RR > Duct_FLU_Tg) || (rtb_dt_ca > (uint16_t)(1000 * Eva_Target)) || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_c = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_c = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cp = eComp_stop; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_ld = eComp_stop; - /* 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 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_i(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterup_b(rtDW.LEVEL, &rtDW.Mode_RR); incarfilterdown_c(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_en); + blowerstartfinish(rtDW.LEVEL, rtb_out_df); - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' */ - ECTminmax_l(rtDW.LEVEL, rtb_out_gu); + ECTminmax_b(rtDW.LEVEL, rtb_out_jy); - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - Eva_Target = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_gu, - rtb_out_en, 1U); + Eva_Target = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jy, + rtb_out_df, 1U); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write5' */ rtDW.Blower_RR = (uint16_t)Eva_Target; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_rear' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_rear' */ Dtg_rear(rtDW.LEVEL, &rtDW.Dtg_RR); - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_rear == 1); - /* 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_j(rtDW.LEVEL, &Duct_FLU_Tg); + Incartempgotofromstep1tostep2_n(rtDW.LEVEL, &Duct_FLU_Tg); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oc; + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_l3; - /* 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_l(rtDW.LEVEL, &Eva_Target); + Timegotofromstep1tostep2_p(rtDW.LEVEL, &Eva_Target); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ /* : out = int16(g_assSTART_COOLANT_TO_STEP2(3)); */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_aw)) { - rtDW.t_start_delay_private_DSTATE_oc = rtDW.t_now; + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_pk)) { + rtDW.t_start_delay_private_DSTATE_l3 = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreRead: '/incar temp' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ - if ((rtDW.Incar_RR > Duct_FLU_Tg) || (rtb_Subtract > (uint16_t)(1000 * + if ((rtDW.Incar_RR > Duct_FLU_Tg) || (rtb_dt_ca > (uint16_t)(1000 * Eva_Target)) || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[2])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_c = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_c = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_aw = eComp_stop; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_pk = eComp_stop; - /* 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_d(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, + Level4_n(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &rtb_Divide1, &Valve_2_way, &rtDW.step_start_controle_rear, - &rtDW.t_now, &rtDW.Level4_dp); + &rtDW.t_now, &rtDW.Level4_ns); - /* 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_d(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, + Level4_n(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &rtb_Divide1, &Valve_2_way, &rtDW.step_start_controle_rear, &rtDW.t_now, &rtDW.Level5_f); - /* 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' */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' */ uwayvalve(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(rtDW.LEVEL, &rtb_timer_out); + timeforstep_h(rtDW.LEVEL, &rtb_timer_out); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write10' - * Product: '/Product1' - * Product: '/change rate (dtg//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: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ if ((uint8_t)(rtDW.Dtg_RR - rtDW.Dtg_logic_RR) <= 0.01) { rtDW.Dtg_RR = rtDW.Dtg_logic_RR; } else { if (rtDW.Dtg_RR <= rtDW.Dtg_logic_RR) { - /* 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; } rtDW.Dtg_RR = (uint8_t)((double)EN_BATTChiller / (double)rtb_timer_out - / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_d) * (double) + / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_i) * (double) i + (double)rtDW.Dtg_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtDW.LEVEL, &EN_BATTChiller); + incarfilterup_b(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ incarfilterdown_c(rtDW.LEVEL, &EN_BATTChiller); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_timer_out = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ eComp_stop = (rtb_timer_out <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - step_a(rtDW.LEVEL, &EN_BATTChiller); + step_i3(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_h(rtDW.LEVEL, &rtb_timer_out); + timeforstep_m(rtDW.LEVEL, &rtb_timer_out); - /* 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 (eComp_stop) { rtDW.Mode_RR = rtDW.Mode_logic_RR; } else { if (rtDW.Mode_RR <= rtDW.Mode_logic_RR) { - /* 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; } rtDW.Mode_RR = (uint8_t)((double)EN_BATTChiller / (double) rtb_timer_out / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_nc) * (double)i + (double)rtDW.Mode_RR); + rtDW.UnitDelay_DSTATE_o) * (double)i + (double)rtDW.Mode_RR); } - /* 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' */ - blowerstep_d(rtDW.LEVEL, &Gain); + blowerstep_e(rtDW.LEVEL, &Gain); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowertimeforstep_l(rtDW.LEVEL, &Gain1); + blowertimeforstep_o(rtDW.LEVEL, &Gain1); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * 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: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * 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 ((uint16_t)(rtDW.Blower_RR - rtDW.Blower_logic_RR) <= 0.01) { rtDW.Blower_RR = rtDW.Blower_logic_RR; } else { if (rtDW.Blower_RR <= rtDW.Blower_logic_RR) { - /* 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; } rtDW.Blower_RR = (uint16_t)((double)Gain / (double)Gain1 / 1000.0 * - (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_hs) * (double)i + + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_ge) * (double)i + (double)rtDW.Blower_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_rear == 2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_f; + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_hn; - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_i)) { - rtDW.t_start_delay_private_DSTATE_f = rtDW.t_now; + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_b)) { + rtDW.t_start_delay_private_DSTATE_hn = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* 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_l(rtDW.LEVEL, &Eva_Target); + Timegotofromstep1tostep2_p(rtDW.LEVEL, &Eva_Target); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_Subtract > (uint16_t)(1000 * Eva_Target)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if (rtb_dt_ca > (uint16_t)(1000 * Eva_Target)) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_c = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ rtB.Merge_c = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_d = rtDW.t_now; + rtDW.UnitDelay_DSTATE_i = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_nc = rtDW.t_now; + rtDW.UnitDelay_DSTATE_o = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE_hs = rtDW.t_now; + rtDW.UnitDelay_DSTATE_ge = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_i = eComp_stop; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_b = eComp_stop; - /* 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' */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' */ uwayvalve(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(rtDW.LEVEL, &rtb_timer_out); + timeforstep_h(rtDW.LEVEL, &rtb_timer_out); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write10' - * Product: '/Product1' - * Product: '/change rate (dtg//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: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ if ((uint8_t)(rtDW.Dtg_RR - rtDW.Dtg_logic_RR) <= 0.01) { rtDW.Dtg_RR = rtDW.Dtg_logic_RR; } else { if (rtDW.Dtg_RR <= rtDW.Dtg_logic_RR) { - /* 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; + } + + rtDW.Dtg_RR = (uint8_t)((double)EN_BATTChiller / (double)rtb_timer_out + / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_a4) * (double) + i + (double)rtDW.Dtg_RR); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_b(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_c(rtDW.LEVEL, &EN_BATTChiller); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_timer_out = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + eComp_stop = (rtb_timer_out <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_i3(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_m(rtDW.LEVEL, &rtb_timer_out); + + /* 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 (eComp_stop) { + rtDW.Mode_RR = rtDW.Mode_logic_RR; + } else { + if (rtDW.Mode_RR <= rtDW.Mode_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Mode_RR = (uint8_t)((double)EN_BATTChiller / (double) + rtb_timer_out / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_d) * (double)i + (double)rtDW.Mode_RR); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep_e(rtDW.LEVEL, &Gain); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_o(rtDW.LEVEL, &Gain1); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * 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 ((uint16_t)(rtDW.Blower_RR - rtDW.Blower_logic_RR) <= 0.01) { + rtDW.Blower_RR = rtDW.Blower_logic_RR; + } else { + if (rtDW.Blower_RR <= rtDW.Blower_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Blower_RR = (uint16_t)((double)Gain / (double)Gain1 / 1000.0 * + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_l) * (double)i + (double) + rtDW.Blower_RR); + } + + /* End of Switch: '/Switch' */ + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + eComp_stop = (rtDW.step_start_controle_rear == 2); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_pa; + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_l2)) { + rtDW.t_start_delay_private_DSTATE_pa = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_p(rtDW.LEVEL, &Eva_Target); + + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_dt_ca > (uint16_t)(1000 * Eva_Target)) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' + */ + rtB.Merge_c = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + */ + rtB.Merge_c = 2; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_a4 = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_d = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_l = rtDW.t_now; + + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_l2 = eComp_stop; + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + uwayvalve(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_h(rtDW.LEVEL, &rtb_timer_out); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(rtDW.Dtg_RR - rtDW.Dtg_logic_RR) <= 0.01) { + rtDW.Dtg_RR = rtDW.Dtg_logic_RR; + } else { + if (rtDW.Dtg_RR <= rtDW.Dtg_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -26370,314 +28911,66 @@ void HVAC_model_step(void) i + (double)rtDW.Dtg_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtDW.LEVEL, &EN_BATTChiller); + incarfilterup_b(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ incarfilterdown_c(rtDW.LEVEL, &EN_BATTChiller); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_timer_out = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ eComp_stop = (rtb_timer_out <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - step_a(rtDW.LEVEL, &EN_BATTChiller); + step_i3(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_h(rtDW.LEVEL, &rtb_timer_out); + timeforstep_m(rtDW.LEVEL, &rtb_timer_out); - /* 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 (eComp_stop) { rtDW.Mode_RR = rtDW.Mode_logic_RR; } else { if (rtDW.Mode_RR <= rtDW.Mode_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - i = -1; - } - - rtDW.Mode_RR = (uint8_t)((double)EN_BATTChiller / (double) - rtb_timer_out / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_p) * (double)i + (double)rtDW.Mode_RR); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerstep_d(rtDW.LEVEL, &Gain); - - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowertimeforstep_l(rtDW.LEVEL, &Gain1); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * 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 ((uint16_t)(rtDW.Blower_RR - rtDW.Blower_logic_RR) <= 0.01) { - rtDW.Blower_RR = rtDW.Blower_logic_RR; - } else { - if (rtDW.Blower_RR <= rtDW.Blower_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - i = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - i = -1; - } - - rtDW.Blower_RR = (uint16_t)((double)Gain / (double)Gain1 / 1000.0 * - (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_j) * (double)i + (double) - rtDW.Blower_RR); - } - - /* End of Switch: '/Switch' */ - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - eComp_stop = (rtDW.step_start_controle_rear == 2); - - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_jh; - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_jk)) { - rtDW.t_start_delay_private_DSTATE_jh = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep1tostep2_l(rtDW.LEVEL, &Eva_Target); - - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_Subtract > (uint16_t)(1000 * Eva_Target)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' - */ - rtB.Merge_c = 3; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' - */ - rtB.Merge_c = 2; - } - - /* End of Switch: '/Switch' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_g = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_p = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_j = rtDW.t_now; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_jk = eComp_stop; - - /* End of Outputs for SubSystem: '/Level 1' */ - break; - - case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - uwayvalve(rtDW.LEVEL, &EN_BATTChiller); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_rear(rtDW.LEVEL, &EN_BATTChiller); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_jn(rtDW.LEVEL, &rtb_timer_out); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write10' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - if ((uint8_t)(rtDW.Dtg_RR - rtDW.Dtg_logic_RR) <= 0.01) { - rtDW.Dtg_RR = rtDW.Dtg_logic_RR; - } else { - if (rtDW.Dtg_RR <= rtDW.Dtg_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - i = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - */ - i = -1; - } - - rtDW.Dtg_RR = (uint8_t)((double)EN_BATTChiller / (double)rtb_timer_out - / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE) * (double)i - + (double)rtDW.Dtg_RR); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - incarfilterup_i(rtDW.LEVEL, &EN_BATTChiller); - - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - incarfilterdown_c(rtDW.LEVEL, &EN_BATTChiller); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtb_timer_out = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - eComp_stop = (rtb_timer_out <= 0.01); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - step_a(rtDW.LEVEL, &EN_BATTChiller); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_h(rtDW.LEVEL, &rtb_timer_out); - - /* 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 (eComp_stop) { - rtDW.Mode_RR = rtDW.Mode_logic_RR; - } else { - if (rtDW.Mode_RR <= rtDW.Mode_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - i = 1; - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -26687,390 +28980,413 @@ void HVAC_model_step(void) rtDW.UnitDelay_DSTATE_h) * (double)i + (double)rtDW.Mode_RR); } - /* 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' */ - blowerstep_d(rtDW.LEVEL, &Gain); + blowerstep_e(rtDW.LEVEL, &Gain); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowertimeforstep_l(rtDW.LEVEL, &Gain1); + blowertimeforstep_o(rtDW.LEVEL, &Gain1); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * 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: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * 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 ((uint16_t)(rtDW.Blower_RR - rtDW.Blower_logic_RR) <= 0.01) { rtDW.Blower_RR = rtDW.Blower_logic_RR; } else { if (rtDW.Blower_RR <= rtDW.Blower_logic_RR) { - /* 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; } rtDW.Blower_RR = (uint16_t)((double)Gain / (double)Gain1 / 1000.0 * - (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_n) * (double)i + (double) + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_f) * (double)i + (double) rtDW.Blower_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ eComp_stop = (rtDW.step_start_controle_rear == 2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_e; + rtb_dt_ca = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_kh; - /* 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_l(rtDW.LEVEL, &Eva_Target); + Timegotofromstep1tostep2_p(rtDW.LEVEL, &Eva_Target); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_eia)) { - rtDW.t_start_delay_private_DSTATE_e = rtDW.t_now; + if (eComp_stop && (!rtDW.Cond_prev_private_DSTATE_eo)) { + rtDW.t_start_delay_private_DSTATE_kh = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator1' */ - if ((rtb_Subtract > (uint16_t)(1000 * Eva_Target)) || rtDW.HI_logic_on) - { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if ((rtb_dt_ca > (uint16_t)(1000 * Eva_Target)) || rtDW.HI_logic_on) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_c = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ rtB.Merge_c = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ - rtDW.UnitDelay_DSTATE = rtDW.t_now; + 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_n = rtDW.t_now; + rtDW.UnitDelay_DSTATE_f = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_eia = eComp_stop; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_eo = eComp_stop; - /* 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_i(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, + Level3_j(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &rtb_Divide1, &Valve_2_way, &rtDW.step_start_controle_rear, - &rtDW.t_now, &rtDW.Level3_i0); + &rtDW.t_now, &rtDW.Level3_jn); - /* 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_i(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, + Level3_j(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &rtb_Divide1, &Valve_2_way, &rtDW.step_start_controle_rear, - &rtDW.t_now, &rtDW.Level4_j); + &rtDW.t_now, &rtDW.Level4_d); - /* 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' */ - Level3_i(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, + Level3_j(&rtB.Merge_c, &Gain, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Comp_Max_RPM_Allowed, &rtDW.Dtg_RR, &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_timer_out, &EN_BATTChiller, &rtDW.LEVEL, &rtb_Switch3_ed, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &rtb_Divide1, &Valve_2_way, &rtDW.step_start_controle_rear, - &rtDW.t_now, &rtDW.Level5_e); + &rtDW.t_now, &rtDW.Level5_cf); - /* 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_c, &rtDW.start_control_finished_front); + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/True' + */ + rtDW.start_control_finished_front = 1; - /* End of Outputs for SubSystem: '/Step 3 R' */ + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' + */ + rtB.Merge_c = 4; + + /* 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_c; - /* End of Outputs for SubSystem: '/Start Control Rear' */ + /* End of Outputs for SubSystem: '/Start Control Rear' */ } - /* End of If: '/если SC rear не завершен1' */ + /* End of If: '/если SC rear не завершен1' */ - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write16' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ - if (rtB.sync_all > 0) { - /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: - * ActionPort: '/Action Port' + if (rtDW.CCU_ALL_ZONE_SYNC > 0) { + /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_SET_RL = rtDW.CCU_SET_FL; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write2' */ rtDW.CCU_SET_RR = rtDW.CCU_SET_FL; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_RR = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' */ 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; - /* End of Outputs for SubSystem: '/all zone sync' */ + /* 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 If: '/If' */ + /* End of If: '/If' */ - /* If: '/If1' incorporates: - * DataStoreWrite: '/Data Store Write17' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read2' */ - if (rtB.sync_front > 0) { - /* Outputs for IfAction SubSystem: '/front sync' incorporates: - * ActionPort: '/Action Port' + if (rtDW.CCU_FRONT_SYNC > 0) { + /* Outputs for IfAction SubSystem: '/front sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' */ rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; - /* DataStoreWrite: '/Data Store Write16' incorporates: - * DataStoreRead: '/Data Store Read6' + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read6' */ rtDW.CCU_AUTOMODE_FR = rtDW.CCU_AUTOMODE_FL; - /* End of Outputs for SubSystem: '/front sync' */ + /* End of Outputs for SubSystem: '/front sync' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreWrite: '/Data Store Write15' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read3' */ - if (rtB.sync_rear > 0) { - /* Outputs for IfAction SubSystem: '/rear sync' incorporates: - * ActionPort: '/Action Port' + if (rtDW.CCU_REAR_SYNC > 0) { + /* Outputs for IfAction SubSystem: '/rear sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write2' */ rtDW.CCU_SET_RL = rtDW.CCU_SET_RR; - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_RR; - /* DataStoreWrite: '/Data Store Write17' incorporates: - * DataStoreRead: '/Data Store Read2' + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreRead: '/Data Store Read2' */ rtDW.CCU_AUTOMODE_RL = rtDW.CCU_AUTOMODE_RR; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_RL = rtDW.CCU_FACE_RR; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_RL = rtDW.CCU_FOOT_RR; - /* DataStoreWrite: '/Data Store Write15' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_RL = rtDW.CCU_MODE_RR; - /* End of Outputs for SubSystem: '/rear sync' */ + /* End of Outputs for SubSystem: '/rear sync' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ - /* Update for DiscreteIntegrator: '/Integrator' incorporates: - * Switch: '/Switch' + /* Update for DiscreteIntegrator: '/Integrator' incorporates: + * Switch: '/Switch' */ if ((rtDW.Integrator_DSTATE_l < 0) && (rtb_Switch_fs < INT32_MIN - rtDW.Integrator_DSTATE_l)) { @@ -27084,186 +29400,165 @@ void HVAC_model_step(void) rtDW.Integrator_PrevResetState = (int8_t)Enable_Comp_PID; - /* End of Update for DiscreteIntegrator: '/Integrator' */ + /* End of Update for DiscreteIntegrator: '/Integrator' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: + /* Update for UnitDelay: '/Unit Delay' incorporates: * Constant: '/Constant' */ rtDW.UnitDelay_DSTATE_l0 = 1; - /* Update for UnitDelay: '/Unit Delay' incorporates: + /* Update for UnitDelay: '/Unit Delay' incorporates: * Constant: '/Constant' */ - rtDW.UnitDelay_DSTATE_cc = 1; + rtDW.UnitDelay_DSTATE_c = 1; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * Constant: '/Constant1' - */ - rtDW.UnitDelay_DSTATE_cd = 1; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * Constant: '/Constant1' - */ - rtDW.UnitDelay_DSTATE_js = 1; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read6' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read6' */ rtDW.UnitDelay_DSTATE_lk = g_assEVA_TG_AMB_F_n; - /* Update for UnitDelay: '/Unit Delay1' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Update for UnitDelay: '/Unit Delay1' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtDW.UnitDelay1_DSTATE = g_assEVA_TG_AMB_R_h; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE = rtb_FailCond_fn; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_p = rtb_FailCond_gk; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_a = rtb_FailCond; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_ah; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_c = rtb_Compare; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_m = rtb_Compare_eu; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_j = rtb_Compare_e3; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_f = rtb_Compare_fr; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_cn = rtb_Compare_b; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_l = rtb_Compare_lu; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_l = rtb_Compare_au; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_ja = rtb_Compare_eg; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_ja = rtb_Compare_gl; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_g = rtb_LogicalOperator_fc; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_g = rtb_Compare_m; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cd = rtb_Compare_m4; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_cd = rtb_Compare_i; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_e = rtb_Compare_pl; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_e = rtb_LogicalOperator; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_mv = rtb_Compare_l; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_mv = rtb_FailCond_i; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_jl = rtb_Compare_mw; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_jl = rtb_FailCond_gd; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_ei = rtb_Compare_e1; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_ei = rtb_FailCond_p0; - /* Update for DiscreteIntegrator: '/Integrator' incorporates: - * DataStoreWrite: '/Data Store Write' - * Gain: '/Integral Gain' - * Gain: '/Gain' - * Sum: '/SumI2' - * Sum: '/SumI4' - * Sum: '/SumI2' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.UnitDelay_DSTATE_d5 = rtb_Merge1; + + /* Update for DiscreteIntegrator: '/Integrator' incorporates: + * DataStoreWrite: '/Data Store Write' + * Gain: '/Gain' + * Gain: '/Integral Gain' + * Sum: '/SumI2' + * Sum: '/SumI4' + * Sum: '/SumI2' */ rtDW.Integrator_DSTATE += (int64_t)((rtDW.PID_TempFUL - (int32_t)(rtb_SumI2_e >> 32)) + (int32_t)((1717986918LL * rtb_Gain_pl) >> 52)) << 32; - /* Update for DiscreteIntegrator: '/Integrator' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Gain: '/Integral Gain' - * Gain: '/Gain1' - * Sum: '/SumI2' - * Sum: '/SumI4' - * Sum: '/SumI2' + /* Update for DiscreteIntegrator: '/Integrator' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Gain: '/Gain1' + * Gain: '/Integral Gain' + * Sum: '/SumI2' + * Sum: '/SumI4' + * Sum: '/SumI2' */ rtDW.Integrator_DSTATE_k += (int64_t)((rtDW.PID_TempFUR - (int32_t) (rtb_SumI2_je >> 32)) + (int32_t)((1717986918LL * rpm_phys) >> 52)) << 32; - /* Update for DiscreteIntegrator: '/Integrator' incorporates: - * DataStoreWrite: '/Data Store Write4' - * Gain: '/Integral Gain' - * Gain: '/Gain4' - * Sum: '/SumI2' - * Sum: '/SumI4' - * Sum: '/SumI2' + /* Update for DiscreteIntegrator: '/Integrator' incorporates: + * DataStoreWrite: '/Data Store Write4' + * Gain: '/Gain4' + * Gain: '/Integral Gain' + * Sum: '/SumI2' + * Sum: '/SumI4' + * Sum: '/SumI2' */ rtDW.Integrator_DSTATE_h += (int64_t)((rtDW.PID_TempFLL - (int32_t) (rtb_SumI2_b >> 32)) + (int32_t)((1717986918LL * rtb_Gain4) >> 52)) << 32; - /* Update for DiscreteIntegrator: '/Integrator' incorporates: - * DataStoreWrite: '/Data Store Write5' - * Gain: '/Integral Gain' - * Gain: '/Gain5' - * Sum: '/SumI2' - * Sum: '/SumI2' - * Sum: '/SumI4' + /* Update for DiscreteIntegrator: '/Integrator' incorporates: + * DataStoreWrite: '/Data Store Write5' + * Gain: '/Gain5' + * Gain: '/Integral Gain' + * Sum: '/SumI2' + * Sum: '/SumI2' + * Sum: '/SumI4' */ rtDW.Integrator_DSTATE_i += (int64_t)((rtDW.PID_TempFRL - (int32_t) (rtb_SumI2_c >> 32)) + (int32_t)((1717986918LL * rtb_Gain5) >> 52)) << 32; - /* Update for DiscreteIntegrator: '/Integrator' incorporates: - * DataStoreWrite: '/Data Store Write2' - * Gain: '/Integral Gain' - * Gain: '/Gain2' - * Sum: '/SumI2' - * Sum: '/SumI4' - * Sum: '/SumI2' + /* Update for DiscreteIntegrator: '/Integrator' incorporates: + * DataStoreWrite: '/Data Store Write2' + * Gain: '/Gain2' + * Gain: '/Integral Gain' + * Sum: '/SumI2' + * Sum: '/SumI4' + * Sum: '/SumI2' */ rtDW.Integrator_DSTATE_n += (int64_t)((rtDW.PID_TempRL - (int32_t)(rtb_SumI2_o >> 32)) + (int32_t)((1717986918LL * rtb_Gain2) >> 52)) << 32; - /* Update for DiscreteIntegrator: '/Integrator' incorporates: - * DataStoreWrite: '/Data Store Write3' - * Gain: '/Integral Gain' - * Gain: '/Gain3' - * Sum: '/SumI2' - * Sum: '/SumI4' + /* Update for DiscreteIntegrator: '/Integrator' incorporates: + * DataStoreWrite: '/Data Store Write3' + * Gain: '/Gain3' + * Gain: '/Integral Gain' + * Sum: '/SumI2' + * Sum: '/SumI4' */ rtDW.Integrator_DSTATE_a += (int64_t)((rtDW.PID_TempRR - (int32_t) (rtb_IntegralGain >> 32)) + (int32_t)((1717986918LL * rtb_Gain3) >> 52)) << 32; - /* 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 = true; - /* 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 = true; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_f = true; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_c = true; } /* Model initialize function */ @@ -27295,37 +29590,55 @@ void HVAC_model_initialize(void) { int32_t i; + + /* Start for Merge: '/Merge' incorporates: + * DataStoreMemory: '/Data Store Memory' + */ + rtDW.Temp_FL_store = -9999; + + /* Start for Sum: '/Add1' incorporates: + * DataStoreMemory: '/Data Store Memory10' + */ + rtDW.Temp_RR_store = -9999; + + /* Start for DataStoreMemory: '/Data Store Memory4' */ + rtDW.Temp_FR_store = -9999; + + /* Start for Merge: '/Merge' incorporates: + * DataStoreMemory: '/Data Store Memory6' + */ + rtDW.Temp_RL_store = -9999; + + /* Start for Switch: '/Switch1' incorporates: + * DataStoreMemory: '/Data Store Memory' + */ + rtDW.AMB_store = -9999.0; for (i = 0; i < 9; i++) { - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh0_private[i] = rtConstP.DataStoreMemory13_InitialValue[i]; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_p[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh1_private[i] = rtConstP.DataStoreMemory13_InitialValue_i[i]; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_b[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh2_private[i] = rtConstP.DataStoreMemory13_InitialValue_l[i]; } - /* Start for Switch: '/Switch1' incorporates: - * DataStoreMemory: '/Data Store Memory' - */ - rtDW.AMB_store = -9999.0; - - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.step_start_controle_front = -1; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.step_start_controle_rear = -1; /* Start for DataStoreMemory: '/Data Store Memory110' */ @@ -27340,17 +29653,17 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory119' */ rtDW.CCU_AUTOMODE_RR = 3U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory14' */ rtDW.CCU_SET_FR = 225U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory15' */ rtDW.CCU_SET_FL = 225U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory16' */ rtDW.CCU_SET_RR = 225U; @@ -27361,9 +29674,6 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory161' */ rtDW.PBATT_CK_EN = 1U; - /* Start for DataStoreMemory: '/Data Store Memory164' */ - rtDW.TwoWayValve_EN = 1U; - /* Start for DataStoreMemory: '/Data Store Memory165' */ rtDW.ReservePower_EN = 1U; @@ -27373,7 +29683,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 = 225U; @@ -27420,137 +29730,175 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory94' */ rtDW.CCU_AUTOMODE_FL = 3U; - /* InitializeConditions for DiscreteIntegrator: '/Integrator' */ + /* InitializeConditions for DiscreteIntegrator: '/Integrator' */ rtDW.Integrator_PrevResetState = 0; - /* InitializeConditions for RateLimiter: '/Rate Limiter' */ + /* InitializeConditions for RateLimiter: '/Rate Limiter' */ rtDW.PrevY = 0U; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_d5 = -9999; - - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ rtDW.UnitDelay_DSTATE_lk = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay1' */ + /* InitializeConditions for UnitDelay: '/Unit Delay1' */ rtDW.UnitDelay1_DSTATE = -9999; + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_da = -9999; + + /* InitializeConditions for UnitDelay: '/Unit Delay1' */ + rtDW.UnitDelay1_DSTATE_k = -9999; + + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_my = -9999; + + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_lt = -9999; + + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_d5 = -9999; + /* SystemInitialize for Chart: '/A//C Control' */ rtB.FRONT_eTXV = false; rtB.REAR_eTXV = false; rtB.Chiller_eTXV = false; - rtB.FRONT_Start_request = false; rtDW.Pressure_Condition_table_OK = false; - rtB.REAR_Start_request = false; rtDW.Chiller_Start_request = false; rtDW.Pressure_Hi_Fault = false; rtB.Comp_Feedback_Temp = 0; rtB.Comp_Target_Temp = 0; rtB.Chiller_Only_Flag = 0.0; + rtDW.FRONT_Start_request = false; + rtDW.REAR_Start_request = false; rtDW.is_active_c621_HVAC_model = 0U; - rtDW.is_PRESSURE_MONITOR = IN_NO_ACTIVE_CHILD_j; - rtDW.is_FRONT_CONTOUR = IN_NO_ACTIVE_CHILD_j; - rtDW.is_REAR_CONTOUR = IN_NO_ACTIVE_CHILD_j; - rtDW.is_CHILLER_CONTOUR = IN_NO_ACTIVE_CHILD_j; - rtDW.is_E_COMP_MANAGER = IN_NO_ACTIVE_CHILD_j; - rtDW.is_COMP_PROTECTION = IN_NO_ACTIVE_CHILD_j; + rtDW.is_PRESSURE_MONITOR = IN_NO_ACTIVE_CHILD_h; + rtDW.is_FRONT_CONTOUR = IN_NO_ACTIVE_CHILD_h; + rtDW.is_REAR_CONTOUR = IN_NO_ACTIVE_CHILD_h; + rtDW.is_CHILLER_CONTOUR = IN_NO_ACTIVE_CHILD_h; + rtDW.is_E_COMP_MANAGER = IN_NO_ACTIVE_CHILD_h; + rtDW.is_COMP_PROTECTION = IN_NO_ACTIVE_CHILD_h; - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ rtDW.t_start_not_empty = false; rtDW.is_running = 0U; - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL' */ - Zone_Climate_Logic_Auto_FL_Init(&rtB.out_def_l, &rtB.out_face_o, - &rtB.out_foot_h, &rtB.out_auto_a, &rtDW.sf_Zone_Climate_Logic_Auto_FL); - - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FR' */ - Zone_Climate_Logic_Auto_FL_Init(&rtB.out_def, &rtB.out_face, &rtB.out_foot, - &rtB.out_auto, &rtDW.sf_Zone_Climate_Logic_Auto_FR); + /* SystemInitialize for Chart: '/Chart' */ + rtDW.t_start_1 = 0U; + rtDW.t_start_2 = 0U; + rtDW.t_start_3 = 0U; + rtDW.t_start_4 = 0U; + rtB.Cmd_2Way = 0U; + rtDW.is_active_c775_HVAC_model = 0U; + rtDW.is_TwoWay_Logic = IN_NO_ACTIVE_CHILD_h; /* 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_j; + rtDW.is_c618_HVAC_model = IN_NO_ACTIVE_CHILD_h; - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_b = 0U; - /* SystemInitialize for MATLAB Function: '/Log Ambient Lv' */ + /* SystemInitialize for MATLAB Function: '/Log Ambient Lv' */ rtDW.current_Ambient_Lv_not_empty = false; - /* SystemInitialize for 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 Chart: '/Chart' */ + rtB.req_OSA = 0U; + rtB.req_REC = 0U; + rtDW.X_prev = 0; + rtDW.is_active_c776_HVAC_model = 0U; + rtDW.is_c776_HVAC_model = IN_NO_ACTIVE_CHILD_h; + rtDW.is_PARTIAL_REC_ON = IN_NO_ACTIVE_CHILD_h; + rtDW.is_COND_2 = IN_NO_ACTIVE_CHILD_h; + + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL2' */ + Zone_Climate_Logic_Auto_FL2_Init(&rtB.out_def_a, &rtB.out_face_p, + &rtB.out_foot_e, &rtB.out_auto_c, &rtB.out_ac_h, + &rtDW.sf_Zone_Climate_Logic_Auto_FL2); + + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL3' */ + Zone_Climate_Logic_Auto_FL2_Init(&rtB.out_def_m, &rtB.out_face_a, + &rtB.out_foot_m, &rtB.out_auto_d, &rtB.out_ac_i, + &rtDW.sf_Zone_Climate_Logic_Auto_FL3); + + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL1' */ + Zone_Climate_Logic_Auto_FL1_Init(&rtB.out_def_i, &rtB.out_face_o, + &rtB.out_foot_g, &rtB.out_auto_h, &rtB.out_ac_m, + &rtDW.sf_Zone_Climate_Logic_Auto_FL1); + + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL4' */ + Zone_Climate_Logic_Auto_FL1_Init(&rtB.out_def, &rtB.out_face, &rtB.out_foot, + &rtB.out_auto, &rtB.out_ac, &rtDW.sf_Zone_Climate_Logic_Auto_FL4); + + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_n = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_h); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_a = 0; + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_ac = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_f1 = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_j = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_hk); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_p = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_e = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_g); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_h3 = 0; - - /* End of SystemInitialize for SubSystem: '/Homing' */ - - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_b4 = 0; - - /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_h = 0; - /* End of SystemInitialize for SubSystem: '/Start Control Front' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Start Control Rear' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_b4 = 0; + + /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_fb = 0; + + /* End of SystemInitialize for SubSystem: '/Start Control Front' */ + + /* SystemInitialize for IfAction SubSystem: '/Start Control Rear' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_c = 0; - /* End of SystemInitialize for SubSystem: '/Start Control Rear' */ + /* End of SystemInitialize for SubSystem: '/Start Control Rear' */ } } diff --git a/HVAC_model.h b/HVAC_model.h old mode 100644 new mode 100755 index 7d92add..d39d364 --- a/HVAC_model.h +++ b/HVAC_model.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1082 + * Model version : 1.1128 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Jun 10 11:23:53 2026 + * C/C++ source code generated on : Tue Jun 23 15:07:47 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -41,96 +41,119 @@ /* user code (top of header file) */ #include -/* Block states (default storage) for system '/MATLAB Function' */ +/* Block states (default storage) for system '/Level 4' */ typedef struct { - double cond_prev; /* '/MATLAB Function' */ - uint32_t t_start; /* '/MATLAB Function' */ - bool t_start_not_empty; /* '/MATLAB Function' */ -} DW_MATLABFunction; + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ +} DW_Level4_o; -/* Block states (default storage) for system '/Level 4' */ +/* Block states (default storage) for system '/Level 3' */ typedef struct { - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ -} DW_Level4_n; - -/* Block states (default storage) for system '/Level 3' */ -typedef struct { - uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_i; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_j; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_a; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_e; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_g; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_gq; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ } DW_Level3; -/* Block states (default storage) for system '/Level 0' */ +/* Block states (default storage) for system '/Level 0' */ typedef struct { - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ -} DW_Level0_c; + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ +} DW_Level0_f; -/* Block states (default storage) for system '/Level 4' */ +/* Block states (default storage) for system '/Level 4' */ typedef struct { - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ -} DW_Level4_a; + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ +} DW_Level4_oa; -/* 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_i; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_e; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ -} DW_Level3_n; + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_a; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_ar; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ +} DW_Level3_j; -/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL' */ +/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL1' */ typedef struct { - uint8_t is_active_c777_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL' */ - uint8_t is_c777_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL' */ - uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL' */ - uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL' */ - uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL' */ -} DW_Zone_Climate_Logic_Auto_FL; + uint8_t is_active_c23_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_c23_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_AC_SUB; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_AC_SUB_g; /* '/Zone_Climate_Logic_Auto_FL1' */ +} DW_Zone_Climate_Logic_Auto_FL1; + +/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL2' */ +typedef struct { + uint8_t is_active_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_AC_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_AC_SUB_b; /* '/Zone_Climate_Logic_Auto_FL2' */ +} DW_Zone_Climate_Logic_Auto_FL2; + +/* 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' */ +} DW_MATLABFunction; /* Block signals (default storage) */ typedef struct { + double out_ac; /* '/Zone_Climate_Logic_Auto_FL4' */ + double out_ac_i; /* '/Zone_Climate_Logic_Auto_FL3' */ + double out_ac_h; /* '/Zone_Climate_Logic_Auto_FL2' */ + double out_ac_m; /* '/Zone_Climate_Logic_Auto_FL1' */ double Chiller_Only_Flag; /* '/A//C Control' */ - uint16_t MultiportSwitch[6]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_o[6]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_f[9]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_of; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_j; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_a; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_o2; /* '/Multiport Switch' */ + uint16_t MultiportSwitch[6]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_o[6]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_f[9]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_of; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_j; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_a; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_o2; /* '/Multiport Switch' */ int16_t Comp_Feedback_Temp; /* '/A//C Control' */ int16_t Comp_Target_Temp; /* '/A//C Control' */ - uint8_t Merge_b; /* '/Merge' */ - uint8_t out_def; /* '/Zone_Climate_Logic_Auto_FR' */ - uint8_t out_face; /* '/Zone_Climate_Logic_Auto_FR' */ - uint8_t out_foot; /* '/Zone_Climate_Logic_Auto_FR' */ - uint8_t out_auto; /* '/Zone_Climate_Logic_Auto_FR' */ - uint8_t out_def_l; /* '/Zone_Climate_Logic_Auto_FL' */ - uint8_t out_face_o; /* '/Zone_Climate_Logic_Auto_FL' */ - uint8_t out_foot_h; /* '/Zone_Climate_Logic_Auto_FL' */ - uint8_t out_auto_a; /* '/Zone_Climate_Logic_Auto_FL' */ - uint8_t sync_all; /* '/Synchronization stateflow chart' */ - uint8_t sync_front; /* '/Synchronization stateflow chart' */ - uint8_t sync_rear; /* '/Synchronization stateflow chart' */ - int8_t Merge_f1; /* '/Merge' */ - int8_t Merge_e; /* '/Merge' */ - int8_t Merge_b4; /* '/Merge' */ - int8_t Merge_c; /* '/Merge' */ - int8_t Merge_h; /* '/Merge' */ - int8_t Merge_h3; /* '/Merge' */ - int8_t Merge_p; /* '/Merge' */ - int8_t Merge_a; /* '/Merge' */ + uint8_t Merge_b; /* '/Merge' */ + uint8_t Cmd_2Way; /* '/Chart' */ + uint8_t out_def; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t out_face; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t out_foot; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t out_auto; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t out_def_m; /* '/Zone_Climate_Logic_Auto_FL3' */ + uint8_t out_face_a; /* '/Zone_Climate_Logic_Auto_FL3' */ + uint8_t out_foot_m; /* '/Zone_Climate_Logic_Auto_FL3' */ + uint8_t out_auto_d; /* '/Zone_Climate_Logic_Auto_FL3' */ + uint8_t out_def_a; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t out_face_p; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t out_foot_e; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t out_auto_c; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t out_def_i; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t out_face_o; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t out_foot_g; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t out_auto_h; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t req_OSA; /* '/Chart' */ + uint8_t req_REC; /* '/Chart' */ + int8_t Merge_f1; /* '/Merge' */ + int8_t Merge_e; /* '/Merge' */ + int8_t Merge_b4; /* '/Merge' */ + int8_t Merge_h; /* '/Merge' */ + int8_t Merge_p; /* '/Merge' */ + int8_t Merge_ac; /* '/Merge' */ + int8_t Merge_c; /* '/Merge' */ + int8_t Merge_fb; /* '/Merge' */ bool FRONT_eTXV; /* '/A//C Control' */ bool REAR_eTXV; /* '/A//C Control' */ bool Chiller_eTXV; /* '/A//C Control' */ - bool FRONT_Start_request; /* '/A//C Control' */ - bool REAR_Start_request; /* '/A//C Control' */ } B; /* Block states (default storage) for system '' */ @@ -139,9 +162,9 @@ typedef struct { dbgCAN_dbg_Sen_Duct_Bus dbgCAN_dbg_Sen_Duct_model;/* '/Data Store Memory82' */ CmdCAN_CCU_STAT1_Bus CCU_STAT1_MODEL;/* '/Data Store Memory105' */ CCUCAN_ESC_04_Bus CCUCAN_ESC_04_model;/* '/Data Store Memory141' */ + dbgCAN_dbg_Sen_Incar_Bus dbgCAN_dbg_Sen_Incar_model;/* '/Data Store Memory157' */ CmdCAN_CCU_STAT2_Bus CCU_STAT2_MODEL;/* '/Data Store Memory156' */ tPowerEnable_Bus PowerEnable_Model; /* '/Data Store Memory159' */ - dbgCAN_dbg_Sen_Incar_Bus dbgCAN_dbg_Sen_Incar_model;/* '/Data Store Memory157' */ CCUCAN_BCM_Climatic_Bus CCUCAN_BCM_Climatic_model;/* '/Data Store Memory138' */ BCM_VEH_STATE_Bus CCUCAN_BCM_VEH_STATE_model;/* '/Data Store Memory177' */ HVC_Err_Status_Msg_Bus HVC_ERR_STATUS_MSG_MODEL;/* '/Data Store Memory210' */ @@ -152,30 +175,37 @@ typedef struct { dbgCAN_dbg_Logic_Blower_Bus dbgCAN_dbg_Logic_Blower_model;/* '/Data Store Memory64' */ CCUCAN_BCM_Powertrain_Bus CCUCAN_BCM_Powertrain_model;/* '/Data Store Memory137' */ CCUCAN_EMS_Veh_Bus CCUCAN_EMS_Veh_model;/* '/Data Store Memory140' */ - int64_t Integrator_DSTATE; /* '/Integrator' */ - int64_t Integrator_DSTATE_k; /* '/Integrator' */ - int64_t Integrator_DSTATE_h; /* '/Integrator' */ - int64_t Integrator_DSTATE_i; /* '/Integrator' */ - int64_t Integrator_DSTATE_n; /* '/Integrator' */ - int64_t Integrator_DSTATE_a; /* '/Integrator' */ - double LOGGER_ACP; /* '/Data Store Memory1' */ - double ErrorHomming_private; /* '/Data Store Memory2' */ - double ErrorHomming_private_h; /* '/Data Store Memory2' */ - double ErrorHomming_private_m; /* '/Data Store Memory2' */ - double LOGGER_LIN; /* '/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' */ + int64_t Integrator_DSTATE; /* '/Integrator' */ + int64_t Integrator_DSTATE_k; /* '/Integrator' */ + int64_t Integrator_DSTATE_h; /* '/Integrator' */ + int64_t Integrator_DSTATE_i; /* '/Integrator' */ + int64_t Integrator_DSTATE_n; /* '/Integrator' */ + int64_t Integrator_DSTATE_a; /* '/Integrator' */ + double KEEP_RISING_FL_UNTIL_LIMIT; /* '/Data Store Memory1' */ + 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 KEEP_FALLING_FR_UNTIL_LIMIT; /* '/Data Store Memory5' */ + 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 LOGGER_LIN; /* '/Data Store Memory1' */ double SKIPPED_FIRST_SIMULATION_STEP;/* '/Data Store Memory131' */ double Sun_L; /* '/Data Store Memory143' */ double Sun_R; /* '/Data Store Memory144' */ - double MODE_DRIVER; /* '/Data Store Memory18' */ - double MODE_RR_passenger; /* '/Data Store Memory19' */ + double Full_Rec; /* '/Data Store Memory216' */ 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 Start_timer; /* '/Data Store Memory' */ + double Start_timer_j; /* '/Data Store Memory' */ + double Start_timer_n; /* '/Data Store Memory' */ CCU_HVC_Req_Msg_Bus CCUCAN_HVC_REQ_MSG_MODEL;/* '/Data Store Memory194' */ CCU_Msg3_Bus CCU_Msg3_model; /* '/Data Store Memory212' */ dbgCAN_dbg_Sen_0_Bus dbgCAN_dbg_Sen_0_model;/* '/Data Store Memory158' */ @@ -186,92 +216,103 @@ typedef struct { dbgCAN_dbg_dbg_Sen_Eva_Bus dbgCAN_dbg_Sen_Eva_model;/* '/Data Store Memory83' */ CCUCAN_EMS_HVC_Req_Msg_Bus CCUCAN_EMS_HVC_REQ_MSG_MODEL;/* '/Data Store Memory191' */ CmdBusADCDataKey ADC_Key_Data_Model; /* '/Data Store Memory198' */ - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_g;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_l;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_gg;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_a;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_ao;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_m;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_k;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_p;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_h;/* '/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_cd;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_o;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_oj;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_oy;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_go;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_j;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_kw;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_gd;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_h; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE_e;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE_g; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_p; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_j; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE_jh;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE_d; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_nc; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_hs; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE_f;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_oc;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_em;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE_f; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_pu; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_b; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_e; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE_n;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_gf; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_p0; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE_mz;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_pb; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_mk; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_gm; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE_gp;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_fm;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_mk;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_pd;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ - int32_t Integrator_DSTATE_l; /* '/Integrator' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_g;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_l;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_gg;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_go;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_k;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_j;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_gd;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_m;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_kc;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_p;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_h;/* '/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_cd;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_o;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_oj;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_oy;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_a; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_b; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_bd; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_g; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_h; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_f; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_kh;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_a4; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_d; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_pa;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_i; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_o; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_ge; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_hn;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_l3;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_e;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_fs; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_ha; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_e; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_it;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_an; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_a1; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_ne; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_p; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_n;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_hx; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_fi; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_p5; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_jt;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_d;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_jr;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_ch;/* '/t_start_delay_private ' */ + int32_t Integrator_DSTATE_l; /* '/Integrator' */ uint32_t t_now; /* '/Data Store Memory5' */ - uint32_t t_start; /* '/MATLAB Function1' */ - int16_t UnitDelay_DSTATE_d5; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_l0; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_cc; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_cd; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_js; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_lk; /* '/Unit Delay' */ - int16_t UnitDelay1_DSTATE; /* '/Unit Delay1' */ - int16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ - int16_t MaxPositionCh0_private[9]; /* '/Data Store Memory13' */ - int16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ - int16_t MaxPositionCh1_private[9]; /* '/Data Store Memory13' */ - int16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ - int16_t MaxPositionCh2_private[9]; /* '/Data Store Memory13' */ - int16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ + uint32_t t_start; /* '/MATLAB Function1' */ + uint32_t t_start_1; /* '/Chart' */ + uint32_t t_start_2; /* '/Chart' */ + uint32_t t_start_3; /* '/Chart' */ + uint32_t t_start_4; /* '/Chart' */ + int16_t UnitDelay_DSTATE_l0; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_lk; /* '/Unit Delay' */ + int16_t UnitDelay1_DSTATE; /* '/Unit Delay1' */ + int16_t UnitDelay_DSTATE_da; /* '/Unit Delay' */ + int16_t UnitDelay1_DSTATE_k; /* '/Unit Delay1' */ + int16_t UnitDelay_DSTATE_my; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_lt; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_d5; /* '/Unit Delay' */ + int16_t Temp_FL_store; /* '/Data Store Memory' */ + int16_t Temp_RR_store; /* '/Data Store Memory10' */ + int16_t Temp_FR_store; /* '/Data Store Memory4' */ + int16_t Temp_RL_store; /* '/Data Store Memory6' */ + int16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh0_private[9]; /* '/Data Store Memory13' */ + int16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh1_private[9]; /* '/Data Store Memory13' */ + int16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh2_private[9]; /* '/Data Store Memory13' */ int16_t 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 AMB_RAW; /* '/Data Store Memory139' */ int16_t AMB; /* '/Data Store Memory4' */ int16_t Pressure; /* '/Data Store Memory6' */ int16_t Incar_FL; /* '/Data Store Memory7' */ int16_t Incar_RL; /* '/Data Store Memory8' */ int16_t Eva_R; /* '/Data Store Memory9' */ - int16_t VehicleSpeed; /* '/VehicleSpeed' */ int16_t ECT; /* '/engine coolant temp' */ - uint16_t POS_private[9]; /* '/Data Store Memory3' */ - uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ - uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ + int16_t X_prev; /* '/Chart' */ + uint16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ + uint16_t POS_private[9]; /* '/Data Store Memory3' */ + uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ + uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ uint16_t CCU_SET_FR; /* '/Data Store Memory14' */ uint16_t CCU_SET_FL; /* '/Data Store Memory15' */ uint16_t CCU_SET_RR; /* '/Data Store Memory16' */ @@ -280,83 +321,83 @@ typedef struct { uint16_t Blower_RR; /* '/Data Store Memory32' */ uint16_t Blower_logic_FL; /* '/Data Store Memory37' */ uint16_t Blower_logic_RR; /* '/Data Store Memory56' */ + uint16_t VehicleSpeed; /* '/VehicleSpeed' */ uint16_t eComp_InputC; /* '/Can_Chiller3' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_p; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_a; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_f; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cn; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_l; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_ja; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cd; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_e; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_mv; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_jl; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_ei; /* '/Cond_prev_private ' */ - bool DelayInput1_DSTATE; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_d; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_f; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_c; /* '/Delay Input1' */ - bool Cond_prev_private_DSTATE_eia; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_jk; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_i; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_aw; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cp; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_iy; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_b; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_mb; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_fi; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_hs; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_gx; /* '/Cond_prev_private ' */ - int8_t Integrator_PrevResetState; /* '/Integrator' */ - 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 Memory' */ - int8_t step_start_controle_rear; /* '/Data Store Memory1' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_p; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_a; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_f; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cn; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_l; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_ja; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cd; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_e; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_mv; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_jl; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_ei; /* '/Cond_prev_private ' */ + bool DelayInput1_DSTATE; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_d; /* '/Delay Input1' */ + bool Cond_prev_private_DSTATE_eo; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_l2; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_b; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_pk; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_ld; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_n; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_o; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_lu; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_fs; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_ht; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_an; /* '/Cond_prev_private ' */ + int8_t Integrator_PrevResetState; /* '/Integrator' */ + 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 Memory' */ + int8_t step_start_controle_rear; /* '/Data Store Memory1' */ int8_t start_control_finished_front; /* '/SC Front' */ - uint8_t PrevY; /* '/Rate Limiter' */ - 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 PrevY; /* '/Rate Limiter' */ + uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ + uint8_t Speed_private[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private[9]; /* '/Data Store Memory5' */ + uint8_t COM_private[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ uint8_t eCompChiller_Req; /* '/Can_Chiller' */ uint8_t CCU_ActuatorErrF_Stat_private;/* '/Data Store Memory' */ uint8_t dtc_state_error_model[127]; /* '/Data Store Memory1' */ + uint8_t CCU_FRONT_SYNC; /* '/Data Store Memory101' */ uint8_t CCU_MODE_RL; /* '/Data Store Memory108' */ uint8_t CCU_FACE_RL; /* '/Data Store Memory110' */ uint8_t CCU_FOOT_RL; /* '/Data Store Memory111' */ @@ -368,13 +409,14 @@ typedef struct { uint8_t CCU_BLOWERS_RR; /* '/Data Store Memory118' */ uint8_t CCU_AUTOMODE_RR; /* '/Data Store Memory119' */ uint8_t CCU_AC_REAR; /* '/Data Store Memory122' */ + uint8_t CCU_REAR_SYNC; /* '/Data Store Memory125' */ uint8_t PWM_rear; /* '/Data Store Memory132' */ uint8_t PWM_front; /* '/Data Store Memory135' */ + uint8_t CCU_ALL_ZONE_SYNC; /* '/Data Store Memory155' */ uint8_t SW5V_EN; /* '/Data Store Memory160' */ uint8_t PBATT_CK_EN; /* '/Data Store Memory161' */ uint8_t Incar_Motor_Front_EN; /* '/Data Store Memory162' */ uint8_t Incar_Motor_Rear_EN; /* '/Data Store Memory163' */ - uint8_t TwoWayValve_EN; /* '/Data Store Memory164' */ uint8_t ReservePower_EN; /* '/Data Store Memory165' */ uint8_t PtcRelayDriver1_EN; /* '/Data Store Memory166' */ uint8_t PtcRelayDriver2_EN; /* '/Data Store Memory167' */ @@ -400,7 +442,10 @@ typedef struct { uint8_t changed_FR_params; /* '/Data Store Memory204' */ uint8_t changed_RL_params; /* '/Data Store Memory205' */ uint8_t changed_RR_params; /* '/Data Store Memory206' */ - uint8_t OSA_valve_depend; /* '/Data Store Memory215' */ + uint8_t LO_HI_MODE_FR; /* '/Data Store Memory217' */ + uint8_t LO_HI_MODE_RR; /* '/Data Store Memory218' */ + uint8_t LO_HI_MODE_FL; /* '/Data Store Memory223' */ + uint8_t LO_HI_MODE_RL; /* '/Data Store Memory224' */ uint8_t Mode_FL; /* '/Data Store Memory23' */ uint8_t Dtg_FUL; /* '/Data Store Memory31' */ uint8_t Dtg_FLL; /* '/Data Store Memory34' */ @@ -429,7 +474,9 @@ typedef struct { 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_running; /* '/MATLAB Function1' */ + uint8_t is_active_c775_HVAC_model; /* '/Chart' */ + uint8_t is_TwoWay_Logic; /* '/Chart' */ 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' */ @@ -437,42 +484,50 @@ typedef struct { uint8_t is_CHILLER_CONTOUR; /* '/A//C Control' */ uint8_t is_E_COMP_MANAGER; /* '/A//C Control' */ uint8_t is_COMP_PROTECTION; /* '/A//C Control' */ - uint8_t current_Ambient_Lv; /* '/Log Ambient Lv' */ + uint8_t is_active_c776_HVAC_model; /* '/Chart' */ + uint8_t is_c776_HVAC_model; /* '/Chart' */ + uint8_t is_PARTIAL_REC_ON; /* '/Chart' */ + uint8_t is_COND_2; /* '/Chart' */ + uint8_t current_Ambient_Lv; /* '/Log Ambient Lv' */ bool eCompChiller_Err; /* '/Can_Chiller1' */ bool HI_logic_on; /* '/Data Store Memory48' */ - bool t_start_not_empty; /* '/MATLAB Function1' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ bool Pressure_Condition_table_OK; /* '/A//C Control' */ bool Chiller_Start_request; /* '/A//C Control' */ bool Pressure_Hi_Fault; /* '/A//C Control' */ - bool current_Ambient_Lv_not_empty; /* '/Log Ambient Lv' */ - 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_Level3_n Level5_e; /* '/Level 5' */ - DW_Level3_n Level4_j; /* '/Level 4' */ - DW_Level3_n Level3_i0; /* '/Level 3' */ - DW_Level4_a Level5_f; /* '/Level 5' */ - DW_Level4_a Level4_dp; /* '/Level 4' */ - DW_Level0_c Level1_d3; /* '/Level 1' */ - DW_Level0_c Level0_bc; /* '/Level 0' */ - DW_Level3 Level4_a; /* '/Level 4' */ - DW_Level3 Level3_l; /* '/Level 3' */ - DW_Level4_n Level5_g; /* '/Level 5' */ - DW_Level4_n Level4_cw; /* '/Level 4' */ - DW_MATLABFunction sf_MATLABFunction_g;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_hk;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ + bool FRONT_Start_request; /* '/A//C Control' */ + bool REAR_Start_request; /* '/A//C Control' */ + bool current_Ambient_Lv_not_empty; /* '/Log Ambient Lv' */ + DW_MATLABFunction sf_MATLABFunction_g;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_hk;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ + DW_Zone_Climate_Logic_Auto_FL1 sf_Zone_Climate_Logic_Auto_FL4;/* '/Zone_Climate_Logic_Auto_FL4' */ + DW_Zone_Climate_Logic_Auto_FL2 sf_Zone_Climate_Logic_Auto_FL3;/* '/Zone_Climate_Logic_Auto_FL3' */ + DW_Zone_Climate_Logic_Auto_FL2 sf_Zone_Climate_Logic_Auto_FL2;/* '/Zone_Climate_Logic_Auto_FL2' */ + DW_Zone_Climate_Logic_Auto_FL1 sf_Zone_Climate_Logic_Auto_FL1;/* '/Zone_Climate_Logic_Auto_FL1' */ + DW_Level3_j Level5_cf; /* '/Level 5' */ + DW_Level3_j Level4_d; /* '/Level 4' */ + DW_Level3_j Level3_jn; /* '/Level 3' */ + DW_Level4_oa Level5_f; /* '/Level 5' */ + DW_Level4_oa Level4_ns; /* '/Level 4' */ + DW_Level0_f Level1_f; /* '/Level 1' */ + DW_Level0_f Level0_o3; /* '/Level 0' */ + DW_Level3 Level4_k; /* '/Level 4' */ + DW_Level3 Level3_f; /* '/Level 3' */ + DW_Level4_o Level5_b; /* '/Level 5' */ + DW_Level4_o Level4_hv; /* '/Level 4' */ } 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) */ @@ -485,138 +540,138 @@ typedef struct { /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 ]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' */ double pooled8[1024]; /* Expression: [zeros(1, 85), linspace(0.268534, 390.3364, 1024-85)] - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ double uDLookupTable_tableData[1024]; /* Pooled Parameter (Expression: Incar_Temp_Table) * Referenced by: - * '/1-D Lookup 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' */ double pooled9[1024]; /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ uint32_t pooled46[2]; - /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' - */ - int16_t uDLookupTable1_bp01Data[2]; - /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) * Referenced by: - * '/Get LVL for temp' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/Get LVL for temp' */ - int16_t pooled49[6]; + int16_t pooled48[6]; /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ int16_t GetLVLfortemp_bp01Data[6]; /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - int16_t pooled57[13]; + int16_t pooled56[13]; /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ - int16_t pooled58[1024]; + int16_t pooled57[1024]; /* Pooled Parameter (Expression: [0:4:4095]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ - int16_t pooled59[1024]; + int16_t pooled58[1024]; /* Computed Parameter: DataStoreMemory13_InitialValue - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue[9]; /* Computed Parameter: DataStoreMemory13_InitialValue_i - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue_i[9]; /* Computed Parameter: DataStoreMemory13_InitialValue_l - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue_l[9]; /* Pooled Parameter (Expression: [0:4:4092]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' */ - uint16_t pooled64[1024]; + uint16_t pooled65[1024]; + + /* Computed Parameter: uDLookupTable1_bp01Data + * Referenced by: '/1-D Lookup Table1' + */ + uint16_t uDLookupTable1_bp01Data[2]; /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value[9]; /* Computed Parameter: ACT1_Value_c - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value_c[6]; /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value_m[8]; /* Pooled Parameter (Expression: [1 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 pooled95[9]; + uint8_t pooled98[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 pooled104[6]; } ConstP; @@ -678,9 +733,9 @@ extern const ConstP rtConstP; * states and exports their symbols. * */ -extern ActuatorCmdBus Actuator_Ch0_Command_Model;/* '/Data Store Memory15' */ -extern ActuatorCmdBus Actuator_Ch1_Command_Model;/* '/Data Store Memory15' */ -extern ActuatorCmdBus Actuator_Ch2_Command_Model;/* '/Data Store Memory15' */ +extern ActuatorCmdBus Actuator_Ch0_Command_Model;/* '/Data Store Memory15' */ +extern ActuatorCmdBus Actuator_Ch1_Command_Model;/* '/Data Store Memory15' */ +extern ActuatorCmdBus Actuator_Ch2_Command_Model;/* '/Data Store Memory15' */ extern ActuatorCmdBusInput Actuator_Ch0_Status_Model;/* '/Data Store Memory61' */ extern ActuatorCmdBusInput Actuator_Ch1_Status_Model;/* '/Data Store Memory62' */ extern ActuatorCmdBusInput Actuator_Ch2_Status_Model;/* '/Data Store Memory63' */ @@ -699,696 +754,421 @@ extern RT_MODEL *const rtM; /*- * These blocks were eliminated from the model due to optimizations: * - * Block '/Display' : Unused code path elimination - * Block '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/t окруж. среды.' : Unused code path elimination - * Block '/t охл. жидк.' : Unused code path elimination - * Block '/Время в мс' : Unused code path elimination - * Block '/Новая t окр. среды' : Unused code path elimination - * Block '/Скорость авто' : Unused code path elimination - * Block '/AMB (C * 10)' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/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 '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Scope' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/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 '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/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 '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination @@ -1397,439 +1177,894 @@ extern RT_MODEL *const rtM; * Block '/Display13' : Unused code path elimination * Block '/Display14' : Unused code path elimination * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display2' : Unused code path elimination + * Block '/Display20' : Unused code path elimination + * Block '/Display21' : Unused code path elimination + * Block '/Display22' : Unused code path elimination + * Block '/Display23' : Unused code path elimination + * Block '/Display24' : Unused code path elimination + * Block '/Display25' : Unused code path elimination + * Block '/Display26' : Unused code path elimination + * Block '/Display27' : Unused code path elimination + * Block '/Display28' : Unused code path elimination + * Block '/Display29' : Unused code path elimination * Block '/Display3' : Unused code path elimination + * Block '/Display30' : Unused code path elimination * Block '/Display4' : Unused code path elimination * Block '/Display5' : Unused code path elimination * Block '/Display6' : Unused code path elimination * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/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 '/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 '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Gain5' : Unused code path elimination - * Block '/Gain6' : Unused code path elimination - * Block '/Gain7' : Unused code path elimination - * Block '/Gain8' : Unused code path elimination - * Block '/LVL для t окр. среды' : Unused code path elimination - * Block '/SET водителя' : Unused code path elimination - * Block '/SET левого заднего пссажира' : Unused code path elimination - * Block '/SET пассажира' : Unused code path elimination - * Block '/SET правого заднего пссажира' : Unused code path elimination - * Block '/t внутри авто - спереди слева' : Unused code path elimination - * Block '/t внутри авто - спереди слева1' : Unused code path elimination - * Block '/t внутри авто - спереди слева2' : Unused code path elimination - * Block '/t внутри авто - спереди слева3' : Unused code path elimination - * Block '/t окр. среды' : 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 '/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 '/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 '/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 '/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 '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Датчик солнца' : Unused code path elimination - * Block '/Датчик солнца1' : Unused code path elimination - * Block '/Слева ноги до коррекции' : Unused code path elimination - * Block '/Слева сзади' : Unused code path elimination - * Block '/Слева спереди' : Unused code path elimination - * Block '/Слева спереди снизу (ноги)' : Unused code path elimination - * Block '/Справа ноги до коррекции' : Unused code path elimination - * Block '/Справа сзади' : Unused code path elimination - * Block '/Справа спереди' : Unused code path elimination - * Block '/Справа спереди снизу (ноги)' : Unused code path elimination - * Block '/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 '/Data Type Conversion1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Gain5' : Unused code path elimination - * Block '/Gain6' : Unused code path elimination - * Block '/Gain7' : Unused code path elimination - * Block '/Gain8' : Unused code path elimination - * Block '/LVL для t окр. среды' : Unused code path elimination - * Block '/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 '/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 '/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 '/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 '/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 '/Saturation7' : Unused code path elimination - * Block '/Saturation8' : Unused code path elimination - * Block '/Constant2' : 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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/Display3' : Unused code path elimination + * Block '/Display4' : 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 '/Constant3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : 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 '/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 '/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 '/Saturation3' : 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 '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/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 '/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 '/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 '/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 '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/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 '/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 '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Gain5' : Unused code path elimination + * Block '/Gain6' : Unused code path elimination + * Block '/Gain7' : Unused code path elimination + * Block '/Gain8' : Unused code path elimination + * Block '/LVL для t окр. среды' : Unused code path elimination + * Block '/SET водителя' : Unused code path elimination + * Block '/SET левого заднего пссажира' : Unused code path elimination + * Block '/SET пассажира' : Unused code path elimination + * Block '/SET правого заднего пссажира' : Unused code path elimination + * Block '/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 '/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 '/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 '/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 '/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 '/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 '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Датчик солнца слева' : Unused code path elimination + * Block '/Датчик солнца справа' : Unused code path elimination + * Block '/Слева ноги до коррекции' : Unused code path elimination + * Block '/Слева сзади' : Unused code path elimination + * Block '/Слева спереди' : Unused code path elimination + * Block '/Слева спереди снизу (ноги)' : Unused code path elimination + * Block '/Справа ноги до коррекции' : Unused code path elimination + * Block '/Справа сзади' : Unused code path elimination + * Block '/Справа спереди' : Unused code path elimination + * Block '/Справа спереди снизу (ноги)' : Unused code path elimination + * Block '/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 '/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 '/RAW t incar front left' : Unused code path elimination + * Block '/RAW t incar front right' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/t сзади слева' : Unused code path elimination + * Block '/t сзади справа' : Unused code path elimination + * Block '/t спереди слева' : Unused code path elimination + * Block '/t спереди справа' : Unused code path elimination + * Block '/Время в мс' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Data Type Conversion1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/Saturation7' : Unused code path elimination + * Block '/Saturation8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/t окруж. среды.' : Unused code path elimination + * Block '/t охл. жидк.' : Unused code path elimination + * Block '/Время в мс' : Unused code path elimination + * Block '/Новая t окр. среды' : Unused code path elimination + * Block '/Скорость авто' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/lvl' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination * Block '/Display2' : Unused code path elimination * Block '/Display3' : Unused code path elimination * Block '/Display4' : Unused code path elimination @@ -1838,74 +2073,92 @@ 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 '/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 '/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 '/Constant2' : 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 '/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 '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Constant3' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/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 '/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 '/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 '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Saturation2' : Unused code path elimination - * Block '/Saturation3' : Unused code path elimination - * Block '/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 '/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 '/Saturation3' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Saturation2' : Unused code path elimination + * Block '/Saturation3' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Constant3' : Unused code path elimination + * Block '/Equal3' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination @@ -1914,83 +2167,83 @@ extern RT_MODEL *const rtM; * Block '/Display5' : Unused code path elimination * Block '/Display6' : Unused code path elimination * Block '/Display7' : Unused code path elimination - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type 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 '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/Abs' : Eliminated since data is unsigned - * Block '/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 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 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 '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/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 Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type 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 */ /*- @@ -2008,2023 +2261,2170 @@ extern RT_MODEL *const rtM; * Here is the system hierarchy for this model * * '' : 'HVAC_model' - * '' : 'HVAC_model/10.2 filter_sensor_ambient' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode' - * '' : 'HVAC_model/13.1.3.3 Dtg model' - * '' : 'HVAC_model/A//C Control' - * '' : 'HVAC_model/ACP' - * '' : 'HVAC_model/Blower speed (AF) auto or manual' - * '' : 'HVAC_model/CAN INPUT' - * '' : 'HVAC_model/CAN OUTPUT' - * '' : 'HVAC_model/Compare To Constant' - * '' : 'HVAC_model/Compare To Constant1' - * '' : 'HVAC_model/LIN' - * '' : 'HVAC_model/MATLAB Function' - * '' : 'HVAC_model/PID DUCT' - * '' : 'HVAC_model/PWN' - * '' : 'HVAC_model/Power' - * '' : 'HVAC_model/Start control' - * '' : 'HVAC_model/Subsystem' - * '' : 'HVAC_model/Synchronization (SYNC)' - * '' : 'HVAC_model/Synchronization stateflow chart' - * '' : 'HVAC_model/Valves auto or manual' - * '' : 'HVAC_model/Zone_Climate_Logic_Auto_FL' - * '' : 'HVAC_model/Zone_Climate_Logic_Auto_FR' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode' + * '' : 'HVAC_model/13,1,3,16 Partial REC' + * '' : 'HVAC_model/13,1,3,7 Start control' + * '' : 'HVAC_model/13.1.3.3 Dtg model' + * '' : 'HVAC_model/A//C Control' + * '' : 'HVAC_model/ACP' + * '' : 'HVAC_model/AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual' + * '' : 'HVAC_model/CAN INPUT' + * '' : 'HVAC_model/CAN OUTPUT' + * '' : 'HVAC_model/Chart' + * '' : 'HVAC_model/Compare To Constant' + * '' : 'HVAC_model/Compare To Constant1' + * '' : 'HVAC_model/LIN' + * '' : 'HVAC_model/MATLAB Function' + * '' : 'HVAC_model/PID DUCT' + * '' : 'HVAC_model/PWN' + * '' : 'HVAC_model/Power' + * '' : 'HVAC_model/Subsystem' + * '' : 'HVAC_model/Synchronization (SYNC)' + * '' : 'HVAC_model/Synchronization stateflow chart' + * '' : 'HVAC_model/Valves auto or manual' * '' : 'HVAC_model/dbg CAN' * '' : 'HVAC_model/debug stateflow chart' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Инициализация температуры' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Calculate delta time' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Coolant temp threshold' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Almost equal' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Almost equal' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Almost equal' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается/обычное понижение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается/границы' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Almost equal' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Convert_g_assAMB_LV_UP' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Log Ambient Lv' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_DN_1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_UP_2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_DN_2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_UP_3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_DN_3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_UP_4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_DN_4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_UP_5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5/Convert_g_assAMB_LV_DN_5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Modes for levels' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Начальные положения заслонок left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Начальные положения заслонок right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/VENT+' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/VENT+' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13.1.3.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/FLU_tg_correct (Front Right)' - * '' : '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.3 FLL_tg' - * '' : '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 R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/FLL_tg_max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/FLL_tg_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))/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/2.1 Incar target' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/X1-X4 для FLL_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/Y1-Y4 для FLL_tg_incar' - * '' : '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/Amb_Tg ' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/X1-X4 для FLL_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/Y1-Y4 для FLL_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 R_tg_sun/X1-X4 для FLU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 R_tg_sun/Y1-Y4 для FLL_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.3 FLU_tg' - * '' : '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 R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/FXU_tg_max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/FXU_tg_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)/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/убираем одинаковые точки' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/2.1 Incar target' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/X1-X4 для FLU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/Y1-Y4 для FLU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Amb_Tg ' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/X1-X4 для FLU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Y1-Y4 для FLU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 R_tg_sun/X1-X4 для FLU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 R_tg_sun/Y1-Y4 для FLU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.3 FRL_tg' - * '' : '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 R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/FRL_tg_max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/FRL_tg_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))/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/2.1 Incar target' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/X1-X4 для FRL_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/Y1-Y4 для FRL_tg_incar' - * '' : '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/Amb_Tg ' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/X1-X4 для FLL_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/Y1-Y4 для FRL_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 R_tg_sun/X1-X4 для FRL_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 R_tg_sun/Y1-Y4 для FRL_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.3 RL_tg' - * '' : '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 R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/R_tg_max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/R_tg_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)/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/2.1 Incar target' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/X1-X4 для R_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/Y1-Y4 для R_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Amb_Tg ' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/X1-X4 для R_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Y1-Y4 для R_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 R_tg_sun/X1-X4 для R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 R_tg_sun/Y1-Y4 для R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.3 RR_tg' - * '' : '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 R_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/R_tg_max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/R_tg_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)/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/2.1 Incar target' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/X1-X4 для R_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/Y1-Y4 для R_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/Amb_Tg ' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/X1-X4 для R_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/Y1-Y4 для R_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun/X1-X4 для R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun/Y1-Y4 для R_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.3 FRU_tg' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/FXU_tg_max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/FXU_tg_min' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/2.1 Incar target' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/X1-X4 для FLU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/Y1-Y4 для FLU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/Amb_Tg ' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/X1-X4 для FLU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/Y1-Y4 для FLU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun/X1-X4 для FLU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun/Y1-Y4 для FLU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction rate' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction_start_time' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction rate' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction_start_time' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/ACP/EvapF' - * '' : 'HVAC_model/ACP/EvapR' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve' - * '' : 'HVAC_model/ACP/PRINT IGN_ANS' - * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK' - * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC' - * '' : 'HVAC_model/ACP/Rear_Duct' - * '' : 'HVAC_model/ACP/Subsystem' - * '' : 'HVAC_model/ACP/Subsystem1' - * '' : 'HVAC_model/ACP/Write' - * '' : 'HVAC_model/ACP/Write1' - * '' : 'HVAC_model/ACP/Write2' - * '' : 'HVAC_model/ACP/Write3' - * '' : 'HVAC_model/ACP/Write4' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant1' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant2' - * '' : 'HVAC_model/ACP/EvapF/RealTime_Timer' - * '' : 'HVAC_model/ACP/EvapF/UDS ERROR' - * '' : 'HVAC_model/ACP/EvapF/Write ERROR' - * '' : 'HVAC_model/ACP/EvapF/Write Eva_F' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant1' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant2' - * '' : 'HVAC_model/ACP/EvapR/RealTime_Timer' - * '' : 'HVAC_model/ACP/EvapR/UDS ERROR' - * '' : 'HVAC_model/ACP/EvapR/Write ERROR' - * '' : 'HVAC_model/ACP/EvapR/Write Eva_F' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve/Write' - * '' : 'HVAC_model/ACP/PRINT IGN_ANS/Write' - * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK/Write' - * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG/Write' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1/Write' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant1' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant2' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/RealTime_Timer' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/UDS ERROR' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write ERROR' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant10' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant11' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant12' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant13' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant14' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant15' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant16' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant17' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant18' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant7' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant8' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant9' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC/Write' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant1' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant10' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant11' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant2' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant3' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant4' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant5' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant6' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant7' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant8' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant9' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer1' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer2' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer3' - * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR' - * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR1' - * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR2' - * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR3' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ' - * '' : 'HVAC_model/ACP/Rear_Duct/Write 1' - * '' : 'HVAC_model/ACP/Rear_Duct/Write 2' - * '' : 'HVAC_model/ACP/Rear_Duct/Write 3' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR1' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR2' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR3' - * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant' - * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant1' - * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant2' - * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant3' - * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant4' - * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant5' - * '' : 'HVAC_model/ACP/Subsystem/RealTime_Timer' - * '' : 'HVAC_model/ACP/Subsystem/RealTime_Timer1' - * '' : 'HVAC_model/ACP/Subsystem/UDS ERROR' - * '' : 'HVAC_model/ACP/Subsystem/UDS ERROR1' - * '' : 'HVAC_model/ACP/Subsystem/Write ERROR' - * '' : 'HVAC_model/ACP/Subsystem/Write ERROR1' - * '' : 'HVAC_model/ACP/Subsystem/Write IncarFL' - * '' : 'HVAC_model/ACP/Subsystem/Write IncarRL' - * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant' - * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant1' - * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant2' - * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant3' - * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant4' - * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant5' - * '' : 'HVAC_model/ACP/Subsystem1/RealTime_Timer' - * '' : 'HVAC_model/ACP/Subsystem1/RealTime_Timer1' - * '' : 'HVAC_model/ACP/Subsystem1/UDS ERROR' - * '' : 'HVAC_model/ACP/Subsystem1/UDS ERROR1' - * '' : 'HVAC_model/ACP/Subsystem1/Write ERROR' - * '' : 'HVAC_model/ACP/Subsystem1/Write ERROR1' - * '' : 'HVAC_model/ACP/Subsystem1/Write IncarFR' - * '' : 'HVAC_model/ACP/Subsystem1/Write IncarRR' - * '' : '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/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.3 Vtg_FLU' - * '' : '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)/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/Vtg_FX_plus_max' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/Vtg_FX_plus_min' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/is_ending_with_5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/2.1 Incar target Left' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/X1-X4 для Vtg_FX_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/Y1-Y4 для Vtg_FX_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/Amb_Tg ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/X1-X2 для Vtg_FL_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Y1-Y2 для Vtg_FL_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/X1-X2 для Vtg_FX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/Y1-Y2 для Vtg_FX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.3 Vtg_FRU' - * '' : '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)/FXU_tg_min' - * '' : '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)/Vtg_FX_plus_max' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/is_ending_with_5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/2.1 Incar target Right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/X1-X4 для Vtg_FX_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/Y1-Y4 для Vtg_FX_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/Amb_Tg ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/X1-X4 для Vtg_FR_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Y1-Y4 для Vtg_FR_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/X1-X4 для Vtg_FX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/Y1-Y4 для Vtg_FX_sun' - * '' : '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.3 Vtg_RL' - * '' : '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)/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/Vtg_RX_plus_max' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/Vtg_RX_plus_min' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/is_ending_with_5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/2.1 Incar target Left' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/X1-X4 для Vtg_FX_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/Y1-Y4 для Vtg_FX_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/Amb_Tg ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/X1-X2 для Vtg_RL_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Y1-Y2 для Vtg_RL_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/X1-X2 для Vtg_FX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/Y1-Y2 для Vtg_RX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.3 Vtg_RR' - * '' : '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_RR_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun' - * '' : '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/Vtg_RX_plus_max' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/Vtg_RX_plus_min' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/is_ending_with_5' - * '' : '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/2.1 Incar target Rear Right' - * '' : '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/X1-X4 для Vtg_RX_incar' - * '' : '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/Y1-Y4 для Vtg_RX_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/Amb_Tg ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/X1-X4 для Vtg_RX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/Y1-Y4 для 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_RR_sun/X1-X4 для Vtg_RX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun/Y1-Y4 для Vtg_RX_sun' - * '' : 'HVAC_model/CAN INPUT/Subsystem' - * '' : 'HVAC_model/CAN INPUT/Subsystem1' - * '' : 'HVAC_model/CAN INPUT/Subsystem10' - * '' : 'HVAC_model/CAN INPUT/Subsystem11' - * '' : 'HVAC_model/CAN INPUT/Subsystem12' - * '' : 'HVAC_model/CAN INPUT/Subsystem13' - * '' : 'HVAC_model/CAN INPUT/Subsystem14' - * '' : 'HVAC_model/CAN INPUT/Subsystem15' - * '' : 'HVAC_model/CAN INPUT/Subsystem16' - * '' : 'HVAC_model/CAN INPUT/Subsystem17' - * '' : 'HVAC_model/CAN INPUT/Subsystem18' - * '' : 'HVAC_model/CAN INPUT/Subsystem19' - * '' : 'HVAC_model/CAN INPUT/Subsystem2' - * '' : 'HVAC_model/CAN INPUT/Subsystem20' - * '' : 'HVAC_model/CAN INPUT/Subsystem21' - * '' : 'HVAC_model/CAN INPUT/Subsystem22' - * '' : 'HVAC_model/CAN INPUT/Subsystem23' - * '' : 'HVAC_model/CAN INPUT/Subsystem24' - * '' : 'HVAC_model/CAN INPUT/Subsystem25' - * '' : 'HVAC_model/CAN INPUT/Subsystem26' - * '' : 'HVAC_model/CAN INPUT/Subsystem27' - * '' : 'HVAC_model/CAN INPUT/Subsystem28' - * '' : 'HVAC_model/CAN INPUT/Subsystem29' - * '' : 'HVAC_model/CAN INPUT/Subsystem3' - * '' : 'HVAC_model/CAN INPUT/Subsystem30' - * '' : 'HVAC_model/CAN INPUT/Subsystem31' - * '' : 'HVAC_model/CAN INPUT/Subsystem32' - * '' : 'HVAC_model/CAN INPUT/Subsystem33' - * '' : 'HVAC_model/CAN INPUT/Subsystem34' - * '' : 'HVAC_model/CAN INPUT/Subsystem35' - * '' : 'HVAC_model/CAN INPUT/Subsystem36' - * '' : 'HVAC_model/CAN INPUT/Subsystem37' - * '' : 'HVAC_model/CAN INPUT/Subsystem38' - * '' : 'HVAC_model/CAN INPUT/Subsystem39' - * '' : 'HVAC_model/CAN INPUT/Subsystem4' - * '' : 'HVAC_model/CAN INPUT/Subsystem40' - * '' : 'HVAC_model/CAN INPUT/Subsystem41' - * '' : 'HVAC_model/CAN INPUT/Subsystem42' - * '' : 'HVAC_model/CAN INPUT/Subsystem43' - * '' : 'HVAC_model/CAN INPUT/Subsystem44' - * '' : 'HVAC_model/CAN INPUT/Subsystem45' - * '' : 'HVAC_model/CAN INPUT/Subsystem46' - * '' : 'HVAC_model/CAN INPUT/Subsystem47' - * '' : 'HVAC_model/CAN INPUT/Subsystem48' - * '' : 'HVAC_model/CAN INPUT/Subsystem49' - * '' : 'HVAC_model/CAN INPUT/Subsystem5' - * '' : 'HVAC_model/CAN INPUT/Subsystem50' - * '' : 'HVAC_model/CAN INPUT/Subsystem6' - * '' : 'HVAC_model/CAN INPUT/Subsystem62' - * '' : 'HVAC_model/CAN INPUT/Subsystem63' - * '' : 'HVAC_model/CAN INPUT/Subsystem64' - * '' : 'HVAC_model/CAN INPUT/Subsystem7' - * '' : 'HVAC_model/CAN INPUT/Subsystem8' - * '' : 'HVAC_model/CAN INPUT/Subsystem9' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/full sync action' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action' - * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync off rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync rear action' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0' - * '' : 'HVAC_model/LIN/CHANEL1' - * '' : 'HVAC_model/LIN/CHANEL2' - * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL0/Homing' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL1/Homing' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL2/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL2/Homing' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL2/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL2/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/PID DUCT/PID Controller' - * '' : 'HVAC_model/PID DUCT/PID Controller1' - * '' : 'HVAC_model/PID DUCT/PID Controller2' - * '' : 'HVAC_model/PID DUCT/PID Controller3' - * '' : 'HVAC_model/PID DUCT/PID Controller4' - * '' : 'HVAC_model/PID DUCT/PID Controller5' - * '' : 'HVAC_model/PID DUCT/PID Controller/Anti-windup' - * '' : 'HVAC_model/PID DUCT/PID Controller/D Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller/External Derivative' - * '' : 'HVAC_model/PID DUCT/PID Controller/Filter' - * '' : 'HVAC_model/PID DUCT/PID Controller/Filter ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller/I Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller/Ideal P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller/Ideal P Gain Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller/Integrator' - * '' : 'HVAC_model/PID DUCT/PID Controller/Integrator ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller/N Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller/N Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller/P Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller/Parallel P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller/Reset Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller/Saturation' - * '' : 'HVAC_model/PID DUCT/PID Controller/Saturation Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller/Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller/Sum Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller/Tracking Mode' - * '' : 'HVAC_model/PID DUCT/PID Controller/Tracking Mode Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller/Tsamp - Integral' - * '' : 'HVAC_model/PID DUCT/PID Controller/Tsamp - Ngain' - * '' : 'HVAC_model/PID DUCT/PID Controller/postSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller/preSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller/Anti-windup/Back Calculation' - * '' : 'HVAC_model/PID DUCT/PID Controller/D Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/External Derivative/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Filter/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Filter ICs/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/I Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller/Ideal P Gain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller/Ideal P Gain Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Integrator/Discrete' - * '' : 'HVAC_model/PID DUCT/PID Controller/Integrator ICs/Internal IC' - * '' : 'HVAC_model/PID DUCT/PID Controller/N Copy/Disabled wSignal Specification' - * '' : 'HVAC_model/PID DUCT/PID Controller/N Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/P Copy/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Parallel P Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller/Reset Signal/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Saturation/Enabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Saturation Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Sum/Sum_PI' - * '' : 'HVAC_model/PID DUCT/PID Controller/Sum Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Tracking Mode/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller/Tracking Mode Sum/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller/Tsamp - Integral/TsSignalSpecification' - * '' : 'HVAC_model/PID DUCT/PID Controller/Tsamp - Ngain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller/postSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller/preSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Anti-windup' - * '' : 'HVAC_model/PID DUCT/PID Controller1/D Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller1/External Derivative' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Filter' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Filter ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller1/I Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Ideal P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Ideal P Gain Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Integrator' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Integrator ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller1/N Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller1/N Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller1/P Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Parallel P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Reset Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Saturation' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Saturation Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Sum Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Tracking Mode' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Tracking Mode Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Tsamp - Integral' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Tsamp - Ngain' - * '' : 'HVAC_model/PID DUCT/PID Controller1/postSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller1/preSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Anti-windup/Back Calculation' - * '' : 'HVAC_model/PID DUCT/PID Controller1/D Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/External Derivative/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Filter/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Filter ICs/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/I Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Ideal P Gain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Ideal P Gain Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Integrator/Discrete' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Integrator ICs/Internal IC' - * '' : 'HVAC_model/PID DUCT/PID Controller1/N Copy/Disabled wSignal Specification' - * '' : 'HVAC_model/PID DUCT/PID Controller1/N Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/P Copy/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Parallel P Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Reset Signal/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Saturation/Enabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Saturation Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Sum/Sum_PI' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Sum Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Tracking Mode/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Tracking Mode Sum/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Tsamp - Integral/TsSignalSpecification' - * '' : 'HVAC_model/PID DUCT/PID Controller1/Tsamp - Ngain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller1/postSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller1/preSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Anti-windup' - * '' : 'HVAC_model/PID DUCT/PID Controller2/D Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller2/External Derivative' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Filter' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Filter ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller2/I Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Ideal P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Ideal P Gain Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Integrator' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Integrator ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller2/N Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller2/N Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller2/P Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Parallel P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Reset Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Saturation' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Saturation Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Sum Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Tracking Mode' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Tracking Mode Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Tsamp - Integral' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Tsamp - Ngain' - * '' : 'HVAC_model/PID DUCT/PID Controller2/postSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller2/preSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Anti-windup/Back Calculation' - * '' : 'HVAC_model/PID DUCT/PID Controller2/D Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/External Derivative/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Filter/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Filter ICs/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/I Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Ideal P Gain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Ideal P Gain Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Integrator/Discrete' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Integrator ICs/Internal IC' - * '' : 'HVAC_model/PID DUCT/PID Controller2/N Copy/Disabled wSignal Specification' - * '' : 'HVAC_model/PID DUCT/PID Controller2/N Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/P Copy/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Parallel P Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Reset Signal/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Saturation/Enabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Saturation Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Sum/Sum_PI' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Sum Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Tracking Mode/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Tracking Mode Sum/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Tsamp - Integral/TsSignalSpecification' - * '' : 'HVAC_model/PID DUCT/PID Controller2/Tsamp - Ngain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller2/postSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller2/preSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Anti-windup' - * '' : 'HVAC_model/PID DUCT/PID Controller3/D Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller3/External Derivative' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Filter' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Filter ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller3/I Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Ideal P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Ideal P Gain Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Integrator' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Integrator ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller3/N Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller3/N Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller3/P Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Parallel P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Reset Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Saturation' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Saturation Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Sum Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Tracking Mode' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Tracking Mode Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Tsamp - Integral' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Tsamp - Ngain' - * '' : 'HVAC_model/PID DUCT/PID Controller3/postSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller3/preSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Anti-windup/Back Calculation' - * '' : 'HVAC_model/PID DUCT/PID Controller3/D Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/External Derivative/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Filter/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Filter ICs/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/I Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Ideal P Gain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Ideal P Gain Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Integrator/Discrete' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Integrator ICs/Internal IC' - * '' : 'HVAC_model/PID DUCT/PID Controller3/N Copy/Disabled wSignal Specification' - * '' : 'HVAC_model/PID DUCT/PID Controller3/N Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/P Copy/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Parallel P Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Reset Signal/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Saturation/Enabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Saturation Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Sum/Sum_PI' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Sum Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Tracking Mode/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Tracking Mode Sum/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Tsamp - Integral/TsSignalSpecification' - * '' : 'HVAC_model/PID DUCT/PID Controller3/Tsamp - Ngain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller3/postSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller3/preSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Anti-windup' - * '' : 'HVAC_model/PID DUCT/PID Controller4/D Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller4/External Derivative' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Filter' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Filter ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller4/I Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Ideal P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Ideal P Gain Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Integrator' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Integrator ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller4/N Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller4/N Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller4/P Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Parallel P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Reset Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Saturation' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Saturation Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Sum Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Tracking Mode' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Tracking Mode Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Tsamp - Integral' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Tsamp - Ngain' - * '' : 'HVAC_model/PID DUCT/PID Controller4/postSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller4/preSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Anti-windup/Back Calculation' - * '' : 'HVAC_model/PID DUCT/PID Controller4/D Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/External Derivative/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Filter/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Filter ICs/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/I Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Ideal P Gain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Ideal P Gain Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Integrator/Discrete' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Integrator ICs/Internal IC' - * '' : 'HVAC_model/PID DUCT/PID Controller4/N Copy/Disabled wSignal Specification' - * '' : 'HVAC_model/PID DUCT/PID Controller4/N Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/P Copy/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Parallel P Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Reset Signal/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Saturation/Enabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Saturation Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Sum/Sum_PI' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Sum Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Tracking Mode/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Tracking Mode Sum/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Tsamp - Integral/TsSignalSpecification' - * '' : 'HVAC_model/PID DUCT/PID Controller4/Tsamp - Ngain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller4/postSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller4/preSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Anti-windup' - * '' : 'HVAC_model/PID DUCT/PID Controller5/D Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller5/External Derivative' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Filter' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Filter ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller5/I Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Ideal P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Ideal P Gain Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Integrator' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Integrator ICs' - * '' : 'HVAC_model/PID DUCT/PID Controller5/N Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller5/N Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller5/P Copy' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Parallel P Gain' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Reset Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Saturation' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Saturation Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Sum Fdbk' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Tracking Mode' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Tracking Mode Sum' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Tsamp - Integral' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Tsamp - Ngain' - * '' : 'HVAC_model/PID DUCT/PID Controller5/postSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller5/preSat Signal' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Anti-windup/Back Calculation' - * '' : 'HVAC_model/PID DUCT/PID Controller5/D Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/External Derivative/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Filter/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Filter ICs/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/I Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Ideal P Gain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Ideal P Gain Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Integrator/Discrete' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Integrator ICs/Internal IC' - * '' : 'HVAC_model/PID DUCT/PID Controller5/N Copy/Disabled wSignal Specification' - * '' : 'HVAC_model/PID DUCT/PID Controller5/N Gain/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/P Copy/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Parallel P Gain/Internal Parameters' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Reset Signal/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Saturation/Enabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Saturation Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Sum/Sum_PI' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Sum Fdbk/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Tracking Mode/Disabled' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Tracking Mode Sum/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Tsamp - Integral/TsSignalSpecification' - * '' : 'HVAC_model/PID DUCT/PID Controller5/Tsamp - Ngain/Passthrough' - * '' : 'HVAC_model/PID DUCT/PID Controller5/postSat Signal/Forward_Path' - * '' : 'HVAC_model/PID DUCT/PID Controller5/preSat Signal/Forward_Path' - * '' : 'HVAC_model/PWN/Write' - * '' : 'HVAC_model/PWN/Write1' - * '' : 'HVAC_model/PWN/Write2' - * '' : 'HVAC_model/PWN/Write3' - * '' : 'HVAC_model/Power/Compare To Zero' - * '' : 'HVAC_model/Power/Compare To Zero1' - * '' : 'HVAC_model/Power/Compare To Zero2' - * '' : 'HVAC_model/Power/Subsystem' - * '' : 'HVAC_model/Power/Subsystem2' - * '' : 'HVAC_model/Start control/If Action Subsystem' - * '' : 'HVAC_model/Start control/Start Control Front' - * '' : 'HVAC_model/Start control/Start Control Rear' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F' - * '' : 'HVAC_model/Start control/Start Control Front/Step 3 F' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 2' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 3' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 4' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 5' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0/g_assSTART_ENTER_INCAR' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0/g_ausSTART_ENTER_SETTEMP' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1/g_assSTART_ENTER_INCAR' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1/g_ausSTART_ENTER_SETTEMP' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 3/g_assSTART_ENTER_COOLANT ' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 4/g_assSTART_ENTER_COOLANT ' - * '' : 'HVAC_model/Start control/Start Control Front/Step -1 F (Entry Condition)/Level 5/g_assSTART_ENTER_COOLANT ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 0' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 2' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 3' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 4' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 5' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 3/g_assSTART_COOLANT_STEP0_TO_1 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 3/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 3/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 4/g_assSTART_COOLANT_STEP0_TO_1 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 4/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 4/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 5/g_assSTART_COOLANT_STEP0_TO_1 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 5/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 0 F/Level 5/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 2' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/Dtg_FrontLower_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/Dtg_FrontUpper_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/blower FR' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/mode FR step 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 0/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/Dtg_FrontLower_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/Dtg_FrontUpper_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/blower FR' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/mode FR step 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 1/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/Dtg_FrontLower_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/Dtg_FrontUpper_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/blower в зависимости от ECT' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/g_assSTART_COOLANT_TO_STEP2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/mode FR step 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/blower в зависимости от ECT/ECT min max' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 3/blower в зависимости от ECT/blower min max' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/Dtg_FrontLower_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/Dtg_FrontUpper_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/blower в зависимости от ECT' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/mode FR step 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/blower в зависимости от ECT/ECT min max' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 4/blower в зависимости от ECT/blower min max' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/Dtg_FrontLower_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/Dtg_FrontUpper_X' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/blower в зависимости от ECT' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/mode FR step 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/blower в зависимости от ECT/ECT min max' - * '' : 'HVAC_model/Start control/Start Control Front/Step 1 F/Level 5/blower в зависимости от ECT/blower min max' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 2' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/Time goto from step 2 to step 3 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/Time goto from step 2 to step 3 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/Time goto from step 2 to step 3 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/autodemist (autodefog)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/Time goto from step 2 to step 3 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/autodemist (autodefog)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/3 way valve status' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/Time goto from step 2 to step 3 ' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/autodemist (autodefog)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/window heating' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 3 R' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0/g_assSTART_ENTER_INCAR' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0/g_ausSTART_ENTER_SETTEMP' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1/g_assSTART_ENTER_INCAR' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1/g_ausSTART_ENTER_SETTEMP' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2/g_assSTART_ENTER_INCAR' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2/g_ausSTART_ENTER_SETTEMP' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_assSTART_ENTER_COOLANT ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_assSTART_ENTER_INCAR' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_ausSTART_ENTER_SETTEMP' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4/g_assSTART_ENTER_COOLANT ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4/g_assSTART_ENTER_INCAR' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5/g_assSTART_ENTER_COOLANT ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5/g_assSTART_ENTER_INCAR' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 0' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 2' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 3' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 4' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 5' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 2/g_assSTART_COOLANT_STEP0_TO_1 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 2/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 2/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 3/g_assSTART_COOLANT_STEP0_TO_1 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 3/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 3/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 4/g_assSTART_COOLANT_STEP0_TO_1 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 4/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 4/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 5/g_assSTART_COOLANT_STEP0_TO_1 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 5/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 0 R/Level 5/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/Dtg_rear' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/blower rear' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 0/mode rear step 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/Dtg_rear' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/blower rear' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 1/mode rear step 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/Dtg_rear' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/blower в зависимости от ECT' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/g_assSTART_COOLANT_TO_STEP2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/mode rear step 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/blower в зависимости от ECT/ECT min max' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 2/blower в зависимости от ECT/blower start finish' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/Dtg_rear' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/blower в зависимости от ECT' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/g_assSTART_COOLANT_TO_STEP2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/mode rear step 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/blower в зависимости от ECT/ECT min max' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 3/blower в зависимости от ECT/blower start finish' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/Dtg_rear' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/blower в зависимости от ECT' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/mode rear step 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/blower в зависимости от ECT/ECT min max' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 4/blower в зависимости от ECT/blower start finish' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/Dtg_rear' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/Incar temp goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/blower в зависимости от ECT' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/mode rear step 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/blower в зависимости от ECT/ECT min max' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 1 R/Level 5/blower в зависимости от ECT/blower start finish' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/2 way valve' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/RealTime_Timer' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/Time goto from step 1 to step 2 ' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/incar filter down' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/incar filter up' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/blower step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/blower time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/Almost equal' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/Calculate delta time' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/time for step' - * '' : 'HVAC_model/Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/знак для изменения (+//-)' - * '' : 'HVAC_model/Subsystem/Compare To Constant1' - * '' : 'HVAC_model/Subsystem/MATLAB Function' - * '' : 'HVAC_model/Subsystem/MATLAB Function1' - * '' : 'HVAC_model/Subsystem/PID Controller' - * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup' - * '' : 'HVAC_model/Subsystem/PID Controller/D Gain' - * '' : 'HVAC_model/Subsystem/PID Controller/External Derivative' - * '' : 'HVAC_model/Subsystem/PID Controller/Filter' - * '' : 'HVAC_model/Subsystem/PID Controller/Filter ICs' - * '' : 'HVAC_model/Subsystem/PID Controller/I Gain' - * '' : 'HVAC_model/Subsystem/PID Controller/Ideal P Gain' - * '' : 'HVAC_model/Subsystem/PID Controller/Ideal P Gain Fdbk' - * '' : 'HVAC_model/Subsystem/PID Controller/Integrator' - * '' : 'HVAC_model/Subsystem/PID Controller/Integrator ICs' - * '' : 'HVAC_model/Subsystem/PID Controller/N Copy' - * '' : 'HVAC_model/Subsystem/PID Controller/N Gain' - * '' : 'HVAC_model/Subsystem/PID Controller/P Copy' - * '' : 'HVAC_model/Subsystem/PID Controller/Parallel P Gain' - * '' : 'HVAC_model/Subsystem/PID Controller/Reset Signal' - * '' : 'HVAC_model/Subsystem/PID Controller/Saturation' - * '' : 'HVAC_model/Subsystem/PID Controller/Saturation Fdbk' - * '' : 'HVAC_model/Subsystem/PID Controller/Sum' - * '' : 'HVAC_model/Subsystem/PID Controller/Sum Fdbk' - * '' : 'HVAC_model/Subsystem/PID Controller/Tracking Mode' - * '' : 'HVAC_model/Subsystem/PID Controller/Tracking Mode Sum' - * '' : 'HVAC_model/Subsystem/PID Controller/Tsamp - Integral' - * '' : 'HVAC_model/Subsystem/PID Controller/Tsamp - Ngain' - * '' : 'HVAC_model/Subsystem/PID Controller/postSat Signal' - * '' : 'HVAC_model/Subsystem/PID Controller/preSat Signal' - * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup/Disc. Clamping Parallel' - * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup/Disc. Clamping Parallel/Dead Zone' - * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup/Disc. Clamping Parallel/Dead Zone/External' - * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup/Disc. Clamping Parallel/Dead Zone/External/Dead Zone Dynamic' - * '' : 'HVAC_model/Subsystem/PID Controller/D Gain/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/External Derivative/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/Filter/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/Filter ICs/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/I Gain/Internal Parameters' - * '' : 'HVAC_model/Subsystem/PID Controller/Ideal P Gain/Passthrough' - * '' : 'HVAC_model/Subsystem/PID Controller/Ideal P Gain Fdbk/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/Integrator/Discrete' - * '' : 'HVAC_model/Subsystem/PID Controller/Integrator ICs/Internal IC' - * '' : 'HVAC_model/Subsystem/PID Controller/N Copy/Disabled wSignal Specification' - * '' : 'HVAC_model/Subsystem/PID Controller/N Gain/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/P Copy/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/Parallel P Gain/Internal Parameters' - * '' : 'HVAC_model/Subsystem/PID Controller/Reset Signal/External Reset' - * '' : 'HVAC_model/Subsystem/PID Controller/Saturation/External' - * '' : 'HVAC_model/Subsystem/PID Controller/Saturation/External/Saturation Dynamic' - * '' : 'HVAC_model/Subsystem/PID Controller/Saturation Fdbk/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/Sum/Sum_PI' - * '' : 'HVAC_model/Subsystem/PID Controller/Sum Fdbk/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/Tracking Mode/Disabled' - * '' : 'HVAC_model/Subsystem/PID Controller/Tracking Mode Sum/Passthrough' - * '' : 'HVAC_model/Subsystem/PID Controller/Tsamp - Integral/TsSignalSpecification' - * '' : 'HVAC_model/Subsystem/PID Controller/Tsamp - Ngain/Passthrough' - * '' : 'HVAC_model/Subsystem/PID Controller/postSat Signal/Forward_Path' - * '' : 'HVAC_model/Subsystem/PID Controller/preSat Signal/Forward_Path' - * '' : 'HVAC_model/Synchronization (SYNC)/all zone sync' - * '' : 'HVAC_model/Synchronization (SYNC)/front sync' - * '' : 'HVAC_model/Synchronization (SYNC)/rear sync' - * '' : 'HVAC_model/Valves auto or manual/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/valves in auto mode/front' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/MODE_for_set_and_lvl' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/MODE_for_set_and_lvl1' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/valves_front_left' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/valves_front_right' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/MODE_by_duct_tg_R_for_LVL' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RL' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RR' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RL' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RR' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/valves_rear_left' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/valves_rear_right' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RL/increase' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RR/increase' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RL/decrease' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RR/decrease' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Foot' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Foot' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/valves for Vent mode' - * '' : 'HVAC_model/dbg CAN/0 to dbg' - * '' : 'HVAC_model/dbg CAN/ACP (duct sensors) to dbg' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg' - * '' : 'HVAC_model/dbg CAN/Logic_Acl to dbg' - * '' : 'HVAC_model/dbg CAN/actuators to dbg' - * '' : 'HVAC_model/dbg CAN/ambient to dbg' - * '' : 'HVAC_model/dbg CAN/blower to dbg' - * '' : 'HVAC_model/dbg CAN/incar to dtg' - * '' : 'HVAC_model/dbg CAN/sen_eva (evaporator) to dbg' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem1' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem2' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Convert_g_assAMB_LV_UP' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Log Ambient Lv' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_DN_1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_UP_2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_DN_2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_UP_3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_DN_3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_UP_4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_DN_4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_UP_5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5/Convert_g_assAMB_LV_DN_5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Modes for levels' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Начальные положения заслонок left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Начальные положения заслонок right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/VENT+' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/VENT+' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,16 Partial REC/Chart' + * '' : 'HVAC_model/13,1,3,7 Start control/If Action Subsystem' + * '' : '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/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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/RealTime_Timer' + * '' : '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/FLU_tg_correct (Front Right)' + * '' : '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.3 FLL_tg' + * '' : '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 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/FLL_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/FLL_tg_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))/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/X1-X4 для FLL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/Y1-Y4 для FLL_tg_incar' + * '' : '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/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/X1-X4 для FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/Y1-Y4 для FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 R_tg_sun/X1-X4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 R_tg_sun/Y1-Y4 для FLL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.3 FLU_tg' + * '' : '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 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/FXU_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/FXU_tg_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)/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/убираем одинаковые точки' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/X1-X4 для FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/Y1-Y4 для FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/X1-X4 для FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Y1-Y4 для FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 R_tg_sun/X1-X4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 R_tg_sun/Y1-Y4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.3 FRL_tg' + * '' : '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 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/FRL_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/FRL_tg_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))/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/X1-X4 для FRL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/Y1-Y4 для FRL_tg_incar' + * '' : '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/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/X1-X4 для FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/Y1-Y4 для FRL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 R_tg_sun/X1-X4 для FRL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 R_tg_sun/Y1-Y4 для FRL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.3 RL_tg' + * '' : '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 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/R_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/R_tg_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)/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/X1-X4 для R_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/Y1-Y4 для R_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/X1-X4 для R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Y1-Y4 для R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 R_tg_sun/X1-X4 для R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 R_tg_sun/Y1-Y4 для R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.3 RR_tg' + * '' : '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 R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/R_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/R_tg_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)/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/X1-X4 для R_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/Y1-Y4 для R_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/X1-X4 для R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/Y1-Y4 для R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun/X1-X4 для R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun/Y1-Y4 для R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.3 FRU_tg' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/FXU_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/FXU_tg_min' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/X1-X4 для FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/Y1-Y4 для FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/X1-X4 для FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/Y1-Y4 для FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun/X1-X4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun/Y1-Y4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction rate' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction_start_time' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction rate' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction_start_time' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/ACP/EvapF' + * '' : 'HVAC_model/ACP/EvapR' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve' + * '' : 'HVAC_model/ACP/PRINT IGN_ANS' + * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK' + * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC' + * '' : 'HVAC_model/ACP/Rear_Duct' + * '' : 'HVAC_model/ACP/Subsystem' + * '' : 'HVAC_model/ACP/Subsystem1' + * '' : 'HVAC_model/ACP/Subsystem2' + * '' : 'HVAC_model/ACP/Write' + * '' : 'HVAC_model/ACP/Write1' + * '' : 'HVAC_model/ACP/Write2' + * '' : 'HVAC_model/ACP/Write3' + * '' : 'HVAC_model/ACP/Write4' + * '' : 'HVAC_model/ACP/incar to dtg' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapF/RealTime_Timer' + * '' : 'HVAC_model/ACP/EvapF/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write Eva_F' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapR/RealTime_Timer' + * '' : 'HVAC_model/ACP/EvapR/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write Eva_F' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve/Write' + * '' : 'HVAC_model/ACP/PRINT IGN_ANS/Write' + * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK/Write' + * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG/Write' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1/Write' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant1' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant2' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/RealTime_Timer' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/UDS ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant10' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant11' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant12' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant13' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant14' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant15' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant16' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant17' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant18' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant7' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant8' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant9' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC/Write' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant1' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant10' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant11' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant2' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant3' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant4' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant5' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant6' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant7' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant8' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant9' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer2' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer3' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR1' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR2' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR3' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 1' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 2' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 3' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR1' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR2' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR3' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant1' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant2' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant3' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant4' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant5' + * '' : 'HVAC_model/ACP/Subsystem/RealTime_Timer' + * '' : 'HVAC_model/ACP/Subsystem/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Subsystem/UDS ERROR' + * '' : 'HVAC_model/ACP/Subsystem/UDS ERROR1' + * '' : 'HVAC_model/ACP/Subsystem/Write ERROR' + * '' : 'HVAC_model/ACP/Subsystem/Write ERROR1' + * '' : 'HVAC_model/ACP/Subsystem/Write IncarFL' + * '' : 'HVAC_model/ACP/Subsystem/Write IncarRL' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant1' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant2' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant3' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant4' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant5' + * '' : 'HVAC_model/ACP/Subsystem1/RealTime_Timer' + * '' : 'HVAC_model/ACP/Subsystem1/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Subsystem1/UDS ERROR' + * '' : 'HVAC_model/ACP/Subsystem1/UDS ERROR1' + * '' : 'HVAC_model/ACP/Subsystem1/Write ERROR' + * '' : 'HVAC_model/ACP/Subsystem1/Write ERROR1' + * '' : 'HVAC_model/ACP/Subsystem1/Write IncarFR' + * '' : 'HVAC_model/ACP/Subsystem1/Write IncarRR' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Инициализация FL' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Almost equal' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Calculate delta time' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_F[8]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_F[7]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Инициализация FR' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Almost equal' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Calculate delta time' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_F[8]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_F[7]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Инициализация RL' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Almost equal' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Calculate delta time' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_R[8]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_R[7]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Инициализация RR' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Almost equal' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Calculate delta time' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_R[8]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_R[7]' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/Subsystem2/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL1' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL2' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL3' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL4' + * '' : 'HVAC_model/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/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.3 Vtg_FLU' + * '' : '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)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/Vtg_FX_plus_max' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/Vtg_FX_plus_min' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/is_ending_with_5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/2.1 Incar target Left' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/X1-X4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/Y1-Y4 для Vtg_FX_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/Amb_Tg ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/X1-X2 для Vtg_FL_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Y1-Y2 для Vtg_FL_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/X1-X2 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/Y1-Y2 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.3 Vtg_FRU' + * '' : '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)/FXU_tg_min' + * '' : '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)/Vtg_FX_plus_max' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/is_ending_with_5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/2.1 Incar target Right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/X1-X4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/Y1-Y4 для Vtg_FX_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/Amb_Tg ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/X1-X4 для Vtg_FR_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Y1-Y4 для Vtg_FR_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/X1-X4 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/Y1-Y4 для Vtg_FX_sun' + * '' : '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.3 Vtg_RL' + * '' : '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)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/Vtg_RX_plus_max' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/Vtg_RX_plus_min' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/is_ending_with_5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/2.1 Incar target Left' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/X1-X4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/Y1-Y4 для Vtg_FX_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/Amb_Tg ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/X1-X2 для Vtg_RL_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Y1-Y2 для Vtg_RL_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/X1-X2 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/Y1-Y2 для Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.3 Vtg_RR' + * '' : '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_RR_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun' + * '' : '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/Vtg_RX_plus_max' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/Vtg_RX_plus_min' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/is_ending_with_5' + * '' : '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/2.1 Incar target Rear Right' + * '' : '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/X1-X4 для Vtg_RX_incar' + * '' : '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/Y1-Y4 для Vtg_RX_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/Amb_Tg ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/X1-X4 для Vtg_RX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/Y1-Y4 для 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_RR_sun/X1-X4 для Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun/Y1-Y4 для Vtg_RX_sun' + * '' : 'HVAC_model/CAN INPUT/Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem1' + * '' : 'HVAC_model/CAN INPUT/Subsystem10' + * '' : 'HVAC_model/CAN INPUT/Subsystem11' + * '' : 'HVAC_model/CAN INPUT/Subsystem12' + * '' : 'HVAC_model/CAN INPUT/Subsystem13' + * '' : 'HVAC_model/CAN INPUT/Subsystem14' + * '' : 'HVAC_model/CAN INPUT/Subsystem15' + * '' : 'HVAC_model/CAN INPUT/Subsystem16' + * '' : 'HVAC_model/CAN INPUT/Subsystem17' + * '' : 'HVAC_model/CAN INPUT/Subsystem18' + * '' : 'HVAC_model/CAN INPUT/Subsystem19' + * '' : 'HVAC_model/CAN INPUT/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/Subsystem20' + * '' : 'HVAC_model/CAN INPUT/Subsystem21' + * '' : 'HVAC_model/CAN INPUT/Subsystem22' + * '' : 'HVAC_model/CAN INPUT/Subsystem23' + * '' : 'HVAC_model/CAN INPUT/Subsystem24' + * '' : 'HVAC_model/CAN INPUT/Subsystem25' + * '' : 'HVAC_model/CAN INPUT/Subsystem26' + * '' : 'HVAC_model/CAN INPUT/Subsystem27' + * '' : 'HVAC_model/CAN INPUT/Subsystem28' + * '' : 'HVAC_model/CAN INPUT/Subsystem29' + * '' : 'HVAC_model/CAN INPUT/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/Subsystem30' + * '' : 'HVAC_model/CAN INPUT/Subsystem31' + * '' : 'HVAC_model/CAN INPUT/Subsystem32' + * '' : 'HVAC_model/CAN INPUT/Subsystem33' + * '' : 'HVAC_model/CAN INPUT/Subsystem34' + * '' : 'HVAC_model/CAN INPUT/Subsystem35' + * '' : 'HVAC_model/CAN INPUT/Subsystem36' + * '' : 'HVAC_model/CAN INPUT/Subsystem37' + * '' : 'HVAC_model/CAN INPUT/Subsystem38' + * '' : 'HVAC_model/CAN INPUT/Subsystem39' + * '' : 'HVAC_model/CAN INPUT/Subsystem4' + * '' : 'HVAC_model/CAN INPUT/Subsystem40' + * '' : 'HVAC_model/CAN INPUT/Subsystem41' + * '' : 'HVAC_model/CAN INPUT/Subsystem42' + * '' : 'HVAC_model/CAN INPUT/Subsystem43' + * '' : 'HVAC_model/CAN INPUT/Subsystem44' + * '' : 'HVAC_model/CAN INPUT/Subsystem45' + * '' : 'HVAC_model/CAN INPUT/Subsystem46' + * '' : 'HVAC_model/CAN INPUT/Subsystem47' + * '' : 'HVAC_model/CAN INPUT/Subsystem48' + * '' : 'HVAC_model/CAN INPUT/Subsystem49' + * '' : 'HVAC_model/CAN INPUT/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/Subsystem50' + * '' : 'HVAC_model/CAN INPUT/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/Subsystem62' + * '' : 'HVAC_model/CAN INPUT/Subsystem63' + * '' : 'HVAC_model/CAN INPUT/Subsystem64' + * '' : 'HVAC_model/CAN INPUT/Subsystem7' + * '' : 'HVAC_model/CAN INPUT/Subsystem8' + * '' : 'HVAC_model/CAN INPUT/Subsystem9' + * '' : 'HVAC_model/CAN INPUT/Subsystem2/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem2/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem2/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem2/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/full sync action' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action' + * '' : 'HVAC_model/CAN INPUT/Subsystem3/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem3/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem3/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem3/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync off rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Инициализация температуры' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Calculate delta time' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Coolant temp threshold' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Almost equal' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Almost equal' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Almost equal' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается/границы' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Almost equal' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem5/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem5/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem5/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem5/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem6/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem6/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem6/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem6/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0' + * '' : 'HVAC_model/LIN/CHANEL1' + * '' : 'HVAC_model/LIN/CHANEL2' + * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL0/Homing' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL1/Homing' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' + * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Actuator_Ch1_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL2/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL2/Homing' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL2/stepr to percents' + * '' : 'HVAC_model/LIN/CHANEL2/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/PID DUCT/PID Controller' + * '' : 'HVAC_model/PID DUCT/PID Controller1' + * '' : 'HVAC_model/PID DUCT/PID Controller2' + * '' : 'HVAC_model/PID DUCT/PID Controller3' + * '' : 'HVAC_model/PID DUCT/PID Controller4' + * '' : 'HVAC_model/PID DUCT/PID Controller5' + * '' : 'HVAC_model/PID DUCT/PID Controller/Anti-windup' + * '' : 'HVAC_model/PID DUCT/PID Controller/D Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller/External Derivative' + * '' : 'HVAC_model/PID DUCT/PID Controller/Filter' + * '' : 'HVAC_model/PID DUCT/PID Controller/Filter ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller/I Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller/Ideal P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller/Ideal P Gain Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller/Integrator' + * '' : 'HVAC_model/PID DUCT/PID Controller/Integrator ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller/N Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller/N Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller/P Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller/Parallel P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller/Reset Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller/Saturation' + * '' : 'HVAC_model/PID DUCT/PID Controller/Saturation Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller/Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller/Sum Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller/Tracking Mode' + * '' : 'HVAC_model/PID DUCT/PID Controller/Tracking Mode Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller/Tsamp - Integral' + * '' : 'HVAC_model/PID DUCT/PID Controller/Tsamp - Ngain' + * '' : 'HVAC_model/PID DUCT/PID Controller/postSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller/preSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller/Anti-windup/Back Calculation' + * '' : 'HVAC_model/PID DUCT/PID Controller/D Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/External Derivative/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Filter/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Filter ICs/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/I Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller/Ideal P Gain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller/Ideal P Gain Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Integrator/Discrete' + * '' : 'HVAC_model/PID DUCT/PID Controller/Integrator ICs/Internal IC' + * '' : 'HVAC_model/PID DUCT/PID Controller/N Copy/Disabled wSignal Specification' + * '' : 'HVAC_model/PID DUCT/PID Controller/N Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/P Copy/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Parallel P Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller/Reset Signal/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Saturation/Enabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Saturation Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Sum/Sum_PI' + * '' : 'HVAC_model/PID DUCT/PID Controller/Sum Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Tracking Mode/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller/Tracking Mode Sum/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller/Tsamp - Integral/TsSignalSpecification' + * '' : 'HVAC_model/PID DUCT/PID Controller/Tsamp - Ngain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller/postSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller/preSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Anti-windup' + * '' : 'HVAC_model/PID DUCT/PID Controller1/D Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller1/External Derivative' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Filter' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Filter ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller1/I Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Ideal P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Ideal P Gain Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Integrator' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Integrator ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller1/N Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller1/N Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller1/P Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Parallel P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Reset Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Saturation' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Saturation Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Sum Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Tracking Mode' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Tracking Mode Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Tsamp - Integral' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Tsamp - Ngain' + * '' : 'HVAC_model/PID DUCT/PID Controller1/postSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller1/preSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Anti-windup/Back Calculation' + * '' : 'HVAC_model/PID DUCT/PID Controller1/D Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/External Derivative/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Filter/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Filter ICs/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/I Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Ideal P Gain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Ideal P Gain Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Integrator/Discrete' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Integrator ICs/Internal IC' + * '' : 'HVAC_model/PID DUCT/PID Controller1/N Copy/Disabled wSignal Specification' + * '' : 'HVAC_model/PID DUCT/PID Controller1/N Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/P Copy/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Parallel P Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Reset Signal/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Saturation/Enabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Saturation Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Sum/Sum_PI' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Sum Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Tracking Mode/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Tracking Mode Sum/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Tsamp - Integral/TsSignalSpecification' + * '' : 'HVAC_model/PID DUCT/PID Controller1/Tsamp - Ngain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller1/postSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller1/preSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Anti-windup' + * '' : 'HVAC_model/PID DUCT/PID Controller2/D Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller2/External Derivative' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Filter' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Filter ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller2/I Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Ideal P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Ideal P Gain Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Integrator' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Integrator ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller2/N Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller2/N Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller2/P Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Parallel P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Reset Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Saturation' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Saturation Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Sum Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Tracking Mode' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Tracking Mode Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Tsamp - Integral' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Tsamp - Ngain' + * '' : 'HVAC_model/PID DUCT/PID Controller2/postSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller2/preSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Anti-windup/Back Calculation' + * '' : 'HVAC_model/PID DUCT/PID Controller2/D Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/External Derivative/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Filter/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Filter ICs/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/I Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Ideal P Gain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Ideal P Gain Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Integrator/Discrete' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Integrator ICs/Internal IC' + * '' : 'HVAC_model/PID DUCT/PID Controller2/N Copy/Disabled wSignal Specification' + * '' : 'HVAC_model/PID DUCT/PID Controller2/N Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/P Copy/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Parallel P Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Reset Signal/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Saturation/Enabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Saturation Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Sum/Sum_PI' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Sum Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Tracking Mode/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Tracking Mode Sum/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Tsamp - Integral/TsSignalSpecification' + * '' : 'HVAC_model/PID DUCT/PID Controller2/Tsamp - Ngain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller2/postSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller2/preSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Anti-windup' + * '' : 'HVAC_model/PID DUCT/PID Controller3/D Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller3/External Derivative' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Filter' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Filter ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller3/I Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Ideal P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Ideal P Gain Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Integrator' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Integrator ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller3/N Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller3/N Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller3/P Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Parallel P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Reset Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Saturation' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Saturation Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Sum Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Tracking Mode' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Tracking Mode Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Tsamp - Integral' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Tsamp - Ngain' + * '' : 'HVAC_model/PID DUCT/PID Controller3/postSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller3/preSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Anti-windup/Back Calculation' + * '' : 'HVAC_model/PID DUCT/PID Controller3/D Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/External Derivative/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Filter/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Filter ICs/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/I Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Ideal P Gain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Ideal P Gain Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Integrator/Discrete' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Integrator ICs/Internal IC' + * '' : 'HVAC_model/PID DUCT/PID Controller3/N Copy/Disabled wSignal Specification' + * '' : 'HVAC_model/PID DUCT/PID Controller3/N Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/P Copy/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Parallel P Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Reset Signal/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Saturation/Enabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Saturation Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Sum/Sum_PI' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Sum Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Tracking Mode/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Tracking Mode Sum/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Tsamp - Integral/TsSignalSpecification' + * '' : 'HVAC_model/PID DUCT/PID Controller3/Tsamp - Ngain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller3/postSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller3/preSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Anti-windup' + * '' : 'HVAC_model/PID DUCT/PID Controller4/D Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller4/External Derivative' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Filter' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Filter ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller4/I Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Ideal P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Ideal P Gain Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Integrator' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Integrator ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller4/N Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller4/N Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller4/P Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Parallel P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Reset Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Saturation' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Saturation Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Sum Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Tracking Mode' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Tracking Mode Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Tsamp - Integral' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Tsamp - Ngain' + * '' : 'HVAC_model/PID DUCT/PID Controller4/postSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller4/preSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Anti-windup/Back Calculation' + * '' : 'HVAC_model/PID DUCT/PID Controller4/D Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/External Derivative/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Filter/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Filter ICs/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/I Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Ideal P Gain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Ideal P Gain Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Integrator/Discrete' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Integrator ICs/Internal IC' + * '' : 'HVAC_model/PID DUCT/PID Controller4/N Copy/Disabled wSignal Specification' + * '' : 'HVAC_model/PID DUCT/PID Controller4/N Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/P Copy/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Parallel P Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Reset Signal/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Saturation/Enabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Saturation Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Sum/Sum_PI' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Sum Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Tracking Mode/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Tracking Mode Sum/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Tsamp - Integral/TsSignalSpecification' + * '' : 'HVAC_model/PID DUCT/PID Controller4/Tsamp - Ngain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller4/postSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller4/preSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Anti-windup' + * '' : 'HVAC_model/PID DUCT/PID Controller5/D Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller5/External Derivative' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Filter' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Filter ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller5/I Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Ideal P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Ideal P Gain Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Integrator' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Integrator ICs' + * '' : 'HVAC_model/PID DUCT/PID Controller5/N Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller5/N Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller5/P Copy' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Parallel P Gain' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Reset Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Saturation' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Saturation Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Sum Fdbk' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Tracking Mode' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Tracking Mode Sum' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Tsamp - Integral' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Tsamp - Ngain' + * '' : 'HVAC_model/PID DUCT/PID Controller5/postSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller5/preSat Signal' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Anti-windup/Back Calculation' + * '' : 'HVAC_model/PID DUCT/PID Controller5/D Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/External Derivative/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Filter/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Filter ICs/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/I Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Ideal P Gain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Ideal P Gain Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Integrator/Discrete' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Integrator ICs/Internal IC' + * '' : 'HVAC_model/PID DUCT/PID Controller5/N Copy/Disabled wSignal Specification' + * '' : 'HVAC_model/PID DUCT/PID Controller5/N Gain/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/P Copy/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Parallel P Gain/Internal Parameters' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Reset Signal/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Saturation/Enabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Saturation Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Sum/Sum_PI' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Sum Fdbk/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Tracking Mode/Disabled' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Tracking Mode Sum/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Tsamp - Integral/TsSignalSpecification' + * '' : 'HVAC_model/PID DUCT/PID Controller5/Tsamp - Ngain/Passthrough' + * '' : 'HVAC_model/PID DUCT/PID Controller5/postSat Signal/Forward_Path' + * '' : 'HVAC_model/PID DUCT/PID Controller5/preSat Signal/Forward_Path' + * '' : 'HVAC_model/PWN/Write' + * '' : 'HVAC_model/PWN/Write1' + * '' : 'HVAC_model/PWN/Write2' + * '' : 'HVAC_model/PWN/Write3' + * '' : 'HVAC_model/Power/Compare To Zero' + * '' : 'HVAC_model/Power/Compare To Zero1' + * '' : 'HVAC_model/Power/Compare To Zero2' + * '' : 'HVAC_model/Power/Subsystem' + * '' : 'HVAC_model/Power/Subsystem2' + * '' : 'HVAC_model/Subsystem/Compare To Constant1' + * '' : 'HVAC_model/Subsystem/MATLAB Function' + * '' : 'HVAC_model/Subsystem/MATLAB Function1' + * '' : 'HVAC_model/Subsystem/PID Controller' + * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup' + * '' : 'HVAC_model/Subsystem/PID Controller/D Gain' + * '' : 'HVAC_model/Subsystem/PID Controller/External Derivative' + * '' : 'HVAC_model/Subsystem/PID Controller/Filter' + * '' : 'HVAC_model/Subsystem/PID Controller/Filter ICs' + * '' : 'HVAC_model/Subsystem/PID Controller/I Gain' + * '' : 'HVAC_model/Subsystem/PID Controller/Ideal P Gain' + * '' : 'HVAC_model/Subsystem/PID Controller/Ideal P Gain Fdbk' + * '' : 'HVAC_model/Subsystem/PID Controller/Integrator' + * '' : 'HVAC_model/Subsystem/PID Controller/Integrator ICs' + * '' : 'HVAC_model/Subsystem/PID Controller/N Copy' + * '' : 'HVAC_model/Subsystem/PID Controller/N Gain' + * '' : 'HVAC_model/Subsystem/PID Controller/P Copy' + * '' : 'HVAC_model/Subsystem/PID Controller/Parallel P Gain' + * '' : 'HVAC_model/Subsystem/PID Controller/Reset Signal' + * '' : 'HVAC_model/Subsystem/PID Controller/Saturation' + * '' : 'HVAC_model/Subsystem/PID Controller/Saturation Fdbk' + * '' : 'HVAC_model/Subsystem/PID Controller/Sum' + * '' : 'HVAC_model/Subsystem/PID Controller/Sum Fdbk' + * '' : 'HVAC_model/Subsystem/PID Controller/Tracking Mode' + * '' : 'HVAC_model/Subsystem/PID Controller/Tracking Mode Sum' + * '' : 'HVAC_model/Subsystem/PID Controller/Tsamp - Integral' + * '' : 'HVAC_model/Subsystem/PID Controller/Tsamp - Ngain' + * '' : 'HVAC_model/Subsystem/PID Controller/postSat Signal' + * '' : 'HVAC_model/Subsystem/PID Controller/preSat Signal' + * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup/Disc. Clamping Parallel' + * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup/Disc. Clamping Parallel/Dead Zone' + * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup/Disc. Clamping Parallel/Dead Zone/External' + * '' : 'HVAC_model/Subsystem/PID Controller/Anti-windup/Disc. Clamping Parallel/Dead Zone/External/Dead Zone Dynamic' + * '' : 'HVAC_model/Subsystem/PID Controller/D Gain/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/External Derivative/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/Filter/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/Filter ICs/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/I Gain/Internal Parameters' + * '' : 'HVAC_model/Subsystem/PID Controller/Ideal P Gain/Passthrough' + * '' : 'HVAC_model/Subsystem/PID Controller/Ideal P Gain Fdbk/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/Integrator/Discrete' + * '' : 'HVAC_model/Subsystem/PID Controller/Integrator ICs/Internal IC' + * '' : 'HVAC_model/Subsystem/PID Controller/N Copy/Disabled wSignal Specification' + * '' : 'HVAC_model/Subsystem/PID Controller/N Gain/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/P Copy/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/Parallel P Gain/Internal Parameters' + * '' : 'HVAC_model/Subsystem/PID Controller/Reset Signal/External Reset' + * '' : 'HVAC_model/Subsystem/PID Controller/Saturation/External' + * '' : 'HVAC_model/Subsystem/PID Controller/Saturation/External/Saturation Dynamic' + * '' : 'HVAC_model/Subsystem/PID Controller/Saturation Fdbk/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/Sum/Sum_PI' + * '' : 'HVAC_model/Subsystem/PID Controller/Sum Fdbk/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/Tracking Mode/Disabled' + * '' : 'HVAC_model/Subsystem/PID Controller/Tracking Mode Sum/Passthrough' + * '' : 'HVAC_model/Subsystem/PID Controller/Tsamp - Integral/TsSignalSpecification' + * '' : 'HVAC_model/Subsystem/PID Controller/Tsamp - Ngain/Passthrough' + * '' : 'HVAC_model/Subsystem/PID Controller/postSat Signal/Forward_Path' + * '' : 'HVAC_model/Subsystem/PID Controller/preSat Signal/Forward_Path' + * '' : 'HVAC_model/Synchronization (SYNC)/all zone sync' + * '' : 'HVAC_model/Synchronization (SYNC)/front sync' + * '' : 'HVAC_model/Synchronization (SYNC)/rear sync' + * '' : 'HVAC_model/Valves auto or manual/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/valves in auto mode/front' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/MODE_for_set_and_lvl' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/MODE_for_set_and_lvl1' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/valves_front_left' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/valves_front_right' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/MODE_by_duct_tg_R_for_LVL' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RL' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RR' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RL' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RR' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/valves_rear_left' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/valves_rear_right' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RL/increase' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RR/increase' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RL/decrease' + * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RR/decrease' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Foot' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Foot' + * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/valves for Vent mode' + * '' : 'HVAC_model/dbg CAN/0 to dbg' + * '' : 'HVAC_model/dbg CAN/ACP (duct sensors) to dbg' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_Acl to dbg' + * '' : 'HVAC_model/dbg CAN/actuators to dbg' + * '' : 'HVAC_model/dbg CAN/ambient to dbg' + * '' : 'HVAC_model/dbg CAN/blower to dbg' + * '' : 'HVAC_model/dbg CAN/sen_eva (evaporator) to dbg' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem1' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem2' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem3' */ #endif /* HVAC_model_h_ */ diff --git a/HVAC_model_data.c b/HVAC_model_data.c old mode 100644 new mode 100755 index f2be04e..6e51c65 --- a/HVAC_model_data.c +++ b/HVAC_model_data.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1082 + * Model version : 1.1128 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Jun 10 11:23:53 2026 + * C/C++ source code generated on : Tue Jun 23 15:07:47 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -19,27 +19,27 @@ /* Invariant block signals (default storage) */ const ConstB rtConstB = { - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } , - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } , - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ }; /* Constant parameters (default storage) */ @@ -92,8 +92,8 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 ]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' */ { 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 836.0, 818.0, 800.0, 784.0, 769.0, @@ -200,7 +200,7 @@ const ConstP rtConstP = { -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0 }, /* Expression: [zeros(1, 85), linspace(0.268534, 390.3364, 1024-85)] - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, @@ -507,10 +507,10 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: Incar_Temp_Table) * Referenced by: - * '/1-D Lookup 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' */ { 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 837.0, 816.0, 797.0, 780.0, 763.0, 748.0, 733.0, @@ -618,39 +618,34 @@ 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 }, - /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' - */ - { 10, 50 }, - /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) * Referenced by: - * '/Get LVL for temp' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/Get LVL for temp' */ { 5, 4, 3, 2, 1, 0 }, /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ { -1000, -50, -10, 5, 20, 65 }, /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 }, /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, @@ -724,8 +719,8 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [0:4:4095]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, @@ -805,29 +800,29 @@ const ConstP rtConstP = { 4052, 4056, 4060, 4064, 4068, 4072, 4076, 4080, 4084, 4088, 4092 }, /* Computed Parameter: DataStoreMemory13_InitialValue - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 1050, 1250, 1175, 1195, 1315, 1300, 1485, 1440, 1195 }, /* Computed Parameter: DataStoreMemory13_InitialValue_i - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 1225, 1320, 1270, 1540, 1480, 1175, 0, 0, 0 }, /* Computed Parameter: DataStoreMemory13_InitialValue_l - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 3075, 3075, 1605, 1840, 1650, 1635, 1820, 1650, 0 }, /* Pooled Parameter (Expression: [0:4:4092]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' */ { 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, @@ -920,47 +915,52 @@ const ConstP rtConstP = { 4036U, 4040U, 4044U, 4048U, 4052U, 4056U, 4060U, 4064U, 4068U, 4072U, 4076U, 4080U, 4084U, 4088U, 4092U }, + /* Computed Parameter: uDLookupTable1_bp01Data + * Referenced by: '/1-D Lookup Table1' + */ + { 10U, 50U }, + /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U }, /* Computed Parameter: ACT1_Value_c - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, /* Pooled Parameter (Expression: [1 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 } }; diff --git a/HVAC_model_private.h b/HVAC_model_private.h old mode 100644 new mode 100755 index d36bb1b..669d083 --- a/HVAC_model_private.h +++ b/HVAC_model_private.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1082 + * Model version : 1.1128 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Jun 10 11:23:53 2026 + * C/C++ source code generated on : Tue Jun 23 15:07:47 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -91,26 +91,16 @@ extern int16_t look1_is16bdlu64n48Ds32_binlcn(int16_t u0, const double bp0[], extern uint8_t look2_iu8bu8s16lu64n32_binlcse(uint8_t u0, uint8_t u1, const uint8_t bp0[], const int16_t bp1[], const uint8_t table[], const uint32_t maxIndex[], uint32_t stride); +extern uint8_t look1_iu16lu64n48tu8_binlcse(uint16_t u0, const uint16_t bp0[], + const uint8_t table[], uint32_t maxIndex); extern int16_t look1_iu16tdIs16_binlcs(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex); -extern double look1_is16td_binlc(int16_t u0, const int16_t bp0[], const double +extern double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex); extern int16_t look1_iu16bs16lu64n32ts16Ds32_binlcs(uint16_t u0, const int16_t bp0[], const int16_t table[], uint32_t maxIndex); extern uint32_t plook_u32s16_bincka(int16_t u_8, const int16_t bp[], uint32_t maxIndex); -extern void u(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING); -extern void u_d(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const - double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT); -extern void u_c(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, - const double *rtd_AMB_store, double - *rtd_KEEP_FALLING_UNTIL_LIMIT); -extern void u_b(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING); -extern void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL); -extern void u_h(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const - double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT); -extern void u_a(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 get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t *rty_vals); extern void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, @@ -134,10 +124,119 @@ extern void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t extern 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); extern void left(uint8_t rtu_idx, uint16_t rty_vals[9]); +extern void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level2(int8_t *rty_step); +extern void g_assSTART_ENTER_COOLANT_j(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const + int16_t *rtd_ECT, const uint8_t *rtd_LEVEL, const uint8_t + *rtd_LO_HI_MODE_FL); +extern void Level0(int8_t *rty_step); +extern void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out); +extern void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out); +extern void g_assSTART_COOLANT_STEP0_TO_1_a(uint8_t rtu_LVL, int16_t *rty_out); +extern void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out); +extern void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out); +extern void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out); +extern void windowheating(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out); +extern void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]); +extern void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]); +extern void Level4_h(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t + *rtd_Blower_FR, uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR, + uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR, const int16_t + *rtd_ECT, uint8_t *rtd_El_window_heating, const int16_t + *rtd_Incar_FL, uint8_t *rtd_Incar_filter_down_value, + uint8_t *rtd_Incar_filter_up_value, const uint8_t + *rtd_LEVEL, uint8_t *rtd_Mode_FL, uint8_t *rtd_Mode_FR, + double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const + int8_t *rtd_step_start_controle_front, const uint32_t + *rtd_t_now, DW_Level4_o *localDW); +extern void uwayvalvestatus_j(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_c(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out); +extern void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out); +extern void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out); +extern void step_h(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_p(uint8_t rtu_LVL, uint8_t *rty_out); +extern void windowheating_e(uint8_t rtu_LVL, uint8_t *rty_out); +extern void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t + *rtd_Blower_FL, uint16_t *rtd_Blower_FR, const uint16_t + *rtd_Blower_logic_FL, uint8_t *rtd_Dtg_FLL, uint8_t + *rtd_Dtg_FLR, uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR, + const uint8_t *rtd_Dtg_logic_FLL, const uint8_t + *rtd_Dtg_logic_FUL, uint8_t *rtd_El_window_heating, const + bool *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value, + uint8_t *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, + uint8_t *rtd_Mode_FL, uint8_t *rtd_Mode_FR, const uint8_t + *rtd_Mode_logic_FL, double *rtd_Recirculation, uint8_t + *rtd_Valve_3_way, const int8_t *rtd_step_start_controle_front, + const uint32_t *rtd_t_now, DW_Level3 *localDW); +extern void g_ausSTART_ENTER_SETTEMP_m(uint8_t rtu_LVL, int16_t *rty_out); +extern void g_assSTART_ENTER_INCAR_c(uint8_t rtu_LVL, int16_t *rty_out); +extern void g_assSTART_ENTER_COOLANT_c(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4_l(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const + int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, const + uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL); +extern void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out); +extern void incarfilterup_b(uint8_t rtu_LVL, uint8_t *rty_out); +extern void g_assSTART_COOLANT_STEP0_TO_1_k(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4_c(int8_t *rty_step1, uint16_t *rtd_Blower_RL, uint16_t + *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, + const int16_t *rtd_ECT, uint8_t + *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, uint8_t + *rtd_Valve_2_way, uint8_t *rtd_Valve_3_way); +extern void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Incartempgotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out); +extern void Timegotofromstep1tostep2_p(uint8_t rtu_LVL, int16_t *rty_out); +extern void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level0_o(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t + *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, + const int16_t *rtd_Incar_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t * + rtd_step_start_controle_rear, const uint32_t *rtd_t_now, + DW_Level0_f *localDW); +extern void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]); +extern void ECTminmax_b(uint8_t rtu_LVL, int16_t rty_out[2]); +extern void Level4_n(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t + *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, + const int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, + uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t * + rtd_step_start_controle_rear, const uint32_t *rtd_t_now, + DW_Level4_oa *localDW); +extern void timeforstep_h(uint8_t rtu_LVL, uint8_t *rty_out); +extern void blowerstep_e(uint8_t rtu_LVL, uint16_t *rty_out); +extern void blowertimeforstep_o(uint8_t rtu_LVL, uint16_t *rty_out); +extern void step_i3(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_m(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level3_j(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t + *rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR, + uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const uint8_t + *rtd_Dtg_logic_RR, const bool *rtd_HI_logic_on, uint8_t + *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t + *rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t + *rtd_Valve_2_way, const int8_t + *rtd_step_start_controle_rear, const uint32_t *rtd_t_now, + DW_Level3_j *localDW); extern void u1Incartarget(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, int16_t *rty_y); extern void Y1Y4FLL_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); -extern void u_n(const int16_t rtu_y_in[5], double rty_y_fixed[5]); +extern void u(const int16_t rtu_y_in[5], double rty_y_fixed[5]); extern void Amb_Tg(uint8_t rtu_LVL, int16_t *rty_y); extern void X1X4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); extern void Y1Y4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); @@ -168,6 +267,49 @@ extern void u1Incartarget_p(int16_t rtu_SET, uint8_t rtu_LVL, bool extern void u1Incartarget_l(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, int16_t *rty_y); extern void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void AMBRATE_RISING_DIFF8(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F); +extern void u_j(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F); +extern void u_m(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F); +extern void u_h(uint8_t rtu_lvl, uint16_t *rty_out); +extern void AMBRATE_FALLING_DIFF7(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F); +extern void u_i(uint8_t rtu_lvl, uint16_t *rty_out); +extern void u_e(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_F); +extern void u_c(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F); +extern void u_cc(uint8_t rtu_lvl, uint16_t *rty_out); +extern void g_ausINCARRATE_RISING_DIFF_F8(uint16_t + *rty_f_g_ausINCARRATE_RISING_DIFF_F); +extern void INCARRATE_RISING_DIFF_F7(uint16_t + *rty_f_g_ausINCARRATE_RISING_DIFF_F); +extern void u_mu(uint8_t rtu_lvl, uint16_t *rty_out); +extern void AMBRATE_RISING_DIFF8_m(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R); +extern void u_a(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_R); +extern void u_l(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R); +extern void u_g(uint8_t rtu_lvl, uint16_t *rty_out); +extern void AMBRATE_FALLING_DIFF7_a(uint16_t + *rty_f_g_ausINCARRATE_FALLING_DIFF_R); +extern void u_b(uint8_t rtu_lvl, uint16_t *rty_out); +extern void u_jy(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_R); +extern void u_d(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R); +extern void u_jk(uint8_t rtu_lvl, uint16_t *rty_out); +extern void g_ausINCARRATE_RISING_DIFF_R8(uint16_t + *rty_f_g_ausINCARRATE_RISING_DIFF_R); +extern void INCARRATE_RISING_DIFF_R7(uint16_t + *rty_f_g_ausINCARRATE_RISING_DIFF_R); +extern void u_ew(uint8_t rtu_lvl, uint16_t *rty_out); +extern void Zone_Climate_Logic_Auto_FL1_Init(uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double + *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW); +extern void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t + rtu_btn_face, uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, + uint8_t *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t + *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW); +extern void Zone_Climate_Logic_Auto_FL2_Init(uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double + *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW); +extern void Zone_Climate_Logic_Auto_FL2(double rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, uint8_t + *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t + *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW); extern void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out); @@ -192,6 +334,19 @@ extern void X1X2Vtg_FX_sun_p(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) extern void Y1Y2Vtg_RX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); extern void Vtg_RX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); extern void Vtg_RX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void u_bs(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING); +extern void u_de(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const + double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT); +extern void u_co(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t + *rty_riseperminute, const double *rtd_AMB_store, double + *rtd_KEEP_FALLING_UNTIL_LIMIT); +extern void u_bq(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING); +extern void u_gw(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL); +extern void u_hd(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const + double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT); +extern void u_a5(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 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); @@ -202,114 +357,6 @@ extern void IfActionSubsystem1(int8_t *rty_Output, 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 g_assSTART_ENTER_INCAR_j(uint8_t rtu_LVL, int16_t *rty_out); -extern void g_assSTART_ENTER_COOLANT_p(uint8_t rtu_LVL, int16_t *rty_out); -extern void Level4(int8_t *rty_step1, const int16_t *rtd_ECT, const uint8_t - *rtd_LEVEL, const double *rtd_MODE_DRIVER); -extern void Level0(int8_t *rty_step); -extern void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out); -extern void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out); -extern void g_assSTART_COOLANT_STEP0_TO_1_h(uint8_t rtu_LVL, int16_t *rty_out); -extern void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out); -extern void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out); -extern void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out); -extern void windowheating(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out); -extern void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]); -extern void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]); -extern void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t - *rtd_Blower_FR, uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR, - uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR, const int16_t - *rtd_ECT, uint8_t *rtd_El_window_heating, const int16_t - *rtd_Incar_FL, uint8_t *rtd_Incar_filter_down_value, - uint8_t *rtd_Incar_filter_up_value, const uint8_t - *rtd_LEVEL, uint8_t *rtd_Mode_FL, uint8_t *rtd_Mode_FR, - double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const - int8_t *rtd_step_start_controle_front, const uint32_t - *rtd_t_now, DW_Level4_n *localDW); -extern void uwayvalvestatus_a(uint8_t rtu_LVL, uint8_t *rty_out); -extern void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out); -extern void timeforstep_j(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out); -extern void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out); -extern void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out); -extern void step_j(uint8_t rtu_LVL, uint8_t *rty_out); -extern void timeforstep_g(uint8_t rtu_LVL, uint8_t *rty_out); -extern void windowheating_k(uint8_t rtu_LVL, uint8_t *rty_out); -extern void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t - *rtd_Blower_FL, uint16_t *rtd_Blower_FR, const uint16_t - *rtd_Blower_logic_FL, uint8_t *rtd_Dtg_FLL, uint8_t - *rtd_Dtg_FLR, uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR, - const uint8_t *rtd_Dtg_logic_FLL, const uint8_t - *rtd_Dtg_logic_FUL, uint8_t *rtd_El_window_heating, const - bool *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value, - uint8_t *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, - uint8_t *rtd_Mode_FL, uint8_t *rtd_Mode_FR, const uint8_t - *rtd_Mode_logic_FL, double *rtd_Recirculation, uint8_t - *rtd_Valve_3_way, const int8_t *rtd_step_start_controle_front, - const uint32_t *rtd_t_now, DW_Level3 *localDW); -extern void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front); -extern void g_ausSTART_ENTER_SETTEMP_b(uint8_t rtu_LVL, int16_t *rty_out); -extern void g_assSTART_ENTER_INCAR_p(uint8_t rtu_LVL, int16_t *rty_out); -extern void g_assSTART_ENTER_COOLANT_e(uint8_t rtu_LVL, int16_t *rty_out); -extern void Level4_e(int8_t *rty_step1, const int16_t *rtd_ECT, const int16_t - *rtd_Incar_RR, const uint8_t *rtd_LEVEL, const double - *rtd_MODE_RR_passenger); -extern void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out); -extern void incarfilterup_i(uint8_t rtu_LVL, uint8_t *rty_out); -extern void g_assSTART_COOLANT_STEP0_TO_1_e(uint8_t rtu_LVL, int16_t *rty_out); -extern void Level4_m(int8_t *rty_step1, uint16_t *rtd_Blower_RL, uint16_t - *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, - const int16_t *rtd_ECT, uint8_t - *rtd_Incar_filter_down_value, uint8_t - *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, - uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, uint8_t - *rtd_Valve_2_way, uint8_t *rtd_Valve_3_way); -extern void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Incartempgotofromstep1tostep2_j(uint8_t rtu_LVL, int16_t *rty_out); -extern void Timegotofromstep1tostep2_l(uint8_t rtu_LVL, int16_t *rty_out); -extern void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Level0_b(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t - *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, - const int16_t *rtd_Incar_RR, uint8_t - *rtd_Incar_filter_down_value, uint8_t - *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, - uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double - *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t * - rtd_step_start_controle_rear, const uint32_t *rtd_t_now, - DW_Level0_c *localDW); -extern void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]); -extern void ECTminmax_l(uint8_t rtu_LVL, int16_t rty_out[2]); -extern void Level4_d(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t - *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, - const int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, - uint8_t *rtd_Incar_filter_down_value, uint8_t - *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, - uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double - *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t * - rtd_step_start_controle_rear, const uint32_t *rtd_t_now, - DW_Level4_a *localDW); -extern void timeforstep_jn(uint8_t rtu_LVL, uint8_t *rty_out); -extern void blowerstep_d(uint8_t rtu_LVL, uint16_t *rty_out); -extern void blowertimeforstep_l(uint8_t rtu_LVL, uint16_t *rty_out); -extern void step_a(uint8_t rtu_LVL, uint8_t *rty_out); -extern void timeforstep_h(uint8_t rtu_LVL, uint8_t *rty_out); -extern void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t - *rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR, - uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const uint8_t - *rtd_Dtg_logic_RR, const bool *rtd_HI_logic_on, uint8_t - *rtd_Incar_filter_down_value, uint8_t - *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, - uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t - *rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t - *rtd_Valve_2_way, const int8_t - *rtd_step_start_controle_rear, const uint32_t *rtd_t_now, - DW_Level3_n *localDW); extern void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t *rty_get_mode); extern void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], @@ -324,13 +371,6 @@ extern void ValvesforHi_Level(uint16_t rty_out[9]); extern void ValvesforTriLevel(uint16_t rty_out[9]); extern void AFforBiLevel_a(uint16_t rty_out[6]); extern void valvesforVentmode(uint16_t rty_out[6]); -extern void Zone_Climate_Logic_Auto_FL_Init(uint8_t *rty_out_def, uint8_t - *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, - DW_Zone_Climate_Logic_Auto_FL *localDW); -extern void Zone_Climate_Logic_Auto_FL(uint8_t rtu_btn_def, uint8_t rtu_btn_face, - uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t *rty_out_def, uint8_t - *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, - DW_Zone_Climate_Logic_Auto_FL *localDW); #endif /* HVAC_model_private_h_ */ diff --git a/HVAC_model_types.h b/HVAC_model_types.h old mode 100644 new mode 100755 index b28df7a..73d0893 --- a/HVAC_model_types.h +++ b/HVAC_model_types.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1082 + * Model version : 1.1128 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Jun 10 11:23:53 2026 + * C/C++ source code generated on : Tue Jun 23 15:07:47 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -46,6 +46,23 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Incar_Bus_ +#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Incar_Bus_ + +typedef struct { + uint8_t dbg_Sen_Incar_MultMsg_Idx; + int16_t dbg_Sen_Incar_Raw_FL_ro; + int16_t dbg_Sen_Incar_FL_ro; + int16_t dbg_Sen_Incar_Raw_FR_ro; + int16_t dbg_Sen_Incar_FR_ro; + int16_t dbg_Sen_Incar_Raw_RL_ro; + int16_t dbg_Sen_Incar_RL_ro; + int16_t dbg_Sen_Incar_Raw_RR_ro; + int16_t dbg_Sen_Incar_RR_ro; +} dbgCAN_dbg_Sen_Incar_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT1_Bus_ #define DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT1_Bus_ @@ -383,23 +400,6 @@ typedef struct { #endif -#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Incar_Bus_ -#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Incar_Bus_ - -typedef struct { - uint8_t dbg_Sen_Incar_MultMsg_Idx; - int16_t dbg_Sen_Incar_Raw_FL_ro; - int16_t dbg_Sen_Incar_FL_ro; - int16_t dbg_Sen_Incar_Raw_FR_ro; - int16_t dbg_Sen_Incar_FR_ro; - int16_t dbg_Sen_Incar_Raw_RL_ro; - int16_t dbg_Sen_Incar_RL_ro; - int16_t dbg_Sen_Incar_Raw_RR_ro; - int16_t dbg_Sen_Incar_RR_ro; -} dbgCAN_dbg_Sen_Incar_Bus; - -#endif - #ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_dbg_Sen_Eva_Bus_ #define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_dbg_Sen_Eva_Bus_