diff --git a/HVAC_model.c b/HVAC_model.c index e81a152..b6208de 100644 --- a/HVAC_model.c +++ b/HVAC_model.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.962 + * Model version : 1.1004 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 19 17:16:47 2026 + * C/C++ source code generated on : Tue May 26 15:27:11 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -159,9 +159,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' */ @@ -861,12 +861,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) { @@ -883,130 +883,130 @@ void u(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) /* * 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' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(8); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_FALLING_DIFF[7]) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное понижение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное понижение темп.' + * Merge: '/Merge' */ u(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/ускоренное повышение темп.' */ + /* MATLAB Function: '/ускоренное повышение темп.' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ tmp = rtu_lvl + 1; if (rtu_lvl + 1 > 32767) { tmp = 32767; } - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' */ *rty_out = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/обычный режим' - * '/обычный режим' - * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' */ void u_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' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(7); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_FALLING_DIFF[6]) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_UNTIL_LIMIT = 1.0; - /* MATLAB Function: '/ускоренное повышение темп.' */ + /* MATLAB Function: '/ускоренное повышение темп.' */ /* : f_g_aucAMBRATE_FALLING_DIFF_LVL = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ tmp = rtu_lvl + 1; if (rtu_lvl + 1 > 32767) { tmp = 32767; } - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' */ *rty_riseperminute = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/обычное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/обычное повышение темп.' + * Merge: '/Merge' */ u(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for atomic system: - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' */ void u_b(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) { @@ -1023,12 +1023,12 @@ void u_b(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) /* * Output and update for atomic system: - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' */ void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) { @@ -1045,108 +1045,108 @@ void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) /* * 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' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(8); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_RISING_DIFF[7]) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_RISING_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' */ u_b(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' */ u_g(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/обычный режим' - * '/обычный режим' - * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' */ void u_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' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(7); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_RISING_DIFF[6]) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_RISING_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' */ u_g(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' */ u_b(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for atomic system: - * '/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) @@ -1191,12 +1191,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) @@ -1241,10 +1241,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' */ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT) { @@ -1261,8 +1261,8 @@ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT /* * Output and update for action system: - * '/Bilevel' * '/Bilevel' + * '/Bilevel' */ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -1285,55 +1285,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); - /* 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); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_fou; 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); @@ -1343,10 +1343,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); @@ -1356,14 +1356,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); - /* 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) { @@ -1375,26 +1375,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); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_fou; 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) { @@ -1406,19 +1406,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); @@ -1433,10 +1433,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); @@ -1451,46 +1451,46 @@ 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); - /* 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; - /* 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) && ((((uint32_t)tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) ((g_aucFLOW_BI_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ rtb_Switch2_a_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_fou) >> 1) << 1); rtb_Switch2_a_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_fou) >> 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); @@ -1500,10 +1500,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); @@ -1513,14 +1513,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); - /* 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) { @@ -1532,23 +1532,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; - /* 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) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)) * (int32_t)((g_aucFLOW_BI_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11)); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MAX = g_aucFLOW_BI_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1563,10 +1563,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); @@ -1581,175 +1581,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); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_a_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_a_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_a_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); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_a_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_a_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_a_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' */ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI2_AMB_TGT) @@ -1767,8 +1767,8 @@ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t /* * Output and update for action system: - * '/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) @@ -1791,55 +1791,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); - /* 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); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_cgj; 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); @@ -1849,10 +1849,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); @@ -1862,14 +1862,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); - /* 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) { @@ -1881,26 +1881,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); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_cgj; 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) { @@ -1912,19 +1912,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); @@ -1939,10 +1939,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); @@ -1957,46 +1957,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); - /* 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; - /* 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) && ((((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_if_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_cgj) >> 1) << 1); rtb_Switch2_if_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_cgj) >> 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); @@ -2006,10 +2006,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); @@ -2019,14 +2019,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); - /* 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) { @@ -2038,23 +2038,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; - /* 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) && ((((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); @@ -2069,10 +2069,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); @@ -2087,175 +2087,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); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_if_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_if_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_if_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); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_if_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_if_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_if_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' */ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t *rty_c_g_aucFLOW_AF_FOOT_VALVE_MAX) @@ -2273,12 +2273,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' */ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT) { @@ -2295,8 +2295,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' */ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -2316,7 +2316,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; */ @@ -2336,14 +2336,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) { @@ -2358,56 +2358,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; */ @@ -2427,16 +2427,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) { @@ -2448,28 +2448,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) { @@ -2481,51 +2481,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); @@ -2533,10 +2533,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); @@ -2546,10 +2546,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; @@ -2559,30 +2559,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) { @@ -2594,9 +2594,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); @@ -2604,10 +2604,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); @@ -2622,80 +2622,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) @@ -2713,8 +2713,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' */ 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) @@ -2732,71 +2732,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) { @@ -2808,24 +2808,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) { @@ -2837,22 +2837,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); */ @@ -2861,35 +2861,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); @@ -2897,10 +2897,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); @@ -2911,10 +2911,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; @@ -2924,30 +2924,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) { @@ -2959,9 +2959,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); @@ -2969,10 +2969,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); @@ -2987,72 +2987,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) @@ -3075,8 +3075,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]) { @@ -3106,10 +3106,10 @@ 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' + * '/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) @@ -3186,8 +3186,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]) { @@ -3291,8 +3291,8 @@ 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]) { @@ -3332,16 +3332,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) { @@ -3358,8 +3358,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]) { @@ -3423,8 +3423,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]) { @@ -3488,8 +3488,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]) { @@ -3553,8 +3553,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]) { @@ -3618,8 +3618,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) { @@ -3654,8 +3654,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) { @@ -3690,7 +3690,6 @@ 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' @@ -3698,8 +3697,9 @@ void FLL_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) * '/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) @@ -3711,8 +3711,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]) { @@ -3816,8 +3816,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]) { @@ -3921,8 +3921,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]) { @@ -3986,8 +3986,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]) { @@ -4051,8 +4051,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]) { @@ -4116,8 +4116,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]) { @@ -4181,8 +4181,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) { @@ -4217,8 +4217,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) @@ -4295,8 +4295,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]) { @@ -4400,8 +4400,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]) { @@ -4505,8 +4505,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]) { @@ -4570,8 +4570,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]) { @@ -4635,8 +4635,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]) { @@ -4700,8 +4700,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]) { @@ -4765,8 +4765,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' */ void R_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -4801,8 +4801,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' */ void R_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -4837,8 +4837,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) @@ -4915,8 +4915,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) @@ -4993,8 +4993,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' */ void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -5003,8 +5003,6 @@ void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) int16_t tmp[42]; /* : correct_rate = [g_assCORRECT_DUCT_RATE_LV0; g_assCORRECT_DUCT_RATE_LV1; g_assCORRECT_DUCT_RATE_LV2; g_assCORRECT_DUCT_RATE_LV3; g_assCORRECT_DUCT_RATE_LV4; g_assCORRECT_DUCT_RATE_LV5]; */ - /* : disp('all correction rate:') */ - /* : disp(correct_rate) */ /* : y = correct_rate(LVL + 1, idivide(SET - 16 + 1, 2)); */ for (i = 0; i < 7; i++) { tmp[6 * i] = g_assCORRECT_DUCT_RATE_LV0[i]; @@ -5026,2933 +5024,12 @@ void correctionrate(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]; - - /* : disp('correction rate:') */ - /* : disp(y) */ -} - -/* - * Output and update for action system: - * '/sync all action' - * '/sync all action' - * '/sync all action' - * '/sync all action' - * '/sync all action' - * '/action if all_sync was on' - * '/sync all action' - */ -void syncallaction(uint8_t *rtd_CCU_ALL_ZONE_SYNC, uint8_t *rtd_CCU_FRONT_SYNC, - uint8_t *rtd_CCU_REAR_SYNC) -{ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/off' - */ - *rtd_CCU_ALL_ZONE_SYNC = 0U; - - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/off' - */ - *rtd_CCU_FRONT_SYNC = 0U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/on' - */ - *rtd_CCU_REAR_SYNC = 1U; -} - -/* - * Output and update for action system: - * '/sync all action' - * '/sync all action' - * '/sync all action' - * '/sync all action' - * '/sync all action' - * '/sync all action' - */ -void syncallaction_i(uint8_t *rtd_CCU_ALL_ZONE_SYNC, uint8_t *rtd_CCU_FRONT_SYNC, - uint8_t *rtd_CCU_REAR_SYNC) -{ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/off' - */ - *rtd_CCU_ALL_ZONE_SYNC = 0U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/off' - */ - *rtd_CCU_REAR_SYNC = 0U; - - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - *rtd_CCU_FRONT_SYNC = 1U; -} - -/* - * 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' - */ - *rtd_stepSig_private = 1; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Sum: '/step inc' - */ - (*rtd_ErrorHomming_private)++; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' - */ - *rtd_Start_timer_n = 0.0; - - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant1' - */ - *rty_Out1 = 2; -} - -/* - * System initialize for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' - */ -void MATLABFunction_Init(DW_MATLABFunction *localDW) -{ - localDW->t_start_not_empty = false; - localDW->cond_prev = 0.0; } /* * Output and update for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' - */ -void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, - DW_MATLABFunction *localDW) -{ - /* : dt = uint32(0); */ - /* : if isempty(t_start) */ - if (!localDW->t_start_not_empty) { - /* : t_start = t_now; */ - localDW->t_start = rtu_t_now; - localDW->t_start_not_empty = true; - - /* : cond_prev = 0; */ - } - - /* : if cond > 0.5 && cond_prev <= 0.5 */ - if ((rtu_cond > 0.5) && (localDW->cond_prev <= 0.5)) { - /* : t_start = t_now; */ - localDW->t_start = rtu_t_now; - } - - /* : if cond > 0.5 */ - if (rtu_cond > 0.5) { - uint32_t qY; - - /* : dt = uint32(t_now - t_start); */ - /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - qY = rtu_t_now - /*MW:OvSatOk*/ localDW->t_start; - - /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ - if (qY > rtu_t_now) { - qY = 0U; - } - - *rty_dt = qY; - } else { - /* : else */ - /* : dt = uint32(0); */ - *rty_dt = 0U; - } - - /* : cond_prev = cond; */ - localDW->cond_prev = rtu_cond; -} - -/* - * Output and update for action system: - * '/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 - 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]) -{ - int32_t i; - bool tmp; - - /* 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' - */ - *rtd_CCU_ActuatorErrF_Stat_private = tmp; - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtd_COM_private[i] = rtd_ErrorCalibration_private[i]; - - /* DataStoreWrite: '/Data Store Write' */ - rtd_MODE_private[i] = 2U; - } - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read6' - */ - /* : if(LOGGER==1) */ - if (*rtd_LOGGER_LIN == 1.0) { - /* : for i = 1:numel(ErrCallibration) */ - for (i = 0; i < 9; i++) { - /* : if ErrCallibration(i) == 1 */ - if (rtd_ErrorCalibration_private[i] == 1) { - /* : fprintf('LIN1 Failure with actuator #%d\n', int16(i)); */ - printf("LIN1 Failure with actuator #%d\n", (int16_t)(i + 1)); - fflush(stdout); - } - } - } - - /* 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' - */ - rtd_ErrorCalibration_private_0 = rtd_ErrorCalibration_private[i]; - - /* 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' */ - rtd_dtc_state_error_model[i + 54] = rtd_ErrorCalibration_private_0; - - /* DataStoreWrite: '/Data Store Write' */ - rtd_ErrorCalibration_private[i] = 0U; - } - - /* SignalConversion generated from: '/Output' incorporates: - * Constant: '/Constant' - */ - *rty_Output = 4; -} - -/* - * 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) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_FR_BI2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_FR_BI2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Def' - * '/AF for Def' - */ -void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_FR_DE2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_FR_DE2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Foor + Def' - * '/AF for Foor + Def' - */ -void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_FR_FD2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_FR_FD2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Foot' - * '/AF for Foot' - */ -void AFforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_FR_FO2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_FR_FO2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Hi_Level' - * '/AF for Hi_Level' - */ -void AFforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_FR_HI2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_FR_HI2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Tri-Level' - * '/AF for Tri-Level' - */ -void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_FR_TR2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_FR_TR2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Vent mode' - * '/AF for Vent mode' - */ -void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_FR_VE2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_FR_VE2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Bi Level R' - * '/AF for Bi Level R' - */ -void AFforBiLevelR(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_RE_BI2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_RE_BI2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Foot R' - * '/AF for Foot R' - */ -void AFforFootR(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_RE_FO2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_RE_FO2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/AF for Vent mode R' - * '/AF for Vent mode R' - */ -void AFforVentmodeR(uint8_t rtu_blower_speed, uint16_t *rty_out) -{ - int32_t tmp; - - /* : out = uint16(g_ausFLOW_RE_VE2BLR_AF(blower_speed + 1)); */ - tmp = (int32_t)(rtu_blower_speed + 1U); - if (rtu_blower_speed + 1U > 255U) { - tmp = 255; - } - - *rty_out = g_ausFLOW_RE_VE2BLR_AF[tmp - 1]; -} - -/* - * Output and update for atomic system: - * '/Valves for Bi Level' - * '/Valves for Bi Level' - */ -void ValvesforBiLevel(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_BIVALVE_MANUAL[i]; - } - - /* : out = g_ausFLOW_FR_BIVALVE_MANUAL; */ -} - -/* - * Output and update for atomic system: - * '/Valves for Def' - * '/Valves for Def' - */ -void ValvesforDef(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_DE2VALVE[i]; - } - - /* : out = g_ausFLOW_FR_DE2VALVE; */ -} - -/* - * Output and update for atomic system: - * '/Valves for Foot + Def' - * '/Valves for Foot + Def' - */ -void ValvesforFootDef(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_FD2VALVE[i]; - } - - /* : out = g_ausFLOW_FR_FD2VALVE; */ -} - -/* - * Output and update for atomic system: - * '/Valves for Hi_Level' - * '/Valves for Hi_Level' - */ -void ValvesforHi_Level(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_HI2VALVE[i]; - } - - /* : out = g_ausFLOW_FR_HI2VALVE; */ -} - -/* - * Output and update for atomic system: - * '/Valves for Tri-Level' - * '/Valves for Tri-Level' - */ -void ValvesforTriLevel(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_TR2VALVE[i]; - } - - /* : out = g_ausFLOW_FR_TR2VALVE; */ -} - -/* - * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' - */ -void AFforBiLevel_m(uint16_t rty_out[6]) -{ - int32_t i; - for (i = 0; i < 6; i++) { - rty_out[i] = g_ausFLOW_RE_BI2VALVE_MANUAL[i]; - } - - /* : out = g_ausFLOW_RE_BI2VALVE_MANUAL; */ -} - -/* - * Output and update for atomic system: - * '/valves for Vent mode' - * '/valves for Vent mode' - */ -void valvesforVentmode(uint16_t rty_out[6]) -{ - int32_t i; - for (i = 0; i < 6; i++) { - rty_out[i] = g_ausFLOW_RE_VENT_MANUAL[i]; - } - - /* : out = g_ausFLOW_RE_VENT_MANUAL; */ -} - -/* - * 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_as; - uint16_t rtb_out_gqg; - uint8_t rtb_out_iew; - uint8_t rtb_out_ir5; - uint8_t rtb_out_pr; - 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_iew); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' - */ - timeforstep(*rtd_LEVEL, &rtb_out_ir5); - - /* 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_iew / (double)rtb_out_ir5 / 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_iew); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_j(*rtd_LEVEL, &rtb_out_ir5); - - /* 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_iew / (double)rtb_out_ir5 / 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_iew = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - step_j(*rtd_LEVEL, &rtb_out_ir5); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_g(*rtd_LEVEL, &rtb_out_pr); - - /* 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_iew <= 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_ir5 / (double)rtb_out_pr / 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_iew); - - /* DataStoreWrite: '/Data Store Write4' */ - *rtd_El_window_heating = rtb_out_iew; - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtb_out_as = (uint16_t)(*rtd_Blower_FL - *rtd_Blower_logic_FL); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - rtb_Cond_prev_private_gh = (rtb_out_as <= 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_as); - - /* 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_as / - 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_ef; - int16_t rtb_out_ntg; - - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - g_assSTART_ENTER_INCAR_p(*rtd_LEVEL, &rtb_out_ntg); - - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - g_assSTART_ENTER_COOLANT_e(*rtd_LEVEL, &rtb_out_ef); - - /* 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_ntg) || (*rtd_ECT < rtb_out_ef)) && - (*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_ls; - - /* 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_ls); - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - */ - *rty_step1 = (int8_t)(*rtd_ECT > rtb_out_ls); -} - -/* - * 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_hl; - 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_hl); - - /* DataStoreWrite: '/Data Store Write2' */ - *rtd_Mode_RR = rtb_out_hl; - - /* DataStoreWrite: '/Data Store Write3' */ - *rtd_Mode_RL = rtb_out_hl; - - /* 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_hl); - - /* DataStoreWrite: '/Data Store Write10' */ - *rtd_Dtg_RR = rtb_out_hl; - - /* DataStoreWrite: '/Data Store Write11' */ - *rtd_Dtg_RL = rtb_out_hl; - - /* 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_mac; - 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_mac); - - /* 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_mac) || (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_nn; - uint16_t rtb_out_pv; - uint8_t rtb_out_di; - uint8_t rtb_out_jl; - 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_jl); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_jn(*rtd_LEVEL, &rtb_out_di); - - /* 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_jl / (double)rtb_out_di / 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_jl = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - rtb_Cond_prev_private_a4 = (rtb_out_jl <= 0.01); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - step_a(*rtd_LEVEL, &rtb_out_di); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_h(*rtd_LEVEL, &rtb_out_jl); - - /* 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_di / (double)rtb_out_jl / 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_nn); - - /* 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_nn / (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: - * '/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]) { @@ -8056,8 +5133,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]) { @@ -8161,8 +5238,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]) { @@ -8226,8 +5303,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]) { @@ -8291,8 +5368,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]) { @@ -8356,8 +5433,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) { @@ -8392,8 +5469,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) { @@ -8428,8 +5505,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_c(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -8533,8 +5610,8 @@ void X1X4Vtg_FX_incar_c(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_b(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) { @@ -8638,8 +5715,8 @@ void Y1Y4Vtg_FX_incar_b(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]) { @@ -8703,8 +5780,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_j(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) { @@ -8768,8 +5845,8 @@ void X1X2Vtg_FX_sun_j(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]) { @@ -8833,8 +5910,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) { @@ -8869,8 +5946,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) { @@ -8904,43 +5981,2945 @@ void Vtg_RX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) } /* - * Output and update for atomic system: - * '/correction rate' - * '/correction rate' + * Output and update for action system: + * '/sync all action' + * '/sync all action' + * '/sync all action' + * '/sync all action' + * '/sync all action' + * '/action if all_sync was on' + * '/sync all action' */ -void correctionrate_a(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) +void syncallaction(uint8_t *rtd_CCU_ALL_ZONE_SYNC, uint8_t *rtd_CCU_FRONT_SYNC, + uint8_t *rtd_CCU_REAR_SYNC) +{ + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/off' + */ + *rtd_CCU_ALL_ZONE_SYNC = 0U; + + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' + */ + *rtd_CCU_FRONT_SYNC = 0U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/on' + */ + *rtd_CCU_REAR_SYNC = 1U; +} + +/* + * Output and update for action system: + * '/sync all action' + * '/sync all action' + * '/sync all action' + * '/sync all action' + * '/sync all action' + * '/sync all action' + */ +void syncallaction_i(uint8_t *rtd_CCU_ALL_ZONE_SYNC, uint8_t *rtd_CCU_FRONT_SYNC, + uint8_t *rtd_CCU_REAR_SYNC) +{ + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/off' + */ + *rtd_CCU_ALL_ZONE_SYNC = 0U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/off' + */ + *rtd_CCU_REAR_SYNC = 0U; + + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + *rtd_CCU_FRONT_SYNC = 1U; +} + +/* + * Output and update for action system: + * '/action if all_sync was on' + * '/action if all_sync was on' + */ +void actionifall_syncwason(uint8_t *rtd_CCU_ALL_ZONE_SYNC, uint8_t + *rtd_CCU_FRONT_SYNC, uint8_t *rtd_CCU_REAR_SYNC) +{ + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/off' + */ + *rtd_CCU_ALL_ZONE_SYNC = 0U; + + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + *rtd_CCU_FRONT_SYNC = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/on' + */ + *rtd_CCU_REAR_SYNC = 1U; +} + +/* + * 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' + */ + *rtd_stepSig_private = 1; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Sum: '/step inc' + */ + (*rtd_ErrorHomming_private)++; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' + */ + *rtd_Start_timer_n = 0.0; + + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/Constant1' + */ + *rty_Out1 = 2; +} + +/* + * System initialize for atomic system: + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + */ +void MATLABFunction_Init(DW_MATLABFunction *localDW) +{ + localDW->t_start_not_empty = false; + localDW->cond_prev = 0.0; +} + +/* + * Output and update for atomic system: + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + */ +void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, + DW_MATLABFunction *localDW) +{ + /* : dt = uint32(0); */ + /* : if isempty(t_start) */ + if (!localDW->t_start_not_empty) { + /* : t_start = t_now; */ + localDW->t_start = rtu_t_now; + localDW->t_start_not_empty = true; + + /* : cond_prev = 0; */ + } + + /* : if cond > 0.5 && cond_prev <= 0.5 */ + if ((rtu_cond > 0.5) && (localDW->cond_prev <= 0.5)) { + /* : t_start = t_now; */ + localDW->t_start = rtu_t_now; + } + + /* : if cond > 0.5 */ + if (rtu_cond > 0.5) { + uint32_t qY; + + /* : dt = uint32(t_now - t_start); */ + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = rtu_t_now - /*MW:OvSatOk*/ localDW->t_start; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if (qY > rtu_t_now) { + qY = 0U; + } + + *rty_dt = qY; + } else { + /* : else */ + /* : dt = uint32(0); */ + *rty_dt = 0U; + } + + /* : cond_prev = cond; */ + localDW->cond_prev = rtu_cond; +} + +/* + * Output and update for action system: + * '/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 + 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]) { int32_t i; - int32_t tmp_0; - int16_t tmp[42]; + bool tmp; - /* : 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)); */ - 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]; + /* 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)); } - i = (int32_t)(rtu_LVL + 1U); + /* 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' + */ + rtd_COM_private[i] = rtd_ErrorCalibration_private[i]; + + /* DataStoreWrite: '/Data Store Write' */ + rtd_MODE_private[i] = 2U; + } + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read6' + */ + /* : if(LOGGER==1) */ + if (*rtd_LOGGER_LIN == 1.0) { + /* : for i = 1:numel(ErrCallibration) */ + for (i = 0; i < 9; i++) { + /* : if ErrCallibration(i) == 1 */ + if (rtd_ErrorCalibration_private[i] == 1) { + /* : fprintf('LIN1 Failure with actuator #%d\n', int16(i)); */ + printf("LIN1 Failure with actuator #%d\n", (int16_t)(i + 1)); + fflush(stdout); + } + } + } + + /* 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' + */ + rtd_ErrorCalibration_private_0 = rtd_ErrorCalibration_private[i]; + + /* 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' */ + rtd_dtc_state_error_model[i + 54] = rtd_ErrorCalibration_private_0; + + /* DataStoreWrite: '/Data Store Write' */ + rtd_ErrorCalibration_private[i] = 0U; + } + + /* SignalConversion generated from: '/Output' incorporates: + * Constant: '/Constant' + */ + *rty_Output = 4; +} + +/* + * 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) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_FR_BI2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_FR_BI2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Def' + * '/AF for Def' + */ +void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_FR_DE2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_FR_DE2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Foor + Def' + * '/AF for Foor + Def' + */ +void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_FR_FD2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_FR_FD2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Foot' + * '/AF for Foot' + */ +void AFforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_FR_FO2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_FR_FO2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Hi_Level' + * '/AF for Hi_Level' + */ +void AFforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_FR_HI2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_FR_HI2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Tri-Level' + * '/AF for Tri-Level' + */ +void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_FR_TR2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_FR_TR2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Vent mode' + * '/AF for Vent mode' + */ +void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_FR_VE2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_FR_VE2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Bi Level R' + * '/AF for Bi Level R' + */ +void AFforBiLevelR(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_RE_BI2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_RE_BI2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Foot R' + * '/AF for Foot R' + */ +void AFforFootR(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_RE_FO2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_RE_FO2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/AF for Vent mode R' + * '/AF for Vent mode R' + */ +void AFforVentmodeR(uint8_t rtu_blower_speed, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = uint16(g_ausFLOW_RE_VE2BLR_AF(blower_speed + 1)); */ + tmp = (int32_t)(rtu_blower_speed + 1U); + if (rtu_blower_speed + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausFLOW_RE_VE2BLR_AF[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Valves for Bi Level' + * '/Valves for Bi Level' + */ +void ValvesforBiLevel(uint16_t rty_out[9]) +{ + int32_t i; + for (i = 0; i < 9; i++) { + rty_out[i] = g_ausFLOW_FR_BIVALVE_MANUAL[i]; + } + + /* : out = g_ausFLOW_FR_BIVALVE_MANUAL; */ +} + +/* + * Output and update for atomic system: + * '/Valves for Def' + * '/Valves for Def' + */ +void ValvesforDef(uint16_t rty_out[9]) +{ + int32_t i; + for (i = 0; i < 9; i++) { + rty_out[i] = g_ausFLOW_FR_DE2VALVE[i]; + } + + /* : out = g_ausFLOW_FR_DE2VALVE; */ +} + +/* + * Output and update for atomic system: + * '/Valves for Foot + Def' + * '/Valves for Foot + Def' + */ +void ValvesforFootDef(uint16_t rty_out[9]) +{ + int32_t i; + for (i = 0; i < 9; i++) { + rty_out[i] = g_ausFLOW_FR_FD2VALVE[i]; + } + + /* : out = g_ausFLOW_FR_FD2VALVE; */ +} + +/* + * Output and update for atomic system: + * '/Valves for Hi_Level' + * '/Valves for Hi_Level' + */ +void ValvesforHi_Level(uint16_t rty_out[9]) +{ + int32_t i; + for (i = 0; i < 9; i++) { + rty_out[i] = g_ausFLOW_FR_HI2VALVE[i]; + } + + /* : out = g_ausFLOW_FR_HI2VALVE; */ +} + +/* + * Output and update for atomic system: + * '/Valves for Tri-Level' + * '/Valves for Tri-Level' + */ +void ValvesforTriLevel(uint16_t rty_out[9]) +{ + int32_t i; + for (i = 0; i < 9; i++) { + rty_out[i] = g_ausFLOW_FR_TR2VALVE[i]; + } + + /* : out = g_ausFLOW_FR_TR2VALVE; */ +} + +/* + * Output and update for atomic system: + * '/AF for Bi Level' + * '/AF for Bi Level' + */ +void AFforBiLevel_m(uint16_t rty_out[6]) +{ + int32_t i; + for (i = 0; i < 6; i++) { + rty_out[i] = g_ausFLOW_RE_BI2VALVE_MANUAL[i]; + } + + /* : out = g_ausFLOW_RE_BI2VALVE_MANUAL; */ +} + +/* + * Output and update for atomic system: + * '/valves for Vent mode' + * '/valves for Vent mode' + */ +void valvesforVentmode(uint16_t rty_out[6]) +{ + int32_t i; + for (i = 0; i < 6; i++) { + rty_out[i] = g_ausFLOW_RE_VENT_MANUAL[i]; + } + + /* : out = g_ausFLOW_RE_VENT_MANUAL; */ +} + +/* + * 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) { - i = 255; + tmp = 255; } - tmp_0 = rtu_SET - 16; - if (rtu_SET - 16 < -32768) { - tmp_0 = -32768; + *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; } - *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 3U; - /* : disp('correction rate:') */ - /* : disp(y) */ + /* 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_as; + uint16_t rtb_out_gqg; + uint8_t rtb_out_iew; + uint8_t rtb_out_ir5; + uint8_t rtb_out_pr; + 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_iew); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(*rtd_LEVEL, &rtb_out_ir5); + + /* 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_iew / (double)rtb_out_ir5 / 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_iew); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_j(*rtd_LEVEL, &rtb_out_ir5); + + /* 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_iew / (double)rtb_out_ir5 / 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_iew = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_j(*rtd_LEVEL, &rtb_out_ir5); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_g(*rtd_LEVEL, &rtb_out_pr); + + /* 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_iew <= 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_ir5 / (double)rtb_out_pr / 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_iew); + + /* DataStoreWrite: '/Data Store Write4' */ + *rtd_El_window_heating = rtb_out_iew; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_as = (uint16_t)(*rtd_Blower_FL - *rtd_Blower_logic_FL); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_Cond_prev_private_gh = (rtb_out_as <= 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_as); + + /* 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_as / + 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_ef; + int16_t rtb_out_ntg; + + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_assSTART_ENTER_INCAR_p(*rtd_LEVEL, &rtb_out_ntg); + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_e(*rtd_LEVEL, &rtb_out_ef); + + /* 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_ntg) || (*rtd_ECT < rtb_out_ef)) && + (*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_ls; + + /* 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_ls); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + */ + *rty_step1 = (int8_t)(*rtd_ECT > rtb_out_ls); +} + +/* + * 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_hl; + 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_hl); + + /* DataStoreWrite: '/Data Store Write2' */ + *rtd_Mode_RR = rtb_out_hl; + + /* DataStoreWrite: '/Data Store Write3' */ + *rtd_Mode_RL = rtb_out_hl; + + /* 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_hl); + + /* DataStoreWrite: '/Data Store Write10' */ + *rtd_Dtg_RR = rtb_out_hl; + + /* DataStoreWrite: '/Data Store Write11' */ + *rtd_Dtg_RL = rtb_out_hl; + + /* 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_mac; + 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_mac); + + /* 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_mac) || (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_nn; + uint16_t rtb_out_pv; + uint8_t rtb_out_di; + uint8_t rtb_out_jl; + 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_jl); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_jn(*rtd_LEVEL, &rtb_out_di); + + /* 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_jl / (double)rtb_out_di / 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_jl = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_Cond_prev_private_a4 = (rtb_out_jl <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(*rtd_LEVEL, &rtb_out_di); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_h(*rtd_LEVEL, &rtb_out_jl); + + /* 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_di / (double)rtb_out_jl / 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_nn); + + /* 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_nn / (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; } /* Model step function */ @@ -8949,20 +8928,21 @@ void HVAC_model_step(void) double rtb_Divide1_a4[9]; double rtb_Saturation_k[8]; double rtb_f_lower_upper_bounds[2]; + double rtb_Divide1; double rtb_Divide10; double rtb_Divide11; + double rtb_Divide3; double rtb_Divide6; double rtb_Divide8; - double rtb_FLU_tg_correct_m; double rtb_rate; int32_t i; - int32_t i_0; - int32_t rtb_y_i_tmp; - int32_t rtb_y_k_tmp; - int32_t tmp_3; + int32_t rtb_y_i3_tmp; + int32_t rtb_y_l_tmp; int32_t tmp_4; int32_t tmp_5; int32_t tmp_6; + int32_t tmp_7; + int32_t tmp_8; uint32_t rtb_Subtract; uint32_t rtb_dt_an; int16_t FLU_tg[78]; @@ -8970,29 +8950,24 @@ void HVAC_model_step(void) int16_t tmp_0[42]; int16_t tmp_1[42]; int16_t tmp_2[42]; - int16_t rtb_y_j[6]; - int16_t rtb_y_fc[5]; - int16_t rtb_y_gm[5]; - int16_t rtb_y_pk[3]; + int16_t rtb_y_oz[6]; + int16_t tmp_3[6]; + int16_t rtb_y_fg[5]; + int16_t rtb_y_ga[5]; + int16_t rtb_y_b4[3]; int16_t rtb_out_j4[2]; - int16_t Duct1_R; int16_t Duct2_R; int16_t Duct3_R; int16_t Duct4_R; int16_t rtb_LVL; + int16_t rtb_y_a; int16_t rtb_y_c23; - int16_t rtb_y_co; int16_t rtb_y_ge; - int16_t rtb_y_gy; - int16_t rtb_y_h; - int16_t rtb_y_i; - int16_t rtb_y_im; - int16_t rtb_y_jd; - int16_t rtb_y_kj; - int16_t rtb_y_ktj; + int16_t rtb_y_gu; + int16_t rtb_y_ha; + int16_t rtb_y_ii; int16_t rtb_y_le; - int16_t rtb_y_mr; - int16_t rtb_y_p; + int16_t rtb_y_ltp; uint16_t Merge[9]; uint16_t rtb_out_ic[9]; uint16_t rtb_out_k4[9]; @@ -9001,14 +8976,13 @@ void HVAC_model_step(void) uint16_t rtb_out_pj[6]; uint16_t rtb_urear[6]; uint16_t rtb_out_jq[2]; - uint16_t rtb_Saturation1; - uint16_t rtb_Saturation2; + uint16_t rtb_Saturation1_j; + uint16_t rtb_Saturation2_a; uint16_t rtb_Saturation_as; - uint16_t rtb_out_bz; - uint16_t rtb_out_dr; - uint16_t rtb_out_jaw; - uint16_t rtb_out_pl; - uint16_t rtb_out_po; + uint16_t rtb_out_c3; + uint16_t rtb_out_fe; + uint16_t rtb_out_gdu; + uint16_t rtb_out_il; int8_t rtb_Switch_nyq; uint8_t rtb_get_modes_for_levels[78]; uint8_t Actuator_pos_percent_Ch1[9]; @@ -9048,7 +9022,7 @@ void HVAC_model_step(void) bool rtb_Compare_mt; bool rtb_Compare_ne; bool rtb_Compare_p; - bool rtb_Equal2_p; + bool rtb_FailCond; bool rtb_FailCond_b; bool rtb_FailCond_fj; bool rtb_FailCond_kk; @@ -9056,20 +9030,20 @@ void HVAC_model_step(void) bool rtb_LogicalOperator1; bool rtb_LogicalOperator10; bool rtb_LogicalOperator11; + bool rtb_LogicalOperator1_ci; bool rtb_LogicalOperator1_dv; - bool rtb_LogicalOperator1_l; bool rtb_LogicalOperator1_n; bool rtb_LogicalOperator3_cz; bool rtb_LogicalOperator3_p0; bool rtb_LogicalOperator4_fo; bool rtb_LogicalOperator6; bool rtb_LogicalOperator8; - bool rtb_RelationalOperator2_ir; + bool rtb_RelationalOperator2_nm; /* RelationalOperator: '/Relational Operator1' incorporates: * UnitDelay: '/Unit Delay' */ - rtb_Equal2_p = (rtDW.UnitDelay_DSTATE_d5 == -9999); + rtb_RelationalOperator2_nm = (rtDW.UnitDelay_DSTATE_d5 == -9999); /* DataStoreRead: '/Data Store Read14' incorporates: * UnitDelay: '/Unit Delay' @@ -9077,291 +9051,291 @@ void HVAC_model_step(void) rtDW.UnitDelay_DSTATE_d5 = rtDW.AMB_RAW; /* If: '/If' */ - if (rtb_Equal2_p) { + if (rtb_RelationalOperator2_nm) { /* Outputs for IfAction SubSystem: '/Инициализация температуры' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ - /* Switch: '/Switch1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* 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' + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtb_FLU_tg_correct_m = rtDW.AMB_store; + rtb_rate = rtDW.AMB_store; /* End of Outputs for SubSystem: '/Инициализация температуры' */ } else { /* Outputs for IfAction SubSystem: '/Фильтрация температуры' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ - /* Lookup_n-D: '/Get LVL for temp' incorporates: + /* Lookup_n-D: '/Get LVL for temp' incorporates: * DataStoreRead: '/Data Store Read14' * UnitDelay: '/Unit Delay' */ - rtb_LVL = rtConstP.pooled42[plook_u32s16_bincka(rtDW.UnitDelay_DSTATE_d5, + rtb_LVL = rtConstP.pooled44[plook_u32s16_bincka(rtDW.UnitDelay_DSTATE_d5, rtConstP.GetLVLfortemp_bp01Data, 5U)]; - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* 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' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ u_h(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_j, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ u_a(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_j, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* 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' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ u_d(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_e, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ u_c(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_e, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Sum: '/Subtract' incorporates: + /* Sum: '/Subtract' incorporates: * DataStoreRead: '/Data Store Read15' - * UnitDelay: '/Unit Delay' + * UnitDelay: '/Unit Delay' */ rtb_Subtract = rtDW.t_now - rtDW.UnitDelay_DSTATE_c; - /* If: '/If' incorporates: + /* If: '/If' incorporates: * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' */ /* : f_g_ssAMBFILT_WATER = g_ssAMBFILT_WATER; */ if ((rtDW.VehicleSpeed > 45) && (rtDW.KEEP_UNTIL_SPEED_DROPS > 0)) { - /* Outputs for IfAction SubSystem: '/Быстро из-за флага' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Быстро из-за флага' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* 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' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ u_h(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_m, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ u_a(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_m, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* 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' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ u_d(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_a, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ u_c(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_a, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* 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' */ + /* 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' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_y_ge = rtb_Merge_m; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ rtb_y_ge = (int16_t)-rtb_Merge_a; } - /* SignalConversion generated from: '/AMB_new' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' + /* SignalConversion generated from: '/AMB_new' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' */ rtb_rate = (double)rtb_Subtract / 60000.0 * (double)rtb_y_ge + rtDW.AMB_store; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Быстро из-за флага' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Быстро из-за флага' */ } else if (rtDW.VehicleSpeed > 50) { - /* Outputs for IfAction SubSystem: '/Быстро из-за скорости' incorporates: - * ActionPort: '/Action Port' - */ - /* 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, rtb_LVL, &rtb_Merge_m, &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, rtb_LVL, &rtb_Merge_m, &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, rtb_LVL, &rtb_Merge_a, &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, rtb_LVL, &rtb_Merge_a, &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_ge = rtb_Merge_m; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_y_ge = (int16_t)-rtb_Merge_a; - } - - /* 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_ge + - rtDW.AMB_store; - } - - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Быстро из-за скорости' */ - } else { - /* Outputs for IfAction SubSystem: '/Медленно' incorporates: + /* Outputs for IfAction SubSystem: '/Быстро из-за скорости' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant1' + * 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, rtb_LVL, &rtb_Merge_m, &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, rtb_LVL, &rtb_Merge_m, &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, rtb_LVL, &rtb_Merge_a, &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, rtb_LVL, &rtb_Merge_a, &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_ge = rtb_Merge_m; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_y_ge = (int16_t)-rtb_Merge_a; + } + + /* 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_ge + + 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: '/границы' */ + /* 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]; */ @@ -9373,23 +9347,23 @@ void HVAC_model_step(void) rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[i - 1]; - /* MATLAB Function: '/обычное понижение темп.' */ + /* MATLAB Function: '/обычное понижение темп.' */ /* : fprintf("lvl = %d\n", lvl); */ printf("lvl = %d\n", rtb_LVL); 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' + /* 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); */ @@ -9397,12 +9371,12 @@ void HVAC_model_step(void) rtb_rate = rtDW.UnitDelay_DSTATE_d5; } else { if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { - /* Switch: '/Скорость >10' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' + /* Switch: '/Скорость >10' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' */ if (rtDW.VehicleSpeed > 10) { - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: * DataStoreRead: '/Data Store Read12' */ rtb_rate = look1_is16td_binlc(rtDW.VehicleSpeed, @@ -9411,20 +9385,20 @@ void HVAC_model_step(void) rtb_rate = 0.5; } - /* End of Switch: '/Скорость >10' */ + /* End of Switch: '/Скорость >10' */ } else { - /* MATLAB Function: '/обычное понижение темп.' incorporates: - * MATLAB Function: '/границы' + /* MATLAB Function: '/обычное понижение темп.' incorporates: + * MATLAB Function: '/границы' */ i = rtb_LVL + 1; if (rtb_LVL + 1 > 32767) { i = 32767; } - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * MATLAB Function: '/обычное понижение темп.' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/обычное понижение темп.' + * UnaryMinus: '/Unary Minus' */ rtb_rate = -(double)g_aucAMBRATE_FALLING[i - 1]; } @@ -9432,35 +9406,35 @@ void HVAC_model_step(void) rtb_rate = (double)rtb_Subtract / 60000.0 * rtb_rate + rtDW.AMB_store; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Медленно' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Медленно' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read11' * DataStoreRead: '/Data Store Read12' - * MATLAB Function: '/Coolant temp threshold' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + * 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' + /* 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' + /* 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_ge = rtb_Merge_j; @@ -9468,33 +9442,33 @@ void HVAC_model_step(void) rtb_y_ge = (int16_t)-rtb_Merge_e; } - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' */ rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double)rtb_y_ge; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ } else if (rtDW.VehicleSpeed != 0) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Write new AMB' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Write new AMB' + * Switch: '/Switch' */ rtDW.AMB_store = rtb_rate; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SignalConversion generated from: '/AMB_out' incorporates: - * DataStoreWrite: '/Write new AMB' + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Write new AMB' */ - rtb_FLU_tg_correct_m = rtDW.AMB_store; + rtb_rate = rtDW.AMB_store; - /* Update for UnitDelay: '/Unit Delay' incorporates: + /* Update for UnitDelay: '/Unit Delay' incorporates: * DataStoreRead: '/Data Store Read15' */ rtDW.UnitDelay_DSTATE_c = rtDW.t_now; @@ -9507,7 +9481,7 @@ void HVAC_model_step(void) /* DataTypeConversion: '/Data Type Conversion' incorporates: * DataStoreWrite: '/Data Store Write1' */ - rtb_LVL = (int16_t)floor(rtb_FLU_tg_correct_m); + rtb_LVL = (int16_t)floor(rtb_rate); /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read16' @@ -9522,12 +9496,12 @@ 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 * rtb_Saturation_as; - rtb_y_le = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + + rtb_y_ii = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + (rtb_Subtract >> 19)); /* Saturate: '/Saturation4' incorporates: @@ -9541,17 +9515,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(rtb_Saturation_as, &rtb_RelationalOperator2_ir); + is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator2_nm); - /* 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++) { @@ -9564,9 +9538,9 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ - if (rtb_RelationalOperator2_ir && (rtb_y_le - 15 <= 13)) { + if (rtb_RelationalOperator2_nm && (rtb_y_ii - 15 <= 13)) { /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_le - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_le - 16) * 6 + + i = FLU_tg[(rtb_y_ii - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ii - 16) * 6 + rtb_Merge_j]; if (i > 32767) { i = 32767; @@ -9578,82 +9552,81 @@ void HVAC_model_step(void) } else { /* : else */ /* : y = FLU_tg(LVL + 1, SET - 16); */ - rtb_y_c23 = FLU_tg[(rtb_y_le - 17) * 6 + rtb_Merge_j]; + rtb_y_c23 = FLU_tg[(rtb_y_ii - 17) * 6 + rtb_Merge_j]; } - /* 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_y_le, rtb_Merge_j, rtb_RelationalOperator2_ir, &rtb_y_ge); + u1Incartarget(rtb_y_ii, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_ge); - /* 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_le, rtb_Merge_j, rtb_y_gm); + Y1Y4FLU_tg_incar(rtb_y_ii, rtb_Merge_j, rtb_y_fg); - /* 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_le, rtb_Merge_j, &rtb_y_j[0]); + X1X4FLU_tg_incar(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); - /* 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_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtDW.Incar_FL), - &rtb_y_j[0], rtb_y_gm, 4U); + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtDW.Incar_FL), + &rtb_y_oz[0], rtb_y_fg, 4U); - /* MATLAB Function: '/Amb_Tg ' */ + /* MATLAB Function: '/Amb_Tg ' */ Amb_Tg(rtb_Merge_j, &rtb_y_ge); - /* 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_le, rtb_Merge_j, &rtb_y_gm[0]); + Y1Y4FLU_tg_amb(rtb_y_ii, rtb_Merge_j, &rtb_y_fg[0]); - /* 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_le, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtb_LVL), - &rtb_y_j[0], &rtb_y_gm[0], 2U); - - /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: - * Gain: '/Gain2' - */ - Y1Y4FLU_tg_sun(rtb_y_le, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: - * Gain: '/Gain2' - */ - X1X4FLU_tg_sun_h(rtb_y_le, rtb_Merge_j, &rtb_y_j[0]); + X1X4FLU_tg_amb(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtb_LVL), + &rtb_y_oz[0], &rtb_y_fg[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' + */ + Y1Y4FLU_tg_sun(rtb_y_ii, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' + */ + X1X4FLU_tg_sun_h(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_FLU_tg_correct_m = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_j[0], - &rtb_y_gm[0], 2U); + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_oz[0], &rtb_y_fg[0], 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct_m += (double)((rtb_y_c23 + rtb_y_h) + rtb_y_ge); + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_c23 + rtb_y_gu) + rtb_y_ge); - /* MATLAB Function: '/FXU_tg_min' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/FXU_tg_min' incorporates: + * Gain: '/Gain2' */ - FXU_tg_min(rtb_y_le, rtb_Merge_j, &rtb_y_ge); + FXU_tg_min(rtb_y_ii, rtb_Merge_j, &rtb_y_ge); - /* 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]; @@ -9664,204 +9637,205 @@ void HVAC_model_step(void) tmp[6 * i + 5] = g_assDTG_FU_MAX_LV5[i]; } - i = ((int32_t)trunc((((double)rtb_y_le - 16.0) + 1.0) / 2.0) - 1) * 6 + + i = ((int32_t)trunc((((double)rtb_y_ii - 16.0) + 1.0) / 2.0) - 1) * 6 + rtb_Merge_j; - /* 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_FLU_tg_correct_m > 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]; - tmp[6 * i_0 + 2] = g_assDTG_FU_MAX_LV2[i_0]; - tmp[6 * i_0 + 3] = g_assDTG_FU_MAX_LV3[i_0]; - tmp[6 * i_0 + 4] = g_assDTG_FU_MAX_LV4[i_0]; - tmp[6 * i_0 + 5] = g_assDTG_FU_MAX_LV5[i_0]; + if (rtb_rate > tmp[i]) { + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 7; rtb_y_l_tmp++) { + tmp[6 * rtb_y_l_tmp] = g_assDTG_FU_MAX_LV0[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 1] = g_assDTG_FU_MAX_LV1[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 2] = g_assDTG_FU_MAX_LV2[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 3] = g_assDTG_FU_MAX_LV3[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 4] = g_assDTG_FU_MAX_LV4[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 5] = g_assDTG_FU_MAX_LV5[rtb_y_l_tmp]; } - rtb_FLU_tg_correct_m = tmp[i]; - } else if (rtb_FLU_tg_correct_m < rtb_y_ge) { - /* Switch: '/Switch' */ - rtb_FLU_tg_correct_m = rtb_y_ge; + rtb_rate = tmp[i]; + } else if (rtb_rate < rtb_y_ge) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_ge; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Tgt_ro = (int16_t)floor - (rtb_FLU_tg_correct_m); + (rtb_rate); /* Saturate: '/Saturation1' incorporates: * DataStoreRead: '/Data Store Read17' */ if (rtDW.CCU_SET_FR > 290) { - rtb_Saturation1 = 290U; + rtb_Saturation1_j = 290U; } else if (rtDW.CCU_SET_FR < 170) { - rtb_Saturation1 = 170U; + rtb_Saturation1_j = 170U; } else { - rtb_Saturation1 = rtDW.CCU_SET_FR; + rtb_Saturation1_j = rtDW.CCU_SET_FR; } /* End of Saturate: '/Saturation1' */ - /* Gain: '/Gain2' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain2' + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + * Gain: '/Gain2' */ - rtb_Subtract = 52429U * rtb_Saturation1; + rtb_Subtract = 52429U * rtb_Saturation1_j; rtb_y_c23 = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + (rtb_Subtract >> 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]; */ /* : y = all_max(LVL + 1, idivide(SET - 16 + 1, 2)); */ - 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]; - tmp[6 * i_0 + 2] = g_assDTG_FU_MAX_LV2[i_0]; - tmp[6 * i_0 + 3] = g_assDTG_FU_MAX_LV3[i_0]; - tmp[6 * i_0 + 4] = g_assDTG_FU_MAX_LV4[i_0]; - tmp[6 * i_0 + 5] = g_assDTG_FU_MAX_LV5[i_0]; + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 7; rtb_y_l_tmp++) { + tmp[6 * rtb_y_l_tmp] = g_assDTG_FU_MAX_LV0[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 1] = g_assDTG_FU_MAX_LV1[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 2] = g_assDTG_FU_MAX_LV2[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 3] = g_assDTG_FU_MAX_LV3[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 4] = g_assDTG_FU_MAX_LV4[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 5] = g_assDTG_FU_MAX_LV5[rtb_y_l_tmp]; } - rtb_y_i_tmp = ((int32_t)trunc((((double)rtb_y_c23 - 16.0) + 1.0) / 2.0) - 1) * + rtb_y_i3_tmp = ((int32_t)trunc((((double)rtb_y_c23 - 16.0) + 1.0) / 2.0) - 1) * 6 + rtb_Merge_j; - rtb_y_i = tmp[rtb_y_i_tmp]; + rtb_y_ltp = tmp[rtb_y_i3_tmp]; - /* End of MATLAB Function: '/FXU_tg_max' */ + /* End of MATLAB Function: '/FXU_tg_max' */ - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation1, &rtb_RelationalOperator2_ir); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1_j, &rtb_RelationalOperator2_nm); - /* 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++) { - FLU_tg[6 * i_0] = g_assTG_FRU_LV0[i_0]; - FLU_tg[6 * i_0 + 1] = g_assTG_FRU_LV1[i_0]; - FLU_tg[6 * i_0 + 2] = g_assTG_FRU_LV2[i_0]; - FLU_tg[6 * i_0 + 3] = g_assTG_FRU_LV3[i_0]; - FLU_tg[6 * i_0 + 4] = g_assTG_FRU_LV4[i_0]; - FLU_tg[6 * i_0 + 5] = g_assTG_FRU_LV5[i_0]; + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 13; rtb_y_l_tmp++) { + FLU_tg[6 * rtb_y_l_tmp] = g_assTG_FRU_LV0[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 1] = g_assTG_FRU_LV1[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 2] = g_assTG_FRU_LV2[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 3] = g_assTG_FRU_LV3[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 4] = g_assTG_FRU_LV4[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 5] = g_assTG_FRU_LV5[rtb_y_l_tmp]; } /* : if set_has_half && (SET - 16 + 1 <= length(FRU_tg)) */ - if (rtb_RelationalOperator2_ir && (rtb_y_c23 - 15 <= 13)) { + if (rtb_RelationalOperator2_nm && (rtb_y_c23 - 15 <= 13)) { /* : y = (FRU_tg(LVL + 1, SET - 16) + FRU_tg(LVL + 1, SET - 16 + 1)) / 2; */ - i_0 = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_c23 - 16) * - 6 + rtb_Merge_j]; - if (i_0 > 32767) { - i_0 = 32767; - } else if (i_0 < -32768) { - i_0 = -32768; + rtb_y_l_tmp = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_c23 + - 16) * 6 + rtb_Merge_j]; + if (rtb_y_l_tmp > 32767) { + rtb_y_l_tmp = 32767; + } else if (rtb_y_l_tmp < -32768) { + rtb_y_l_tmp = -32768; } - rtb_y_co = (int16_t)rt_roundd((double)i_0 / 2.0); + rtb_y_ha = (int16_t)rt_roundd((double)rtb_y_l_tmp / 2.0); } else { /* : else */ /* : y = FRU_tg(LVL + 1, SET - 16); */ - rtb_y_co = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j]; + rtb_y_ha = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j]; } - /* 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_c23, rtb_Merge_j, rtb_RelationalOperator2_ir, &rtb_y_h); + u1Incartarget_l(rtb_y_c23, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_gu); - /* 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_c23, rtb_Merge_j, rtb_y_gm); + Y1Y4FLU_tg_incar(rtb_y_c23, rtb_Merge_j, rtb_y_fg); - /* 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_c23, rtb_Merge_j, &rtb_y_j[0]); + X1X4FLU_tg_incar(rtb_y_c23, rtb_Merge_j, &rtb_y_oz[0]); - /* 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_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtDW.Incar_RL), - &rtb_y_j[0], rtb_y_gm, 4U); + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_gu - rtDW.Incar_RL), + &rtb_y_oz[0], rtb_y_fg, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_h); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_gu); - /* 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_c23, rtb_Merge_j, &rtb_y_gm[0]); + Y1Y4FLU_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_y_fg[0]); - /* 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_c23, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_y_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtb_LVL), &rtb_y_j - [0], &rtb_y_gm[0], 2U); - - /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: - * Gain: '/Gain2' - */ - Y1Y4FLU_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: - * Gain: '/Gain2' - */ - X1X4FLU_tg_sun_h(rtb_y_c23, rtb_Merge_j, &rtb_y_j[0]); + X1X4FLU_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_y_oz[0]); /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_gu - rtb_LVL), + &rtb_y_oz[0], &rtb_y_fg[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' + */ + Y1Y4FLU_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' + */ + X1X4FLU_tg_sun_h(rtb_y_c23, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_FLU_tg_correct_m = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_j[0], - &rtb_y_gm[0], 2U); + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_oz[0], &rtb_y_fg[0], 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate = (double)((rtb_y_co + rtb_y_ge) + rtb_y_h) + rtb_FLU_tg_correct_m; + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_ha + rtb_y_ge) + rtb_y_gu); - /* MATLAB Function: '/FXU_tg_min' incorporates: - * Gain: '/Gain2' + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_rate > rtb_y_ltp); + + /* MATLAB Function: '/FXU_tg_min' incorporates: + * Gain: '/Gain2' */ - FXU_tg_min(rtb_y_c23, rtb_Merge_j, &rtb_y_h); + FXU_tg_min(rtb_y_c23, rtb_Merge_j, &rtb_y_gu); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_rate > rtb_y_i) { - rtb_rate = rtb_y_i; - } else if (rtb_rate < rtb_y_h) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_h; + if (rtb_RelationalOperator2_nm) { + rtb_rate = rtb_y_ltp; + } else if (rtb_rate < rtb_y_gu) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_gu; } - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch2' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch2' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = (int16_t)floor (rtb_rate); @@ -9870,502 +9844,508 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read18' */ if (rtDW.CCU_SET_RL > 290) { - rtb_Saturation2 = 290U; + rtb_Saturation2_a = 290U; } else if (rtDW.CCU_SET_RL < 170) { - rtb_Saturation2 = 170U; + rtb_Saturation2_a = 170U; } else { - rtb_Saturation2 = rtDW.CCU_SET_RL; + rtb_Saturation2_a = rtDW.CCU_SET_RL; } /* End of Saturate: '/Saturation2' */ - /* Gain: '/Gain2' incorporates: + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + */ + rtb_Subtract = 52429U * rtb_Saturation2_a; + rtb_y_ltp = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + + (rtb_Subtract >> 19)); + + /* MATLAB Function: '/R_tg_max' incorporates: * Gain: '/Gain2' */ - rtb_Subtract = 52429U * rtb_Saturation2; - rtb_y_i = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + (rtb_Subtract - >> 19)); + R_tg_max(rtb_y_ltp, rtb_Merge_j, &rtb_y_ha); - /* MATLAB Function: '/R_tg_max' incorporates: - * Gain: '/Gain2' - */ - R_tg_max(rtb_y_i, rtb_Merge_j, &rtb_y_co); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation2_a, &rtb_RelationalOperator2_nm); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation2, &rtb_RelationalOperator2_ir); - - /* 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++) { - FLU_tg[6 * i_0] = g_assTG_RL_LV0[i_0]; - FLU_tg[6 * i_0 + 1] = g_assTG_RL_LV1[i_0]; - FLU_tg[6 * i_0 + 2] = g_assTG_RL_LV2[i_0]; - FLU_tg[6 * i_0 + 3] = g_assTG_RL_LV3[i_0]; - FLU_tg[6 * i_0 + 4] = g_assTG_RL_LV4[i_0]; - FLU_tg[6 * i_0 + 5] = g_assTG_RL_LV5[i_0]; + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 13; rtb_y_l_tmp++) { + FLU_tg[6 * rtb_y_l_tmp] = g_assTG_RL_LV0[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 1] = g_assTG_RL_LV1[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 2] = g_assTG_RL_LV2[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 3] = g_assTG_RL_LV3[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 4] = g_assTG_RL_LV4[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 5] = g_assTG_RL_LV5[rtb_y_l_tmp]; } /* : if set_has_half && (SET - 16 + 1 <= length(RL_tg)) */ - if (rtb_RelationalOperator2_ir && (rtb_y_i - 15 <= 13)) { + if (rtb_RelationalOperator2_nm && (rtb_y_ltp - 15 <= 13)) { /* : y = (RL_tg(LVL + 1, SET - 16) + RL_tg(LVL + 1, SET - 16 + 1)) / 2; */ - i_0 = FLU_tg[(rtb_y_i - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_i - 16) * 6 + - rtb_Merge_j]; - if (i_0 > 32767) { - i_0 = 32767; - } else if (i_0 < -32768) { - i_0 = -32768; + rtb_y_l_tmp = FLU_tg[(rtb_y_ltp - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ltp + - 16) * 6 + rtb_Merge_j]; + if (rtb_y_l_tmp > 32767) { + rtb_y_l_tmp = 32767; + } else if (rtb_y_l_tmp < -32768) { + rtb_y_l_tmp = -32768; } - rtb_y_jd = (int16_t)rt_roundd((double)i_0 / 2.0); + rtb_y_le = (int16_t)rt_roundd((double)rtb_y_l_tmp / 2.0); } else { /* : else */ /* : y = RL_tg(LVL + 1, SET - 16); */ - rtb_y_jd = FLU_tg[(rtb_y_i - 17) * 6 + rtb_Merge_j]; + rtb_y_le = FLU_tg[(rtb_y_ltp - 17) * 6 + rtb_Merge_j]; } - /* 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(rtb_y_i, rtb_Merge_j, rtb_RelationalOperator2_ir, &rtb_y_h); + u1Incartarget_e(rtb_y_ltp, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_gu); - /* MATLAB Function: '/Y1-Y4 для R_tg_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для R_tg_incar' incorporates: + * Gain: '/Gain2' */ - Y1Y4R_tg_incar(rtb_y_i, rtb_Merge_j, rtb_y_gm); + Y1Y4R_tg_incar(rtb_y_ltp, rtb_Merge_j, rtb_y_fg); - /* MATLAB Function: '/X1-X4 для R_tg_incar' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для R_tg_incar' incorporates: + * Gain: '/Gain2' */ - X1X4R_tg_incar(rtb_y_i, rtb_Merge_j, &rtb_y_j[0]); + X1X4R_tg_incar(rtb_y_ltp, rtb_Merge_j, &rtb_y_oz[0]); - /* 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_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtDW.Incar_FR), - &rtb_y_j[0], rtb_y_gm, 4U); + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_gu - rtDW.Incar_FR), + &rtb_y_oz[0], rtb_y_fg, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_h); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_gu); - /* MATLAB Function: '/Y1-Y4 для R_tg_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/Y1-Y4 для R_tg_amb' incorporates: + * Gain: '/Gain2' */ - Y1Y4R_tg_amb(rtb_y_i, rtb_Merge_j, &rtb_y_gm[0]); + Y1Y4R_tg_amb(rtb_y_ltp, rtb_Merge_j, &rtb_y_fg[0]); - /* MATLAB Function: '/X1-X4 для R_tg_amb' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/X1-X4 для R_tg_amb' incorporates: + * Gain: '/Gain2' */ - X1X4R_tg_amb(rtb_y_i, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_y_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtb_LVL), &rtb_y_j - [0], &rtb_y_gm[0], 2U); - - /* MATLAB Function: '/Y1-Y4 для R_tg_sun' incorporates: - * Gain: '/Gain2' - */ - Y1Y4R_tg_sun(rtb_y_i, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X4 для R_tg_sun' incorporates: - * Gain: '/Gain2' - */ - X1X4R_tg_sun(rtb_y_i, rtb_Merge_j, &rtb_y_j[0]); + X1X4R_tg_amb(rtb_y_ltp, rtb_Merge_j, &rtb_y_oz[0]); /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_gu - rtb_LVL), + &rtb_y_oz[0], &rtb_y_fg[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для R_tg_sun' incorporates: + * Gain: '/Gain2' + */ + Y1Y4R_tg_sun(rtb_y_ltp, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X4 для R_tg_sun' incorporates: + * Gain: '/Gain2' + */ + X1X4R_tg_sun(rtb_y_ltp, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_FLU_tg_correct_m = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_j[0], - &rtb_y_gm[0], 2U); + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_oz[0], &rtb_y_fg[0], 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate = (double)((rtb_y_jd + rtb_y_ge) + rtb_y_h) + rtb_FLU_tg_correct_m; + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_le + rtb_y_ge) + rtb_y_gu); - /* MATLAB Function: '/R_tg_min' incorporates: - * Gain: '/Gain2' + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_rate > rtb_y_ha); + + /* MATLAB Function: '/R_tg_min' incorporates: + * Gain: '/Gain2' */ - R_tg_min(rtb_y_i, rtb_Merge_j, &rtb_y_h); + R_tg_min(rtb_y_ltp, rtb_Merge_j, &rtb_y_gu); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_rate > rtb_y_co) { - rtb_rate = rtb_y_co; - } else if (rtb_rate < rtb_y_h) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_h; + if (rtb_RelationalOperator2_nm) { + rtb_rate = rtb_y_ha; + } else if (rtb_rate < rtb_y_gu) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_gu; } - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch2' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch2' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = (int16_t)floor (rtb_rate); - /* MATLAB Function: '/R_tg_max' */ - R_tg_max(rtb_y_i, rtb_Merge_j, &rtb_y_jd); + /* MATLAB Function: '/R_tg_max' */ + R_tg_max(rtb_y_ltp, rtb_Merge_j, &rtb_y_le); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation2, &rtb_RelationalOperator2_ir); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation2_a, &rtb_RelationalOperator2_nm); - /* 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]; - FLU_tg[6 * i_0 + 1] = g_assTG_RR_LV1[i_0]; - FLU_tg[6 * i_0 + 2] = g_assTG_RR_LV2[i_0]; - FLU_tg[6 * i_0 + 3] = g_assTG_RR_LV3[i_0]; - FLU_tg[6 * i_0 + 4] = g_assTG_RR_LV4[i_0]; - FLU_tg[6 * i_0 + 5] = g_assTG_RR_LV5[i_0]; + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 13; rtb_y_l_tmp++) { + FLU_tg[6 * rtb_y_l_tmp] = g_assTG_RR_LV0[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 1] = g_assTG_RR_LV1[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 2] = g_assTG_RR_LV2[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 3] = g_assTG_RR_LV3[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 4] = g_assTG_RR_LV4[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 5] = g_assTG_RR_LV5[rtb_y_l_tmp]; } /* : if set_has_half && (SET - 16 + 1 <= length(RL_tg)) */ - if (rtb_RelationalOperator2_ir && (rtb_y_i - 15 <= 13)) { + if (rtb_RelationalOperator2_nm && (rtb_y_ltp - 15 <= 13)) { /* : y = (RL_tg(LVL + 1, SET - 16) + RL_tg(LVL + 1, SET - 16 + 1)) / 2; */ - i_0 = FLU_tg[(rtb_y_i - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_i - 16) * 6 + - rtb_Merge_j]; - if (i_0 > 32767) { - i_0 = 32767; - } else if (i_0 < -32768) { - i_0 = -32768; + rtb_y_l_tmp = FLU_tg[(rtb_y_ltp - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ltp + - 16) * 6 + rtb_Merge_j]; + if (rtb_y_l_tmp > 32767) { + rtb_y_l_tmp = 32767; + } else if (rtb_y_l_tmp < -32768) { + rtb_y_l_tmp = -32768; } - rtb_y_gy = (int16_t)rt_roundd((double)i_0 / 2.0); + rtb_y_a = (int16_t)rt_roundd((double)rtb_y_l_tmp / 2.0); } else { /* : else */ /* : y = RL_tg(LVL + 1, SET - 16); */ - rtb_y_gy = FLU_tg[(rtb_y_i - 17) * 6 + rtb_Merge_j]; + rtb_y_a = FLU_tg[(rtb_y_ltp - 17) * 6 + rtb_Merge_j]; } - /* End of MATLAB Function: '/2.3 RR_tg' */ + /* End of MATLAB Function: '/2.3 RR_tg' */ - /* MATLAB Function: '/2.1 Incar target' */ - u1Incartarget_p(rtb_y_i, rtb_Merge_j, rtb_RelationalOperator2_ir, &rtb_y_co); + /* MATLAB Function: '/2.1 Incar target' */ + u1Incartarget_p(rtb_y_ltp, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_ha); - /* MATLAB Function: '/Y1-Y4 для R_tg_incar' */ - Y1Y4R_tg_incar(rtb_y_i, rtb_Merge_j, rtb_y_gm); + /* MATLAB Function: '/Y1-Y4 для R_tg_incar' */ + Y1Y4R_tg_incar(rtb_y_ltp, rtb_Merge_j, rtb_y_fg); - /* MATLAB Function: '/X1-X4 для R_tg_incar' */ - X1X4R_tg_incar(rtb_y_i, rtb_Merge_j, &rtb_y_j[0]); + /* MATLAB Function: '/X1-X4 для R_tg_incar' */ + X1X4R_tg_incar(rtb_y_ltp, rtb_Merge_j, &rtb_y_oz[0]); - /* 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_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_co - rtDW.Incar_RR), - &rtb_y_j[0], rtb_y_gm, 4U); + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ha - rtDW.Incar_RR), + &rtb_y_oz[0], rtb_y_fg, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_co); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_ha); - /* MATLAB Function: '/Y1-Y4 для R_tg_amb' */ - Y1Y4R_tg_amb(rtb_y_i, rtb_Merge_j, &rtb_y_gm[0]); + /* MATLAB Function: '/Y1-Y4 для R_tg_amb' */ + Y1Y4R_tg_amb(rtb_y_ltp, rtb_Merge_j, &rtb_y_fg[0]); - /* MATLAB Function: '/X1-X4 для R_tg_amb' */ - X1X4R_tg_amb(rtb_y_i, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read20' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_y_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_co - rtb_LVL), - &rtb_y_j[0], &rtb_y_gm[0], 2U); - - /* MATLAB Function: '/Y1-Y4 для R_tg_sun' */ - Y1Y4R_tg_sun(rtb_y_i, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X4 для R_tg_sun' */ - X1X4R_tg_sun(rtb_y_i, rtb_Merge_j, &rtb_y_j[0]); + /* MATLAB Function: '/X1-X4 для R_tg_amb' */ + X1X4R_tg_amb(rtb_y_ltp, rtb_Merge_j, &rtb_y_oz[0]); /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ha - rtb_LVL), + &rtb_y_oz[0], &rtb_y_fg[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для R_tg_sun' */ + Y1Y4R_tg_sun(rtb_y_ltp, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X4 для R_tg_sun' */ + X1X4R_tg_sun(rtb_y_ltp, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_FLU_tg_correct_m = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_j[0], - &rtb_y_gm[0], 2U); + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_oz[0], &rtb_y_fg[0], 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate = (double)((rtb_y_gy + rtb_y_ge) + rtb_y_h) + rtb_FLU_tg_correct_m; + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_a + rtb_y_ge) + rtb_y_gu); - /* MATLAB Function: '/R_tg_min' */ - R_tg_min(rtb_y_i, rtb_Merge_j, &rtb_y_co); + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_rate > rtb_y_le); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* MATLAB Function: '/R_tg_min' */ + R_tg_min(rtb_y_ltp, rtb_Merge_j, &rtb_y_ha); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_rate > rtb_y_jd) { - rtb_rate = rtb_y_jd; - } else if (rtb_rate < rtb_y_co) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_co; + if (rtb_RelationalOperator2_nm) { + rtb_rate = rtb_y_le; + } else if (rtb_rate < rtb_y_ha) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_ha; } - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch2' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch2' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Tgt_ro = (int16_t)floor (rtb_rate); - /* MATLAB Function: '/FLL_tg_max' */ - FLL_tg_max(rtb_y_le, rtb_Merge_j, &rtb_y_i); + /* MATLAB Function: '/FLL_tg_max' */ + FLL_tg_max(rtb_y_ii, rtb_Merge_j, &rtb_y_ltp); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator2_ir); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator2_nm); - /* 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]; - FLU_tg[6 * i_0 + 1] = g_assTG_FLL_LV1[i_0]; - FLU_tg[6 * i_0 + 2] = g_assTG_FLL_LV2[i_0]; - FLU_tg[6 * i_0 + 3] = g_assTG_FLL_LV3[i_0]; - FLU_tg[6 * i_0 + 4] = g_assTG_FLL_LV4[i_0]; - FLU_tg[6 * i_0 + 5] = g_assTG_FLL_LV5[i_0]; + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 13; rtb_y_l_tmp++) { + FLU_tg[6 * rtb_y_l_tmp] = g_assTG_FLL_LV0[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 1] = g_assTG_FLL_LV1[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 2] = g_assTG_FLL_LV2[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 3] = g_assTG_FLL_LV3[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 4] = g_assTG_FLL_LV4[rtb_y_l_tmp]; + FLU_tg[6 * rtb_y_l_tmp + 5] = g_assTG_FLL_LV5[rtb_y_l_tmp]; } /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ - if (rtb_RelationalOperator2_ir && (rtb_y_le - 15 <= 13)) { + if (rtb_RelationalOperator2_nm && (rtb_y_ii - 15 <= 13)) { /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ - i_0 = FLU_tg[(rtb_y_le - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_le - 16) * 6 - + rtb_Merge_j]; - if (i_0 > 32767) { - i_0 = 32767; - } else if (i_0 < -32768) { - i_0 = -32768; + rtb_y_l_tmp = FLU_tg[(rtb_y_ii - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ii - + 16) * 6 + rtb_Merge_j]; + if (rtb_y_l_tmp > 32767) { + rtb_y_l_tmp = 32767; + } else if (rtb_y_l_tmp < -32768) { + rtb_y_l_tmp = -32768; } - rtb_y_co = (int16_t)rt_roundd((double)i_0 / 2.0); + rtb_y_ha = (int16_t)rt_roundd((double)rtb_y_l_tmp / 2.0); } else { /* : else */ /* : y = FLU_tg(LVL + 1, SET - 16); */ - rtb_y_co = FLU_tg[(rtb_y_le - 17) * 6 + rtb_Merge_j]; + rtb_y_ha = FLU_tg[(rtb_y_ii - 17) * 6 + rtb_Merge_j]; } - /* End of MATLAB Function: '/2.3 FLL_tg' */ + /* End of MATLAB Function: '/2.3 FLL_tg' */ - /* MATLAB Function: '/2.1 Incar target' */ - u1Incartarget(rtb_y_le, rtb_Merge_j, rtb_RelationalOperator2_ir, &rtb_y_h); + /* MATLAB Function: '/2.1 Incar target' */ + u1Incartarget(rtb_y_ii, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_gu); - /* MATLAB Function: '/Y1-Y4 для FLL_tg_incar' */ - Y1Y4FLL_tg_incar(rtb_y_le, rtb_Merge_j, rtb_y_gm); + /* MATLAB Function: '/Y1-Y4 для FLL_tg_incar' */ + Y1Y4FLL_tg_incar(rtb_y_ii, rtb_Merge_j, rtb_y_fg); - /* 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]; */ /* : all_lvl_x4 = [g_assDTG_FL_INC_X4_LV0; g_assDTG_FL_INC_X4_LV1; g_assDTG_FL_INC_X4_LV2; g_assDTG_FL_INC_X4_LV3; g_assDTG_FL_INC_X4_LV4; g_assDTG_FL_INC_X4_LV5]; */ /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ - for (i_0 = 0; i_0 < 7; i_0++) { - tmp[6 * i_0] = g_assDTG_FL_INC_X1_LV0[i_0]; - tmp_3 = 6 * i_0 + 1; - tmp[tmp_3] = g_assDTG_FL_INC_X1_LV1[i_0]; - tmp_4 = 6 * i_0 + 2; - tmp[tmp_4] = g_assDTG_FL_INC_X1_LV2[i_0]; - tmp_5 = 6 * i_0 + 3; - tmp[tmp_5] = g_assDTG_FL_INC_X1_LV3[i_0]; - tmp_6 = 6 * i_0 + 4; - tmp[tmp_6] = g_assDTG_FL_INC_X1_LV4[i_0]; - rtb_y_k_tmp = 6 * i_0 + 5; - tmp[rtb_y_k_tmp] = g_assDTG_FL_INC_X1_LV5[i_0]; - tmp_0[6 * i_0] = g_assDTG_FL_INC_X2_LV0[i_0]; - tmp_0[tmp_3] = g_assDTG_FL_INC_X2_LV1[i_0]; - tmp_0[tmp_4] = g_assDTG_FL_INC_X2_LV2[i_0]; - tmp_0[tmp_5] = g_assDTG_FL_INC_X2_LV3[i_0]; - tmp_0[tmp_6] = g_assDTG_FL_INC_X2_LV4[i_0]; - tmp_0[rtb_y_k_tmp] = g_assDTG_FL_INC_X2_LV5[i_0]; - tmp_1[6 * i_0] = g_assDTG_FL_INC_X3_LV0[i_0]; - tmp_1[tmp_3] = g_assDTG_FL_INC_X3_LV1[i_0]; - tmp_1[tmp_4] = g_assDTG_FL_INC_X3_LV2[i_0]; - tmp_1[tmp_5] = g_assDTG_FL_INC_X3_LV3[i_0]; - tmp_1[tmp_6] = g_assDTG_FL_INC_X3_LV4[i_0]; - tmp_1[rtb_y_k_tmp] = g_assDTG_FL_INC_X3_LV5[i_0]; - tmp_2[6 * i_0] = g_assDTG_FL_INC_X4_LV0[i_0]; - tmp_2[tmp_3] = g_assDTG_FL_INC_X4_LV1[i_0]; - tmp_2[tmp_4] = g_assDTG_FL_INC_X4_LV2[i_0]; - tmp_2[tmp_5] = g_assDTG_FL_INC_X4_LV3[i_0]; - tmp_2[tmp_6] = g_assDTG_FL_INC_X4_LV4[i_0]; - tmp_2[rtb_y_k_tmp] = g_assDTG_FL_INC_X4_LV5[i_0]; + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 7; rtb_y_l_tmp++) { + tmp[6 * rtb_y_l_tmp] = g_assDTG_FL_INC_X1_LV0[rtb_y_l_tmp]; + tmp_4 = 6 * rtb_y_l_tmp + 1; + tmp[tmp_4] = g_assDTG_FL_INC_X1_LV1[rtb_y_l_tmp]; + tmp_5 = 6 * rtb_y_l_tmp + 2; + tmp[tmp_5] = g_assDTG_FL_INC_X1_LV2[rtb_y_l_tmp]; + tmp_6 = 6 * rtb_y_l_tmp + 3; + tmp[tmp_6] = g_assDTG_FL_INC_X1_LV3[rtb_y_l_tmp]; + tmp_7 = 6 * rtb_y_l_tmp + 4; + tmp[tmp_7] = g_assDTG_FL_INC_X1_LV4[rtb_y_l_tmp]; + tmp_8 = 6 * rtb_y_l_tmp + 5; + tmp[tmp_8] = g_assDTG_FL_INC_X1_LV5[rtb_y_l_tmp]; + tmp_0[6 * rtb_y_l_tmp] = g_assDTG_FL_INC_X2_LV0[rtb_y_l_tmp]; + tmp_0[tmp_4] = g_assDTG_FL_INC_X2_LV1[rtb_y_l_tmp]; + tmp_0[tmp_5] = g_assDTG_FL_INC_X2_LV2[rtb_y_l_tmp]; + tmp_0[tmp_6] = g_assDTG_FL_INC_X2_LV3[rtb_y_l_tmp]; + tmp_0[tmp_7] = g_assDTG_FL_INC_X2_LV4[rtb_y_l_tmp]; + tmp_0[tmp_8] = g_assDTG_FL_INC_X2_LV5[rtb_y_l_tmp]; + tmp_1[6 * rtb_y_l_tmp] = g_assDTG_FL_INC_X3_LV0[rtb_y_l_tmp]; + tmp_1[tmp_4] = g_assDTG_FL_INC_X3_LV1[rtb_y_l_tmp]; + tmp_1[tmp_5] = g_assDTG_FL_INC_X3_LV2[rtb_y_l_tmp]; + tmp_1[tmp_6] = g_assDTG_FL_INC_X3_LV3[rtb_y_l_tmp]; + tmp_1[tmp_7] = g_assDTG_FL_INC_X3_LV4[rtb_y_l_tmp]; + tmp_1[tmp_8] = g_assDTG_FL_INC_X3_LV5[rtb_y_l_tmp]; + tmp_2[6 * rtb_y_l_tmp] = g_assDTG_FL_INC_X4_LV0[rtb_y_l_tmp]; + tmp_2[tmp_4] = g_assDTG_FL_INC_X4_LV1[rtb_y_l_tmp]; + tmp_2[tmp_5] = g_assDTG_FL_INC_X4_LV2[rtb_y_l_tmp]; + tmp_2[tmp_6] = g_assDTG_FL_INC_X4_LV3[rtb_y_l_tmp]; + tmp_2[tmp_7] = g_assDTG_FL_INC_X4_LV4[rtb_y_l_tmp]; + tmp_2[tmp_8] = g_assDTG_FL_INC_X4_LV5[rtb_y_l_tmp]; } - rtb_y_fc[0] = tmp[i]; - rtb_y_fc[1] = tmp_0[i]; - rtb_y_fc[2] = 0; - rtb_y_fc[3] = tmp_1[i]; - rtb_y_fc[4] = tmp_2[i]; + rtb_y_ga[0] = tmp[i]; + rtb_y_ga[1] = tmp_0[i]; + rtb_y_ga[2] = 0; + rtb_y_ga[3] = tmp_1[i]; + rtb_y_ga[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_fc[0], rtb_y_fc[1], 0, rtb_y_fc[3], - rtb_y_fc[4]); + printf("y = [%d, %d, %d, %d, %d]\n", rtb_y_ga[0], rtb_y_ga[1], 0, rtb_y_ga[3], + rtb_y_ga[4]); fflush(stdout); - /* MATLAB Function: '/убираем одинаковые точки' */ - u_n(rtb_y_fc, &rtb_Saturation_k[0]); + /* MATLAB Function: '/убираем одинаковые точки' */ + u_n(rtb_y_ga, &rtb_Saturation_k[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_y_ge = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_h - rtDW.Incar_FL), - &rtb_Saturation_k[0], rtb_y_gm, 4U); + rtb_y_ge = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_gu - rtDW.Incar_FL), + &rtb_Saturation_k[0], rtb_y_fg, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_h); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_gu); - /* MATLAB Function: '/Y1-Y4 для FLL_tg_amb' */ - Y1Y4FLL_tg_amb(rtb_y_le, rtb_Merge_j, &rtb_y_gm[0]); + /* MATLAB Function: '/Y1-Y4 для FLL_tg_amb' */ + Y1Y4FLL_tg_amb(rtb_y_ii, rtb_Merge_j, &rtb_y_fg[0]); - /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ - X1X4FLL_tg_amb(rtb_y_le, rtb_Merge_j, &rtb_y_j[0]); + /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ + X1X4FLL_tg_amb(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); - /* 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_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtb_LVL), &rtb_y_j - [0], &rtb_y_gm[0], 2U); + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_gu - rtb_LVL), + &rtb_y_oz[0], &rtb_y_fg[0], 2U); - /* MATLAB Function: '/Y1-Y4 для FLL_tg_sun' */ - Y1Y4FLL_tg_sun(rtb_y_le, rtb_Merge_j, &rtb_y_gm[0]); + /* MATLAB Function: '/Y1-Y4 для FLL_tg_sun' */ + Y1Y4FLL_tg_sun(rtb_y_ii, rtb_Merge_j, &rtb_y_fg[0]); - /* MATLAB Function: '/X1-X4 для FLU_tg_sun' */ - X1X4FLU_tg_sun(rtb_y_le, rtb_Merge_j, &rtb_y_j[0]); + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' */ + X1X4FLU_tg_sun(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_FLU_tg_correct_m = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_j[0], - &rtb_y_gm[0], 2U); + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_oz[0], &rtb_y_fg[0], 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct_m += (double)((rtb_y_co + rtb_y_ge) + rtb_y_h); + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_ha + rtb_y_ge) + rtb_y_gu); - /* MATLAB Function: '/FLL_tg_min' */ - FLL_tg_min(rtb_y_le, rtb_Merge_j, &rtb_y_h); + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_rate > rtb_y_ltp); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator2_ir); + /* MATLAB Function: '/FLL_tg_min' */ + FLL_tg_min(rtb_y_ii, rtb_Merge_j, &rtb_y_gu); - /* MATLAB Function: '/correction rate' */ + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_rate = rtb_y_ltp; + } else if (rtb_rate < rtb_y_gu) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_gu; + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator2_nm); + + /* 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_le, rtb_Merge_j, &rtb_y_jd); + correctionrate(rtb_y_ii, rtb_Merge_j, &rtb_y_le); - /* 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; - /* 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++) { - tmp[6 * i_0] = g_assCORRECT_DUCT_TIME_FL_LV0[i_0]; - tmp[6 * i_0 + 1] = g_assCORRECT_DUCT_TIME_FL_LV1[i_0]; - tmp[6 * i_0 + 2] = g_assCORRECT_DUCT_TIME_FL_LV2[i_0]; - tmp[6 * i_0 + 3] = g_assCORRECT_DUCT_TIME_FL_LV3[i_0]; - tmp[6 * i_0 + 4] = g_assCORRECT_DUCT_TIME_FL_LV4[i_0]; - tmp[6 * i_0 + 5] = g_assCORRECT_DUCT_TIME_FL_LV5[i_0]; + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 7; rtb_y_l_tmp++) { + tmp[6 * rtb_y_l_tmp] = g_assCORRECT_DUCT_TIME_FL_LV0[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 1] = g_assCORRECT_DUCT_TIME_FL_LV1[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 2] = g_assCORRECT_DUCT_TIME_FL_LV2[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 3] = g_assCORRECT_DUCT_TIME_FL_LV3[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 4] = g_assCORRECT_DUCT_TIME_FL_LV4[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 5] = g_assCORRECT_DUCT_TIME_FL_LV5[rtb_y_l_tmp]; } - /* 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' + /* RelationalOperator: '/Relational Operator' incorporates: + * Gain: '/из сек в мс' + * MATLAB Function: '/correction_start_time' */ - if (((int64_t)rtb_Subtract >= 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_jd; + rtb_RelationalOperator2_nm = ((int64_t)rtb_Subtract >= tmp[i] * 1000); - /* 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]; - tmp[6 * i_0 + 2] = g_assCORRECT_DUCT_MAX_LV2[i_0]; - tmp[6 * i_0 + 3] = g_assCORRECT_DUCT_MAX_LV3[i_0]; - tmp[6 * i_0 + 4] = g_assCORRECT_DUCT_MAX_LV4[i_0]; - tmp[6 * i_0 + 5] = g_assCORRECT_DUCT_MAX_LV5[i_0]; + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Logic: '/ After start control system works X sec' + * UnitDelay: '/Unit Delay' + */ + if (rtb_RelationalOperator2_nm && (rtDW.UnitDelay_DSTATE_l0 != 0)) { + /* Product: '/Product' incorporates: + * Constant: '/Constant1' + * Product: '/Divide' + */ + rtb_Divide3 = (double)rtb_Subtract / 10000.0 * (double)rtb_y_le; + + /* MATLAB Function: '/correction max' */ + for (rtb_y_l_tmp = 0; rtb_y_l_tmp < 7; rtb_y_l_tmp++) { + tmp[6 * rtb_y_l_tmp] = g_assCORRECT_DUCT_MAX_LV0[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 1] = g_assCORRECT_DUCT_MAX_LV1[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 2] = g_assCORRECT_DUCT_MAX_LV2[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 3] = g_assCORRECT_DUCT_MAX_LV3[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 4] = g_assCORRECT_DUCT_MAX_LV4[rtb_y_l_tmp]; + tmp[6 * rtb_y_l_tmp + 5] = g_assCORRECT_DUCT_MAX_LV5[rtb_y_l_tmp]; } - /* 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_y_ge = (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_y_ge) { - rtb_rate = rtb_y_ge; - } else if (rtb_rate < 0.0) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + if (rtb_Divide3 > rtb_y_ge) { + rtb_Divide3 = rtb_y_ge; + } else if (rtb_Divide3 < 0.0) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' */ - rtb_rate = 0.0; + rtb_Divide3 = 0.0; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } else { - rtb_rate = 0.0; + rtb_Divide3 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' - */ - if (rtb_FLU_tg_correct_m > rtb_y_i) { - rtb_FLU_tg_correct_m = rtb_y_i; - } else if (rtb_FLU_tg_correct_m < rtb_y_h) { - /* Switch: '/Switch' */ - rtb_FLU_tg_correct_m = rtb_y_h; - } - - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' * DataTypeConversion: '/Data Type Conversion' * Sum: '/Add' - * Switch: '/Switch2' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = (int16_t)floor - (rtb_FLU_tg_correct_m - floor(rtb_rate)); + (rtb_rate - floor(rtb_Divide3)); - /* MATLAB Function: '/FRL_tg_max' */ - FLL_tg_max(rtb_y_c23, rtb_Merge_j, &rtb_y_le); + /* MATLAB Function: '/FRL_tg_max' */ + FLL_tg_max(rtb_y_c23, rtb_Merge_j, &rtb_y_ii); - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation1, &rtb_RelationalOperator2_ir); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1_j, &rtb_RelationalOperator2_nm); - /* MATLAB Function: '/2.3 FRL_tg' */ + /* 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]; @@ -10377,7 +10357,7 @@ void HVAC_model_step(void) } /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ - if (rtb_RelationalOperator2_ir && (rtb_y_c23 - 15 <= 13)) { + if (rtb_RelationalOperator2_nm && (rtb_y_c23 - 15 <= 13)) { /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ i = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_c23 - 16) * 6 + rtb_Merge_j]; @@ -10387,22 +10367,22 @@ void HVAC_model_step(void) i = -32768; } - rtb_y_co = (int16_t)rt_roundd((double)i / 2.0); + rtb_y_ha = (int16_t)rt_roundd((double)i / 2.0); } else { /* : else */ /* : y = FLU_tg(LVL + 1, SET - 16); */ - rtb_y_co = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j]; + rtb_y_ha = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j]; } - /* 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_c23, rtb_Merge_j, rtb_RelationalOperator2_ir, &rtb_y_i); + /* MATLAB Function: '/2.1 Incar target' */ + u1Incartarget(rtb_y_c23, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_ltp); - /* MATLAB Function: '/Y1-Y4 для FRL_tg_incar' */ - Y1Y4FLL_tg_incar(rtb_y_c23, rtb_Merge_j, rtb_y_gm); + /* MATLAB Function: '/Y1-Y4 для FRL_tg_incar' */ + Y1Y4FLL_tg_incar(rtb_y_c23, rtb_Merge_j, rtb_y_fg); - /* 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]; */ @@ -10410,114 +10390,117 @@ void HVAC_model_step(void) /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ for (i = 0; i < 7; i++) { tmp[6 * i] = g_assDTG_FL_INC_X1_LV0[i]; - i_0 = 6 * i + 1; - tmp[i_0] = g_assDTG_FL_INC_X1_LV1[i]; - tmp_3 = 6 * i + 2; - tmp[tmp_3] = g_assDTG_FL_INC_X1_LV2[i]; - tmp_4 = 6 * i + 3; - tmp[tmp_4] = g_assDTG_FL_INC_X1_LV3[i]; - tmp_5 = 6 * i + 4; - tmp[tmp_5] = g_assDTG_FL_INC_X1_LV4[i]; - tmp_6 = 6 * i + 5; - tmp[tmp_6] = g_assDTG_FL_INC_X1_LV5[i]; + rtb_y_l_tmp = 6 * i + 1; + tmp[rtb_y_l_tmp] = g_assDTG_FL_INC_X1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assDTG_FL_INC_X1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assDTG_FL_INC_X1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assDTG_FL_INC_X1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assDTG_FL_INC_X1_LV5[i]; tmp_0[6 * i] = g_assDTG_FL_INC_X2_LV0[i]; - tmp_0[i_0] = g_assDTG_FL_INC_X2_LV1[i]; - tmp_0[tmp_3] = g_assDTG_FL_INC_X2_LV2[i]; - tmp_0[tmp_4] = g_assDTG_FL_INC_X2_LV3[i]; - tmp_0[tmp_5] = g_assDTG_FL_INC_X2_LV4[i]; - tmp_0[tmp_6] = g_assDTG_FL_INC_X2_LV5[i]; + tmp_0[rtb_y_l_tmp] = g_assDTG_FL_INC_X2_LV1[i]; + tmp_0[tmp_4] = g_assDTG_FL_INC_X2_LV2[i]; + tmp_0[tmp_5] = g_assDTG_FL_INC_X2_LV3[i]; + tmp_0[tmp_6] = g_assDTG_FL_INC_X2_LV4[i]; + tmp_0[tmp_7] = g_assDTG_FL_INC_X2_LV5[i]; tmp_1[6 * i] = g_assDTG_FL_INC_X3_LV0[i]; - tmp_1[i_0] = g_assDTG_FL_INC_X3_LV1[i]; - tmp_1[tmp_3] = g_assDTG_FL_INC_X3_LV2[i]; - tmp_1[tmp_4] = g_assDTG_FL_INC_X3_LV3[i]; - tmp_1[tmp_5] = g_assDTG_FL_INC_X3_LV4[i]; - tmp_1[tmp_6] = g_assDTG_FL_INC_X3_LV5[i]; + tmp_1[rtb_y_l_tmp] = g_assDTG_FL_INC_X3_LV1[i]; + tmp_1[tmp_4] = g_assDTG_FL_INC_X3_LV2[i]; + tmp_1[tmp_5] = g_assDTG_FL_INC_X3_LV3[i]; + tmp_1[tmp_6] = g_assDTG_FL_INC_X3_LV4[i]; + tmp_1[tmp_7] = g_assDTG_FL_INC_X3_LV5[i]; tmp_2[6 * i] = g_assDTG_FL_INC_X4_LV0[i]; - tmp_2[i_0] = g_assDTG_FL_INC_X4_LV1[i]; - tmp_2[tmp_3] = g_assDTG_FL_INC_X4_LV2[i]; - tmp_2[tmp_4] = g_assDTG_FL_INC_X4_LV3[i]; - tmp_2[tmp_5] = g_assDTG_FL_INC_X4_LV4[i]; - tmp_2[tmp_6] = g_assDTG_FL_INC_X4_LV5[i]; + tmp_2[rtb_y_l_tmp] = g_assDTG_FL_INC_X4_LV1[i]; + tmp_2[tmp_4] = g_assDTG_FL_INC_X4_LV2[i]; + tmp_2[tmp_5] = g_assDTG_FL_INC_X4_LV3[i]; + tmp_2[tmp_6] = g_assDTG_FL_INC_X4_LV4[i]; + tmp_2[tmp_7] = g_assDTG_FL_INC_X4_LV5[i]; } - rtb_y_fc[0] = tmp[rtb_y_i_tmp]; - rtb_y_fc[1] = tmp_0[rtb_y_i_tmp]; - rtb_y_fc[2] = 0; - rtb_y_fc[3] = tmp_1[rtb_y_i_tmp]; - rtb_y_fc[4] = tmp_2[rtb_y_i_tmp]; + rtb_y_ga[0] = tmp[rtb_y_i3_tmp]; + rtb_y_ga[1] = tmp_0[rtb_y_i3_tmp]; + rtb_y_ga[2] = 0; + rtb_y_ga[3] = tmp_1[rtb_y_i3_tmp]; + rtb_y_ga[4] = tmp_2[rtb_y_i3_tmp]; - /* MATLAB Function: '/убираем одинаковые точки' */ - u_n(rtb_y_fc, &rtb_Saturation_k[0]); + /* MATLAB Function: '/убираем одинаковые точки' */ + u_n(rtb_y_ga, &rtb_Saturation_k[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_y_ge = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_i - rtDW.Incar_FR), - &rtb_Saturation_k[0], rtb_y_gm, 4U); + rtb_y_ge = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_ltp - rtDW.Incar_FR), + &rtb_Saturation_k[0], rtb_y_fg, 4U); - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_i); + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_ltp); - /* MATLAB Function: '/Y1-Y4 для FRL_tg_amb' */ - Y1Y4FLL_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_y_gm[0]); + /* MATLAB Function: '/Y1-Y4 для FRL_tg_amb' */ + Y1Y4FLL_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_y_fg[0]); - /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ - X1X4FLL_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_y_j[0]); + /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ + X1X4FLL_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_y_oz[0]); - /* 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_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_i - rtb_LVL), &rtb_y_j - [0], &rtb_y_gm[0], 2U); + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ltp - rtb_LVL), + &rtb_y_oz[0], &rtb_y_fg[0], 2U); - /* MATLAB Function: '/Y1-Y4 для FRL_tg_sun' */ - Y1Y4FLL_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_y_gm[0]); + /* MATLAB Function: '/Y1-Y4 для FRL_tg_sun' */ + Y1Y4FLL_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_y_fg[0]); - /* MATLAB Function: '/X1-X4 для FRL_tg_sun' */ - X1X4FLU_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_y_j[0]); + /* MATLAB Function: '/X1-X4 для FRL_tg_sun' */ + X1X4FLU_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_y_oz[0]); - /* 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_j[0], &rtb_y_gm[0], 2U); + rtb_Divide3 = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_oz[0], &rtb_y_fg[0], + 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_rate += (double)((rtb_y_co + rtb_y_ge) + rtb_y_h); + /* Sum: '/FLU_tg_correct' */ + rtb_Divide3 += (double)((rtb_y_ha + rtb_y_ge) + rtb_y_gu); - /* MATLAB Function: '/FRL_tg_min' */ - FLL_tg_min(rtb_y_c23, rtb_Merge_j, &rtb_y_i); + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_Divide3 > rtb_y_ii); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* MATLAB Function: '/FRL_tg_min' */ + FLL_tg_min(rtb_y_c23, rtb_Merge_j, &rtb_y_ltp); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_rate > rtb_y_le) { - rtb_rate = rtb_y_le; - } else if (rtb_rate < rtb_y_i) { - /* Switch: '/Switch' */ - rtb_rate = rtb_y_i; + if (rtb_RelationalOperator2_nm) { + rtb_Divide3 = rtb_y_ii; + } else if (rtb_Divide3 < rtb_y_ltp) { + /* Switch: '/Switch' */ + rtb_Divide3 = rtb_y_ltp; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation1, &rtb_RelationalOperator2_ir); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1_j, &rtb_RelationalOperator2_nm); - /* 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_c23, rtb_Merge_j, &rtb_y_le); + correctionrate(rtb_y_c23, rtb_Merge_j, &rtb_y_ii); - /* 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_g; - /* 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++) { @@ -10529,23 +10512,23 @@ void HVAC_model_step(void) tmp[6 * i + 5] = g_assCORRECT_DUCT_TIME_FR_LV5[i]; } - /* 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' + /* 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_i_tmp] * 1000) && + if (((int64_t)rtb_Subtract >= tmp[rtb_y_i3_tmp] * 1000) && (rtDW.UnitDelay_DSTATE_cc != 0)) { - /* Product: '/Product' incorporates: - * Constant: '/Constant1' - * Product: '/Divide' + /* Product: '/Product' incorporates: + * Constant: '/Constant1' + * Product: '/Divide' */ - rtb_FLU_tg_correct_m = (double)rtb_Subtract / 10000.0 * (double)rtb_y_le; + rtb_rate = (double)rtb_Subtract / 10000.0 * (double)rtb_y_ii; - /* 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]; @@ -10555,43 +10538,39 @@ 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_y_i_tmp] * 13107; + i = tmp[rtb_y_i3_tmp] * 13107; rtb_y_ge = (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_FLU_tg_correct_m > rtb_y_ge) { - rtb_FLU_tg_correct_m = rtb_y_ge; - } else if (rtb_FLU_tg_correct_m < 0.0) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + if (rtb_rate > rtb_y_ge) { + rtb_rate = rtb_y_ge; + } else if (rtb_rate < 0.0) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' */ - rtb_FLU_tg_correct_m = 0.0; + rtb_rate = 0.0; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } else { - rtb_FLU_tg_correct_m = 0.0; + rtb_rate = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Sum: '/Add1' + /* Sum: '/Add1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Tgt_ro = (int16_t)floor - (rtb_rate - floor(rtb_FLU_tg_correct_m)); + rtb_rate = rtb_Divide3 - floor(rtb_rate); /* BusCreator: '/Bus Creator' incorporates: * DataStoreRead: '/Data Store Read10' @@ -10625,150 +10604,36 @@ void HVAC_model_step(void) Status_Sensor_Model.Duct_Side_RR = 0; Status_Sensor_Model.AQS = 0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare = (rtb_rate < 0.1); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_mk = (rtb_rate > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator2_ir = (rtb_Compare || rtb_Compare_mk); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1 = (rtb_RelationalOperator2_ir && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_gq >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtb_LogicalOperator1) { - rtDW.Eva_F = -100; - } else { - rtDW.Eva_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Evap_Temp, - rtConstP.pooled54, rtConstP.pooled8, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[12] = rtb_LogicalOperator1; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[13] = rtb_Compare; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[12] = rtb_Compare_mk; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[13] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1) { - /* : if(EvapFErr) */ - /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n',Sensor_Evap_Temp); */ - printf("CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n", - rtb_rate); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Eva_F = %d * 0.1 C\n',Eva_F); */ - printf("Eva_F = %d * 0.1 C\n", rtDW.Eva_F); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write Eva_F' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_RelationalOperator2_ir && (!rtDW.Cond_prev_private_DSTATE)) { - rtDW.t_start_delay_private_DSTATE_gq = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: * Constant: '/Constant' * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / 4095.0 * 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_mk = (rtb_rate < 0.1); + rtb_Compare = (rtb_Divide1 < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ho = (rtb_rate > 4.9); + rtb_Compare_mk = (rtb_Divide1 > 4.9); /* Logic: '/Logical Operator' */ - rtb_Compare = (rtb_Compare_mk || rtb_Compare_ho); + rtb_FailCond = (rtb_Compare || rtb_Compare_mk); /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator1_dv = (rtb_Compare && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_c >= 3000U)); + rtb_LogicalOperator1 = (rtb_FailCond && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_gq >= 3000U)); /* Switch: '/Switch' incorporates: * Constant: '/Constant2' @@ -10776,53 +10641,52 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write1' * Lookup_n-D: '/1-D Lookup Table' */ - if (rtb_LogicalOperator1_dv) { - rtDW.Eva_R = -100; + if (rtb_LogicalOperator1) { + rtDW.Eva_F = -100; } else { - rtDW.Eva_R = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled54, - rtConstP.pooled8, 1023U); + rtDW.Eva_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Evap_Temp, + rtConstP.pooled56, rtConstP.pooled8, 1023U); } /* 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_dv; + rtDW.dtc_state_error_model[12] = rtb_LogicalOperator1; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_LogicalOperator1_dv) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_LogicalOperator1) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[15] = rtb_Compare_mk; + rtDW.dtc_state_error_model[13] = 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[14] = rtb_Compare_ho; + rtDW.dtc_state_error_model[12] = rtb_Compare_mk; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ - rtDW.dtc_state_error_model[15] = 0U; + rtDW.dtc_state_error_model[13] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ /* MATLAB Function: '/Write ERROR' incorporates: * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_dv) { - /* : if(EvapRErr) */ - /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n',Sensor_Rear_Evap_Temp); */ - printf("CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n", - rtb_rate); + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1) { + /* : if(EvapFErr) */ + /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n',Sensor_Evap_Temp); */ + printf("CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n", + rtb_Divide1); fflush(stdout); } @@ -10834,104 +10698,219 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Eva_R = %d * 0.1 C\n',Eva_R); */ - printf("Eva_R = %d * 0.1 C\n", rtDW.Eva_R); + /* : fprintf('Eva_F = %d * 0.1 C\n',Eva_F); */ + printf("Eva_F = %d * 0.1 C\n", rtDW.Eva_F); fflush(stdout); } /* 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 && (!rtDW.Cond_prev_private_DSTATE)) { + rtDW.t_start_delay_private_DSTATE_gq = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_mk = (rtb_Divide1 < 0.1); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_ho = (rtb_Divide1 > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_Compare = (rtb_Compare_mk || rtb_Compare_ho); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator1_dv = (rtb_Compare && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_c >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table' + */ + if (rtb_LogicalOperator1_dv) { + rtDW.Eva_R = -100; + } else { + rtDW.Eva_R = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled56, + rtConstP.pooled8, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_dv; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator1_dv) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[15] = rtb_Compare_mk; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[14] = rtb_Compare_ho; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[15] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_dv) { + /* : if(EvapRErr) */ + /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n',Sensor_Rear_Evap_Temp); */ + printf("CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n", + rtb_Divide1); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR' */ + + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Eva_R = %d * 0.1 C\n',Eva_R); */ + printf("Eva_R = %d * 0.1 C\n", rtDW.Eva_R); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write Eva_F' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare && (!rtDW.Cond_prev_private_DSTATE_p)) { rtDW.t_start_delay_private_DSTATE_c = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ho = (rtb_rate < 0.1); + rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ - rtb_Compare_it = (rtb_rate > 4.9); + rtb_Compare_ho = (rtb_Divide1 < 0.1); - /* Logic: '/Logical Operator' */ + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_it = (rtb_Divide1 > 4.9); + + /* Logic: '/Logical Operator' */ rtb_Compare_mk = (rtb_Compare_ho || rtb_Compare_it); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1_n = (rtb_Compare_mk && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_h >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table' + * DataStoreWrite: '/Data Store Write' + * Lookup_n-D: '/1-D Lookup Table' */ if (rtb_LogicalOperator1_n) { rtDW.Pressure = 32; } else { rtDW.Pressure = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled54, + (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled56, 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_n; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1_n) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[50] = rtb_Compare_ho; - /* 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_it; } 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) { @@ -10940,67 +10919,67 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_n) { /* : if(AC_PressureErr) */ /* : fprintf('CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n',Sensor_AC_Pressure); */ printf("CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n", - rtb_rate); + rtb_Divide1); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_mk && (!rtDW.Cond_prev_private_DSTATE_a)) { rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide4' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' + /* Product: '/Divide4' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide1' + * Product: '/Divide1' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; + 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_Compare_gh = (rtb_rate < 0.15); + rtb_Compare_gh = (rtb_Divide1 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_j4 = (rtb_rate > 4.9); + rtb_Compare_j4 = (rtb_Divide1 > 4.9); - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_Compare_ho = (rtb_Compare_gh || rtb_Compare_j4); - /* 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_ho && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_m >= 3000U)); - /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: + /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: * DataStoreRead: '/Data Store Read1' */ rtb_urear[0] = rtDW.ADC_Data_Model.Sensor_Front_Duct1; @@ -11010,294 +10989,265 @@ void HVAC_model_step(void) rtb_urear[4] = rtDW.ADC_Data_Model.Sensor_Front_Duct5; rtb_urear[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_y_j[i] = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_urear[i], - rtConstP.pooled48, rtConstP.pooled47, 1023U); + rtb_y_oz[i] = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_urear[i], + rtConstP.pooled50, rtConstP.pooled49, 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_c23 = 230; + rtb_y_gu = 230; } else { - rtb_y_c23 = rtb_y_j[1]; + rtb_y_gu = rtb_y_oz[1]; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + * Product: '/Divide2' */ - rtb_FLU_tg_correct_m = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 - * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ne = (rtb_FLU_tg_correct_m < 0.15); + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ - rtb_Compare_e = (rtb_FLU_tg_correct_m > 4.9); + rtb_Compare_ne = (rtb_Divide3 < 0.15); - /* Logic: '/Logical Operator2' */ + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_e = (rtb_Divide3 > 4.9); + + /* Logic: '/Logical Operator2' */ rtb_Compare_it = (rtb_Compare_ne || rtb_Compare_e); - /* 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_it && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_k >= 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_le = 230; + rtb_y_c23 = 230; } else { - rtb_y_le = rtb_y_j[0]; + rtb_y_c23 = rtb_y_oz[0]; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Product: '/Divide6' incorporates: - * Constant: '/Constant7' - * Constant: '/Constant8' + /* Product: '/Divide6' incorporates: + * Constant: '/Constant7' + * Constant: '/Constant8' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide5' + * Product: '/Divide5' */ rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_gg = (rtb_Divide6 < 0.15); - /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ + rtb_Compare_gg = (rtb_Divide6 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ rtb_Compare_m4 = (rtb_Divide6 > 4.9); - /* Logic: '/Logical Operator5' */ + /* Logic: '/Logical Operator5' */ rtb_FailCond_n = (rtb_Compare_gg || rtb_Compare_m4); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator6 = (rtb_FailCond_n && (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_i = 230; + rtb_y_ii = 230; } else { - rtb_y_i = rtb_y_j[2]; + rtb_y_ii = rtb_y_oz[2]; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Product: '/Divide8' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' + /* Product: '/Divide8' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide7' + * Product: '/Divide7' */ rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_lus = (rtb_Divide8 < 0.15); - /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ + rtb_Compare_lus = (rtb_Divide8 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ rtb_Compare_e1 = (rtb_Divide8 > 4.9); - /* Logic: '/Logical Operator7' */ + /* Logic: '/Logical Operator7' */ rtb_FailCond_b = (rtb_Compare_lus || rtb_Compare_e1); - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator8 = (rtb_FailCond_b && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_hb >= 3000U)); - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant12' - * DataStoreWrite: '/Data Store Write4' + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant12' + * DataStoreWrite: '/Data Store Write4' */ if (rtb_LogicalOperator8) { - rtb_y_co = 230; + rtb_y_ltp = 230; } else { - rtb_y_co = rtb_y_j[3]; + rtb_y_ltp = rtb_y_oz[3]; } - /* End of Switch: '/Switch4' */ + /* End of Switch: '/Switch4' */ - /* Product: '/Divide10' incorporates: - * Constant: '/Constant13' - * Constant: '/Constant14' + /* Product: '/Divide10' incorporates: + * Constant: '/Constant13' + * Constant: '/Constant14' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide9' + * Product: '/Divide9' */ rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_bp = (rtb_Divide10 < 0.15); - /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ + rtb_Compare_bp = (rtb_Divide10 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ rtb_Compare_bt = (rtb_Divide10 > 4.9); - /* Logic: '/Logical Operator9' */ + /* Logic: '/Logical Operator9' */ rtb_FailCond_kk = (rtb_Compare_bp || rtb_Compare_bt); - /* Logic: '/Logical Operator10' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator10' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator10 = (rtb_FailCond_kk && (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_jd = 230; + rtb_y_ha = 230; } else { - rtb_y_jd = rtb_y_j[4]; + rtb_y_ha = rtb_y_oz[4]; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* Product: '/Divide11' incorporates: - * Constant: '/Constant16' - * Constant: '/Constant17' + /* Product: '/Divide11' incorporates: + * Constant: '/Constant16' + * Constant: '/Constant17' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide12' + * Product: '/Divide12' */ rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_p = (rtb_Divide11 < 0.15); - /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ + rtb_Compare_p = (rtb_Divide11 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ rtb_Compare_eo = (rtb_Divide11 > 4.9); - /* Logic: '/Logical Operator12' */ + /* Logic: '/Logical Operator12' */ rtb_FailCond_fj = (rtb_Compare_p || rtb_Compare_eo); - /* Logic: '/Logical Operator11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator11 = (rtb_FailCond_fj && (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_gy = 230; + rtb_y_le = 230; } else { - rtb_y_gy = rtb_y_j[5]; + rtb_y_le = rtb_y_oz[5]; } - /* End of Switch: '/Switch6' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[17] = rtb_LogicalOperator3_cz; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator3_cz) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[18] = rtb_Compare_ne; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[17] = rtb_Compare_e; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[18] = 0U; - } - - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch6' */ /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[19] = rtb_LogicalOperator4_fo; + rtDW.dtc_state_error_model[17] = rtb_LogicalOperator3_cz; /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (rtb_LogicalOperator4_fo) { + if (rtb_LogicalOperator3_cz) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[20] = rtb_Compare_gh; + rtDW.dtc_state_error_model[18] = rtb_Compare_ne; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[19] = rtb_Compare_j4; + rtDW.dtc_state_error_model[17] = rtb_Compare_e; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[20] = 0U; + rtDW.dtc_state_error_model[18] = 0U; } /* End of Switch: '/Switch' */ @@ -11305,27 +11255,27 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[21] = rtb_LogicalOperator6; + rtDW.dtc_state_error_model[19] = rtb_LogicalOperator4_fo; /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (rtb_LogicalOperator6) { + if (rtb_LogicalOperator4_fo) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[22] = rtb_Compare_gg; + rtDW.dtc_state_error_model[20] = rtb_Compare_gh; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[21] = rtb_Compare_m4; + rtDW.dtc_state_error_model[19] = rtb_Compare_j4; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[22] = 0U; + rtDW.dtc_state_error_model[20] = 0U; } /* End of Switch: '/Switch' */ @@ -11333,27 +11283,27 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[23] = rtb_LogicalOperator8; + rtDW.dtc_state_error_model[21] = rtb_LogicalOperator6; /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (rtb_LogicalOperator8) { + if (rtb_LogicalOperator6) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[24] = rtb_Compare_lus; + rtDW.dtc_state_error_model[22] = rtb_Compare_gg; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[23] = rtb_Compare_e1; + rtDW.dtc_state_error_model[21] = rtb_Compare_m4; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[24] = 0U; + rtDW.dtc_state_error_model[22] = 0U; } /* End of Switch: '/Switch' */ @@ -11361,27 +11311,27 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[25] = rtb_LogicalOperator10; + rtDW.dtc_state_error_model[23] = rtb_LogicalOperator8; /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (rtb_LogicalOperator10) { + if (rtb_LogicalOperator8) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[26] = rtb_Compare_bp; + rtDW.dtc_state_error_model[24] = rtb_Compare_lus; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[25] = rtb_Compare_bt; + rtDW.dtc_state_error_model[23] = rtb_Compare_e1; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[26] = 0U; + rtDW.dtc_state_error_model[24] = 0U; } /* End of Switch: '/Switch' */ @@ -11389,139 +11339,167 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[27] = rtb_LogicalOperator11; + rtDW.dtc_state_error_model[25] = rtb_LogicalOperator10; /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (rtb_LogicalOperator11) { + if (rtb_LogicalOperator10) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[28] = rtb_Compare_p; + rtDW.dtc_state_error_model[26] = rtb_Compare_bp; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[27] = rtb_Compare_eo; + rtDW.dtc_state_error_model[25] = rtb_Compare_bt; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[28] = 0U; + rtDW.dtc_state_error_model[26] = 0U; } /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* 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' + */ + if (rtb_LogicalOperator11) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[28] = rtb_Compare_p; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[27] = rtb_Compare_eo; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[28] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * 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_le); + printf("Duct1_F = %d * 0.1 C\n", rtb_y_c23); 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_c23); + printf("Duct2_F = %d * 0.1 C\n", rtb_y_gu); 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_i); + printf("Duct3_F = %d * 0.1 C\n", rtb_y_ii); 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_co); + printf("Duct4_F = %d * 0.1 C\n", rtb_y_ltp); 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_jd); + printf("Duct5_F = %d * 0.1 C\n", rtb_y_ha); 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_gy); + printf("Duct6_F = %d * 0.1 C\n", rtb_y_le); fflush(stdout); } - /* End of MATLAB Function: '/Write 6' */ + /* End of MATLAB Function: '/Write 6' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_cz) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct1_F = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct1_F = %f V\n", - rtb_FLU_tg_correct_m); + rtb_Divide3); 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(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", - rtb_rate); + rtb_Divide1); 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) { @@ -11532,10 +11510,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* MATLAB Function: '/Write ERROR4' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Write ERROR4' incorporates: + * DataStoreRead: '/Data Store Read4' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator8) { @@ -11546,10 +11524,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR4' */ + /* End of MATLAB Function: '/Write ERROR4' */ - /* MATLAB Function: '/Write ERROR5' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/Write ERROR5' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator10) { @@ -11560,10 +11538,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR5' */ + /* End of MATLAB Function: '/Write ERROR5' */ - /* MATLAB Function: '/Write ERROR6' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR6' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator11) { @@ -11574,20 +11552,7 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR6' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_it && (!rtDW.Cond_prev_private_DSTATE_h)) { - rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ + /* End of MATLAB Function: '/Write ERROR6' */ /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read4' @@ -11596,8 +11561,8 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_ho && (!rtDW.Cond_prev_private_DSTATE_c)) { - rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; + if (rtb_Compare_it && (!rtDW.Cond_prev_private_DSTATE_h)) { + rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; } /* End of Switch: '/Switch' */ @@ -11609,8 +11574,8 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_FailCond_n && (!rtDW.Cond_prev_private_DSTATE_m)) { - rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; + if (rtb_Compare_ho && (!rtDW.Cond_prev_private_DSTATE_c)) { + rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; } /* End of Switch: '/Switch' */ @@ -11622,8 +11587,8 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_FailCond_b && (!rtDW.Cond_prev_private_DSTATE_j)) { - rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; + if (rtb_FailCond_n && (!rtDW.Cond_prev_private_DSTATE_m)) { + rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; } /* End of Switch: '/Switch' */ @@ -11635,8 +11600,8 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_FailCond_kk && (!rtDW.Cond_prev_private_DSTATE_f)) { - rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; + if (rtb_FailCond_b && (!rtDW.Cond_prev_private_DSTATE_j)) { + rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; } /* End of Switch: '/Switch' */ @@ -11648,257 +11613,241 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_FailCond_fj && (!rtDW.Cond_prev_private_DSTATE_cn)) { - rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; + if (rtb_FailCond_kk && (!rtDW.Cond_prev_private_DSTATE_f)) { + rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; } /* End of Switch: '/Switch' */ - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; + if (rtb_FailCond_fj && (!rtDW.Cond_prev_private_DSTATE_cn)) { + rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; + } - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* End of Switch: '/Switch' */ + + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide4' */ - rtb_Compare_gg = (rtb_rate < 0.15); + rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ - rtb_Compare_m4 = (rtb_rate > 4.9); + rtb_Compare_gg = (rtb_Divide1 < 0.15); - /* Logic: '/Logical Operator5' */ + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_m4 = (rtb_Divide1 > 4.9); + + /* Logic: '/Logical Operator5' */ rtb_Compare_gh = (rtb_Compare_gg || rtb_Compare_m4); - /* 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_Compare_gh && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant8' + /* 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' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (rtb_Compare_bp) { - Duct1_R = 230; + rtb_y_a = 230; } else { - Duct1_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled48, - rtConstP.pooled47, 1023U); + rtb_y_a = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled50, + rtConstP.pooled49, 1023U); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' + * Product: '/Divide6' */ - rtb_FLU_tg_correct_m = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * - 5.0; + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_lus = (rtb_FLU_tg_correct_m < 0.15); + rtb_Compare_lus = (rtb_Divide3 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_e1 = (rtb_FLU_tg_correct_m > 4.9); + rtb_Compare_e1 = (rtb_Divide3 > 4.9); - /* Logic: '/Logical Operator7' */ + /* Logic: '/Logical Operator7' */ rtb_Compare_j4 = (rtb_Compare_lus || rtb_Compare_e1); - /* 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_j4 && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_o >= 3000U)); - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant11' + /* 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' + * DataStoreWrite: '/Data Store Write2' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (rtb_Compare_bt) { Duct2_R = 230; } else { Duct2_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled48, - rtConstP.pooled47, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled50, + rtConstP.pooled49, 1023U); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_mt = (rtb_Divide6 < 0.15); - /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ + rtb_Compare_mt = (rtb_Divide6 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ rtb_Compare_fr = (rtb_Divide6 > 4.9); - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_Compare_ne = (rtb_Compare_mt || rtb_Compare_fr); - /* 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_ne && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oj >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + /* 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' + * DataStoreWrite: '/Data Store Write3' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (rtb_Compare_p) { Duct3_R = 230; } else { Duct3_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled48, - rtConstP.pooled47, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled50, + rtConstP.pooled49, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + * Product: '/Divide2' */ rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Equal2_p = (rtb_Divide8 < 0.15); - /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ + rtb_RelationalOperator2_nm = (rtb_Divide8 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ rtb_Compare_gq = (rtb_Divide8 > 4.9); - /* Logic: '/Logical Operator2' */ - rtb_Compare_e = (rtb_Equal2_p || rtb_Compare_gq); + /* Logic: '/Logical Operator2' */ + rtb_Compare_e = (rtb_RelationalOperator2_nm || rtb_Compare_gq); - /* 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_e && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oy >= 3000U)); - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' + /* 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' + * DataStoreWrite: '/Data Store Write4' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (rtb_Compare_eo) { Duct4_R = 230; } else { Duct4_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled48, - rtConstP.pooled47, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled50, + rtConstP.pooled49, 1023U); } - /* End of Switch: '/Switch1' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[29] = rtb_Compare_p; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_p) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[30] = rtb_Compare_mt; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[29] = rtb_Compare_fr; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[30] = 0U; - } - - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch1' */ /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[31] = rtb_Compare_eo; + rtDW.dtc_state_error_model[29] = rtb_Compare_p; /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (rtb_Compare_eo) { + if (rtb_Compare_p) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[32] = rtb_Equal2_p; + rtDW.dtc_state_error_model[30] = rtb_Compare_mt; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[31] = rtb_Compare_gq; + rtDW.dtc_state_error_model[29] = rtb_Compare_fr; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[32] = 0U; + rtDW.dtc_state_error_model[30] = 0U; } /* End of Switch: '/Switch' */ @@ -11906,27 +11855,27 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[33] = rtb_Compare_bp; + rtDW.dtc_state_error_model[31] = rtb_Compare_eo; /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (rtb_Compare_bp) { + if (rtb_Compare_eo) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[34] = rtb_Compare_gg; + rtDW.dtc_state_error_model[32] = rtb_RelationalOperator2_nm; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[33] = rtb_Compare_m4; + rtDW.dtc_state_error_model[31] = rtb_Compare_gq; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[34] = 0U; + rtDW.dtc_state_error_model[32] = 0U; } /* End of Switch: '/Switch' */ @@ -11934,35 +11883,63 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[35] = rtb_Compare_bt; + rtDW.dtc_state_error_model[33] = rtb_Compare_bp; /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (rtb_Compare_bt) { + if (rtb_Compare_bp) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[36] = rtb_Compare_lus; + rtDW.dtc_state_error_model[34] = rtb_Compare_gg; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[35] = rtb_Compare_e1; + rtDW.dtc_state_error_model[33] = rtb_Compare_m4; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[36] = 0U; + rtDW.dtc_state_error_model[34] = 0U; } /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ' incorporates: + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[35] = rtb_Compare_bt; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_Compare_bt) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[36] = rtb_Compare_lus; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[35] = rtb_Compare_e1; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[36] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ' incorporates: * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -11976,12 +11953,12 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ' */ + /* End of MATLAB Function: '/Write ' */ - /* MATLAB Function: '/Write 1' incorporates: + /* MATLAB Function: '/Write 1' incorporates: * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -11995,12 +11972,12 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: + /* MATLAB Function: '/Write 2' incorporates: * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -12010,16 +11987,16 @@ void HVAC_model_step(void) rtb_Saturation_as = 32767U; } - printf("Duct3_R = %d * 0.1 C %d V\n", Duct1_R, (int16_t)rtb_Saturation_as); + printf("Duct3_R = %d * 0.1 C %d V\n", rtb_y_a, (int16_t)rtb_Saturation_as); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: + /* MATLAB Function: '/Write 3' incorporates: * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write2' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -12033,10 +12010,10 @@ void HVAC_model_step(void) 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) { @@ -12047,10 +12024,10 @@ 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) { @@ -12061,48 +12038,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_bp) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct3_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct3_R = %f V\n", - rtb_rate); + rtb_Divide1); 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(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct4_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct4_R = %f V\n", - rtb_FLU_tg_correct_m); + rtb_Divide3); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_ne && (!rtDW.Cond_prev_private_DSTATE_l)) { - rtDW.t_start_delay_private_DSTATE_oj = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ + /* End of MATLAB Function: '/Write ERROR3' */ /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read4' @@ -12111,8 +12075,8 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_e && (!rtDW.Cond_prev_private_DSTATE_ja)) { - rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; + if (rtb_Compare_ne && (!rtDW.Cond_prev_private_DSTATE_l)) { + rtDW.t_start_delay_private_DSTATE_oj = rtDW.t_now; } /* End of Switch: '/Switch' */ @@ -12124,8 +12088,8 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_gh && (!rtDW.Cond_prev_private_DSTATE_g)) { - rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; + if (rtb_Compare_e && (!rtDW.Cond_prev_private_DSTATE_ja)) { + rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; } /* End of Switch: '/Switch' */ @@ -12137,242 +12101,24 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_j4 && (!rtDW.Cond_prev_private_DSTATE_cd)) { - rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; + if (rtb_Compare_gh && (!rtDW.Cond_prev_private_DSTATE_g)) { + rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; } /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_lus = (rtb_rate < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_e1 = (rtb_rate > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_gg = (rtb_Compare_lus || rtb_Compare_e1); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_mt = (rtb_Compare_gg && (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 Table' - */ - if (rtb_Compare_mt) { - rtDW.Incar_FL = 200; - } else { - rtDW.Incar_FL = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled54, - rtConstP.pooled9, 1023U); + if (rtb_Compare_j4 && (!rtDW.Cond_prev_private_DSTATE_cd)) { + rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; } - /* End of Switch: '/Switch' */ - - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' - */ - rtb_FLU_tg_correct_m = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL / - 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Equal2_p = (rtb_FLU_tg_correct_m < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_gq = (rtb_FLU_tg_correct_m > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_m4 = (rtb_Equal2_p || rtb_Compare_gq); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_fr = (rtb_Compare_m4 && (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_fr) { - rtDW.Incar_RL = 200; - } else { - rtDW.Incar_RL = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled54, - rtConstP.pooled9, 1023U); - } - - /* End of Switch: '/Switch1' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[2] = rtb_Compare_mt; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_mt) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[3] = rtb_Compare_lus; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[2] = rtb_Compare_e1; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[3] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[6] = rtb_Compare_fr; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_fr) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[7] = rtb_Equal2_p; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[6] = rtb_Compare_gq; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[7] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_mt) { - /* : 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_rate); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_fr) { - /* : 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_FLU_tg_correct_m); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR1' */ - - /* MATLAB Function: '/Write IncarFL' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - /* : 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); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write IncarFL' */ - - /* MATLAB Function: '/Write IncarRL' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - */ - /* : 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); - fflush(stdout); - } - - /* 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 ' - */ - if (rtb_Compare_gg && (!rtDW.Cond_prev_private_DSTATE_e)) { - rtDW.t_start_delay_private_DSTATE_go = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_m4 && (!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' @@ -12380,42 +12126,42 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / 4095.0 * 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Equal2_p = (rtb_rate < 0.15); + rtb_Compare_lus = (rtb_Divide1 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_gq = (rtb_rate > 4.9); + rtb_Compare_e1 = (rtb_Divide1 > 4.9); /* Logic: '/Logical Operator' */ - rtb_Compare_lus = (rtb_Equal2_p || rtb_Compare_gq); + rtb_Compare_gg = (rtb_Compare_lus || rtb_Compare_e1); /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator1_l = (rtb_Compare_lus && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_kw >= 3000U)); + rtb_Compare_mt = (rtb_Compare_gg && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_go >= 3000U)); /* Switch: '/Switch' incorporates: * Constant: '/Constant2' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' + * DataStoreWrite: '/Data Store Write' + * Lookup_n-D: '/1-D Lookup Table2' */ - if (rtb_LogicalOperator1_l) { - rtDW.Incar_FR = 200; + if (rtb_Compare_mt) { + rtDW.Incar_FL = 200; } else { - rtDW.Incar_FR = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled54, + rtDW.Incar_FL = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled56, rtConstP.pooled9, 1023U); } @@ -12427,113 +12173,112 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide2' */ - rtb_FLU_tg_correct_m = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / - 4095.0 * 5.0; + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_b0m = (rtb_FLU_tg_correct_m < 0.15); + rtb_RelationalOperator2_nm = (rtb_Divide3 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_em = (rtb_FLU_tg_correct_m > 4.9); + rtb_Compare_gq = (rtb_Divide3 > 4.9); /* Logic: '/Logical Operator2' */ - rtb_Compare_e1 = (rtb_Compare_b0m || rtb_Compare_em); + rtb_Compare_m4 = (rtb_RelationalOperator2_nm || rtb_Compare_gq); /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator3_p0 = (rtb_Compare_e1 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_gd >= 3000U)); + rtb_Compare_fr = (rtb_Compare_m4 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_j >= 3000U)); /* Switch: '/Switch1' incorporates: * Constant: '/Constant5' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write1' * Lookup_n-D: '/1-D Lookup Table1' */ - if (rtb_LogicalOperator3_p0) { - rtDW.Incar_RR = 200; + if (rtb_Compare_fr) { + rtDW.Incar_RL = 200; } else { - rtDW.Incar_RR = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled54, + rtDW.Incar_RL = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled56, rtConstP.pooled9, 1023U); } /* 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[4] = rtb_LogicalOperator1_l; + rtDW.dtc_state_error_model[2] = rtb_Compare_mt; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_LogicalOperator1_l) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_mt) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[5] = rtb_Equal2_p; + rtDW.dtc_state_error_model[3] = rtb_Compare_lus; - /* 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_gq; + rtDW.dtc_state_error_model[2] = rtb_Compare_e1; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ - rtDW.dtc_state_error_model[5] = 0U; + 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[8] = rtb_LogicalOperator3_p0; + rtDW.dtc_state_error_model[6] = rtb_Compare_fr; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_LogicalOperator3_p0) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_fr) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[9] = rtb_Compare_b0m; + rtDW.dtc_state_error_model[7] = rtb_RelationalOperator2_nm; - /* 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_em; + rtDW.dtc_state_error_model[6] = rtb_Compare_gq; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ - rtDW.dtc_state_error_model[9] = 0U; + rtDW.dtc_state_error_model[7] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ /* MATLAB Function: '/Write ERROR' incorporates: * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_l) { - /* : 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_rate); + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_mt) { + /* : 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); fflush(stdout); } @@ -12543,32 +12288,262 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_p0) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_fr) { /* : 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_FLU_tg_correct_m); + /* : 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_Divide3); fflush(stdout); } /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write IncarFR' incorporates: + /* MATLAB Function: '/Write IncarFL' incorporates: * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + /* : 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); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write IncarFL' */ + + /* MATLAB Function: '/Write IncarRL' incorporates: + * DataStoreRead: '/Data Store Read1' * DataStoreWrite: '/Data Store Write1' */ /* : 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); + fflush(stdout); + } + + /* 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 ' + */ + if (rtb_Compare_gg && (!rtDW.Cond_prev_private_DSTATE_e)) { + rtDW.t_start_delay_private_DSTATE_go = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_m4 && (!rtDW.Cond_prev_private_DSTATE_mv)) { + rtDW.t_start_delay_private_DSTATE_j = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_RelationalOperator2_nm = (rtb_Divide1 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_gq = (rtb_Divide1 > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_Compare_lus = (rtb_RelationalOperator2_nm || rtb_Compare_gq); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator1_ci = (rtb_Compare_lus && (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_LogicalOperator1_ci) { + rtDW.Incar_FR = 200; + } else { + rtDW.Incar_FR = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled56, + rtConstP.pooled9, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' + */ + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_b0m = (rtb_Divide3 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_em = (rtb_Divide3 > 4.9); + + /* Logic: '/Logical Operator2' */ + rtb_Compare_e1 = (rtb_Compare_b0m || rtb_Compare_em); + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator3_p0 = (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_LogicalOperator3_p0) { + rtDW.Incar_RR = 200; + } else { + rtDW.Incar_RR = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled56, + rtConstP.pooled9, 1023U); + } + + /* End of Switch: '/Switch1' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[4] = rtb_LogicalOperator1_ci; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator1_ci) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[5] = rtb_RelationalOperator2_nm; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[4] = rtb_Compare_gq; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[5] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[8] = rtb_LogicalOperator3_p0; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator3_p0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[9] = rtb_Compare_b0m; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[8] = rtb_Compare_em; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[9] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_ci) { + /* : 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); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR' */ + + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_p0) { + /* : 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_Divide3); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR1' */ + + /* MATLAB Function: '/Write IncarFR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + */ + /* : 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); 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' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -12577,23 +12552,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarRR' */ + /* End of MATLAB Function: '/Write IncarRR' */ - /* Logic: '/Logical Operator4' */ - rtb_Equal2_p = (rtb_LogicalOperator1_l || rtb_LogicalOperator3_p0); - - /* 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_lus && (!rtDW.Cond_prev_private_DSTATE_jl)) { - rtDW.t_start_delay_private_DSTATE_kw = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ + /* Logic: '/Logical Operator4' */ + rtb_RelationalOperator2_nm = (rtb_LogicalOperator1_ci || + rtb_LogicalOperator3_p0); /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read4' @@ -12602,50 +12565,37 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ + if (rtb_Compare_lus && (!rtDW.Cond_prev_private_DSTATE_jl)) { + rtDW.t_start_delay_private_DSTATE_kw = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ if (rtb_Compare_e1 && (!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' */ rtDW.LOGGER_ACP = 0.0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / - 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n',U,I); */ - printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", rtb_rate, - rtb_rate / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: * Constant: '/Constant' * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: @@ -12657,9 +12607,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n',U,I); */ - printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", rtb_rate, - rtb_rate / 1200.0 * 550.0); + /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n',U,I); */ + printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12671,8 +12621,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / 4095.0 * - 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / + 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -12683,9 +12633,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_rate, - rtb_rate / 1200.0 * 550.0); + /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n',U,I); */ + printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12697,8 +12647,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / 4095.0 * - 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / + 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -12709,9 +12659,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_rate, - rtb_rate / 1200.0 * 550.0); + /* : fprintf('BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12723,8 +12673,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / 4095.0 * - 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / + 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -12735,9 +12685,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_rate, rtb_rate - / 1200.0 * 550.0); + /* : fprintf('BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12749,8 +12699,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / 4095.0 * - 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / + 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -12761,9 +12711,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_rate, rtb_rate / - 1200.0 * 550.0); + /* : fprintf('BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12775,8 +12725,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / - 4095.0 * 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / 4095.0 + * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -12787,9 +12737,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_rate, - rtb_rate / 1200.0 * 550.0); + /* : fprintf('BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12801,8 +12751,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / 4095.0 - * 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / + 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -12813,9 +12763,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", rtb_rate, - rtb_rate / 1200.0 * 550.0); + /* : fprintf('BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12827,8 +12777,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / 4095.0 * - 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / + 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -12839,9 +12789,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", rtb_rate, - rtb_rate / 1200.0 * 550.0); + /* : fprintf('BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12853,7 +12803,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 * 5.0; + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / + 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -12864,27 +12815,35 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_rate, rtb_rate / - 1200.0 * 550.0); + /* : fprintf('BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: + /* Product: '/Divide1' incorporates: * Constant: '/Constant' * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * Product: '/Divide' - * Product: '/Divide1' + */ + rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 * + 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('IGN_ANS = %f V\n',data); */ - printf("IGN_ANS = %f V\n", (double)rtDW.ADC_Data_Model.IGN_ANS / 4095.0 * - 27.75); + /* : fprintf('BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_Divide1, + rtb_Divide1 / 1200.0 * 550.0); fflush(stdout); } @@ -12900,9 +12859,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('PBATT_CHECK V = %f\n',U); */ - printf("PBATT_CHECK V = %f\n", (double)rtDW.ADC_Data_Model.PBATT_CHECK / - 4095.0 * 33.4375); + /* : fprintf('IGN_ANS = %f V\n',data); */ + printf("IGN_ANS = %f V\n", (double)rtDW.ADC_Data_Model.IGN_ANS / 4095.0 * + 27.75); fflush(stdout); } @@ -12918,9 +12877,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Pressure_DIAG V = %f\n',U); */ - printf("Pressure_DIAG V = %f\n", (double)rtDW.ADC_Data_Model.Pressure_DIAG / - 4095.0 * 6.0638); + /* : fprintf('PBATT_CHECK V = %f\n',U); */ + printf("PBATT_CHECK V = %f\n", (double)rtDW.ADC_Data_Model.PBATT_CHECK / + 4095.0 * 33.4375); fflush(stdout); } @@ -12936,9 +12895,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Reserve_Sensor_Duct_Temp_1 V = %f\n',U); */ - printf("Reserve_Sensor_Duct_Temp_1 V = %f\n", (double) - rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_1 / 4095.0 * 5.0); + /* : fprintf('Pressure_DIAG V = %f\n',U); */ + printf("Pressure_DIAG V = %f\n", (double)rtDW.ADC_Data_Model.Pressure_DIAG / + 4095.0 * 6.0638); fflush(stdout); } @@ -12953,6 +12912,24 @@ void HVAC_model_step(void) * Product: '/Divide1' */ /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Reserve_Sensor_Duct_Temp_1 V = %f\n',U); */ + printf("Reserve_Sensor_Duct_Temp_1 V = %f\n", (double) + rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_1 / 4095.0 * 5.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' + */ + /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Reserve_Sensor_Duct_Temp_2 V = %f\n',U); */ printf("Reserve_Sensor_Duct_Temp_2 V = %f\n", (double) @@ -12960,25 +12937,7 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Sensor_Front_Duct5 V = %f\n',U); */ - printf("Sensor_Front_Duct5 V = %f\n", (double) - rtDW.ADC_Data_Model.Sensor_Rear_Duct5 / 4095.0 * 5.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant' @@ -12990,9 +12949,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Sensor_Front_Duct V = %f\n',U); */ - printf("Sensor_Front_Duct V = %f\n", (double) - rtDW.ADC_Data_Model.Sensor_Rear_Duct6 / 4095.0 * 5.0); + /* : fprintf('Sensor_Front_Duct5 V = %f\n',U); */ + printf("Sensor_Front_Duct5 V = %f\n", (double) + rtDW.ADC_Data_Model.Sensor_Rear_Duct5 / 4095.0 * 5.0); fflush(stdout); } @@ -13008,10 +12967,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n',U); */ - printf("VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n", (double) - rtDW.ADC_Data_Model.VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB / - 4095.0 * 17.5); + /* : fprintf('Sensor_Front_Duct V = %f\n',U); */ + printf("Sensor_Front_Duct V = %f\n", (double) + rtDW.ADC_Data_Model.Sensor_Rear_Duct6 / 4095.0 * 5.0); fflush(stdout); } @@ -13027,36 +12985,29 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('VN7008AJ_DIAG_RearLINActuatorPowerDriverC V = %f\n',U); */ - printf("VN7008AJ_DIAG_RearLINActuatorPowerDriverC V = %f\n", (double) - rtDW.ADC_Data_Model.VN7008AJ_DIAG_RearLINActuatorPowerDriverC / + /* : fprintf('VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n',U); */ + printf("VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n", (double) + rtDW.ADC_Data_Model.VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB / 4095.0 * 17.5); fflush(stdout); } /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: + /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant' * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_rate = (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' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n',U,I); */ - printf("VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n", rtb_rate, - rtb_rate / 2490.0 * 5890.0); + /* : fprintf('VN7008AJ_DIAG_RearLINActuatorPowerDriverC V = %f\n',U); */ + printf("VN7008AJ_DIAG_RearLINActuatorPowerDriverC V = %f\n", (double) + rtDW.ADC_Data_Model.VN7008AJ_DIAG_RearLINActuatorPowerDriverC / + 4095.0 * 17.5); fflush(stdout); } @@ -13068,8 +13019,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.VN7008AJ_RearLINActuatorPowerDriverC / - 4095.0 * 5.0; + rtb_Divide1 = (double) + rtDW.ADC_Data_Model.VN7008AJ_FrontLINActuatorPowerDriverAB / 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -13080,14 +13031,40 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n',U,I); */ - printf("VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n", rtb_rate, - rtb_rate / 2490.0 * 5890.0); + /* : fprintf('VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n',U,I); */ + printf("VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n", + rtb_Divide1, rtb_Divide1 / 2490.0 * 5890.0); fflush(stdout); } /* End of MATLAB Function: '/Write' */ + /* 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' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n',U,I); */ + printf("VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n", + rtb_Divide1, rtb_Divide1 / 2490.0 * 5890.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* MATLAB Function: '/Write' incorporates: * DataStoreRead: '/Data Store Read2' * DataStoreRead: '/Data Store Read3' @@ -13159,20 +13136,20 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' * DataTypeConversion: '/Data Type Conversion' * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * Logic: '/Logical Operator13' - * Logic: '/Logical Operator4' + * 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' */ CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_Compare_mt || rtb_Compare_fr); - CCU_Errors_Model.CCU_IncarTempErrR_Stat = rtb_Equal2_p; + CCU_Errors_Model.CCU_IncarTempErrR_Stat = rtb_RelationalOperator2_nm; CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = (uint8_t)(rtb_LogicalOperator3_cz || rtb_LogicalOperator4_fo || rtb_LogicalOperator6 || rtb_LogicalOperator8 || rtb_LogicalOperator10 || rtb_LogicalOperator11); @@ -13198,607 +13175,9 @@ void HVAC_model_step(void) CCU_Errors_Model.CCU_IonizationErr_Stat = 0U; CCU_Errors_Model.CCU_AromaErr_Stat = 0U; - /* Saturate: '/Saturation5' incorporates: - * DataStoreRead: '/Data Store Read30' - */ - if (rtDW.CCU_SET_FL > 290) { - rtb_Saturation_as = 290U; - } else if (rtDW.CCU_SET_FL < 170) { - rtb_Saturation_as = 170U; - } else { - rtb_Saturation_as = rtDW.CCU_SET_FL; - } - - /* End of Saturate: '/Saturation5' */ - - /* Gain: '/Gain2' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain2' - */ - rtb_Subtract = 52429U * rtb_Saturation_as; - rtb_y_ktj = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + - (rtb_Subtract >> 19)); - - /* Saturate: '/Saturation9' incorporates: - * DataStoreRead: '/Data Store Read42' - */ - if (rtDW.LEVEL <= 5) { - rtb_Merge_j = rtDW.LEVEL; - } else { - rtb_Merge_j = 5U; - } - - /* End of Saturate: '/Saturation9' */ - - /* MATLAB Function: '/Vtg_RX_plus_max' incorporates: - * Gain: '/Gain2' - */ - Vtg_RX_plus_max(rtb_y_ktj, rtb_Merge_j, &rtb_y_kj); - - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation_as, &rtb_Equal2_p); - - /* MATLAB Function: '/2.3 Vtg_RL' incorporates: - * Gain: '/Gain2' - */ - /* : 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]; - FLU_tg[6 * i + 1] = g_assVTG_RL_LV1[i]; - FLU_tg[6 * i + 2] = g_assVTG_RL_LV2[i]; - FLU_tg[6 * i + 3] = g_assVTG_RL_LV3[i]; - FLU_tg[6 * i + 4] = g_assVTG_RL_LV4[i]; - FLU_tg[6 * i + 5] = g_assVTG_RL_LV5[i]; - } - - /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_RLU)) */ - if (rtb_Equal2_p && (rtb_y_ktj - 15 <= 13)) { - /* : y = (Vtg_RLU(LVL + 1, SET - 16) + Vtg_RLU(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_ktj - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ktj - 16) * 6 - + rtb_Merge_j]; - if (i > 32767) { - i = 32767; - } else if (i < -32768) { - i = -32768; - } - - rtb_y_im = (int16_t)rt_roundd((double)i / 2.0); - } else { - /* : else */ - /* : y = Vtg_RLU(LVL + 1, SET - 16); */ - rtb_y_im = FLU_tg[(rtb_y_ktj - 17) * 6 + rtb_Merge_j]; - } - - /* End of MATLAB Function: '/2.3 Vtg_RL' */ - - /* MATLAB Function: '/2.1 Incar target Left' incorporates: - * Gain: '/Gain2' - */ - u1Incartarget_e(rtb_y_ktj, rtb_Merge_j, rtb_Equal2_p, &rtb_y_h); - - /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' incorporates: - * Gain: '/Gain2' - */ - Y1Y4Vtg_FX_incar_b(rtb_y_ktj, rtb_Merge_j, rtb_y_gm); - - /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' incorporates: - * Gain: '/Gain2' - */ - X1X4Vtg_FX_incar_c(rtb_y_ktj, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read37' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' - */ - rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtDW.Incar_RL), - &rtb_y_j[0], rtb_y_gm, 4U); - - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_h); - - /* MATLAB Function: '/Y1-Y2 для Vtg_RL_amb' incorporates: - * Gain: '/Gain2' - */ - Y1Y2Vtg_RL_amb(rtb_y_ktj, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X2 для Vtg_RL_amb' incorporates: - * Gain: '/Gain2' - * MATLAB Function: '/correction_start_time' - * MATLAB Function: '/X1-X2 для Vtg_FL_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))]; */ - for (i = 0; i < 7; i++) { - tmp[6 * i] = g_assVR_AMB_X1_LV0[i]; - i_0 = 6 * i + 1; - tmp[i_0] = g_assVR_AMB_X1_LV1[i]; - tmp_3 = 6 * i + 2; - tmp[tmp_3] = g_assVR_AMB_X1_LV2[i]; - tmp_4 = 6 * i + 3; - tmp[tmp_4] = g_assVR_AMB_X1_LV3[i]; - tmp_5 = 6 * i + 4; - tmp[tmp_5] = g_assVR_AMB_X1_LV4[i]; - tmp_6 = 6 * i + 5; - tmp[tmp_6] = g_assVR_AMB_X1_LV5[i]; - tmp_0[6 * i] = g_assVR_AMB_X2_LV0[i]; - tmp_0[i_0] = g_assVR_AMB_X2_LV1[i]; - tmp_0[tmp_3] = g_assVR_AMB_X2_LV2[i]; - tmp_0[tmp_4] = g_assVR_AMB_X2_LV3[i]; - tmp_0[tmp_5] = g_assVR_AMB_X2_LV4[i]; - tmp_0[tmp_6] = g_assVR_AMB_X2_LV5[i]; - } - - rtb_y_i_tmp = ((int32_t)trunc((((double)rtb_y_ktj - 16.0) + 1.0) / 2.0) - 1) * - 6 + rtb_Merge_j; - rtb_y_pk[0] = tmp[rtb_y_i_tmp]; - rtb_y_pk[1] = 0; - rtb_y_pk[2] = tmp_0[rtb_y_i_tmp]; - - /* End of MATLAB Function: '/X1-X2 для Vtg_RL_amb' */ - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read34' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_y_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtb_LVL), rtb_y_pk, - &rtb_y_gm[0], 2U); - - /* MATLAB Function: '/Y1-Y2 для Vtg_RX_sun' incorporates: - * Gain: '/Gain2' - */ - Y1Y2Vtg_RX_sun(rtb_y_ktj, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X2 для Vtg_FX_sun' incorporates: - * Gain: '/Gain2' - */ - X1X2Vtg_FX_sun_j(rtb_y_ktj, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read39' - */ - rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_j[0], &rtb_y_gm[0], 2U); - - /* RelationalOperator: '/LowerRelop1' incorporates: - * Sum: '/2.8. Vtg_FX_plus' - */ - rtb_Equal2_p = ((double)((rtb_y_im + rtb_y_ge) + rtb_y_h) + rtb_rate > - rtb_y_kj); - - /* MATLAB Function: '/Vtg_RX_plus_min' incorporates: - * Gain: '/Gain2' - */ - Vtg_RX_plus_min(rtb_y_ktj, rtb_Merge_j, &rtb_y_h); - - /* Saturate: '/Saturation6' incorporates: - * DataStoreRead: '/Data Store Read31' - */ - if (rtDW.CCU_SET_FR > 290) { - rtb_Saturation1 = 290U; - } else if (rtDW.CCU_SET_FR < 170) { - rtb_Saturation1 = 170U; - } else { - rtb_Saturation1 = rtDW.CCU_SET_FR; - } - - /* End of Saturate: '/Saturation6' */ - - /* Gain: '/Gain2' incorporates: - * Gain: '/Gain2' - * Gain: '/Gain2' - */ - rtb_Subtract = 52429U * rtb_Saturation1; - rtb_y_im = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + - (rtb_Subtract >> 19)); - - /* MATLAB Function: '/Vtg_RX_plus_max' incorporates: - * Gain: '/Gain2' - */ - Vtg_RX_plus_max(rtb_y_im, rtb_Merge_j, &rtb_y_p); - - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation1, &rtb_Equal2_p); - - /* MATLAB Function: '/2.3 Vtg_RR' incorporates: - * Gain: '/Gain2' - */ - /* : 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]; - FLU_tg[6 * i + 1] = g_assVTG_RR_LV1[i]; - FLU_tg[6 * i + 2] = g_assVTG_RR_LV2[i]; - FLU_tg[6 * i + 3] = g_assVTG_RR_LV3[i]; - FLU_tg[6 * i + 4] = g_assVTG_RR_LV4[i]; - FLU_tg[6 * i + 5] = g_assVTG_RR_LV5[i]; - } - - /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_RR)) */ - if (rtb_Equal2_p && (rtb_y_im - 15 <= 13)) { - /* : y = (Vtg_RR(LVL + 1, SET - 16) + Vtg_RR(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_im - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_im - 16) * 6 + - rtb_Merge_j]; - if (i > 32767) { - i = 32767; - } else if (i < -32768) { - i = -32768; - } - - rtb_y_mr = (int16_t)rt_roundd((double)i / 2.0); - } else { - /* : else */ - /* : y = Vtg_RR(LVL + 1, SET - 16); */ - rtb_y_mr = FLU_tg[(rtb_y_im - 17) * 6 + rtb_Merge_j]; - } - - /* End of MATLAB Function: '/2.3 Vtg_RR' */ - - /* MATLAB Function: '/2.1 Incar target Rear Right' incorporates: - * Gain: '/Gain2' - */ - u1Incartarget_p(rtb_y_im, rtb_Merge_j, rtb_Equal2_p, &rtb_y_kj); - - /* MATLAB Function: '/Y1-Y4 для Vtg_RX_incar' incorporates: - * Gain: '/Gain2' - */ - Y1Y4Vtg_FX_incar_b(rtb_y_im, rtb_Merge_j, &rtb_y_j[0]); - - /* MATLAB Function: '/X1-X4 для Vtg_RX_incar' incorporates: - * Gain: '/Gain2' - */ - X1X4Vtg_FX_incar_c(rtb_y_im, rtb_Merge_j, rtb_y_gm); - - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read38' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' - */ - rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_kj - rtDW.Incar_RR), - rtb_y_gm, &rtb_y_j[0], 4U); - - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_kj); - - /* MATLAB Function: '/Y1-Y4 для Vtg_RX_amb' incorporates: - * Gain: '/Gain2' - */ - Y1Y2Vtg_RL_amb(rtb_y_im, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X4 для Vtg_RX_amb' incorporates: - * Gain: '/Gain2' - * MATLAB Function: '/X1-X4 для Vtg_FR_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))]; */ - for (i = 0; i < 7; i++) { - tmp[6 * i] = g_assVR_AMB_X1_LV0[i]; - i_0 = 6 * i + 1; - tmp[i_0] = g_assVR_AMB_X1_LV1[i]; - tmp_3 = 6 * i + 2; - tmp[tmp_3] = g_assVR_AMB_X1_LV2[i]; - tmp_4 = 6 * i + 3; - tmp[tmp_4] = g_assVR_AMB_X1_LV3[i]; - tmp_5 = 6 * i + 4; - tmp[tmp_5] = g_assVR_AMB_X1_LV4[i]; - tmp_6 = 6 * i + 5; - tmp[tmp_6] = g_assVR_AMB_X1_LV5[i]; - tmp_0[6 * i] = g_assVR_AMB_X2_LV0[i]; - tmp_0[i_0] = g_assVR_AMB_X2_LV1[i]; - tmp_0[tmp_3] = g_assVR_AMB_X2_LV2[i]; - tmp_0[tmp_4] = g_assVR_AMB_X2_LV3[i]; - tmp_0[tmp_5] = g_assVR_AMB_X2_LV4[i]; - tmp_0[tmp_6] = g_assVR_AMB_X2_LV5[i]; - } - - rtb_y_k_tmp = ((int32_t)trunc((((double)rtb_y_im - 16.0) + 1.0) / 2.0) - 1) * - 6 + rtb_Merge_j; - rtb_y_pk[0] = tmp[rtb_y_k_tmp]; - rtb_y_pk[1] = 0; - rtb_y_pk[2] = tmp_0[rtb_y_k_tmp]; - - /* End of MATLAB Function: '/X1-X4 для Vtg_RX_amb' */ - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read34' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_y_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_kj - rtb_LVL), rtb_y_pk, - &rtb_y_gm[0], 2U); - - /* MATLAB Function: '/Y1-Y4 для Vtg_RX_sun' incorporates: - * Gain: '/Gain2' - */ - Y1Y2Vtg_RX_sun(rtb_y_im, rtb_Merge_j, &rtb_y_j[0]); - - /* MATLAB Function: '/X1-X4 для Vtg_RX_sun' incorporates: - * Gain: '/Gain2' - */ - X1X2Vtg_FX_sun_j(rtb_y_im, rtb_Merge_j, &rtb_y_gm[0]); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read41' - */ - rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_gm[0], &rtb_y_j[0], 2U); - - /* RelationalOperator: '/LowerRelop1' incorporates: - * Sum: '/FLU_tg_correct' - */ - rtb_Equal2_p = ((double)((rtb_y_mr + rtb_y_ge) + rtb_y_h) + rtb_rate > rtb_y_p); - - /* MATLAB Function: '/Vtg_RX_plus_min' incorporates: - * Gain: '/Gain2' - */ - Vtg_RX_plus_min(rtb_y_im, rtb_Merge_j, &rtb_y_kj); - - /* MATLAB Function: '/Vtg_FX_plus_max' */ - Vtg_FX_plus_max(rtb_y_ktj, rtb_Merge_j, &rtb_y_kj); - - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation_as, &rtb_Equal2_p); - - /* MATLAB Function: '/2.3 Vtg_FLU' */ - /* : 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++) { - FLU_tg[6 * i] = g_assVTG_FL_LV0[i]; - FLU_tg[6 * i + 1] = g_assVTG_FL_LV1[i]; - FLU_tg[6 * i + 2] = g_assVTG_FL_LV2[i]; - FLU_tg[6 * i + 3] = g_assVTG_FL_LV3[i]; - FLU_tg[6 * i + 4] = g_assVTG_FL_LV4[i]; - FLU_tg[6 * i + 5] = g_assVTG_FL_LV5[i]; - } - - /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_FLU)) */ - if (rtb_Equal2_p && (rtb_y_ktj - 15 <= 13)) { - /* : y = (Vtg_FLU(LVL + 1, SET - 16) + Vtg_FLU(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_ktj - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ktj - 16) * 6 - + rtb_Merge_j]; - if (i > 32767) { - i = 32767; - } else if (i < -32768) { - i = -32768; - } - - rtb_y_p = (int16_t)rt_roundd((double)i / 2.0); - } else { - /* : else */ - /* : y = Vtg_FLU(LVL + 1, SET - 16); */ - rtb_y_p = FLU_tg[(rtb_y_ktj - 17) * 6 + rtb_Merge_j]; - } - - /* End of MATLAB Function: '/2.3 Vtg_FLU' */ - - /* MATLAB Function: '/2.1 Incar target Left' */ - u1Incartarget(rtb_y_ktj, rtb_Merge_j, rtb_Equal2_p, &rtb_y_h); - - /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' */ - Y1Y4Vtg_FX_incar(rtb_y_ktj, rtb_Merge_j, rtb_y_gm); - - /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' */ - X1X4Vtg_FX_incar(rtb_y_ktj, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read35' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' - */ - rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtDW.Incar_FL), - &rtb_y_j[0], rtb_y_gm, 4U); - - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_h); - - /* MATLAB Function: '/Y1-Y2 для Vtg_FL_amb' */ - Y1Y2Vtg_FL_amb(rtb_y_ktj, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X2 для Vtg_FL_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]; */ - /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ - for (i = 0; i < 7; i++) { - tmp[6 * i] = g_assVF_AMB_X1_LV0[i]; - i_0 = 6 * i + 1; - tmp[i_0] = g_assVF_AMB_X1_LV1[i]; - tmp_3 = 6 * i + 2; - tmp[tmp_3] = g_assVF_AMB_X1_LV2[i]; - tmp_4 = 6 * i + 3; - tmp[tmp_4] = g_assVF_AMB_X1_LV3[i]; - tmp_5 = 6 * i + 4; - tmp[tmp_5] = g_assVF_AMB_X1_LV4[i]; - tmp_6 = 6 * i + 5; - tmp[tmp_6] = g_assVF_AMB_X1_LV5[i]; - tmp_0[6 * i] = g_assVF_AMB_X2_LV0[i]; - tmp_0[i_0] = g_assVF_AMB_X2_LV1[i]; - tmp_0[tmp_3] = g_assVF_AMB_X2_LV2[i]; - tmp_0[tmp_4] = g_assVF_AMB_X2_LV3[i]; - tmp_0[tmp_5] = g_assVF_AMB_X2_LV4[i]; - tmp_0[tmp_6] = g_assVF_AMB_X2_LV5[i]; - } - - rtb_y_pk[0] = tmp[rtb_y_i_tmp]; - rtb_y_pk[1] = 0; - rtb_y_pk[2] = tmp_0[rtb_y_i_tmp]; - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read34' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_y_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_h - rtb_LVL), rtb_y_pk, - &rtb_y_gm[0], 2U); - - /* MATLAB Function: '/Y1-Y2 для Vtg_FX_sun' */ - Y1Y2Vtg_FX_sun(rtb_y_ktj, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X2 для Vtg_FX_sun' */ - X1X2Vtg_FX_sun(rtb_y_ktj, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read39' - */ - rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_j[0], &rtb_y_gm[0], 2U); - - /* RelationalOperator: '/LowerRelop1' incorporates: - * Sum: '/2.8. Vtg_FX_plus' - */ - rtb_Equal2_p = ((double)((rtb_y_p + rtb_y_ge) + rtb_y_h) + rtb_rate > rtb_y_kj); - - /* MATLAB Function: '/Vtg_FX_plus_min' */ - Vtg_FX_plus_min(rtb_y_ktj, rtb_Merge_j, &rtb_y_h); - - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation_as, &rtb_Equal2_p); - - /* MATLAB Function: '/correction rate' */ - /* : 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)); */ - correctionrate_a(rtb_y_ktj, rtb_Merge_j, &rtb_y_p); - - /* MATLAB Function: '/correction_start_time' */ - /* : 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)); */ - 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]; - } - - /* RelationalOperator: '/Relational Operator' incorporates: - * DataStoreRead: '/Data Store Read40' - * Gain: '/из сек в мс' - * MATLAB Function: '/correction_start_time' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Equal2_p = ((int64_t)(rtDW.t_now - rtDW.t_start_delay_private_DSTATE_gx) >= - tmp[rtb_y_i_tmp] * 1000); - - /* MATLAB Function: '/Vtg_FX_plus_max' */ - Vtg_FX_plus_max(rtb_y_im, rtb_Merge_j, &rtb_y_ktj); - - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation1, &rtb_Equal2_p); - - /* MATLAB Function: '/2.3 Vtg_FRU' */ - /* : 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++) { - FLU_tg[6 * i] = g_assVTG_FR_LV0[i]; - FLU_tg[6 * i + 1] = g_assVTG_FR_LV1[i]; - FLU_tg[6 * i + 2] = g_assVTG_FR_LV2[i]; - FLU_tg[6 * i + 3] = g_assVTG_FR_LV3[i]; - FLU_tg[6 * i + 4] = g_assVTG_FR_LV4[i]; - FLU_tg[6 * i + 5] = g_assVTG_FR_LV5[i]; - } - - /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_FLU)) */ - if (rtb_Equal2_p && (rtb_y_im - 15 <= 13)) { - /* : y = (Vtg_FLU(LVL + 1, SET - 16) + Vtg_FLU(LVL + 1, SET - 16 + 1)) / 2; */ - i = FLU_tg[(rtb_y_im - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_im - 16) * 6 + - rtb_Merge_j]; - if (i > 32767) { - i = 32767; - } else if (i < -32768) { - i = -32768; - } - - rtb_y_p = (int16_t)rt_roundd((double)i / 2.0); - } else { - /* : else */ - /* : y = Vtg_FLU(LVL + 1, SET - 16); */ - rtb_y_p = FLU_tg[(rtb_y_im - 17) * 6 + rtb_Merge_j]; - } - - /* End of MATLAB Function: '/2.3 Vtg_FRU' */ - - /* MATLAB Function: '/2.1 Incar target Right' */ - u1Incartarget_l(rtb_y_im, rtb_Merge_j, rtb_Equal2_p, &rtb_y_kj); - - /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' */ - Y1Y4Vtg_FX_incar(rtb_y_im, rtb_Merge_j, rtb_y_gm); - - /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' */ - X1X4Vtg_FX_incar(rtb_y_im, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read36' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' - */ - rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_kj - rtDW.Incar_FR), - &rtb_y_j[0], rtb_y_gm, 4U); - - /* MATLAB Function: '/Amb_Tg ' */ - Amb_Tg(rtb_Merge_j, &rtb_y_kj); - - /* MATLAB Function: '/Y1-Y4 для Vtg_FR_amb' */ - Y1Y2Vtg_FL_amb(rtb_y_im, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X4 для Vtg_FR_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]; */ - /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ - for (i = 0; i < 7; i++) { - tmp[6 * i] = g_assVF_AMB_X1_LV0[i]; - i_0 = 6 * i + 1; - tmp[i_0] = g_assVF_AMB_X1_LV1[i]; - tmp_3 = 6 * i + 2; - tmp[tmp_3] = g_assVF_AMB_X1_LV2[i]; - tmp_4 = 6 * i + 3; - tmp[tmp_4] = g_assVF_AMB_X1_LV3[i]; - tmp_5 = 6 * i + 4; - tmp[tmp_5] = g_assVF_AMB_X1_LV4[i]; - tmp_6 = 6 * i + 5; - tmp[tmp_6] = g_assVF_AMB_X1_LV5[i]; - tmp_0[6 * i] = g_assVF_AMB_X2_LV0[i]; - tmp_0[i_0] = g_assVF_AMB_X2_LV1[i]; - tmp_0[tmp_3] = g_assVF_AMB_X2_LV2[i]; - tmp_0[tmp_4] = g_assVF_AMB_X2_LV3[i]; - tmp_0[tmp_5] = g_assVF_AMB_X2_LV4[i]; - tmp_0[tmp_6] = g_assVF_AMB_X2_LV5[i]; - } - - rtb_y_pk[0] = tmp[rtb_y_k_tmp]; - rtb_y_pk[1] = 0; - rtb_y_pk[2] = tmp_0[rtb_y_k_tmp]; - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read34' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_y_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_kj - rtb_LVL), rtb_y_pk, - &rtb_y_gm[0], 2U); - - /* MATLAB Function: '/Y1-Y4 для Vtg_FX_sun' */ - Y1Y2Vtg_FX_sun(rtb_y_im, rtb_Merge_j, &rtb_y_gm[0]); - - /* MATLAB Function: '/X1-X4 для Vtg_FX_sun' */ - X1X2Vtg_FX_sun(rtb_y_im, rtb_Merge_j, &rtb_y_j[0]); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read41' - */ - rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_j[0], &rtb_y_gm[0], 2U); - - /* RelationalOperator: '/LowerRelop1' incorporates: - * Sum: '/FLU_tg_correct' - */ - rtb_Equal2_p = ((double)((rtb_y_p + rtb_y_ge) + rtb_y_h) + rtb_rate > - rtb_y_ktj); - - /* MATLAB Function: '/FXU_tg_min' */ - Vtg_FX_plus_min(rtb_y_im, rtb_Merge_j, &rtb_y_kj); - - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation1, &rtb_Equal2_p); - - /* MATLAB Function: '/correction rate' */ - /* : 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)); */ - correctionrate_a(rtb_y_im, rtb_Merge_j, &rtb_y_h); - - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read' */ - /* : 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 (rtb_LVL > 1000) { rtb_y_ge = 1000; } else if (rtb_LVL < -1000) { @@ -13807,209 +13186,207 @@ void HVAC_model_step(void) rtb_y_ge = rtb_LVL; } - /* 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_y_j[0] = -1000; - rtb_y_j[1] = g_assAMB_LV_UP[4]; - rtb_y_j[2] = g_assAMB_LV_UP[3]; - rtb_y_j[3] = g_assAMB_LV_UP[2]; - rtb_y_j[4] = g_assAMB_LV_UP[1]; - rtb_y_j[5] = g_assAMB_LV_UP[0]; + tmp_3[0] = -1000; + tmp_3[1] = g_assAMB_LV_UP[4]; + tmp_3[2] = g_assAMB_LV_UP[3]; + tmp_3[3] = g_assAMB_LV_UP[2]; + tmp_3[4] = g_assAMB_LV_UP[1]; + tmp_3[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.pooled42[plook_u32s16_bincka(rtb_y_ge, rtb_y_j, 5U)]) - { + switch ((int8_t)rtConstP.pooled44[plook_u32s16_bincka(rtb_y_ge, tmp_3, 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: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_1' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ - /* : c_g_assAMB_LV_UP_1 = g_assAMB_LV_UP(1); */ rtB.Merge_b = (uint8_t)(rtb_y_ge <= 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_ge > g_assAMB_LV_UP[1]) { - /* Merge: '/Merge' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' - * RelationalOperator: '/Relational Operator1' + /* Merge: '/Merge' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' + * RelationalOperator: '/Relational Operator1' */ rtB.Merge_b = (uint8_t)(rtb_y_ge <= 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_ge > g_assAMB_LV_UP[2]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' + * RelationalOperator: '/Relational Operator1' */ if (rtb_y_ge > g_assAMB_LV_DN[1]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv1' + /* 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' */ - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' - */ - rtB.Merge_b = 3U; - } - - /* 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' - */ - /* 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_ge > g_assAMB_LV_UP[3]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_y_ge > g_assAMB_LV_DN[2]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' - */ - rtB.Merge_b = 2U; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' - */ - rtB.Merge_b = 3U; - } - - /* End of Switch: '/Switch3' */ - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' - */ - rtB.Merge_b = 4U; - } - - /* 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' - */ - /* 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_ge > g_assAMB_LV_UP[4]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_y_ge > g_assAMB_LV_DN[3]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' - */ - rtB.Merge_b = 3U; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' - */ - rtB.Merge_b = 4U; - } - /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ - rtB.Merge_b = 5U; + rtB.Merge_b = 3U; } /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; - case 5: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: + case 3: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: * ActionPort: '/Action Port' */ - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' * RelationalOperator: '/Relational Operator' */ - /* : c_g_assAMB_LV_DN_5 = g_assAMB_LV_DN(5); */ - if (rtb_y_ge > g_assAMB_LV_DN[4]) { - /* Merge: '/Merge' incorporates: + /* : 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_ge > g_assAMB_LV_UP[3]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_y_ge > g_assAMB_LV_DN[2]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' + */ + rtB.Merge_b = 2U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' + */ + rtB.Merge_b = 3U; + } + + /* End of Switch: '/Switch3' */ + } else { + /* Merge: '/Merge' incorporates: * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; + } + + /* 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' + */ + /* 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_ge > g_assAMB_LV_UP[4]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_y_ge > g_assAMB_LV_DN[3]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' + */ + rtB.Merge_b = 3U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' + */ + rtB.Merge_b = 4U; + } + + /* End of Switch: '/Switch3' */ } 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: '/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' + */ + /* 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_ge > g_assAMB_LV_DN[4]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' + */ + rtB.Merge_b = 4U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' + */ + rtB.Merge_b = 5U; + } + + /* 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' @@ -14022,13 +13399,13 @@ void HVAC_model_step(void) i = rtDW.CCU_SET_FL; } - /* Gain: '/Gain' incorporates: + /* Gain: '/Gain' incorporates: * Saturate: '/Saturation' */ i *= 13107; rtb_Merge_j = (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; */ @@ -14045,17 +13422,17 @@ 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_Merge_m = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Merge_j, - rtConstP.pooled92, rtConstP.pooled51, rtb_get_modes_for_levels, - rtConstP.pooled39, 6U); + rtConstP.pooled94, rtConstP.pooled53, rtb_get_modes_for_levels, + rtConstP.pooled40, 6U); - /* MATLAB Function: '/Начальные положения заслонок left' */ + /* MATLAB Function: '/Начальные положения заслонок left' */ left(rtb_Merge_m, rtb_vals_m); /* Saturate: '/Saturation1' incorporates: @@ -14069,105 +13446,12 @@ void HVAC_model_step(void) i = rtDW.CCU_SET_FR; } - /* Gain: '/Gain2' incorporates: + /* Gain: '/Gain2' incorporates: * Saturate: '/Saturation1' */ i *= 13107; rtb_Merge_e = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); - /* SwitchCase: '/Switch for Left ' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtb_Merge_m) { - case 10: - break; - - case 20: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' - */ - Merge[i] = rtb_vals_m[i]; - - /* End of Outputs for SubSystem: '/Bilevel' */ - } - - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' - */ - Bilevel(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - - /* End of Outputs for SubSystem: '/Bilevel' */ - break; - - case 30: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' - */ - Merge[i] = rtb_vals_m[i]; - - /* End of Outputs for SubSystem: '/Bilevel2' */ - } - - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' - */ - Bilevel2(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - - /* End of Outputs for SubSystem: '/Bilevel2' */ - break; - - case 40: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - Merge[i] = rtb_vals_m[i]; - - /* End of Outputs for SubSystem: '/Afoot' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - Afoot(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - - /* 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' - */ - Merge[i] = rtb_vals_m[i]; - - /* End of Outputs for SubSystem: '/Afoot_Summer' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' - */ - Afoot_Summer(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - - /* End of Outputs for SubSystem: '/Afoot_Summer' */ - break; - } - - /* End of SwitchCase: '/Switch for Left ' */ - - /* Lookup_n-D: '/Выбор режима Right' incorporates: - * Gain: '/Gain2' - * Merge: '/Merge' - */ - rtb_Merge_m = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Merge_e, - rtConstP.pooled92, rtConstP.pooled51, rtb_get_modes_for_levels, - rtConstP.pooled39, 6U); - - /* MATLAB Function: '/Начальные положения заслонок right' */ - left(rtb_Merge_m, rtb_vals_m); - /* SwitchCase: '/Switch for Left ' incorporates: * DataStoreRead: '/Data Store Read' */ @@ -14178,7 +13462,7 @@ void HVAC_model_step(void) case 20: for (i = 0; i < 9; i++) { /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; @@ -14186,7 +13470,7 @@ void HVAC_model_step(void) } /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Bilevel(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); @@ -14196,7 +13480,7 @@ void HVAC_model_step(void) case 30: for (i = 0; i < 9; i++) { /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; @@ -14204,7 +13488,7 @@ void HVAC_model_step(void) } /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Bilevel2(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); @@ -14214,7 +13498,7 @@ void HVAC_model_step(void) case 40: for (i = 0; i < 9; i++) { /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; @@ -14222,7 +13506,7 @@ void HVAC_model_step(void) } /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Afoot(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); @@ -14232,7 +13516,7 @@ void HVAC_model_step(void) case 50: for (i = 0; i < 9; i++) { /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; @@ -14240,7 +13524,7 @@ void HVAC_model_step(void) } /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Afoot_Summer(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); @@ -14250,10 +13534,103 @@ void HVAC_model_step(void) /* End of SwitchCase: '/Switch for Left ' */ - /* DataStoreWrite: '/Data Store Write' */ + /* Lookup_n-D: '/Выбор режима Right' incorporates: + * Gain: '/Gain2' + * Merge: '/Merge' + */ + rtb_Merge_m = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Merge_e, + rtConstP.pooled94, rtConstP.pooled53, rtb_get_modes_for_levels, + rtConstP.pooled40, 6U); + + /* MATLAB Function: '/Начальные положения заслонок right' */ + left(rtb_Merge_m, rtb_vals_m); + + /* SwitchCase: '/Switch for Left ' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtb_Merge_m) { + case 10: + break; + + case 20: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' + */ + Merge[i] = rtb_vals_m[i]; + + /* End of Outputs for SubSystem: '/Bilevel' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); + + /* End of Outputs for SubSystem: '/Bilevel' */ + break; + + case 30: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + Merge[i] = rtb_vals_m[i]; + + /* End of Outputs for SubSystem: '/Bilevel2' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel2(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); + + /* End of Outputs for SubSystem: '/Bilevel2' */ + break; + + case 40: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' + */ + Merge[i] = rtb_vals_m[i]; + + /* End of Outputs for SubSystem: '/Afoot' */ + } + + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' + */ + Afoot(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); + + /* 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' + */ + Merge[i] = rtb_vals_m[i]; + + /* End of Outputs for SubSystem: '/Afoot_Summer' */ + } + + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' + */ + Afoot_Summer(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); + + /* End of Outputs for SubSystem: '/Afoot_Summer' */ + break; + } + + /* End of SwitchCase: '/Switch for Left ' */ + + /* 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; */ @@ -14277,255 +13654,255 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Log Ambient Lv' */ + /* End of MATLAB Function: '/Log Ambient Lv' */ - /* 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) 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' + /* 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); - /* 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.CCUCAN_ESC_04_model.ESC_VehicleSpeed_ro); - /* 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); - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_FRONT_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_FRONT_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync front action' */ + /* End of Outputs for SubSystem: '/sync front action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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; - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_FRONT_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_FRONT_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync front action' */ + /* End of Outputs for SubSystem: '/sync front action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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); - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_FRONT_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_FRONT_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync front action' */ + /* End of Outputs for SubSystem: '/sync front action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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); - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_FRONT_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_FRONT_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync front action' */ + /* End of Outputs for SubSystem: '/sync front action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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; @@ -14533,18 +13910,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; @@ -14552,78 +13929,72 @@ void HVAC_model_step(void) rtDW.CCU_BLOWERS_FR = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_FRONT_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_FRONT_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync front action' */ + /* End of Outputs for SubSystem: '/sync front action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write16' - */ - rtDW.CCU_AUTOMODE_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req <= - 1); + /* 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) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write17' - */ - rtDW.CCU_AUTOMODE_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req <= - 1); + /* DataStoreWrite: '/Data Store Write17' */ + rtDW.CCU_AUTOMODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; } - /* 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: @@ -14639,549 +14010,537 @@ 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: '/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' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/action if all_sync was on' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/action if all_sync was on' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/off' - */ - rtDW.CCU_ALL_ZONE_SYNC = 0U; + actionifall_syncwason(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, + &rtDW.CCU_REAR_SYNC); - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.CCU_FRONT_SYNC = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/on' - */ - rtDW.CCU_REAR_SYNC = 1U; - - /* End of Outputs for SubSystem: '/action if all_sync was on' */ + /* End of Outputs for SubSystem: '/action if all_sync was on' */ } else { - /* Outputs for IfAction SubSystem: '/action if all_sync was off' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/action if all_sync was off' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' */ rtDW.CCU_FRONT_SYNC = 1U; - /* End of Outputs for SubSystem: '/action if all_sync was off' */ + /* End of Outputs for SubSystem: '/action if all_sync was off' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/sync front action' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/sync front action' */ } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 2) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/on' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/on' */ rtDW.CCU_ALL_ZONE_SYNC = 1U; - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_FRONT_SYNC = 0U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/off' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/off1' */ rtDW.CCU_REAR_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all 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' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/action if all_sync was on' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/action if all_sync was on' incorporates: + * ActionPort: '/Action Port' */ syncallaction(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/action if all_sync was on' */ + /* End of Outputs for SubSystem: '/action if all_sync was on' */ } else { - /* Outputs for IfAction SubSystem: '/action if all_sync was off' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/action if all_sync was off' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_FRONT_SYNC = 0U; - /* End of Outputs for SubSystem: '/action if all_sync was off' */ + /* End of Outputs for SubSystem: '/action if all_sync was off' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/sync off action' */ + /* End of If: '/If' */ + /* 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' */ } - /* 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' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_FRONT_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_FRONT_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync front action' */ + /* End of Outputs for SubSystem: '/sync front action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction_i(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_REAR_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_REAR_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync rear action' */ + /* End of Outputs for SubSystem: '/sync rear action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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); - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction_i(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_REAR_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_REAR_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync rear action' */ + /* End of Outputs for SubSystem: '/sync rear action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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) { - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction_i(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_REAR_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_REAR_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync rear action' */ + /* End of Outputs for SubSystem: '/sync rear action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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); - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction_i(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_REAR_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_REAR_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync rear action' */ + /* End of Outputs for SubSystem: '/sync rear action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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' */ } - /* 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); - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction_i(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_REAR_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_REAR_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync rear action' */ + /* End of Outputs for SubSystem: '/sync rear action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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); } - /* End of Outputs for SubSystem: '/Subsystem31' */ + /* End of Outputs for SubSystem: '/Subsystem31' */ - /* 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); } - /* 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); } - /* 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; @@ -15189,50 +14548,50 @@ void HVAC_model_step(void) rtDW.CCU_BLOWERS_RL = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/sync all action' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sync all action' incorporates: + * ActionPort: '/Action Port' */ syncallaction_i(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, &rtDW.CCU_REAR_SYNC); - /* End of Outputs for SubSystem: '/sync all action' */ + /* End of Outputs for SubSystem: '/sync all action' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_REAR_SYNC > 0) { - /* 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: '/off' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/off' */ rtDW.CCU_REAR_SYNC = 0U; - /* End of Outputs for SubSystem: '/sync rear action' */ + /* End of Outputs for SubSystem: '/sync rear action' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ } - /* 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; @@ -15240,72 +14599,105 @@ void HVAC_model_step(void) rtDW.CCU_BLOWERS_RR = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ } - /* 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) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_AUTOMODE_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req <= - 1); + /* 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) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_BLOWERS_FL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req <= - 1); + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.CCU_BLOWERS_FL = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; } - /* End of Outputs for SubSystem: '/Subsystem38' */ + /* End of Outputs for SubSystem: '/Subsystem38' */ - /* 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) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_REAR_SYNC = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req <= 1); + /* If: '/If' */ + if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 1) { + /* Outputs for IfAction SubSystem: '/sync rear action' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.CCU_ALL_ZONE_SYNC > 0) { + /* Outputs for IfAction SubSystem: '/action if all_sync was on' incorporates: + * ActionPort: '/Action Port' + */ + actionifall_syncwason(&rtDW.CCU_ALL_ZONE_SYNC, &rtDW.CCU_FRONT_SYNC, + &rtDW.CCU_REAR_SYNC); + + /* End of Outputs for SubSystem: '/action if all_sync was on' */ + } else { + /* Outputs for IfAction SubSystem: '/action if all_sync was off' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/on' + */ + rtDW.CCU_REAR_SYNC = 1U; + + /* End of Outputs for SubSystem: '/action if all_sync was off' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/sync rear action' */ + } else if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 2) { + /* Outputs for IfAction SubSystem: '/sync off rear action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/off' + */ + rtDW.CCU_REAR_SYNC = 0U; + + /* End of Outputs for SubSystem: '/sync off rear action' */ + } + + /* End of If: '/If' */ } - /* End of DataStoreRead: '/Data Store Read2' */ - /* End of Outputs for SubSystem: '/Subsystem44' */ + /* 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; @@ -15328,8 +14720,8 @@ 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) { rtb_Saturation_as = 310U; @@ -15339,21 +14731,21 @@ void HVAC_model_step(void) rtb_Saturation_as = 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)rtb_Saturation_as - 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) { rtb_Saturation_as = 310U; @@ -15363,21 +14755,21 @@ void HVAC_model_step(void) rtb_Saturation_as = 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: '/Bias' + * 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)rtb_Saturation_as - 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) { rtb_Saturation_as = 310U; @@ -15387,21 +14779,21 @@ void HVAC_model_step(void) rtb_Saturation_as = 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)rtb_Saturation_as - 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) { rtb_Saturation_as = 310U; @@ -15411,22 +14803,22 @@ void HVAC_model_step(void) rtb_Saturation_as = 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)rtb_Saturation_as - 15.5) * 2.0); - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read27' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read29' - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read27' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read29' + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_STAT2_MODEL.CCU_AromaCartridgeSw_Stat = 0U; rtDW.CCU_STAT2_MODEL.CCU_FrontZoneSync_Stat = rtDW.CCU_FRONT_SYNC; @@ -15452,45 +14844,45 @@ void HVAC_model_step(void) rtDW.CCU_STAT2_MODEL.CCU_DeflectorSwRLB_Stat = 0U; rtDW.CCU_STAT2_MODEL.CCU_DeflectorSwRRB_Stat = 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_ge = rtDW.MaxPositionCh0_private[i]; if (rtb_y_ge != 0) { - rtb_rate = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double) + rtb_Divide1 = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double) rtb_y_ge * 100.0; } else { - rtb_rate = 0.0; + 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_rate > 100.0) { + if (rtb_Divide1 > 100.0) { rtb_DataTypeConversion_bh[i] = 100U; - } else if (rtb_rate < 0.0) { + } else if (rtb_Divide1 < 0.0) { rtb_DataTypeConversion_bh[i] = 0U; } else { - rtb_DataTypeConversion_bh[i] = (uint8_t)rtb_rate; + 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_Switch_nyq = rtDW.stepSig_private; @@ -15498,40 +14890,40 @@ void HVAC_model_step(void) rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_Switch_nyq) { 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_Switch_nyq + 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) { @@ -15540,55 +14932,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -15597,55 +14989,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -15654,79 +15046,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -15735,35 +15127,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* 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_i5[i] = @@ -15772,10 +15164,10 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { @@ -15783,43 +15175,43 @@ void HVAC_model_step(void) + 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_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MinPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 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) { @@ -15828,54 +15220,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -15884,77 +15276,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -15963,35 +15355,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* 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_i5[i] = @@ -16000,10 +15392,10 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { @@ -16011,43 +15403,43 @@ void HVAC_model_step(void) + 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_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MaxPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 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) { @@ -16056,74 +15448,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_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 9; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh0_private[i] / (double) rtConstP.ACT1_Value[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide1 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 1.1)); + rtb_LogicalOperator1 = ((rtb_Divide1 >= 0.9) && (rtb_Divide1 <= 1.1)); 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) { @@ -16141,80 +15533,80 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_a = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || 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_LogicalOperator1; 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_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) { @@ -16229,35 +15621,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ 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) { @@ -16278,10 +15670,10 @@ 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_LogicalOperator1 = (rtDW.ErrorCalibration_private[0] != 0); for (i = 0; i < 8; i++) { @@ -16289,55 +15681,55 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide1 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 1.03)) && + rtb_LogicalOperator1 = (((rtb_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && (rtDW.ErrorCalibration_private[i] != 0)); 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) { @@ -16358,49 +15750,49 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_a = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* 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) { /* : fprintf("[LIN 1] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_rate = rt_roundd(rtDW.ErrorHomming_private); - if (rtb_rate < 32768.0) { - if (rtb_rate >= -32768.0) { - rtb_y_ge = (int16_t)rtb_rate; + rtb_Divide1 = rt_roundd(rtDW.ErrorHomming_private); + if (rtb_Divide1 < 32768.0) { + if (rtb_Divide1 >= -32768.0) { + rtb_y_ge = (int16_t)rtb_Divide1; } else { rtb_y_ge = INT16_MIN; } @@ -16412,24 +15804,24 @@ void HVAC_model_step(void) 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, &rtDW.sf_MATLABFunction); - /* 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) { @@ -16444,107 +15836,107 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&rtB.Merge_a, &rtDW.ErrorHomming_private, &rtDW.Start_timer_n, &rtDW.stepSig_private); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer_n = 1.0; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { rtb_DataTypeConversion_bq[i] = (uint8_t) rtDW.valves_front_manual_target[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' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[1] = rtb_DataTypeConversion_bh[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion_bh[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[3] = rtb_DataTypeConversion_bh[3]; - /* 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]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[6] = rtb_DataTypeConversion_bh[6]; - /* 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[6]; + 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[7]; + rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_bq[5]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Merge_j = 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)(rtb_Merge_j * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bh[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -16552,11 +15944,11 @@ void HVAC_model_step(void) } 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_LogicalOperator1) { rtDW.COM_private[i] = 0U; @@ -16564,158 +15956,158 @@ void HVAC_model_step(void) rtDW.COM_private[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bh[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled85[i]); + rtConstP.pooled87[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' */ rtB.Merge_a = 3; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_a, &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) rtDW.valves_front_manual_target[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' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[1] = rtb_DataTypeConversion_bh[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion_bh[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[3] = rtb_DataTypeConversion_bh[3]; - /* 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]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[6] = rtb_DataTypeConversion_bh[6]; - /* 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[6]; + 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[7]; + rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_bq[5]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Merge_j = 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)(rtb_Merge_j * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bh[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -16723,11 +16115,11 @@ void HVAC_model_step(void) } 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_LogicalOperator1) { rtDW.COM_private[i] = 0U; @@ -16735,86 +16127,86 @@ void HVAC_model_step(void) rtDW.COM_private[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bh[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled85[i]); + rtConstP.pooled87[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_a = 4; - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private = rtB.Merge_a; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_f1 = rtDW.stepSig_private; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private = rtB.Merge_f1; for (i = 0; i < 9; i++) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ Actuator_Ch0_Command_Model.POS[i] = rtDW.POS_private[i]; Actuator_Ch0_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private[i]; @@ -16826,14 +16218,14 @@ 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_i5[i] = (rtDW.ErrorCalibration_private[i] == 0); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + @@ -16841,77 +16233,77 @@ void HVAC_model_step(void) } 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_LogicalOperator1) { rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private[i] * rtConstP.pooled85[i]); + rtDW.ErrorCalibration_private[i] * rtConstP.pooled87[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_ge = rtDW.MaxPositionCh1_private[i]; if (rtb_y_ge != 0) { - rtb_rate = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double) + rtb_Divide1 = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double) rtb_y_ge * 100.0; } else { - rtb_rate = 0.0; + rtb_Divide1 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_rate > 100.0) { + /* Saturate: '/Saturation' */ + if (rtb_Divide1 > 100.0) { rtb_DataTypeConversion_bq[i] = 100U; - } else if (rtb_rate < 0.0) { + } else if (rtb_Divide1 < 0.0) { rtb_DataTypeConversion_bq[i] = 0U; } else { - rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_rate; + 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_Switch_nyq = rtDW.stepSig_private_h; @@ -16919,40 +16311,40 @@ void HVAC_model_step(void) rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_Switch_nyq) { 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_Switch_nyq + 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) { @@ -16961,55 +16353,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -17018,55 +16410,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -17075,79 +16467,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -17156,35 +16548,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* 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_n1[i] = @@ -17193,10 +16585,10 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_n1[0]; for (i = 0; i < 5; i++) { @@ -17204,43 +16596,43 @@ void HVAC_model_step(void) + 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_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MinPositionCh1_private[i] = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 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) { @@ -17260,54 +16652,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -17316,79 +16708,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -17397,35 +16789,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* 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_n1[i] = @@ -17434,10 +16826,10 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_n1[0]; for (i = 0; i < 5; i++) { @@ -17445,24 +16837,24 @@ void HVAC_model_step(void) + 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_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MaxPositionCh1_private[i] = @@ -17471,19 +16863,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_Switch_nyq + 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) { @@ -17503,81 +16895,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_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 6; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh1_private[i] / (double) rtConstP.ACT1_Value_c[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_a4[6] = 1.0; rtb_Divide1_a4[7] = 1.0; rtb_Divide1_a4[8] = 1.0; - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private_f) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide1 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 1.1)); + rtb_LogicalOperator1 = ((rtb_Divide1 >= 0.9) && (rtb_Divide1 <= 1.1)); 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) { @@ -17595,80 +16987,80 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_p = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || 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_LogicalOperator1; 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_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) { @@ -17683,35 +17075,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ 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) { @@ -17732,10 +17124,10 @@ 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_LogicalOperator1 = (rtDW.ErrorCalibration_private_p[0] != 0); for (i = 0; i < 8; i++) { @@ -17743,55 +17135,55 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide1 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 1.03)) && + rtb_LogicalOperator1 = (((rtb_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && (rtDW.ErrorCalibration_private_p[i] != 0)); 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) { @@ -17812,49 +17204,49 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_p = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { /* : fprintf("[LIN 2] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_rate = rt_roundd(rtDW.ErrorHomming_private_h); - if (rtb_rate < 32768.0) { - if (rtb_rate >= -32768.0) { - rtb_y_ge = (int16_t)rtb_rate; + rtb_Divide1 = rt_roundd(rtDW.ErrorHomming_private_h); + if (rtb_Divide1 < 32768.0) { + if (rtb_Divide1 >= -32768.0) { + rtb_y_ge = (int16_t)rtb_Divide1; } else { rtb_y_ge = INT16_MIN; } @@ -17866,24 +17258,24 @@ void HVAC_model_step(void) 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, &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) { @@ -17898,108 +17290,108 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&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; - /* 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[0] = rtb_DataTypeConversion_bq[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_fb[i] = (uint8_t) rtDW.valves_front_manual_target[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]; - /* 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[3] = rtb_DataTypeConversion_bq[3]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_fb[4]; + 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[5]; + rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_fb[7]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant' + /* 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' - * Constant: '/Constant' + /* 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' - * Constant: '/Constant' + /* 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' */ rtb_Merge_j = 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)(rtb_Merge_j * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -18007,11 +17399,11 @@ void HVAC_model_step(void) } 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_LogicalOperator1) { rtDW.COM_private_g[i] = 0U; @@ -18019,159 +17411,159 @@ void HVAC_model_step(void) rtDW.COM_private_g[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled85[i]); + rtConstP.pooled87[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' */ - /* 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[0] = rtb_DataTypeConversion_bq[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_fb[i] = (uint8_t) rtDW.valves_front_manual_target[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]; - /* 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[3] = rtb_DataTypeConversion_bq[3]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_fb[4]; + 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[5]; + 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' */ rtb_Merge_j = 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)(rtb_Merge_j * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -18179,11 +17571,11 @@ void HVAC_model_step(void) } 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_LogicalOperator1) { rtDW.COM_private_g[i] = 0U; @@ -18191,54 +17583,54 @@ void HVAC_model_step(void) rtDW.COM_private_g[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled85[i]); + rtConstP.pooled87[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) { @@ -18247,41 +17639,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]; @@ -18295,30 +17687,30 @@ 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_n[i] = (rtDW.ErrorCalibration_private_p[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 5; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_Compare_n[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_LogicalOperator1) { @@ -18329,71 +17721,71 @@ 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 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_ge = rtDW.MaxPositionCh2_private[i]; if (rtb_y_ge != 0) { - rtb_rate = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double) + rtb_Divide1 = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double) rtb_y_ge * 100.0; } else { - rtb_rate = 0.0; + rtb_Divide1 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_rate > 100.0) { + /* Saturate: '/Saturation' */ + if (rtb_Divide1 > 100.0) { rtb_DataTypeConversion_bq[i] = 100U; - } else if (rtb_rate < 0.0) { + } else if (rtb_Divide1 < 0.0) { rtb_DataTypeConversion_bq[i] = 0U; } else { - rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_rate; + 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_Switch_nyq = rtDW.stepSig_private_g; @@ -18401,40 +17793,40 @@ void HVAC_model_step(void) rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_Switch_nyq) { 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_Switch_nyq + 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) { @@ -18443,55 +17835,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -18500,55 +17892,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -18557,79 +17949,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -18638,35 +18030,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* 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_n[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) @@ -18674,53 +18066,53 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_b[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_Compare_n[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MinPositionCh2_private[i] = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 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) { @@ -18740,54 +18132,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -18796,79 +18188,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_Switch_nyq; - /* 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_Switch_nyq + 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) { @@ -18877,35 +18269,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* 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_n[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) @@ -18913,34 +18305,34 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_b[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_Compare_n[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MaxPositionCh2_private[i] = @@ -18949,19 +18341,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_Switch_nyq + 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) { @@ -18981,79 +18373,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_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 8; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh2_private[i] / (double) rtConstP.ACT1_Value_m[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_a4[8] = 1.0; - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private_a) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide1 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 1.1)); + rtb_LogicalOperator1 = ((rtb_Divide1 >= 0.9) && (rtb_Divide1 <= 1.1)); 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) { @@ -19071,80 +18463,80 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h3 = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || 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_LogicalOperator1; 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_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) { @@ -19159,35 +18551,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ 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) { @@ -19208,10 +18600,10 @@ 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_LogicalOperator1 = (rtDW.ErrorCalibration_private_b[0] != 0); for (i = 0; i < 8; i++) { @@ -19219,55 +18611,55 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_b[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide1 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 1.03)) && + rtb_LogicalOperator1 = (((rtb_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && (rtDW.ErrorCalibration_private_b[i] != 0)); 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) { @@ -19288,49 +18680,49 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_h3 = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { /* : fprintf("[LIN 3] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_rate = rt_roundd(rtDW.ErrorHomming_private_m); - if (rtb_rate < 32768.0) { - if (rtb_rate >= -32768.0) { - rtb_y_ge = (int16_t)rtb_rate; + rtb_Divide1 = rt_roundd(rtDW.ErrorHomming_private_m); + if (rtb_Divide1 < 32768.0) { + if (rtb_Divide1 >= -32768.0) { + rtb_y_ge = (int16_t)rtb_Divide1; } else { rtb_y_ge = INT16_MIN; } @@ -19342,24 +18734,24 @@ void HVAC_model_step(void) 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, &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) { @@ -19374,107 +18766,107 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&rtB.Merge_h3, &rtDW.ErrorHomming_private_m, &rtDW.Start_timer, &rtDW.stepSig_private_g); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer = 1.0; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_a[0] = rtb_DataTypeConversion_bq[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_a[1] = rtb_DataTypeConversion_bq[1]; - /* 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_l3[i] = (uint8_t) rtDW.valves_rear_manual_target[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_l3[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_l3[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_l3[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_l3[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_l3[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_l3[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' */ rtb_Merge_j = 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)(rtb_Merge_j * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -19482,11 +18874,11 @@ void HVAC_model_step(void) } 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_LogicalOperator1) { rtDW.COM_private_k[i] = 0U; @@ -19494,158 +18886,158 @@ void HVAC_model_step(void) rtDW.COM_private_k[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write2' + * 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.pooled85[i]); + rtConstP.pooled87[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' */ rtB.Merge_h3 = 3; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_h3, &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' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_a[0] = rtb_DataTypeConversion_bq[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_a[1] = rtb_DataTypeConversion_bq[1]; - /* 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_l3[i] = (uint8_t) rtDW.valves_rear_manual_target[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_l3[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_l3[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_l3[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_l3[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_l3[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_l3[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' */ rtb_Merge_j = 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)(rtb_Merge_j * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -19653,11 +19045,11 @@ void HVAC_model_step(void) } 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_LogicalOperator1) { rtDW.COM_private_k[i] = 0U; @@ -19665,54 +19057,54 @@ void HVAC_model_step(void) rtDW.COM_private_k[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write2' + * 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.pooled85[i]); + rtConstP.pooled87[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_h3 = 4; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -19721,46 +19113,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' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private_a = rtB.Merge_h3; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_b4 = rtDW.stepSig_private_g; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ /* Outport: '/CCU_Errors_model' incorporates: * DataStoreRead: '/Data Store Read10' */ rtY.CCU_Errors_model = CCU_Errors_Model; - /* 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]; @@ -19774,30 +19166,30 @@ 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_n[i] = (rtDW.ErrorCalibration_private_b[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_Compare_n[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_LogicalOperator1) { @@ -19808,120 +19200,331 @@ 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 = 0.0; + rtDW.LOGGER_LIN = 1.0; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Product: '/Divide' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * Sum: '/Add' */ - if (rtDW.PWM_front <= 80) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - PWM_Get.pwmPercentFront = rtDW.PWM_front; + rtb_Divide1 = (double)(int16_t)((uint32_t)rtDW.Blower_AF_FL + + rtDW.Blower_AF_FR) / 4.0; + + /* Switch: '/Switch' */ + if (rtb_Divide1 > 0.0) { + /* Saturate: '/Saturation2' */ + if (rtb_Divide1 > 80.0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_Merge_j = 80U; + } else if (rtb_Divide1 < 15.0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_Merge_j = 15U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_Merge_j = (uint8_t)rtb_Divide1; + } + + /* End of Saturate: '/Saturation2' */ } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreWrite: '/Data Store Write2' */ - PWM_Get.pwmPercentFront = 80U; + rtb_Merge_j = 0U; } - /* End of Saturate: '/Saturation' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read4' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * Sum: '/Add1' */ - if (rtDW.PWM_rear <= 80) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - PWM_Get.pwmPercentRear = rtDW.PWM_rear; + rtb_Divide3 = (double)(uint8_t)((uint32_t)rtDW.Blower_AF_RL + + rtDW.Blower_AF_RR) / 4.0; + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant3' + * Saturate: '/Saturation1' + */ + if (rtb_Divide3 > 0.0) { + /* Saturate: '/Saturation1' */ + if (rtb_Divide3 < 15.0) { + rtb_Divide3 = 15.0; + } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - PWM_Get.pwmPercentRear = 80U; + rtb_Divide3 = 0.0; } - /* End of Saturate: '/Saturation1' */ + /* End of Switch: '/Switch1' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataTypeConversion: '/Data Type Conversion2' */ - PWM_Get.pwmPercentFrontReserved = rtDW.PWM_front; - PWM_Get.pwmPercentRearReserved = rtDW.PWM_rear; + PWM_Get.pwmPercentFront = rtb_Merge_j; + PWM_Get.pwmPercentRear = (uint8_t)rtb_Divide3; + PWM_Get.pwmPercentFrontReserved = 0U; + PWM_Get.pwmPercentRearReserved = 0U; - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' + /* 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' */ /* : if(LOGGER) */ - /* : fprintf('pwmPercentFront = %u \n',data); */ - printf("pwmPercentFront = %u \n", rtDW.PWM_Set_Model.pwmPercentFront); - fflush(stdout); + 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.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 = rtDW.ShutOffFront_EN; + rtDW.PowerEnable_Model.ShutOffRear_EN = rtDW.ShutOffRear_EN; + 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 = rtDW.EN_BATTChiller; + rtDW.PowerEnable_Model.EN_PowerReserve = rtDW.EN_PowerReserve; - /* MATLAB Function: '/Write1' incorporates: - * DataStoreRead: '/Data Store Read' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant1' */ - /* : if(LOGGER) */ - /* : fprintf('pwmPercentRear = %u \n',data); */ - printf("pwmPercentRear = %u \n", rtDW.PWM_Set_Model.pwmPercentRear); - fflush(stdout); + rtDW.LIN_ActPower_AB = 1U; - /* MATLAB Function: '/Write2' incorporates: - * DataStoreRead: '/Data Store Read' + /* Outport: '/PWM_Get' incorporates: + * DataStoreRead: '/Data Store Read7' */ - /* : if(LOGGER) */ - /* : fprintf('pwmPercentFrontReserved = %u \n',data); */ - printf("pwmPercentFrontReserved = %u \n", - rtDW.PWM_Set_Model.pwmPercentFrontReserved); - fflush(stdout); + rtY.PWM_Get_f = PWM_Get; - /* MATLAB Function: '/Write3' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' */ - /* : if(LOGGER) */ - /* : fprintf('pwmPercentRearReserved = %u \n',data); */ - printf("pwmPercentRearReserved = %u \n", - rtDW.PWM_Set_Model.pwmPercentRearReserved); - fflush(stdout); + switch (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T15_Stat) { + case 0: + /* Outputs for IfAction SubSystem: '/Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.SW5V_EN = 0U; - /* 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 Read13' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write1' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant' + */ + rtDW.PBATT_CK_EN = 0U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' + */ + rtDW.Incar_Motor_Front_EN = 0U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + */ + rtDW.Incar_Motor_Rear_EN = 0U; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant' + */ + rtDW.PtcRelayDriver1_EN = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant' + */ + rtDW.PtcRelayDriver2_EN = 0U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant' + */ + rtDW.ShutOffTXV1_EN = 0U; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Constant' + */ + rtDW.ShutOffTXV2_EN = 0U; + + /* End of Outputs for SubSystem: '/Subsystem2' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.SW5V_EN = 1U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant' + */ + rtDW.PBATT_CK_EN = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' + */ + rtDW.Incar_Motor_Front_EN = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + */ + rtDW.Incar_Motor_Rear_EN = 1U; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant' + */ + rtDW.PtcRelayDriver1_EN = 1U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant' + */ + rtDW.PtcRelayDriver2_EN = 1U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant' + */ + rtDW.ShutOffTXV1_EN = 1U; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Constant' + */ + rtDW.ShutOffTXV2_EN = 1U; + + /* End of Outputs for SubSystem: '/Subsystem' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' + * Gain: '/Gain' + */ + rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_BattVolt_ro = 0U; + rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Pressure_ro = (uint16_t)(10 * + rtDW.Pressure); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtb_Divide1 = fabs(rtDW.Sun_L); + if (rtb_Divide1 < 4.503599627370496E+15) { + if (rtb_Divide1 >= 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' + */ + rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = 0U; + } + } else { + /* 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' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_Divide1 = fabs(rtDW.Sun_R); + if (rtb_Divide1 < 4.503599627370496E+15) { + if (rtb_Divide1 >= 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' + */ + rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = 0U; + } + } else { + /* 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' */ + + /* 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 Read13' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' */ 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; @@ -19929,20 +19532,22 @@ 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_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_c23; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = rtb_y_le; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Side_Fb_ro = rtb_y_gy; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Side_Fb_ro = rtb_y_jd; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = rtb_y_a; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = rtb_y_gu; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = rtb_y_c23; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Side_Fb_ro = rtb_y_le; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Side_Fb_ro = rtb_y_ha; 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_Fb_ro = rtb_y_co; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = rtb_y_i; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Tgt_ro = (int16_t)floor + (rtb_rate); + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = rtb_y_ltp; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = rtb_y_ii; - /* 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 Write1' + * DataStoreWrite: '/Data Store Write2' */ 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]; @@ -19953,11 +19558,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]; @@ -19969,11 +19574,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 Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write2' */ 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]; @@ -19984,54 +19589,67 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_fb[6]; 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 = rtb_LVL; rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_Raw_ro = rtDW.AMB_RAW; rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Amb_Tg_ro = 0; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion2' */ 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; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_RL = rtDW.CCU_BLOWERS_RL; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_RR = rtDW.CCU_BLOWERS_RR; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Front = rtDW.PWM_front; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Rear = rtDW.PWM_rear; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Front = rtb_Merge_j; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Rear = (uint8_t) + rtb_Divide3; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FL = rtDW.Blower_AF_FL; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FR = rtDW.Blower_AF_FR; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = rtDW.Blower_AF_RL; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = rtDW.Blower_AF_RR; - /* 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' + * 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' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_F = 0; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_R = 0; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_Target = rtDW.Eva_F; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_Diff_FrontRear = rtDW.Eva_R; - /* Outport: '/PWM_Get' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtY.PWM_Get_f = PWM_Get; - /* Outport: '/dtc_state_error_model' incorporates: * DataStoreRead: '/Data Store Read1' */ @@ -20083,13 +19701,28 @@ void HVAC_model_step(void) */ rtY.CCU_Stat2_model = rtDW.CCU_STAT2_MODEL; - /* Switch: '/Switch' incorporates: + /* Outport: '/dbgCAN_dbg_Sen_Incar_model' incorporates: + * DataStoreRead: '/Data Store Read48' + */ + rtY.dbgCAN_dbg_Sen_Incar_model = rtDW.dbgCAN_dbg_Sen_Incar_model; + + /* Outport: '/dbgCAN_dbg_Sen_0_model' incorporates: + * DataStoreRead: '/Data Store Read49' + */ + rtY.dbgCAN_dbg_Sen_0_model = rtDW.dbgCAN_dbg_Sen_0_model; + + /* Outport: '/PowerEnable_Model' incorporates: + * DataStoreRead: '/Data Store Read46' + */ + rtY.PowerEnable_Model = rtDW.PowerEnable_Model; + + /* 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 */ @@ -20097,15 +19730,15 @@ void HVAC_model_step(void) rtDW.t_start_delay_private_DSTATE = 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 */ @@ -20113,104 +19746,1078 @@ void HVAC_model_step(void) rtDW.t_start_delay_private_DSTATE_g = 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 + /* Saturate: '/Saturation5' incorporates: + * DataStoreRead: '/Data Store Read30' */ - if (!rtDW.DelayInput1_DSTATE_n) { - rtDW.t_start_delay_private_DSTATE_gx = rtDW.t_now; + if (rtDW.CCU_SET_FL > 290) { + rtb_Saturation_as = 290U; + } else if (rtDW.CCU_SET_FL < 170) { + rtb_Saturation_as = 170U; + } else { + rtb_Saturation_as = rtDW.CCU_SET_FL; } - /* End of Switch: '/Switch' */ + /* End of Saturate: '/Saturation5' */ - /* 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 + /* Saturate: '/Saturation9' incorporates: + * DataStoreRead: '/Data Store Read42' */ - if (!rtDW.DelayInput1_DSTATE_m) { - rtDW.t_start_delay_private_DSTATE_pf = rtDW.t_now; + if (rtDW.LEVEL <= 5) { + rtb_Merge_j = rtDW.LEVEL; + } else { + rtb_Merge_j = 5U; } - /* End of Switch: '/Switch' */ + /* End of Saturate: '/Saturation9' */ + + /* Saturate: '/Saturation6' incorporates: + * DataStoreRead: '/Data Store Read31' + */ + if (rtDW.CCU_SET_FR > 290) { + rtb_Saturation1_j = 290U; + } else if (rtDW.CCU_SET_FR < 170) { + rtb_Saturation1_j = 170U; + } else { + rtb_Saturation1_j = rtDW.CCU_SET_FR; + } + + /* End of Saturate: '/Saturation6' */ + + /* Outputs for Enabled SubSystem: '/Front' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator2' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read47' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal4' + */ + if ((rtDW.CCU_MODE_FL == 1) || (rtDW.CCU_MODE_FR == 1)) { + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + */ + rtb_Subtract = 52429U * rtb_Saturation_as; + rtb_y_ge = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + + (rtb_Subtract >> 19)); + + /* MATLAB Function: '/Vtg_FX_plus_max' incorporates: + * Gain: '/Gain2' + */ + Vtg_FX_plus_max(rtb_y_ge, rtb_Merge_j, &rtb_y_ii); + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator2_nm); + + /* 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++) { + FLU_tg[6 * i] = g_assVTG_FL_LV0[i]; + FLU_tg[6 * i + 1] = g_assVTG_FL_LV1[i]; + FLU_tg[6 * i + 2] = g_assVTG_FL_LV2[i]; + FLU_tg[6 * i + 3] = g_assVTG_FL_LV3[i]; + FLU_tg[6 * i + 4] = g_assVTG_FL_LV4[i]; + FLU_tg[6 * i + 5] = g_assVTG_FL_LV5[i]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_FLU)) */ + if (rtb_RelationalOperator2_nm && (rtb_y_ge - 15 <= 13)) { + /* : y = (Vtg_FLU(LVL + 1, SET - 16) + Vtg_FLU(LVL + 1, SET - 16 + 1)) / 2; */ + i = FLU_tg[(rtb_y_ge - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ge - 16) * 6 + + rtb_Merge_j]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_y_ltp = (int16_t)rt_roundd((double)i / 2.0); + } else { + /* : else */ + /* : y = Vtg_FLU(LVL + 1, SET - 16); */ + rtb_y_ltp = FLU_tg[(rtb_y_ge - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 Vtg_FLU' */ + + /* MATLAB Function: '/2.1 Incar target Left' incorporates: + * Gain: '/Gain2' + */ + u1Incartarget(rtb_y_ge, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_c23); + + /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' incorporates: + * Gain: '/Gain2' + */ + Y1Y4Vtg_FX_incar(rtb_y_ge, rtb_Merge_j, rtb_y_fg); + + /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' incorporates: + * Gain: '/Gain2' + */ + X1X4Vtg_FX_incar(rtb_y_ge, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read35' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' + */ + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_c23 - rtDW.Incar_FL), + &rtb_y_oz[0], rtb_y_fg, 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_c23); + + /* MATLAB Function: '/Y1-Y2 для Vtg_FL_amb' incorporates: + * Gain: '/Gain2' + */ + Y1Y2Vtg_FL_amb(rtb_y_ge, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X2 для Vtg_FL_amb' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/correction max' + * MATLAB Function: '/correction rate' + * MATLAB Function: '/correction_start_time' + */ + /* : 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]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assVF_AMB_X1_LV0[i]; + rtb_y_l_tmp = 6 * i + 1; + tmp[rtb_y_l_tmp] = g_assVF_AMB_X1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assVF_AMB_X1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assVF_AMB_X1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assVF_AMB_X1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assVF_AMB_X1_LV5[i]; + tmp_0[6 * i] = g_assVF_AMB_X2_LV0[i]; + tmp_0[rtb_y_l_tmp] = g_assVF_AMB_X2_LV1[i]; + tmp_0[tmp_4] = g_assVF_AMB_X2_LV2[i]; + tmp_0[tmp_5] = g_assVF_AMB_X2_LV3[i]; + tmp_0[tmp_6] = g_assVF_AMB_X2_LV4[i]; + tmp_0[tmp_7] = g_assVF_AMB_X2_LV5[i]; + } + + rtb_y_l_tmp = ((int32_t)trunc((((double)rtb_y_ge - 16.0) + 1.0) / 2.0) - 1) * + 6 + rtb_Merge_j; + rtb_y_b4[0] = tmp[rtb_y_l_tmp]; + rtb_y_b4[1] = 0; + rtb_y_b4[2] = tmp_0[rtb_y_l_tmp]; + + /* End of MATLAB Function: '/X1-X2 для Vtg_FL_amb' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read34' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_c23 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_c23 - rtb_LVL), + rtb_y_b4, &rtb_y_fg[0], 2U); + + /* MATLAB Function: '/Y1-Y2 для Vtg_FX_sun' incorporates: + * Gain: '/Gain2' + */ + Y1Y2Vtg_FX_sun(rtb_y_ge, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X2 для Vtg_FX_sun' incorporates: + * Gain: '/Gain2' + */ + X1X2Vtg_FX_sun(rtb_y_ge, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read39' + */ + rtb_Divide3 = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_oz[0], &rtb_y_fg[0], + 2U); + + /* Sum: '/2.8. Vtg_FX_plus' */ + rtb_Divide3 += (double)((rtb_y_ltp + rtb_y_gu) + rtb_y_c23); + + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_Divide3 > rtb_y_ii); + + /* MATLAB Function: '/Vtg_FX_plus_min' incorporates: + * Gain: '/Gain2' + */ + Vtg_FX_plus_min(rtb_y_ge, rtb_Merge_j, &rtb_y_c23); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_Divide3 = rtb_y_ii; + } else if (rtb_Divide3 < rtb_y_c23) { + /* Switch: '/Switch' */ + rtb_Divide3 = rtb_y_c23; + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator2_nm); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read40' + * UnitDelay: '/t_start_delay_private ' + */ + /* : 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) */ + rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_gx; + + /* MATLAB Function: '/correction_start_time' */ + /* : 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)); */ + 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]; + } + + /* RelationalOperator: '/Relational Operator' incorporates: + * Gain: '/из сек в мс' + * MATLAB Function: '/correction_start_time' + */ + rtb_RelationalOperator2_nm = ((int64_t)rtb_Subtract >= tmp[rtb_y_l_tmp] * + 1000); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Logic: '/ After start control system works X sec' + * UnitDelay: '/Unit Delay' + */ + if (rtb_RelationalOperator2_nm && (rtDW.UnitDelay_DSTATE_br != 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]; + } + + /* Product: '/Product' incorporates: + * Constant: '/Constant1' + * MATLAB Function: '/correction rate' + * Product: '/Divide' + */ + rtb_rate = (double)rtb_Subtract / 10000.0 * (double)tmp[rtb_y_l_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_l_tmp] * 13107; + rtb_y_ge = (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_rate > rtb_y_ge) { + rtb_rate = rtb_y_ge; + } else if (rtb_rate < 0.0) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + */ + rtb_rate = 0.0; + } + + /* End of Switch: '/Switch2' */ + } else { + rtb_rate = 0.0; + } + + /* End of Switch: '/Switch' */ + + /* Sum: '/Add' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_rate = rtb_Divide3 - floor(rtb_rate); + + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * DataStoreWrite: '/Data Store Write8' + */ + rtb_Divide1 = fabs(rtb_rate); + if (rtb_Divide1 < 4.503599627370496E+15) { + if (rtb_Divide1 >= 0.5) { + rtDW.Blower_AF_FL = (uint8_t)floor(rtb_rate + 0.5); + } else { + rtDW.Blower_AF_FL = 0U; + } + } else { + rtDW.Blower_AF_FL = (uint8_t)rtb_rate; + } + + /* End of DataTypeConversion: '/Data Type Conversion3' */ + + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + */ + rtb_Subtract = 52429U * rtb_Saturation1_j; + rtb_y_ltp = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + + (rtb_Subtract >> 19)); + + /* MATLAB Function: '/Vtg_FX_plus_max' incorporates: + * Gain: '/Gain2' + */ + Vtg_FX_plus_max(rtb_y_ltp, rtb_Merge_j, &rtb_y_ge); + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1_j, &rtb_RelationalOperator2_nm); + + /* 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++) { + FLU_tg[6 * i] = g_assVTG_FR_LV0[i]; + FLU_tg[6 * i + 1] = g_assVTG_FR_LV1[i]; + FLU_tg[6 * i + 2] = g_assVTG_FR_LV2[i]; + FLU_tg[6 * i + 3] = g_assVTG_FR_LV3[i]; + FLU_tg[6 * i + 4] = g_assVTG_FR_LV4[i]; + FLU_tg[6 * i + 5] = g_assVTG_FR_LV5[i]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_FLU)) */ + if (rtb_RelationalOperator2_nm && (rtb_y_ltp - 15 <= 13)) { + /* : y = (Vtg_FLU(LVL + 1, SET - 16) + Vtg_FLU(LVL + 1, SET - 16 + 1)) / 2; */ + i = FLU_tg[(rtb_y_ltp - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ltp - 16) * + 6 + rtb_Merge_j]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_y_ha = (int16_t)rt_roundd((double)i / 2.0); + } else { + /* : else */ + /* : y = Vtg_FLU(LVL + 1, SET - 16); */ + rtb_y_ha = FLU_tg[(rtb_y_ltp - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 Vtg_FRU' */ + + /* MATLAB Function: '/2.1 Incar target Right' incorporates: + * Gain: '/Gain2' + */ + u1Incartarget_l(rtb_y_ltp, rtb_Merge_j, rtb_RelationalOperator2_nm, + &rtb_y_ii); + + /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' incorporates: + * Gain: '/Gain2' + */ + Y1Y4Vtg_FX_incar(rtb_y_ltp, rtb_Merge_j, rtb_y_fg); + + /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' incorporates: + * Gain: '/Gain2' + */ + X1X4Vtg_FX_incar(rtb_y_ltp, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read36' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ii - rtDW.Incar_FR), + &rtb_y_oz[0], rtb_y_fg, 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_ii); + + /* MATLAB Function: '/Y1-Y4 для Vtg_FR_amb' incorporates: + * Gain: '/Gain2' + */ + Y1Y2Vtg_FL_amb(rtb_y_ltp, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X4 для Vtg_FR_amb' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/correction max' + * MATLAB Function: '/correction rate' + * MATLAB Function: '/correction_start_time' + */ + /* : 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]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assVF_AMB_X1_LV0[i]; + rtb_y_l_tmp = 6 * i + 1; + tmp[rtb_y_l_tmp] = g_assVF_AMB_X1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assVF_AMB_X1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assVF_AMB_X1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assVF_AMB_X1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assVF_AMB_X1_LV5[i]; + tmp_0[6 * i] = g_assVF_AMB_X2_LV0[i]; + tmp_0[rtb_y_l_tmp] = g_assVF_AMB_X2_LV1[i]; + tmp_0[tmp_4] = g_assVF_AMB_X2_LV2[i]; + tmp_0[tmp_5] = g_assVF_AMB_X2_LV3[i]; + tmp_0[tmp_6] = g_assVF_AMB_X2_LV4[i]; + tmp_0[tmp_7] = g_assVF_AMB_X2_LV5[i]; + } + + rtb_y_l_tmp = ((int32_t)trunc((((double)rtb_y_ltp - 16.0) + 1.0) / 2.0) - 1) + * 6 + rtb_Merge_j; + rtb_y_b4[0] = tmp[rtb_y_l_tmp]; + rtb_y_b4[1] = 0; + rtb_y_b4[2] = tmp_0[rtb_y_l_tmp]; + + /* End of MATLAB Function: '/X1-X4 для Vtg_FR_amb' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read34' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_c23 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ii - rtb_LVL), + rtb_y_b4, &rtb_y_fg[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для Vtg_FX_sun' incorporates: + * Gain: '/Gain2' + */ + Y1Y2Vtg_FX_sun(rtb_y_ltp, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X4 для Vtg_FX_sun' incorporates: + * Gain: '/Gain2' + */ + X1X2Vtg_FX_sun(rtb_y_ltp, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read41' + */ + rtb_Divide3 = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_oz[0], &rtb_y_fg[0], + 2U); + + /* Sum: '/FLU_tg_correct' */ + rtb_Divide3 += (double)((rtb_y_ha + rtb_y_gu) + rtb_y_c23); + + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_Divide3 > rtb_y_ge); + + /* MATLAB Function: '/FXU_tg_min' incorporates: + * Gain: '/Gain2' + */ + Vtg_FX_plus_min(rtb_y_ltp, rtb_Merge_j, &rtb_y_ii); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_Divide3 = rtb_y_ge; + } else if (rtb_Divide3 < rtb_y_ii) { + /* Switch: '/Switch' */ + rtb_Divide3 = rtb_y_ii; + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1_j, &rtb_RelationalOperator2_nm); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read40' + * UnitDelay: '/t_start_delay_private ' + */ + /* : 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)); */ + rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_pf; + + /* MATLAB Function: '/correction_start_time' */ + /* : 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)); */ + 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]; + } + + /* RelationalOperator: '/Relational Operator' incorporates: + * Gain: '/из сек в мс' + * MATLAB Function: '/correction_start_time' + */ + rtb_RelationalOperator2_nm = ((int64_t)rtb_Subtract >= tmp[rtb_y_l_tmp] * + 1000); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Logic: '/ After start control system works X sec' + * UnitDelay: '/Unit Delay' + */ + if (rtb_RelationalOperator2_nm && (rtDW.UnitDelay_DSTATE_jc != 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]; + } + + /* Product: '/Product' incorporates: + * Constant: '/Constant1' + * MATLAB Function: '/correction rate' + * Product: '/Divide' + */ + rtb_rate = (double)rtb_Subtract / 10000.0 * (double)tmp[rtb_y_l_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_l_tmp] * 13107; + rtb_y_ge = (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_rate > rtb_y_ge) { + rtb_rate = rtb_y_ge; + } else if (rtb_rate < 0.0) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + */ + rtb_rate = 0.0; + } + + /* End of Switch: '/Switch2' */ + } else { + rtb_rate = 0.0; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' */ + rtb_y_gu = (int16_t)floor(rtb_rate); + + /* Sum: '/Add1' */ + rtb_rate = rtb_Divide3 - (double)rtb_y_gu; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write9' + */ + rtb_Divide1 = fabs(rtb_rate); + if (rtb_Divide1 < 4.503599627370496E+15) { + if (rtb_Divide1 >= 0.5) { + rtDW.Blower_AF_FR = (uint8_t)floor(rtb_rate + 0.5); + } else { + rtDW.Blower_AF_FR = 0U; + } + } else { + rtDW.Blower_AF_FR = (uint8_t)rtb_rate; + } + + /* End of DataTypeConversion: '/Data Type Conversion' */ + + /* 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_n) { + rtDW.t_start_delay_private_DSTATE_gx = 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_m) { + rtDW.t_start_delay_private_DSTATE_pf = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * Constant: '/Constant1' + */ + rtDW.UnitDelay_DSTATE_br = 1; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * Constant: '/Constant1' + */ + rtDW.UnitDelay_DSTATE_jc = 1; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_n = true; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_m = true; + } + + /* End of Logic: '/Logical Operator2' */ + /* End of Outputs for SubSystem: '/Front' */ + + /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator2' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read47' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal4' + */ + if ((rtDW.CCU_MODE_RL == 1) || (rtDW.CCU_MODE_RR == 1)) { + /* Gain: '/Gain2' */ + rtb_Subtract = 52429U * rtb_Saturation_as; + rtb_y_ii = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + + (rtb_Subtract >> 19)); + + /* MATLAB Function: '/Vtg_RX_plus_max' */ + Vtg_RX_plus_max(rtb_y_ii, rtb_Merge_j, &rtb_y_c23); + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator2_nm); + + /* 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]; + FLU_tg[6 * i + 1] = g_assVTG_RL_LV1[i]; + FLU_tg[6 * i + 2] = g_assVTG_RL_LV2[i]; + FLU_tg[6 * i + 3] = g_assVTG_RL_LV3[i]; + FLU_tg[6 * i + 4] = g_assVTG_RL_LV4[i]; + FLU_tg[6 * i + 5] = g_assVTG_RL_LV5[i]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_RLU)) */ + if (rtb_RelationalOperator2_nm && (rtb_y_ii - 15 <= 13)) { + /* : y = (Vtg_RLU(LVL + 1, SET - 16) + Vtg_RLU(LVL + 1, SET - 16 + 1)) / 2; */ + i = FLU_tg[(rtb_y_ii - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ii - 16) * 6 + + rtb_Merge_j]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_y_ltp = (int16_t)rt_roundd((double)i / 2.0); + } else { + /* : else */ + /* : y = Vtg_RLU(LVL + 1, SET - 16); */ + rtb_y_ltp = FLU_tg[(rtb_y_ii - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 Vtg_RL' */ + + /* MATLAB Function: '/2.1 Incar target Left' */ + u1Incartarget_e(rtb_y_ii, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_gu); + + /* MATLAB Function: '/Y1-Y4 для Vtg_FX_incar' */ + Y1Y4Vtg_FX_incar_b(rtb_y_ii, rtb_Merge_j, rtb_y_fg); + + /* MATLAB Function: '/X1-X4 для Vtg_FX_incar' */ + X1X4Vtg_FX_incar_c(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read37' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' + */ + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_gu - rtDW.Incar_RL), + &rtb_y_oz[0], rtb_y_fg, 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_gu); + + /* MATLAB Function: '/Y1-Y2 для Vtg_RL_amb' */ + Y1Y2Vtg_RL_amb(rtb_y_ii, rtb_Merge_j, &rtb_y_fg[0]); + + /* 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))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assVR_AMB_X1_LV0[i]; + rtb_y_l_tmp = 6 * i + 1; + tmp[rtb_y_l_tmp] = g_assVR_AMB_X1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assVR_AMB_X1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assVR_AMB_X1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assVR_AMB_X1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assVR_AMB_X1_LV5[i]; + tmp_0[6 * i] = g_assVR_AMB_X2_LV0[i]; + tmp_0[rtb_y_l_tmp] = g_assVR_AMB_X2_LV1[i]; + tmp_0[tmp_4] = g_assVR_AMB_X2_LV2[i]; + tmp_0[tmp_5] = g_assVR_AMB_X2_LV3[i]; + tmp_0[tmp_6] = g_assVR_AMB_X2_LV4[i]; + tmp_0[tmp_7] = g_assVR_AMB_X2_LV5[i]; + } + + rtb_y_l_tmp = ((int32_t)trunc((((double)rtb_y_ii - 16.0) + 1.0) / 2.0) - 1) * + 6 + rtb_Merge_j; + rtb_y_b4[0] = tmp[rtb_y_l_tmp]; + rtb_y_b4[1] = 0; + rtb_y_b4[2] = tmp_0[rtb_y_l_tmp]; + + /* End of MATLAB Function: '/X1-X2 для Vtg_RL_amb' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read34' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_gu - rtb_LVL), + rtb_y_b4, &rtb_y_fg[0], 2U); + + /* MATLAB Function: '/Y1-Y2 для Vtg_RX_sun' */ + Y1Y2Vtg_RX_sun(rtb_y_ii, rtb_Merge_j, &rtb_y_fg[0]); + + /* MATLAB Function: '/X1-X2 для Vtg_FX_sun' */ + X1X2Vtg_FX_sun_j(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read39' + */ + rtb_Divide3 = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_y_oz[0], &rtb_y_fg[0], + 2U); + + /* Sum: '/2.8. Vtg_FX_plus' */ + rtb_Divide3 += (double)((rtb_y_ltp + rtb_y_ge) + rtb_y_gu); + + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_Divide3 > rtb_y_c23); + + /* MATLAB Function: '/Vtg_RX_plus_min' */ + Vtg_RX_plus_min(rtb_y_ii, rtb_Merge_j, &rtb_y_gu); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_Divide3 = rtb_y_c23; + } else if (rtb_Divide3 < rtb_y_gu) { + /* Switch: '/Switch' */ + rtb_Divide3 = rtb_y_gu; + } + + /* End of Switch: '/Switch2' */ + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtb_Divide1 = fabs(rtb_Divide3); + if (rtb_Divide1 < 4.503599627370496E+15) { + if (rtb_Divide1 >= 0.5) { + rtDW.Blower_AF_RL = (uint8_t)floor(rtb_Divide3 + 0.5); + } else { + rtDW.Blower_AF_RL = 0U; + } + } else { + rtDW.Blower_AF_RL = (uint8_t)rtb_Divide3; + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* Gain: '/Gain2' */ + rtb_Subtract = 52429U * rtb_Saturation1_j; + rtb_y_ii = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + + (rtb_Subtract >> 19)); + + /* MATLAB Function: '/Vtg_RX_plus_max' */ + Vtg_RX_plus_max(rtb_y_ii, rtb_Merge_j, &rtb_y_c23); + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1_j, &rtb_RelationalOperator2_nm); + + /* 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]; + FLU_tg[6 * i + 1] = g_assVTG_RR_LV1[i]; + FLU_tg[6 * i + 2] = g_assVTG_RR_LV2[i]; + FLU_tg[6 * i + 3] = g_assVTG_RR_LV3[i]; + FLU_tg[6 * i + 4] = g_assVTG_RR_LV4[i]; + FLU_tg[6 * i + 5] = g_assVTG_RR_LV5[i]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(Vtg_RR)) */ + if (rtb_RelationalOperator2_nm && (rtb_y_ii - 15 <= 13)) { + /* : y = (Vtg_RR(LVL + 1, SET - 16) + Vtg_RR(LVL + 1, SET - 16 + 1)) / 2; */ + i = FLU_tg[(rtb_y_ii - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_ii - 16) * 6 + + rtb_Merge_j]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_y_ltp = (int16_t)rt_roundd((double)i / 2.0); + } else { + /* : else */ + /* : y = Vtg_RR(LVL + 1, SET - 16); */ + rtb_y_ltp = FLU_tg[(rtb_y_ii - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 Vtg_RR' */ + + /* MATLAB Function: '/2.1 Incar target Rear Right' */ + u1Incartarget_p(rtb_y_ii, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_ge); + + /* MATLAB Function: '/Y1-Y4 для Vtg_RX_incar' */ + Y1Y4Vtg_FX_incar_b(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); + + /* MATLAB Function: '/X1-X4 для Vtg_RX_incar' */ + X1X4Vtg_FX_incar_c(rtb_y_ii, rtb_Merge_j, rtb_y_fg); + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read38' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtDW.Incar_RR), + rtb_y_fg, &rtb_y_oz[0], 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_gu); + + /* MATLAB Function: '/Y1-Y4 для Vtg_RX_amb' */ + Y1Y2Vtg_RL_amb(rtb_y_ii, rtb_Merge_j, &rtb_y_fg[0]); + + /* 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))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assVR_AMB_X1_LV0[i]; + rtb_y_l_tmp = 6 * i + 1; + tmp[rtb_y_l_tmp] = g_assVR_AMB_X1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assVR_AMB_X1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assVR_AMB_X1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assVR_AMB_X1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assVR_AMB_X1_LV5[i]; + tmp_0[6 * i] = g_assVR_AMB_X2_LV0[i]; + tmp_0[rtb_y_l_tmp] = g_assVR_AMB_X2_LV1[i]; + tmp_0[tmp_4] = g_assVR_AMB_X2_LV2[i]; + tmp_0[tmp_5] = g_assVR_AMB_X2_LV3[i]; + tmp_0[tmp_6] = g_assVR_AMB_X2_LV4[i]; + tmp_0[tmp_7] = g_assVR_AMB_X2_LV5[i]; + } + + rtb_y_l_tmp = ((int32_t)trunc((((double)rtb_y_ii - 16.0) + 1.0) / 2.0) - 1) * + 6 + rtb_Merge_j; + rtb_y_b4[0] = tmp[rtb_y_l_tmp]; + rtb_y_b4[1] = 0; + rtb_y_b4[2] = tmp_0[rtb_y_l_tmp]; + + /* End of MATLAB Function: '/X1-X4 для Vtg_RX_amb' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read34' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_gu = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_gu - rtb_LVL), + rtb_y_b4, &rtb_y_fg[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для Vtg_RX_sun' */ + Y1Y2Vtg_RX_sun(rtb_y_ii, rtb_Merge_j, &rtb_y_oz[0]); + + /* MATLAB Function: '/X1-X4 для Vtg_RX_sun' */ + X1X2Vtg_FX_sun_j(rtb_y_ii, rtb_Merge_j, &rtb_y_fg[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read41' + */ + rtb_Divide3 = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_fg[0], &rtb_y_oz[0], + 2U); + + /* Sum: '/FLU_tg_correct' */ + rtb_LVL = (int16_t)floor((double)((rtb_y_ltp + rtb_y_ge) + rtb_y_gu) + + rtb_Divide3); + + /* MATLAB Function: '/Vtg_RX_plus_min' */ + Vtg_RX_plus_min(rtb_y_ii, rtb_Merge_j, &rtb_y_gu); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_LVL > rtb_y_c23) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write11' + */ + rtDW.Blower_AF_RR = (uint8_t)rtb_y_c23; + } else if (rtb_LVL < rtb_y_gu) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write11' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_AF_RR = (uint8_t)rtb_y_gu; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write11' + * Switch: '/Switch' + */ + rtDW.Blower_AF_RR = (uint8_t)rtb_LVL; + } + + /* End of Switch: '/Switch2' */ + } + + /* End of Logic: '/Logical Operator2' */ + /* End of Outputs for SubSystem: '/Subsystem' */ + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * Sum: '/Sum' + */ + /* : fprintf("MIN_PWM %u",uint16(u)); */ + rtb_y_ge = (int16_t)((g_ausMIN_PWM[0] + 10) >> 1); + if (rtb_y_ge <= 0) { + rtb_Saturation_as = 0U; + } else { + rtb_Saturation_as = (uint16_t)(rtb_y_ge << 1); + } + + printf("MIN_PWM %u", rtb_Saturation_as); + fflush(stdout); + + /* End of MATLAB Function: '/MATLAB Function1' */ /* Outputs for Atomic SubSystem: '/PWM and valves in manual' */ - /* Outputs for Enabled SubSystem: '/Front zone valves' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Front zone valves' incorporates: + * EnablePort: '/Enable' */ - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * RelationalOperator: '/Equal2' - * RelationalOperator: '/Equal3' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read45' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' */ if ((rtDW.CCU_MODE_FL == 0) && (rtDW.CCU_MODE_FR == 0)) { - /* MATLAB Function: '/Valves for Def' */ + /* MATLAB Function: '/Valves for Def' */ ValvesforDef(rtb_vals_m); - /* MATLAB Function: '/Valves for Hi_Level' */ + /* MATLAB Function: '/Valves for Hi_Level' */ /* : out = g_ausFLOW_FR_VE2VALVE; */ ValvesforHi_Level(Merge); - /* MATLAB Function: '/Valves for Foot + Def' */ + /* MATLAB Function: '/Valves for Foot + Def' */ /* : out = g_ausFLOW_FR_FO2VALVE; */ ValvesforFootDef(rtb_out_ic); - /* MATLAB Function: '/Valves for Bi Level' */ + /* MATLAB Function: '/Valves for Bi Level' */ ValvesforBiLevel(rtb_out_k4); - /* MATLAB Function: '/Valves for Tri-Level' */ + /* MATLAB Function: '/Valves for Tri-Level' */ ValvesforTriLevel(rtDW.valves_front_manual_target); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + (uint32_t) (rtDW.CCU_DEF_FL == 1)) + (uint32_t)((rtDW.CCU_FOOT_FL == 1) << 2))) { case 0: - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = 0U; } break; case 1: - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = rtb_vals_m[i]; } break; case 2: - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/Valves for Vent mode' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/Valves for Vent mode' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = g_ausFLOW_FR_VE2VALVE[i]; @@ -20218,15 +20825,15 @@ void HVAC_model_step(void) break; case 3: - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = Merge[i]; } break; case 4: - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/Valves for Foot' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/Valves for Foot' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = g_ausFLOW_FR_FO2VALVE[i]; @@ -20234,54 +20841,54 @@ void HVAC_model_step(void) break; case 5: - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = rtb_out_ic[i]; } break; case 6: - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = rtb_out_k4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/Valves for Def' */ + /* MATLAB Function: '/Valves for Def' */ ValvesforDef(rtb_vals_m); - /* MATLAB Function: '/Valves for Hi_Level' */ + /* MATLAB Function: '/Valves for Hi_Level' */ /* : out = g_ausFLOW_FR_VE2VALVE; */ ValvesforHi_Level(Merge); - /* MATLAB Function: '/Valves for Foot + Def' */ + /* MATLAB Function: '/Valves for Foot + Def' */ /* : out = g_ausFLOW_FR_FO2VALVE; */ ValvesforFootDef(rtb_out_ic); - /* MATLAB Function: '/Valves for Bi Level' */ + /* MATLAB Function: '/Valves for Bi Level' */ ValvesforBiLevel(rtb_out_k4); - /* MATLAB Function: '/Valves for Tri-Level' */ + /* MATLAB Function: '/Valves for Tri-Level' */ ValvesforTriLevel(rtb_out_ly); - /* 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' - * MATLAB Function: '/Valves for Foot' - * MATLAB Function: '/Valves for Vent mode' - * 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' + * MATLAB Function: '/Valves for Foot' + * MATLAB Function: '/Valves for Vent mode' + * 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 == @@ -20329,80 +20936,80 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Assignment: '/Присваивание в [3-4]' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.valves_front_manual_target[2] = rtb_out_ly[2]; - /* Assignment: '/Присваивание в [7-8]' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Assignment: '/Присваивание в [7-8]' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.valves_front_manual_target[6] = rtb_out_ly[6]; - /* Assignment: '/Присваивание в [3-4]' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.valves_front_manual_target[3] = rtb_out_ly[3]; - /* Assignment: '/Присваивание в [7-8]' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Assignment: '/Присваивание в [7-8]' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.valves_front_manual_target[7] = rtb_out_ly[7]; } - /* End of Logic: '/Logical Operator1' */ - /* End of Outputs for SubSystem: '/Front zone valves' */ + /* End of Logic: '/Logical Operator1' */ + /* End of Outputs for SubSystem: '/Front zone valves' */ - /* Outputs for Enabled SubSystem: '/Rear zone valves' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Rear zone valves' incorporates: + * EnablePort: '/Enable' */ - /* Logic: '/Logical Operator2' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal4' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read45' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' */ if ((rtDW.CCU_MODE_RL == 0) && (rtDW.CCU_MODE_RR == 0)) { - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ valvesforVentmode(rtb_urear); - /* MATLAB Function: '/AF for Bi Level' */ + /* MATLAB Function: '/AF for Bi Level' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ AFforBiLevel_m(rtDW.valves_rear_manual_target); - /* 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: - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 6; i++) { rtDW.valves_rear_manual_target[i] = 0U; } break; case 1: - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 6; i++) { rtDW.valves_rear_manual_target[i] = rtb_urear[i]; } break; case 2: - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/AF for Foot' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/AF for Foot' */ for (i = 0; i < 6; i++) { rtDW.valves_rear_manual_target[i] = g_ausFLOW_RE_FO2VALVE[i]; @@ -20410,25 +21017,25 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ valvesforVentmode(rtb_urear); - /* MATLAB Function: '/AF for Bi Level' */ + /* MATLAB Function: '/AF for Bi Level' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ AFforBiLevel_m(rtb_out_pj); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * Gain: '/Gain2' - * MATLAB Function: '/AF for Foot' - * 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' + * MATLAB Function: '/AF for Foot' + * 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))) { @@ -20457,91 +21064,173 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Assignment: '/Присваивание в [3-4] rear' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Assignment: '/Присваивание в [3-4] rear' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.valves_rear_manual_target[2] = rtb_vals_m[2]; rtDW.valves_rear_manual_target[3] = rtb_vals_m[3]; - /* Assignment: '/Присваивание в [6] rear' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Assignment: '/Присваивание в [6] rear' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.valves_rear_manual_target[5] = rtb_vals_m[5]; } - /* End of Logic: '/Logical Operator2' */ - /* End of Outputs for SubSystem: '/Rear zone valves' */ + /* End of Logic: '/Logical Operator1' */ + /* End of Outputs for SubSystem: '/Rear zone valves' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read11' + /* Outputs for Enabled SubSystem: '/Fromt zone PWM' incorporates: + * EnablePort: '/Enable' */ - rtb_Equal2_p = (rtDW.CCU_MODE_FL == 0); - - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read12' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read45' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' */ - rtb_LogicalOperator1 = (rtDW.CCU_MODE_FR == 0); - - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1_dv = (rtb_Equal2_p && rtb_LogicalOperator1); - - /* Outputs for Enabled SubSystem: '/Fromt zone PWM' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_LogicalOperator1_dv) { - /* MATLAB Function: '/AF for Def' incorporates: - * DataStoreRead: '/Data Store Read11' + if ((rtDW.CCU_MODE_FL == 0) && (rtDW.CCU_MODE_FR == 0)) { + /* MATLAB Function: '/AF for Def' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforDef(rtDW.CCU_BLOWERS_FL, &rtb_Saturation1); + AFforDef(rtDW.CCU_BLOWERS_FR, &rtb_Saturation1_j); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforVentmode(rtDW.CCU_BLOWERS_FL, &rtb_Saturation2); + AFforVentmode(rtDW.CCU_BLOWERS_FR, &rtb_Saturation2_a); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforHi_Level(rtDW.CCU_BLOWERS_FL, &rtb_out_dr); + AFforHi_Level(rtDW.CCU_BLOWERS_FR, &rtb_out_il); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforFoot(rtDW.CCU_BLOWERS_FL, &rtb_out_jaw); + AFforFoot(rtDW.CCU_BLOWERS_FR, &rtb_out_fe); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforFoorDef(rtDW.CCU_BLOWERS_FL, &rtb_out_pl); + AFforFoorDef(rtDW.CCU_BLOWERS_FR, &rtb_out_c3); - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforBiLevel(rtDW.CCU_BLOWERS_FL, &rtb_out_po); + AFforBiLevel(rtDW.CCU_BLOWERS_FR, &rtb_out_gdu); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + AFforTriLevel(rtDW.CCU_BLOWERS_FR, &rtb_Saturation_as); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read14' + * 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: + rtb_Saturation_as = 0U; + break; + + case 1: + rtb_Saturation_as = rtb_Saturation1_j; + break; + + case 2: + rtb_Saturation_as = rtb_Saturation2_a; + break; + + case 3: + rtb_Saturation_as = rtb_out_il; + break; + + case 4: + rtb_Saturation_as = rtb_out_fe; + break; + + case 5: + rtb_Saturation_as = rtb_out_c3; + break; + + case 6: + rtb_Saturation_as = rtb_out_gdu; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' + */ + rtDW.Blower_AF_FR = (uint8_t)rtb_Saturation_as; + + /* MATLAB Function: '/AF for Def' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + AFforDef(rtDW.CCU_BLOWERS_FL, &rtb_Saturation1_j); + + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + AFforVentmode(rtDW.CCU_BLOWERS_FL, &rtb_Saturation2_a); + + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + AFforHi_Level(rtDW.CCU_BLOWERS_FL, &rtb_out_il); + + /* MATLAB Function: '/AF for Foot' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + AFforFoot(rtDW.CCU_BLOWERS_FL, &rtb_out_fe); + + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + AFforFoorDef(rtDW.CCU_BLOWERS_FL, &rtb_out_c3); + + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + AFforBiLevel(rtDW.CCU_BLOWERS_FL, &rtb_out_gdu); + + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforTriLevel(rtDW.CCU_BLOWERS_FL, &rtb_Saturation_as); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * 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' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + (uint32_t) (rtDW.CCU_DEF_FL == 1)) + (uint32_t)((rtDW.CCU_FOOT_FL == @@ -20551,223 +21240,78 @@ void HVAC_model_step(void) break; case 1: - rtb_Saturation_as = rtb_Saturation1; + rtb_Saturation_as = rtb_Saturation1_j; break; case 2: - rtb_Saturation_as = rtb_Saturation2; + rtb_Saturation_as = rtb_Saturation2_a; break; case 3: - rtb_Saturation_as = rtb_out_dr; + rtb_Saturation_as = rtb_out_il; break; case 4: - rtb_Saturation_as = rtb_out_jaw; + rtb_Saturation_as = rtb_out_fe; break; case 5: - rtb_Saturation_as = rtb_out_pl; + rtb_Saturation_as = rtb_out_c3; break; case 6: - rtb_Saturation_as = rtb_out_po; + rtb_Saturation_as = rtb_out_gdu; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for Def' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - AFforDef(rtDW.CCU_BLOWERS_FR, &rtb_Saturation2); - - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - AFforVentmode(rtDW.CCU_BLOWERS_FR, &rtb_out_dr); - - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - AFforHi_Level(rtDW.CCU_BLOWERS_FR, &rtb_out_jaw); - - /* MATLAB Function: '/AF for Foot' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - AFforFoot(rtDW.CCU_BLOWERS_FR, &rtb_out_pl); - - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - AFforFoorDef(rtDW.CCU_BLOWERS_FR, &rtb_out_po); - - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - AFforBiLevel(rtDW.CCU_BLOWERS_FR, &rtb_out_bz); - - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - AFforTriLevel(rtDW.CCU_BLOWERS_FR, &rtb_Saturation1); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read14' - * 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: - rtb_Saturation1 = 0U; - break; - - case 1: - rtb_Saturation1 = rtb_Saturation2; - break; - - case 2: - rtb_Saturation1 = rtb_out_dr; - break; - - case 3: - rtb_Saturation1 = rtb_out_jaw; - break; - - case 4: - rtb_Saturation1 = rtb_out_pl; - break; - - case 5: - rtb_Saturation1 = rtb_out_po; - break; - - case 6: - rtb_Saturation1 = rtb_out_bz; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Product: '/Divide' incorporates: - * Constant: '/Constant' - * Sum: '/Add' - */ - rtb_rate = (double)(uint16_t)((uint32_t)rtb_Saturation_as + rtb_Saturation1) - / 4.0; - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * Product: '/Divide1' - */ - if (rtb_rate < 15.0) { - rtb_rate *= 2.0; - } - - /* End of Switch: '/Switch' */ - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint8_t)rtb_rate > 80) { - rtDW.PWM_front = 80U; - } else if ((uint8_t)rtb_rate < 15) { - rtDW.PWM_front = 15U; - } else { - rtDW.PWM_front = (uint8_t)rtb_rate; - } - - /* End of Saturate: '/Saturation' */ - - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtDW.Blower_AF_FL = (uint8_t)rtb_Saturation_as; - - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' - */ - rtDW.Blower_AF_FR = (uint8_t)rtb_Saturation1; - - /* MATLAB Function: '/Write' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : fprintf('pwmFront_output = %u \n',data); */ - printf("pwmFront_output = %u \n", rtDW.PWM_front); - fflush(stdout); - - /* MATLAB Function: '/Write2' incorporates: - * DataStoreRead: '/Data Store Read11' - */ - /* : fprintf('speedL_input = %u \n',data); */ - printf("speedL_input = %u \n", rtDW.CCU_BLOWERS_FL); - fflush(stdout); } - /* End of Outputs for SubSystem: '/Fromt zone PWM' */ + /* End of Logic: '/Logical Operator1' */ + /* End of Outputs for SubSystem: '/Fromt zone PWM' */ - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' + /* Outputs for Enabled SubSystem: '/Rear zone PWM' incorporates: + * EnablePort: '/Enable' */ - /* : fprintf('mode_FL = %u, mode_FR = %u, if_FL_on = %u, if_FR_on = %u, if_both_on = %u \n', mode_FL, mode_FR, if_FL_on, if_FR_on, if_both_on); */ - printf("mode_FL = %u, mode_FR = %u, if_FL_on = %u, if_FR_on = %u, if_both_on = %u \n", - rtDW.CCU_MODE_FL, rtDW.CCU_MODE_FR, (uint8_t)rtb_Equal2_p, (uint8_t) - rtb_LogicalOperator1, (uint8_t)rtb_LogicalOperator1_dv); - fflush(stdout); - - /* Outputs for Enabled SubSystem: '/Rear zone PWM' incorporates: - * EnablePort: '/Enable' - */ - /* Logic: '/Logical Operator2' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal4' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read45' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' */ if ((rtDW.CCU_MODE_RL == 0) && (rtDW.CCU_MODE_RR == 0)) { - /* MATLAB Function: '/AF for Vent mode R' incorporates: - * DataStoreRead: '/Data Store Read18' + /* MATLAB Function: '/AF for Vent mode R' incorporates: + * DataStoreRead: '/Data Store Read18' */ - AFforVentmodeR(rtDW.CCU_BLOWERS_RL, &rtb_Saturation1); + AFforVentmodeR(rtDW.CCU_BLOWERS_RL, &rtb_Saturation1_j); - /* MATLAB Function: '/AF for Foot R' incorporates: - * DataStoreRead: '/Data Store Read18' + /* MATLAB Function: '/AF for Foot R' incorporates: + * DataStoreRead: '/Data Store Read18' */ - AFforFootR(rtDW.CCU_BLOWERS_RL, &rtb_Saturation2); + AFforFootR(rtDW.CCU_BLOWERS_RL, &rtb_Saturation2_a); - /* MATLAB Function: '/AF for Bi Level R' incorporates: - * DataStoreRead: '/Data Store Read18' + /* MATLAB Function: '/AF for Bi Level R' incorporates: + * DataStoreRead: '/Data Store Read18' */ AFforBiLevelR(rtDW.CCU_BLOWERS_RL, &rtb_Saturation_as); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read20' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' + * 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))) { @@ -20776,152 +21320,117 @@ void HVAC_model_step(void) break; case 1: - rtb_Saturation_as = rtb_Saturation1; + rtb_Saturation_as = rtb_Saturation1_j; break; case 2: - rtb_Saturation_as = rtb_Saturation2; + rtb_Saturation_as = rtb_Saturation2_a; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for Vent mode R' incorporates: - * DataStoreRead: '/Data Store Read15' + /* DataTypeConversion: '/Data Type Conversion4' incorporates: + * DataStoreWrite: '/Data Store Write4' */ - AFforVentmodeR(rtDW.CCU_BLOWERS_RR, &rtb_Saturation2); + rtDW.Blower_AF_RL = (uint8_t)rtb_Saturation_as; - /* MATLAB Function: '/AF for Foot R' incorporates: - * DataStoreRead: '/Data Store Read15' + /* MATLAB Function: '/AF for Vent mode R' incorporates: + * DataStoreRead: '/Data Store Read15' */ - AFforFootR(rtDW.CCU_BLOWERS_RR, &rtb_out_dr); + AFforVentmodeR(rtDW.CCU_BLOWERS_RR, &rtb_Saturation1_j); - /* MATLAB Function: '/AF for Bi Level R' incorporates: - * DataStoreRead: '/Data Store Read15' + /* MATLAB Function: '/AF for Foot R' incorporates: + * DataStoreRead: '/Data Store Read15' */ - AFforBiLevelR(rtDW.CCU_BLOWERS_RR, &rtb_Saturation1); + AFforFootR(rtDW.CCU_BLOWERS_RR, &rtb_Saturation2_a); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read16' - * DataStoreRead: '/Data Store Read17' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MATLAB Function: '/AF for Bi Level R' incorporates: + * DataStoreRead: '/Data Store Read15' + */ + AFforBiLevelR(rtDW.CCU_BLOWERS_RR, &rtb_Saturation_as); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' + * 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: - rtb_Saturation1 = 0U; + rtb_Saturation_as = 0U; break; case 1: - rtb_Saturation1 = rtb_Saturation2; + rtb_Saturation_as = rtb_Saturation1_j; break; case 2: - rtb_Saturation1 = rtb_out_dr; + rtb_Saturation_as = rtb_Saturation2_a; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant1' - * Sum: '/Add1' + /* DataTypeConversion: '/Data Type Conversion5' incorporates: + * DataStoreWrite: '/Data Store Write5' */ - rtb_rate = (double)(uint16_t)((uint32_t)rtb_Saturation_as + rtb_Saturation1) - / 4.0; - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * Product: '/Divide2' - */ - if (rtb_rate < 15.0) { - rtb_rate *= 2.0; - } - - /* End of Switch: '/Switch' */ - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - if ((uint8_t)rtb_rate <= 80) { - rtDW.PWM_rear = (uint8_t)rtb_rate; - } else { - rtDW.PWM_rear = 80U; - } - - /* End of Saturate: '/Saturation' */ - - /* DataTypeConversion: '/Data Type Conversion4' incorporates: - * DataStoreWrite: '/Data Store Write4' - */ - rtDW.Blower_AF_RL = (uint8_t)rtb_Saturation_as; - - /* DataTypeConversion: '/Data Type Conversion5' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.Blower_AF_RR = (uint8_t)rtb_Saturation1; - - /* MATLAB Function: '/Write1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - /* : fprintf('pwmRear_output = %u \n',data); */ - printf("pwmRear_output = %u \n", rtDW.PWM_rear); - fflush(stdout); + rtDW.Blower_AF_RR = (uint8_t)rtb_Saturation_as; } - /* End of Logic: '/Logical Operator2' */ - /* End of Outputs for SubSystem: '/Rear zone PWM' */ + /* End of Logic: '/Logical Operator1' */ + /* End of Outputs for SubSystem: '/Rear zone PWM' */ /* End of Outputs for SubSystem: '/PWM and valves in manual' */ - /* If: '/если SC front не завершен' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataTypeConversion: '/Data Type Conversion' + /* If: '/если SC front не завершен' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataTypeConversion: '/Data Type Conversion' */ 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, &rtb_LVL); - /* 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); @@ -20929,45 +21438,45 @@ 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: '/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' */ if ((rtDW.Incar_FL > rtb_LVL) && (rtDW.MODE_DRIVER == 1.0) && (rtDW.CCU_SET_FL < g_ausSTART_ENTER_SETTEMP[i - 1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h = -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, &rtb_LVL); - /* 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); @@ -20980,191 +21489,191 @@ void HVAC_model_step(void) rtb_Saturation_as = 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: '/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' */ if ((rtDW.Incar_FL > rtb_LVL) && (rtDW.MODE_DRIVER == 1.0) && (rtDW.CCU_SET_FL < rtb_Saturation_as)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h = -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' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * SignalConversion generated from: '/step' */ rtB.Merge_h = 0; - /* 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, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * Constant: '/AUTO' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' */ if ((rtDW.ECT < rtb_LVL) && (rtDW.MODE_DRIVER == 1.0)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h = -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); - /* 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); - /* 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); - /* 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); - /* 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); - /* 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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ rtb_Merge_a = 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); @@ -21177,232 +21686,232 @@ void HVAC_model_step(void) rtb_Subtract = 0U; } - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' - * RelationalOperator: '/Relational Operator' - * 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]); - /* 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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ rtb_Merge_a = 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, &rtb_LVL); - /* 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 > rtb_LVL); - /* 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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ rtb_Merge_a = 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, &rtb_LVL); - /* 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 > rtb_LVL); - /* 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, &rtb_Merge_m); - /* 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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (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, &rtb_LVL); - /* 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); @@ -21415,298 +21924,298 @@ void HVAC_model_step(void) rtb_Saturation_as = 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 < rtb_LVL) || (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_pd > (uint16_t)(1000 * rtb_Saturation_as))) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' + * SignalConversion generated from: '/step' */ rtB.Merge_h = 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; } - /* 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_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_gx)) { rtDW.t_start_delay_private_DSTATE_pd = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_gx = rtb_LogicalOperator1; - /* 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, &rtb_Merge_m); - /* 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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (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, &rtb_LVL); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_y_ge); - /* 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_dv = (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_mk > (uint32_t)(1000 * rtb_y_ge)); - /* 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_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_hs)) { rtDW.t_start_delay_private_DSTATE_mk = 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 < rtb_LVL) || rtb_LogicalOperator1_dv) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_h = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_h = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_hs = rtb_LogicalOperator1; - /* 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; - /* 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, &rtb_Merge_m); - /* 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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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_jq); - /* 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_j4); - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_j4, rtb_out_jq, 1U); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Blower_FL = (uint16_t)rtb_LVL; - /* 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_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (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, &rtb_y_ge); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_LVL); - /* 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_dv = (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_fm > (uint32_t)(1000 * rtb_LVL)); - /* 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 (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_fi)) { rtDW.t_start_delay_private_DSTATE_fm = 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) { @@ -21721,38 +22230,38 @@ void HVAC_model_step(void) rtb_Subtract = 0U; } - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreRead: '/incar temp' - * Logic: '/Logical Operator' - * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' */ if ((rtDW.Incar_FL < rtb_y_ge) || rtb_LogicalOperator1_dv || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[(int32_t)rtb_Subtract - 1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step 2' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step 2' */ rtB.Merge_h = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_h = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_fi = rtb_LogicalOperator1; - /* 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, &rtb_Saturation_as, &rtDW.Dtg_FLL, &rtb_Merge_a, &rtDW.Dtg_FUL, &Dtg_FUR, &rtDW.ECT, @@ -21760,12 +22269,12 @@ void HVAC_model_step(void) &rtDW.LEVEL, &rtDW.Mode_FL, &Mode_FR, &rtb_rate, &rtb_Merge_m, &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level4_cw); - /* 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, &rtb_Saturation_as, &rtDW.Dtg_FLL, &rtb_Merge_a, &rtDW.Dtg_FUL, &Dtg_FUR, &rtDW.ECT, @@ -21773,717 +22282,717 @@ void HVAC_model_step(void) &rtDW.LEVEL, &rtDW.Mode_FL, &Mode_FR, &rtb_rate, &rtb_Merge_m, &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level5_g); - /* 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, &rtb_Merge_m); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' */ Dtg_FrontLower_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' */ timeforstep(rtDW.LEVEL, &rtb_Merge_e); - /* 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)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_k) * (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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_pb) * (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, &rtb_Merge_j); - /* 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_Merge_e); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_j = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_LogicalOperator1 = (rtb_Merge_j <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ step_j(rtDW.LEVEL, &rtb_Merge_e); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ timeforstep_g(rtDW.LEVEL, &rtb_Merge_j); - /* 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 (rtb_LogicalOperator1) { - /* 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_Merge_e / (double)rtb_Merge_j / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_mk) * (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); */ rtb_Saturation_as = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_LogicalOperator1 = (rtb_Saturation_as <= 0.01); - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowerstep(rtDW.LEVEL, &rtb_Saturation1); + blowerstep(rtDW.LEVEL, &rtb_Saturation1_j); - /* 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, &rtb_Saturation_as); - /* 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 (rtb_LogicalOperator1) { - /* 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)rtb_Saturation1 / (double) + rtDW.Blower_FL = (uint16_t)((double)rtb_Saturation1_j / (double) rtb_Saturation_as / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_gm) * (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_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (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; - /* 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_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_mb)) { rtDW.t_start_delay_private_DSTATE_gp = 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, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ if (rtb_Subtract > (uint32_t)(1000 * rtb_LVL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ rtB.Merge_h = 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; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_pb = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_mk = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_gm = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_mb = rtb_LogicalOperator1; - /* 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_a(rtDW.LEVEL, &rtb_Merge_m); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' */ Dtg_FrontLower_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' */ timeforstep(rtDW.LEVEL, &rtb_Merge_e); - /* 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)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_m) * (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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_gf) * (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, &rtb_Merge_j); - /* 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_Merge_e); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_j = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ step_j(rtDW.LEVEL, &rtb_Merge_e); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ timeforstep_g(rtDW.LEVEL, &rtb_Merge_m); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (rtb_Merge_j <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Mode_FL = (uint8_t)((double)rtb_Merge_e / (double)rtb_Merge_m / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_l) * (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_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Saturation_as = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_LogicalOperator1 = (rtb_Saturation_as <= 0.01); - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowerstep(rtDW.LEVEL, &rtb_Saturation1); + blowerstep(rtDW.LEVEL, &rtb_Saturation1_j); - /* 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, &rtb_Saturation_as); - /* 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 (rtb_LogicalOperator1) { - /* 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)rtb_Saturation1 / (double) + rtDW.Blower_FL = (uint16_t)((double)rtb_Saturation1_j / (double) rtb_Saturation_as / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_p0) * (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_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (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_mz; - /* 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_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_b)) { rtDW.t_start_delay_private_DSTATE_mz = 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, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ if (rtb_Subtract > (uint32_t)(1000 * rtb_LVL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ rtB.Merge_h = 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_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; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_l = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_p0 = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_b = rtb_LogicalOperator1; - /* 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 = 3; - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ Level3(&rtB.Merge_h, &Autodefog, &rtDW.Blower_FL, &rtb_Saturation_as, &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &rtb_Merge_a, &rtDW.Dtg_FUL, @@ -22493,12 +23002,12 @@ void HVAC_model_step(void) &rtb_rate, &rtb_Merge_m, &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level3_l); - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ Level3(&rtB.Merge_h, &Autodefog, &rtDW.Blower_FL, &rtb_Saturation_as, &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &rtb_Merge_a, &rtDW.Dtg_FUL, @@ -22508,875 +23017,300 @@ void HVAC_model_step(void) &rtb_rate, &rtb_Merge_m, &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level4_a); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read10' - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ uwayvalvestatus_a(rtDW.LEVEL, &rtb_Merge_m); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' */ Dtg_FrontLower_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' */ timeforstep(rtDW.LEVEL, &rtb_Merge_e); - /* 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)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_f) * (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, &rtb_Merge_j); - /* 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_Merge_e); - /* 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)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_pu) * (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, &rtb_Merge_j); - /* 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_Merge_e); - /* MATLAB Function: '/autodemist (autodefog)' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/autodemist (autodefog)' incorporates: + * DataStoreRead: '/Data Store Read3' */ autodemistautodefog(rtDW.LEVEL, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_e = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ step_j(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ timeforstep_g(rtDW.LEVEL, &rtb_Merge_m); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (rtb_Merge_e <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Mode_FL = (uint8_t)((double)rtb_Merge_j / (double)rtb_Merge_m / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_b) * (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_Merge_e); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Saturation_as = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_LogicalOperator1 = (rtb_Saturation_as <= 0.01); - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowerstep(rtDW.LEVEL, &rtb_Saturation1); + blowerstep(rtDW.LEVEL, &rtb_Saturation1_j); - /* 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, &rtb_Saturation_as); - /* 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 (rtb_LogicalOperator1) { - /* 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)rtb_Saturation1 / (double) + rtDW.Blower_FL = (uint16_t)((double)rtb_Saturation1_j / (double) rtb_Saturation_as / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_e) * (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_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_front == 2); - /* 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, &rtb_LVL); - /* 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_dv = (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_n > (uint32_t)(1000 * rtb_LVL)); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_iy)) { - rtDW.t_start_delay_private_DSTATE_n = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - */ - if (rtb_LogicalOperator1_dv || rtDW.HI_logic_on) { - /* 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: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_f = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_pu = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_b = 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 = rtb_LogicalOperator1; - - /* End of Outputs for SubSystem: '/Level 5' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 2 F' */ - break; - - case 3: - /* Outputs for IfAction SubSystem: '/Step 3 F' incorporates: - * ActionPort: '/Action Port' - */ - Step3F(&rtB.Merge_h, &rtDW.start_control_finished_front); - - /* End of Outputs for SubSystem: '/Step 3 F' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.step_start_controle_front = rtB.Merge_h; - - /* End of Outputs for SubSystem: '/Start Control Front' */ - } - - /* End of If: '/если SC front не завершен' */ - - /* 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' - */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtDW.step_start_controle_rear) { - case -1: - /* Outputs for IfAction SubSystem: '/Step -1 R (Entry Condition)' incorporates: - * ActionPort: '/Action Port' - */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - switch (rtDW.LEVEL) { - case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - /* : out = int16(g_assSTART_ENTER_INCAR(LVL + 1 + 6)); */ - g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &rtb_LVL); - - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - i = (int32_t)(rtDW.LEVEL + 1U); - if (rtDW.LEVEL + 1U > 255U) { - i = 255; - } - - i_0 = (int32_t)((uint32_t)i + 6U); - if ((uint32_t)i + 6U > 255U) { - 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' - */ - if ((rtDW.Incar_RR > g_assSTART_ENTER_INCAR[i_0 - 1]) && - (rtDW.MODE_RR_passenger == 1.0) && (rtDW.CCU_SET_RR < rtb_LVL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_c = 0; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - */ - rtB.Merge_c = -1; - } - - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 0' */ - break; - - case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &rtb_LVL); - - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &rtb_y_ge); - - /* 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' - */ - if ((rtDW.Incar_RR > rtb_LVL) && (rtDW.MODE_RR_passenger == 1.0) && - (rtDW.CCU_SET_RR < rtb_y_ge)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_c = 0; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - */ - rtB.Merge_c = -1; - } - - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 1' */ - break; - - case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &rtb_LVL); - - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &rtb_y_ge); - - /* 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' - */ - if ((rtDW.Incar_RR < rtb_LVL) && (rtDW.MODE_RR_passenger == 1.0) && - (rtDW.CCU_SET_RR > rtb_y_ge)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_c = 0; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - */ - rtB.Merge_c = -1; - } - - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 2' */ - break; - - case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &rtb_LVL); - - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - g_assSTART_ENTER_COOLANT_e(rtDW.LEVEL, &rtb_y_ge); - - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ - i = (int32_t)(rtDW.LEVEL + 1U); - if (rtDW.LEVEL + 1U > 255U) { - i = 255; - } - - i_0 = (int32_t)((uint32_t)i + 6U); - if ((uint32_t)i + 6U > 255U) { - i_0 = 255; - } - - rtb_Saturation_as = g_ausSTART_ENTER_SETTEMP[i_0 - 1]; - if (rtb_Saturation_as > 32767) { - rtb_Saturation_as = 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' - */ - if (((rtDW.Incar_RR < rtb_LVL) || (rtDW.ECT < rtb_y_ge)) && - (rtDW.MODE_RR_passenger == 1.0) && (rtDW.CCU_SET_RR > - rtb_Saturation_as)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_c = 0; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - */ - rtB.Merge_c = -1; - } - - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 3' */ - break; - - case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' - */ - Level4_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtDW.LEVEL, - &rtDW.MODE_RR_passenger); - - /* End of Outputs for SubSystem: '/Level 4' */ - break; - - case 5: - /* 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); - - /* End of Outputs for SubSystem: '/Level 5' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step -1 R (Entry Condition)' */ - break; - - case 0: - /* Outputs for IfAction SubSystem: '/Step 0 R' incorporates: - * ActionPort: '/Action Port' - */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - switch (rtDW.LEVEL) { - case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' - */ - Level0(&rtB.Merge_c); - - /* End of Outputs for SubSystem: '/Level 0' */ - break; - - case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' - */ - Level0(&rtB.Merge_c); - - /* End of Outputs for SubSystem: '/Level 1' */ - break; - - case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Blower_RR = 10U; - - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' - */ - rtDW.Dtg_RR = 65U; - - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - incarfilterup_i(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); - - /* 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' - */ - /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ - i = (int32_t)(rtDW.LEVEL + 3U); - if (rtDW.LEVEL + 3U > 255U) { - i = 255; - } - - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' - */ - rtB.Merge_c = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1[i - 1]); - - /* End of Outputs for SubSystem: '/Level 2' */ - break; - - case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Blower_RR = 10U; - - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' - */ - rtDW.Dtg_RR = 65U; - - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - incarfilterup_i(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); - - /* 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' - */ - g_assSTART_COOLANT_STEP0_TO_1_e(rtDW.LEVEL, &rtb_LVL); - - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' - */ - rtB.Merge_c = (int8_t)(rtDW.ECT > rtb_LVL); - - /* End of Outputs for SubSystem: '/Level 3' */ - break; - - case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' - */ - Level4_m(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Merge_e, &rtb_Merge_j, - &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_Merge_a, - &rtb_Merge_m); - - /* End of Outputs for SubSystem: '/Level 4' */ - break; - - case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' - */ - Level4_m(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Merge_e, &rtb_Merge_j, - &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_Merge_a, - &rtb_Merge_m); - - /* End of Outputs for SubSystem: '/Level 5' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 0 R' */ - break; - - case 1: - /* Outputs for IfAction SubSystem: '/Step 1 R' incorporates: - * ActionPort: '/Action Port' - */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - switch (rtDW.LEVEL) { - case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' - */ - Level0_b(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_Merge_e, &rtb_Merge_j, - &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, - &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, - &rtDW.Level0_bc); - - /* End of Outputs for SubSystem: '/Level 0' */ - break; - - case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' - */ - Level0_b(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_Merge_e, &rtb_Merge_j, - &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, - &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, - &rtDW.Level1_d3); - - /* End of Outputs for SubSystem: '/Level 1' */ - break; - - case 2: - /* 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' - */ - uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); - incarfilterup_i(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' - */ - blowerstartfinish(rtDW.LEVEL, rtb_out_jq); - - /* 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_j4[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; - rtb_out_j4[1] = g_assSTART_COOLANT_TO_STEP2[1]; - - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' - */ - rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_j4, - rtb_out_jq, 1U); - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.Blower_RR = (uint16_t)rtb_LVL; - - /* 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' - */ - rtb_LogicalOperator1 = (rtDW.step_start_controle_rear == 1); - - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - Incartempgotofromstep1tostep2_j(rtDW.LEVEL, &rtb_y_ge); - - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_em; - - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read4' * Logic: '/Logical Operator3' @@ -23384,884 +23318,571 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - /* : out = int16(g_assSTART_COOLANT_TO_STEP2(2)); */ - if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_cp)) { - rtDW.t_start_delay_private_DSTATE_em = rtDW.t_now; + if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_iy)) { + rtDW.t_start_delay_private_DSTATE_n = rtDW.t_now; } /* 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: '/Data Store Read' + * Logic: '/Logical Operator' */ - if ((rtDW.Incar_RR > rtb_y_ge) || (rtb_Subtract > (uint16_t)(1000 * - rtb_LVL)) || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if (rtb_LogicalOperator1_dv || rtDW.HI_logic_on) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ - rtB.Merge_c = 2; + rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ - rtB.Merge_c = 1; + rtB.Merge_h = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_f = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_pu = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_b = 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_cp = rtb_LogicalOperator1; + rtDW.Cond_prev_private_DSTATE_iy = rtb_LogicalOperator1; - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 2 F' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Step 3 F' incorporates: + * ActionPort: '/Action Port' + */ + Step3F(&rtB.Merge_h, &rtDW.start_control_finished_front); + + /* End of Outputs for SubSystem: '/Step 3 F' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.step_start_controle_front = rtB.Merge_h; + + /* End of Outputs for SubSystem: '/Start Control Front' */ + } + + /* End of If: '/если SC front не завершен' */ + + /* 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' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.step_start_controle_rear) { + case -1: + /* Outputs for IfAction SubSystem: '/Step -1 R (Entry Condition)' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = int16(g_assSTART_ENTER_INCAR(LVL + 1 + 6)); */ + g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &rtb_LVL); + + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_y_l_tmp = (int32_t)((uint32_t)i + 6U); + if ((uint32_t)i + 6U > 255U) { + rtb_y_l_tmp = 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' + */ + if ((rtDW.Incar_RR > g_assSTART_ENTER_INCAR[rtb_y_l_tmp - 1]) && + (rtDW.MODE_RR_passenger == 1.0) && (rtDW.CCU_SET_RR < rtb_LVL)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_c = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_c = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &rtb_LVL); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &rtb_y_ge); + + /* 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' + */ + if ((rtDW.Incar_RR > rtb_LVL) && (rtDW.MODE_RR_passenger == 1.0) && + (rtDW.CCU_SET_RR < rtb_y_ge)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_c = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_c = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &rtb_LVL); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &rtb_y_ge); + + /* 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' + */ + if ((rtDW.Incar_RR < rtb_LVL) && (rtDW.MODE_RR_passenger == 1.0) && + (rtDW.CCU_SET_RR > rtb_y_ge)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_c = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_c = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* 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' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &rtb_LVL); + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_e(rtDW.LEVEL, &rtb_y_ge); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_y_l_tmp = (int32_t)((uint32_t)i + 6U); + if ((uint32_t)i + 6U > 255U) { + rtb_y_l_tmp = 255; + } + + rtb_Saturation_as = g_ausSTART_ENTER_SETTEMP[rtb_y_l_tmp - 1]; + if (rtb_Saturation_as > 32767) { + rtb_Saturation_as = 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' + */ + if (((rtDW.Incar_RR < rtb_LVL) || (rtDW.ECT < rtb_y_ge)) && + (rtDW.MODE_RR_passenger == 1.0) && (rtDW.CCU_SET_RR > + rtb_Saturation_as)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_c = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_c = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtDW.LEVEL, + &rtDW.MODE_RR_passenger); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* 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); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step -1 R (Entry Condition)' */ + break; + + case 0: + /* Outputs for IfAction SubSystem: '/Step 0 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_c); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_c); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RR = 65U; + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_i(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); + + /* 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' + */ + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + i = (int32_t)(rtDW.LEVEL + 3U); + if (rtDW.LEVEL + 3U > 255U) { + i = 255; + } + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + rtB.Merge_c = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1[i - 1]); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RR = 65U; + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_i(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); + + /* 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' + */ + g_assSTART_COOLANT_STEP0_TO_1_e(rtDW.LEVEL, &rtb_LVL); + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + rtB.Merge_c = (int8_t)(rtDW.ECT > rtb_LVL); + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_m(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, + &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Merge_e, &rtb_Merge_j, + &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_Merge_a, + &rtb_Merge_m); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4_m(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, + &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Merge_e, &rtb_Merge_j, + &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_Merge_a, + &rtb_Merge_m); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 0 R' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Step 1 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0_b(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, + &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_Merge_e, &rtb_Merge_j, + &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, + &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, + &rtDW.Level0_bc); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0_b(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, + &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_Merge_e, &rtb_Merge_j, + &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, + &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, + &rtDW.Level1_d3); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* 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' */ uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); incarfilterup_i(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_jq); - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - ECTminmax_l(rtDW.LEVEL, rtb_out_j4); + /* 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_j4[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; + rtb_out_j4[1] = g_assSTART_COOLANT_TO_STEP2[1]; - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_j4, rtb_out_jq, 1U); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write5' */ rtDW.Blower_RR = (uint16_t)rtb_LVL; - /* 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' */ rtb_LogicalOperator1 = (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, &rtb_y_ge); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oc; - - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); - - /* 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 (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_aw)) { - rtDW.t_start_delay_private_DSTATE_oc = rtDW.t_now; - } - - /* 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' - */ - if ((rtDW.Incar_RR > rtb_y_ge) || (rtb_Subtract > (uint16_t)(1000 * - rtb_LVL)) || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[2])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' - */ - rtB.Merge_c = 2; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' - */ - rtB.Merge_c = 1; - } - - /* End of Switch: '/Switch' */ - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_aw = rtb_LogicalOperator1; - - /* End of Outputs for SubSystem: '/Level 3' */ - break; - - case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' - */ - Level4_d(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_Merge_e, - &rtb_Merge_j, &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, - &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, - &rtDW.t_now, &rtDW.Level4_dp); - - /* End of Outputs for SubSystem: '/Level 4' */ - break; - - case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' - */ - Level4_d(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_Merge_e, - &rtb_Merge_j, &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, - &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, - &rtDW.t_now, &rtDW.Level5_f); - - /* End of Outputs for SubSystem: '/Level 5' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 1 R' */ - break; - - case 2: - /* Outputs for IfAction SubSystem: '/Step 2 R' incorporates: - * ActionPort: '/Action Port' - */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - switch (rtDW.LEVEL) { - case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - uwayvalve(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); - - /* 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)rtb_Merge_j / (double)rtb_Merge_e / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_d) * (double)i - + (double)rtDW.Dtg_RR); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - incarfilterup_i(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - step_a(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); - - /* 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_LogicalOperator1) { - 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)rtb_Merge_j / (double)rtb_Merge_e / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_nc) * (double)i - + (double)rtDW.Mode_RR); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerstep_d(rtDW.LEVEL, &rtb_Saturation_as); - - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1); - - /* 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)rtb_Saturation_as / (double) - rtb_Saturation1 / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_hs) * (double)i + (double)rtDW.Blower_RR); - } - - /* End of Switch: '/Switch' */ - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - rtb_LogicalOperator1 = (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_f; - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_i)) { - rtDW.t_start_delay_private_DSTATE_f = 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, &rtb_LVL); - - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) { - /* 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_d = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_nc = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' - */ - rtDW.UnitDelay_DSTATE_hs = rtDW.t_now; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_i = rtb_LogicalOperator1; - - /* End of Outputs for SubSystem: '/Level 0' */ - break; - - case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - uwayvalve(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); - - /* 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)rtb_Merge_j / (double)rtb_Merge_e / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_g) * (double)i - + (double)rtDW.Dtg_RR); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - incarfilterup_i(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - step_a(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); - - /* 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_LogicalOperator1) { - 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)rtb_Merge_j / (double)rtb_Merge_e / - 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, &rtb_Saturation_as); - - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1); - - /* 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)rtb_Saturation_as / (double) - rtb_Saturation1 / 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' - */ - rtb_LogicalOperator1 = (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 (rtb_LogicalOperator1 && (!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, &rtb_LVL); - - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) { - /* 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 = rtb_LogicalOperator1; - - /* 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, &rtb_Merge_j); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); - - /* 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)rtb_Merge_j / (double)rtb_Merge_e / - 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, &rtb_Merge_j); - - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - */ - rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); - - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - step_a(rtDW.LEVEL, &rtb_Merge_j); - - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); - - /* 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_LogicalOperator1) { - 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)rtb_Merge_j / (double)rtb_Merge_e / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_h) * (double)i - + (double)rtDW.Mode_RR); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerstep_d(rtDW.LEVEL, &rtb_Saturation_as); - - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1); - - /* 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)rtb_Saturation_as / (double) - rtb_Saturation1 / 1000.0 * (double)(rtDW.t_now - - rtDW.UnitDelay_DSTATE_n) * (double)i + (double)rtDW.Blower_RR); - } - - /* End of Switch: '/Switch' */ - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' - */ - rtb_LogicalOperator1 = (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_e; + rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_em; - /* 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, &rtb_LVL); @@ -24272,56 +23893,944 @@ void HVAC_model_step(void) * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ - if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_eia)) { - rtDW.t_start_delay_private_DSTATE_e = rtDW.t_now; + /* : out = int16(g_assSTART_COOLANT_TO_STEP2(2)); */ + if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_cp)) { + rtDW.t_start_delay_private_DSTATE_em = rtDW.t_now; } /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator1' + /* 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 ((rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) || rtDW.HI_logic_on) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if ((rtDW.Incar_RR > rtb_y_ge) || (rtb_Subtract > (uint16_t)(1000 * + rtb_LVL)) || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[1])) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' + */ + rtB.Merge_c = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + */ + rtB.Merge_c = 1; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_cp = rtb_LogicalOperator1; + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* 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' + */ + uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterup_i(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' + */ + blowerstartfinish(rtDW.LEVEL, rtb_out_jq); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax_l(rtDW.LEVEL, rtb_out_j4); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_j4, + rtb_out_jq, 1U); + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_RR = (uint16_t)rtb_LVL; + + /* 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' + */ + rtb_LogicalOperator1 = (rtDW.step_start_controle_rear == 1); + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_j(rtDW.LEVEL, &rtb_y_ge); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oc; + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); + + /* 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 (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_aw)) { + rtDW.t_start_delay_private_DSTATE_oc = rtDW.t_now; + } + + /* 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' + */ + if ((rtDW.Incar_RR > rtb_y_ge) || (rtb_Subtract > (uint16_t)(1000 * + rtb_LVL)) || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[2])) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' + */ + rtB.Merge_c = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + */ + rtB.Merge_c = 1; + } + + /* End of Switch: '/Switch' */ + + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_aw = rtb_LogicalOperator1; + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_d(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, + &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_Merge_e, + &rtb_Merge_j, &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, + &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, + &rtDW.t_now, &rtDW.Level4_dp); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4_d(&rtB.Merge_c, &rtb_Saturation_as, &rtDW.Blower_RR, &Dtg_FUR, + &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_Merge_e, + &rtb_Merge_j, &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, + &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, + &rtDW.t_now, &rtDW.Level5_f); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 1 R' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Step 2 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + uwayvalve(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); + + /* 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)rtb_Merge_j / (double)rtb_Merge_e / + 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_d) * (double)i + + (double)rtDW.Dtg_RR); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_i(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); + + /* 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_LogicalOperator1) { + 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)rtb_Merge_j / (double)rtb_Merge_e / + 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_nc) * (double)i + + (double)rtDW.Mode_RR); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep_d(rtDW.LEVEL, &rtb_Saturation_as); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1_j); + + /* 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)rtb_Saturation_as / (double) + rtb_Saturation1_j / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_hs) * (double)i + (double)rtDW.Blower_RR); + } + + /* End of Switch: '/Switch' */ + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + rtb_LogicalOperator1 = (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_f; + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_i)) { + rtDW.t_start_delay_private_DSTATE_f = 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, &rtb_LVL); + + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) { + /* 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; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_nc = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_hs = rtDW.t_now; + + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_i = rtb_LogicalOperator1; + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + uwayvalve(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); + + /* 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)rtb_Merge_j / (double)rtb_Merge_e / + 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_g) * (double)i + + (double)rtDW.Dtg_RR); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_i(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); + + /* 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_LogicalOperator1) { + 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)rtb_Merge_j / (double)rtb_Merge_e / + 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, &rtb_Saturation_as); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1_j); + + /* 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)rtb_Saturation_as / (double) + rtb_Saturation1_j / 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' + */ + rtb_LogicalOperator1 = (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 (rtb_LogicalOperator1 && (!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, &rtb_LVL); + + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) { + /* 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 = rtb_LogicalOperator1; + + /* 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, &rtb_Merge_j); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); + + /* 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)rtb_Merge_j / (double)rtb_Merge_e / + 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, &rtb_Merge_j); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(rtDW.LEVEL, &rtb_Merge_j); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); + + /* 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_LogicalOperator1) { + 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)rtb_Merge_j / (double)rtb_Merge_e / + 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_h) * (double)i + + (double)rtDW.Mode_RR); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep_d(rtDW.LEVEL, &rtb_Saturation_as); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1_j); + + /* 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)rtb_Saturation_as / (double) + rtb_Saturation1_j / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_n) * (double)i + (double)rtDW.Blower_RR); + } + + /* End of Switch: '/Switch' */ + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' + */ + rtb_LogicalOperator1 = (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_e; + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_eia)) { + rtDW.t_start_delay_private_DSTATE_e = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator1' + */ + if ((rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) || rtDW.HI_logic_on) { + /* 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 = 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; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_eia = rtb_LogicalOperator1; - /* 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, &rtb_Saturation_as, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, @@ -24330,12 +24839,12 @@ void HVAC_model_step(void) &rtDW.Mode_logic_RR, &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, &rtDW.Level3_i0); - /* 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, &rtb_Saturation_as, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, @@ -24344,12 +24853,12 @@ void HVAC_model_step(void) &rtDW.Mode_logic_RR, &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, &rtDW.Level4_j); - /* 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, &rtb_Saturation_as, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, @@ -24358,302 +24867,286 @@ void HVAC_model_step(void) &rtDW.Mode_logic_RR, &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, &rtDW.Level5_e); - /* 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); - /* End of Outputs for SubSystem: '/Step 3 R' */ + /* End of Outputs for SubSystem: '/Step 3 R' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.step_start_controle_rear = rtB.Merge_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: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_ALL_ZONE_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: - * ActionPort: '/Action Port' + /* 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 Write6' incorporates: - * DataStoreRead: '/Data Store Read2' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read2' */ rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_RL = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_RR = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_RL = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_RR = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write15' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_RR = rtDW.CCU_MODE_FL; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_RL = rtDW.CCU_MODE_FL; - /* End of Outputs for SubSystem: '/all zone sync' */ + /* End of Outputs for SubSystem: '/all zone sync' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_FRONT_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/front sync' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/front sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read2' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read2' */ rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; - /* 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: - * DataStoreRead: '/Data Store Read3' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.CCU_REAR_SYNC > 0) { - /* Outputs for IfAction SubSystem: '/rear sync' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/rear sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write2' */ rtDW.CCU_SET_RL = rtDW.CCU_SET_RR; - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_RR; - /* DataStoreWrite: '/Data Store 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' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * Constant: '/Constant' - */ - rtDW.UnitDelay_DSTATE_l0 = 1; + /* End of If: '/If2' */ /* Update for UnitDelay: '/Unit Delay' incorporates: * Constant: '/Constant' */ + rtDW.UnitDelay_DSTATE_l0 = 1; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * Constant: '/Constant' + */ rtDW.UnitDelay_DSTATE_cc = 1; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE = rtb_RelationalOperator2_ir; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE = rtb_FailCond; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_p = rtb_Compare; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_mk; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_it; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_c = rtb_Compare_ho; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_m = rtb_FailCond_n; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_j = rtb_FailCond_b; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_f = rtb_FailCond_kk; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_cn = rtb_FailCond_fj; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_l = rtb_Compare_ne; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_ja = rtb_Compare_e; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_g = rtb_Compare_gh; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_cd = rtb_Compare_j4; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_e = rtb_Compare_gg; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_mv = rtb_Compare_m4; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_jl = rtb_Compare_lus; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_ei = rtb_Compare_e1; - /* Update for UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ rtDW.DelayInput1_DSTATE = 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_n = true; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_m = true; } /* Model initialize function */ @@ -24686,36 +25179,36 @@ void HVAC_model_initialize(void) { int32_t i; 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: + /* 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 Memory113' */ @@ -24727,25 +25220,25 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory119' */ rtDW.CCU_AUTOMODE_RR = 3U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory14' */ - rtDW.CCU_SET_FR = 230U; + 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 = 230U; + 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 = 230U; + rtDW.CCU_SET_RR = 225U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory17' */ - rtDW.CCU_SET_RL = 230U; + rtDW.CCU_SET_RL = 225U; /* Start for DataStoreMemory: '/Data Store Memory2' */ rtDW.LEVEL = 100U; @@ -24777,83 +25270,83 @@ void HVAC_model_initialize(void) /* InitializeConditions for UnitDelay: '/Unit Delay' */ rtDW.UnitDelay_DSTATE_d5 = -9999; - /* 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 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); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_a = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_f1 = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_j = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_h); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_p = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_e = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_g); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_h3 = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_b4 = 0; - /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_h = 0; - /* End of SystemInitialize for SubSystem: '/Start Control Front' */ + /* End of SystemInitialize for SubSystem: '/Start Control Front' */ - /* SystemInitialize for IfAction SubSystem: '/Start Control Rear' */ - /* SystemInitialize for Merge: '/Merge' */ + /* 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 index 80de159..be4dc0f 100644 --- a/HVAC_model.h +++ b/HVAC_model.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.962 + * Model version : 1.1004 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 19 17:16:47 2026 + * C/C++ source code generated on : Tue May 26 15:27:11 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -41,61 +41,61 @@ /* user code (top of header file) */ #include -/* Block states (default storage) for system '/MATLAB Function' */ +/* Block states (default storage) for system '/MATLAB Function' */ typedef struct { - double cond_prev; /* '/MATLAB Function' */ - uint32_t t_start; /* '/MATLAB Function' */ - bool t_start_not_empty; /* '/MATLAB Function' */ + double cond_prev; /* '/MATLAB Function' */ + uint32_t t_start; /* '/MATLAB Function' */ + bool t_start_not_empty; /* '/MATLAB Function' */ } DW_MATLABFunction; -/* Block 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 ' */ + 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' */ +/* 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_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 ' */ } 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 ' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ } DW_Level0_c; -/* 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 ' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ } DW_Level4_a; -/* 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 ' */ + 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; /* Block signals (default storage) */ typedef struct { - uint8_t Merge_b; /* '/Merge' */ - 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' */ + 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' */ } B; /* Block states (default storage) for system '' */ @@ -105,17 +105,20 @@ typedef struct { CmdCAN_CCU_STAT1_Bus CCU_STAT1_MODEL;/* '/Data Store Memory105' */ CCUCAN_ESC_04_Bus CCUCAN_ESC_04_model;/* '/Data Store Memory141' */ 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' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_MODEL; /* '/Data Store Memory43' */ CmdCAN_FIU_CCU2_Bus FIU_CCU2_MODEL; /* '/Data Store Memory44' */ 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' */ 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 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' */ @@ -125,80 +128,82 @@ typedef struct { double MODE_DRIVER; /* '/Data Store Memory18' */ double MODE_RR_passenger; /* '/Data Store Memory19' */ 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' */ + dbgCAN_dbg_Sen_0_Bus dbgCAN_dbg_Sen_0_model;/* '/Data Store Memory158' */ dbgCAN_dbg_Act0_Bus dbgCAN_dbg_Act0_model;/* '/Data Store Memory79' */ dbgCAN_dbg_Act1_Bus dbgCAN_dbg_Act1_model;/* '/Data Store Memory80' */ dbgCAN_dbg_Act2_Bus dbgCAN_dbg_Act2_model;/* '/Data Store Memory81' */ dbgCAN_dbg_Sen_Amb_Bus dbgCAN_dbg_Sen_Amb_model;/* '/Data Store Memory142' */ dbgCAN_dbg_dbg_Sen_Eva_Bus dbgCAN_dbg_Sen_Eva_model;/* '/Data Store Memory83' */ - CmdBusPwm PWM_Set_Model; /* '/Data Store Memory129' */ CmdBusADCDataKey ADC_Key_Data_Model; /* '/Data Store Memory3' */ - 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_gq;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_h;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_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_hb;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_i;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_cc;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_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 t_start_delay_private_DSTATE_gx;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_pf;/* '/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' */ + 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_gq;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_h;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_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_hb;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_i;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_cc;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_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 t_start_delay_private_DSTATE_gx;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_pf;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ uint32_t t_now; /* '/Data Store Memory5' */ int16_t UnitDelay_DSTATE_d5; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_l0; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_cc; /* '/Unit Delay' */ - 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 UnitDelay_DSTATE_l0; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_cc; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_br; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_jc; /* '/Unit Delay' */ + 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' */ int16_t Eva_F; /* '/Data Store Memory10' */ int16_t Incar_FR; /* '/Data Store Memory11' */ @@ -210,9 +215,9 @@ typedef struct { int16_t Eva_R; /* '/Data Store Memory9' */ int16_t ECT; /* '/engine coolant temp' */ int16_t VehicleSpeed; /* '/engine coolant temp1' */ - 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 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 valves_front_manual_target[9];/* '/Data Store Memory133' */ uint16_t valves_rear_manual_target[6];/* '/Data Store Memory134' */ uint16_t CCU_SET_FR; /* '/Data Store Memory14' */ @@ -223,77 +228,77 @@ 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' */ - 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_n; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_m; /* '/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 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_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 ' */ + bool DelayInput1_DSTATE_n; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_m; /* '/Delay Input1' */ + int8_t stepSig_private; /* '/Data Store Memory' */ + int8_t stepHoming_private; /* '/Data Store Memory17' */ + int8_t stepSig_private_h; /* '/Data Store Memory' */ + int8_t stepHoming_private_f; /* '/Data Store Memory17' */ + int8_t stepSig_private_g; /* '/Data Store Memory' */ + int8_t stepHoming_private_a; /* '/Data Store Memory17' */ + int8_t step_start_controle_front; /* '/Data Store Memory' */ + int8_t step_start_controle_rear; /* '/Data Store Memory1' */ int8_t start_control_finished_front; /* '/SC Front' */ - uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ - uint8_t Speed_private[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private[9]; /* '/Data Store Memory5' */ - uint8_t COM_private[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ + uint8_t Speed_private[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private[9]; /* '/Data Store Memory5' */ + uint8_t COM_private[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ uint8_t CCU_ActuatorErrF_Stat_private;/* '/Data Store Memory' */ uint8_t dtc_state_error_model[127]; /* '/Data Store Memory1' */ uint8_t CCU_FRONT_SYNC; /* '/Data Store Memory101' */ @@ -311,10 +316,25 @@ typedef struct { uint8_t Blower_AF_FL; /* '/Data Store Memory126' */ uint8_t Blower_AF_FR; /* '/Data Store Memory127' */ uint8_t Blower_AF_RL; /* '/Data Store Memory130' */ - uint8_t PWM_rear; /* '/Data Store Memory132' */ - uint8_t PWM_front; /* '/Data Store Memory135' */ uint8_t Blower_AF_RR; /* '/Data Store Memory136' */ 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' */ + uint8_t ShutOffFront_EN; /* '/Data Store Memory168' */ + uint8_t ShutOffRear_EN; /* '/Data Store Memory169' */ + uint8_t EN_ReservePower; /* '/Data Store Memory170' */ + uint8_t LIN_ActPower_AB; /* '/Data Store Memory171' */ + uint8_t LIN_ActPower_C; /* '/Data Store Memory172' */ + uint8_t ShutOffTXV1_EN; /* '/Data Store Memory173' */ + uint8_t ShutOffTXV2_EN; /* '/Data Store Memory174' */ + uint8_t EN_BATTChiller; /* '/Data Store Memory175' */ + uint8_t EN_PowerReserve; /* '/Data Store Memory176' */ uint8_t LEVEL; /* '/Data Store Memory2' */ uint8_t Mode_FL; /* '/Data Store Memory23' */ uint8_t Dtg_FUL; /* '/Data Store Memory31' */ @@ -340,35 +360,35 @@ typedef struct { uint8_t CCU_AUTOMODE_FR; /* '/Data Store Memory93' */ uint8_t CCU_AUTOMODE_FL; /* '/Data Store Memory94' */ uint8_t CCU_RECIRC; /* '/Data Store Memory95' */ - uint8_t current_Ambient_Lv; /* '/Log Ambient Lv' */ + uint8_t current_Ambient_Lv; /* '/Log Ambient Lv' */ bool HI_logic_on; /* '/Data Store Memory48' */ - bool current_Ambient_Lv_not_empty; /* '/Log Ambient Lv' */ - 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_h;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction; /* '/MATLAB Function' */ + bool current_Ambient_Lv_not_empty; /* '/Log Ambient Lv' */ + 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_h;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction; /* '/MATLAB Function' */ } 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) */ @@ -378,142 +398,143 @@ typedef struct { */ CmdBusADCData DataStoreMemory42_InitialValue; - /* Pooled Parameter (Expression: [849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 834 816 799 783 767 753 739 726 714 702 691 680 669 659 650 640 631 623 614 606 598 591 583 576 569 562 555 549 542 536 530 524 519 513 508 502 497 492 487 482 477 472 467 463 458 454 449 445 441 437 433 429 425 421 417 413 409 406 402 399 395 392 388 385 381 378 375 372 369 365 362 359 356 353 350 348 345 342 339 336 334 331 328 325 323 320 318 315 313 310 308 305 303 300 298 296 293 291 289 286 284 282 280 278 275 273 271 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 233 231 230 228 226 224 222 221 219 217 215 214 212 210 209 207 205 204 202 200 199 197 196 194 192 191 189 188 186 184 183 181 180 178 177 175 174 172 171 169 168 167 165 164 162 161 159 158 157 155 154 153 151 150 148 147 146 144 143 142 140 139 138 136 135 134 133 131 130 129 128 126 125 124 123 121 120 119 118 116 115 114 113 112 110 109 108 107 106 105 103 102 101 100 99 98 96 95 94 93 92 91 90 89 87 86 85 84 83 82 81 80 79 78 77 75 74 73 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 32 31 30 29 28 27 26 25 24 23 22 21 20 19 19 18 17 16 15 14 13 12 11 10 10 9 8 7 6 5 4 3 3 2 1 0 0 -1 -2 -2 -3 -4 -5 -6 -7 -8 -8 -9 -10 -11 -12 -13 -14 -14 -15 -16 -17 -18 -19 -19 -20 -21 -22 -23 -24 -24 -25 -26 -27 -28 -28 -29 -30 -31 -32 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -48 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -61 -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 -82 -83 -84 -85 -85 -86 -87 -88 -88 -89 -90 -91 -91 -92 -93 -93 -94 -95 -96 -96 -97 -98 -99 -99 -100 -101 -101 -102 -103 -104 -104 -105 -106 -107 -107 -108 -109 -109 -110 -111 -112 -112 -113 -114 -114 -115 -116 -117 -117 -118 -119 -119 -120 -121 -122 -122 -123 -124 -124 -125 -126 -126 -127 -128 -129 -129 -130 -131 -131 -132 -133 -134 -134 -135 -136 -136 -137 -138 -138 -139 -140 -141 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -154 -155 -156 -157 -157 -158 -159 -159 -160 -161 -161 -162 -163 -164 -164 -165 -166 -166 -167 -168 -168 -169 -170 -170 -171 -172 -173 -173 -174 -175 -175 -176 -177 -177 -178 -179 -179 -180 -181 -182 -182 -183 -184 -184 -185 -186 -186 -187 -188 -188 -189 -190 -191 -191 -192 -193 -193 -194 -195 -195 -196 -197 -197 -198 -199 -200 -200 -201 -202 -202 -203 -204 -204 -205 -206 -207 -207 -208 -209 -209 -210 -211 -211 -212 -213 -214 -214 -215 -216 -216 -217 -218 -219 -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 -243 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -251 -252 -253 -254 -254 -255 -256 -257 -257 -258 -259 -259 -260 -261 -262 -262 -263 -264 -265 -265 -266 -267 -268 -268 -269 -270 -271 -271 -272 -273 -274 -274 -275 -276 -277 -277 -278 -279 -280 -280 -281 -282 -283 -283 -284 -285 -286 -287 -287 -288 -289 -290 -290 -291 -292 -293 -294 -294 -295 -296 -297 -297 -298 -299 -300 -301 -301 -302 -303 -304 -305 -305 -306 -307 -308 -309 -309 -310 -311 -312 -313 -314 -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 -341 -342 -343 -344 -345 -346 -347 -348 -349 -349 -350 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -360 -361 -362 -363 -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 -397 -398 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399]) + /* 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' */ double pooled8[1024]; - /* Expression: [-4 -2.4 -0.8 0.8 2.4 4 5.6 7.2 8.8 10.4 12 13.6 15.2 16.8 18.4 20 21.6 23.2 24.8 26.4 28 29.6 31.2 32.8 34.4 36 37.6 39.2 40.8 42.4 44 45.6 47.2 48.8 50.4 52 53.6 55.2 56.8 58.4 60 61.6 63.2 64.8 66.4 68 69.6 71.2 72.8 74.4 76 77.6 79.2 80.8 82.4 84 85.6 87.2 88.8 90.4 92 93.6 95.2 96.8 98.4 100 101.6 103.2 104.8 106.4 108 109.6 111.2 112.8 114.4 116 117.6 119.2 120.8 122.4 124 125.6 127.2 128.8 130.4 132 133.6 135.2 136.8 138.4 140 141.6 143.2 144.8 146.4 148 149.6 151.2 152.8 154.4 156 157.6 159.2 160.8 162.4 164 165.6 167.2 168.8 170.4 172 173.6 175.2 176.8 178.4 180 181.6 183.2 184.8 186.4 188 189.6 191.2 192.8 194.4 196 197.6 199.2 200.8 202.4 204 205.6 207.2 208.8 210.4 212 213.6 215.2 216.8 218.4 220 221.6 223.2 224.8 226.4 228 229.6 231.2 232.8 234.4 236 237.6 239.2 240.8 242.4 244 245.6 247.2 248.8 250.4 252 253.6 255.2 256.8 258.4 260 261.6 263.2 264.8 266.4 268 269.6 271.2 272.8 274.4 276 277.6 279.2 280.8 282.4 284 285.6 287.2 288.8 290.4 292 293.6 295.2 296.8 298.4 300 301.6 303.2 304.8 306.4 308 309.6 311.2 312.8 314.4 316 317.6 319.2 320.8 322.4 324 325.6 327.2 328.8 330.4 332 333.6 335.2 336.8 338.4 340 341.6 343.2 344.8 346.4 348 349.6 351.2 352.8 354.4 356 357.6 359.2 360.8 362.4 364 365.6 367.2 368.8 370.4 372 373.6 375.2 376.8 378.4 380 381.6 383.2 384.8 386.4 388 389.6 391.2 392.8 394.4 396 397.6 399.2 400.8 402.4 404 405.6 407.2 408.8 410.4 412 413.6 415.2 416.8 418.4 420 421.6 423.2 424.8 426.4 428 429.6 431.2 432.8 434.4 436 437.6 439.2 440.8 442.4 444 445.6 447.2 448.8 450.4 452 453.6 455.2 456.8 458.4 460 461.6 463.2 464.8 466.4 468 469.6 471.2 472.8 474.4 476 477.6 479.2 480.8 482.4 484 485.6 487.2 488.8 490.4 492 493.6 495.2 496.8 498.4 500 501.6 503.2 504.8 506.4 508 509.6 511.2 512.8 514.4 516 517.6 519.2 520.8 522.4 524 525.6 527.2 528.8 530.4 532 533.6 535.2 536.8 538.4 540 541.6 543.2 544.8 546.4 548 549.6 551.2 552.8 554.4 556 557.6 559.2 560.8 562.4 564 565.6 567.2 568.8 570.4 572 573.6 575.2 576.8 578.4 580 581.6 583.2 584.8 586.4 588 589.6 591.2 592.8 594.4 596 597.6 599.2 600.8 602.4 604 605.6 607.2 608.8 610.4 612 613.6 615.2 616.8 618.4 620 621.6 623.2 624.8 626.4 628 629.6 631.2 632.8 634.4 636 637.6 639.2 640.8 642.4 644 645.6 647.2 648.8 650.4 652 653.6 655.2 656.8 658.4 660 661.6 663.2 664.8 666.4 668 669.6 671.2 672.8 674.4 676 677.6 679.2 680.8 682.4 684 685.6 687.2 688.8 690.4 692 693.6 695.2 696.8 698.4 700 701.6 703.2 704.8 706.4 708 709.6 711.2 712.8 714.4 716 717.6 719.2 720.8 722.4 724 725.6 727.2 728.8 730.4 732 733.6 735.2 736.8 738.4 740 741.6 743.2 744.8 746.4 748 749.6 751.2 752.8 754.4 756 757.6 759.2 760.8 762.4 764 765.6 767.2 768.8 770.4 772 773.6 775.2 776.8 778.4 780 781.6 783.2 784.8 786.4 788 789.6 791.2 792.8 794.4 796 797.6 799.2 800.8 802.4 804 805.6 807.2 808.8 810.4 812 813.6 815.2 816.8 818.4 820 821.6 823.2 824.8 826.4 828 829.6 831.2 832.8 834.4 836 837.6 839.2 840.8 842.4 844 845.6 847.2 848.8 850.4 852 853.6 855.2 856.8 858.4 860 861.6 863.2 864.8 866.4 868 869.6 871.2 872.8 874.4 876 877.6 879.2 880.8 882.4 884 885.6 887.2 888.8 890.4 892 893.6 895.2 896.8 898.4 900 901.6 903.2 904.8 906.4 908 909.6 911.2 912.8 914.4 916 917.6 919.2 920.8 922.4 924 925.6 927.2 928.8 930.4 932 933.6 935.2 936.8 938.4 940 941.6 943.2 944.8 946.4 948 949.6 951.2 952.8 954.4 956 957.6 959.2 960.8 962.4 964 965.6 967.2 968.8 970.4 972 973.6 975.2 976.8 978.4 980 981.6 983.2 984.8 986.4 988 989.6 991.2 992.8 994.4 996 997.6 999.2 1000.8 1002.4 1004 1005.6 1007.2 1008.8 1010.4 1012 1013.6 1015.2 1016.8 1018.4 1020 1021.6 1023.2 1024.8 1026.4 1028 1029.6 1031.2 1032.8 1034.4 1036 1037.6 1039.2 1040.8 1042.4 1044 1045.6 1047.2 1048.8 1050.4 1052 1053.6 1055.2 1056.8 1058.4 1060 1061.6 1063.2 1064.8 1066.4 1068 1069.6 1071.2 1072.8 1074.4 1076 1077.6 1079.2 1080.8 1082.4 1084 1085.6 1087.2 1088.8 1090.4 1092 1093.6 1095.2 1096.8 1098.4 1100 1101.6 1103.2 1104.8 1106.4 1108 1109.6 1111.2 1112.8 1114.4 1116 1117.6 1119.2 1120.8 1122.4 1124 1125.6 1127.2 1128.8 1130.4 1132 1133.6 1135.2 1136.8 1138.4 1140 1141.6 1143.2 1144.8 1146.4 1148 1149.6 1151.2 1152.8 1154.4 1156 1157.6 1159.2 1160.8 1162.4 1164 1165.6 1167.2 1168.8 1170.4 1172 1173.6 1175.2 1176.8 1178.4 1180 1181.6 1183.2 1184.8 1186.4 1188 1189.6 1191.2 1192.8 1194.4 1196 1197.6 1199.2 1200.8 1202.4 1204 1205.6 1207.2 1208.8 1210.4 1212 1213.6 1215.2 1216.8 1218.4 1220 1221.6 1223.2 1224.8 1226.4 1228 1229.6 1231.2 1232.8 1234.4 1236 1237.6 1239.2 1240.8 1242.4 1244 1245.6 1247.2 1248.8 1250.4 1252 1253.6 1255.2 1256.8 1258.4 1260 1261.6 1263.2 1264.8 1266.4 1268 1269.6 1271.2 1272.8 1274.4 1276 1277.6 1279.2 1280.8 1282.4 1284 1285.6 1287.2 1288.8 1290.4 1292 1293.6 1295.2 1296.8 1298.4 1300 1301.6 1303.2 1304.8 1306.4 1308 1309.6 1311.2 1312.8 1314.4 1316 1317.6 1319.2 1320.8 1322.4 1324 1325.6 1327.2 1328.8 1330.4 1332 1333.6 1335.2 1336.8 1338.4 1340 1341.6 1343.2 1344.8 1346.4 1348 1349.6 1351.2 1352.8 1354.4 1356 1357.6 1359.2 1360.8 1362.4 1364 1365.6 1367.2 1368.8 1370.4 1372 1373.6 1375.2 1376.8 1378.4 1380 1381.6 1383.2 1384.8 1386.4 1388 1389.6 1391.2 1392.8 1394.4 1396 1397.6 1399.2 1400.8 1402.4 1404 1405.6 1407.2 1408.8 1410.4 1412 1413.6 1415.2 1416.8 1418.4 1420 1421.6 1423.2 1424.8 1426.4 1428 1429.6 1431.2 1432.8 1434.4 1436 1437.6 1439.2 1440.8 1442.4 1444 1445.6 1447.2 1448.8 1450.4 1452 1453.6 1455.2 1456.8 1458.4 1460 1461.6 1463.2 1464.8 1466.4 1468 1469.6 1471.2 1472.8 1474.4 1476 1477.6 1479.2 1480.8 1482.4 1484 1485.6 1487.2 1488.8 1490.4 1492 1493.6 1495.2 1496.8 1498.4 1500 1501.6 1503.2 1504.8 1506.4 1508 1509.6 1511.2 1512.8 1514.4 1516 1517.6 1519.2 1520.8 1522.4 1524 1525.6 1527.2 1528.8 1530.4 1532 1533.6 1535.2 1536.8 1538.4 1540 1541.6 1543.2 1544.8 1546.4 1548 1549.6 1551.2 1552.8 1554.4 1556 1557.6 1559.2 1560.8 1562.4 1564 1565.6 1567.2 1568.8 1570.4 1572 1573.6 1575.2 1576.8 1578.4 1580 1581.6 1583.2 1584.8 1586.4 1588 1589.6 1591.2 1592.8 1594.4 1596 1597.6 1599.2 1600.8 1602.4 1604 1605.6 1607.2 1608.8 1610.4 1612 1613.6 1615.2 1616.8 1618.4 1620 1621.6 1623.2 1624.8 1626.4 1628 1629.6 1631.2 1632.8] - * Referenced by: '/1-D Lookup Table' + /* Expression: [0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.027745 0.075131 0.122516 0.169901 0.217286 0.264671 0.312057 0.359442 0.406827 0.454212 0.501598 0.548983 0.596368 0.643753 0.691139 0.738524 0.785909 0.833294 0.880680 0.928065 0.975450 1.022835 1.070221 1.117606 1.164991 1.212376 1.259762 1.307147 1.354532 1.401917 1.449302 1.496688 1.544073 1.591458 1.638843 1.686229 1.733614 1.780999 1.828384 1.875770 1.923155 1.970540 2.017925 2.065311 2.112696 2.160081 2.207466 2.254852 2.302237 2.349622 2.397007 2.444392 2.491778 2.539163 2.586548 2.633933 2.681319 2.728704 2.776089 2.823474 2.870860 2.918245 2.965630 3.013015 3.060401 3.107786 3.155171 3.202556 3.249942 3.297327 3.344712 3.392097 3.439483 3.486868 3.534253 3.581638 3.629023 3.676409 3.723794 3.771179 3.818564 3.865950 3.913335 3.960720 4.008105 4.055491 4.102876 4.150261 4.197646 4.245032 4.292417 4.339802 4.387187 4.434573 4.481958 4.529343 4.576728 4.624113 4.671499 4.718884 4.766269 4.813654 4.861040 4.908425 4.955810 5.003195 5.050581 5.097966 5.145351 5.192736 5.240122 5.287507 5.334892 5.382277 5.429663 5.477048 5.524433 5.571818 5.619203 5.666589 5.713974 5.761359 5.808744 5.856130 5.903515 5.950900 5.998285 6.045671 6.093056 6.140441 6.187826 6.235212 6.282597 6.329982 6.377367 6.424753 6.472138 6.519523 6.566908 6.614294 6.661679 6.709064 6.756449 6.803834 6.851220 6.898605 6.945990 6.993375 7.040761 7.088146 7.135531 7.182916 7.230302 7.277687 7.325072 7.372457 7.419843 7.467228 7.514613 7.561998 7.609384 7.656769 7.704154 7.751539 7.798924 7.846310 7.893695 7.941080 7.988465 8.035851 8.083236 8.130621 8.178006 8.225392 8.272777 8.320162 8.367547 8.414933 8.462318 8.509703 8.557088 8.604474 8.651859 8.699244 8.746629 8.794014 8.841400 8.888785 8.936170 8.983555 9.030941 9.078326 9.125711 9.173096 9.220482 9.267867 9.315252 9.362637 9.410023 9.457408 9.504793 9.552178 9.599564 9.646949 9.694334 9.741719 9.789105 9.836490 9.883875 9.931260 9.978645 10.026031 10.073416 10.120801 10.168186 10.215572 10.262957 10.310342 10.357727 10.405113 10.452498 10.499883 10.547268 10.594654 10.642039 10.689424 10.736809 10.784195 10.831580 10.878965 10.926350 10.973735 11.021121 11.068506 11.115891 11.163276 11.210662 11.258047 11.305432 11.352817 11.400203 11.447588 11.494973 11.542358 11.589744 11.637129 11.684514 11.731899 11.779285 11.826670 11.874055 11.921440 11.968826 12.016211 12.063596 12.110981 12.158366 12.205752 12.253137 12.300522 12.347907 12.395293 12.442678 12.490063 12.537448 12.584834 12.632219 12.679604 12.726989 12.774375 12.821760 12.869145 12.916530 12.963916 13.011301 13.058686 13.106071 13.153456 13.200842 13.248227 13.295612 13.342997 13.390383 13.437768 13.485153 13.532538 13.579924 13.627309 13.674694 13.722079 13.769465 13.816850 13.864235 13.911620 13.959006 14.006391 14.053776 14.101161 14.148546 14.195932 14.243317 14.290702 14.338087 14.385473 14.432858 14.480243 14.527628 14.575014 14.622399 14.669784 14.717169 14.764555 14.811940 14.859325 14.906710 14.954096 15.001481 15.048866 15.096251 15.143637 15.191022 15.238407 15.285792 15.333177 15.380563 15.427948 15.475333 15.522718 15.570104 15.617489 15.664874 15.712259 15.759645 15.807030 15.854415 15.901800 15.949186 15.996571 16.043956 16.091341 16.138727 16.186112 16.233497 16.280882 16.328267 16.375653 16.423038 16.470423 16.517808 16.565194 16.612579 16.659964 16.707349 16.754735 16.802120 16.849505 16.896890 16.944276 16.991661 17.039046 17.086431 17.133817 17.181202 17.228587 17.275972 17.323357 17.370743 17.418128 17.465513 17.512898 17.560284 17.607669 17.655054 17.702439 17.749825 17.797210 17.844595 17.891980 17.939366 17.986751 18.034136 18.081521 18.128907 18.176292 18.223677 18.271062 18.318448 18.365833 18.413218 18.460603 18.507988 18.555374 18.602759 18.650144 18.697529 18.744915 18.792300 18.839685 18.887070 18.934456 18.981841 19.029226 19.076611 19.123997 19.171382 19.218767 19.266152 19.313538 19.360923 19.408308 19.455693 19.503078 19.550464 19.597849 19.645234 19.692619 19.740005 19.787390 19.834775 19.882160 19.929546 19.976931 20.024316 20.071701 20.119087 20.166472 20.213857 20.261242 20.308628 20.356013 20.403398 20.450783 20.498168 20.545554 20.592939 20.640324 20.687709 20.735095 20.782480 20.829865 20.877250 20.924636 20.972021 21.019406 21.066791 21.114177 21.161562 21.208947 21.256332 21.303718 21.351103 21.398488 21.445873 21.493259 21.540644 21.588029 21.635414 21.682799 21.730185 21.777570 21.824955 21.872340 21.919726 21.967111 22.014496 22.061881 22.109267 22.156652 22.204037 22.251422 22.298808 22.346193 22.393578 22.440963 22.488349 22.535734 22.583119 22.630504 22.677889 22.725275 22.772660 22.820045 22.867430 22.914816 22.962201 23.009586 23.056971 23.104357 23.151742 23.199127 23.246512 23.293898 23.341283 23.388668 23.436053 23.483439 23.530824 23.578209 23.625594 23.672980 23.720365 23.767750 23.815135 23.862520 23.909906 23.957291 24.004676 24.052061 24.099447 24.146832 24.194217 24.241602 24.288988 24.336373 24.383758 24.431143 24.478529 24.525914 24.573299 24.620684 24.668070 24.715455 24.762840 24.810225 24.857610 24.904996 24.952381 24.999766 25.047151 25.094537 25.141922 25.189307 25.236692 25.284078 25.331463 25.378848 25.426233 25.473619 25.521004 25.568389 25.615774 25.663160 25.710545 25.757930 25.805315 25.852700 25.900086 25.947471 25.994856 26.042241 26.089627 26.137012 26.184397 26.231782 26.279168 26.326553 26.373938 26.421323 26.468709 26.516094 26.563479 26.610864 26.658250 26.705635 26.753020 26.800405 26.847791 26.895176 26.942561 26.989946 27.037331 27.084717 27.132102 27.179487 27.226872 27.274258 27.321643 27.369028 27.416413 27.463799 27.511184 27.558569 27.605954 27.653340 27.700725 27.748110 27.795495 27.842881 27.890266 27.937651 27.985036 28.032421 28.079807 28.127192 28.174577 28.221962 28.269348 28.316733 28.364118 28.411503 28.458889 28.506274 28.553659 28.601044 28.648430 28.695815 28.743200 28.790585 28.837971 28.885356 28.932741 28.980126 29.027511 29.074897 29.122282 29.169667 29.217052 29.264438 29.311823 29.359208 29.406593 29.453979 29.501364 29.548749 29.596134 29.643520 29.690905 29.738290 29.785675 29.833061 29.880446 29.927831 29.975216 30.022602 30.069987 30.117372 30.164757 30.212142 30.259528 30.306913 30.354298 30.401683 30.449069 30.496454 30.543839 30.591224 30.638610 30.685995 30.733380 30.780765 30.828151 30.875536 30.922921 30.970306 31.017692 31.065077 31.112462 31.159847 31.207232 31.254618 31.302003 31.349388 31.396773 31.444159 31.491544 31.538929 31.586314 31.633700 31.681085 31.728470 31.775855 31.823241 31.870626 31.918011 31.965396 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000] + * Referenced by: '/1-D Lookup Table' */ double uDLookupTable_tableData[1024]; - /* Pooled Parameter (Expression: [845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 834 814 795 778 762 746 732 718 705 692 680 669 658 648 638 628 619 610 601 593 585 577 569 562 555 548 541 535 528 522 516 510 504 498 493 488 482 477 472 467 462 457 453 448 444 439 435 431 426 422 418 414 410 406 403 399 395 392 388 384 381 378 374 371 368 364 361 358 355 352 349 346 343 340 337 334 331 329 326 323 320 318 315 312 310 307 305 302 300 297 295 292 290 288 285 283 281 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 233 231 229 227 225 224 222 220 218 216 215 213 211 209 208 206 204 203 201 199 198 196 194 193 191 190 188 186 185 183 182 180 179 177 176 174 173 171 170 168 167 165 164 162 161 159 158 156 155 154 152 151 150 148 147 145 144 143 141 140 139 137 136 135 133 132 131 130 128 127 126 125 123 122 121 120 118 117 116 115 113 112 111 110 109 107 106 105 104 103 102 100 99 98 97 96 95 94 92 91 90 89 88 87 86 85 84 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 26 25 24 23 22 21 20 19 18 17 16 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 1 0 0 -1 -2 -3 -4 -4 -5 -6 -7 -8 -9 -9 -10 -11 -12 -13 -14 -14 -15 -16 -17 -18 -19 -19 -20 -21 -22 -23 -23 -24 -25 -26 -27 -28 -28 -29 -30 -31 -31 -32 -33 -34 -35 -35 -36 -37 -38 -39 -39 -40 -41 -42 -42 -43 -44 -45 -46 -46 -47 -48 -49 -49 -50 -51 -52 -53 -53 -54 -55 -56 -56 -57 -58 -59 -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 -79 -80 -81 -82 -82 -83 -84 -85 -85 -86 -87 -87 -88 -89 -90 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -102 -103 -104 -105 -105 -106 -107 -107 -108 -109 -109 -110 -111 -112 -112 -113 -114 -114 -115 -116 -116 -117 -118 -119 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -130 -131 -132 -132 -133 -134 -134 -135 -136 -137 -137 -138 -139 -139 -140 -141 -141 -142 -143 -143 -144 -145 -145 -146 -147 -147 -148 -149 -149 -150 -151 -152 -152 -153 -154 -154 -155 -156 -156 -157 -158 -158 -159 -160 -160 -161 -162 -162 -163 -164 -164 -165 -166 -167 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -175 -176 -177 -177 -178 -179 -179 -180 -181 -181 -182 -183 -183 -184 -185 -186 -186 -187 -188 -188 -189 -190 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -198 -199 -200 -200 -201 -202 -202 -203 -204 -205 -205 -206 -207 -207 -208 -209 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -220 -221 -222 -222 -223 -224 -225 -225 -226 -227 -227 -228 -229 -229 -230 -231 -231 -232 -233 -234 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -243 -244 -245 -245 -246 -247 -248 -248 -249 -250 -250 -251 -252 -253 -253 -254 -255 -255 -256 -257 -258 -258 -259 -260 -261 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -271 -272 -273 -274 -274 -275 -276 -277 -277 -278 -279 -280 -280 -281 -282 -283 -283 -284 -285 -286 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -295 -296 -297 -298 -299 -299 -300 -301 -302 -302 -303 -304 -305 -306 -306 -307 -308 -309 -310 -310 -311 -312 -313 -314 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -328 -329 -330 -331 -332 -333 -333 -334 -335 -336 -337 -338 -339 -339 -340 -341 -342 -343 -344 -345 -345 -346 -347 -348 -349 -350 -351 -352 -353 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -363 -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 -397 -398 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399]) + /* Pooled Parameter (Expression: Incar_Temp_Table) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table' * '/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 pooled39[2]; + uint32_t pooled40[2]; /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' + * 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' + * '/Get LVL for temp' + * '/1-D Lookup Table' */ - int16_t pooled42[6]; + int16_t pooled44[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: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 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 pooled47[1024]; + int16_t pooled49[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 pooled48[1024]; + int16_t pooled50[1024]; /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - int16_t pooled51[13]; + int16_t pooled53[13]; /* 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 Table' - * '/1-D Lookup Table1' - * '/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 pooled54[1024]; + uint16_t pooled56[1024]; /* 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 pooled85[9]; + uint8_t pooled87[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 pooled92[6]; + uint8_t pooled94[6]; } ConstP; /* External outputs (root outports fed by signals with default storage) */ @@ -531,6 +552,9 @@ typedef struct { /* '/dbgCAN_dbg_Logic_Blower_model' */ dbgCAN_dbg_Sen_Amb_Bus dbgCAN_dbg_Sen_Amb_model;/* '/dbgCAN_dbg_Sen_Amb_model' */ CmdCAN_CCU_STAT2_Bus CCU_Stat2_model;/* '/CCU_Stat2_model' */ + dbgCAN_dbg_Sen_Incar_Bus dbgCAN_dbg_Sen_Incar_model;/* '/dbgCAN_dbg_Sen_Incar_model' */ + dbgCAN_dbg_Sen_0_Bus dbgCAN_dbg_Sen_0_model;/* '/dbgCAN_dbg_Sen_0_model' */ + tPowerEnable_Bus PowerEnable_Model; /* '/PowerEnable_Model' */ } ExtY; /* Real-time Model Data Structure */ @@ -566,9 +590,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' */ @@ -596,143 +620,129 @@ extern RT_MODEL *const rtM; * 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 '/AMB (C * 10)' : 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 '/lvl' : Unused code path elimination + * Block '/Display' : 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 '/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 '/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 '/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 '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/1-D Lookup Table' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/ABM from read' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/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 '/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 '/Display8' : Unused code path elimination - * Block '/Display9' : 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 '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/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 '/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 '/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 @@ -745,49 +755,49 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/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 '/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 '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/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 '/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 '/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 @@ -800,137 +810,137 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/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 '/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 '/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 '/Display3' : Unused code path elimination - * Block '/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 '/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 '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/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 '/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 '/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 @@ -943,49 +953,49 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/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 '/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 '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/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 '/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 '/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 @@ -998,161 +1008,139 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/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 '/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 '/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 '/Display3' : Unused code path elimination - * Block '/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 '/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 '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : 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 '/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 '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/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 @@ -1167,28 +1155,28 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/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 '/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 @@ -1203,28 +1191,28 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/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 '/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 @@ -1239,28 +1227,28 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/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 '/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 @@ -1275,8 +1263,44 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/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 @@ -1293,42 +1317,42 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/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 '/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 '/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 '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/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 @@ -1348,29 +1372,6 @@ extern RT_MODEL *const rtM; * 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 @@ -1386,14 +1387,37 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/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 '/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 @@ -1404,471 +1428,470 @@ extern RT_MODEL *const rtM; * 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 '/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 '/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 '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/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 '/SET водителя' : Unused code path elimination + * Block '/SET левого заднего пссажира' : Unused code path elimination + * Block '/SET пассажира' : Unused code path elimination + * Block '/SET правого заднего пссажира' : 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 '/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 '/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 '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Kb' : Unused code path elimination - * Block '/SumI2' : Unused code path elimination - * Block '/SumI4' : Unused code path elimination - * Block '/Integral Gain' : Unused code path elimination - * Block '/Integrator' : Unused code path elimination - * Block '/Proportional Gain' : Unused code path elimination - * Block '/Saturation' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Subtract' : 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 '/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 '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination + * Block '/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 '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Kb' : Unused code path elimination + * Block '/SumI2' : Unused code path elimination + * Block '/SumI4' : Unused code path elimination + * Block '/Integral Gain' : Unused code path elimination + * Block '/Integrator' : Unused code path elimination + * Block '/Proportional Gain' : Unused code path elimination + * Block '/Saturation' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Subtract' : 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 '/Saturation3' : Unused code path elimination * Block '/Saturation7' : Unused code path elimination * Block '/Saturation8' : Unused code path elimination - * Block '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/Vtg_RL_correct display' : Unused code path elimination - * Block '/Vtg_RR_correct display' : 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 '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/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 '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type 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 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 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 '/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 '/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 '/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 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 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 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 '/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 '/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 '/Abs' : Eliminated since data is unsigned */ /*- @@ -1890,1690 +1913,1703 @@ extern RT_MODEL *const rtM; * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode' * '' : 'HVAC_model/13.1.3.3 Dtg model' * '' : 'HVAC_model/ACP' - * '' : 'HVAC_model/CAN INPUT' - * '' : 'HVAC_model/CAN OUTPUT' - * '' : 'HVAC_model/LIN' - * '' : 'HVAC_model/PWM and valves in manual' - * '' : 'HVAC_model/PWN' - * '' : 'HVAC_model/Start control' - * '' : 'HVAC_model/Subsystem' - * '' : 'HVAC_model/Synchronization (SYNC)' - * '' : 'HVAC_model/dbg CAN' - * '' : '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 Subsystem/Convert_g_assAMB_LV_UP_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_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/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/Subsystem6' - * '' : 'HVAC_model/CAN INPUT/Subsystem7' - * '' : 'HVAC_model/CAN INPUT/Subsystem8' - * '' : 'HVAC_model/CAN INPUT/Subsystem9' - * '' : 'HVAC_model/CAN INPUT/Subsystem10/выключить front, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem10/выключить front, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem10/выключить front, all sync/sync front action' - * '' : 'HVAC_model/CAN INPUT/Subsystem11/выключить front, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem11/выключить front, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem11/выключить front, all sync/sync front action' - * '' : 'HVAC_model/CAN INPUT/Subsystem12/выключить front, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem12/выключить front, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem12/выключить front, all sync/sync front action' - * '' : 'HVAC_model/CAN INPUT/Subsystem13/выключить front, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem13/выключить front, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem13/выключить front, all sync/sync front action' - * '' : 'HVAC_model/CAN INPUT/Subsystem15/выключить front, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem15/выключить front, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem15/выключить front, all sync/sync front action' - * '' : 'HVAC_model/CAN INPUT/Subsystem2/выключить rear, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem2/выключить rear, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem2/выключить rear, all sync/sync rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action/action if all_sync was off' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action/action if all_sync was on' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action/action if all_sync was off' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action/action if all_sync was on' - * '' : 'HVAC_model/CAN INPUT/Subsystem27/выключить rear, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem27/выключить rear, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem27/выключить rear, all sync/sync rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem28/выключить rear, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem28/выключить rear, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem28/выключить rear, all sync/sync rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem29/выключить rear, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem29/выключить rear, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem29/выключить rear, all sync/sync rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem30/выключить rear, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem30/выключить rear, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem30/выключить rear, all sync/sync rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem35/выключить rear, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem35/выключить rear, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem35/выключить rear, all sync/sync rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem6/выключить front, all sync' - * '' : 'HVAC_model/CAN INPUT/Subsystem6/выключить front, all sync/sync all action' - * '' : 'HVAC_model/CAN INPUT/Subsystem6/выключить front, all sync/sync front 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/PID Controller' - * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL0/Homing' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL1/Homing' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL2/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL2/Homing' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL2/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL2/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/PID Controller/Anti-windup' - * '' : 'HVAC_model/LIN/PID Controller/D Gain' - * '' : 'HVAC_model/LIN/PID Controller/External Derivative' - * '' : 'HVAC_model/LIN/PID Controller/Filter' - * '' : 'HVAC_model/LIN/PID Controller/Filter ICs' - * '' : 'HVAC_model/LIN/PID Controller/I Gain' - * '' : 'HVAC_model/LIN/PID Controller/Ideal P Gain' - * '' : 'HVAC_model/LIN/PID Controller/Ideal P Gain Fdbk' - * '' : 'HVAC_model/LIN/PID Controller/Integrator' - * '' : 'HVAC_model/LIN/PID Controller/Integrator ICs' - * '' : 'HVAC_model/LIN/PID Controller/N Copy' - * '' : 'HVAC_model/LIN/PID Controller/N Gain' - * '' : 'HVAC_model/LIN/PID Controller/P Copy' - * '' : 'HVAC_model/LIN/PID Controller/Parallel P Gain' - * '' : 'HVAC_model/LIN/PID Controller/Reset Signal' - * '' : 'HVAC_model/LIN/PID Controller/Saturation' - * '' : 'HVAC_model/LIN/PID Controller/Saturation Fdbk' - * '' : 'HVAC_model/LIN/PID Controller/Sum' - * '' : 'HVAC_model/LIN/PID Controller/Sum Fdbk' - * '' : 'HVAC_model/LIN/PID Controller/Tracking Mode' - * '' : 'HVAC_model/LIN/PID Controller/Tracking Mode Sum' - * '' : 'HVAC_model/LIN/PID Controller/Tsamp - Integral' - * '' : 'HVAC_model/LIN/PID Controller/Tsamp - Ngain' - * '' : 'HVAC_model/LIN/PID Controller/postSat Signal' - * '' : 'HVAC_model/LIN/PID Controller/preSat Signal' - * '' : 'HVAC_model/LIN/PID Controller/Anti-windup/Back Calculation' - * '' : 'HVAC_model/LIN/PID Controller/D Gain/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/External Derivative/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/Filter/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/Filter ICs/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/I Gain/Internal Parameters' - * '' : 'HVAC_model/LIN/PID Controller/Ideal P Gain/Passthrough' - * '' : 'HVAC_model/LIN/PID Controller/Ideal P Gain Fdbk/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/Integrator/Discrete' - * '' : 'HVAC_model/LIN/PID Controller/Integrator ICs/Internal IC' - * '' : 'HVAC_model/LIN/PID Controller/N Copy/Disabled wSignal Specification' - * '' : 'HVAC_model/LIN/PID Controller/N Gain/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/P Copy/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/Parallel P Gain/Internal Parameters' - * '' : 'HVAC_model/LIN/PID Controller/Reset Signal/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/Saturation/Enabled' - * '' : 'HVAC_model/LIN/PID Controller/Saturation Fdbk/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/Sum/Sum_PI' - * '' : 'HVAC_model/LIN/PID Controller/Sum Fdbk/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/Tracking Mode/Disabled' - * '' : 'HVAC_model/LIN/PID Controller/Tracking Mode Sum/Passthrough' - * '' : 'HVAC_model/LIN/PID Controller/Tsamp - Integral/TsSignalSpecification' - * '' : 'HVAC_model/LIN/PID Controller/Tsamp - Ngain/Passthrough' - * '' : 'HVAC_model/LIN/PID Controller/postSat Signal/Forward_Path' - * '' : 'HVAC_model/LIN/PID Controller/preSat Signal/Forward_Path' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode ' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Write' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Write' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Write2' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Def' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Foor + Def' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Foot' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Hi_Level' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Tri-Level' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Def' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Foor + Def' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Foot' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Hi_Level' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Tri-Level' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Left AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Right AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Write1' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Bi Level R' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Foot R' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Vent mode R' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Bi Level R' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Foot R' - * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Vent mode R' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Left AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Right AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Left AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Left AF - manual directions/AF for Foot' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Left AF - manual directions/valves for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Right AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Right AF - manual directions/AF for Foot' - * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Right AF - manual directions/valves for Vent mode' - * '' : 'HVAC_model/PWN/Write' - * '' : 'HVAC_model/PWN/Write1' - * '' : 'HVAC_model/PWN/Write2' - * '' : 'HVAC_model/PWN/Write3' - * '' : '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/Calc Vtg_FL_correct (Front Left)' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1' - * '' : 'HVAC_model/Subsystem/wait_correction_left' - * '' : 'HVAC_model/Subsystem/wait_correction_right' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.3 Vtg_FLU' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/Saturation Dynamic' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/Vtg_FX_plus_max' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/Vtg_FX_plus_min' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/is_ending_with_5' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/2.1 Incar target Left' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/X1-X4 для Vtg_FX_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/Y1-Y4 для Vtg_FX_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Amb_Tg ' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/X1-X2 для Vtg_FL_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Y1-Y2 для Vtg_FL_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/X1-X2 для Vtg_FX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/Y1-Y2 для Vtg_FX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.3 Vtg_FRU' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/FXU_tg_min' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/Saturation Dynamic' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/Vtg_FX_plus_max' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/is_ending_with_5' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/2.1 Incar target Right' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/X1-X4 для Vtg_FX_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/Y1-Y4 для Vtg_FX_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Amb_Tg ' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/X1-X4 для Vtg_FR_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Y1-Y4 для Vtg_FR_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/X1-X4 для Vtg_FX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/Y1-Y4 для Vtg_FX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.3 Vtg_RL' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/Saturation Dynamic' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/Vtg_RX_plus_max' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/Vtg_RX_plus_min' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/is_ending_with_5' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/2.1 Incar target Left' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/X1-X4 для Vtg_FX_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/Y1-Y4 для Vtg_FX_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Amb_Tg ' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/X1-X2 для Vtg_RL_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Y1-Y2 для Vtg_RL_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/X1-X2 для Vtg_FX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/Y1-Y2 для Vtg_RX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.3 Vtg_RR' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/Saturation Dynamic' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/Vtg_RX_plus_max' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/Vtg_RX_plus_min' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/is_ending_with_5' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/2.1 Incar target Rear Right' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/X1-X4 для Vtg_RX_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/Y1-Y4 для Vtg_RX_incar' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/Amb_Tg ' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/X1-X4 для Vtg_RX_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/Y1-Y4 для Vtg_RX_amb' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun/X1-X4 для Vtg_RX_sun' - * '' : 'HVAC_model/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun/Y1-Y4 для Vtg_RX_sun' - * '' : 'HVAC_model/Subsystem/wait_correction_left/RealTime_Timer' - * '' : 'HVAC_model/Subsystem/wait_correction_left/Saturation Dynamic' - * '' : 'HVAC_model/Subsystem/wait_correction_left/correction max' - * '' : 'HVAC_model/Subsystem/wait_correction_left/correction rate' - * '' : 'HVAC_model/Subsystem/wait_correction_left/correction_start_time' - * '' : 'HVAC_model/Subsystem/wait_correction_left/is_ending_with_5' - * '' : 'HVAC_model/Subsystem/wait_correction_left/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/Subsystem/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/Subsystem/wait_correction_right/RealTime_Timer' - * '' : 'HVAC_model/Subsystem/wait_correction_right/Saturation Dynamic' - * '' : 'HVAC_model/Subsystem/wait_correction_right/correction max' - * '' : 'HVAC_model/Subsystem/wait_correction_right/correction rate' - * '' : 'HVAC_model/Subsystem/wait_correction_right/correction_start_time' - * '' : 'HVAC_model/Subsystem/wait_correction_right/is_ending_with_5' - * '' : 'HVAC_model/Subsystem/wait_correction_right/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/Subsystem/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/Synchronization (SYNC)/all zone sync' - * '' : 'HVAC_model/Synchronization (SYNC)/front sync' - * '' : 'HVAC_model/Synchronization (SYNC)/rear sync' - * '' : 'HVAC_model/dbg CAN/ACP (duct sensors) 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/Blower speed' + * '' : 'HVAC_model/CAN INPUT' + * '' : 'HVAC_model/CAN OUTPUT' + * '' : 'HVAC_model/LIN' + * '' : 'HVAC_model/MATLAB Function1' + * '' : 'HVAC_model/PWM and valves in manual' + * '' : 'HVAC_model/PWN' + * '' : 'HVAC_model/Power' + * '' : 'HVAC_model/Start control' + * '' : 'HVAC_model/Synchronization (SYNC)' + * '' : 'HVAC_model/dbg CAN' + * '' : '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/Front' + * '' : 'HVAC_model/Blower speed/Subsystem' + * '' : 'HVAC_model/Blower speed/Subsystem3' + * '' : 'HVAC_model/Blower speed/Если включен автоматический режим спереди' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.3 Vtg_FLU' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/Vtg_FX_plus_max' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/Vtg_FX_plus_min' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/is_ending_with_5' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/2.1 Incar target Left' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/X1-X4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/Y1-Y4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Amb_Tg ' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/X1-X2 для Vtg_FL_amb' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Y1-Y2 для Vtg_FL_amb' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/X1-X2 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/Y1-Y2 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.3 Vtg_FRU' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/FXU_tg_min' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/Vtg_FX_plus_max' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/is_ending_with_5' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/2.1 Incar target Right' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/X1-X4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/Y1-Y4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Amb_Tg ' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/X1-X4 для Vtg_FR_amb' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Y1-Y4 для Vtg_FR_amb' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/X1-X4 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/Y1-Y4 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left/RealTime_Timer' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left/correction max' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left/correction rate' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left/correction_start_time' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left/is_ending_with_5' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right/RealTime_Timer' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right/correction max' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right/correction rate' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right/correction_start_time' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right/is_ending_with_5' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/Blower speed/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.3 Vtg_RL' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/Vtg_RX_plus_max' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/Vtg_RX_plus_min' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/is_ending_with_5' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/2.1 Incar target Left' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/X1-X4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/Y1-Y4 для Vtg_FX_incar' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Amb_Tg ' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/X1-X2 для Vtg_RL_amb' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Y1-Y2 для Vtg_RL_amb' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/X1-X2 для Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/Y1-Y2 для Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.3 Vtg_RR' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/Vtg_RX_plus_max' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/Vtg_RX_plus_min' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/is_ending_with_5' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/2.1 Incar target Rear Right' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/X1-X4 для Vtg_RX_incar' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/Y1-Y4 для Vtg_RX_incar' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/Amb_Tg ' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/X1-X4 для Vtg_RX_amb' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RR_amb/Y1-Y4 для Vtg_RX_amb' + * '' : 'HVAC_model/Blower speed/Subsystem/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RR_sun/X1-X4 для Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed/Subsystem/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/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/Subsystem7' + * '' : 'HVAC_model/CAN INPUT/Subsystem8' + * '' : 'HVAC_model/CAN INPUT/Subsystem9' + * '' : 'HVAC_model/CAN INPUT/Subsystem10/выключить front, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem10/выключить front, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem10/выключить front, all sync/sync front action' + * '' : 'HVAC_model/CAN INPUT/Subsystem11/выключить front, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem11/выключить front, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem11/выключить front, all sync/sync front action' + * '' : 'HVAC_model/CAN INPUT/Subsystem12/выключить front, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem12/выключить front, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem12/выключить front, all sync/sync front action' + * '' : 'HVAC_model/CAN INPUT/Subsystem13/выключить front, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem13/выключить front, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem13/выключить front, all sync/sync front action' + * '' : 'HVAC_model/CAN INPUT/Subsystem15/выключить front, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem15/выключить front, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem15/выключить front, all sync/sync front action' + * '' : 'HVAC_model/CAN INPUT/Subsystem2/выключить rear, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem2/выключить rear, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem2/выключить rear, all sync/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action/action if all_sync was off' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action/action if all_sync was on' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action/action if all_sync was off' + * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action/action if all_sync was on' + * '' : 'HVAC_model/CAN INPUT/Subsystem27/выключить rear, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem27/выключить rear, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem27/выключить rear, all sync/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem28/выключить rear, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem28/выключить rear, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem28/выключить rear, all sync/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem29/выключить rear, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem29/выключить rear, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem29/выключить rear, all sync/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem30/выключить rear, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem30/выключить rear, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem30/выключить rear, all sync/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem35/выключить rear, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem35/выключить rear, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem35/выключить rear, all sync/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync off rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync rear action/action if all_sync was off' + * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync rear action/action if all_sync was on' + * '' : 'HVAC_model/CAN INPUT/Subsystem6/выключить front, all sync' + * '' : 'HVAC_model/CAN INPUT/Subsystem6/выключить front, all sync/sync all action' + * '' : 'HVAC_model/CAN INPUT/Subsystem6/выключить front, all sync/sync front 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/PID Controller' + * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL0/Homing' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL1/Homing' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' + * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Actuator_Ch1_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL2/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL2/Homing' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL2/stepr to percents' + * '' : 'HVAC_model/LIN/CHANEL2/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/PID Controller/Anti-windup' + * '' : 'HVAC_model/LIN/PID Controller/D Gain' + * '' : 'HVAC_model/LIN/PID Controller/External Derivative' + * '' : 'HVAC_model/LIN/PID Controller/Filter' + * '' : 'HVAC_model/LIN/PID Controller/Filter ICs' + * '' : 'HVAC_model/LIN/PID Controller/I Gain' + * '' : 'HVAC_model/LIN/PID Controller/Ideal P Gain' + * '' : 'HVAC_model/LIN/PID Controller/Ideal P Gain Fdbk' + * '' : 'HVAC_model/LIN/PID Controller/Integrator' + * '' : 'HVAC_model/LIN/PID Controller/Integrator ICs' + * '' : 'HVAC_model/LIN/PID Controller/N Copy' + * '' : 'HVAC_model/LIN/PID Controller/N Gain' + * '' : 'HVAC_model/LIN/PID Controller/P Copy' + * '' : 'HVAC_model/LIN/PID Controller/Parallel P Gain' + * '' : 'HVAC_model/LIN/PID Controller/Reset Signal' + * '' : 'HVAC_model/LIN/PID Controller/Saturation' + * '' : 'HVAC_model/LIN/PID Controller/Saturation Fdbk' + * '' : 'HVAC_model/LIN/PID Controller/Sum' + * '' : 'HVAC_model/LIN/PID Controller/Sum Fdbk' + * '' : 'HVAC_model/LIN/PID Controller/Tracking Mode' + * '' : 'HVAC_model/LIN/PID Controller/Tracking Mode Sum' + * '' : 'HVAC_model/LIN/PID Controller/Tsamp - Integral' + * '' : 'HVAC_model/LIN/PID Controller/Tsamp - Ngain' + * '' : 'HVAC_model/LIN/PID Controller/postSat Signal' + * '' : 'HVAC_model/LIN/PID Controller/preSat Signal' + * '' : 'HVAC_model/LIN/PID Controller/Anti-windup/Back Calculation' + * '' : 'HVAC_model/LIN/PID Controller/D Gain/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/External Derivative/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/Filter/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/Filter ICs/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/I Gain/Internal Parameters' + * '' : 'HVAC_model/LIN/PID Controller/Ideal P Gain/Passthrough' + * '' : 'HVAC_model/LIN/PID Controller/Ideal P Gain Fdbk/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/Integrator/Discrete' + * '' : 'HVAC_model/LIN/PID Controller/Integrator ICs/Internal IC' + * '' : 'HVAC_model/LIN/PID Controller/N Copy/Disabled wSignal Specification' + * '' : 'HVAC_model/LIN/PID Controller/N Gain/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/P Copy/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/Parallel P Gain/Internal Parameters' + * '' : 'HVAC_model/LIN/PID Controller/Reset Signal/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/Saturation/Enabled' + * '' : 'HVAC_model/LIN/PID Controller/Saturation Fdbk/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/Sum/Sum_PI' + * '' : 'HVAC_model/LIN/PID Controller/Sum Fdbk/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/Tracking Mode/Disabled' + * '' : 'HVAC_model/LIN/PID Controller/Tracking Mode Sum/Passthrough' + * '' : 'HVAC_model/LIN/PID Controller/Tsamp - Integral/TsSignalSpecification' + * '' : 'HVAC_model/LIN/PID Controller/Tsamp - Ngain/Passthrough' + * '' : 'HVAC_model/LIN/PID Controller/postSat Signal/Forward_Path' + * '' : 'HVAC_model/LIN/PID Controller/preSat Signal/Forward_Path' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode ' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Если ручной режим' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Если ручной режим1' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Def' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Foor + Def' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Foot' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Hi_Level' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Tri-Level' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Left AF - manual directions/AF for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Def' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Foor + Def' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Foot' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Hi_Level' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Tri-Level' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Fromt zone PWM/Front Right AF - manual directions/AF for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Left AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Right AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Bi Level R' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Foot R' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Vent mode R' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Bi Level R' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Foot R' + * '' : 'HVAC_model/PWM and valves in manual/PWM in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Vent mode R' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Если ручной режим' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Если ручной режим1' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Left AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Right AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Left AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Left AF - manual directions/AF for Foot' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Left AF - manual directions/valves for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Right AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Right AF - manual directions/AF for Foot' + * '' : 'HVAC_model/PWM and valves in manual/valves in manual mode /Rear zone valves/Rear Right AF - manual directions/valves for Vent mode' + * '' : 'HVAC_model/PWN/Write' + * '' : 'HVAC_model/PWN/Write1' + * '' : 'HVAC_model/PWN/Write2' + * '' : 'HVAC_model/PWN/Write3' + * '' : '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/Synchronization (SYNC)/all zone sync' + * '' : 'HVAC_model/Synchronization (SYNC)/front sync' + * '' : 'HVAC_model/Synchronization (SYNC)/rear sync' + * '' : 'HVAC_model/dbg CAN/0 to dbg' + * '' : 'HVAC_model/dbg CAN/ACP (duct sensors) 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' */ #endif /* HVAC_model_h_ */ diff --git a/HVAC_model_data.c b/HVAC_model_data.c index 06a4dfd..7ccbe67 100644 --- a/HVAC_model_data.c +++ b/HVAC_model_data.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.962 + * Model version : 1.1004 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 19 17:16:47 2026 + * C/C++ source code generated on : Tue May 26 15:27:11 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) */ @@ -89,359 +89,385 @@ const ConstP rtConstP = { 0U }, - /* Pooled Parameter (Expression: [849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 834 816 799 783 767 753 739 726 714 702 691 680 669 659 650 640 631 623 614 606 598 591 583 576 569 562 555 549 542 536 530 524 519 513 508 502 497 492 487 482 477 472 467 463 458 454 449 445 441 437 433 429 425 421 417 413 409 406 402 399 395 392 388 385 381 378 375 372 369 365 362 359 356 353 350 348 345 342 339 336 334 331 328 325 323 320 318 315 313 310 308 305 303 300 298 296 293 291 289 286 284 282 280 278 275 273 271 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 233 231 230 228 226 224 222 221 219 217 215 214 212 210 209 207 205 204 202 200 199 197 196 194 192 191 189 188 186 184 183 181 180 178 177 175 174 172 171 169 168 167 165 164 162 161 159 158 157 155 154 153 151 150 148 147 146 144 143 142 140 139 138 136 135 134 133 131 130 129 128 126 125 124 123 121 120 119 118 116 115 114 113 112 110 109 108 107 106 105 103 102 101 100 99 98 96 95 94 93 92 91 90 89 87 86 85 84 83 82 81 80 79 78 77 75 74 73 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 32 31 30 29 28 27 26 25 24 23 22 21 20 19 19 18 17 16 15 14 13 12 11 10 10 9 8 7 6 5 4 3 3 2 1 0 0 -1 -2 -2 -3 -4 -5 -6 -7 -8 -8 -9 -10 -11 -12 -13 -14 -14 -15 -16 -17 -18 -19 -19 -20 -21 -22 -23 -24 -24 -25 -26 -27 -28 -28 -29 -30 -31 -32 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -48 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -61 -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 -82 -83 -84 -85 -85 -86 -87 -88 -88 -89 -90 -91 -91 -92 -93 -93 -94 -95 -96 -96 -97 -98 -99 -99 -100 -101 -101 -102 -103 -104 -104 -105 -106 -107 -107 -108 -109 -109 -110 -111 -112 -112 -113 -114 -114 -115 -116 -117 -117 -118 -119 -119 -120 -121 -122 -122 -123 -124 -124 -125 -126 -126 -127 -128 -129 -129 -130 -131 -131 -132 -133 -134 -134 -135 -136 -136 -137 -138 -138 -139 -140 -141 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -154 -155 -156 -157 -157 -158 -159 -159 -160 -161 -161 -162 -163 -164 -164 -165 -166 -166 -167 -168 -168 -169 -170 -170 -171 -172 -173 -173 -174 -175 -175 -176 -177 -177 -178 -179 -179 -180 -181 -182 -182 -183 -184 -184 -185 -186 -186 -187 -188 -188 -189 -190 -191 -191 -192 -193 -193 -194 -195 -195 -196 -197 -197 -198 -199 -200 -200 -201 -202 -202 -203 -204 -204 -205 -206 -207 -207 -208 -209 -209 -210 -211 -211 -212 -213 -214 -214 -215 -216 -216 -217 -218 -219 -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 -243 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -251 -252 -253 -254 -254 -255 -256 -257 -257 -258 -259 -259 -260 -261 -262 -262 -263 -264 -265 -265 -266 -267 -268 -268 -269 -270 -271 -271 -272 -273 -274 -274 -275 -276 -277 -277 -278 -279 -280 -280 -281 -282 -283 -283 -284 -285 -286 -287 -287 -288 -289 -290 -290 -291 -292 -293 -294 -294 -295 -296 -297 -297 -298 -299 -300 -301 -301 -302 -303 -304 -305 -305 -306 -307 -308 -309 -309 -310 -311 -312 -313 -314 -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 -341 -342 -343 -344 -345 -346 -347 -348 -349 -349 -350 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -360 -361 -362 -363 -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 -397 -398 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399]) + /* 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' */ - { 849.0, 849.0, 849.0, 849.0, 849.0, 849.0, 849.0, 849.0, 849.0, 849.0, 849.0, - 849.0, 849.0, 849.0, 849.0, 849.0, 849.0, 834.0, 816.0, 799.0, 783.0, 767.0, - 753.0, 739.0, 726.0, 714.0, 702.0, 691.0, 680.0, 669.0, 659.0, 650.0, 640.0, - 631.0, 623.0, 614.0, 606.0, 598.0, 591.0, 583.0, 576.0, 569.0, 562.0, 555.0, - 549.0, 542.0, 536.0, 530.0, 524.0, 519.0, 513.0, 508.0, 502.0, 497.0, 492.0, - 487.0, 482.0, 477.0, 472.0, 467.0, 463.0, 458.0, 454.0, 449.0, 445.0, 441.0, - 437.0, 433.0, 429.0, 425.0, 421.0, 417.0, 413.0, 409.0, 406.0, 402.0, 399.0, - 395.0, 392.0, 388.0, 385.0, 381.0, 378.0, 375.0, 372.0, 369.0, 365.0, 362.0, - 359.0, 356.0, 353.0, 350.0, 348.0, 345.0, 342.0, 339.0, 336.0, 334.0, 331.0, - 328.0, 325.0, 323.0, 320.0, 318.0, 315.0, 313.0, 310.0, 308.0, 305.0, 303.0, - 300.0, 298.0, 296.0, 293.0, 291.0, 289.0, 286.0, 284.0, 282.0, 280.0, 278.0, - 275.0, 273.0, 271.0, 269.0, 267.0, 265.0, 263.0, 261.0, 259.0, 257.0, 255.0, - 253.0, 251.0, 249.0, 247.0, 245.0, 243.0, 241.0, 239.0, 237.0, 235.0, 233.0, - 231.0, 230.0, 228.0, 226.0, 224.0, 222.0, 221.0, 219.0, 217.0, 215.0, 214.0, - 212.0, 210.0, 209.0, 207.0, 205.0, 204.0, 202.0, 200.0, 199.0, 197.0, 196.0, - 194.0, 192.0, 191.0, 189.0, 188.0, 186.0, 184.0, 183.0, 181.0, 180.0, 178.0, - 177.0, 175.0, 174.0, 172.0, 171.0, 169.0, 168.0, 167.0, 165.0, 164.0, 162.0, - 161.0, 159.0, 158.0, 157.0, 155.0, 154.0, 153.0, 151.0, 150.0, 148.0, 147.0, - 146.0, 144.0, 143.0, 142.0, 140.0, 139.0, 138.0, 136.0, 135.0, 134.0, 133.0, - 131.0, 130.0, 129.0, 128.0, 126.0, 125.0, 124.0, 123.0, 121.0, 120.0, 119.0, - 118.0, 116.0, 115.0, 114.0, 113.0, 112.0, 110.0, 109.0, 108.0, 107.0, 106.0, - 105.0, 103.0, 102.0, 101.0, 100.0, 99.0, 98.0, 96.0, 95.0, 94.0, 93.0, 92.0, - 91.0, 90.0, 89.0, 87.0, 86.0, 85.0, 84.0, 83.0, 82.0, 81.0, 80.0, 79.0, 78.0, - 77.0, 75.0, 74.0, 73.0, 72.0, 71.0, 70.0, 69.0, 68.0, 67.0, 66.0, 65.0, 64.0, - 63.0, 62.0, 61.0, 60.0, 59.0, 58.0, 57.0, 56.0, 55.0, 54.0, 53.0, 52.0, 51.0, - 50.0, 49.0, 48.0, 47.0, 46.0, 45.0, 44.0, 43.0, 42.0, 41.0, 40.0, 39.0, 38.0, - 37.0, 36.0, 35.0, 34.0, 33.0, 32.0, 32.0, 31.0, 30.0, 29.0, 28.0, 27.0, 26.0, - 25.0, 24.0, 23.0, 22.0, 21.0, 20.0, 19.0, 19.0, 18.0, 17.0, 16.0, 15.0, 14.0, - 13.0, 12.0, 11.0, 10.0, 10.0, 9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 3.0, 2.0, - 1.0, 0.0, 0.0, -1.0, -2.0, -2.0, -3.0, -4.0, -5.0, -6.0, -7.0, -8.0, -8.0, - -9.0, -10.0, -11.0, -12.0, -13.0, -14.0, -14.0, -15.0, -16.0, -17.0, -18.0, - -19.0, -19.0, -20.0, -21.0, -22.0, -23.0, -24.0, -24.0, -25.0, -26.0, -27.0, - -28.0, -28.0, -29.0, -30.0, -31.0, -32.0, -32.0, -33.0, -34.0, -35.0, -36.0, - -36.0, -37.0, -38.0, -39.0, -40.0, -40.0, -41.0, -42.0, -43.0, -44.0, -44.0, - -45.0, -46.0, -47.0, -48.0, -48.0, -49.0, -50.0, -51.0, -51.0, -52.0, -53.0, - -54.0, -55.0, -55.0, -56.0, -57.0, -58.0, -58.0, -59.0, -60.0, -61.0, -61.0, - -62.0, -63.0, -64.0, -65.0, -65.0, -66.0, -67.0, -68.0, -68.0, -69.0, -70.0, - -71.0, -71.0, -72.0, -73.0, -74.0, -74.0, -75.0, -76.0, -77.0, -77.0, -78.0, - -79.0, -80.0, -80.0, -81.0, -82.0, -82.0, -83.0, -84.0, -85.0, -85.0, -86.0, - -87.0, -88.0, -88.0, -89.0, -90.0, -91.0, -91.0, -92.0, -93.0, -93.0, -94.0, - -95.0, -96.0, -96.0, -97.0, -98.0, -99.0, -99.0, -100.0, -101.0, -101.0, - -102.0, -103.0, -104.0, -104.0, -105.0, -106.0, -107.0, -107.0, -108.0, - -109.0, -109.0, -110.0, -111.0, -112.0, -112.0, -113.0, -114.0, -114.0, - -115.0, -116.0, -117.0, -117.0, -118.0, -119.0, -119.0, -120.0, -121.0, - -122.0, -122.0, -123.0, -124.0, -124.0, -125.0, -126.0, -126.0, -127.0, - -128.0, -129.0, -129.0, -130.0, -131.0, -131.0, -132.0, -133.0, -134.0, - -134.0, -135.0, -136.0, -136.0, -137.0, -138.0, -138.0, -139.0, -140.0, - -141.0, -141.0, -142.0, -143.0, -143.0, -144.0, -145.0, -145.0, -146.0, - -147.0, -148.0, -148.0, -149.0, -150.0, -150.0, -151.0, -152.0, -152.0, - -153.0, -154.0, -154.0, -155.0, -156.0, -157.0, -157.0, -158.0, -159.0, - -159.0, -160.0, -161.0, -161.0, -162.0, -163.0, -164.0, -164.0, -165.0, - -166.0, -166.0, -167.0, -168.0, -168.0, -169.0, -170.0, -170.0, -171.0, - -172.0, -173.0, -173.0, -174.0, -175.0, -175.0, -176.0, -177.0, -177.0, - -178.0, -179.0, -179.0, -180.0, -181.0, -182.0, -182.0, -183.0, -184.0, - -184.0, -185.0, -186.0, -186.0, -187.0, -188.0, -188.0, -189.0, -190.0, - -191.0, -191.0, -192.0, -193.0, -193.0, -194.0, -195.0, -195.0, -196.0, - -197.0, -197.0, -198.0, -199.0, -200.0, -200.0, -201.0, -202.0, -202.0, - -203.0, -204.0, -204.0, -205.0, -206.0, -207.0, -207.0, -208.0, -209.0, - -209.0, -210.0, -211.0, -211.0, -212.0, -213.0, -214.0, -214.0, -215.0, - -216.0, -216.0, -217.0, -218.0, -219.0, -219.0, -220.0, -221.0, -221.0, - -222.0, -223.0, -223.0, -224.0, -225.0, -226.0, -226.0, -227.0, -228.0, - -228.0, -229.0, -230.0, -231.0, -231.0, -232.0, -233.0, -233.0, -234.0, - -235.0, -236.0, -236.0, -237.0, -238.0, -238.0, -239.0, -240.0, -241.0, - -241.0, -242.0, -243.0, -243.0, -244.0, -245.0, -246.0, -246.0, -247.0, - -248.0, -249.0, -249.0, -250.0, -251.0, -251.0, -252.0, -253.0, -254.0, - -254.0, -255.0, -256.0, -257.0, -257.0, -258.0, -259.0, -259.0, -260.0, - -261.0, -262.0, -262.0, -263.0, -264.0, -265.0, -265.0, -266.0, -267.0, - -268.0, -268.0, -269.0, -270.0, -271.0, -271.0, -272.0, -273.0, -274.0, - -274.0, -275.0, -276.0, -277.0, -277.0, -278.0, -279.0, -280.0, -280.0, - -281.0, -282.0, -283.0, -283.0, -284.0, -285.0, -286.0, -287.0, -287.0, - -288.0, -289.0, -290.0, -290.0, -291.0, -292.0, -293.0, -294.0, -294.0, - -295.0, -296.0, -297.0, -297.0, -298.0, -299.0, -300.0, -301.0, -301.0, - -302.0, -303.0, -304.0, -305.0, -305.0, -306.0, -307.0, -308.0, -309.0, - -309.0, -310.0, -311.0, -312.0, -313.0, -314.0, -314.0, -315.0, -316.0, - -317.0, -318.0, -318.0, -319.0, -320.0, -321.0, -322.0, -323.0, -323.0, - -324.0, -325.0, -326.0, -327.0, -328.0, -329.0, -329.0, -330.0, -331.0, - -332.0, -333.0, -334.0, -335.0, -335.0, -336.0, -337.0, -338.0, -339.0, - -340.0, -341.0, -341.0, -342.0, -343.0, -344.0, -345.0, -346.0, -347.0, - -348.0, -349.0, -349.0, -350.0, -351.0, -352.0, -353.0, -354.0, -355.0, - -356.0, -357.0, -358.0, -359.0, -360.0, -360.0, -361.0, -362.0, -363.0, - -364.0, -365.0, -366.0, -367.0, -368.0, -369.0, -370.0, -371.0, -372.0, - -373.0, -374.0, -375.0, -376.0, -377.0, -378.0, -379.0, -380.0, -381.0, - -382.0, -383.0, -384.0, -385.0, -386.0, -387.0, -388.0, -389.0, -390.0, - -391.0, -392.0, -393.0, -394.0, -395.0, -396.0, -397.0, -398.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0 }, - - /* Expression: [-4 -2.4 -0.8 0.8 2.4 4 5.6 7.2 8.8 10.4 12 13.6 15.2 16.8 18.4 20 21.6 23.2 24.8 26.4 28 29.6 31.2 32.8 34.4 36 37.6 39.2 40.8 42.4 44 45.6 47.2 48.8 50.4 52 53.6 55.2 56.8 58.4 60 61.6 63.2 64.8 66.4 68 69.6 71.2 72.8 74.4 76 77.6 79.2 80.8 82.4 84 85.6 87.2 88.8 90.4 92 93.6 95.2 96.8 98.4 100 101.6 103.2 104.8 106.4 108 109.6 111.2 112.8 114.4 116 117.6 119.2 120.8 122.4 124 125.6 127.2 128.8 130.4 132 133.6 135.2 136.8 138.4 140 141.6 143.2 144.8 146.4 148 149.6 151.2 152.8 154.4 156 157.6 159.2 160.8 162.4 164 165.6 167.2 168.8 170.4 172 173.6 175.2 176.8 178.4 180 181.6 183.2 184.8 186.4 188 189.6 191.2 192.8 194.4 196 197.6 199.2 200.8 202.4 204 205.6 207.2 208.8 210.4 212 213.6 215.2 216.8 218.4 220 221.6 223.2 224.8 226.4 228 229.6 231.2 232.8 234.4 236 237.6 239.2 240.8 242.4 244 245.6 247.2 248.8 250.4 252 253.6 255.2 256.8 258.4 260 261.6 263.2 264.8 266.4 268 269.6 271.2 272.8 274.4 276 277.6 279.2 280.8 282.4 284 285.6 287.2 288.8 290.4 292 293.6 295.2 296.8 298.4 300 301.6 303.2 304.8 306.4 308 309.6 311.2 312.8 314.4 316 317.6 319.2 320.8 322.4 324 325.6 327.2 328.8 330.4 332 333.6 335.2 336.8 338.4 340 341.6 343.2 344.8 346.4 348 349.6 351.2 352.8 354.4 356 357.6 359.2 360.8 362.4 364 365.6 367.2 368.8 370.4 372 373.6 375.2 376.8 378.4 380 381.6 383.2 384.8 386.4 388 389.6 391.2 392.8 394.4 396 397.6 399.2 400.8 402.4 404 405.6 407.2 408.8 410.4 412 413.6 415.2 416.8 418.4 420 421.6 423.2 424.8 426.4 428 429.6 431.2 432.8 434.4 436 437.6 439.2 440.8 442.4 444 445.6 447.2 448.8 450.4 452 453.6 455.2 456.8 458.4 460 461.6 463.2 464.8 466.4 468 469.6 471.2 472.8 474.4 476 477.6 479.2 480.8 482.4 484 485.6 487.2 488.8 490.4 492 493.6 495.2 496.8 498.4 500 501.6 503.2 504.8 506.4 508 509.6 511.2 512.8 514.4 516 517.6 519.2 520.8 522.4 524 525.6 527.2 528.8 530.4 532 533.6 535.2 536.8 538.4 540 541.6 543.2 544.8 546.4 548 549.6 551.2 552.8 554.4 556 557.6 559.2 560.8 562.4 564 565.6 567.2 568.8 570.4 572 573.6 575.2 576.8 578.4 580 581.6 583.2 584.8 586.4 588 589.6 591.2 592.8 594.4 596 597.6 599.2 600.8 602.4 604 605.6 607.2 608.8 610.4 612 613.6 615.2 616.8 618.4 620 621.6 623.2 624.8 626.4 628 629.6 631.2 632.8 634.4 636 637.6 639.2 640.8 642.4 644 645.6 647.2 648.8 650.4 652 653.6 655.2 656.8 658.4 660 661.6 663.2 664.8 666.4 668 669.6 671.2 672.8 674.4 676 677.6 679.2 680.8 682.4 684 685.6 687.2 688.8 690.4 692 693.6 695.2 696.8 698.4 700 701.6 703.2 704.8 706.4 708 709.6 711.2 712.8 714.4 716 717.6 719.2 720.8 722.4 724 725.6 727.2 728.8 730.4 732 733.6 735.2 736.8 738.4 740 741.6 743.2 744.8 746.4 748 749.6 751.2 752.8 754.4 756 757.6 759.2 760.8 762.4 764 765.6 767.2 768.8 770.4 772 773.6 775.2 776.8 778.4 780 781.6 783.2 784.8 786.4 788 789.6 791.2 792.8 794.4 796 797.6 799.2 800.8 802.4 804 805.6 807.2 808.8 810.4 812 813.6 815.2 816.8 818.4 820 821.6 823.2 824.8 826.4 828 829.6 831.2 832.8 834.4 836 837.6 839.2 840.8 842.4 844 845.6 847.2 848.8 850.4 852 853.6 855.2 856.8 858.4 860 861.6 863.2 864.8 866.4 868 869.6 871.2 872.8 874.4 876 877.6 879.2 880.8 882.4 884 885.6 887.2 888.8 890.4 892 893.6 895.2 896.8 898.4 900 901.6 903.2 904.8 906.4 908 909.6 911.2 912.8 914.4 916 917.6 919.2 920.8 922.4 924 925.6 927.2 928.8 930.4 932 933.6 935.2 936.8 938.4 940 941.6 943.2 944.8 946.4 948 949.6 951.2 952.8 954.4 956 957.6 959.2 960.8 962.4 964 965.6 967.2 968.8 970.4 972 973.6 975.2 976.8 978.4 980 981.6 983.2 984.8 986.4 988 989.6 991.2 992.8 994.4 996 997.6 999.2 1000.8 1002.4 1004 1005.6 1007.2 1008.8 1010.4 1012 1013.6 1015.2 1016.8 1018.4 1020 1021.6 1023.2 1024.8 1026.4 1028 1029.6 1031.2 1032.8 1034.4 1036 1037.6 1039.2 1040.8 1042.4 1044 1045.6 1047.2 1048.8 1050.4 1052 1053.6 1055.2 1056.8 1058.4 1060 1061.6 1063.2 1064.8 1066.4 1068 1069.6 1071.2 1072.8 1074.4 1076 1077.6 1079.2 1080.8 1082.4 1084 1085.6 1087.2 1088.8 1090.4 1092 1093.6 1095.2 1096.8 1098.4 1100 1101.6 1103.2 1104.8 1106.4 1108 1109.6 1111.2 1112.8 1114.4 1116 1117.6 1119.2 1120.8 1122.4 1124 1125.6 1127.2 1128.8 1130.4 1132 1133.6 1135.2 1136.8 1138.4 1140 1141.6 1143.2 1144.8 1146.4 1148 1149.6 1151.2 1152.8 1154.4 1156 1157.6 1159.2 1160.8 1162.4 1164 1165.6 1167.2 1168.8 1170.4 1172 1173.6 1175.2 1176.8 1178.4 1180 1181.6 1183.2 1184.8 1186.4 1188 1189.6 1191.2 1192.8 1194.4 1196 1197.6 1199.2 1200.8 1202.4 1204 1205.6 1207.2 1208.8 1210.4 1212 1213.6 1215.2 1216.8 1218.4 1220 1221.6 1223.2 1224.8 1226.4 1228 1229.6 1231.2 1232.8 1234.4 1236 1237.6 1239.2 1240.8 1242.4 1244 1245.6 1247.2 1248.8 1250.4 1252 1253.6 1255.2 1256.8 1258.4 1260 1261.6 1263.2 1264.8 1266.4 1268 1269.6 1271.2 1272.8 1274.4 1276 1277.6 1279.2 1280.8 1282.4 1284 1285.6 1287.2 1288.8 1290.4 1292 1293.6 1295.2 1296.8 1298.4 1300 1301.6 1303.2 1304.8 1306.4 1308 1309.6 1311.2 1312.8 1314.4 1316 1317.6 1319.2 1320.8 1322.4 1324 1325.6 1327.2 1328.8 1330.4 1332 1333.6 1335.2 1336.8 1338.4 1340 1341.6 1343.2 1344.8 1346.4 1348 1349.6 1351.2 1352.8 1354.4 1356 1357.6 1359.2 1360.8 1362.4 1364 1365.6 1367.2 1368.8 1370.4 1372 1373.6 1375.2 1376.8 1378.4 1380 1381.6 1383.2 1384.8 1386.4 1388 1389.6 1391.2 1392.8 1394.4 1396 1397.6 1399.2 1400.8 1402.4 1404 1405.6 1407.2 1408.8 1410.4 1412 1413.6 1415.2 1416.8 1418.4 1420 1421.6 1423.2 1424.8 1426.4 1428 1429.6 1431.2 1432.8 1434.4 1436 1437.6 1439.2 1440.8 1442.4 1444 1445.6 1447.2 1448.8 1450.4 1452 1453.6 1455.2 1456.8 1458.4 1460 1461.6 1463.2 1464.8 1466.4 1468 1469.6 1471.2 1472.8 1474.4 1476 1477.6 1479.2 1480.8 1482.4 1484 1485.6 1487.2 1488.8 1490.4 1492 1493.6 1495.2 1496.8 1498.4 1500 1501.6 1503.2 1504.8 1506.4 1508 1509.6 1511.2 1512.8 1514.4 1516 1517.6 1519.2 1520.8 1522.4 1524 1525.6 1527.2 1528.8 1530.4 1532 1533.6 1535.2 1536.8 1538.4 1540 1541.6 1543.2 1544.8 1546.4 1548 1549.6 1551.2 1552.8 1554.4 1556 1557.6 1559.2 1560.8 1562.4 1564 1565.6 1567.2 1568.8 1570.4 1572 1573.6 1575.2 1576.8 1578.4 1580 1581.6 1583.2 1584.8 1586.4 1588 1589.6 1591.2 1592.8 1594.4 1596 1597.6 1599.2 1600.8 1602.4 1604 1605.6 1607.2 1608.8 1610.4 1612 1613.6 1615.2 1616.8 1618.4 1620 1621.6 1623.2 1624.8 1626.4 1628 1629.6 1631.2 1632.8] - * Referenced by: '/1-D Lookup Table' - */ - { -4.0, -2.4, -0.8, 0.8, 2.4, 4.0, 5.6, 7.2, 8.8, 10.4, 12.0, 13.6, 15.2, 16.8, - 18.4, 20.0, 21.6, 23.2, 24.8, 26.4, 28.0, 29.6, 31.2, 32.8, 34.4, 36.0, 37.6, - 39.2, 40.8, 42.4, 44.0, 45.6, 47.2, 48.8, 50.4, 52.0, 53.6, 55.2, 56.8, 58.4, - 60.0, 61.6, 63.2, 64.8, 66.4, 68.0, 69.6, 71.2, 72.8, 74.4, 76.0, 77.6, 79.2, - 80.8, 82.4, 84.0, 85.6, 87.2, 88.8, 90.4, 92.0, 93.6, 95.2, 96.8, 98.4, - 100.0, 101.6, 103.2, 104.8, 106.4, 108.0, 109.6, 111.2, 112.8, 114.4, 116.0, - 117.6, 119.2, 120.8, 122.4, 124.0, 125.6, 127.2, 128.8, 130.4, 132.0, 133.6, - 135.2, 136.8, 138.4, 140.0, 141.6, 143.2, 144.8, 146.4, 148.0, 149.6, 151.2, - 152.8, 154.4, 156.0, 157.6, 159.2, 160.8, 162.4, 164.0, 165.6, 167.2, 168.8, - 170.4, 172.0, 173.6, 175.2, 176.8, 178.4, 180.0, 181.6, 183.2, 184.8, 186.4, - 188.0, 189.6, 191.2, 192.8, 194.4, 196.0, 197.6, 199.2, 200.8, 202.4, 204.0, - 205.6, 207.2, 208.8, 210.4, 212.0, 213.6, 215.2, 216.8, 218.4, 220.0, 221.6, - 223.2, 224.8, 226.4, 228.0, 229.6, 231.2, 232.8, 234.4, 236.0, 237.6, 239.2, - 240.8, 242.4, 244.0, 245.6, 247.2, 248.8, 250.4, 252.0, 253.6, 255.2, 256.8, - 258.4, 260.0, 261.6, 263.2, 264.8, 266.4, 268.0, 269.6, 271.2, 272.8, 274.4, - 276.0, 277.6, 279.2, 280.8, 282.4, 284.0, 285.6, 287.2, 288.8, 290.4, 292.0, - 293.6, 295.2, 296.8, 298.4, 300.0, 301.6, 303.2, 304.8, 306.4, 308.0, 309.6, - 311.2, 312.8, 314.4, 316.0, 317.6, 319.2, 320.8, 322.4, 324.0, 325.6, 327.2, - 328.8, 330.4, 332.0, 333.6, 335.2, 336.8, 338.4, 340.0, 341.6, 343.2, 344.8, - 346.4, 348.0, 349.6, 351.2, 352.8, 354.4, 356.0, 357.6, 359.2, 360.8, 362.4, - 364.0, 365.6, 367.2, 368.8, 370.4, 372.0, 373.6, 375.2, 376.8, 378.4, 380.0, - 381.6, 383.2, 384.8, 386.4, 388.0, 389.6, 391.2, 392.8, 394.4, 396.0, 397.6, - 399.2, 400.8, 402.4, 404.0, 405.6, 407.2, 408.8, 410.4, 412.0, 413.6, 415.2, - 416.8, 418.4, 420.0, 421.6, 423.2, 424.8, 426.4, 428.0, 429.6, 431.2, 432.8, - 434.4, 436.0, 437.6, 439.2, 440.8, 442.4, 444.0, 445.6, 447.2, 448.8, 450.4, - 452.0, 453.6, 455.2, 456.8, 458.4, 460.0, 461.6, 463.2, 464.8, 466.4, 468.0, - 469.6, 471.2, 472.8, 474.4, 476.0, 477.6, 479.2, 480.8, 482.4, 484.0, 485.6, - 487.2, 488.8, 490.4, 492.0, 493.6, 495.2, 496.8, 498.4, 500.0, 501.6, 503.2, - 504.8, 506.4, 508.0, 509.6, 511.2, 512.8, 514.4, 516.0, 517.6, 519.2, 520.8, - 522.4, 524.0, 525.6, 527.2, 528.8, 530.4, 532.0, 533.6, 535.2, 536.8, 538.4, - 540.0, 541.6, 543.2, 544.8, 546.4, 548.0, 549.6, 551.2, 552.8, 554.4, 556.0, - 557.6, 559.2, 560.8, 562.4, 564.0, 565.6, 567.2, 568.8, 570.4, 572.0, 573.6, - 575.2, 576.8, 578.4, 580.0, 581.6, 583.2, 584.8, 586.4, 588.0, 589.6, 591.2, - 592.8, 594.4, 596.0, 597.6, 599.2, 600.8, 602.4, 604.0, 605.6, 607.2, 608.8, - 610.4, 612.0, 613.6, 615.2, 616.8, 618.4, 620.0, 621.6, 623.2, 624.8, 626.4, - 628.0, 629.6, 631.2, 632.8, 634.4, 636.0, 637.6, 639.2, 640.8, 642.4, 644.0, - 645.6, 647.2, 648.8, 650.4, 652.0, 653.6, 655.2, 656.8, 658.4, 660.0, 661.6, - 663.2, 664.8, 666.4, 668.0, 669.6, 671.2, 672.8, 674.4, 676.0, 677.6, 679.2, - 680.8, 682.4, 684.0, 685.6, 687.2, 688.8, 690.4, 692.0, 693.6, 695.2, 696.8, - 698.4, 700.0, 701.6, 703.2, 704.8, 706.4, 708.0, 709.6, 711.2, 712.8, 714.4, - 716.0, 717.6, 719.2, 720.8, 722.4, 724.0, 725.6, 727.2, 728.8, 730.4, 732.0, - 733.6, 735.2, 736.8, 738.4, 740.0, 741.6, 743.2, 744.8, 746.4, 748.0, 749.6, - 751.2, 752.8, 754.4, 756.0, 757.6, 759.2, 760.8, 762.4, 764.0, 765.6, 767.2, - 768.8, 770.4, 772.0, 773.6, 775.2, 776.8, 778.4, 780.0, 781.6, 783.2, 784.8, - 786.4, 788.0, 789.6, 791.2, 792.8, 794.4, 796.0, 797.6, 799.2, 800.8, 802.4, - 804.0, 805.6, 807.2, 808.8, 810.4, 812.0, 813.6, 815.2, 816.8, 818.4, 820.0, - 821.6, 823.2, 824.8, 826.4, 828.0, 829.6, 831.2, 832.8, 834.4, 836.0, 837.6, - 839.2, 840.8, 842.4, 844.0, 845.6, 847.2, 848.8, 850.4, 852.0, 853.6, 855.2, - 856.8, 858.4, 860.0, 861.6, 863.2, 864.8, 866.4, 868.0, 869.6, 871.2, 872.8, - 874.4, 876.0, 877.6, 879.2, 880.8, 882.4, 884.0, 885.6, 887.2, 888.8, 890.4, - 892.0, 893.6, 895.2, 896.8, 898.4, 900.0, 901.6, 903.2, 904.8, 906.4, 908.0, - 909.6, 911.2, 912.8, 914.4, 916.0, 917.6, 919.2, 920.8, 922.4, 924.0, 925.6, - 927.2, 928.8, 930.4, 932.0, 933.6, 935.2, 936.8, 938.4, 940.0, 941.6, 943.2, - 944.8, 946.4, 948.0, 949.6, 951.2, 952.8, 954.4, 956.0, 957.6, 959.2, 960.8, - 962.4, 964.0, 965.6, 967.2, 968.8, 970.4, 972.0, 973.6, 975.2, 976.8, 978.4, - 980.0, 981.6, 983.2, 984.8, 986.4, 988.0, 989.6, 991.2, 992.8, 994.4, 996.0, - 997.6, 999.2, 1000.8, 1002.4, 1004.0, 1005.6, 1007.2, 1008.8, 1010.4, 1012.0, - 1013.6, 1015.2, 1016.8, 1018.4, 1020.0, 1021.6, 1023.2, 1024.8, 1026.4, - 1028.0, 1029.6, 1031.2, 1032.8, 1034.4, 1036.0, 1037.6, 1039.2, 1040.8, - 1042.4, 1044.0, 1045.6, 1047.2, 1048.8, 1050.4, 1052.0, 1053.6, 1055.2, - 1056.8, 1058.4, 1060.0, 1061.6, 1063.2, 1064.8, 1066.4, 1068.0, 1069.6, - 1071.2, 1072.8, 1074.4, 1076.0, 1077.6, 1079.2, 1080.8, 1082.4, 1084.0, - 1085.6, 1087.2, 1088.8, 1090.4, 1092.0, 1093.6, 1095.2, 1096.8, 1098.4, - 1100.0, 1101.6, 1103.2, 1104.8, 1106.4, 1108.0, 1109.6, 1111.2, 1112.8, - 1114.4, 1116.0, 1117.6, 1119.2, 1120.8, 1122.4, 1124.0, 1125.6, 1127.2, - 1128.8, 1130.4, 1132.0, 1133.6, 1135.2, 1136.8, 1138.4, 1140.0, 1141.6, - 1143.2, 1144.8, 1146.4, 1148.0, 1149.6, 1151.2, 1152.8, 1154.4, 1156.0, - 1157.6, 1159.2, 1160.8, 1162.4, 1164.0, 1165.6, 1167.2, 1168.8, 1170.4, - 1172.0, 1173.6, 1175.2, 1176.8, 1178.4, 1180.0, 1181.6, 1183.2, 1184.8, - 1186.4, 1188.0, 1189.6, 1191.2, 1192.8, 1194.4, 1196.0, 1197.6, 1199.2, - 1200.8, 1202.4, 1204.0, 1205.6, 1207.2, 1208.8, 1210.4, 1212.0, 1213.6, - 1215.2, 1216.8, 1218.4, 1220.0, 1221.6, 1223.2, 1224.8, 1226.4, 1228.0, - 1229.6, 1231.2, 1232.8, 1234.4, 1236.0, 1237.6, 1239.2, 1240.8, 1242.4, - 1244.0, 1245.6, 1247.2, 1248.8, 1250.4, 1252.0, 1253.6, 1255.2, 1256.8, - 1258.4, 1260.0, 1261.6, 1263.2, 1264.8, 1266.4, 1268.0, 1269.6, 1271.2, - 1272.8, 1274.4, 1276.0, 1277.6, 1279.2, 1280.8, 1282.4, 1284.0, 1285.6, - 1287.2, 1288.8, 1290.4, 1292.0, 1293.6, 1295.2, 1296.8, 1298.4, 1300.0, - 1301.6, 1303.2, 1304.8, 1306.4, 1308.0, 1309.6, 1311.2, 1312.8, 1314.4, - 1316.0, 1317.6, 1319.2, 1320.8, 1322.4, 1324.0, 1325.6, 1327.2, 1328.8, - 1330.4, 1332.0, 1333.6, 1335.2, 1336.8, 1338.4, 1340.0, 1341.6, 1343.2, - 1344.8, 1346.4, 1348.0, 1349.6, 1351.2, 1352.8, 1354.4, 1356.0, 1357.6, - 1359.2, 1360.8, 1362.4, 1364.0, 1365.6, 1367.2, 1368.8, 1370.4, 1372.0, - 1373.6, 1375.2, 1376.8, 1378.4, 1380.0, 1381.6, 1383.2, 1384.8, 1386.4, - 1388.0, 1389.6, 1391.2, 1392.8, 1394.4, 1396.0, 1397.6, 1399.2, 1400.8, - 1402.4, 1404.0, 1405.6, 1407.2, 1408.8, 1410.4, 1412.0, 1413.6, 1415.2, - 1416.8, 1418.4, 1420.0, 1421.6, 1423.2, 1424.8, 1426.4, 1428.0, 1429.6, - 1431.2, 1432.8, 1434.4, 1436.0, 1437.6, 1439.2, 1440.8, 1442.4, 1444.0, - 1445.6, 1447.2, 1448.8, 1450.4, 1452.0, 1453.6, 1455.2, 1456.8, 1458.4, - 1460.0, 1461.6, 1463.2, 1464.8, 1466.4, 1468.0, 1469.6, 1471.2, 1472.8, - 1474.4, 1476.0, 1477.6, 1479.2, 1480.8, 1482.4, 1484.0, 1485.6, 1487.2, - 1488.8, 1490.4, 1492.0, 1493.6, 1495.2, 1496.8, 1498.4, 1500.0, 1501.6, - 1503.2, 1504.8, 1506.4, 1508.0, 1509.6, 1511.2, 1512.8, 1514.4, 1516.0, - 1517.6, 1519.2, 1520.8, 1522.4, 1524.0, 1525.6, 1527.2, 1528.8, 1530.4, - 1532.0, 1533.6, 1535.2, 1536.8, 1538.4, 1540.0, 1541.6, 1543.2, 1544.8, - 1546.4, 1548.0, 1549.6, 1551.2, 1552.8, 1554.4, 1556.0, 1557.6, 1559.2, - 1560.8, 1562.4, 1564.0, 1565.6, 1567.2, 1568.8, 1570.4, 1572.0, 1573.6, - 1575.2, 1576.8, 1578.4, 1580.0, 1581.6, 1583.2, 1584.8, 1586.4, 1588.0, - 1589.6, 1591.2, 1592.8, 1594.4, 1596.0, 1597.6, 1599.2, 1600.8, 1602.4, - 1604.0, 1605.6, 1607.2, 1608.8, 1610.4, 1612.0, 1613.6, 1615.2, 1616.8, - 1618.4, 1620.0, 1621.6, 1623.2, 1624.8, 1626.4, 1628.0, 1629.6, 1631.2, - 1632.8 }, - - /* Pooled Parameter (Expression: [845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 834 814 795 778 762 746 732 718 705 692 680 669 658 648 638 628 619 610 601 593 585 577 569 562 555 548 541 535 528 522 516 510 504 498 493 488 482 477 472 467 462 457 453 448 444 439 435 431 426 422 418 414 410 406 403 399 395 392 388 384 381 378 374 371 368 364 361 358 355 352 349 346 343 340 337 334 331 329 326 323 320 318 315 312 310 307 305 302 300 297 295 292 290 288 285 283 281 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 233 231 229 227 225 224 222 220 218 216 215 213 211 209 208 206 204 203 201 199 198 196 194 193 191 190 188 186 185 183 182 180 179 177 176 174 173 171 170 168 167 165 164 162 161 159 158 156 155 154 152 151 150 148 147 145 144 143 141 140 139 137 136 135 133 132 131 130 128 127 126 125 123 122 121 120 118 117 116 115 113 112 111 110 109 107 106 105 104 103 102 100 99 98 97 96 95 94 92 91 90 89 88 87 86 85 84 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 26 25 24 23 22 21 20 19 18 17 16 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 1 0 0 -1 -2 -3 -4 -4 -5 -6 -7 -8 -9 -9 -10 -11 -12 -13 -14 -14 -15 -16 -17 -18 -19 -19 -20 -21 -22 -23 -23 -24 -25 -26 -27 -28 -28 -29 -30 -31 -31 -32 -33 -34 -35 -35 -36 -37 -38 -39 -39 -40 -41 -42 -42 -43 -44 -45 -46 -46 -47 -48 -49 -49 -50 -51 -52 -53 -53 -54 -55 -56 -56 -57 -58 -59 -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 -79 -80 -81 -82 -82 -83 -84 -85 -85 -86 -87 -87 -88 -89 -90 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -102 -103 -104 -105 -105 -106 -107 -107 -108 -109 -109 -110 -111 -112 -112 -113 -114 -114 -115 -116 -116 -117 -118 -119 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -130 -131 -132 -132 -133 -134 -134 -135 -136 -137 -137 -138 -139 -139 -140 -141 -141 -142 -143 -143 -144 -145 -145 -146 -147 -147 -148 -149 -149 -150 -151 -152 -152 -153 -154 -154 -155 -156 -156 -157 -158 -158 -159 -160 -160 -161 -162 -162 -163 -164 -164 -165 -166 -167 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -175 -176 -177 -177 -178 -179 -179 -180 -181 -181 -182 -183 -183 -184 -185 -186 -186 -187 -188 -188 -189 -190 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -198 -199 -200 -200 -201 -202 -202 -203 -204 -205 -205 -206 -207 -207 -208 -209 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -220 -221 -222 -222 -223 -224 -225 -225 -226 -227 -227 -228 -229 -229 -230 -231 -231 -232 -233 -234 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -243 -244 -245 -245 -246 -247 -248 -248 -249 -250 -250 -251 -252 -253 -253 -254 -255 -255 -256 -257 -258 -258 -259 -260 -261 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -271 -272 -273 -274 -274 -275 -276 -277 -277 -278 -279 -280 -280 -281 -282 -283 -283 -284 -285 -286 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -295 -296 -297 -298 -299 -299 -300 -301 -302 -302 -303 -304 -305 -306 -306 -307 -308 -309 -310 -310 -311 -312 -313 -314 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -328 -329 -330 -331 -332 -333 -333 -334 -335 -336 -337 -338 -339 -339 -340 -341 -342 -343 -344 -345 -345 -346 -347 -348 -349 -350 -351 -352 -353 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -363 -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 -397 -398 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399]) - * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - */ - { 845.0, 845.0, 845.0, 845.0, 845.0, 845.0, 845.0, 845.0, 845.0, 845.0, 845.0, - 845.0, 845.0, 845.0, 845.0, 834.0, 814.0, 795.0, 778.0, 762.0, 746.0, 732.0, - 718.0, 705.0, 692.0, 680.0, 669.0, 658.0, 648.0, 638.0, 628.0, 619.0, 610.0, - 601.0, 593.0, 585.0, 577.0, 569.0, 562.0, 555.0, 548.0, 541.0, 535.0, 528.0, - 522.0, 516.0, 510.0, 504.0, 498.0, 493.0, 488.0, 482.0, 477.0, 472.0, 467.0, - 462.0, 457.0, 453.0, 448.0, 444.0, 439.0, 435.0, 431.0, 426.0, 422.0, 418.0, - 414.0, 410.0, 406.0, 403.0, 399.0, 395.0, 392.0, 388.0, 384.0, 381.0, 378.0, - 374.0, 371.0, 368.0, 364.0, 361.0, 358.0, 355.0, 352.0, 349.0, 346.0, 343.0, - 340.0, 337.0, 334.0, 331.0, 329.0, 326.0, 323.0, 320.0, 318.0, 315.0, 312.0, - 310.0, 307.0, 305.0, 302.0, 300.0, 297.0, 295.0, 292.0, 290.0, 288.0, 285.0, - 283.0, 281.0, 278.0, 276.0, 274.0, 272.0, 269.0, 267.0, 265.0, 263.0, 261.0, - 259.0, 257.0, 255.0, 253.0, 251.0, 249.0, 247.0, 245.0, 243.0, 241.0, 239.0, - 237.0, 235.0, 233.0, 231.0, 229.0, 227.0, 225.0, 224.0, 222.0, 220.0, 218.0, - 216.0, 215.0, 213.0, 211.0, 209.0, 208.0, 206.0, 204.0, 203.0, 201.0, 199.0, - 198.0, 196.0, 194.0, 193.0, 191.0, 190.0, 188.0, 186.0, 185.0, 183.0, 182.0, - 180.0, 179.0, 177.0, 176.0, 174.0, 173.0, 171.0, 170.0, 168.0, 167.0, 165.0, - 164.0, 162.0, 161.0, 159.0, 158.0, 156.0, 155.0, 154.0, 152.0, 151.0, 150.0, - 148.0, 147.0, 145.0, 144.0, 143.0, 141.0, 140.0, 139.0, 137.0, 136.0, 135.0, - 133.0, 132.0, 131.0, 130.0, 128.0, 127.0, 126.0, 125.0, 123.0, 122.0, 121.0, - 120.0, 118.0, 117.0, 116.0, 115.0, 113.0, 112.0, 111.0, 110.0, 109.0, 107.0, - 106.0, 105.0, 104.0, 103.0, 102.0, 100.0, 99.0, 98.0, 97.0, 96.0, 95.0, 94.0, - 92.0, 91.0, 90.0, 89.0, 88.0, 87.0, 86.0, 85.0, 84.0, 82.0, 81.0, 80.0, 79.0, - 78.0, 77.0, 76.0, 75.0, 74.0, 73.0, 72.0, 71.0, 70.0, 69.0, 68.0, 67.0, 65.0, - 64.0, 63.0, 62.0, 61.0, 60.0, 59.0, 58.0, 57.0, 56.0, 55.0, 54.0, 53.0, 52.0, - 51.0, 50.0, 49.0, 48.0, 47.0, 46.0, 45.0, 44.0, 43.0, 43.0, 42.0, 41.0, 40.0, - 39.0, 38.0, 37.0, 36.0, 35.0, 34.0, 33.0, 32.0, 31.0, 30.0, 29.0, 28.0, 27.0, - 26.0, 26.0, 25.0, 24.0, 23.0, 22.0, 21.0, 20.0, 19.0, 18.0, 17.0, 16.0, 16.0, - 15.0, 14.0, 13.0, 12.0, 11.0, 10.0, 9.0, 8.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, - 2.0, 1.0, 1.0, 0.0, 0.0, -1.0, -2.0, -3.0, -4.0, -4.0, -5.0, -6.0, -7.0, - -8.0, -9.0, -9.0, -10.0, -11.0, -12.0, -13.0, -14.0, -14.0, -15.0, -16.0, - -17.0, -18.0, -19.0, -19.0, -20.0, -21.0, -22.0, -23.0, -23.0, -24.0, -25.0, - -26.0, -27.0, -28.0, -28.0, -29.0, -30.0, -31.0, -31.0, -32.0, -33.0, -34.0, - -35.0, -35.0, -36.0, -37.0, -38.0, -39.0, -39.0, -40.0, -41.0, -42.0, -42.0, - -43.0, -44.0, -45.0, -46.0, -46.0, -47.0, -48.0, -49.0, -49.0, -50.0, -51.0, - -52.0, -53.0, -53.0, -54.0, -55.0, -56.0, -56.0, -57.0, -58.0, -59.0, -59.0, - -60.0, -61.0, -62.0, -62.0, -63.0, -64.0, -65.0, -65.0, -66.0, -67.0, -68.0, - -68.0, -69.0, -70.0, -71.0, -71.0, -72.0, -73.0, -74.0, -74.0, -75.0, -76.0, - -77.0, -77.0, -78.0, -79.0, -79.0, -80.0, -81.0, -82.0, -82.0, -83.0, -84.0, - -85.0, -85.0, -86.0, -87.0, -87.0, -88.0, -89.0, -90.0, -90.0, -91.0, -92.0, - -92.0, -93.0, -94.0, -95.0, -95.0, -96.0, -97.0, -97.0, -98.0, -99.0, -100.0, - -100.0, -101.0, -102.0, -102.0, -103.0, -104.0, -105.0, -105.0, -106.0, - -107.0, -107.0, -108.0, -109.0, -109.0, -110.0, -111.0, -112.0, -112.0, - -113.0, -114.0, -114.0, -115.0, -116.0, -116.0, -117.0, -118.0, -119.0, - -119.0, -120.0, -121.0, -121.0, -122.0, -123.0, -123.0, -124.0, -125.0, - -126.0, -126.0, -127.0, -128.0, -128.0, -129.0, -130.0, -130.0, -131.0, - -132.0, -132.0, -133.0, -134.0, -134.0, -135.0, -136.0, -137.0, -137.0, - -138.0, -139.0, -139.0, -140.0, -141.0, -141.0, -142.0, -143.0, -143.0, - -144.0, -145.0, -145.0, -146.0, -147.0, -147.0, -148.0, -149.0, -149.0, - -150.0, -151.0, -152.0, -152.0, -153.0, -154.0, -154.0, -155.0, -156.0, - -156.0, -157.0, -158.0, -158.0, -159.0, -160.0, -160.0, -161.0, -162.0, - -162.0, -163.0, -164.0, -164.0, -165.0, -166.0, -167.0, -167.0, -168.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, 850.0, 836.0, 818.0, 800.0, 784.0, 769.0, + 754.0, 740.0, 727.0, 714.0, 702.0, 691.0, 680.0, 670.0, 659.0, 650.0, 640.0, + 631.0, 622.0, 614.0, 606.0, 598.0, 590.0, 583.0, 575.0, 568.0, 561.0, 555.0, + 548.0, 542.0, 536.0, 530.0, 524.0, 518.0, 512.0, 507.0, 501.0, 496.0, 491.0, + 486.0, 481.0, 476.0, 471.0, 466.0, 462.0, 457.0, 453.0, 448.0, 444.0, 440.0, + 436.0, 431.0, 427.0, 423.0, 420.0, 416.0, 412.0, 408.0, 405.0, 401.0, 397.0, + 394.0, 390.0, 387.0, 384.0, 380.0, 377.0, 374.0, 370.0, 367.0, 364.0, 361.0, + 358.0, 355.0, 352.0, 349.0, 346.0, 343.0, 340.0, 338.0, 335.0, 332.0, 329.0, + 327.0, 324.0, 321.0, 319.0, 316.0, 314.0, 311.0, 309.0, 306.0, 304.0, 301.0, + 299.0, 297.0, 294.0, 292.0, 289.0, 287.0, 285.0, 283.0, 280.0, 278.0, 276.0, + 274.0, 272.0, 269.0, 267.0, 265.0, 263.0, 261.0, 259.0, 257.0, 255.0, 253.0, + 251.0, 249.0, 247.0, 245.0, 243.0, 241.0, 239.0, 237.0, 235.0, 234.0, 232.0, + 230.0, 228.0, 226.0, 224.0, 223.0, 221.0, 219.0, 217.0, 216.0, 214.0, 212.0, + 210.0, 209.0, 207.0, 205.0, 204.0, 202.0, 200.0, 199.0, 197.0, 195.0, 194.0, + 192.0, 191.0, 189.0, 187.0, 186.0, 184.0, 183.0, 181.0, 180.0, 178.0, 177.0, + 175.0, 174.0, 172.0, 171.0, 169.0, 168.0, 166.0, 165.0, 163.0, 162.0, 161.0, + 159.0, 158.0, 156.0, 155.0, 153.0, 152.0, 151.0, 149.0, 148.0, 147.0, 145.0, + 144.0, 143.0, 141.0, 140.0, 139.0, 137.0, 136.0, 135.0, 133.0, 132.0, 131.0, + 129.0, 128.0, 127.0, 126.0, 124.0, 123.0, 122.0, 121.0, 119.0, 118.0, 117.0, + 116.0, 115.0, 113.0, 112.0, 111.0, 110.0, 109.0, 107.0, 106.0, 105.0, 104.0, + 103.0, 101.0, 100.0, 99.0, 98.0, 97.0, 96.0, 95.0, 93.0, 92.0, 91.0, 90.0, + 89.0, 88.0, 87.0, 86.0, 84.0, 83.0, 82.0, 81.0, 80.0, 79.0, 78.0, 77.0, 76.0, + 75.0, 74.0, 72.0, 71.0, 70.0, 69.0, 68.0, 67.0, 66.0, 65.0, 64.0, 63.0, 62.0, + 61.0, 60.0, 59.0, 58.0, 57.0, 56.0, 55.0, 54.0, 53.0, 52.0, 51.0, 50.0, 49.0, + 48.0, 47.0, 46.0, 45.0, 44.0, 43.0, 42.0, 41.0, 40.0, 39.0, 38.0, 37.0, 36.0, + 35.0, 34.0, 33.0, 32.0, 31.0, 30.0, 29.0, 29.0, 28.0, 27.0, 26.0, 25.0, 24.0, + 23.0, 22.0, 21.0, 20.0, 19.0, 18.0, 17.0, 17.0, 16.0, 15.0, 14.0, 13.0, 12.0, + 11.0, 10.0, 9.0, 8.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0, 0.0, 0.0, 0.0, + -1.0, -2.0, -3.0, -4.0, -5.0, -5.0, -6.0, -7.0, -8.0, -9.0, -10.0, -11.0, + -11.0, -12.0, -13.0, -14.0, -15.0, -16.0, -17.0, -17.0, -18.0, -19.0, -20.0, + -21.0, -22.0, -22.0, -23.0, -24.0, -25.0, -26.0, -27.0, -27.0, -28.0, -29.0, + -30.0, -31.0, -31.0, -32.0, -33.0, -34.0, -35.0, -36.0, -36.0, -37.0, -38.0, + -39.0, -40.0, -40.0, -41.0, -42.0, -43.0, -44.0, -44.0, -45.0, -46.0, -47.0, + -47.0, -48.0, -49.0, -50.0, -51.0, -51.0, -52.0, -53.0, -54.0, -55.0, -55.0, + -56.0, -57.0, -58.0, -58.0, -59.0, -60.0, -61.0, -62.0, -62.0, -63.0, -64.0, + -65.0, -65.0, -66.0, -67.0, -68.0, -68.0, -69.0, -70.0, -71.0, -71.0, -72.0, + -73.0, -74.0, -74.0, -75.0, -76.0, -77.0, -77.0, -78.0, -79.0, -80.0, -80.0, + -81.0, -82.0, -83.0, -83.0, -84.0, -85.0, -86.0, -86.0, -87.0, -88.0, -89.0, + -89.0, -90.0, -91.0, -92.0, -92.0, -93.0, -94.0, -95.0, -95.0, -96.0, -97.0, + -97.0, -98.0, -99.0, -100.0, -100.0, -101.0, -102.0, -103.0, -103.0, -104.0, + -105.0, -105.0, -106.0, -107.0, -108.0, -108.0, -109.0, -110.0, -111.0, + -111.0, -112.0, -113.0, -113.0, -114.0, -115.0, -116.0, -116.0, -117.0, + -118.0, -118.0, -119.0, -120.0, -121.0, -121.0, -122.0, -123.0, -123.0, + -124.0, -125.0, -126.0, -126.0, -127.0, -128.0, -128.0, -129.0, -130.0, + -131.0, -131.0, -132.0, -133.0, -133.0, -134.0, -135.0, -136.0, -136.0, + -137.0, -138.0, -138.0, -139.0, -140.0, -140.0, -141.0, -142.0, -143.0, + -143.0, -144.0, -145.0, -145.0, -146.0, -147.0, -148.0, -148.0, -149.0, + -150.0, -150.0, -151.0, -152.0, -152.0, -153.0, -154.0, -155.0, -155.0, + -156.0, -157.0, -157.0, -158.0, -159.0, -159.0, -160.0, -161.0, -162.0, + -162.0, -163.0, -164.0, -164.0, -165.0, -166.0, -166.0, -167.0, -168.0, -169.0, -169.0, -170.0, -171.0, -171.0, -172.0, -173.0, -173.0, -174.0, - -175.0, -175.0, -176.0, -177.0, -177.0, -178.0, -179.0, -179.0, -180.0, - -181.0, -181.0, -182.0, -183.0, -183.0, -184.0, -185.0, -186.0, -186.0, - -187.0, -188.0, -188.0, -189.0, -190.0, -190.0, -191.0, -192.0, -192.0, - -193.0, -194.0, -194.0, -195.0, -196.0, -196.0, -197.0, -198.0, -198.0, - -199.0, -200.0, -200.0, -201.0, -202.0, -202.0, -203.0, -204.0, -205.0, - -205.0, -206.0, -207.0, -207.0, -208.0, -209.0, -209.0, -210.0, -211.0, - -211.0, -212.0, -213.0, -213.0, -214.0, -215.0, -216.0, -216.0, -217.0, - -218.0, -218.0, -219.0, -220.0, -220.0, -221.0, -222.0, -222.0, -223.0, - -224.0, -225.0, -225.0, -226.0, -227.0, -227.0, -228.0, -229.0, -229.0, - -230.0, -231.0, -231.0, -232.0, -233.0, -234.0, -234.0, -235.0, -236.0, - -236.0, -237.0, -238.0, -238.0, -239.0, -240.0, -241.0, -241.0, -242.0, - -243.0, -243.0, -244.0, -245.0, -245.0, -246.0, -247.0, -248.0, -248.0, - -249.0, -250.0, -250.0, -251.0, -252.0, -253.0, -253.0, -254.0, -255.0, - -255.0, -256.0, -257.0, -258.0, -258.0, -259.0, -260.0, -261.0, -261.0, - -262.0, -263.0, -263.0, -264.0, -265.0, -266.0, -266.0, -267.0, -268.0, - -269.0, -269.0, -270.0, -271.0, -271.0, -272.0, -273.0, -274.0, -274.0, - -275.0, -276.0, -277.0, -277.0, -278.0, -279.0, -280.0, -280.0, -281.0, - -282.0, -283.0, -283.0, -284.0, -285.0, -286.0, -286.0, -287.0, -288.0, - -289.0, -289.0, -290.0, -291.0, -292.0, -292.0, -293.0, -294.0, -295.0, - -295.0, -296.0, -297.0, -298.0, -299.0, -299.0, -300.0, -301.0, -302.0, - -302.0, -303.0, -304.0, -305.0, -306.0, -306.0, -307.0, -308.0, -309.0, - -310.0, -310.0, -311.0, -312.0, -313.0, -314.0, -314.0, -315.0, -316.0, - -317.0, -318.0, -318.0, -319.0, -320.0, -321.0, -322.0, -323.0, -323.0, - -324.0, -325.0, -326.0, -327.0, -328.0, -328.0, -329.0, -330.0, -331.0, - -332.0, -333.0, -333.0, -334.0, -335.0, -336.0, -337.0, -338.0, -339.0, - -339.0, -340.0, -341.0, -342.0, -343.0, -344.0, -345.0, -345.0, -346.0, - -347.0, -348.0, -349.0, -350.0, -351.0, -352.0, -353.0, -353.0, -354.0, - -355.0, -356.0, -357.0, -358.0, -359.0, -360.0, -361.0, -362.0, -363.0, - -363.0, -364.0, -365.0, -366.0, -367.0, -368.0, -369.0, -370.0, -371.0, - -372.0, -373.0, -374.0, -375.0, -376.0, -377.0, -378.0, -379.0, -380.0, - -381.0, -382.0, -383.0, -384.0, -385.0, -386.0, -387.0, -388.0, -389.0, - -390.0, -391.0, -392.0, -393.0, -394.0, -395.0, -396.0, -397.0, -398.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, - -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0, -399.0 }, + -175.0, -176.0, -176.0, -177.0, -178.0, -178.0, -179.0, -180.0, -180.0, + -181.0, -182.0, -183.0, -183.0, -184.0, -185.0, -185.0, -186.0, -187.0, + -187.0, -188.0, -189.0, -189.0, -190.0, -191.0, -192.0, -192.0, -193.0, + -194.0, -194.0, -195.0, -196.0, -196.0, -197.0, -198.0, -199.0, -199.0, + -200.0, -201.0, -201.0, -202.0, -203.0, -204.0, -204.0, -205.0, -206.0, + -206.0, -207.0, -208.0, -208.0, -209.0, -210.0, -211.0, -211.0, -212.0, + -213.0, -213.0, -214.0, -215.0, -216.0, -216.0, -217.0, -218.0, -218.0, + -219.0, -220.0, -221.0, -221.0, -222.0, -223.0, -223.0, -224.0, -225.0, + -226.0, -226.0, -227.0, -228.0, -228.0, -229.0, -230.0, -231.0, -231.0, + -232.0, -233.0, -233.0, -234.0, -235.0, -236.0, -236.0, -237.0, -238.0, + -238.0, -239.0, -240.0, -241.0, -241.0, -242.0, -243.0, -244.0, -244.0, + -245.0, -246.0, -246.0, -247.0, -248.0, -249.0, -249.0, -250.0, -251.0, + -252.0, -252.0, -253.0, -254.0, -255.0, -255.0, -256.0, -257.0, -257.0, + -258.0, -259.0, -260.0, -260.0, -261.0, -262.0, -263.0, -263.0, -264.0, + -265.0, -266.0, -266.0, -267.0, -268.0, -269.0, -269.0, -270.0, -271.0, + -272.0, -272.0, -273.0, -274.0, -275.0, -275.0, -276.0, -277.0, -278.0, + -279.0, -279.0, -280.0, -281.0, -282.0, -282.0, -283.0, -284.0, -285.0, + -285.0, -286.0, -287.0, -288.0, -289.0, -289.0, -290.0, -291.0, -292.0, + -292.0, -293.0, -294.0, -295.0, -296.0, -296.0, -297.0, -298.0, -299.0, + -300.0, -300.0, -301.0, -302.0, -303.0, -304.0, -304.0, -305.0, -306.0, + -307.0, -308.0, -308.0, -309.0, -310.0, -311.0, -312.0, -313.0, -313.0, + -314.0, -315.0, -316.0, -317.0, -318.0, -318.0, -319.0, -320.0, -321.0, + -322.0, -323.0, -323.0, -324.0, -325.0, -326.0, -327.0, -328.0, -329.0, + -329.0, -330.0, -331.0, -332.0, -333.0, -334.0, -335.0, -335.0, -336.0, + -337.0, -338.0, -339.0, -340.0, -341.0, -342.0, -342.0, -343.0, -344.0, + -345.0, -346.0, -347.0, -348.0, -349.0, -350.0, -351.0, -351.0, -352.0, + -353.0, -354.0, -355.0, -356.0, -357.0, -358.0, -359.0, -360.0, -361.0, + -362.0, -363.0, -364.0, -364.0, -365.0, -366.0, -367.0, -368.0, -369.0, + -370.0, -371.0, -372.0, -373.0, -374.0, -375.0, -376.0, -377.0, -378.0, + -379.0, -380.0, -381.0, -382.0, -383.0, -384.0, -385.0, -386.0, -387.0, + -388.0, -389.0, -390.0, -391.0, -392.0, -393.0, -394.0, -395.0, -396.0, + -398.0, -399.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0 }, + + /* Expression: [0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.027745 0.075131 0.122516 0.169901 0.217286 0.264671 0.312057 0.359442 0.406827 0.454212 0.501598 0.548983 0.596368 0.643753 0.691139 0.738524 0.785909 0.833294 0.880680 0.928065 0.975450 1.022835 1.070221 1.117606 1.164991 1.212376 1.259762 1.307147 1.354532 1.401917 1.449302 1.496688 1.544073 1.591458 1.638843 1.686229 1.733614 1.780999 1.828384 1.875770 1.923155 1.970540 2.017925 2.065311 2.112696 2.160081 2.207466 2.254852 2.302237 2.349622 2.397007 2.444392 2.491778 2.539163 2.586548 2.633933 2.681319 2.728704 2.776089 2.823474 2.870860 2.918245 2.965630 3.013015 3.060401 3.107786 3.155171 3.202556 3.249942 3.297327 3.344712 3.392097 3.439483 3.486868 3.534253 3.581638 3.629023 3.676409 3.723794 3.771179 3.818564 3.865950 3.913335 3.960720 4.008105 4.055491 4.102876 4.150261 4.197646 4.245032 4.292417 4.339802 4.387187 4.434573 4.481958 4.529343 4.576728 4.624113 4.671499 4.718884 4.766269 4.813654 4.861040 4.908425 4.955810 5.003195 5.050581 5.097966 5.145351 5.192736 5.240122 5.287507 5.334892 5.382277 5.429663 5.477048 5.524433 5.571818 5.619203 5.666589 5.713974 5.761359 5.808744 5.856130 5.903515 5.950900 5.998285 6.045671 6.093056 6.140441 6.187826 6.235212 6.282597 6.329982 6.377367 6.424753 6.472138 6.519523 6.566908 6.614294 6.661679 6.709064 6.756449 6.803834 6.851220 6.898605 6.945990 6.993375 7.040761 7.088146 7.135531 7.182916 7.230302 7.277687 7.325072 7.372457 7.419843 7.467228 7.514613 7.561998 7.609384 7.656769 7.704154 7.751539 7.798924 7.846310 7.893695 7.941080 7.988465 8.035851 8.083236 8.130621 8.178006 8.225392 8.272777 8.320162 8.367547 8.414933 8.462318 8.509703 8.557088 8.604474 8.651859 8.699244 8.746629 8.794014 8.841400 8.888785 8.936170 8.983555 9.030941 9.078326 9.125711 9.173096 9.220482 9.267867 9.315252 9.362637 9.410023 9.457408 9.504793 9.552178 9.599564 9.646949 9.694334 9.741719 9.789105 9.836490 9.883875 9.931260 9.978645 10.026031 10.073416 10.120801 10.168186 10.215572 10.262957 10.310342 10.357727 10.405113 10.452498 10.499883 10.547268 10.594654 10.642039 10.689424 10.736809 10.784195 10.831580 10.878965 10.926350 10.973735 11.021121 11.068506 11.115891 11.163276 11.210662 11.258047 11.305432 11.352817 11.400203 11.447588 11.494973 11.542358 11.589744 11.637129 11.684514 11.731899 11.779285 11.826670 11.874055 11.921440 11.968826 12.016211 12.063596 12.110981 12.158366 12.205752 12.253137 12.300522 12.347907 12.395293 12.442678 12.490063 12.537448 12.584834 12.632219 12.679604 12.726989 12.774375 12.821760 12.869145 12.916530 12.963916 13.011301 13.058686 13.106071 13.153456 13.200842 13.248227 13.295612 13.342997 13.390383 13.437768 13.485153 13.532538 13.579924 13.627309 13.674694 13.722079 13.769465 13.816850 13.864235 13.911620 13.959006 14.006391 14.053776 14.101161 14.148546 14.195932 14.243317 14.290702 14.338087 14.385473 14.432858 14.480243 14.527628 14.575014 14.622399 14.669784 14.717169 14.764555 14.811940 14.859325 14.906710 14.954096 15.001481 15.048866 15.096251 15.143637 15.191022 15.238407 15.285792 15.333177 15.380563 15.427948 15.475333 15.522718 15.570104 15.617489 15.664874 15.712259 15.759645 15.807030 15.854415 15.901800 15.949186 15.996571 16.043956 16.091341 16.138727 16.186112 16.233497 16.280882 16.328267 16.375653 16.423038 16.470423 16.517808 16.565194 16.612579 16.659964 16.707349 16.754735 16.802120 16.849505 16.896890 16.944276 16.991661 17.039046 17.086431 17.133817 17.181202 17.228587 17.275972 17.323357 17.370743 17.418128 17.465513 17.512898 17.560284 17.607669 17.655054 17.702439 17.749825 17.797210 17.844595 17.891980 17.939366 17.986751 18.034136 18.081521 18.128907 18.176292 18.223677 18.271062 18.318448 18.365833 18.413218 18.460603 18.507988 18.555374 18.602759 18.650144 18.697529 18.744915 18.792300 18.839685 18.887070 18.934456 18.981841 19.029226 19.076611 19.123997 19.171382 19.218767 19.266152 19.313538 19.360923 19.408308 19.455693 19.503078 19.550464 19.597849 19.645234 19.692619 19.740005 19.787390 19.834775 19.882160 19.929546 19.976931 20.024316 20.071701 20.119087 20.166472 20.213857 20.261242 20.308628 20.356013 20.403398 20.450783 20.498168 20.545554 20.592939 20.640324 20.687709 20.735095 20.782480 20.829865 20.877250 20.924636 20.972021 21.019406 21.066791 21.114177 21.161562 21.208947 21.256332 21.303718 21.351103 21.398488 21.445873 21.493259 21.540644 21.588029 21.635414 21.682799 21.730185 21.777570 21.824955 21.872340 21.919726 21.967111 22.014496 22.061881 22.109267 22.156652 22.204037 22.251422 22.298808 22.346193 22.393578 22.440963 22.488349 22.535734 22.583119 22.630504 22.677889 22.725275 22.772660 22.820045 22.867430 22.914816 22.962201 23.009586 23.056971 23.104357 23.151742 23.199127 23.246512 23.293898 23.341283 23.388668 23.436053 23.483439 23.530824 23.578209 23.625594 23.672980 23.720365 23.767750 23.815135 23.862520 23.909906 23.957291 24.004676 24.052061 24.099447 24.146832 24.194217 24.241602 24.288988 24.336373 24.383758 24.431143 24.478529 24.525914 24.573299 24.620684 24.668070 24.715455 24.762840 24.810225 24.857610 24.904996 24.952381 24.999766 25.047151 25.094537 25.141922 25.189307 25.236692 25.284078 25.331463 25.378848 25.426233 25.473619 25.521004 25.568389 25.615774 25.663160 25.710545 25.757930 25.805315 25.852700 25.900086 25.947471 25.994856 26.042241 26.089627 26.137012 26.184397 26.231782 26.279168 26.326553 26.373938 26.421323 26.468709 26.516094 26.563479 26.610864 26.658250 26.705635 26.753020 26.800405 26.847791 26.895176 26.942561 26.989946 27.037331 27.084717 27.132102 27.179487 27.226872 27.274258 27.321643 27.369028 27.416413 27.463799 27.511184 27.558569 27.605954 27.653340 27.700725 27.748110 27.795495 27.842881 27.890266 27.937651 27.985036 28.032421 28.079807 28.127192 28.174577 28.221962 28.269348 28.316733 28.364118 28.411503 28.458889 28.506274 28.553659 28.601044 28.648430 28.695815 28.743200 28.790585 28.837971 28.885356 28.932741 28.980126 29.027511 29.074897 29.122282 29.169667 29.217052 29.264438 29.311823 29.359208 29.406593 29.453979 29.501364 29.548749 29.596134 29.643520 29.690905 29.738290 29.785675 29.833061 29.880446 29.927831 29.975216 30.022602 30.069987 30.117372 30.164757 30.212142 30.259528 30.306913 30.354298 30.401683 30.449069 30.496454 30.543839 30.591224 30.638610 30.685995 30.733380 30.780765 30.828151 30.875536 30.922921 30.970306 31.017692 31.065077 31.112462 31.159847 31.207232 31.254618 31.302003 31.349388 31.396773 31.444159 31.491544 31.538929 31.586314 31.633700 31.681085 31.728470 31.775855 31.823241 31.870626 31.918011 31.965396 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000 32.000000] + * 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, + 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, + 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.027745, 0.075131, + 0.122516, 0.169901, 0.217286, 0.264671, 0.312057, 0.359442, 0.406827, + 0.454212, 0.501598, 0.548983, 0.596368, 0.643753, 0.691139, 0.738524, + 0.785909, 0.833294, 0.88068, 0.928065, 0.97545, 1.022835, 1.070221, 1.117606, + 1.164991, 1.212376, 1.259762, 1.307147, 1.354532, 1.401917, 1.449302, + 1.496688, 1.544073, 1.591458, 1.638843, 1.686229, 1.733614, 1.780999, + 1.828384, 1.87577, 1.923155, 1.97054, 2.017925, 2.065311, 2.112696, 2.160081, + 2.207466, 2.254852, 2.302237, 2.349622, 2.397007, 2.444392, 2.491778, + 2.539163, 2.586548, 2.633933, 2.681319, 2.728704, 2.776089, 2.823474, + 2.87086, 2.918245, 2.96563, 3.013015, 3.060401, 3.107786, 3.155171, 3.202556, + 3.249942, 3.297327, 3.344712, 3.392097, 3.439483, 3.486868, 3.534253, + 3.581638, 3.629023, 3.676409, 3.723794, 3.771179, 3.818564, 3.86595, + 3.913335, 3.96072, 4.008105, 4.055491, 4.102876, 4.150261, 4.197646, + 4.245032, 4.292417, 4.339802, 4.387187, 4.434573, 4.481958, 4.529343, + 4.576728, 4.624113, 4.671499, 4.718884, 4.766269, 4.813654, 4.86104, + 4.908425, 4.95581, 5.003195, 5.050581, 5.097966, 5.145351, 5.192736, + 5.240122, 5.287507, 5.334892, 5.382277, 5.429663, 5.477048, 5.524433, + 5.571818, 5.619203, 5.666589, 5.713974, 5.761359, 5.808744, 5.85613, + 5.903515, 5.9509, 5.998285, 6.045671, 6.093056, 6.140441, 6.187826, 6.235212, + 6.282597, 6.329982, 6.377367, 6.424753, 6.472138, 6.519523, 6.566908, + 6.614294, 6.661679, 6.709064, 6.756449, 6.803834, 6.85122, 6.898605, 6.94599, + 6.993375, 7.040761, 7.088146, 7.135531, 7.182916, 7.230302, 7.277687, + 7.325072, 7.372457, 7.419843, 7.467228, 7.514613, 7.561998, 7.609384, + 7.656769, 7.704154, 7.751539, 7.798924, 7.84631, 7.893695, 7.94108, 7.988465, + 8.035851, 8.083236, 8.130621, 8.178006, 8.225392, 8.272777, 8.320162, + 8.367547, 8.414933, 8.462318, 8.509703, 8.557088, 8.604474, 8.651859, + 8.699244, 8.746629, 8.794014, 8.8414, 8.888785, 8.93617, 8.983555, 9.030941, + 9.078326, 9.125711, 9.173096, 9.220482, 9.267867, 9.315252, 9.362637, + 9.410023, 9.457408, 9.504793, 9.552178, 9.599564, 9.646949, 9.694334, + 9.741719, 9.789105, 9.83649, 9.883875, 9.93126, 9.978645, 10.026031, + 10.073416, 10.120801, 10.168186, 10.215572, 10.262957, 10.310342, 10.357727, + 10.405113, 10.452498, 10.499883, 10.547268, 10.594654, 10.642039, 10.689424, + 10.736809, 10.784195, 10.83158, 10.878965, 10.92635, 10.973735, 11.021121, + 11.068506, 11.115891, 11.163276, 11.210662, 11.258047, 11.305432, 11.352817, + 11.400203, 11.447588, 11.494973, 11.542358, 11.589744, 11.637129, 11.684514, + 11.731899, 11.779285, 11.82667, 11.874055, 11.92144, 11.968826, 12.016211, + 12.063596, 12.110981, 12.158366, 12.205752, 12.253137, 12.300522, 12.347907, + 12.395293, 12.442678, 12.490063, 12.537448, 12.584834, 12.632219, 12.679604, + 12.726989, 12.774375, 12.82176, 12.869145, 12.91653, 12.963916, 13.011301, + 13.058686, 13.106071, 13.153456, 13.200842, 13.248227, 13.295612, 13.342997, + 13.390383, 13.437768, 13.485153, 13.532538, 13.579924, 13.627309, 13.674694, + 13.722079, 13.769465, 13.81685, 13.864235, 13.91162, 13.959006, 14.006391, + 14.053776, 14.101161, 14.148546, 14.195932, 14.243317, 14.290702, 14.338087, + 14.385473, 14.432858, 14.480243, 14.527628, 14.575014, 14.622399, 14.669784, + 14.717169, 14.764555, 14.81194, 14.859325, 14.90671, 14.954096, 15.001481, + 15.048866, 15.096251, 15.143637, 15.191022, 15.238407, 15.285792, 15.333177, + 15.380563, 15.427948, 15.475333, 15.522718, 15.570104, 15.617489, 15.664874, + 15.712259, 15.759645, 15.80703, 15.854415, 15.9018, 15.949186, 15.996571, + 16.043956, 16.091341, 16.138727, 16.186112, 16.233497, 16.280882, 16.328267, + 16.375653, 16.423038, 16.470423, 16.517808, 16.565194, 16.612579, 16.659964, + 16.707349, 16.754735, 16.80212, 16.849505, 16.89689, 16.944276, 16.991661, + 17.039046, 17.086431, 17.133817, 17.181202, 17.228587, 17.275972, 17.323357, + 17.370743, 17.418128, 17.465513, 17.512898, 17.560284, 17.607669, 17.655054, + 17.702439, 17.749825, 17.79721, 17.844595, 17.89198, 17.939366, 17.986751, + 18.034136, 18.081521, 18.128907, 18.176292, 18.223677, 18.271062, 18.318448, + 18.365833, 18.413218, 18.460603, 18.507988, 18.555374, 18.602759, 18.650144, + 18.697529, 18.744915, 18.7923, 18.839685, 18.88707, 18.934456, 18.981841, + 19.029226, 19.076611, 19.123997, 19.171382, 19.218767, 19.266152, 19.313538, + 19.360923, 19.408308, 19.455693, 19.503078, 19.550464, 19.597849, 19.645234, + 19.692619, 19.740005, 19.78739, 19.834775, 19.88216, 19.929546, 19.976931, + 20.024316, 20.071701, 20.119087, 20.166472, 20.213857, 20.261242, 20.308628, + 20.356013, 20.403398, 20.450783, 20.498168, 20.545554, 20.592939, 20.640324, + 20.687709, 20.735095, 20.78248, 20.829865, 20.87725, 20.924636, 20.972021, + 21.019406, 21.066791, 21.114177, 21.161562, 21.208947, 21.256332, 21.303718, + 21.351103, 21.398488, 21.445873, 21.493259, 21.540644, 21.588029, 21.635414, + 21.682799, 21.730185, 21.77757, 21.824955, 21.87234, 21.919726, 21.967111, + 22.014496, 22.061881, 22.109267, 22.156652, 22.204037, 22.251422, 22.298808, + 22.346193, 22.393578, 22.440963, 22.488349, 22.535734, 22.583119, 22.630504, + 22.677889, 22.725275, 22.77266, 22.820045, 22.86743, 22.914816, 22.962201, + 23.009586, 23.056971, 23.104357, 23.151742, 23.199127, 23.246512, 23.293898, + 23.341283, 23.388668, 23.436053, 23.483439, 23.530824, 23.578209, 23.625594, + 23.67298, 23.720365, 23.76775, 23.815135, 23.86252, 23.909906, 23.957291, + 24.004676, 24.052061, 24.099447, 24.146832, 24.194217, 24.241602, 24.288988, + 24.336373, 24.383758, 24.431143, 24.478529, 24.525914, 24.573299, 24.620684, + 24.66807, 24.715455, 24.76284, 24.810225, 24.85761, 24.904996, 24.952381, + 24.999766, 25.047151, 25.094537, 25.141922, 25.189307, 25.236692, 25.284078, + 25.331463, 25.378848, 25.426233, 25.473619, 25.521004, 25.568389, 25.615774, + 25.66316, 25.710545, 25.75793, 25.805315, 25.8527, 25.900086, 25.947471, + 25.994856, 26.042241, 26.089627, 26.137012, 26.184397, 26.231782, 26.279168, + 26.326553, 26.373938, 26.421323, 26.468709, 26.516094, 26.563479, 26.610864, + 26.65825, 26.705635, 26.75302, 26.800405, 26.847791, 26.895176, 26.942561, + 26.989946, 27.037331, 27.084717, 27.132102, 27.179487, 27.226872, 27.274258, + 27.321643, 27.369028, 27.416413, 27.463799, 27.511184, 27.558569, 27.605954, + 27.65334, 27.700725, 27.74811, 27.795495, 27.842881, 27.890266, 27.937651, + 27.985036, 28.032421, 28.079807, 28.127192, 28.174577, 28.221962, 28.269348, + 28.316733, 28.364118, 28.411503, 28.458889, 28.506274, 28.553659, 28.601044, + 28.64843, 28.695815, 28.7432, 28.790585, 28.837971, 28.885356, 28.932741, + 28.980126, 29.027511, 29.074897, 29.122282, 29.169667, 29.217052, 29.264438, + 29.311823, 29.359208, 29.406593, 29.453979, 29.501364, 29.548749, 29.596134, + 29.64352, 29.690905, 29.73829, 29.785675, 29.833061, 29.880446, 29.927831, + 29.975216, 30.022602, 30.069987, 30.117372, 30.164757, 30.212142, 30.259528, + 30.306913, 30.354298, 30.401683, 30.449069, 30.496454, 30.543839, 30.591224, + 30.63861, 30.685995, 30.73338, 30.780765, 30.828151, 30.875536, 30.922921, + 30.970306, 31.017692, 31.065077, 31.112462, 31.159847, 31.207232, 31.254618, + 31.302003, 31.349388, 31.396773, 31.444159, 31.491544, 31.538929, 31.586314, + 31.6337, 31.681085, 31.72847, 31.775855, 31.823241, 31.870626, 31.918011, + 31.965396, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, 32.0, + 32.0, 32.0, 32.0, 32.0, 32.0, 32.0 }, + + /* Pooled Parameter (Expression: Incar_Temp_Table) + * Referenced by: + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + */ + { 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, + 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, + 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, + 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, + 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, 1050.0, + 1050.0, 1050.0, 1050.0, 1042.0, 1019.0, 997.0, 976.0, 957.0, 939.0, 921.0, + 905.0, 889.0, 874.0, 860.0, 846.0, 833.0, 820.0, 808.0, 796.0, 785.0, 774.0, + 763.0, 753.0, 743.0, 733.0, 724.0, 715.0, 706.0, 698.0, 689.0, 681.0, 673.0, + 666.0, 658.0, 651.0, 644.0, 637.0, 630.0, 624.0, 617.0, 611.0, 605.0, 599.0, + 593.0, 587.0, 581.0, 576.0, 570.0, 565.0, 559.0, 554.0, 549.0, 544.0, 539.0, + 534.0, 529.0, 524.0, 520.0, 515.0, 511.0, 506.0, 502.0, 497.0, 493.0, 489.0, + 485.0, 481.0, 477.0, 473.0, 469.0, 465.0, 461.0, 457.0, 453.0, 449.0, 446.0, + 442.0, 438.0, 435.0, 431.0, 428.0, 424.0, 421.0, 417.0, 414.0, 411.0, 407.0, + 404.0, 401.0, 398.0, 394.0, 391.0, 388.0, 385.0, 382.0, 379.0, 376.0, 373.0, + 370.0, 367.0, 364.0, 361.0, 358.0, 355.0, 352.0, 349.0, 346.0, 343.0, 341.0, + 338.0, 335.0, 332.0, 329.0, 327.0, 324.0, 321.0, 318.0, 316.0, 313.0, 310.0, + 308.0, 305.0, 302.0, 300.0, 297.0, 295.0, 292.0, 289.0, 287.0, 284.0, 282.0, + 279.0, 277.0, 274.0, 272.0, 269.0, 267.0, 264.0, 262.0, 259.0, 257.0, 254.0, + 252.0, 250.0, 247.0, 245.0, 242.0, 240.0, 238.0, 235.0, 233.0, 231.0, 228.0, + 226.0, 224.0, 221.0, 219.0, 217.0, 214.0, 212.0, 210.0, 208.0, 205.0, 203.0, + 201.0, 199.0, 196.0, 194.0, 192.0, 190.0, 187.0, 185.0, 183.0, 181.0, 179.0, + 177.0, 174.0, 172.0, 170.0, 168.0, 166.0, 164.0, 162.0, 159.0, 157.0, 155.0, + 153.0, 151.0, 149.0, 147.0, 145.0, 143.0, 141.0, 139.0, 137.0, 135.0, 133.0, + 131.0, 129.0, 127.0, 125.0, 123.0, 121.0, 119.0, 117.0, 115.0, 113.0, 111.0, + 109.0, 107.0, 105.0, 103.0, 101.0, 99.0, 97.0, 95.0, 93.0, 91.0, 89.0, 87.0, + 85.0, 83.0, 81.0, 79.0, 77.0, 75.0, 73.0, 71.0, 69.0, 67.0, 65.0, 63.0, 61.0, + 59.0, 58.0, 56.0, 54.0, 52.0, 50.0, 48.0, 46.0, 44.0, 42.0, 40.0, 38.0, 36.0, + 35.0, 33.0, 31.0, 29.0, 27.0, 25.0, 23.0, 21.0, 20.0, 18.0, 16.0, 14.0, 12.0, + 10.0, 8.0, 6.0, 4.0, 3.0, 1.0, -1.0, -3.0, -5.0, -6.0, -8.0, -10.0, -12.0, + -14.0, -16.0, -17.0, -19.0, -21.0, -23.0, -25.0, -26.0, -28.0, -30.0, -32.0, + -34.0, -35.0, -37.0, -39.0, -41.0, -43.0, -44.0, -46.0, -48.0, -50.0, -52.0, + -54.0, -55.0, -57.0, -59.0, -61.0, -62.0, -64.0, -66.0, -68.0, -70.0, -71.0, + -73.0, -75.0, -77.0, -79.0, -80.0, -82.0, -84.0, -86.0, -88.0, -89.0, -91.0, + -93.0, -95.0, -97.0, -98.0, -100.0, -102.0, -104.0, -106.0, -107.0, -109.0, + -111.0, -113.0, -115.0, -116.0, -118.0, -120.0, -122.0, -124.0, -125.0, + -127.0, -129.0, -131.0, -133.0, -134.0, -136.0, -138.0, -140.0, -142.0, + -143.0, -145.0, -147.0, -149.0, -151.0, -152.0, -154.0, -156.0, -158.0, + -160.0, -161.0, -163.0, -165.0, -167.0, -169.0, -170.0, -172.0, -174.0, + -176.0, -178.0, -180.0, -181.0, -183.0, -185.0, -187.0, -189.0, -190.0, + -192.0, -194.0, -196.0, -198.0, -199.0, -201.0, -203.0, -205.0, -207.0, + -209.0, -210.0, -212.0, -214.0, -216.0, -218.0, -219.0, -221.0, -223.0, + -225.0, -227.0, -229.0, -230.0, -232.0, -234.0, -236.0, -238.0, -240.0, + -241.0, -243.0, -245.0, -247.0, -249.0, -251.0, -252.0, -254.0, -256.0, + -258.0, -260.0, -262.0, -263.0, -265.0, -267.0, -269.0, -271.0, -273.0, + -274.0, -276.0, -278.0, -280.0, -282.0, -284.0, -286.0, -287.0, -289.0, + -291.0, -293.0, -295.0, -297.0, -299.0, -300.0, -302.0, -304.0, -306.0, + -308.0, -310.0, -312.0, -314.0, -315.0, -317.0, -319.0, -321.0, -323.0, + -325.0, -327.0, -329.0, -331.0, -332.0, -334.0, -336.0, -338.0, -340.0, + -342.0, -344.0, -346.0, -348.0, -350.0, -351.0, -353.0, -355.0, -357.0, + -359.0, -361.0, -363.0, -365.0, -367.0, -369.0, -371.0, -373.0, -375.0, + -377.0, -379.0, -381.0, -383.0, -385.0, -386.0, -388.0, -390.0, -392.0, + -394.0, -396.0, -398.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, + -400.0, -400.0, -400.0, -400.0, -400.0 }, /* 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' + * 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' + * '/Get LVL for temp' + * '/1-D Lookup Table' */ { 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: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 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, @@ -515,8 +541,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, @@ -597,35 +623,35 @@ const ConstP rtConstP = { /* 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 }, /* 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 Table' - * '/1-D Lookup Table1' - * '/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, @@ -719,46 +745,46 @@ const ConstP rtConstP = { 4080U, 4084U, 4088U, 4092U }, /* 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 index de917d1..77a5cdb 100644 --- a/HVAC_model_private.h +++ b/HVAC_model_private.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.962 + * Model version : 1.1004 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 19 17:16:47 2026 + * C/C++ source code generated on : Tue May 26 15:27:11 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -164,10 +164,26 @@ 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 X1X4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void Y1Y4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void Y1Y2Vtg_FL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void X1X2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void Y1Y2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void Vtg_FX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void Vtg_FX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void X1X4Vtg_FX_incar_c(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void Y1Y4Vtg_FX_incar_b(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void Y1Y2Vtg_RL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void X1X2Vtg_FX_sun_j(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 syncallaction(uint8_t *rtd_CCU_ALL_ZONE_SYNC, uint8_t *rtd_CCU_FRONT_SYNC, uint8_t *rtd_CCU_REAR_SYNC); extern void syncallaction_i(uint8_t *rtd_CCU_ALL_ZONE_SYNC, uint8_t *rtd_CCU_FRONT_SYNC, uint8_t *rtd_CCU_REAR_SYNC); +extern void actionifall_syncwason(uint8_t *rtd_CCU_ALL_ZONE_SYNC, uint8_t + *rtd_CCU_FRONT_SYNC, uint8_t *rtd_CCU_REAR_SYNC); 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); @@ -303,21 +319,6 @@ extern void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_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 X1X4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); -extern void Y1Y4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); -extern void Y1Y2Vtg_FL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); -extern void X1X2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); -extern void Y1Y2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); -extern void Vtg_FX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); -extern void Vtg_FX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); -extern void X1X4Vtg_FX_incar_c(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); -extern void Y1Y4Vtg_FX_incar_b(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); -extern void Y1Y2Vtg_RL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); -extern void X1X2Vtg_FX_sun_j(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 correctionrate_a(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); #endif /* HVAC_model_private_h_ */ diff --git a/HVAC_model_types.h b/HVAC_model_types.h index 354f622..f91db48 100644 --- a/HVAC_model_types.h +++ b/HVAC_model_types.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.962 + * Model version : 1.1004 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 19 17:16:47 2026 + * C/C++ source code generated on : Tue May 26 15:27:11 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -172,6 +172,43 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_tPowerEnable_Bus_ +#define DEFINED_TYPEDEF_FOR_tPowerEnable_Bus_ + +typedef struct { + uint8_t SW5V_EN; + uint8_t PBATT_CK_EN; + uint8_t Incar_Motor_Front_EN; + uint8_t Incar_Motor_Rear_EN; + uint8_t TwoWayValve_EN; + uint8_t ReservePower_EN; + uint8_t PtcRelayDriver1_EN; + uint8_t PtcRelayDriver2_EN; + uint8_t ShutOffFront_EN; + uint8_t ShutOffRear_EN; + uint8_t EN_ReservePower; + uint8_t LIN_ActPower_AB; + uint8_t LIN_ActPower_C; + uint8_t ShutOffTXV1_EN; + uint8_t ShutOffTXV2_EN; + uint8_t EN_BATTChiller; + uint8_t EN_PowerReserve; +} tPowerEnable_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_0_Bus_ +#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_0_Bus_ + +typedef struct { + uint8_t dbg_Sen_BattVolt_ro; + uint16_t dbg_Sen_Pressure_ro; + uint16_t dbg_Sen_Sun_L; + uint16_t dbg_Sen_Sun_R; +} dbgCAN_dbg_Sen_0_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Duct_Bus_ #define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Duct_Bus_ @@ -278,6 +315,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_dbgCAN_dbg_dbg_Sen_Eva_Bus_ #define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_dbg_Sen_Eva_Bus_ @@ -396,6 +450,38 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_BCM_VEH_STATE_Bus_ +#define DEFINED_TYPEDEF_FOR_BCM_VEH_STATE_Bus_ + +typedef struct { + uint8_t BCM_T15_Stat; + uint8_t BCM_T30d_Stat; + uint8_t BCM_T30i_Stat; + uint8_t BCM_T15h_Stat; + uint8_t BCM_SPV_Feature_Stat; + uint8_t StealthModeEn; + uint8_t BCM_VehicleType_Stat; + uint8_t BCM_VehicleBody_Stat; + uint8_t BCM_ADASTerm_Stat; + uint8_t BCM_CCTerm_Stat; + uint8_t BCM_T30i_DisableWarning; + uint8_t BCM_LightBCM_Stat; + uint8_t HUD_IntensityRequest; + uint8_t BCM_T30d_DisableWarning; + uint8_t BCM_Light_Stat; + uint8_t BCM_IndFadingTime_Req_ro; + uint8_t BCM_CCTermDisableWarning; + uint8_t BCM_PreheatFunction_Stat; + uint8_t BCM_VehiclePowertrain_Stat; + uint8_t BCM_SwBackIntens_Val_ro; + uint8_t BCM_VehicleMode_Stat; + uint8_t BCM_SwIndIntens_Stat; + uint8_t BCM_Vehicle_DrvMode; + uint8_t BCM_LVBatteryVoltage_ro; +} BCM_VEH_STATE_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_CmdBusADCData_ #define DEFINED_TYPEDEF_FOR_CmdBusADCData_