From 8305c551ba9cc8a2d82e70ff1ef0db5d3de306cf Mon Sep 17 00:00:00 2001 From: cfif Date: Wed, 13 May 2026 17:48:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BB=D0=B0=D1=82=D1=8B=20=D0=BD?= =?UTF-8?q?=D0=B0=20V2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HVAC_model.c | 18908 ++++++++++++++++++++++------------------- HVAC_model.h | 4620 +++++----- HVAC_model_data.c | 493 +- HVAC_model_private.h | 45 +- HVAC_model_types.h | 109 +- 5 files changed, 12970 insertions(+), 11205 deletions(-) diff --git a/HVAC_model.c b/HVAC_model.c index d709c43..ab1c036 100644 --- a/HVAC_model.c +++ b/HVAC_model.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.908 + * Model version : 1.923 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 12 13:50:19 2026 + * C/C++ source code generated on : Wed May 13 17:12:51 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -19,10 +19,10 @@ #include #include #include "HVAC_model_private.h" +#include #include #include "HVAC_model_types.h" #include "Rs_Cal_Base.h" -#include const CmdBusPWMGet HVAC_model_rtZCmdBusPWMGet = { 0U, /* pwmPercentFront */ @@ -162,10 +162,10 @@ const ActuatorCmdBus HVAC_model_rtZActuatorCmdBus = { ActuatorCmdBusInput Actuator_Ch0_Status_Model;/* '/Data Store Memory61' */ ActuatorCmdBusInput Actuator_Ch1_Status_Model;/* '/Data Store Memory62' */ ActuatorCmdBusInput Actuator_Ch2_Status_Model;/* '/Data Store Memory63' */ -ActuatorCmdBus Actuator_Ch0_Command_Model;/* '/Data Store Memory15' */ -ActuatorCmdBus Actuator_Ch1_Command_Model;/* '/Data Store Memory15' */ -ActuatorCmdBus Actuator_Ch2_Command_Model;/* '/Data Store Memory15' */ -CmdBusStatus Status_Sensor_Model; /* '/Data Store Memory' */ +ActuatorCmdBus Actuator_Ch0_Command_Model;/* '/Data Store Memory15' */ +ActuatorCmdBus Actuator_Ch1_Command_Model;/* '/Data Store Memory15' */ +ActuatorCmdBus Actuator_Ch2_Command_Model;/* '/Data Store Memory15' */ +CmdBusStatus Status_Sensor_Model; /* '/Data Store Memory' */ CmdBusError CCU_Errors_Model; /* '/Data Store Memory3' */ CmdBusPWMGet PWM_Get; /* '/Data Store Memory128' */ @@ -181,14 +181,12 @@ ExtY rtY; /* Real-time model */ static RT_MODEL rtM_; RT_MODEL *const rtM = &rtM_; -uint16_t look1_iu16bs16lu64n32_binlcse(uint16_t u0, const int16_t bp0[], const - uint16_t table[], uint32_t maxIndex) +int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t bp0[], + const uint16_t table[], uint32_t maxIndex) { uint64_t frac; uint32_t iLeft; - uint16_t y; uint16_t yL_0d0; - uint16_t yR_0d0; /* Column-major Lookup 1-D Search method: 'binary' @@ -207,15 +205,10 @@ uint16_t look1_iu16bs16lu64n32_binlcse(uint16_t u0, const int16_t bp0[], const Remove protection against out-of-range input in generated code: 'off' Rounding mode: 'simplest' */ - yR_0d0 = u0; - if (u0 > 32767) { - yR_0d0 = 32767U; - } - - if (u0 < bp0[0U]) { + if (u0 <= bp0[0U]) { iLeft = 0U; frac = 0ULL; - } else if ((int16_t)yR_0d0 < bp0[maxIndex]) { + } else if (u0 < bp0[maxIndex]) { uint32_t bpIdx; uint32_t iRght; @@ -224,7 +217,7 @@ uint16_t look1_iu16bs16lu64n32_binlcse(uint16_t u0, const int16_t bp0[], const iLeft = 0U; iRght = maxIndex; while (iRght - iLeft > 1U) { - if ((int16_t)yR_0d0 < bp0[bpIdx]) { + if (u0 < bp0[bpIdx]) { iRght = bpIdx; } else { iLeft = bpIdx; @@ -233,8 +226,10 @@ uint16_t look1_iu16bs16lu64n32_binlcse(uint16_t u0, const int16_t bp0[], const bpIdx = (iRght + iLeft) >> 1U; } - frac = ((uint64_t)(u0 - (uint32_t)bp0[iLeft]) << 32) / (uint32_t)(bp0[iLeft - + 1U] - bp0[iLeft]); + int16_t bpLeftVar; + bpLeftVar = bp0[iLeft]; + frac = ((uint64_t)(uint32_t)(u0 - bpLeftVar) << 32) / (uint32_t)(bp0[iLeft + + 1U] - bpLeftVar); } else { iLeft = maxIndex - 1U; frac = 4294967296ULL; @@ -246,20 +241,12 @@ uint16_t look1_iu16bs16lu64n32_binlcse(uint16_t u0, const int16_t bp0[], const Rounding mode: 'simplest' Overflow mode: 'wrapping' */ - yR_0d0 = table[iLeft + 1U]; yL_0d0 = table[iLeft]; - if (yR_0d0 >= yL_0d0) { - y = (uint16_t)((uint32_t)(uint16_t)(((uint16_t)((uint32_t)yR_0d0 - yL_0d0) * - frac) >> 32) + yL_0d0); - } else { - y = (uint16_t)((uint32_t)yL_0d0 - (uint16_t)(((uint16_t)((uint32_t)yL_0d0 - - yR_0d0) * frac) >> 32)); - } - - return y; + return (int16_t)((int16_t)(((table[iLeft + 1U] - yL_0d0) * (int64_t)frac) >> + 32) + (int16_t)yL_0d0); } -uint32_t binsearch_u32s16(int16_t u, const int16_t bp[], uint32_t startIndex, +uint32_t binsearch_u32s16(int16_t u_2, const int16_t bp[], uint32_t startIndex, uint32_t maxIndex) { uint32_t bpIdx; @@ -271,7 +258,7 @@ uint32_t binsearch_u32s16(int16_t u, const int16_t bp[], uint32_t startIndex, bpIndex = 0U; iRght = maxIndex; while (iRght - bpIndex > 1U) { - if (u < bp[bpIdx]) { + if (u_2 < bp[bpIdx]) { iRght = bpIdx; } else { bpIndex = bpIdx; @@ -508,7 +495,137 @@ int16_t look1_iu16tdIs16_binlcs(uint16_t u0, const uint16_t bp0[], const double return (int16_t)tmp_1; } -uint32_t plook_u32s16_bincka(int16_t u, const int16_t bp[], uint32_t maxIndex) +double look1_is16td_binlc(int16_t u0, const int16_t bp0[], const double table[], + uint32_t maxIndex) +{ + double frac; + double yL_0d0; + uint32_t iLeft; + + /* Column-major Lookup 1-D + Search method: 'binary' + Use previous index: 'off' + Interpolation method: 'Linear point-slope' + Extrapolation method: 'Clip' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + */ + /* Prelookup - Index and Fraction + Index Search method: 'binary' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u0 <= bp0[0U]) { + iLeft = 0U; + frac = 0.0; + } else if (u0 < bp0[maxIndex]) { + uint32_t bpIdx; + uint32_t iRght; + + /* Binary Search */ + bpIdx = maxIndex >> 1U; + iLeft = 0U; + iRght = maxIndex; + while (iRght - iLeft > 1U) { + if (u0 < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + int16_t bpLeftVar; + bpLeftVar = bp0[iLeft]; + frac = (double)(uint32_t)(u0 - bpLeftVar) / (double)(uint32_t)(bp0[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex - 1U; + frac = 1.0; + } + + /* Column-major Interpolation 1-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Overflow mode: 'wrapping' + */ + yL_0d0 = table[iLeft]; + return (table[iLeft + 1U] - yL_0d0) * frac + yL_0d0; +} + +int16_t look1_iu16bs16lu64n32ts16Ds32_binlcs(uint16_t u0, const int16_t bp0[], + const int16_t table[], uint32_t maxIndex) +{ + uint64_t frac; + uint32_t iLeft; + int16_t yL_0d0; + uint16_t tmp; + + /* Column-major Lookup 1-D + Search method: 'binary' + Use previous index: 'off' + Interpolation method: 'Linear point-slope' + Extrapolation method: 'Clip' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'simplest' + */ + /* Prelookup - Index and Fraction + Index Search method: 'binary' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'simplest' + */ + tmp = u0; + if (u0 > 32767) { + tmp = 32767U; + } + + if (u0 < bp0[0U]) { + iLeft = 0U; + frac = 0ULL; + } else if ((int16_t)tmp < bp0[maxIndex]) { + uint32_t bpIdx; + uint32_t iRght; + + /* Binary Search */ + bpIdx = maxIndex >> 1U; + iLeft = 0U; + iRght = maxIndex; + while (iRght - iLeft > 1U) { + if ((int16_t)tmp < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + frac = ((uint64_t)(u0 - (uint32_t)bp0[iLeft]) << 32) / (uint32_t)(bp0[iLeft + + 1U] - bp0[iLeft]); + } else { + iLeft = maxIndex - 1U; + frac = 4294967296ULL; + } + + /* Column-major Interpolation 1-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Rounding mode: 'simplest' + Overflow mode: 'wrapping' + */ + yL_0d0 = table[iLeft]; + return (int16_t)((int16_t)(((table[iLeft + 1U] - yL_0d0) * (int64_t)frac) >> + 32) + yL_0d0); +} + +uint32_t plook_u32s16_bincka(int16_t u_3, const int16_t bp[], uint32_t maxIndex) { uint32_t bpIndex; @@ -519,10 +636,10 @@ uint32_t plook_u32s16_bincka(int16_t u, const int16_t bp[], uint32_t maxIndex) Use last breakpoint for index at or above upper limit: 'on' Remove protection against out-of-range input in generated code: 'off' */ - if (u <= bp[0U]) { + if (u_3 <= bp[0U]) { bpIndex = 0U; - } else if (u < bp[maxIndex]) { - bpIndex = binsearch_u32s16(u, bp, maxIndex >> 1U, maxIndex); + } else if (u_3 < bp[maxIndex]) { + bpIndex = binsearch_u32s16(u_3, bp, maxIndex >> 1U, maxIndex); } else { bpIndex = maxIndex; } @@ -532,12 +649,292 @@ uint32_t plook_u32s16_bincka(int16_t u, const int16_t bp[], uint32_t maxIndex) /* * 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' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + */ +void u(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) +{ + int32_t tmp; + + /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ + tmp = rtu_lvl + 1; + if (rtu_lvl + 1 > 32767) { + tmp = 32767; + } + + *rty_f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING[tmp - 1]; +} + +/* + * Output and update for action system: + * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + */ +void u_d(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double + *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT) +{ + int32_t tmp; + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(8); */ + if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_FALLING_DIFF[7]) + { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_FALLING_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное понижение темп.' + * Merge: '/Merge' + */ + u(rtu_lvl, rty_out); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/ускоренное повышение темп.' */ + /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ + tmp = rtu_lvl + 1; + if (rtu_lvl + 1 > 32767) { + tmp = 32767; + } + + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' + */ + *rty_out = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ +} + +/* + * Output and update for action system: + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + */ +void u_c(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, const + double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT) +{ + int32_t tmp; + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(7); */ + if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_FALLING_DIFF[6]) + { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_FALLING_UNTIL_LIMIT = 1.0; + + /* MATLAB Function: '/ускоренное повышение темп.' */ + /* : f_g_aucAMBRATE_FALLING_DIFF_LVL = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ + tmp = rtu_lvl + 1; + if (rtu_lvl + 1 > 32767) { + tmp = 32767; + } + + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' + */ + *rty_riseperminute = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/обычное повышение темп.' + * Merge: '/Merge' + */ + u(rtu_lvl, rty_riseperminute); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ +} + +/* + * Output and update for atomic system: + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + */ +void u_b(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) +{ + int32_t tmp; + + /* : f_g_aucAMBRATE_RISING = g_aucAMBRATE_RISING(lvl + 1); */ + tmp = rtu_lvl + 1; + if (rtu_lvl + 1 > 32767) { + tmp = 32767; + } + + *rty_f_g_aucAMBRATE_RISING = g_aucAMBRATE_RISING[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + */ +void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) +{ + int32_t tmp; + + /* : f_g_aucAMBRATE_RISING_DIFF_LVL = g_aucAMBRATE_RISING_DIFF(lvl + 1); */ + tmp = rtu_lvl + 1; + if (rtu_lvl + 1 > 32767) { + tmp = 32767; + } + + *rty_f_g_aucAMBRATE_RISING_DIFF_LVL = g_aucAMBRATE_RISING_DIFF[tmp - 1]; +} + +/* + * Output and update for action system: + * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + */ +void u_h(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double + *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT) +{ + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(8); */ + if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_RISING_DIFF[7]) + { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_RISING_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_b(rtu_lvl, rty_out); + + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_g(rtu_lvl, rty_out); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ +} + +/* + * Output and update for action system: + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + */ +void u_a(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, const + double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT) +{ + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(7); */ + if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_RISING_DIFF[6]) + { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_RISING_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_g(rtu_lvl, rty_riseperminute); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_b(rtu_lvl, rty_riseperminute); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ +} + +/* + * Output and update for atomic system: + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_for_LVL' */ void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t *rty_vals) @@ -582,12 +979,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) @@ -632,10 +1029,10 @@ void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t /* * Output and update for atomic system: - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' */ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT) { @@ -652,8 +1049,8 @@ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT /* * Output and update for action system: - * '/Bilevel' - * '/Bilevel' + * '/Bilevel' + * '/Bilevel' */ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -676,55 +1073,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); @@ -734,10 +1131,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); @@ -747,14 +1144,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) { @@ -766,26 +1163,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) { @@ -797,19 +1194,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); @@ -824,10 +1221,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); @@ -842,46 +1239,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); @@ -891,10 +1288,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); @@ -904,14 +1301,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) { @@ -923,23 +1320,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); @@ -954,10 +1351,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); @@ -972,175 +1369,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' + * '/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) @@ -1158,8 +1555,8 @@ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t /* * Output and update for action system: - * '/Bilevel2' - * '/Bilevel2' + * '/Bilevel2' + * '/Bilevel2' */ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -1182,55 +1579,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); @@ -1240,10 +1637,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); @@ -1253,14 +1650,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) { @@ -1272,26 +1669,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) { @@ -1303,19 +1700,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); @@ -1330,10 +1727,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); @@ -1348,46 +1745,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_i_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_cgj) >> 1) << 1); rtb_Switch2_i_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); @@ -1397,10 +1794,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); @@ -1410,14 +1807,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) { @@ -1429,23 +1826,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); @@ -1460,10 +1857,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); @@ -1478,175 +1875,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_i_idx_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; } else if (rtb_Switch2_i_idx_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[0] = rtb_Switch2_i_idx_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_p_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX; } else if (rtb_Switch2_p_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[2] = rtb_Switch2_p_0; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ rtb_Switch2_p_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_cgj) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_i_idx_1 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; } else if (rtb_Switch2_i_idx_1 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[1] = rtb_Switch2_i_idx_1; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_p_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX; } else if (rtb_Switch2_p_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[3] = rtb_Switch2_p_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l) { - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l; } else if (rtb_FLF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [5]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [5]' + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[4] = rtb_FLF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX) { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX; } else if (rtb_FRF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [7]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [7]' + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l; } else { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } /* * Output and update for atomic system: - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t *rty_c_g_aucFLOW_AF_FOOT_VALVE_MAX) @@ -1664,12 +2061,12 @@ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t /* * Output and update for atomic system: - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' */ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT) { @@ -1686,8 +2083,8 @@ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT /* * Output and update for action system: - * '/Afoot' - * '/Afoot' + * '/Afoot' + * '/Afoot' */ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -1707,7 +2104,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; */ @@ -1727,14 +2124,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) { @@ -1749,56 +2146,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; */ @@ -1818,16 +2215,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) { @@ -1839,28 +2236,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) { @@ -1872,51 +2269,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); @@ -1924,10 +2321,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); @@ -1937,10 +2334,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; @@ -1950,30 +2347,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) { @@ -1985,9 +2382,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); @@ -1995,10 +2392,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); @@ -2013,80 +2410,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) @@ -2104,8 +2501,8 @@ void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t /* * Output and update for action system: - * '/Afoot_Summer' - * '/Afoot_Summer' + * '/Afoot_Summer' + * '/Afoot_Summer' */ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -2123,71 +2520,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) { @@ -2199,24 +2596,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) { @@ -2228,22 +2625,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); */ @@ -2252,35 +2649,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); @@ -2288,10 +2685,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); @@ -2302,10 +2699,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; @@ -2315,30 +2712,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) { @@ -2350,9 +2747,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); @@ -2360,10 +2757,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); @@ -2378,87 +2775,87 @@ 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) +double rt_roundd(double u_0) { double y; - if (fabs(u) < 4.503599627370496E+15) { - if (u >= 0.5) { - y = floor(u + 0.5); - } else if (u > -0.5) { + if (fabs(u_0) < 4.503599627370496E+15) { + if (u_0 >= 0.5) { + y = floor(u_0 + 0.5); + } else if (u_0 > -0.5) { y = 0.0; } else { - y = ceil(u - 0.5); + y = ceil(u_0 - 0.5); } } else { - y = u; + y = u_0; } return y; @@ -2466,8 +2863,8 @@ double rt_roundd(double u) /* * Output and update for atomic system: - * '/Начальные положения заслонок left' - * '/Начальные положения заслонок right' + * '/Начальные положения заслонок left' + * '/Начальные положения заслонок right' */ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) { @@ -2497,41 +2894,41 @@ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) /* * Output and update for action system: - * '/If Action Subsystem' - * '/If Action Subsystem' - * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' */ void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private, - double *rtd_Start_timer_i, int8_t *rtd_stepSig_private) + double *rtd_Start_timer_n, int8_t *rtd_stepSig_private) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_stepSig_private = 1; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Sum: '/step inc' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Sum: '/step inc' */ (*rtd_ErrorHomming_private)++; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ - *rtd_Start_timer_i = 0.0; + *rtd_Start_timer_n = 0.0; - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/Constant1' */ *rty_Out1 = 2; } /* * System initialize for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction_Init(DW_MATLABFunction *localDW) { @@ -2541,9 +2938,9 @@ void MATLABFunction_Init(DW_MATLABFunction *localDW) /* * Output and update for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, DW_MATLABFunction *localDW) @@ -2590,9 +2987,9 @@ void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, /* * Output and update for action system: - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' */ void IfActionSubsystem1(int8_t *rty_Output, uint8_t *rtd_CCU_ActuatorErrF_Stat_private, uint8_t rtd_COM_private[9], uint8_t @@ -2603,32 +3000,32 @@ void IfActionSubsystem1(int8_t *rty_Output, uint8_t int32_t i; bool tmp; - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read' + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' */ tmp = (rtd_ErrorCalibration_private[0] != 0); for (i = 0; i < 8; i++) { tmp = (tmp || (rtd_ErrorCalibration_private[i + 1] != 0)); } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ *rtd_CCU_ActuatorErrF_Stat_private = tmp; for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read' */ rtd_COM_private[i] = rtd_ErrorCalibration_private[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtd_MODE_private[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER==1) */ if (*rtd_LOGGER_LIN == 1.0) { @@ -2643,58 +3040,40 @@ void IfActionSubsystem1(int8_t *rty_Output, uint8_t } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { uint8_t rtd_ErrorCalibration_private_0; - /* Logic: '/Logical Operator1' incorporates: - * DataStoreRead: '/Data Store Read' + /* Logic: '/Logical Operator1' incorporates: + * DataStoreRead: '/Data Store Read' */ rtd_ErrorCalibration_private_0 = rtd_ErrorCalibration_private[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtd_ErrorActuator[i] = (uint8_t)((rtd_ErrorCalibration_private_0 != 0) || (rtd_ErrorActuator[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtd_dtc_state_error_model[i + 54] = rtd_ErrorCalibration_private_0; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtd_ErrorCalibration_private[i] = 0U; } - /* SignalConversion generated from: '/Output' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Output' incorporates: + * Constant: '/Constant' */ *rty_Output = 4; } -/* - * Output and update for action system: - * '/If Action Subsystem1' - * '/If Action Subsystem1' - */ -void IfActionSubsystem1_l(int8_t *rty_Out1, double *rtd_Start_timer_l) -{ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' - */ - *rtd_Start_timer_l = 1.0; - - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant1' - */ - *rty_Out1 = 3; -} - /* * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' + * '/AF for Bi Level' + * '/AF for Bi Level' */ void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2711,8 +3090,8 @@ void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Def' - * '/AF for Def' + * '/AF for Def' + * '/AF for Def' */ void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2729,8 +3108,8 @@ void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Foor + Def' - * '/AF for Foor + Def' + * '/AF for Foor + Def' + * '/AF for Foor + Def' */ void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2747,8 +3126,8 @@ void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Foot' - * '/AF for Foot' + * '/AF for Foot' + * '/AF for Foot' */ void AFforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2765,8 +3144,8 @@ void AFforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Hi_Level' - * '/AF for Hi_Level' + * '/AF for Hi_Level' + * '/AF for Hi_Level' */ void AFforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2783,8 +3162,8 @@ void AFforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Tri-Level' - * '/AF for Tri-Level' + * '/AF for Tri-Level' + * '/AF for Tri-Level' */ void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2801,8 +3180,8 @@ void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Vent mode' - * '/AF for Vent mode' + * '/AF for Vent mode' + * '/AF for Vent mode' */ void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2819,8 +3198,8 @@ void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Bi Level R' - * '/AF for Bi Level R' + * '/AF for Bi Level R' + * '/AF for Bi Level R' */ void AFforBiLevelR(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2837,8 +3216,8 @@ void AFforBiLevelR(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Foot R' - * '/AF for Foot R' + * '/AF for Foot R' + * '/AF for Foot R' */ void AFforFootR(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2855,8 +3234,8 @@ void AFforFootR(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Vent mode R' - * '/AF for Vent mode R' + * '/AF for Vent mode R' + * '/AF for Vent mode R' */ void AFforVentmodeR(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -2873,8 +3252,8 @@ void AFforVentmodeR(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/Valves for Bi Level' - * '/Valves for Bi Level' + * '/Valves for Bi Level' + * '/Valves for Bi Level' */ void ValvesforBiLevel(uint16_t rty_out[9]) { @@ -2888,8 +3267,8 @@ void ValvesforBiLevel(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Def' - * '/Valves for Def' + * '/Valves for Def' + * '/Valves for Def' */ void ValvesforDef(uint16_t rty_out[9]) { @@ -2903,8 +3282,8 @@ void ValvesforDef(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Foot + Def' - * '/Valves for Foot + Def' + * '/Valves for Foot + Def' + * '/Valves for Foot + Def' */ void ValvesforFootDef(uint16_t rty_out[9]) { @@ -2918,8 +3297,8 @@ void ValvesforFootDef(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Hi_Level' - * '/Valves for Hi_Level' + * '/Valves for Hi_Level' + * '/Valves for Hi_Level' */ void ValvesforHi_Level(uint16_t rty_out[9]) { @@ -2933,8 +3312,8 @@ void ValvesforHi_Level(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Tri-Level' - * '/Valves for Tri-Level' + * '/Valves for Tri-Level' + * '/Valves for Tri-Level' */ void ValvesforTriLevel(uint16_t rty_out[9]) { @@ -2948,8 +3327,8 @@ void ValvesforTriLevel(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' + * '/AF for Bi Level' + * '/AF for Bi Level' */ void AFforBiLevel_m(uint16_t rty_out[6]) { @@ -2963,8 +3342,8 @@ void AFforBiLevel_m(uint16_t rty_out[6]) /* * Output and update for atomic system: - * '/valves for Vent mode' - * '/valves for Vent mode' + * '/valves for Vent mode' + * '/valves for Vent mode' */ void valvesforVentmode(uint16_t rty_out[6]) { @@ -2978,8 +3357,8 @@ void valvesforVentmode(uint16_t rty_out[6]) /* * Output and update for atomic system: - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' */ void g_assSTART_ENTER_INCAR_j(uint8_t rtu_LVL, int16_t *rty_out) { @@ -2996,9 +3375,9 @@ void g_assSTART_ENTER_INCAR_j(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' */ void g_assSTART_ENTER_COOLANT_p(uint8_t rtu_LVL, int16_t *rty_out) { @@ -3024,28 +3403,28 @@ void g_assSTART_ENTER_COOLANT_p(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/Level 4' + * '/Level 5' */ -void Level4(int8_t *rty_step1, const uint16_t *rtd_ECT, const uint8_t *rtd_LEVEL, +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' + /* 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' + /* 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; @@ -3053,37 +3432,37 @@ void Level4(int8_t *rty_step1, const uint16_t *rtd_ECT, const uint8_t *rtd_LEVEL *rty_step1 = -1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } /* * Output and update for action system: - * '/Level 0' - * '/Level 1' - * '/Level 2' - * '/Level 0' - * '/Level 1' + * '/Level 0' + * '/Level 1' + * '/Level 2' + * '/Level 0' + * '/Level 1' */ void Level0(int8_t *rty_step) { - /* SignalConversion generated from: '/step' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant' */ *rty_step = 1; } /* * Output and update for atomic system: - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' * ... */ void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out) @@ -3101,16 +3480,16 @@ void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' * ... */ void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out) @@ -3128,8 +3507,8 @@ void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' */ void g_assSTART_COOLANT_STEP0_TO_1_h(uint8_t rtu_LVL, int16_t *rty_out) { @@ -3155,11 +3534,11 @@ void g_assSTART_COOLANT_STEP0_TO_1_h(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' - * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' */ void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3176,9 +3555,9 @@ void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Dtg_FrontLower_X' - * '/Dtg_FrontLower_X' - * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' */ void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3195,9 +3574,9 @@ void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Dtg_FrontUpper_X' - * '/Dtg_FrontUpper_X' - * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' */ void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3214,11 +3593,11 @@ void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/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) { @@ -3235,8 +3614,8 @@ void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/blower FR' - * '/blower FR' + * '/blower FR' + * '/blower FR' */ void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out) { @@ -3253,11 +3632,11 @@ void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out) /* * Output and update for atomic system: - * '/mode FR step 1' - * '/mode FR step 1' - * '/mode FR step 1' - * '/mode FR step 1' - * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' */ void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3274,11 +3653,11 @@ void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/window heating' - * '/window heating' - * '/window heating' - * '/window heating' - * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' */ void windowheating(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3295,10 +3674,10 @@ void windowheating(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' */ void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) { @@ -3321,9 +3700,9 @@ void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/ECT min max' - * '/ECT min max' - * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' */ void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]) { @@ -3352,9 +3731,9 @@ void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]) /* * Output and update for atomic system: - * '/blower min max' - * '/blower min max' - * '/blower min max' + * '/blower min max' + * '/blower min max' + * '/blower min max' */ void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]) { @@ -3374,12 +3753,12 @@ void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]) /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/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 uint16_t *rtd_ECT, uint8_t + 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 @@ -3389,74 +3768,78 @@ void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t *rtd_Blower_FR { int32_t tmp; int16_t rtb_out_jl[2]; - int16_t rtb_out_nl; - int16_t rtb_out_pe; + 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' + /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ incarfilterup(*rtd_LEVEL, rtd_Incar_filter_up_value); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown(*rtd_LEVEL, rtd_Incar_filter_down_value); - /* MATLAB Function: '/mode FR step 1' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/mode FR step 1' incorporates: + * DataStoreRead: '/Data Store Read5' */ modeFRstep1(*rtd_LEVEL, &rtb_out_fa); - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_FR = rtb_out_fa; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ *rtd_Mode_FL = rtb_out_fa; - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' */ windowheating(*rtd_LEVEL, &rtb_out_fa); - /* DataStoreWrite: '/Data Store Write4' */ + /* DataStoreWrite: '/Data Store Write4' */ *rtd_El_window_heating = rtb_out_fa; - /* MATLAB Function: '/blower min max' incorporates: - * DataStoreRead: '/Data Store Read7' + /* 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' + /* 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' - * DataStoreWrite: '/Data Store Write5' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - *rtd_Blower_FR = look1_iu16bs16lu64n32_binlcse(*rtd_ECT, rtb_out_jl, + rtb_out_nv = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_jl, rtb_out_nm, 1U); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* 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' + /* 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); @@ -3466,16 +3849,16 @@ void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t *rtd_Blower_FR rtb_out_fa = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp - 1]; - /* DataStoreWrite: '/Data Store Write10' */ + /* DataStoreWrite: '/Data Store Write10' */ *rtd_Dtg_FUR = rtb_out_fa; - /* DataStoreWrite: '/Data Store Write11' */ + /* 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' + /* 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); @@ -3485,82 +3868,82 @@ void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t *rtd_Blower_FR rtb_out_fa = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp - 1]; - /* End of MATLAB Function: '/Dtg_FrontLower_X' */ + /* End of MATLAB Function: '/Dtg_FrontLower_X' */ - /* DataStoreWrite: '/Data Store Write12' */ + /* DataStoreWrite: '/Data Store Write12' */ *rtd_Dtg_FLR = rtb_out_fa; - /* DataStoreWrite: '/Data Store Write13' */ + /* DataStoreWrite: '/Data Store Write13' */ *rtd_Dtg_FLL = rtb_out_fa; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ *rtd_Recirculation = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* 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' + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ - Incartempgotofromstep1tostep2(*rtd_LEVEL, &rtb_out_nl); + Incartempgotofromstep1tostep2(*rtd_LEVEL, &rtb_out_ap); - /* 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(*rtd_LEVEL, &rtb_out_pe); + Timegotofromstep1tostep2(*rtd_LEVEL, &rtb_out_nv); - /* 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_RelationalOperator1_mub = (*rtd_t_now - - localDW->t_start_delay_private_DSTATE > (uint32_t)(1000 * rtb_out_pe)); + 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 ' + /* 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' */ + /* 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' + /* 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_nl) || rtb_RelationalOperator1_mub) { + if ((*rtd_Incar_FL > rtb_out_ap) || rtb_RelationalOperator1_mub) { *rty_step = 2; } else { *rty_step = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* 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' + * '/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) { @@ -3583,11 +3966,11 @@ void uwayvalvestatus_a(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' */ void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3610,11 +3993,11 @@ void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' */ void timeforstep_j(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3637,11 +4020,11 @@ void timeforstep_j(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Time goto from step 2 to step 3 ' - * '/Time goto from step 2 to step 3 ' - * '/Time goto from step 2 to step 3 ' - * '/Time goto from step 2 to step 3 ' - * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/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) { @@ -3664,11 +4047,11 @@ void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' */ void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out) { @@ -3685,11 +4068,11 @@ void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out) /* * Output and update for atomic system: - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' */ void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out) { @@ -3712,11 +4095,11 @@ void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out) /* * Output and update for atomic system: - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' */ void step_j(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3733,11 +4116,11 @@ void step_j(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' */ void timeforstep_g(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3760,10 +4143,10 @@ void timeforstep_g(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/window heating' - * '/window heating' - * '/window heating' - * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' */ void windowheating_k(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3786,9 +4169,9 @@ void windowheating_k(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/autodemist (autodefog)' - * '/autodemist (autodefog)' - * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' */ void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -3805,8 +4188,8 @@ void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for action system: - * '/Level 3' - * '/Level 4' + * '/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, @@ -3828,54 +4211,54 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, uint8_t rtb_out_ir5; uint8_t rtb_out_pr; bool rtb_Cond_prev_private_gh; - bool rtb_RelationalOperator1_df; + bool rtb_RelationalOperator1_bkl; - /* 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(*rtd_LEVEL, rtd_Valve_3_way); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* 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' + /* 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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -3885,53 +4268,53 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, rtd_Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreWrite: '/Data Store Write12' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' */ *rtd_Dtg_FLL = *rtd_Dtg_FLR; - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* 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' + /* 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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -3941,76 +4324,76 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, rtd_Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' */ *rtd_Dtg_FUL = *rtd_Dtg_FUR; - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ incarfilterup(*rtd_LEVEL, rtd_Incar_filter_up_value); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown(*rtd_LEVEL, rtd_Incar_filter_down_value); - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read3' - * MATLAB Function: '/autodemist (autodefog)' + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read3' + * MATLAB Function: '/autodemist (autodefog)' */ autodemistautodefog(*rtd_LEVEL, rtd_Autodefog); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_iew = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ step_j(*rtd_LEVEL, &rtb_out_ir5); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* 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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -4020,69 +4403,69 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, rtd_Mode_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_FL = *rtd_Mode_FR; - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' */ windowheating_k(*rtd_LEVEL, &rtb_out_iew); - /* DataStoreWrite: '/Data Store Write4' */ + /* DataStoreWrite: '/Data Store Write4' */ *rtd_El_window_heating = rtb_out_iew; - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -4092,111 +4475,111 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, + (double)*rtd_Blower_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' */ *rtd_Blower_FL = *rtd_Blower_FR; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ *rtd_Recirculation = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* 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' + /* 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 ' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_RelationalOperator1_df = (*rtd_t_now - + 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 ' + /* 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' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Constant: '/stay at step' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Constant: '/stay at step' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' */ - if (rtb_RelationalOperator1_df || (*rtd_HI_logic_on)) { + if (rtb_RelationalOperator1_bkl || (*rtd_HI_logic_on)) { *rty_step = 3; } else { *rty_step = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_i = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_j = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_a = *rtd_t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* 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' + * '/Step 3 F' + * '/Step 3 R' */ void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front) { - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/True' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/True' */ *rtd_start_control_finished_front = 1; - /* SignalConversion generated from: '/step' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant1' */ *rty_step = 3; } /* * Output and update for atomic system: - * '/g_ausSTART_ENTER_SETTEMP' - * '/g_ausSTART_ENTER_SETTEMP' - * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' */ void g_ausSTART_ENTER_SETTEMP_b(uint8_t rtu_LVL, int16_t *rty_out) { @@ -4225,11 +4608,11 @@ void g_ausSTART_ENTER_SETTEMP_b(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' */ void g_assSTART_ENTER_INCAR_p(uint8_t rtu_LVL, int16_t *rty_out) { @@ -4252,9 +4635,9 @@ void g_assSTART_ENTER_INCAR_p(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' */ void g_assSTART_ENTER_COOLANT_e(uint8_t rtu_LVL, int16_t *rty_out) { @@ -4271,38 +4654,38 @@ void g_assSTART_ENTER_COOLANT_e(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/Level 4' + * '/Level 5' */ -void Level4_e(int8_t *rty_step1, const uint16_t *rtd_ECT, const int16_t +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' + /* 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' + /* 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' + /* 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)) { @@ -4311,15 +4694,15 @@ void Level4_e(int8_t *rty_step1, const uint16_t *rtd_ECT, const int16_t *rty_step1 = -1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } /* * Output and update for atomic system: - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' - * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' */ void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4342,10 +4725,10 @@ void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' - * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' */ void incarfilterup_i(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4368,9 +4751,9 @@ void incarfilterup_i(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' */ void g_assSTART_COOLANT_STEP0_TO_1_e(uint8_t rtu_LVL, int16_t *rty_out) { @@ -4387,94 +4770,94 @@ void g_assSTART_COOLANT_STEP0_TO_1_e(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/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 - uint16_t *rtd_ECT, uint8_t *rtd_Incar_filter_down_value, uint8_t + 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' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ *rtd_Blower_RR = 10U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ *rtd_Blower_RL = 10U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ *rtd_Dtg_RR = 80U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant5' + /* 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' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' */ *rtd_Mode_RR = 60U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - foot' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - foot' */ *rtd_Mode_RL = 60U; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ *rtd_Valve_3_way = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ *rtd_Valve_2_way = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ g_assSTART_COOLANT_STEP0_TO_1_e(*rtd_LEVEL, &rtb_out_ls); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' + /* 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' + * '/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) @@ -4492,12 +4875,12 @@ void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' */ void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4514,12 +4897,12 @@ void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' - * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/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) { @@ -4542,16 +4925,16 @@ void Incartempgotofromstep1tostep2_j(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' - * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/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) @@ -4581,12 +4964,12 @@ void Timegotofromstep1tostep2_l(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/mode rear step 1' - * '/mode rear step 1' - * '/mode rear step 1' - * '/mode rear step 1' - * '/mode rear step 1' - * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' */ void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4609,8 +4992,8 @@ void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for action system: - * '/Level 0' - * '/Level 1' + * '/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 @@ -4629,37 +5012,37 @@ void Level0_b(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR uint8_t rtb_out_hl; bool rtb_Equal_eo; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' */ uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ incarfilterup_i(*rtd_LEVEL, rtd_Incar_filter_up_value); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); - /* MATLAB Function: '/mode rear step 1' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' */ moderearstep1(*rtd_LEVEL, &rtb_out_hl); - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_RR = rtb_out_hl; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ *rtd_Mode_RL = rtb_out_hl; - /* MATLAB Function: '/blower rear' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower rear' incorporates: + * DataStoreRead: '/Data Store Read7' */ /* : out = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ tmp = (int32_t)(*rtd_LEVEL + 1U); @@ -4669,72 +5052,72 @@ void Level0_b(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR rtb_out_ne = g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; - /* End of MATLAB Function: '/blower rear' */ + /* End of MATLAB Function: '/blower rear' */ - /* DataStoreWrite: '/Data Store Write5' */ + /* DataStoreWrite: '/Data Store Write5' */ *rtd_Blower_RR = rtb_out_ne; - /* DataStoreWrite: '/Data Store Write6' */ + /* DataStoreWrite: '/Data Store Write6' */ *rtd_Blower_RL = rtb_out_ne; - /* MATLAB Function: '/Dtg_rear' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(*rtd_LEVEL, &rtb_out_hl); - /* DataStoreWrite: '/Data Store Write10' */ + /* DataStoreWrite: '/Data Store Write10' */ *rtd_Dtg_RR = rtb_out_hl; - /* DataStoreWrite: '/Data Store Write11' */ + /* DataStoreWrite: '/Data Store Write11' */ *rtd_Dtg_RL = rtb_out_hl; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ *rtd_Recirculation = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* 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' + /* 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 ' + /* 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' + /* 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 ' + /* 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' */ + /* 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' + /* 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))) { @@ -4743,18 +5126,18 @@ void Level0_b(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR *rty_step = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* 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' + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' */ void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]) { @@ -4785,9 +5168,9 @@ void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]) /* * Output and update for atomic system: - * '/ECT min max' - * '/ECT min max' - * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' */ void ECTminmax_l(uint8_t rtu_LVL, int16_t rty_out[2]) { @@ -4807,11 +5190,11 @@ void ECTminmax_l(uint8_t rtu_LVL, int16_t rty_out[2]) /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/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 uint16_t *rtd_ECT, + 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 @@ -4821,143 +5204,147 @@ void Level4_d(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR { uint32_t rtb_dt_md; int16_t rtb_out_ij[2]; - int16_t rtb_out_ck; - int16_t rtb_out_pf; + 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' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' */ uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ incarfilterup_i(*rtd_LEVEL, rtd_Incar_filter_up_value); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); - /* MATLAB Function: '/mode rear step 1' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' */ moderearstep1(*rtd_LEVEL, &rtb_out_gz); - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_RR = rtb_out_gz; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ *rtd_Mode_RL = rtb_out_gz; - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstartfinish(*rtd_LEVEL, rtb_out_dq); - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' + /* 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' - * DataStoreWrite: '/Data Store Write5' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - *rtd_Blower_RR = look1_iu16bs16lu64n32_binlcse(*rtd_ECT, rtb_out_ij, + rtb_out_md = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_ij, rtb_out_dq, 1U); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* 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' + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(*rtd_LEVEL, &rtb_out_gz); - /* DataStoreWrite: '/Data Store Write10' */ + /* DataStoreWrite: '/Data Store Write10' */ *rtd_Dtg_RR = rtb_out_gz; - /* DataStoreWrite: '/Data Store Write11' */ + /* DataStoreWrite: '/Data Store Write11' */ *rtd_Dtg_RL = rtb_out_gz; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ *rtd_Recirculation = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* 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' + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ - Incartempgotofromstep1tostep2_j(*rtd_LEVEL, &rtb_out_pf); + Incartempgotofromstep1tostep2_j(*rtd_LEVEL, &rtb_out_mac); - /* 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_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' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ - Timegotofromstep1tostep2_l(*rtd_LEVEL, &rtb_out_ck); + 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 ' + /* 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' */ + /* 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' + /* 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_pf) || (rtb_dt_md > (uint16_t)(1000 * rtb_out_ck))) + 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' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* 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' + * '/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) { @@ -4980,12 +5367,12 @@ void timeforstep_jn(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' */ void blowerstep_d(uint8_t rtu_LVL, uint16_t *rty_out) { @@ -5002,12 +5389,12 @@ void blowerstep_d(uint8_t rtu_LVL, uint16_t *rty_out) /* * Output and update for atomic system: - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' - * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' */ void blowertimeforstep_l(uint8_t rtu_LVL, uint16_t *rty_out) { @@ -5030,12 +5417,12 @@ void blowertimeforstep_l(uint8_t rtu_LVL, uint16_t *rty_out) /* * Output and update for atomic system: - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' */ void step_a(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -5052,12 +5439,12 @@ void step_a(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' */ void timeforstep_h(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -5080,9 +5467,9 @@ void timeforstep_h(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for action system: - * '/Level 3' - * '/Level 4' - * '/Level 5' + * '/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 * @@ -5096,293 +5483,293 @@ void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR { int32_t tmp; uint32_t rtb_dt_jh; - int16_t rtb_out_cw; - uint16_t rtb_out_bz; - uint16_t rtb_out_gx; - uint8_t rtb_out_cn; - uint8_t rtb_out_i4; + 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' + /* 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' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - Dtg_rear(*rtd_LEVEL, &rtb_out_i4); + Dtg_rear(*rtd_LEVEL, &rtb_out_jl); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(*rtd_LEVEL, &rtb_out_cn); + 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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } - *rtd_Dtg_RR = (uint8_t)((double)rtb_out_i4 / (double)rtb_out_cn / 1000.0 * + *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' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' */ *rtd_Dtg_RL = *rtd_Dtg_RR; - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ incarfilterup_i(*rtd_LEVEL, rtd_Incar_filter_up_value); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown_c(*rtd_LEVEL, rtd_Incar_filter_down_value); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_out_i4 = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + rtb_out_jl = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ - rtb_Cond_prev_private_a4 = (rtb_out_i4 <= 0.01); + rtb_Cond_prev_private_a4 = (rtb_out_jl <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - step_a(*rtd_LEVEL, &rtb_out_cn); + step_a(*rtd_LEVEL, &rtb_out_di); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - timeforstep_h(*rtd_LEVEL, &rtb_out_i4); + 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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } - *rtd_Mode_RR = (uint8_t)((double)rtb_out_cn / (double)rtb_out_i4 / 1000.0 * + *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' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_RL = *rtd_Mode_RR; - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowerstep_d(*rtd_LEVEL, &rtb_out_gx); + blowerstep_d(*rtd_LEVEL, &rtb_out_nn); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowertimeforstep_l(*rtd_LEVEL, &rtb_out_bz); + 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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } - *rtd_Blower_RR = (uint16_t)((double)rtb_out_gx / (double)rtb_out_bz / 1000.0 + *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' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' */ *rtd_Blower_RL = *rtd_Blower_RR; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ *rtd_Recirculation = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* 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 ' + /* 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' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ - Timegotofromstep1tostep2_l(*rtd_LEVEL, &rtb_out_cw); + 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 ' + /* 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' */ + /* 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' + /* 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_cw)) || (*rtd_HI_logic_on)) { + 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' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_i = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_e = *rtd_t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ localDW->Cond_prev_private_DSTATE = rtb_Cond_prev_private_a4; } /* Model step function */ void HVAC_model_step(void) { - double rtb_Divide1_ja[9]; - double rtb_Divide1; + double rtb_Divide1_a4[9]; + double rtb_f_lower_upper_bounds[2]; double rtb_Divide10; double rtb_Divide11; double rtb_Divide3; double rtb_Divide6; double rtb_Divide8; + double rtb_rate; int32_t i; - int32_t tmp_0; - uint32_t rtb_dt_f1; - uint32_t rtb_dt_lu; - int16_t tmp[6]; - int16_t rtb_out_mn[2]; - int16_t AMB; + int32_t tmp; + uint32_t rtb_Subtract; + uint32_t rtb_dt_an; + int16_t rtb_uDLookupTable7[6]; + int16_t rtb_out_md[2]; int16_t Duct1_F; int16_t Duct1_R; int16_t Duct2_F; @@ -5393,69 +5780,64 @@ void HVAC_model_step(void) int16_t Duct4_R; int16_t Duct5_F; int16_t Duct6_F; - int16_t Eva_F; - int16_t Eva_R; - int16_t Incar_FL; - int16_t Incar_FR; - int16_t Incar_RL; - int16_t Incar_RR; - int16_t Pressure; + int16_t rtb_LVL; + int16_t rtb_Saturation_n; uint16_t Merge[9]; - uint16_t rtb_out_dt[9]; + uint16_t rtb_out_ic[9]; + uint16_t rtb_out_k4[9]; uint16_t rtb_out_mj[9]; - uint16_t rtb_out_pf[9]; uint16_t rtb_vals_m[9]; - uint16_t rtb_out_jy[6]; - uint16_t rtb_out_bdd[2]; + uint16_t rtb_out_kw[6]; + uint16_t rtb_urear[6]; + uint16_t rtb_out_f0[2]; uint16_t rtb_out_b; - uint16_t rtb_out_gz3; - uint16_t rtb_out_j; + uint16_t rtb_out_em; uint16_t rtb_out_jv; + uint16_t rtb_out_khw; uint16_t rtb_out_le; - uint16_t rtb_out_lef; - uint16_t rtb_out_lw; uint16_t rtb_out_m4; - int8_t rtb_Switch_hx; + uint16_t rtb_out_pb; + uint16_t rtb_out_pf; + int8_t rtb_Switch_nyq; uint8_t rtb_get_modes_for_levels[78]; uint8_t Actuator_pos_percent_Ch1[9]; - uint8_t rtb_DataTypeConversion_c1[9]; - uint8_t rtb_DataTypeConversion_hl[9]; - uint8_t rtb_DataTypeConversion_np[9]; + uint8_t rtb_DataTypeConversion_bh[9]; + uint8_t rtb_DataTypeConversion_bq[9]; + uint8_t rtb_DataTypeConversion_fb[9]; + uint8_t rtb_DataTypeConversion2_l3[6]; uint8_t Autodefog; uint8_t Dtg_FUR; uint8_t El_window_heating; uint8_t Mode_FR; - uint8_t Valve_2_way; - uint8_t rtb_Gain2_hu; - uint8_t rtb_Gain_l; - uint8_t rtb_u_cuz; - bool rtb_LogicalOperator3_a0[9]; - bool rtb_Compare_pav[8]; - bool rtb_LogicalOperator3_ev[6]; + uint8_t rtb_Merge_a; + uint8_t rtb_Merge_e; + uint8_t rtb_Merge_j; + uint8_t rtb_Merge_m; + bool rtb_LogicalOperator3_i5[9]; + bool rtb_Compare_n[8]; + bool rtb_LogicalOperator3_n1[6]; bool rtb_Compare; bool rtb_Compare_a; - bool rtb_Compare_bg; bool rtb_Compare_bp; - bool rtb_Compare_bs; bool rtb_Compare_bt; - bool rtb_Compare_cjo; bool rtb_Compare_e; - bool rtb_Compare_es; - bool rtb_Compare_g3s; + bool rtb_Compare_e1; + bool rtb_Compare_eo; + bool rtb_Compare_esy; + bool rtb_Compare_fr; bool rtb_Compare_gg; - bool rtb_Compare_i0; - bool rtb_Compare_ih; - bool rtb_Compare_k; - bool rtb_Compare_lev; - bool rtb_Compare_lq; - bool rtb_Compare_lt; + bool rtb_Compare_gh; + bool rtb_Compare_ho; + bool rtb_Compare_it; + bool rtb_Compare_j4; + bool rtb_Compare_jf; + bool rtb_Compare_lus; bool rtb_Compare_m4; - bool rtb_Compare_mw; - bool rtb_Compare_n; - bool rtb_Compare_ohe; - bool rtb_Compare_oo; + bool rtb_Compare_mk; + bool rtb_Compare_mt; + bool rtb_Compare_ne; + bool rtb_Compare_of; bool rtb_Compare_p; - bool rtb_FailCond; bool rtb_FailCond_b; bool rtb_FailCond_fj; bool rtb_FailCond_kk; @@ -5463,2112 +5845,471 @@ void HVAC_model_step(void) bool rtb_LogicalOperator1; bool rtb_LogicalOperator10; bool rtb_LogicalOperator11; - bool rtb_LogicalOperator1_f; - bool rtb_LogicalOperator1_f1; - bool rtb_LogicalOperator1_k; - bool rtb_LogicalOperator1_m2; + 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_nm; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* RelationalOperator: '/Relational Operator1' incorporates: + * UnitDelay: '/Unit Delay' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Ambient_Temp / 4095.0 * 5.0; + rtb_RelationalOperator2_nm = (rtDW.UnitDelay_DSTATE_d5 == -9999); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* DataStoreRead: '/Data Store Read14' incorporates: + * UnitDelay: '/Unit Delay' */ - rtb_Compare = (rtb_Divide1 < 0.1); + rtDW.UnitDelay_DSTATE_d5 = rtDW.AMB_RAW; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_bg = (rtb_Divide1 > 4.9); + /* If: '/If' */ + if (rtb_RelationalOperator2_nm) { + /* Outputs for IfAction SubSystem: '/Инициализация температуры' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * UnitDelay: '/Unit Delay' + */ + rtDW.AMB_store = rtDW.UnitDelay_DSTATE_d5; - /* Logic: '/Logical Operator' */ - rtb_FailCond = (rtb_Compare || rtb_Compare_bg); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1 = (rtb_FailCond && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtb_LogicalOperator1) { - AMB = 100; + /* End of Outputs for SubSystem: '/Инициализация температуры' */ } else { - AMB = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Ambient_Temp, - rtConstP.pooled47, rtConstP.uDLookupTable_tableData, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[10] = rtb_LogicalOperator1; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Outputs for IfAction SubSystem: '/Фильтрация температуры' incorporates: + * ActionPort: '/Action Port' */ - rtDW.dtc_state_error_model[11] = rtb_Compare; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* Lookup_n-D: '/Get LVL for temp' incorporates: + * DataStoreRead: '/Data Store Read14' + * UnitDelay: '/Unit Delay' */ - rtDW.dtc_state_error_model[10] = rtb_Compare_bg; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + rtb_LVL = rtConstP.pooled40[plook_u32s16_bincka(rtDW.UnitDelay_DSTATE_d5, + rtConstP.GetLVLfortemp_bp01Data, 5U)]; + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * UnitDelay: '/Unit Delay' */ - rtDW.dtc_state_error_model[11] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write Ambient' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Ambient = %d * 0.1 C\n',Ambient); */ - printf("Ambient = %d * 0.1 C\n", AMB); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write Ambient' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1) { - /* : if(AmbientErr) */ - /* : fprintf('CCU_Body_Err.CCU_AmbienTemptSenErr_Stat = 0x1 (Failure), Sensor_Ambient_Temp = %f V\n',Sensor_Ambient_Temp); */ - printf("CCU_Body_Err.CCU_AmbienTemptSenErr_Stat = 0x1 (Failure), Sensor_Ambient_Temp = %f V\n", - rtb_Divide1); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond && (!rtDW.Cond_prev_private_DSTATE)) { - rtDW.t_start_delay_private_DSTATE = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_bg = (rtb_Divide1 < 0.1); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_bs = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare = (rtb_Compare_bg || rtb_Compare_bs); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1_f1 = (rtb_Compare && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_g >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtb_LogicalOperator1_f1) { - Eva_F = -100; - } else { - Eva_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Evap_Temp, - rtConstP.pooled47, rtConstP.pooled3, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[12] = rtb_LogicalOperator1_f1; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1_f1) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[13] = rtb_Compare_bg; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[12] = rtb_Compare_bs; - } 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_f1) { - /* : 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); - } - - /* 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", 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_Compare && (!rtDW.Cond_prev_private_DSTATE_d)) { - rtDW.t_start_delay_private_DSTATE_g = 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_bs = (rtb_Divide1 < 0.1); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_es = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_bg = (rtb_Compare_bs || rtb_Compare_es); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1_f = (rtb_Compare_bg && (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_f) { - Eva_R = -100; - } else { - Eva_R = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, - rtConstP.pooled47, rtConstP.pooled3, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_f; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1_f) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[15] = rtb_Compare_bs; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[14] = rtb_Compare_es; - } 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_f) { - /* : 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", 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_bg && (!rtDW.Cond_prev_private_DSTATE_p)) { - rtDW.t_start_delay_private_DSTATE_c = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_es = (rtb_Divide1 < 0.1); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_lq = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_bs = (rtb_Compare_es || rtb_Compare_lq); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1_k = (rtb_Compare_bs && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_h >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtb_LogicalOperator1_k) { - Pressure = 32; - } else { - Pressure = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_AC_Pressure, - rtConstP.pooled47, rtConstP.uDLookupTable_tableData_d, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_k; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1_k) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[50] = rtb_Compare_es; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[51] = rtb_Compare_lq; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[50] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('AC_Pressure = %d ATM\n',AC_Pressure); */ - printf("AC_Pressure = %d ATM\n", Pressure); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_k) { - /* : 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_Divide1); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_bs && (!rtDW.Cond_prev_private_DSTATE_a)) { - rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide4' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide1' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_p = (rtb_Divide1 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_m4 = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator1' */ - rtb_Compare_es = (rtb_Compare_p || rtb_Compare_m4); - - /* Logic: '/Logical Operator4' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator4_fo = (rtb_Compare_es && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_m >= 3000U)); - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant6' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table2' - */ - if (rtb_LogicalOperator4_fo) { - Duct2_F = 230; - } else { - Duct2_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Front_Duct2, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* End of Switch: '/Switch2' */ - - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' - */ - rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_k = (rtb_Divide3 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_e = (rtb_Divide3 > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_lq = (rtb_Compare_k || rtb_Compare_e); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator3_cz = (rtb_Compare_lq && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_k >= 3000U)); - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - * Lookup_n-D: '/1-D Lookup Table1' - */ - if (rtb_LogicalOperator3_cz) { - Duct1_F = 230; - } else { - Duct1_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Front_Duct1, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* End of Switch: '/Switch1' */ - - /* Product: '/Divide6' incorporates: - * Constant: '/Constant7' - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide5' - */ - rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_gg = (rtb_Divide6 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ohe = (rtb_Divide6 > 4.9); - - /* Logic: '/Logical Operator5' */ - rtb_FailCond_n = (rtb_Compare_gg || rtb_Compare_ohe); - - /* 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' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * Lookup_n-D: '/1-D Lookup Table3' - */ - if (rtb_LogicalOperator6) { - Duct3_F = 230; - } else { - Duct3_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Front_Duct3, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* End of Switch: '/Switch3' */ - - /* Product: '/Divide8' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide7' - */ - rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_mw = (rtb_Divide8 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_a = (rtb_Divide8 > 4.9); - - /* Logic: '/Logical Operator7' */ - rtb_FailCond_b = (rtb_Compare_mw || rtb_Compare_a); - - /* 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' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - * Lookup_n-D: '/1-D Lookup Table4' - */ - if (rtb_LogicalOperator8) { - Duct4_F = 230; - } else { - Duct4_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Front_Duct4, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* End of Switch: '/Switch4' */ - - /* Product: '/Divide10' incorporates: - * Constant: '/Constant13' - * Constant: '/Constant14' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide9' - */ - rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_cjo = (rtb_Divide10 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_bt = (rtb_Divide10 > 4.9); - - /* Logic: '/Logical Operator9' */ - rtb_FailCond_kk = (rtb_Compare_cjo || rtb_Compare_bt); - - /* 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' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write5' - * Lookup_n-D: '/1-D Lookup Table5' - */ - if (rtb_LogicalOperator10) { - Duct5_F = 230; - } else { - Duct5_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Front_Duct5, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* End of Switch: '/Switch5' */ - - /* Product: '/Divide11' incorporates: - * Constant: '/Constant16' - * Constant: '/Constant17' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide12' - */ - rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_bp = (rtb_Divide11 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_oo = (rtb_Divide11 > 4.9); - - /* Logic: '/Logical Operator12' */ - rtb_FailCond_fj = (rtb_Compare_bp || rtb_Compare_oo); - - /* 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' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write6' - * Lookup_n-D: '/1-D Lookup Table6' - */ - if (rtb_LogicalOperator11) { - Duct6_F = 230; - } else { - Duct6_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Front_Duct6, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* 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_k; - - /* 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' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[19] = rtb_LogicalOperator4_fo; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator4_fo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[20] = rtb_Compare_p; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[19] = rtb_Compare_m4; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[20] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[21] = rtb_LogicalOperator6; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator6) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[22] = rtb_Compare_gg; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[21] = rtb_Compare_ohe; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[22] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[23] = rtb_LogicalOperator8; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator8) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[24] = rtb_Compare_mw; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[23] = rtb_Compare_a; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[24] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[25] = rtb_LogicalOperator10; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator10) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[26] = rtb_Compare_cjo; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[25] = rtb_Compare_bt; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[26] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* 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_bp; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[27] = rtb_Compare_oo; - } 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", Duct1_F); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 1' */ - - /* 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", Duct2_F); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 2' */ - - /* 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", Duct3_F); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 3' */ - - /* 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", Duct4_F); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 4' */ - - /* 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", Duct5_F); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 5' */ - - /* 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", Duct6_F); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 6' */ - - /* 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_Divide3); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR1' */ - - /* 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_Divide1); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR2' */ - - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator6) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n", - rtb_Divide6); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR3' */ - - /* MATLAB Function: '/Write ERROR4' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator8) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n", - rtb_Divide8); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR4' */ - - /* MATLAB Function: '/Write ERROR5' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator10) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n", - rtb_Divide10); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR5' */ - - /* MATLAB Function: '/Write ERROR6' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator11) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n", - rtb_Divide11); - 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_lq && (!rtDW.Cond_prev_private_DSTATE_h)) { - rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_es && (!rtDW.Cond_prev_private_DSTATE_c)) { - rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_n && (!rtDW.Cond_prev_private_DSTATE_m)) { - rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_b && (!rtDW.Cond_prev_private_DSTATE_j)) { - rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_kk && (!rtDW.Cond_prev_private_DSTATE_f)) { - rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_fj && (!rtDW.Cond_prev_private_DSTATE_cn)) { - rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_gg = (rtb_Divide1 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ohe = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_p = (rtb_Compare_gg || rtb_Compare_ohe); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_cjo = (rtb_Compare_p && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_o >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table5' - */ - if (rtb_Compare_cjo) { - Duct1_R = 230; - } else { - Duct1_R = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Rear_Duct1, - rtConstP.pooled47, rtConstP.pooled4, 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_Rear_Duct2 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_mw = (rtb_Divide3 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_a = (rtb_Divide3 > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_m4 = (rtb_Compare_mw || rtb_Compare_a); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_bt = (rtb_Compare_m4 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_oy >= 3000U)); - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - * Lookup_n-D: '/1-D Lookup Table1' - */ - if (rtb_Compare_bt) { - Duct2_R = 230; - } else { - Duct2_R = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Rear_Duct2, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* End of Switch: '/Switch1' */ - - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' - */ - rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_lt = (rtb_Divide6 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_lev = (rtb_Divide6 > 4.9); - - /* Logic: '/Logical Operator5' */ - rtb_Compare_k = (rtb_Compare_lt || rtb_Compare_lev); - - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_bp = (rtb_Compare_k && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * Lookup_n-D: '/1-D Lookup Table2' - */ - if (rtb_Compare_bp) { - Duct3_R = 230; - } else { - Duct3_R = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Rear_Duct3, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* End of Switch: '/Switch2' */ - - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' - */ - rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_n = (rtb_Divide8 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ih = (rtb_Divide8 > 4.9); - - /* Logic: '/Logical Operator7' */ - rtb_Compare_e = (rtb_Compare_n || rtb_Compare_ih); - - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_oo = (rtb_Compare_e && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_or >= 3000U)); - - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - * Lookup_n-D: '/1-D Lookup Table3' - */ - if (rtb_Compare_oo) { - Duct4_R = 230; - } else { - Duct4_R = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Rear_Duct4, - rtConstP.pooled47, rtConstP.pooled4, 1023U); - } - - /* End of Switch: '/Switch3' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[29] = rtb_Compare_cjo; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_cjo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[30] = rtb_Compare_gg; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[29] = rtb_Compare_ohe; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[30] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[31] = 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[32] = rtb_Compare_mw; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[31] = rtb_Compare_a; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[32] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[33] = rtb_Compare_bp; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_bp) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[34] = rtb_Compare_lt; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[33] = rtb_Compare_lev; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[34] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[35] = rtb_Compare_oo; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_oo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[36] = rtb_Compare_n; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[35] = rtb_Compare_ih; - } 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 Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct1_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; - if (rtDW.ADC_Data_Model.Sensor_Rear_Duct1 > 32767) { - rtb_out_b = 32767U; + 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_j, &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_j, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/обычный режим' */ } - printf("Duct1_R = %d * 0.1 C %d V\n", Duct1_R, (int16_t)rtb_out_b); - fflush(stdout); - } + /* End of If: '/If1' */ - /* End of MATLAB Function: '/Write ' */ + /* 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_e, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct2_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; - if (rtDW.ADC_Data_Model.Sensor_Rear_Duct2 > 32767) { - rtb_out_b = 32767U; + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* 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: '/обычный режим' */ } - printf("Duct2_R = %d * 0.1 C %d V\n", Duct2_R, (int16_t)rtb_out_b); - fflush(stdout); - } + /* End of If: '/If1' */ - /* End of MATLAB Function: '/Write 1' */ + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read15' + * UnitDelay: '/Unit Delay' + */ + rtb_Subtract = rtDW.t_now - rtDW.UnitDelay_DSTATE_c; - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct3_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; - if (rtDW.ADC_Data_Model.Sensor_Rear_Duct3 > 32767) { - rtb_out_b = 32767U; + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read' + */ + /* : f_g_ssAMBFILT_WATER = g_ssAMBFILT_WATER; */ + if ((rtDW.VehicleSpeed > 45) && (rtDW.KEEP_UNTIL_SPEED_DROPS > 0)) { + /* Outputs for IfAction SubSystem: '/Быстро из-за флага' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_h(rtDW.UnitDelay_DSTATE_d5, 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_Saturation_n = rtb_Merge_m; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Saturation_n = (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_Saturation_n + + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Быстро из-за флага' */ + } else if (rtDW.VehicleSpeed > 50) { + /* Outputs for IfAction SubSystem: '/Быстро из-за скорости' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_UNTIL_SPEED_DROPS = 1; + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_h(rtDW.UnitDelay_DSTATE_d5, 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_Saturation_n = rtb_Merge_m; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Saturation_n = (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_Saturation_n + + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Быстро из-за скорости' */ + } else { + /* Outputs for IfAction SubSystem: '/Медленно' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' + */ + rtDW.KEEP_UNTIL_SPEED_DROPS = 0; + + /* MATLAB Function: '/границы' */ + /* : rate_at_10 = 0.5; */ + /* : rate_at_50 = double(g_aucAMBRATE_RISING(lvl + 1)) ; */ + /* : f_lower_upper_bounds = [rate_at_10, rate_at_50]; */ + rtb_f_lower_upper_bounds[0] = 0.5; + i = rtb_LVL + 1; + if (rtb_LVL + 1 > 32767) { + i = 32767; + } + + rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[i - 1]; + + /* MATLAB Function: '/обычное понижение темп.' */ + /* : fprintf("lvl = %d\n", lvl); */ + printf("lvl = %d\n", rtb_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' + * UnitDelay: '/Unit Delay' + */ + /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ + if (fabs((double)rtDW.UnitDelay_DSTATE_d5 - rtDW.AMB_store) <= 0.01) { + rtb_rate = rtDW.UnitDelay_DSTATE_d5; + } else { + if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { + /* Switch: '/Скорость >10' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' + */ + if (rtDW.VehicleSpeed > 10) { + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtb_rate = look1_is16td_binlc(rtDW.VehicleSpeed, + rtConstP.uDLookupTable1_bp01Data, rtb_f_lower_upper_bounds, 1U); + } else { + rtb_rate = 0.5; + } + + /* End of Switch: '/Скорость >10' */ + } else { + /* MATLAB Function: '/обычное понижение темп.' incorporates: + * MATLAB Function: '/границы' + */ + i = rtb_LVL + 1; + if (rtb_LVL + 1 > 32767) { + i = 32767; + } + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/обычное понижение темп.' + * UnaryMinus: '/Unary Minus' + */ + rtb_rate = -(double)g_aucAMBRATE_FALLING[i - 1]; + } + + rtb_rate = (double)rtb_Subtract / 60000.0 * rtb_rate + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Медленно' */ } - printf("Duct3_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)rtb_out_b); - fflush(stdout); - } + /* End of If: '/If' */ - /* End of MATLAB Function: '/Write 2' */ + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * MATLAB Function: '/Coolant temp threshold' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + if (rtDW.ECT <= g_ssAMBFILT_WATER) { + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + if (fabs((double)rtDW.UnitDelay_DSTATE_d5 - rtDW.AMB_store) > 0.01) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/AMBraw > AMB' + * UnaryMinus: '/Unary Minus' + */ + if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { + rtb_Saturation_n = rtb_Merge_j; + } else { + rtb_Saturation_n = (int16_t)-rtb_Merge_e; + } - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct4_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; - if (rtDW.ADC_Data_Model.Sensor_Rear_Duct4 > 32767) { - rtb_out_b = 32767U; + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' + */ + rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double) + rtb_Saturation_n; + } + + /* End of Switch: '/Switch1' */ + } else if (rtDW.VehicleSpeed != 0) { + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Write new AMB' + * Switch: '/Switch' + */ + rtDW.AMB_store = rtb_rate; } - printf("Duct4_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)rtb_out_b); - fflush(stdout); - } + /* End of Switch: '/Switch' */ - /* End of MATLAB Function: '/Write 3' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_cjo) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n", - rtb_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_Compare_bt) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n", - rtb_Divide3); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR1' */ - - /* 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_Divide6); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR2' */ - - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_oo) { - /* : 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_Divide8); - 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_p && (!rtDW.Cond_prev_private_DSTATE_l)) { - rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_m4 && (!rtDW.Cond_prev_private_DSTATE_ja)) { - rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_k && (!rtDW.Cond_prev_private_DSTATE_g)) { - rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_e && (!rtDW.Cond_prev_private_DSTATE_cd)) { - rtDW.t_start_delay_private_DSTATE_or = 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_FL / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_mw = (rtb_Divide1 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_a = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_gg = (rtb_Compare_mw || rtb_Compare_a); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_lt = (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_lt) { - Incar_FL = 200; - } else { - Incar_FL = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, - rtConstP.pooled47, rtConstP.pooled5, 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_RL / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_n = (rtb_Divide3 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ih = (rtb_Divide3 > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_ohe = (rtb_Compare_n || rtb_Compare_ih); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_lev = (rtb_Compare_ohe && (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_lev) { - Incar_RL = 200; - } else { - Incar_RL = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, - rtConstP.pooled47, rtConstP.pooled5, 1023U); - } - - /* End of Switch: '/Switch1' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[2] = rtb_Compare_lt; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_lt) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read15' */ - rtDW.dtc_state_error_model[3] = rtb_Compare_mw; + rtDW.UnitDelay_DSTATE_c = rtDW.t_now; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[2] = rtb_Compare_a; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[3] = 0U; + /* End of Outputs for SubSystem: '/Фильтрация температуры' */ } - /* End of Switch: '/Switch' */ + /* End of If: '/If' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dtc_state_error_model[6] = rtb_Compare_lev; + rtb_LVL = (int16_t)floor(rtDW.AMB_store); - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_lev) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[7] = rtb_Compare_n; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[6] = rtb_Compare_ih; - } 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_lt) { - /* : 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); - } - - /* 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_lev) { - /* : 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_Divide3); - 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", 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", 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_ohe && (!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_Compare_n = (rtb_Divide1 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ih = (rtb_Divide1 > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_mw = (rtb_Compare_n || rtb_Compare_ih); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1_m2 = (rtb_Compare_mw && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_kw >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtb_LogicalOperator1_m2) { - Incar_FR = 200; - } else { - Incar_FR = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, - rtConstP.pooled47, rtConstP.pooled5, 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_g3s = (rtb_Divide3 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_i0 = (rtb_Divide3 > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_a = (rtb_Compare_g3s || rtb_Compare_i0); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator3_p0 = (rtb_Compare_a && (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) { - Incar_RR = 200; - } else { - Incar_RR = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, - rtConstP.pooled47, rtConstP.pooled5, 1023U); - } - - /* End of Switch: '/Switch1' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[4] = rtb_LogicalOperator1_m2; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1_m2) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[5] = rtb_Compare_n; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[4] = rtb_Compare_ih; - } 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_g3s; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[8] = rtb_Compare_i0; - } 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_m2) { - /* : if(IncarRLErr) */ - /* : fprintf('CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_FR = %f V\n',Sensor_Incar_Temp_FR); */ - printf("CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_FR = %f V\n", - rtb_Divide1); - 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", Incar_FR); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write IncarFR' */ - - /* MATLAB Function: '/Write IncarRR' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('IncarRR = %d * 0.1 C\n',IncarRR); */ - printf("IncarRR = %d * 0.1 C\n", Incar_RR); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write IncarRR' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_mw && (!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_a && (!rtDW.Cond_prev_private_DSTATE_ei)) { - rtDW.t_start_delay_private_DSTATE_gd = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write2' */ Status_Sensor_Model.Battery = 0; - Status_Sensor_Model.AMB = AMB; - Status_Sensor_Model.Incar_FL = Incar_FL; - Status_Sensor_Model.Incar_FR = Incar_FR; - Status_Sensor_Model.Incar_RL = Incar_RL; - Status_Sensor_Model.Incar_RR = Incar_RR; - Status_Sensor_Model.Eva_F = Eva_F; - Status_Sensor_Model.Eva_R = Eva_R; - Status_Sensor_Model.Pressure = Pressure; + Status_Sensor_Model.AMB = rtb_LVL; + Status_Sensor_Model.Incar_FL = rtDW.Incar_FL; + Status_Sensor_Model.Incar_FR = rtDW.Incar_FR; + Status_Sensor_Model.Incar_RL = rtDW.Incar_RL; + Status_Sensor_Model.Incar_RR = rtDW.Incar_RR; + Status_Sensor_Model.Eva_F = rtDW.Eva_F; + Status_Sensor_Model.Eva_R = rtDW.Eva_R; + Status_Sensor_Model.Pressure = rtDW.Pressure; Status_Sensor_Model.Duct_FL_Upper = 0; Status_Sensor_Model.Duct_FL_Lower = 0; Status_Sensor_Model.Duct_FR_Upper = 0; @@ -7581,278 +6322,2253 @@ void HVAC_model_step(void) Status_Sensor_Model.Duct_Side_RR = 0; Status_Sensor_Model.AQS = 0; - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* 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_nm = (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_nm && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE >= 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.pooled52, 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_nm && (!rtDW.Cond_prev_private_DSTATE)) { + rtDW.t_start_delay_private_DSTATE = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_mk = (rtb_rate < 0.1); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_ho = (rtb_rate > 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.pooled52, + 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_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_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' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * 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); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_it = (rtb_rate > 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 ' + */ + rtb_LogicalOperator1_n = (rtb_Compare_mk && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_h >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' + * Lookup_n-D: '/1-D Lookup Table' + */ + if (rtb_LogicalOperator1_n) { + rtDW.Pressure = 32; + } else { + rtDW.Pressure = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled52, + rtConstP.uDLookupTable_tableData, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* 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' + */ + if (rtb_LogicalOperator1_n) { + /* 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' + */ + rtDW.dtc_state_error_model[51] = rtb_Compare_it; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[50] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('AC_Pressure = %d ATM\n',AC_Pressure); */ + printf("AC_Pressure = %d ATM\n", rtDW.Pressure); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* 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); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_mk && (!rtDW.Cond_prev_private_DSTATE_a)) { + rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide4' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide1' + */ + rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_gh = (rtb_rate < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_j4 = (rtb_rate > 4.9); + + /* 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 ' + */ + 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: + * DataStoreRead: '/Data Store Read1' + */ + rtb_urear[0] = rtDW.ADC_Data_Model.Sensor_Front_Duct1; + rtb_urear[1] = rtDW.ADC_Data_Model.Sensor_Front_Duct2; + rtb_urear[2] = rtDW.ADC_Data_Model.Sensor_Front_Duct3; + rtb_urear[3] = rtDW.ADC_Data_Model.Sensor_Front_Duct4; + 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' */ + for (i = 0; i < 6; i++) { + rtb_uDLookupTable7[i] = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_urear[i], + rtConstP.pooled46, rtConstP.pooled45, 1023U); + } + + /* End of Lookup_n-D: '/1-D Lookup Table7' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtb_LogicalOperator4_fo) { + Duct2_F = 230; + } else { + Duct2_F = rtb_uDLookupTable7[1]; + } + + /* End of Switch: '/Switch2' */ + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' + */ + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_ne = (rtb_Divide3 < 0.15); + + /* 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 ' + */ + 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' + */ + if (rtb_LogicalOperator3_cz) { + Duct1_F = 230; + } else { + Duct1_F = rtb_uDLookupTable7[0]; + } + + /* End of Switch: '/Switch1' */ + + /* Product: '/Divide6' incorporates: + * Constant: '/Constant7' + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide5' + */ + rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_gg = (rtb_Divide6 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_m4 = (rtb_Divide6 > 4.9); + + /* 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 ' + */ + 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' + */ + if (rtb_LogicalOperator6) { + Duct3_F = 230; + } else { + Duct3_F = rtb_uDLookupTable7[2]; + } + + /* End of Switch: '/Switch3' */ + + /* Product: '/Divide8' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide7' + */ + rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_lus = (rtb_Divide8 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_e1 = (rtb_Divide8 > 4.9); + + /* 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 ' + */ + 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' + */ + if (rtb_LogicalOperator8) { + Duct4_F = 230; + } else { + Duct4_F = rtb_uDLookupTable7[3]; + } + + /* End of Switch: '/Switch4' */ + + /* Product: '/Divide10' incorporates: + * Constant: '/Constant13' + * Constant: '/Constant14' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide9' + */ + rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_bp = (rtb_Divide10 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_bt = (rtb_Divide10 > 4.9); + + /* 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 ' + */ + 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' + */ + if (rtb_LogicalOperator10) { + Duct5_F = 230; + } else { + Duct5_F = rtb_uDLookupTable7[4]; + } + + /* End of Switch: '/Switch5' */ + + /* Product: '/Divide11' incorporates: + * Constant: '/Constant16' + * Constant: '/Constant17' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide12' + */ + rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_p = (rtb_Divide11 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_eo = (rtb_Divide11 > 4.9); + + /* 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 ' + */ + 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' + */ + if (rtb_LogicalOperator11) { + Duct6_F = 230; + } else { + Duct6_F = rtb_uDLookupTable7[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' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[19] = rtb_LogicalOperator4_fo; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator4_fo) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[20] = rtb_Compare_gh; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[19] = rtb_Compare_j4; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[20] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[21] = rtb_LogicalOperator6; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator6) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[22] = rtb_Compare_gg; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[21] = rtb_Compare_m4; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[22] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[23] = rtb_LogicalOperator8; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator8) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[24] = rtb_Compare_lus; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[23] = rtb_Compare_e1; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[24] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[25] = rtb_LogicalOperator10; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator10) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[26] = rtb_Compare_bp; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[25] = rtb_Compare_bt; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[26] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* 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", Duct1_F); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 1' */ + + /* 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", Duct2_F); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 2' */ + + /* 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", Duct3_F); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 3' */ + + /* 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", Duct4_F); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 4' */ + + /* 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", Duct5_F); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 5' */ + + /* 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", Duct6_F); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 6' */ + + /* 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_Divide3); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR1' */ + + /* 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); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR2' */ + + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator6) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n", + rtb_Divide6); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR3' */ + + /* MATLAB Function: '/Write ERROR4' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator8) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n", + rtb_Divide8); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR4' */ + + /* MATLAB Function: '/Write ERROR5' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator10) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n", + rtb_Divide10); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR5' */ + + /* MATLAB Function: '/Write ERROR6' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator11) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n", + rtb_Divide11); + 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' */ + + /* 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_ho && (!rtDW.Cond_prev_private_DSTATE_c)) { + rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_FailCond_n && (!rtDW.Cond_prev_private_DSTATE_m)) { + rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_FailCond_b && (!rtDW.Cond_prev_private_DSTATE_j)) { + rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_FailCond_kk && (!rtDW.Cond_prev_private_DSTATE_f)) { + rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_FailCond_fj && (!rtDW.Cond_prev_private_DSTATE_cn)) { + rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide4' + */ + rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_gg = (rtb_rate < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_m4 = (rtb_rate > 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 ' + */ + rtb_Compare_bp = (rtb_Compare_gh && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' + */ + if (rtb_Compare_bp) { + Duct1_R = 230; + } else { + Duct1_R = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled46, + rtConstP.pooled45, 1023U); + } + + /* End of Switch: '/Switch2' */ + + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' + */ + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_lus = (rtb_Divide3 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_e1 = (rtb_Divide3 > 4.9); + + /* 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 ' + */ + rtb_Compare_bt = (rtb_Compare_j4 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_o >= 3000U)); + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' + */ + if (rtb_Compare_bt) { + Duct2_R = 230; + } else { + Duct2_R = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled46, + rtConstP.pooled45, 1023U); + } + + /* End of Switch: '/Switch3' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * 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_fr = (rtb_Divide6 > 4.9); + + /* 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 ' + */ + rtb_Compare_p = (rtb_Compare_ne && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_oj >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' + */ + if (rtb_Compare_p) { + Duct3_R = 230; + } else { + Duct3_R = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled46, + rtConstP.pooled45, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' + */ + rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_jf = (rtb_Divide8 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_of = (rtb_Divide8 > 4.9); + + /* Logic: '/Logical Operator2' */ + rtb_Compare_e = (rtb_Compare_jf || rtb_Compare_of); + + /* 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' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' + */ + if (rtb_Compare_eo) { + Duct4_R = 230; + } else { + Duct4_R = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled46, + rtConstP.pooled45, 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' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[31] = rtb_Compare_eo; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_Compare_eo) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[32] = rtb_Compare_jf; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[31] = rtb_Compare_of; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[32] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[33] = rtb_Compare_bp; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_Compare_bp) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[34] = rtb_Compare_gg; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[33] = rtb_Compare_m4; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[34] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* 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 Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct1_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ + rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; + if (rtDW.ADC_Data_Model.Sensor_Rear_Duct1 > 32767) { + rtb_out_b = 32767U; + } + + printf("Duct1_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)rtb_out_b); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ' */ + + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct2_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ + rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; + if (rtDW.ADC_Data_Model.Sensor_Rear_Duct2 > 32767) { + rtb_out_b = 32767U; + } + + printf("Duct2_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)rtb_out_b); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 1' */ + + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct3_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ + rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; + if (rtDW.ADC_Data_Model.Sensor_Rear_Duct3 > 32767) { + rtb_out_b = 32767U; + } + + printf("Duct3_R = %d * 0.1 C %d V\n", Duct1_R, (int16_t)rtb_out_b); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 2' */ + + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct4_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ + rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; + if (rtDW.ADC_Data_Model.Sensor_Rear_Duct4 > 32767) { + rtb_out_b = 32767U; + } + + printf("Duct4_R = %d * 0.1 C %d V\n", Duct2_R, (int16_t)rtb_out_b); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 3' */ + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_p) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n", + rtb_Divide6); + 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_eo) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n", + rtb_Divide8); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR1' */ + + /* 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); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR2' */ + + /* 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_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' */ + + /* 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_e && (!rtDW.Cond_prev_private_DSTATE_ja)) { + rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_gh && (!rtDW.Cond_prev_private_DSTATE_g)) { + rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_j4 && (!rtDW.Cond_prev_private_DSTATE_cd)) { + rtDW.t_start_delay_private_DSTATE_o = 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_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_g >= 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.pooled52, + 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_RL / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_jf = (rtb_Divide3 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_of = (rtb_Divide3 > 4.9); + + /* Logic: '/Logical Operator2' */ + rtb_Compare_m4 = (rtb_Compare_jf || rtb_Compare_of); + + /* 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.pooled52, + 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_Compare_jf; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[6] = rtb_Compare_of; + } 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_Divide3); + 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_g = 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_rate = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_jf = (rtb_rate < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_of = (rtb_rate > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_Compare_lus = (rtb_Compare_jf || rtb_Compare_of); + + /* Logic: '/Logical Operator1' incorporates: + * 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)); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table' + */ + if (rtb_LogicalOperator1_l) { + rtDW.Incar_FR = 200; + } else { + rtDW.Incar_FR = look1_iu16tdIs16_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled52, + 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_esy = (rtb_Divide3 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_a = (rtb_Divide3 > 4.9); + + /* Logic: '/Logical Operator2' */ + rtb_Compare_e1 = (rtb_Compare_esy || rtb_Compare_a); + + /* 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.pooled52, + rtConstP.pooled9, 1023U); + } + + /* End of Switch: '/Switch1' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[4] = rtb_LogicalOperator1_l; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator1_l) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[5] = rtb_Compare_jf; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[4] = rtb_Compare_of; + } 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_esy; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[8] = rtb_Compare_a; + } 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_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); + 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' */ + + /* MATLAB Function: '/Write IncarRR' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('IncarRR = %d * 0.1 C\n',IncarRR); */ + printf("IncarRR = %d * 0.1 C\n", rtDW.Incar_RR); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write IncarRR' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + 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' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.LOGGER_ACP = 0.0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / + 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' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n',U,I); */ - printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", rtb_rate, + rtb_rate / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n',U,I); */ - printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", rtb_rate, + rtb_rate / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / - 4095.0 * 5.0; + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / 4095.0 * + 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_rate, + rtb_rate / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / - 4095.0 * 5.0; + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / 4095.0 * + 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_rate, + rtb_rate / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / - 4095.0 * 5.0; + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / 4095.0 * + 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_rate, rtb_rate + / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / 4095.0 - * 5.0; + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / 4095.0 * + 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_rate, rtb_rate / + 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_rate, + rtb_rate / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / - 4095.0 * 5.0; + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / 4095.0 + * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", rtb_rate, + rtb_rate / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / - 4095.0 * 5.0; + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / 4095.0 * + 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", rtb_rate, + rtb_rate / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 * - 5.0; + rtb_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); + printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_rate, rtb_rate / + 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -7862,15 +8578,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -7880,15 +8596,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -7898,15 +8614,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -7916,15 +8632,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -7934,15 +8650,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -7952,15 +8668,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -7970,15 +8686,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -7989,15 +8705,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8008,63 +8724,63 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double) - rtDW.ADC_Data_Model.VN7008AJ_FrontLINActuatorPowerDriverAB / 4095.0 * 5.0; + 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' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n',U,I); */ - printf("VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n", - rtb_Divide1, rtb_Divide1 / 2490.0 * 5890.0); + printf("VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n", rtb_rate, + rtb_rate / 2490.0 * 5890.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.VN7008AJ_RearLINActuatorPowerDriverC - / 4095.0 * 5.0; + rtb_rate = (double)rtDW.ADC_Data_Model.VN7008AJ_RearLINActuatorPowerDriverC / + 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n',U,I); */ - printf("VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n", - rtb_Divide1, rtb_Divide1 / 2490.0 * 5890.0); + printf("VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n", rtb_rate, + rtb_rate / 2490.0 * 5890.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8073,11 +8789,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8086,11 +8802,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write1' */ + /* End of MATLAB Function: '/Write1' */ - /* MATLAB Function: '/Write2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8100,11 +8816,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write2' */ + /* End of MATLAB Function: '/Write2' */ - /* MATLAB Function: '/Write3' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write3' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8114,11 +8830,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write3' */ + /* End of MATLAB Function: '/Write3' */ - /* MATLAB Function: '/Write4' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write4' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8127,40 +8843,39 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write4' */ + /* End of MATLAB Function: '/Write4' */ /* BusCreator: '/Bus Creator' incorporates: * 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' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator4' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * Logic: '/Logical Operator13' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator4' */ - CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_Compare_lt || - rtb_Compare_lev); - CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_LogicalOperator1_m2 || + CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_Compare_mt || + rtb_Compare_fr); + CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_LogicalOperator1_l || rtb_LogicalOperator3_p0); CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = (uint8_t)(rtb_LogicalOperator3_cz || rtb_LogicalOperator4_fo || rtb_LogicalOperator6 || rtb_LogicalOperator8 || rtb_LogicalOperator10 || rtb_LogicalOperator11); - CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(rtb_Compare_cjo || - rtb_Compare_bt || rtb_Compare_bp || rtb_Compare_oo); - CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = rtb_LogicalOperator1_f1; - CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = rtb_LogicalOperator1_f; + CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(rtb_Compare_p || + rtb_Compare_eo || rtb_Compare_bp || rtb_Compare_bt); + CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = rtb_LogicalOperator1; + CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = rtb_LogicalOperator1_dv; CCU_Errors_Model.CCU_DeflectorSwErrF_Stat = 0U; CCU_Errors_Model.CCU_DeflectorSwErrR_Stat = 0U; - CCU_Errors_Model.CCU_PressSenErr_Stat = rtb_LogicalOperator1_k; - CCU_Errors_Model.CCU_AmbienTemptSenErr_Stat = rtb_LogicalOperator1; + CCU_Errors_Model.CCU_PressSenErr_Stat = rtb_LogicalOperator1_n; + CCU_Errors_Model.CCU_AmbienTemptSenErr_Stat = 0U; CCU_Errors_Model.CCU_SealingValveErr_Stat = 0U; CCU_Errors_Model.CCU_ETXVerr_Stat = 0U; CCU_Errors_Model.CCU_HVACfanOrTXVerrF_Stat = 0U; @@ -8175,223 +8890,223 @@ void HVAC_model_step(void) CCU_Errors_Model.CCU_IonizationErr_Stat = 0U; CCU_Errors_Model.CCU_AromaErr_Stat = 0U; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read' */ - if (AMB > 1000) { - Pressure = 1000; - } else if (AMB < -1000) { - Pressure = -1000; + if (rtb_LVL > 1000) { + rtb_Saturation_n = 1000; + } else if (rtb_LVL < -1000) { + rtb_Saturation_n = -1000; } else { - Pressure = AMB; + rtb_Saturation_n = 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)]; */ - tmp[0] = -1000; - tmp[1] = g_assAMB_LV_UP[4]; - tmp[2] = g_assAMB_LV_UP[3]; - tmp[3] = g_assAMB_LV_UP[2]; - tmp[4] = g_assAMB_LV_UP[1]; - tmp[5] = g_assAMB_LV_UP[0]; + rtb_uDLookupTable7[0] = -1000; + rtb_uDLookupTable7[1] = g_assAMB_LV_UP[4]; + rtb_uDLookupTable7[2] = g_assAMB_LV_UP[3]; + rtb_uDLookupTable7[3] = g_assAMB_LV_UP[2]; + rtb_uDLookupTable7[4] = g_assAMB_LV_UP[1]; + rtb_uDLookupTable7[5] = g_assAMB_LV_UP[0]; - /* SwitchCase: '/Switch Case' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation' + /* SwitchCase: '/Switch Case' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation' */ - switch ((int8_t)rtConstP.uDLookupTable_tableData_h[plook_u32s16_bincka - (Pressure, tmp, 5U)]) { + switch ((int8_t)rtConstP.pooled40[plook_u32s16_bincka(rtb_Saturation_n, + rtb_uDLookupTable7, 5U)]) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_1' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_1' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ /* : c_g_assAMB_LV_UP_1 = g_assAMB_LV_UP(1); */ - rtB.Merge_b = (uint8_t)(Pressure <= g_assAMB_LV_UP[0]); + rtB.Merge_b = (uint8_t)(rtb_Saturation_n <= 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 (Pressure > g_assAMB_LV_UP[1]) { - /* Merge: '/Merge' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' - * RelationalOperator: '/Relational Operator1' + if (rtb_Saturation_n > g_assAMB_LV_UP[1]) { + /* Merge: '/Merge' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' + * RelationalOperator: '/Relational Operator1' */ - rtB.Merge_b = (uint8_t)(Pressure <= g_assAMB_LV_DN[0]); + rtB.Merge_b = (uint8_t)(rtb_Saturation_n <= 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 (Pressure > g_assAMB_LV_UP[2]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' - * RelationalOperator: '/Relational Operator1' + if (rtb_Saturation_n > g_assAMB_LV_UP[2]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' + * RelationalOperator: '/Relational Operator1' */ - if (Pressure > g_assAMB_LV_DN[1]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv1' + if (rtb_Saturation_n > g_assAMB_LV_DN[1]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv1' */ rtB.Merge_b = 1U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_3 = g_assAMB_LV_DN(3); */ /* : c_g_assAMB_LV_UP_4 = g_assAMB_LV_UP(4); */ - if (Pressure > g_assAMB_LV_UP[3]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' - * RelationalOperator: '/Relational Operator1' + if (rtb_Saturation_n > g_assAMB_LV_UP[3]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' + * RelationalOperator: '/Relational Operator1' */ - if (Pressure > g_assAMB_LV_DN[2]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + if (rtb_Saturation_n > g_assAMB_LV_DN[2]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_4 = g_assAMB_LV_DN(4); */ /* : c_g_assAMB_LV_UP_5 = g_assAMB_LV_UP(5); */ - if (Pressure > g_assAMB_LV_UP[4]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' - * RelationalOperator: '/Relational Operator1' + if (rtb_Saturation_n > g_assAMB_LV_UP[4]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' + * RelationalOperator: '/Relational Operator1' */ - if (Pressure > g_assAMB_LV_DN[3]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + if (rtb_Saturation_n > g_assAMB_LV_DN[3]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' */ rtB.Merge_b = 5U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_5 = g_assAMB_LV_DN(5); */ - if (Pressure > g_assAMB_LV_DN[4]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + if (rtb_Saturation_n > g_assAMB_LV_DN[4]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' */ rtB.Merge_b = 5U; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.FIU_SET_FL > 290) { i = 290; @@ -8401,13 +9116,13 @@ void HVAC_model_step(void) i = rtDW.FIU_SET_FL; } - /* Gain: '/Gain' incorporates: - * Saturate: '/Saturation' + /* Gain: '/Gain' incorporates: + * Saturate: '/Saturation' */ i *= 13107; - rtb_Gain_l = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); + 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; */ @@ -8424,21 +9139,21 @@ void HVAC_model_step(void) rtb_get_modes_for_levels[6 * i + 5] = g_aucMODE_BY_SET_F_LV5[i]; } - /* End of MATLAB Function: '/Modes for levels' */ + /* End of MATLAB Function: '/Modes for levels' */ - /* Lookup_n-D: '/Выбор режима Left' incorporates: - * Gain: '/Gain' - * Merge: '/Merge' + /* Lookup_n-D: '/Выбор режима Left' incorporates: + * Gain: '/Gain' + * Merge: '/Merge' */ - rtb_u_cuz = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Gain_l, - rtConstP.pooled82, rtConstP.pooled43, rtb_get_modes_for_levels, - rtConstP.pooled36, 6U); + rtb_Merge_m = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Merge_j, + rtConstP.pooled86, rtConstP.pooled49, rtb_get_modes_for_levels, + rtConstP.pooled38, 6U); - /* MATLAB Function: '/Начальные положения заслонок left' */ - left(rtb_u_cuz, rtb_vals_m); + /* MATLAB Function: '/Начальные положения заслонок left' */ + left(rtb_Merge_m, rtb_vals_m); - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read2' + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.FIU_SET_FR > 290) { i = 290; @@ -8448,188 +9163,188 @@ void HVAC_model_step(void) i = rtDW.FIU_SET_FR; } - /* Gain: '/Gain2' incorporates: - * Saturate: '/Saturation1' + /* Gain: '/Gain2' incorporates: + * Saturate: '/Saturation1' */ i *= 13107; - rtb_Gain2_hu = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); + rtb_Merge_e = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); - /* SwitchCase: '/Switch for Left ' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch for Left ' incorporates: + * DataStoreRead: '/Data Store Read' */ - switch (rtb_u_cuz) { + switch (rtb_Merge_m) { case 10: break; case 20: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ } - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ - Bilevel(AMB, rtB.Merge_b, Merge, rtb_Gain_l, rtb_Gain2_hu); + Bilevel(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ break; case 30: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ } - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ - Bilevel2(AMB, rtB.Merge_b, Merge, rtb_Gain_l, rtb_Gain2_hu); + Bilevel2(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ break; case 40: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ } - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ - Afoot(AMB, rtB.Merge_b, Merge, rtb_Gain_l, rtb_Gain2_hu); + Afoot(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ break; case 50: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ } - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ - Afoot_Summer(AMB, rtB.Merge_b, Merge, rtb_Gain_l, rtb_Gain2_hu); + Afoot_Summer(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ break; } - /* End of SwitchCase: '/Switch for Left ' */ + /* End of SwitchCase: '/Switch for Left ' */ - /* Lookup_n-D: '/Выбор режима Right' incorporates: - * Gain: '/Gain2' - * Merge: '/Merge' + /* Lookup_n-D: '/Выбор режима Right' incorporates: + * Gain: '/Gain2' + * Merge: '/Merge' */ - rtb_u_cuz = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Gain2_hu, - rtConstP.pooled82, rtConstP.pooled43, rtb_get_modes_for_levels, - rtConstP.pooled36, 6U); + rtb_Merge_m = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Merge_e, + rtConstP.pooled86, rtConstP.pooled49, rtb_get_modes_for_levels, + rtConstP.pooled38, 6U); - /* MATLAB Function: '/Начальные положения заслонок right' */ - left(rtb_u_cuz, rtb_vals_m); + /* MATLAB Function: '/Начальные положения заслонок right' */ + left(rtb_Merge_m, rtb_vals_m); - /* SwitchCase: '/Switch for Left ' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch for Left ' incorporates: + * DataStoreRead: '/Data Store Read' */ - switch (rtb_u_cuz) { + switch (rtb_Merge_m) { case 10: break; case 20: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ } - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ - Bilevel(AMB, rtB.Merge_b, Merge, rtb_Gain_l, rtb_Gain2_hu); + Bilevel(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ break; case 30: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ } - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ - Bilevel2(AMB, rtB.Merge_b, Merge, rtb_Gain_l, rtb_Gain2_hu); + Bilevel2(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ break; case 40: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ } - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ - Afoot(AMB, rtB.Merge_b, Merge, rtb_Gain_l, rtb_Gain2_hu); + Afoot(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ break; case 50: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ } - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ - Afoot_Summer(AMB, rtB.Merge_b, Merge, rtb_Gain_l, rtb_Gain2_hu); + Afoot_Summer(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ break; } - /* End of SwitchCase: '/Switch for Left ' */ + /* End of SwitchCase: '/Switch for Left ' */ - /* 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; */ @@ -8638,7 +9353,7 @@ void HVAC_model_step(void) /* : fprintf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl (init) = %u \n", in_Amb_Fb, Ambient_Lv); */ printf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl (init) = %u \n", - Pressure, rtB.Merge_b); + rtb_Saturation_n, rtB.Merge_b); fflush(stdout); /* : else */ @@ -8649,47 +9364,425 @@ void HVAC_model_step(void) /* : fprintf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl = %u \n", in_Amb_Fb, Ambient_Lv); */ printf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl = %u \n", - Pressure, rtB.Merge_b); + rtb_Saturation_n, rtB.Merge_b); fflush(stdout); } - /* End of MATLAB Function: '/Log Ambient Lv' */ + /* End of MATLAB Function: '/Log Ambient Lv' */ - /* BusCreator: '/Bus Creator' incorporates: + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * 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' + * 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); + + /* 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' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' - * Switch: '/Switch' + * 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' + */ + /* DataStoreRead: '/Data Store Read1' */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 0) { + /* DataStoreWrite: '/Data Store Write6' */ + rtDW.FIU_MODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem1' */ + + /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 0) { + /* DataStoreWrite: '/Data Store Write10' */ + rtDW.FIU_MODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem10' */ + + /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req > 0) { + /* DataStoreWrite: '/Data Store Write11' */ + rtDW.FIU_DEF_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem11' */ + + /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req > 0) { + /* DataStoreWrite: '/Data Store Write12' */ + rtDW.FIU_FACE_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem12' */ + + /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req > 0) { + /* DataStoreWrite: '/Data Store Write13' */ + rtDW.FIU_FOOT_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem13' */ + + /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: + * EnablePort: '/Enable' + */ + /* SignalConversion generated from: '/Bus Selector' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 0) { + /* DataStoreWrite: '/Data Store Write14' */ + rtDW.FIU_BLOWERS_FL = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; + } + + /* End of SignalConversion generated from: '/Bus Selector' */ + /* End of Outputs for SubSystem: '/Subsystem14' */ + + /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read1' */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 0) { + /* DataStoreWrite: '/Data Store Write15' */ + rtDW.FIU_BLOWERS_FR = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem15' */ + + /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req > 0) { + /* DataStoreWrite: '/Data Store Write16' */ + rtDW.FIU_AUTOMODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem16' */ + + /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req > 0) { + /* DataStoreWrite: '/Data Store Write17' */ + rtDW.FIU_AUTOMODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem17' */ + + /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req > 0) { + /* DataStoreWrite: '/Data Store Write19' */ + rtDW.FIU_RECIRC = rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem18' */ + + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' + */ + /* SignalConversion generated from: '/Bus Selector' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro > 0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.FIU_SET_FL = (uint16_t)((0.5 * (double) + rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro + 15.0) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.FIU_SET_FL > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.FIU_SET_FL = 305U; + } else if (rtDW.FIU_SET_FL < 155) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.FIU_SET_FL = 155U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of SignalConversion generated from: '/Bus Selector' */ + /* End of Outputs for SubSystem: '/Subsystem5' */ + + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read1' */ + 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' + */ + rtDW.FIU_SET_FR = (uint16_t)((0.5 * (double) + rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro + 15.0) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.FIU_SET_FR > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.FIU_SET_FR = 305U; + } else if (rtDW.FIU_SET_FR < 155) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.FIU_SET_FR = 155U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of Outputs for SubSystem: '/Subsystem6' */ + + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req > 0) { + /* DataStoreWrite: '/Data Store Write7' */ + rtDW.FIU_DEF_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem7' */ + + /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req > 0) { + /* DataStoreWrite: '/Data Store Write8' */ + rtDW.FIU_FACE_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem8' */ + + /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req > 0) { + /* DataStoreWrite: '/Data Store Write9' */ + rtDW.FIU_FOOT_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem9' */ + + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read2' */ + if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro > 0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.FIU_SET_RL = (uint16_t)((0.5 * (double) + rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro + 15.0) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.FIU_SET_RL > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.FIU_SET_RL = 305U; + } else if (rtDW.FIU_SET_RL < 155) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.FIU_SET_RL = 155U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of Outputs for SubSystem: '/Subsystem2' */ + + /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_MODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem27' */ + + /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_FACE_RL = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem29' */ + + /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro > 0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.FIU_SET_RR = (uint16_t)((0.5 * (double) + rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro + 15.0) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.FIU_SET_RR > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.FIU_SET_RR = 305U; + } else if (rtDW.FIU_SET_RR < 155) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.FIU_SET_RR = 155U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of Outputs for SubSystem: '/Subsystem3' */ + + /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_FOOT_RL = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem30' */ + + /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_MODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem31' */ + + /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_FACE_RR = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem33' */ + + /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_FOOT_RR = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem34' */ + + /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_BLOWERS_RL = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem35' */ + + /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_BLOWERS_RR = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem36' */ + + /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_AUTOMODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem37' */ + + /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.FIU_AUTOMODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; + } + + /* End of DataStoreRead: '/Data Store Read2' */ + /* End of Outputs for SubSystem: '/Subsystem38' */ + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * 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' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' */ rtDW.CCU_STAT1_MODEL.CCU_ModeFL_Stat = (uint8_t)(rtDW.FIU_MODE_FL > 1); rtDW.CCU_STAT1_MODEL.CCU_ModeFR_Stat = (uint8_t)(rtDW.FIU_MODE_FR > 1); @@ -8721,26 +9814,26 @@ void HVAC_model_step(void) <= 1); rtDW.CCU_STAT1_MODEL.CCU_Recirculation_Stat = rtDW.FIU_RECIRC; - /* Switch: '/Switch4' incorporates: - * DataStoreRead: '/Data Store Read11' + /* Switch: '/Switch4' incorporates: + * DataStoreRead: '/Data Store Read11' */ if (rtDW.FIU_BLOWERS_FL > 7) { - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/manual1' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/manual1' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedFL_Stat = 0U; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedFL_Stat = rtDW.FIU_BLOWERS_FL; } - /* End of Switch: '/Switch4' */ + /* End of Switch: '/Switch4' */ - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read13' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read13' */ if (rtDW.FIU_SET_FL > 310) { rtb_out_b = 310U; @@ -8750,37 +9843,37 @@ void HVAC_model_step(void) rtb_out_b = rtDW.FIU_SET_FL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.CCU_STAT1_MODEL.CCU_TargetTempFL_Stat_ro = (uint8_t)((0.10000038146972656 * (double)rtb_out_b - 15.5) * 2.0); - /* Switch: '/Switch5' incorporates: - * DataStoreRead: '/Data Store Read12' + /* Switch: '/Switch5' incorporates: + * DataStoreRead: '/Data Store Read12' */ if (rtDW.FIU_BLOWERS_FR > 7) { - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/manual1' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/manual1' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedFR_Stat = 0U; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedFR_Stat = rtDW.FIU_BLOWERS_FR; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read14' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read14' */ if (rtDW.FIU_SET_FR > 310) { rtb_out_b = 310U; @@ -8790,37 +9883,37 @@ void HVAC_model_step(void) rtb_out_b = rtDW.FIU_SET_FR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.CCU_STAT1_MODEL.CCU_TargetTempFR_Stat_ro = (uint8_t)((0.10000038146972656 * (double)rtb_out_b - 15.5) * 2.0); - /* Switch: '/Switch6' incorporates: - * DataStoreRead: '/Data Store Read26' + /* Switch: '/Switch6' incorporates: + * DataStoreRead: '/Data Store Read26' */ if (rtDW.FIU_BLOWERS_RL > 7) { - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/manual1' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/manual1' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedRL_Stat = 0U; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedRL_Stat = rtDW.FIU_BLOWERS_RL; } - /* End of Switch: '/Switch6' */ + /* End of Switch: '/Switch6' */ - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read15' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read15' */ if (rtDW.FIU_SET_RR > 310) { rtb_out_b = 310U; @@ -8830,37 +9923,37 @@ void HVAC_model_step(void) rtb_out_b = rtDW.FIU_SET_RR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.CCU_STAT1_MODEL.CCU_TargetTempRR_Stat_ro = (uint8_t)((0.10000038146972656 * (double)rtb_out_b - 15.5) * 2.0); - /* Switch: '/Switch7' incorporates: - * DataStoreRead: '/Data Store Read25' + /* Switch: '/Switch7' incorporates: + * DataStoreRead: '/Data Store Read25' */ if (rtDW.FIU_BLOWERS_RR > 7) { - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/manual1' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/manual1' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedRR_Stat = 0U; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_STAT1_MODEL.CCU_BlowerSpeedRR_Stat = rtDW.FIU_BLOWERS_RR; } - /* End of Switch: '/Switch7' */ + /* End of Switch: '/Switch7' */ - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read16' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' */ if (rtDW.FIU_SET_RL > 310) { rtb_out_b = 310U; @@ -8870,97 +9963,97 @@ void HVAC_model_step(void) rtb_out_b = rtDW.FIU_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_out_b - 15.5) * 2.0); - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Product: '/Divide' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Product: '/Divide' */ - AMB = rtDW.MaxPositionCh0_private[i]; - if (AMB != 0) { - rtb_Divide1 = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double) - AMB * 100.0; + rtb_Saturation_n = rtDW.MaxPositionCh0_private[i]; + if (rtb_Saturation_n != 0) { + rtb_rate = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double) + rtb_Saturation_n * 100.0; } else { - rtb_Divide1 = 0.0; + rtb_rate = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - if (rtb_Divide1 > 100.0) { - rtb_DataTypeConversion_hl[i] = 100U; - } else if (rtb_Divide1 < 0.0) { - rtb_DataTypeConversion_hl[i] = 0U; + if (rtb_rate > 100.0) { + rtb_DataTypeConversion_bh[i] = 100U; + } else if (rtb_rate < 0.0) { + rtb_DataTypeConversion_bh[i] = 0U; } else { - rtb_DataTypeConversion_hl[i] = (uint8_t)rtb_Divide1; + rtb_DataTypeConversion_bh[i] = (uint8_t)rtb_rate; } - /* 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_hx = rtDW.stepSig_private; + rtb_Switch_nyq = rtDW.stepSig_private; } else { - rtb_Switch_hx = 1; + rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_Switch_hx) { + /* 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_l = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -8969,55 +10062,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_l = rtb_Switch_hx; + 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_l = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -9026,55 +10119,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_l = rtb_Switch_hx; + 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_l = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -9083,79 +10176,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_l = rtb_Switch_hx; + 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_l = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -9164,91 +10257,91 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_l = rtb_Switch_hx; + 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_a0[i] = + rtb_LogicalOperator3_i5[i] = ((Actuator_Ch0_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch0_Status_Model.in_CPOS_ALL[i] == 0) || (rtDW.ErrorCalibration_private[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_a0[i + rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_i5[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_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_l = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -9257,54 +10350,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_l = rtb_Switch_hx; + 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_l = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -9313,77 +10406,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_l = rtb_Switch_hx; + 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_l = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -9392,91 +10485,91 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_l = rtb_Switch_hx; + 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_a0[i] = + rtb_LogicalOperator3_i5[i] = ((Actuator_Ch0_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch0_Status_Model.in_CPOS_ALL[i] == 6000) || (rtDW.ErrorCalibration_private[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_a0[i + rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_i5[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_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_l = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -9485,74 +10578,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_l = rtb_Switch_hx; + 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_ja[i] = (double)rtDW.MaxPositionCh0_private[i] / (double) + 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_Divide1 = rtb_Divide1_ja[i]; + /* RelationalOperator: '/Compare' */ + rtb_rate = 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_Divide1 >= 0.9) && (rtb_Divide1 <= 1.1)); - rtb_LogicalOperator3_a0[i] = rtb_LogicalOperator1; + rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 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) { @@ -9565,92 +10658,92 @@ void HVAC_model_step(void) /* : fprintf('[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh0_private[i], - rtb_Divide1_ja[i], (int16_t)!rtb_LogicalOperator3_a0[i]); + rtb_Divide1_a4[i], (int16_t)!rtb_LogicalOperator3_i5[i]); fflush(stdout); } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && - rtb_LogicalOperator3_a0[i + 1]); + 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_h1 = 4; + rtB.Merge_a = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_h1 = 1; + 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_a0[i] = (rtb_Divide1_ja[i] > 1.5); + rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || - rtb_LogicalOperator3_a0[i + 1]); + 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_a0[i]; + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; rtDW.COM_private[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtDW.ErrorActuator[i] = (uint8_t)(rtb_LogicalOperator1 || (rtDW.ErrorActuator[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtDW.LOGGER_LIN >= 0.0) { /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_a0[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 1] Failure with actuator #%d\n', int16(i)); */ printf("[LIN 1] Failure with actuator #%d\n", (int16_t)(i + 1)); fflush(stdout); @@ -9658,35 +10751,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[i]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private[i] = (uint8_t)((!rtb_LogicalOperator1) && (rtDW.ErrorCalibration_private[i] != 0)); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[i + 54] = rtb_LogicalOperator1; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -9701,16 +10794,16 @@ void HVAC_model_step(void) /* : fprintf('[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh0_private[i], - rtb_Divide1_ja[i], (int16_t)rtDW.ErrorCalibration_private[i]); + rtb_Divide1_a4[i], (int16_t)rtDW.ErrorCalibration_private[i]); fflush(stdout); } } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtb_LogicalOperator1 = (rtDW.ErrorCalibration_private[0] != 0); for (i = 0; i < 8; i++) { @@ -9718,55 +10811,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_h1 = 2; + rtB.Merge_a = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h1 = 4; + 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_Divide1 = rtb_Divide1_ja[i]; + /* RelationalOperator: '/Compare' */ + rtb_rate = 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_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && + rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 1.03)) && (rtDW.ErrorCalibration_private[i] != 0)); - rtb_LogicalOperator3_a0[i] = rtb_LogicalOperator1; + rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private[i] = rtb_LogicalOperator1; } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -9777,214 +10870,215 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 9; i++) { /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_a0[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh0_private[i], - rtb_Divide1_ja[i], 1); + rtb_Divide1_a4[i], 1); fflush(stdout); } } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator2' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || - rtb_LogicalOperator3_a0[i + 1]); + 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_h1 = 3; + rtB.Merge_a = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_h1 = 4; + 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_Divide1 = rt_roundd(rtDW.ErrorHomming_private); - if (rtb_Divide1 < 32768.0) { - if (rtb_Divide1 >= -32768.0) { - AMB = (int16_t)rtb_Divide1; + rtb_rate = rt_roundd(rtDW.ErrorHomming_private); + if (rtb_rate < 32768.0) { + if (rtb_rate >= -32768.0) { + rtb_Saturation_n = (int16_t)rtb_rate; } else { - AMB = INT16_MIN; + rtb_Saturation_n = INT16_MIN; } } else { - AMB = INT16_MAX; + rtb_Saturation_n = INT16_MAX; } - printf("[LIN 1] Homing 3. Start Time on step %d\n", AMB); + printf("[LIN 1] Homing 3. Start Time on step %d\n", rtb_Saturation_n); 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_i, rtDW.t_now, &rtb_dt_f1, + 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) { /* : fprintf("[LIN 1] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_dt_lu = rtb_dt_f1; - if (rtb_dt_f1 > 2147483647U) { - rtb_dt_lu = 2147483647U; + rtb_Subtract = rtb_dt_an; + if (rtb_dt_an > 2147483647U) { + rtb_Subtract = 2147483647U; } - printf("[LIN 1] Homing 3. Start TIme dt = %d \n", (int32_t)rtb_dt_lu); + printf("[LIN 1] Homing 3. Start TIme dt = %d \n", (int32_t) + rtb_Subtract); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ - if (rtb_dt_f1 > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* If: '/If' */ + if (rtb_dt_an > 30000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ - IfActionSubsystem(&rtB.Merge_h1, &rtDW.ErrorHomming_private, - &rtDW.Start_timer_i, &rtDW.stepSig_private); + /* 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_i = 1.0; + 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_c1[i] = (uint8_t) + 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_c1[8]; + 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_hl[1]; + 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_hl[2]; + 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_hl[3]; + 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_c1[1]; + 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_c1[0]; + 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_hl[6]; + 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_c1[6]; + rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_bq[6]; - /* 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_c1[7]; + rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_bq[7]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - rtb_Gain_l = rtDW.BUS_ADR_private[i]; + /* 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_Gain_l * + 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_a0[i] = (rtb_DataTypeConversion_hl[i] == - rtb_Gain_l); + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bh[i] == + rtb_Merge_j); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && - rtb_LogicalOperator3_a0[i + 1]); + rtb_LogicalOperator3_i5[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_LogicalOperator1) { rtDW.COM_private[i] = 0U; @@ -9992,169 +11086,170 @@ 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_hl[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled75[i]); + (rtb_DataTypeConversion_bh[i] != rtDW.BUS_ADR_private[i]) * + rtConstP.pooled79[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_h1 = 3; + 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_h1, &rtDW.CCU_ActuatorErrF_Stat_private, + 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_c1[i] = (uint8_t) + 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_c1[8]; + 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_hl[1]; + 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_hl[2]; + 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_hl[3]; + 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_c1[1]; + 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_c1[0]; + 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_hl[6]; + 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_c1[6]; + rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_bq[6]; - /* 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_c1[7]; + rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_bq[7]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - rtb_Gain_l = rtDW.BUS_ADR_private[i]; + /* 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_Gain_l * + 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_a0[i] = (rtb_DataTypeConversion_hl[i] == rtb_Gain_l); + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bh[i] == + rtb_Merge_j); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && - rtb_LogicalOperator3_a0[i + 1]); + rtb_LogicalOperator3_i5[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_LogicalOperator1) { rtDW.COM_private[i] = 0U; @@ -10162,86 +11257,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_hl[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled75[i]); + (rtb_DataTypeConversion_bh[i] != rtDW.BUS_ADR_private[i]) * + rtConstP.pooled79[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_h1 = 4; + 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' */ - rtDW.stepHoming_private = rtB.Merge_h1; + /* 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_l = rtDW.stepSig_private; + 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' */ - rtDW.stepSig_private = rtB.Merge_l; + /* 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]; @@ -10253,135 +11348,133 @@ 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_a0[i] = (rtDW.ErrorCalibration_private[i] == 0); + rtb_LogicalOperator3_i5[i] = (rtDW.ErrorCalibration_private[i] == 0); } - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_a0[i + + rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write7' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + * Logic: '/Logical Operator' + * Product: '/Product' */ if (rtb_LogicalOperator1) { rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private[i] * rtConstP.pooled75[i]); + rtDW.ErrorCalibration_private[i] * rtConstP.pooled79[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' */ - AMB = rtDW.MaxPositionCh1_private[i]; - if (AMB != 0) { - rtb_Divide1 = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double) - AMB * 100.0; + rtb_Saturation_n = rtDW.MaxPositionCh1_private[i]; + if (rtb_Saturation_n != 0) { + rtb_rate = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double) + rtb_Saturation_n * 100.0; } else { - rtb_Divide1 = 0.0; + rtb_rate = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_Divide1 > 100.0) { - rtb_DataTypeConversion_c1[i] = 100U; - } else if (rtb_Divide1 < 0.0) { - rtb_DataTypeConversion_c1[i] = 0U; + /* Saturate: '/Saturation' */ + if (rtb_rate > 100.0) { + rtb_DataTypeConversion_bq[i] = 100U; + } else if (rtb_rate < 0.0) { + rtb_DataTypeConversion_bq[i] = 0U; } else { - rtb_DataTypeConversion_c1[i] = (uint8_t)rtb_Divide1; + rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_rate; } - /* 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_c1[6] = 0U; - rtb_DataTypeConversion_c1[7] = 0U; - rtb_DataTypeConversion_c1[8] = 0U; + 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_c1[i]; + Actuator_pos_percent_Ch1[i] = rtb_DataTypeConversion_bq[i]; } - /* End of DataStoreWrite: '/Data Store Write2' */ - - /* 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_j > 0) { - rtb_Switch_hx = rtDW.stepSig_private_j; + if (rtDW.stepSig_private_h > 0) { + rtb_Switch_nyq = rtDW.stepSig_private_h; } else { - rtb_Switch_hx = 1; + rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_Switch_hx) { + /* 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' */ - rtDW.COM_private_n[i] = 1U; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_a[i] = 2U; + /* 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_h = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -10390,55 +11483,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_h = rtb_Switch_hx; + 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' */ - rtDW.POS_private_o[i] = 6000U; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_m[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_n[i] = 2U; + /* 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_h = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -10447,55 +11540,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_h = rtb_Switch_hx; + 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' */ - rtDW.MODE_private_a[i] = 0U; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_b[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_n[i] = 1U; + /* 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_h = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -10504,79 +11597,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_h = rtb_Switch_hx; + 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_a[i] = 1U; + rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ - rtDW.Stall_private_h[i] = 1U; + rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_p[i] = 0U; + /* 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_e[i] = 3U; + rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ - rtDW.Coils_private_e[i] = 3U; + rtDW.Coils_private_c[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_o[i] = 0U; + /* 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_n[i] = 3U; + rtDW.COM_private_g[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_h = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -10585,91 +11678,91 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_h = rtb_Switch_hx; + 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_ev[i] = + rtb_LogicalOperator3_n1[i] = ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 0) || - (rtDW.ErrorCalibration_private_b[i] == 0)); + (rtDW.ErrorCalibration_private_p[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_ev[0]; + rtb_LogicalOperator1 = rtb_LogicalOperator3_n1[0]; for (i = 0; i < 5; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_ev[i + rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_n1[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_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) { + 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_h = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -10689,54 +11782,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_h = rtb_Switch_hx; + 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' */ - rtDW.COM_private_n[i] = 2U; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_g[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_o[i] = 0U; + /* 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_h = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -10745,79 +11838,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_h = rtb_Switch_hx; + 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_a[i] = 1U; + rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ - rtDW.Stall_private_h[i] = 1U; + rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_p[i] = 0U; + /* 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_e[i] = 3U; + rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ - rtDW.Coils_private_e[i] = 3U; + rtDW.Coils_private_c[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_o[i] = 6000U; + /* 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_n[i] = 3U; + rtDW.COM_private_g[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_h = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -10826,93 +11919,93 @@ 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_h = rtb_Switch_hx; + 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_ev[i] = + rtb_LogicalOperator3_n1[i] = ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 6000) || - (rtDW.ErrorCalibration_private_b[i] == 0)); + (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_ev[0]; + rtb_LogicalOperator1 = rtb_LogicalOperator3_n1[0]; for (i = 0; i < 5; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_ev[i + rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_n1[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_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) { + if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MaxPositionCh1_private[i] = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; } else { 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_h = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -10932,81 +12025,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_h = rtb_Switch_hx; + 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_ja[i] = (double)rtDW.MaxPositionCh1_private[i] / (double) - rtConstP.ACT1_Value_d[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_ja[6] = 1.0; - rtb_Divide1_ja[7] = 1.0; - rtb_Divide1_ja[8] = 1.0; + 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_p) { + 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_Divide1 = rtb_Divide1_ja[i]; + /* RelationalOperator: '/Compare' */ + rtb_rate = 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_Divide1 >= 0.9) && (rtb_Divide1 <= 1.1)); - rtb_LogicalOperator3_a0[i] = rtb_LogicalOperator1; + rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 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)); + 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) { @@ -11019,92 +12112,92 @@ void HVAC_model_step(void) /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh1_private[i], - rtb_Divide1_ja[i], (int16_t)!rtb_LogicalOperator3_a0[i]); + rtb_Divide1_a4[i], (int16_t)!rtb_LogicalOperator3_i5[i]); fflush(stdout); } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && - rtb_LogicalOperator3_a0[i + 1]); + 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_hu = 4; + rtB.Merge_p = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_hu = 1; + 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_a0[i] = (rtb_Divide1_ja[i] > 1.5); + rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || - rtb_LogicalOperator3_a0[i + 1]); + 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_a0[i]; - rtDW.COM_private_n[i] = rtb_LogicalOperator1; + 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_c[i] = (uint8_t)(rtb_LogicalOperator1 || - (rtDW.ErrorActuator_c[i] != 0)); + rtDW.ErrorActuator_o[i] = (uint8_t)(rtb_LogicalOperator1 || + (rtDW.ErrorActuator_o[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_a[i] = 2U; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_b[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtDW.LOGGER_LIN >= 0.0) { /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_a0[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 2] Failure with actuator #%d\n', int16(i)); */ printf("[LIN 2] Failure with actuator #%d\n", (int16_t)(i + 1)); fflush(stdout); @@ -11112,35 +12205,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[i]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ - rtDW.ErrorCalibration_private_b[i] = (uint8_t)((!rtb_LogicalOperator1) && - (rtDW.ErrorCalibration_private_b[i] != 0)); + 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_j = 1; + 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) { @@ -11151,76 +12244,76 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : if(ERRORS(i)==1) */ - if (rtDW.ErrorCalibration_private_b[i] == 1) { + if (rtDW.ErrorCalibration_private_p[i] == 1) { /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh1_private[i], - rtb_Divide1_ja[i], (int16_t)rtDW.ErrorCalibration_private_b[i]); + rtb_Divide1_a4[i], (int16_t)rtDW.ErrorCalibration_private_p[i]); fflush(stdout); } } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtb_LogicalOperator1 = (rtDW.ErrorCalibration_private_b[0] != 0); + rtb_LogicalOperator1 = (rtDW.ErrorCalibration_private_p[0] != 0); for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || - (rtDW.ErrorCalibration_private_b[i + 1] != 0)); + (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_hu = 2; + rtB.Merge_p = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_hu = 4; + 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_Divide1 = rtb_Divide1_ja[i]; + /* RelationalOperator: '/Compare' */ + rtb_rate = 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_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && - (rtDW.ErrorCalibration_private_b[i] != 0)); - rtb_LogicalOperator3_a0[i] = rtb_LogicalOperator1; + rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 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_b[i] = rtb_LogicalOperator1; + 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) { @@ -11231,158 +12324,443 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_a0[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh1_private[i], - rtb_Divide1_ja[i], 1); + rtb_Divide1_a4[i], 1); fflush(stdout); } } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator2' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || - rtb_LogicalOperator3_a0[i + 1]); + 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_hu = 3; + rtB.Merge_p = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_hu = 4; + 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_Divide1 = rt_roundd(rtDW.ErrorHomming_private_j); - if (rtb_Divide1 < 32768.0) { - if (rtb_Divide1 >= -32768.0) { - AMB = (int16_t)rtb_Divide1; + rtb_rate = rt_roundd(rtDW.ErrorHomming_private_h); + if (rtb_rate < 32768.0) { + if (rtb_rate >= -32768.0) { + rtb_Saturation_n = (int16_t)rtb_rate; } else { - AMB = INT16_MIN; + rtb_Saturation_n = INT16_MIN; } } else { - AMB = INT16_MAX; + rtb_Saturation_n = INT16_MAX; } - printf("[LIN 2] Homing 3. Start Time on step %d\n", AMB); + printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_Saturation_n); 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_j < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + if (rtDW.ErrorHomming_private_h < 10.0) { + /* 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_l, rtDW.t_now, &rtb_dt_f1, - &rtDW.sf_MATLABFunction_i); + 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) { /* : fprintf("[LIN 2] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_dt_lu = rtb_dt_f1; - if (rtb_dt_f1 > 2147483647U) { - rtb_dt_lu = 2147483647U; + rtb_Subtract = rtb_dt_an; + if (rtb_dt_an > 2147483647U) { + rtb_Subtract = 2147483647U; } - printf("[LIN 2] Homing 3. Start TIme dt = %d \n", (int32_t)rtb_dt_lu); + printf("[LIN 2] Homing 3. Start TIme dt = %d \n", (int32_t) + rtb_Subtract); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ - if (rtb_dt_f1 > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* If: '/If' */ + if (rtb_dt_an > 30000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ - IfActionSubsystem(&rtB.Merge_hu, &rtDW.ErrorHomming_private_j, - &rtDW.Start_timer_l, &rtDW.stepSig_private_j); + /* 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' */ - /* Merge: '/Merge' */ - IfActionSubsystem1_l(&rtB.Merge_hu, &rtDW.Start_timer_l); + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' + */ + rtDW.Start_timer_j = 1.0; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* 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' + */ + for (i = 0; i < 9; i++) { + rtb_DataTypeConversion_fb[i] = (uint8_t) + rtDW.valves_front_manual_target[i]; + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_fb[2]; + + /* 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' + */ + rtDW.BUS_ADR_private_j[3] = rtb_DataTypeConversion_bq[3]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_fb[4]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_fb[5]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant' + */ + rtDW.BUS_ADR_private_j[6] = 0U; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant' + */ + rtDW.BUS_ADR_private_j[7] = 0U; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant' + */ + rtDW.BUS_ADR_private_j[8] = 0U; + for (i = 0; i < 9; i++) { + /* 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' + */ + 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' + */ + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == + rtb_Merge_j); + } + + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; + for (i = 0; i < 8; i++) { + rtb_LogicalOperator1 = (rtb_LogicalOperator1 && + rtb_LogicalOperator3_i5[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_LogicalOperator1) { + rtDW.COM_private_g[i] = 0U; + } else { + rtDW.COM_private_g[i] = 3U; + } + + /* 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' + */ + rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_j[i]) * + rtConstP.pooled79[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_n[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_l[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private_n[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_j[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_c[i] = 3U; + } + + /* 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 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_hu, &rtDW.CCU_ActuatorErrF_Stat_private, - rtDW.COM_private_n, rtDW.ErrorActuator_c, - rtDW.ErrorCalibration_private_b, &rtDW.LOGGER_LIN, - rtDW.MODE_private_a, rtDW.dtc_state_error_model); + 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' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ - rtDW.stepSig_private_j = 10; + rtDW.BUS_ADR_private_j[0] = rtb_DataTypeConversion_bq[0]; - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ - rtB.Merge_hu = 5; + for (i = 0; i < 9; i++) { + rtb_DataTypeConversion_fb[i] = (uint8_t) + rtDW.valves_front_manual_target[i]; + } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_fb[2]; + + /* 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' + */ + rtDW.BUS_ADR_private_j[3] = rtb_DataTypeConversion_bq[3]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_fb[4]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_fb[5]; + + /* 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' + */ + rtDW.BUS_ADR_private_j[7] = 0U; + + /* 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' */ + 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' + */ + 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' + */ + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == + rtb_Merge_j); + } + + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; + for (i = 0; i < 8; i++) { + rtb_LogicalOperator1 = (rtb_LogicalOperator1 && + rtb_LogicalOperator3_i5[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_LogicalOperator1) { + rtDW.COM_private_g[i] = 0U; + } else { + rtDW.COM_private_g[i] = 3U; + } + + /* 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' + */ + rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_j[i]) * + rtConstP.pooled79[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_n[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_l[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private_n[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_j[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_c[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' + */ + rtB.Merge_p = 4; + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -11391,194 +12769,194 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.stepHoming_private_p = rtB.Merge_hu; + /* 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_h = rtDW.stepSig_private_j; + 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' */ - rtDW.stepSig_private_j = rtB.Merge_h; + /* 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_o[i]; - Actuator_Ch1_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private_m[i]; - Actuator_Ch1_Command_Model.MODE[i] = rtDW.MODE_private_a[i]; - Actuator_Ch1_Command_Model.COM[i] = rtDW.COM_private_n[i]; - Actuator_Ch1_Command_Model.Stall_SET[i] = rtDW.Stall_private_h[i]; - Actuator_Ch1_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private_p[i]; - Actuator_Ch1_Command_Model.Autos_SET[i] = rtDW.Autos_private_a[i]; - Actuator_Ch1_Command_Model.Speed_SET[i] = rtDW.Speed_private_e[i]; - Actuator_Ch1_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_e[i]; + Actuator_Ch1_Command_Model.POS[i] = rtDW.POS_private_m[i]; + Actuator_Ch1_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private_j[i]; + Actuator_Ch1_Command_Model.MODE[i] = rtDW.MODE_private_b[i]; + Actuator_Ch1_Command_Model.COM[i] = rtDW.COM_private_g[i]; + Actuator_Ch1_Command_Model.Stall_SET[i] = rtDW.Stall_private_l[i]; + Actuator_Ch1_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private_n[i]; + Actuator_Ch1_Command_Model.Autos_SET[i] = rtDW.Autos_private_n[i]; + Actuator_Ch1_Command_Model.Speed_SET[i] = rtDW.Speed_private_j[i]; + 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_pav[i] = (rtDW.ErrorCalibration_private_b[i] == 0); + rtb_Compare_n[i] = (rtDW.ErrorCalibration_private_p[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = rtb_Compare_pav[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 5; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_Compare_pav[i + 1]); + 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) { - rtb_DataTypeConversion_c1[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private_b[i] * rtConstP.Constant3_Value[i]); + rtb_DataTypeConversion_bq[i] = (uint8_t)((uint32_t) + rtDW.ErrorCalibration_private_p[i] * rtConstP.Constant3_Value[i]); } else { - rtb_DataTypeConversion_c1[i] = 0U; + rtb_DataTypeConversion_bq[i] = 0U; } } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ - rtb_DataTypeConversion_c1[6] = 0U; - rtb_DataTypeConversion_c1[7] = 0U; - rtb_DataTypeConversion_c1[8] = 0U; + 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' */ - rtDW.BUS_ADR_private_m[i] = rtb_DataTypeConversion_c1[i]; + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[i] = rtb_DataTypeConversion_bq[i]; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.COM_private_n[i] = 0U; + /* 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' */ - AMB = rtDW.MaxPositionCh2_private[i]; - if (AMB != 0) { - rtb_Divide1 = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double) - AMB * 100.0; + rtb_Saturation_n = rtDW.MaxPositionCh2_private[i]; + if (rtb_Saturation_n != 0) { + rtb_rate = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double) + rtb_Saturation_n * 100.0; } else { - rtb_Divide1 = 0.0; + rtb_rate = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_Divide1 > 100.0) { - rtb_DataTypeConversion_c1[i] = 100U; - } else if (rtb_Divide1 < 0.0) { - rtb_DataTypeConversion_c1[i] = 0U; + /* Saturate: '/Saturation' */ + if (rtb_rate > 100.0) { + rtb_DataTypeConversion_bq[i] = 100U; + } else if (rtb_rate < 0.0) { + rtb_DataTypeConversion_bq[i] = 0U; } else { - rtb_DataTypeConversion_c1[i] = (uint8_t)rtb_Divide1; + rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_rate; } - /* 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_c1[8] = 0U; + rtb_DataTypeConversion_bq[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_np[i] = rtb_DataTypeConversion_c1[i]; + rtb_DataTypeConversion_fb[i] = rtb_DataTypeConversion_bq[i]; } - /* End of DataStoreWrite: '/Data Store Write2' */ - - /* 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_o > 0) { - rtb_Switch_hx = rtDW.stepSig_private_o; + if (rtDW.stepSig_private_g > 0) { + rtb_Switch_nyq = rtDW.stepSig_private_g; } else { - rtb_Switch_hx = 1; + rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_Switch_hx) { + /* 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' */ - rtDW.COM_private_b[i] = 1U; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_k[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_p[i] = 2U; + /* 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_bj = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -11587,55 +12965,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_bj = rtb_Switch_hx; + 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' */ - rtDW.POS_private_g[i] = 6000U; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_h[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_b[i] = 2U; + /* 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_bj = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -11644,55 +13022,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_bj = rtb_Switch_hx; + 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' */ - rtDW.MODE_private_p[i] = 0U; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_c[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_b[i] = 1U; + /* 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_bj = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -11701,79 +13079,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_bj = rtb_Switch_hx; + 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_k[i] = 1U; + rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ - rtDW.Stall_private_h3[i] = 1U; + rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_k[i] = 0U; + /* 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_o[i] = 3U; + rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ - rtDW.Coils_private_m[i] = 3U; + rtDW.Coils_private_l[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_g[i] = 0U; + /* 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_b[i] = 3U; + rtDW.COM_private_k[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_bj = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -11782,89 +13160,89 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_bj = rtb_Switch_hx; + 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_pav[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == - 1) || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 0) || - (rtDW.ErrorCalibration_private_h[i] == 0)); + rtb_Compare_n[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) + || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 0) || + (rtDW.ErrorCalibration_private_b[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ - rtb_LogicalOperator1 = rtb_Compare_pav[0]; + rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_Compare_pav[i + 1]); + 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_h[i] != 0) { + 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_bj = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -11884,54 +13262,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_bj = rtb_Switch_hx; + 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' */ - rtDW.COM_private_b[i] = 2U; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_k[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_g[i] = 0U; + /* 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_bj = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -11940,79 +13318,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_bj = rtb_Switch_hx; + 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_k[i] = 1U; + rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ - rtDW.Stall_private_h3[i] = 1U; + rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_k[i] = 0U; + /* 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_o[i] = 3U; + rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ - rtDW.Coils_private_m[i] = 3U; + rtDW.Coils_private_l[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_g[i] = 6000U; + /* 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_b[i] = 3U; + rtDW.COM_private_k[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_bj = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -12021,91 +13399,91 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_bj = rtb_Switch_hx; + 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_pav[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == - 1) || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 6000) || - (rtDW.ErrorCalibration_private_h[i] == 0)); + rtb_Compare_n[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) + || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 6000) || + (rtDW.ErrorCalibration_private_b[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ - rtb_LogicalOperator1 = rtb_Compare_pav[0]; + rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_Compare_pav[i + 1]); + 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_h[i] != 0) { + if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MaxPositionCh2_private[i] = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; } else { 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_bj = (int8_t)(rtb_Switch_hx + 1); + 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) { @@ -12125,79 +13503,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_bj = rtb_Switch_hx; + 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_ja[i] = (double)rtDW.MaxPositionCh2_private[i] / (double) - rtConstP.ACT1_Value_o[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_ja[8] = 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) { + 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_Divide1 = rtb_Divide1_ja[i]; + /* RelationalOperator: '/Compare' */ + rtb_rate = 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_Divide1 >= 0.9) && (rtb_Divide1 <= 1.1)); - rtb_LogicalOperator3_a0[i] = rtb_LogicalOperator1; + rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 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_h[i] = (uint8_t)((!rtb_LogicalOperator1) && - (rtDW.ErrorCalibration_private_h[i] != 0)); + 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) { @@ -12210,92 +13588,92 @@ void HVAC_model_step(void) /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh2_private[i], - rtb_Divide1_ja[i], (int16_t)!rtb_LogicalOperator3_a0[i]); + rtb_Divide1_a4[i], (int16_t)!rtb_LogicalOperator3_i5[i]); fflush(stdout); } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && - rtb_LogicalOperator3_a0[i + 1]); + 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_j = 4; + rtB.Merge_h3 = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_j = 1; + 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_a0[i] = (rtb_Divide1_ja[i] > 1.5); + rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || - rtb_LogicalOperator3_a0[i + 1]); + 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_a0[i]; - rtDW.COM_private_b[i] = rtb_LogicalOperator1; + 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_o[i] = (uint8_t)(rtb_LogicalOperator1 || - (rtDW.ErrorActuator_o[i] != 0)); + rtDW.ErrorActuator_a[i] = (uint8_t)(rtb_LogicalOperator1 || + (rtDW.ErrorActuator_a[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_p[i] = 2U; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_c[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtDW.LOGGER_LIN >= 0.0) { /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_a0[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 3] Failure with actuator #%d\n', int16(i)); */ printf("[LIN 3] Failure with actuator #%d\n", (int16_t)(i + 1)); fflush(stdout); @@ -12303,35 +13681,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[i]; + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ - rtDW.ErrorCalibration_private_h[i] = (uint8_t)((!rtb_LogicalOperator1) && - (rtDW.ErrorCalibration_private_h[i] != 0)); + 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_o = 1; + 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) { @@ -12342,76 +13720,76 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : if(ERRORS(i)==1) */ - if (rtDW.ErrorCalibration_private_h[i] == 1) { + if (rtDW.ErrorCalibration_private_b[i] == 1) { /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh2_private[i], - rtb_Divide1_ja[i], (int16_t)rtDW.ErrorCalibration_private_h[i]); + rtb_Divide1_a4[i], (int16_t)rtDW.ErrorCalibration_private_b[i]); fflush(stdout); } } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtb_LogicalOperator1 = (rtDW.ErrorCalibration_private_h[0] != 0); + rtb_LogicalOperator1 = (rtDW.ErrorCalibration_private_b[0] != 0); for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || - (rtDW.ErrorCalibration_private_h[i + 1] != 0)); + (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_j = 2; + rtB.Merge_h3 = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_j = 4; + 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_Divide1 = rtb_Divide1_ja[i]; + /* RelationalOperator: '/Compare' */ + rtb_rate = 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_Divide1 < 0.97) || (rtb_Divide1 > 1.03)) && - (rtDW.ErrorCalibration_private_h[i] != 0)); - rtb_LogicalOperator3_a0[i] = rtb_LogicalOperator1; + rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 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_h[i] = rtb_LogicalOperator1; + 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) { @@ -12422,158 +13800,441 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_a0[i]) { + if (rtb_LogicalOperator3_i5[i]) { /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t)(i + 1), rtDW.MaxPositionCh2_private[i], - rtb_Divide1_ja[i], 1); + rtb_Divide1_a4[i], 1); fflush(stdout); } } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ - rtb_LogicalOperator1 = rtb_LogicalOperator3_a0[0]; + /* Logic: '/Logical Operator2' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || - rtb_LogicalOperator3_a0[i + 1]); + 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_j = 3; + rtB.Merge_h3 = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_j = 4; + 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_Divide1 = rt_roundd(rtDW.ErrorHomming_private_m); - if (rtb_Divide1 < 32768.0) { - if (rtb_Divide1 >= -32768.0) { - AMB = (int16_t)rtb_Divide1; + rtb_rate = rt_roundd(rtDW.ErrorHomming_private_m); + if (rtb_rate < 32768.0) { + if (rtb_rate >= -32768.0) { + rtb_Saturation_n = (int16_t)rtb_rate; } else { - AMB = INT16_MIN; + rtb_Saturation_n = INT16_MIN; } } else { - AMB = INT16_MAX; + rtb_Saturation_n = INT16_MAX; } - printf("[LIN 3] Homing 3. Start Time on step %d\n", AMB); + printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_Saturation_n); 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_f1, - &rtDW.sf_MATLABFunction_c); + 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) { /* : fprintf("[LIN 3] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_dt_lu = rtb_dt_f1; - if (rtb_dt_f1 > 2147483647U) { - rtb_dt_lu = 2147483647U; + rtb_Subtract = rtb_dt_an; + if (rtb_dt_an > 2147483647U) { + rtb_Subtract = 2147483647U; } - printf("[LIN 3] Homing 3. Start TIme dt = %d \n", (int32_t)rtb_dt_lu); + printf("[LIN 3] Homing 3. Start TIme dt = %d \n", (int32_t) + rtb_Subtract); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ - if (rtb_dt_f1 > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* If: '/If' */ + if (rtb_dt_an > 30000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ - IfActionSubsystem(&rtB.Merge_j, &rtDW.ErrorHomming_private_m, - &rtDW.Start_timer, &rtDW.stepSig_private_o); + /* 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' */ - /* Merge: '/Merge' */ - IfActionSubsystem1_l(&rtB.Merge_j, &rtDW.Start_timer); + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' + */ + rtDW.Start_timer = 1.0; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* 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' + */ + rtDW.BUS_ADR_private_a[1] = rtb_DataTypeConversion_bq[1]; + + /* 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' */ + + /* 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' + */ + rtDW.BUS_ADR_private_a[3] = rtb_DataTypeConversion2_l3[4]; + + /* 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' + */ + rtDW.BUS_ADR_private_a[5] = rtb_DataTypeConversion2_l3[2]; + + /* 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' + */ + 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' + */ + rtDW.BUS_ADR_private_a[8] = 0U; + for (i = 0; i < 9; i++) { + /* 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' + */ + 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' + */ + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == + rtb_Merge_j); + } + + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; + for (i = 0; i < 8; i++) { + rtb_LogicalOperator1 = (rtb_LogicalOperator1 && + rtb_LogicalOperator3_i5[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_LogicalOperator1) { + rtDW.COM_private_k[i] = 0U; + } else { + rtDW.COM_private_k[i] = 3U; + } + + /* 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' + */ + rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_a[i]) * + rtConstP.pooled79[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_g[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_f[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private_g[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_b[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_l[i] = 3U; + } + + /* 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 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_j, &rtDW.CCU_ActuatorErrF_Stat_private, - rtDW.COM_private_b, rtDW.ErrorActuator_o, - rtDW.ErrorCalibration_private_h, &rtDW.LOGGER_LIN, - rtDW.MODE_private_p, rtDW.dtc_state_error_model); + 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' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ - rtDW.stepSig_private_o = 10; + rtDW.BUS_ADR_private_a[0] = rtb_DataTypeConversion_bq[0]; - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ - rtB.Merge_j = 5; + rtDW.BUS_ADR_private_a[1] = rtb_DataTypeConversion_bq[1]; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* 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' */ + + /* 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' + */ + rtDW.BUS_ADR_private_a[3] = rtb_DataTypeConversion2_l3[4]; + + /* 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' + */ + rtDW.BUS_ADR_private_a[5] = rtb_DataTypeConversion2_l3[2]; + + /* 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' + */ + 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' + */ + rtDW.BUS_ADR_private_a[8] = 0U; + for (i = 0; i < 9; i++) { + /* 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' + */ + 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' + */ + rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == + rtb_Merge_j); + } + + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; + for (i = 0; i < 8; i++) { + rtb_LogicalOperator1 = (rtb_LogicalOperator1 && + rtb_LogicalOperator3_i5[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_LogicalOperator1) { + rtDW.COM_private_k[i] = 0U; + } else { + rtDW.COM_private_k[i] = 3U; + } + + /* 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' + */ + rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_a[i]) * + rtConstP.pooled79[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_g[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_f[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private_g[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_b[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_l[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' + */ + rtB.Merge_h3 = 4; + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -12582,180 +14243,182 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.stepHoming_private_f = rtB.Merge_j; + /* 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_bj = rtDW.stepSig_private_o; + 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' */ - rtDW.stepSig_private_o = rtB.Merge_bj; + /* 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_g[i]; - Actuator_Ch2_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private_p[i]; - Actuator_Ch2_Command_Model.MODE[i] = rtDW.MODE_private_p[i]; - Actuator_Ch2_Command_Model.COM[i] = rtDW.COM_private_b[i]; - Actuator_Ch2_Command_Model.Stall_SET[i] = rtDW.Stall_private_h3[i]; - Actuator_Ch2_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private_k[i]; - Actuator_Ch2_Command_Model.Autos_SET[i] = rtDW.Autos_private_k[i]; - Actuator_Ch2_Command_Model.Speed_SET[i] = rtDW.Speed_private_o[i]; - Actuator_Ch2_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_m[i]; + Actuator_Ch2_Command_Model.POS[i] = rtDW.POS_private_h[i]; + Actuator_Ch2_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private_a[i]; + Actuator_Ch2_Command_Model.MODE[i] = rtDW.MODE_private_c[i]; + Actuator_Ch2_Command_Model.COM[i] = rtDW.COM_private_k[i]; + Actuator_Ch2_Command_Model.Stall_SET[i] = rtDW.Stall_private_f[i]; + Actuator_Ch2_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private_g[i]; + Actuator_Ch2_Command_Model.Autos_SET[i] = rtDW.Autos_private_g[i]; + Actuator_Ch2_Command_Model.Speed_SET[i] = rtDW.Speed_private_b[i]; + 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_pav[i] = (rtDW.ErrorCalibration_private_h[i] == 0); + rtb_Compare_n[i] = (rtDW.ErrorCalibration_private_b[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = rtb_Compare_pav[0]; + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { - rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_Compare_pav[i + 1]); + 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) { - rtb_DataTypeConversion_c1[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private_h[i] * rtConstP.Constant3_Value_j[i]); + rtb_DataTypeConversion_bq[i] = (uint8_t)((uint32_t) + rtDW.ErrorCalibration_private_b[i] * rtConstP.Constant3_Value_d[i]); } else { - rtb_DataTypeConversion_c1[i] = 0U; + rtb_DataTypeConversion_bq[i] = 0U; } } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ - rtb_DataTypeConversion_c1[8] = 0U; + rtb_DataTypeConversion_bq[8] = 0U; for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write7' */ - rtDW.BUS_ADR_private_p[i] = rtb_DataTypeConversion_c1[i]; + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[i] = rtb_DataTypeConversion_bq[i]; - /* DataStoreWrite: '/Data Store Write' */ - rtDW.COM_private_b[i] = 0U; + /* 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; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.PWM_front <= 100) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ PWM_Get.pwmPercentFront = rtDW.PWM_front; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ PWM_Get.pwmPercentFront = 100U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read4' + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read4' */ if (rtDW.PWM_rear <= 100) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ PWM_Get.pwmPercentRear = rtDW.PWM_rear; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ PWM_Get.pwmPercentRear = 100U; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write' */ PWM_Get.pwmPercentFrontReserved = rtDW.PWM_front; PWM_Get.pwmPercentRearReserved = rtDW.PWM_rear; - /* MATLAB Function: '/Write4' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write4' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ /* : fprintf('GETPWMFront = %u \n',data); */ printf("GETPWMFront = %u \n", rtDW.PWM_front); fflush(stdout); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ /* : fprintf('pwmPercentFront = %u \n',data); */ printf("pwmPercentFront = %u \n", rtDW.PWM_Set_Model.pwmPercentFront); fflush(stdout); - /* MATLAB Function: '/Write1' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write1' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ /* : fprintf('pwmPercentRear = %u \n',data); */ printf("pwmPercentRear = %u \n", rtDW.PWM_Set_Model.pwmPercentRear); fflush(stdout); - /* MATLAB Function: '/Write2' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write2' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ /* : fprintf('pwmPercentFrontReserved = %u \n',data); */ @@ -12763,8 +14426,8 @@ void HVAC_model_step(void) rtDW.PWM_Set_Model.pwmPercentFrontReserved); fflush(stdout); - /* MATLAB Function: '/Write3' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write3' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ /* : fprintf('pwmPercentRearReserved = %u \n',data); */ @@ -12772,29 +14435,29 @@ void HVAC_model_step(void) rtDW.PWM_Set_Model.pwmPercentRearReserved); fflush(stdout); - /* BusCreator: '/Bus Creator1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant10' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * 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' + /* 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 Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_MultMsg_Idx = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Fb_Select = 0U; @@ -12805,72 +14468,81 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = 0; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Tgt_ro = 0; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Tgt_ro = 0; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_ro = Duct1_F; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = Duct2_F; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = Duct3_R; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = Duct4_R; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Side_Fb_ro = Duct5_F; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Side_Fb_ro = Duct6_F; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Side_Fb_ro = Duct1_R; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Side_Fb_ro = Duct2_R; + 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 = Duct2_F; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = Duct1_F; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Side_Fb_ro = Duct6_F; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Side_Fb_ro = Duct5_F; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Side_Fb_ro = Duct3_R; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Side_Fb_ro = Duct4_R; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Tgt_ro = 0; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = 0; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = Duct3_F; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = Duct4_F; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = Duct4_F; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = Duct3_F; - /* BusCreator: '/Bus 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_hl[0]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act01_Vent_SFL = rtb_DataTypeConversion_hl[5]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act02_Vent_CFL = rtb_DataTypeConversion_hl[4]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act03_Foot_1FL = rtb_DataTypeConversion_hl[7]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act04_Foot_2FL = rtb_DataTypeConversion_hl[8]; + 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]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act02_Vent_CFL = rtb_DataTypeConversion_bh[4]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act03_Foot_1FL = rtb_DataTypeConversion_bh[7]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act04_Foot_2FL = rtb_DataTypeConversion_bh[8]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act05_Vent_CFR = Actuator_pos_percent_Ch1[1]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act06_Vent_SFR = Actuator_pos_percent_Ch1[2]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act07_Foot_1FR = Actuator_pos_percent_Ch1[4]; - /* BusCreator: '/Bus Creator3' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write2' */ - rtDW.dbgCAN_dbg_Act2_model.dbg_Act16_TempL_FL = rtb_DataTypeConversion_hl[6]; + 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]; rtDW.dbgCAN_dbg_Act2_model.dbg_Act18_TempL_FR = Actuator_pos_percent_Ch1[3]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act19_Temp_RL = rtb_DataTypeConversion_np[1]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act20_Temp_RR = rtb_DataTypeConversion_np[0]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act21_Rec = rtb_DataTypeConversion_hl[1]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act22_OSA = rtb_DataTypeConversion_hl[2]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_np + rtDW.dbgCAN_dbg_Act2_model.dbg_Act19_Temp_RL = rtb_DataTypeConversion_fb[1]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act20_Temp_RR = rtb_DataTypeConversion_fb[0]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act21_Rec = rtb_DataTypeConversion_bh[1]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act22_OSA = rtb_DataTypeConversion_bh[2]; + 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_np[2]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act10_Vent_CRL = rtb_DataTypeConversion_np[4]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act11_Foot_RL = rtb_DataTypeConversion_np[3]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act12_Vent_CRR = rtb_DataTypeConversion_np[5]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act13_Vent_SRR = rtb_DataTypeConversion_np[7]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_np[6]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_hl[3]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act09_Vent_SRL = rtb_DataTypeConversion_fb[2]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act10_Vent_CRL = rtb_DataTypeConversion_fb[4]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act11_Foot_RL = rtb_DataTypeConversion_fb[3]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act12_Vent_CRR = rtb_DataTypeConversion_fb[5]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act13_Vent_SRR = rtb_DataTypeConversion_fb[7]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_fb[6]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_bh[3]; - /* 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' - * 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' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FL = 0U; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FR = 0U; @@ -12883,15 +14555,15 @@ void HVAC_model_step(void) 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' + * 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 = Eva_F; - rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_Diff_FrontRear = Eva_R; + 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' @@ -12939,381 +14611,75 @@ void HVAC_model_step(void) */ rtY.dbgCAN_dbg_Logic_Blower_model = rtDW.dbgCAN_dbg_Logic_Blower_model; - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' + /* Outport: '/dbgCAN_dbg_Sen_Amb_model' incorporates: + * DataStoreRead: '/Data Store Read29' */ - /* DataStoreRead: '/Data Store Read1' */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write6' */ - rtDW.FIU_MODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem1' */ - - /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write10' */ - rtDW.FIU_MODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem10' */ - - /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write11' */ - rtDW.FIU_DEF_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem11' */ - - /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req > 0) { - /* DataStoreWrite: '/Data Store Write12' */ - rtDW.FIU_FACE_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem12' */ - - /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req > 0) { - /* DataStoreWrite: '/Data Store Write13' */ - rtDW.FIU_FOOT_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem13' */ - - /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: - * EnablePort: '/Enable' - */ - /* SignalConversion generated from: '/Bus Selector' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write14' */ - rtDW.FIU_BLOWERS_FL = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; - } - - /* End of SignalConversion generated from: '/Bus Selector' */ - /* End of Outputs for SubSystem: '/Subsystem14' */ - - /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read1' */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write15' */ - rtDW.FIU_BLOWERS_FR = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem15' */ - - /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write16' */ - rtDW.FIU_AUTOMODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem16' */ - - /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write17' */ - rtDW.FIU_AUTOMODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem17' */ - - /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req > 0) { - /* DataStoreWrite: '/Data Store Write19' */ - rtDW.FIU_RECIRC = rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem18' */ - - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' - */ - /* SignalConversion generated from: '/Bus Selector' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.FIU_SET_FL = (uint16_t)((0.5 * (double) - rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro + 15.0) * 10.0); - } - - /* End of SignalConversion generated from: '/Bus Selector' */ - /* End of Outputs for SubSystem: '/Subsystem5' */ - - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read1' */ - if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.FIU_SET_FR = (uint16_t)((0.5 * (double) - rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro + 15.0) * 10.0); - } - - /* End of Outputs for SubSystem: '/Subsystem6' */ - - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write7' */ - rtDW.FIU_DEF_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem7' */ - - /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req > 0) { - /* DataStoreWrite: '/Data Store Write8' */ - rtDW.FIU_FACE_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem8' */ - - /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req > 0) { - /* DataStoreWrite: '/Data Store Write9' */ - rtDW.FIU_FOOT_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem9' */ - - /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read2' */ - if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.FIU_SET_RL = (uint16_t)((0.5 * (double) - rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro + 15.0) * 10.0); - } - - /* End of Outputs for SubSystem: '/Subsystem2' */ - - /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_MODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem27' */ - - /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_FACE_RL = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem29' */ - - /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.FIU_SET_RR = (uint16_t)((0.5 * (double) - rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro + 15.0) * 10.0); - } - - /* End of Outputs for SubSystem: '/Subsystem3' */ - - /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_FOOT_RL = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem30' */ - - /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_MODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem31' */ - - /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_FACE_RR = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem33' */ - - /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_FOOT_RR = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem34' */ - - /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_BLOWERS_RL = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem35' */ - - /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_BLOWERS_RR = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem36' */ - - /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_AUTOMODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem37' */ - - /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.FIU_AUTOMODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; - } - - /* End of DataStoreRead: '/Data Store Read2' */ - /* End of Outputs for SubSystem: '/Subsystem38' */ + rtY.dbgCAN_dbg_Sen_Amb_model = rtDW.dbgCAN_dbg_Sen_Amb_model; /* Outputs for Atomic SubSystem: '/PWM and valves in manual1' */ - /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem' 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 Read11' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' */ if ((rtDW.FIU_MODE_FL == 1) && (rtDW.FIU_MODE_FR == 1)) { - /* 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_pf); + ValvesforFootDef(rtb_out_ic); - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_dt); + /* 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.FIU_FACE_FL == 1) << 1) + (uint32_t) (rtDW.FIU_DEF_FL == 1)) + (uint32_t)((rtDW.FIU_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]; @@ -13321,15 +14687,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]; @@ -13337,55 +14703,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_pf[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_dt[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_pf); + ValvesforFootDef(rtb_out_ic); - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_dt); + /* 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_mj); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/Присваивание в [6] rear' - * 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.FIU_FACE_FR == 1) << 1) + (uint32_t) (rtDW.FIU_DEF_FR == 1)) + (uint32_t)((rtDW.FIU_FOOT_FR == @@ -13422,134 +14787,223 @@ void HVAC_model_step(void) case 5: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = rtb_out_pf[i]; + rtb_out_mj[i] = rtb_out_ic[i]; } break; case 6: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = rtb_out_dt[i]; + rtb_out_mj[i] = rtb_out_k4[i]; } 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_mj[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_mj[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_mj[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_mj[7]; } - /* End of Logic: '/Logical Operator1' */ - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Logic: '/Logical Operator1' */ + /* End of Outputs for SubSystem: '/Subsystem' */ - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem1' 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 Operator2' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal4' */ if ((rtDW.FIU_MODE_RL == 1) && (rtDW.FIU_MODE_RR == 1)) { - /* MATLAB Function: '/valves for Vent mode' */ - valvesforVentmode(rtb_out_jy); + /* 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_jy); + AFforBiLevel_m(rtDW.valves_rear_manual_target); - /* MATLAB Function: '/valves for Vent mode' */ - valvesforVentmode(rtb_out_jy); + /* 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.FIU_FOOT_RL == 1) << 1) + (uint32_t) + (rtDW.FIU_FACE_RL == 1))) { + case 0: + /* DataStoreWrite: '/Data Store Write1' */ + for (i = 0; i < 6; i++) { + rtDW.valves_rear_manual_target[i] = 0U; + } + break; - /* MATLAB Function: '/AF for Bi Level' */ + case 1: + /* 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' + */ + for (i = 0; i < 6; i++) { + rtDW.valves_rear_manual_target[i] = g_ausFLOW_RE_FO2VALVE[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/valves for Vent mode' */ + valvesforVentmode(rtb_urear); + + /* MATLAB Function: '/AF for Bi Level' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ - AFforBiLevel_m(rtb_out_jy); + AFforBiLevel_m(rtb_out_kw); + + /* 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.FIU_FOOT_RR == 1) << 1) + (uint32_t) + (rtDW.FIU_FACE_RR == 1))) { + case 0: + for (i = 0; i < 6; i++) { + rtb_vals_m[i] = 0U; + } + break; + + case 1: + for (i = 0; i < 6; i++) { + rtb_vals_m[i] = rtb_urear[i]; + } + break; + + case 2: + for (i = 0; i < 6; i++) { + rtb_vals_m[i] = g_ausFLOW_RE_FO2VALVE[i]; + } + break; + + default: + for (i = 0; i < 6; i++) { + rtb_vals_m[i] = rtb_out_kw[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* 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' + */ + rtDW.valves_rear_manual_target[5] = rtb_vals_m[5]; } - /* End of Logic: '/Logical Operator2' */ - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Logic: '/Logical Operator2' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ - /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem' 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 Read11' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' */ if ((rtDW.FIU_MODE_FL == 1) && (rtDW.FIU_MODE_FR == 1)) { - /* MATLAB Function: '/AF for Def' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Def' incorporates: + * DataStoreRead: '/Data Store Read11' */ - AFforDef(rtDW.FIU_BLOWERS_FL, &rtb_out_lw); + AFforDef(rtDW.FIU_BLOWERS_FL, &rtb_out_khw); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforVentmode(rtDW.FIU_BLOWERS_FL, &rtb_out_le); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataStoreRead: '/Data Store Read11' */ - AFforHi_Level(rtDW.FIU_BLOWERS_FL, &rtb_out_j); + AFforHi_Level(rtDW.FIU_BLOWERS_FL, &rtb_out_pf); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataStoreRead: '/Data Store Read11' */ - AFforFoot(rtDW.FIU_BLOWERS_FL, &rtb_out_gz3); + AFforFoot(rtDW.FIU_BLOWERS_FL, &rtb_out_em); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforFoorDef(rtDW.FIU_BLOWERS_FL, &rtb_out_jv); - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforBiLevel(rtDW.FIU_BLOWERS_FL, &rtb_out_m4); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataStoreRead: '/Data Store Read11' */ AFforTriLevel(rtDW.FIU_BLOWERS_FL, &rtb_out_b); - /* 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.FIU_FACE_FL == 1) << 1) + (uint32_t) (rtDW.FIU_DEF_FL == 1)) + (uint32_t)((rtDW.FIU_FOOT_FL == @@ -13559,7 +15013,7 @@ void HVAC_model_step(void) break; case 1: - rtb_out_b = rtb_out_lw; + rtb_out_b = rtb_out_khw; break; case 2: @@ -13567,11 +15021,11 @@ void HVAC_model_step(void) break; case 3: - rtb_out_b = rtb_out_j; + rtb_out_b = rtb_out_pf; break; case 4: - rtb_out_b = rtb_out_gz3; + rtb_out_b = rtb_out_em; break; case 5: @@ -13583,166 +15037,166 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for Def' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Def' incorporates: + * DataStoreRead: '/Data Store Read7' */ AFforDef(rtDW.FIU_BLOWERS_FR, &rtb_out_le); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforVentmode(rtDW.FIU_BLOWERS_FR, &rtb_out_j); + AFforVentmode(rtDW.FIU_BLOWERS_FR, &rtb_out_pf); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforHi_Level(rtDW.FIU_BLOWERS_FR, &rtb_out_gz3); + AFforHi_Level(rtDW.FIU_BLOWERS_FR, &rtb_out_em); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataStoreRead: '/Data Store Read7' */ AFforFoot(rtDW.FIU_BLOWERS_FR, &rtb_out_jv); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataStoreRead: '/Data Store Read7' */ AFforFoorDef(rtDW.FIU_BLOWERS_FR, &rtb_out_m4); - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforBiLevel(rtDW.FIU_BLOWERS_FR, &rtb_out_lef); + AFforBiLevel(rtDW.FIU_BLOWERS_FR, &rtb_out_pb); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataStoreRead: '/Data Store Read7' */ - AFforTriLevel(rtDW.FIU_BLOWERS_FR, &rtb_out_lw); + AFforTriLevel(rtDW.FIU_BLOWERS_FR, &rtb_out_khw); - /* 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' + /* 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.FIU_FACE_FR == 1) << 1) + (uint32_t) (rtDW.FIU_DEF_FR == 1)) + (uint32_t)((rtDW.FIU_FOOT_FR == 1) << 2))) { case 0: - rtb_out_lw = 0U; + rtb_out_khw = 0U; break; case 1: - rtb_out_lw = rtb_out_le; + rtb_out_khw = rtb_out_le; break; case 2: - rtb_out_lw = rtb_out_j; + rtb_out_khw = rtb_out_pf; break; case 3: - rtb_out_lw = rtb_out_gz3; + rtb_out_khw = rtb_out_em; break; case 4: - rtb_out_lw = rtb_out_jv; + rtb_out_khw = rtb_out_jv; break; case 5: - rtb_out_lw = rtb_out_m4; + rtb_out_khw = rtb_out_m4; break; case 6: - rtb_out_lw = rtb_out_lef; + rtb_out_khw = rtb_out_pb; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide' - * Sum: '/Add' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide' + * Sum: '/Add' */ rtDW.PWM_front = (uint8_t)((double)(uint16_t)((uint32_t)rtb_out_b + - rtb_out_lw) / 4.0); + rtb_out_khw) / 4.0); - /* 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_out_b; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' */ - rtDW.Blower_AF_FR = (uint8_t)rtb_out_lw; + rtDW.Blower_AF_FR = (uint8_t)rtb_out_khw; - /* MATLAB Function: '/Write' incorporates: - * DataStoreWrite: '/Data Store Write' + /* 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' + /* MATLAB Function: '/Write2' incorporates: + * DataStoreRead: '/Data Store Read11' */ /* : fprintf('speedL_input = %u \n',data); */ printf("speedL_input = %u \n", rtDW.FIU_BLOWERS_FL); fflush(stdout); } - /* End of Logic: '/Logical Operator1' */ - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Logic: '/Logical Operator1' */ + /* End of Outputs for SubSystem: '/Subsystem' */ - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem1' 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 Operator2' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal4' */ if ((rtDW.FIU_MODE_RL == 1) && (rtDW.FIU_MODE_RR == 1)) { - /* 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.FIU_BLOWERS_RL, &rtb_out_lw); + AFforVentmodeR(rtDW.FIU_BLOWERS_RL, &rtb_out_khw); - /* MATLAB Function: '/AF for Foot R' incorporates: - * DataStoreRead: '/Data Store Read18' + /* MATLAB Function: '/AF for Foot R' incorporates: + * DataStoreRead: '/Data Store Read18' */ AFforFootR(rtDW.FIU_BLOWERS_RL, &rtb_out_le); - /* 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.FIU_BLOWERS_RL, &rtb_out_b); - /* 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.FIU_FOOT_RL == 1) << 1) + (uint32_t) (rtDW.FIU_FACE_RL == 1))) { @@ -13751,7 +15205,7 @@ void HVAC_model_step(void) break; case 1: - rtb_out_b = rtb_out_lw; + rtb_out_b = rtb_out_khw; break; case 2: @@ -13759,164 +15213,164 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for Vent mode R' incorporates: - * DataStoreRead: '/Data Store Read15' + /* MATLAB Function: '/AF for Vent mode R' incorporates: + * DataStoreRead: '/Data Store Read15' */ AFforVentmodeR(rtDW.FIU_BLOWERS_RR, &rtb_out_le); - /* MATLAB Function: '/AF for Foot R' incorporates: - * DataStoreRead: '/Data Store Read15' + /* MATLAB Function: '/AF for Foot R' incorporates: + * DataStoreRead: '/Data Store Read15' */ - AFforFootR(rtDW.FIU_BLOWERS_RR, &rtb_out_j); + AFforFootR(rtDW.FIU_BLOWERS_RR, &rtb_out_pf); - /* MATLAB Function: '/AF for Bi Level R' incorporates: - * DataStoreRead: '/Data Store Read15' + /* MATLAB Function: '/AF for Bi Level R' incorporates: + * DataStoreRead: '/Data Store Read15' */ - AFforBiLevelR(rtDW.FIU_BLOWERS_RR, &rtb_out_lw); + AFforBiLevelR(rtDW.FIU_BLOWERS_RR, &rtb_out_khw); - /* 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' + /* 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.FIU_FOOT_RR == 1) << 1) + (uint32_t) (rtDW.FIU_FACE_RR == 1))) { case 0: - rtb_out_lw = 0U; + rtb_out_khw = 0U; break; case 1: - rtb_out_lw = rtb_out_le; + rtb_out_khw = rtb_out_le; break; case 2: - rtb_out_lw = rtb_out_j; + rtb_out_khw = rtb_out_pf; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/Constant1' - * DataStoreWrite: '/Data Store Write1' - * Product: '/Divide1' - * Sum: '/Add1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/Constant1' + * DataStoreWrite: '/Data Store Write1' + * Product: '/Divide1' + * Sum: '/Add1' */ rtDW.PWM_rear = (uint8_t)((double)(uint16_t)((uint32_t)rtb_out_b + - rtb_out_lw) / 4.0); + rtb_out_khw) / 4.0); - /* DataTypeConversion: '/Data Type Conversion4' incorporates: - * DataStoreWrite: '/Data Store Write4' + /* DataTypeConversion: '/Data Type Conversion4' incorporates: + * DataStoreWrite: '/Data Store Write4' */ rtDW.Blower_AF_RL = (uint8_t)rtb_out_b; - /* DataTypeConversion: '/Data Type Conversion5' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataTypeConversion: '/Data Type Conversion5' incorporates: + * DataStoreWrite: '/Data Store Write5' */ - rtDW.Blower_AF_RR = (uint8_t)rtb_out_lw; + rtDW.Blower_AF_RR = (uint8_t)rtb_out_khw; - /* MATLAB Function: '/Write1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ /* : fprintf('pwmRear_output = %u \n',data); */ printf("pwmRear_output = %u \n", rtDW.PWM_rear); fflush(stdout); } - /* End of Logic: '/Logical Operator2' */ - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Logic: '/Logical Operator2' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ /* End of Outputs for SubSystem: '/PWM and valves in manual1' */ - /* 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: - * DataStoreWrite: '/Data Store Write' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreWrite: '/Data Store Write' */ switch (rtB.Merge_b) { 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' */ - g_assSTART_ENTER_INCAR_j(rtB.Merge_b, &Eva_F); + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' */ + g_assSTART_ENTER_INCAR_j(rtB.Merge_b, &rtb_LVL); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' */ + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' */ /* : out = g_ausSTART_ENTER_SETTEMP(LVL+1); */ i = (int32_t)(rtB.Merge_b + 1U); if (rtB.Merge_b + 1U > 255U) { 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 ((Incar_FL > Eva_F) && (rtDW.MODE_DRIVER == 1.0) && (rtDW.FIU_SET_FL < - g_ausSTART_ENTER_SETTEMP[i - 1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_FL > rtb_LVL) && (rtDW.MODE_DRIVER == 1.0) && + (rtDW.FIU_SET_FL < g_ausSTART_ENTER_SETTEMP[i - 1])) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_ho = 0; + rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_ho = -1; + 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' */ - g_assSTART_ENTER_INCAR_j(rtB.Merge_b, &Eva_F); + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' */ + g_assSTART_ENTER_INCAR_j(rtB.Merge_b, &rtb_LVL); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' */ + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' */ /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1)); */ i = (int32_t)(rtB.Merge_b + 1U); if (rtB.Merge_b + 1U > 255U) { @@ -13928,404 +15382,404 @@ void HVAC_model_step(void) rtb_out_b = 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 ((Incar_FL > Eva_F) && (rtDW.MODE_DRIVER == 1.0) && (rtDW.FIU_SET_FL < - rtb_out_b)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_FL > rtb_LVL) && (rtDW.MODE_DRIVER == 1.0) && + (rtDW.FIU_SET_FL < rtb_out_b)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_ho = 0; + rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_ho = -1; + 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_ho = 0; + 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 ' */ - g_assSTART_ENTER_COOLANT_p(rtB.Merge_b, &Incar_FL); + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' */ + g_assSTART_ENTER_COOLANT_p(rtB.Merge_b, &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 < Incar_FL) && (rtDW.MODE_DRIVER == 1.0)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.ECT < rtb_LVL) && (rtDW.MODE_DRIVER == 1.0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ - rtB.Merge_ho = 0; + rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ - rtB.Merge_ho = -1; + 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_ho, &rtDW.ECT, &rtB.Merge_b, &rtDW.MODE_DRIVER); + Level4(&rtB.Merge_h, &rtDW.ECT, &rtB.Merge_b, &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_ho, &rtDW.ECT, &rtB.Merge_b, &rtDW.MODE_DRIVER); + Level4(&rtB.Merge_h, &rtDW.ECT, &rtB.Merge_b, &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: - * DataStoreWrite: '/Data Store Write' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreWrite: '/Data Store Write' */ switch (rtB.Merge_b) { 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_ho); + 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_ho); + 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_ho); + 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: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &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_Divide1 = 1.0; + rtb_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ - rtb_u_cuz = 1U; + rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ - Valve_2_way = 1U; + rtb_Merge_a = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ i = (int32_t)(rtB.Merge_b + 1U); if (rtB.Merge_b + 1U > 255U) { i = 255; } - rtb_dt_lu = (uint32_t)i - 2U; + rtb_Subtract = (uint32_t)i - 2U; if ((uint32_t)i - 2U > (uint32_t)i) { - rtb_dt_lu = 0U; + 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_ho = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1 - [(int32_t)rtb_dt_lu - 1]); + 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: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &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_Divide1 = 1.0; + rtb_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ - rtb_u_cuz = 1U; + rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ - Valve_2_way = 1U; + rtb_Merge_a = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ - g_assSTART_COOLANT_STEP0_TO_1_h(rtB.Merge_b, &Incar_FL); + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ + g_assSTART_COOLANT_STEP0_TO_1_h(rtB.Merge_b, &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_ho = (int8_t)(rtDW.ECT > Incar_FL); + 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: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &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_Divide1 = 1.0; + rtb_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ - rtb_u_cuz = 1U; + rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ - Valve_2_way = 1U; + rtb_Merge_a = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ - g_assSTART_COOLANT_STEP0_TO_1_h(rtB.Merge_b, &Incar_FL); + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ + g_assSTART_COOLANT_STEP0_TO_1_h(rtB.Merge_b, &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_ho = (int8_t)(rtDW.ECT > Incar_FL); + 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: - * DataStoreWrite: '/Data Store Write' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreWrite: '/Data Store Write' */ switch (rtB.Merge_b) { 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: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus(rtB.Merge_b, &rtb_u_cuz); + uwayvalvestatus(rtB.Merge_b, &rtb_Merge_m); - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * MATLAB Function: '/mode FR step 1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * MATLAB Function: '/mode FR step 1' */ modeFRstep1(rtB.Merge_b, &rtDW.Mode_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * MATLAB Function: '/window heating' */ windowheating(rtB.Merge_b, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * MATLAB Function: '/blower FR' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * MATLAB Function: '/blower FR' */ blowerFR(rtB.Merge_b, &rtDW.Blower_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/Dtg_FrontUpper_X' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * MATLAB Function: '/Dtg_FrontUpper_X' */ Dtg_FrontUpper_X(rtB.Merge_b, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * MATLAB Function: '/Dtg_FrontLower_X' */ Dtg_FrontLower_X(rtB.Merge_b, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ - rtb_Divide1 = 1.0; + 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 ' */ - Incartempgotofromstep1tostep2(rtB.Merge_b, &Eva_F); + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' */ + Incartempgotofromstep1tostep2(rtB.Merge_b, &rtb_LVL); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ + /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ i = (int32_t)(rtB.Merge_b + 1U); if (rtB.Merge_b + 1U > 255U) { @@ -14337,1540 +15791,1545 @@ void HVAC_model_step(void) rtb_out_b = 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 ((Incar_FL < Eva_F) || (rtDW.t_now - + if ((rtDW.Incar_FL < rtb_LVL) || (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_pd > (uint16_t)(1000 * rtb_out_b))) { - /* 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_ho = 2; + 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_ho = 1; + 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: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus(rtB.Merge_b, &rtb_u_cuz); + uwayvalvestatus(rtB.Merge_b, &rtb_Merge_m); - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * MATLAB Function: '/mode FR step 1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * MATLAB Function: '/mode FR step 1' */ modeFRstep1(rtB.Merge_b, &rtDW.Mode_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * MATLAB Function: '/window heating' */ windowheating(rtB.Merge_b, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * MATLAB Function: '/blower FR' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * MATLAB Function: '/blower FR' */ blowerFR(rtB.Merge_b, &rtDW.Blower_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/Dtg_FrontUpper_X' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * MATLAB Function: '/Dtg_FrontUpper_X' */ Dtg_FrontUpper_X(rtB.Merge_b, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * MATLAB Function: '/Dtg_FrontLower_X' */ Dtg_FrontLower_X(rtB.Merge_b, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ - rtb_Divide1 = 1.0; + 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 ' */ - Incartempgotofromstep1tostep2(rtB.Merge_b, &Eva_F); + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' */ + Incartempgotofromstep1tostep2(rtB.Merge_b, &rtb_LVL); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ - Timegotofromstep1tostep2(rtB.Merge_b, &Eva_R); + /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ + Timegotofromstep1tostep2(rtB.Merge_b, &Duct2_F); - /* 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_f1 = (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_mk > (uint32_t)(1000 * Eva_R)); + rtb_LogicalOperator1_dv = (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_mk > (uint32_t)(1000 * Duct2_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_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 ((Incar_FL < Eva_F) || rtb_LogicalOperator1_f1) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if ((rtDW.Incar_FL < rtb_LVL) || rtb_LogicalOperator1_dv) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ - rtB.Merge_ho = 2; + rtB.Merge_h = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ - rtB.Merge_ho = 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_ho = 2; + 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: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus(rtB.Merge_b, &rtb_u_cuz); + uwayvalvestatus(rtB.Merge_b, &rtb_Merge_m); - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * MATLAB Function: '/mode FR step 1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * MATLAB Function: '/mode FR step 1' */ modeFRstep1(rtB.Merge_b, &rtDW.Mode_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * MATLAB Function: '/window heating' */ windowheating(rtB.Merge_b, &rtDW.Dtg_FUL); - /* MATLAB Function: '/blower min max' */ - blowerminmax(rtB.Merge_b, rtb_out_bdd); + /* MATLAB Function: '/blower min max' */ + blowerminmax(rtB.Merge_b, rtb_out_f0); - /* MATLAB Function: '/ECT min max' */ - ECTminmax(rtB.Merge_b, rtb_out_mn); + /* MATLAB Function: '/ECT min max' */ + ECTminmax(rtB.Merge_b, rtb_out_md); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/engine coolant temp' - * Lookup_n-D: '/blower для текущего ECT' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - rtDW.Blower_FL = look1_iu16bs16lu64n32_binlcse(rtDW.ECT, rtb_out_mn, - rtb_out_bdd, 1U); + rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_md, + rtb_out_f0, 1U); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/Dtg_FrontUpper_X' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Blower_FL = (uint16_t)rtb_LVL; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * MATLAB Function: '/Dtg_FrontUpper_X' */ Dtg_FrontUpper_X(rtB.Merge_b, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * MATLAB Function: '/Dtg_FrontLower_X' */ Dtg_FrontLower_X(rtB.Merge_b, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ - rtb_Divide1 = 1.0; + 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 ' */ - Incartempgotofromstep1tostep2(rtB.Merge_b, &Eva_F); + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' */ + Incartempgotofromstep1tostep2(rtB.Merge_b, &Duct2_F); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ + Timegotofromstep1tostep2(rtB.Merge_b, &rtb_LVL); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_dt_f1 = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_fm; + rtb_LogicalOperator1_dv = (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_fm > (uint32_t)(1000 * rtb_LVL)); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ - Timegotofromstep1tostep2(rtB.Merge_b, &Eva_R); - - /* 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 ' */ + /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' */ i = (int32_t)(rtB.Merge_b + 1U); if (rtB.Merge_b + 1U > 255U) { i = 255; } /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - rtb_dt_lu = (uint32_t)i - 3U; + rtb_Subtract = (uint32_t)i - 3U; /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ if ((uint32_t)i - 3U > (uint32_t)i) { - rtb_dt_lu = 0U; + rtb_Subtract = 0U; } - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreRead: '/incar temp' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' */ - if ((Incar_FL < Eva_F) || (rtb_dt_f1 > (uint32_t)(1000 * Eva_R)) || - (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[(int32_t)rtb_dt_lu - 1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step 2' + if ((rtDW.Incar_FL < Duct2_F) || rtb_LogicalOperator1_dv || (rtDW.ECT > + g_assSTART_COOLANT_TO_STEP2[(int32_t)rtb_Subtract - 1])) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step 2' */ - rtB.Merge_ho = 2; + rtB.Merge_h = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ - rtB.Merge_ho = 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_ho, &rtDW.Blower_FL, &rtb_out_b, &rtDW.Dtg_FLL, - &Valve_2_way, &rtDW.Dtg_FUL, &Dtg_FUR, &rtDW.ECT, - &El_window_heating, &Incar_FL, &rtb_Gain2_hu, &rtb_Gain_l, - &rtB.Merge_b, &rtDW.Mode_FL, &Mode_FR, &rtb_Divide1, &rtb_u_cuz, + Level4_c(&rtB.Merge_h, &rtDW.Blower_FL, &rtb_out_b, &rtDW.Dtg_FLL, + &rtb_Merge_a, &rtDW.Dtg_FUL, &Dtg_FUR, &rtDW.ECT, + &El_window_heating, &rtDW.Incar_FL, &rtb_Merge_e, &rtb_Merge_j, + &rtB.Merge_b, &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_ho, &rtDW.Blower_FL, &rtb_out_b, &rtDW.Dtg_FLL, - &Valve_2_way, &rtDW.Dtg_FUL, &Dtg_FUR, &rtDW.ECT, - &El_window_heating, &Incar_FL, &rtb_Gain2_hu, &rtb_Gain_l, - &rtB.Merge_b, &rtDW.Mode_FL, &Mode_FR, &rtb_Divide1, &rtb_u_cuz, + Level4_c(&rtB.Merge_h, &rtDW.Blower_FL, &rtb_out_b, &rtDW.Dtg_FLL, + &rtb_Merge_a, &rtDW.Dtg_FUL, &Dtg_FUR, &rtDW.ECT, + &El_window_heating, &rtDW.Incar_FL, &rtb_Merge_e, &rtb_Merge_j, + &rtB.Merge_b, &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: - * DataStoreWrite: '/Data Store Write' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreWrite: '/Data Store Write' */ switch (rtB.Merge_b) { 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: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus_a(rtB.Merge_b, &rtb_u_cuz); + uwayvalvestatus_a(rtB.Merge_b, &rtb_Merge_m); - /* MATLAB Function: '/step' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/step' */ + Dtg_FrontLower_X(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/time for step' */ + timeforstep(rtB.Merge_b, &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_Gain_l / (double)rtb_Gain2_hu / + 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' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/step' */ + Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep_j(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/time for step' */ + timeforstep_j(rtB.Merge_b, &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: '/Subtract' + * Sum: '/Add' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtDW.Dtg_FUL = (uint8_t)((double)rtb_Gain_l / (double)rtb_Gain2_hu / + 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: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &rtb_Merge_e); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_Gain_l = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + 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_Gain_l <= 0.01); + rtb_LogicalOperator1 = (rtb_Merge_j <= 0.01); - /* MATLAB Function: '/step' */ - step_j(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/step' */ + step_j(rtB.Merge_b, &rtb_Merge_e); - /* MATLAB Function: '/time for step' */ - timeforstep_g(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/time for step' */ + timeforstep_g(rtB.Merge_b, &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: '/Subtract' + * Sum: '/Add' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtDW.Mode_FL = (uint8_t)((double)rtb_Gain2_hu / (double)rtb_Gain_l / + 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_out_b = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_LogicalOperator1 = (rtb_out_b <= 0.01); - /* MATLAB Function: '/blower step' */ - blowerstep(rtB.Merge_b, &rtb_out_lw); + /* MATLAB Function: '/blower step' */ + blowerstep(rtB.Merge_b, &rtb_out_khw); - /* MATLAB Function: '/blower time for step' */ + /* MATLAB Function: '/blower time for step' */ blowertimeforstep(rtB.Merge_b, &rtb_out_b); - /* 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: '/Subtract' + * Sum: '/Add' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtDW.Blower_FL = (uint16_t)((double)rtb_out_lw / (double)rtb_out_b / + rtDW.Blower_FL = (uint16_t)((double)rtb_out_khw / (double)rtb_out_b / 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_Divide1 = 1.0; + 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_dt_lu = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_gp; + 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 ' */ - Timegotofromstep2tostep3(rtB.Merge_b, &Incar_FL); + /* MATLAB Function: '/Time goto from step 2 to step 3 ' */ + Timegotofromstep2tostep3(rtB.Merge_b, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_dt_lu > (uint32_t)(1000 * Incar_FL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if (rtb_Subtract > (uint32_t)(1000 * rtb_LVL)) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ - rtB.Merge_ho = 3; + rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ - rtB.Merge_ho = 2; + 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: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus_a(rtB.Merge_b, &rtb_u_cuz); + uwayvalvestatus_a(rtB.Merge_b, &rtb_Merge_m); - /* MATLAB Function: '/step' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/step' */ + Dtg_FrontLower_X(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/time for step' */ + timeforstep(rtB.Merge_b, &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_Gain_l / (double)rtb_Gain2_hu / + 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' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/step' */ + Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep_j(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/time for step' */ + timeforstep_j(rtB.Merge_b, &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_Gain_l / (double)rtb_Gain2_hu / + 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: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &rtb_Merge_e); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_Gain_l = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + rtb_Merge_j = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* MATLAB Function: '/step' */ - step_j(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/step' */ + step_j(rtB.Merge_b, &rtb_Merge_e); - /* MATLAB Function: '/time for step' */ - timeforstep_g(rtB.Merge_b, &rtb_u_cuz); + /* MATLAB Function: '/time for step' */ + timeforstep_g(rtB.Merge_b, &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_Gain_l <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + if (rtb_Merge_j <= 0.01) { + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtDW.Mode_FL = (uint8_t)((double)rtb_Gain2_hu / (double)rtb_u_cuz / + 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' */ - windowheating_k(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/window heating' */ + windowheating_k(rtB.Merge_b, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_b = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_LogicalOperator1 = (rtb_out_b <= 0.01); - /* MATLAB Function: '/blower step' */ - blowerstep(rtB.Merge_b, &rtb_out_lw); + /* MATLAB Function: '/blower step' */ + blowerstep(rtB.Merge_b, &rtb_out_khw); - /* MATLAB Function: '/blower time for step' */ + /* MATLAB Function: '/blower time for step' */ blowertimeforstep(rtB.Merge_b, &rtb_out_b); - /* 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_out_lw / (double)rtb_out_b / + rtDW.Blower_FL = (uint16_t)((double)rtb_out_khw / (double)rtb_out_b / 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_Divide1 = 1.0; + 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_dt_lu = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_mz; + 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 ' */ - Timegotofromstep2tostep3(rtB.Merge_b, &Incar_FL); + /* MATLAB Function: '/Time goto from step 2 to step 3 ' */ + Timegotofromstep2tostep3(rtB.Merge_b, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_dt_lu > (uint32_t)(1000 * Incar_FL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if (rtb_Subtract > (uint32_t)(1000 * rtb_LVL)) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ - rtB.Merge_ho = 3; + rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ - rtB.Merge_ho = 2; + 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_ho = 3; + 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_ho, &Autodefog, &rtDW.Blower_FL, &rtb_out_b, - &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &Valve_2_way, &rtDW.Dtg_FUL, + Level3(&rtB.Merge_h, &Autodefog, &rtDW.Blower_FL, &rtb_out_b, + &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &rtb_Merge_a, &rtDW.Dtg_FUL, &Dtg_FUR, &rtDW.Dtg_logic_FLL, &rtDW.Dtg_logic_FUL, - &El_window_heating, &rtDW.HI_logic_on, &rtb_Gain2_hu, &rtb_Gain_l, + &El_window_heating, &rtDW.HI_logic_on, &rtb_Merge_e, &rtb_Merge_j, &rtB.Merge_b, &rtDW.Mode_FL, &Mode_FR, &rtDW.Mode_logic_FL, - &rtb_Divide1, &rtb_u_cuz, &rtDW.step_start_controle_front, + &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_ho, &Autodefog, &rtDW.Blower_FL, &rtb_out_b, - &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &Valve_2_way, &rtDW.Dtg_FUL, + Level3(&rtB.Merge_h, &Autodefog, &rtDW.Blower_FL, &rtb_out_b, + &rtDW.Blower_logic_FL, &rtDW.Dtg_FLL, &rtb_Merge_a, &rtDW.Dtg_FUL, &Dtg_FUR, &rtDW.Dtg_logic_FLL, &rtDW.Dtg_logic_FUL, - &El_window_heating, &rtDW.HI_logic_on, &rtb_Gain2_hu, &rtb_Gain_l, + &El_window_heating, &rtDW.HI_logic_on, &rtb_Merge_e, &rtb_Merge_j, &rtB.Merge_b, &rtDW.Mode_FL, &Mode_FR, &rtDW.Mode_logic_FL, - &rtb_Divide1, &rtb_u_cuz, &rtDW.step_start_controle_front, + &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: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus_a(rtB.Merge_b, &rtb_u_cuz); + uwayvalvestatus_a(rtB.Merge_b, &rtb_Merge_m); - /* MATLAB Function: '/step' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/step' */ + Dtg_FrontLower_X(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/time for step' */ + timeforstep(rtB.Merge_b, &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_Gain_l / (double)rtb_Gain2_hu / + 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' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/step' */ + Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep_j(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/time for step' */ + timeforstep_j(rtB.Merge_b, &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_Gain_l / (double)rtb_Gain2_hu / + 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: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Gain_l); + incarfilterup(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Gain2_hu); + incarfilterdown(rtB.Merge_b, &rtb_Merge_e); - /* MATLAB Function: '/autodemist (autodefog)' */ - autodemistautodefog(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/autodemist (autodefog)' */ + autodemistautodefog(rtB.Merge_b, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_Gain2_hu = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + rtb_Merge_e = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* MATLAB Function: '/step' */ - step_j(rtB.Merge_b, &rtb_Gain_l); + /* MATLAB Function: '/step' */ + step_j(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep_g(rtB.Merge_b, &rtb_u_cuz); + /* MATLAB Function: '/time for step' */ + timeforstep_g(rtB.Merge_b, &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_Gain2_hu <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + if (rtb_Merge_e <= 0.01) { + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtDW.Mode_FL = (uint8_t)((double)rtb_Gain_l / (double)rtb_u_cuz / + 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' */ - windowheating_k(rtB.Merge_b, &rtb_Gain2_hu); + /* MATLAB Function: '/window heating' */ + windowheating_k(rtB.Merge_b, &rtb_Merge_e); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_b = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_LogicalOperator1 = (rtb_out_b <= 0.01); - /* MATLAB Function: '/blower step' */ - blowerstep(rtB.Merge_b, &rtb_out_lw); + /* MATLAB Function: '/blower step' */ + blowerstep(rtB.Merge_b, &rtb_out_khw); - /* MATLAB Function: '/blower time for step' */ + /* MATLAB Function: '/blower time for step' */ blowertimeforstep(rtB.Merge_b, &rtb_out_b); - /* 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_out_lw / (double)rtb_out_b / + rtDW.Blower_FL = (uint16_t)((double)rtb_out_khw / (double)rtb_out_b / 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_Divide1 = 1.0; + 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 ' */ - Timegotofromstep2tostep3(rtB.Merge_b, &Incar_FL); + /* MATLAB Function: '/Time goto from step 2 to step 3 ' */ + Timegotofromstep2tostep3(rtB.Merge_b, &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_f1 = (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_n > (uint32_t)(1000 * Incar_FL)); + 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 ' + /* 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' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' */ - if (rtb_LogicalOperator1_f1 || rtDW.HI_logic_on) { - /* 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_ho = 3; + rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ - rtB.Merge_ho = 2; + 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_f = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_pu = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_b = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_e = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_iy = rtb_LogicalOperator1; - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 2 F' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 2 F' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Step 3 F' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Step 3 F' incorporates: + * ActionPort: '/Action Port' */ - Step3F(&rtB.Merge_ho, &rtDW.start_control_finished_front); + Step3F(&rtB.Merge_h, &rtDW.start_control_finished_front); - /* End of Outputs for SubSystem: '/Step 3 F' */ + /* End of Outputs for SubSystem: '/Step 3 F' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ - rtDW.step_start_controle_front = rtB.Merge_ho; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.step_start_controle_front = rtB.Merge_h; - /* End of Outputs for SubSystem: '/Start Control Front' */ + /* End of Outputs for SubSystem: '/Start Control Front' */ } - /* End of If: '/если SC front не завершен' */ + /* End of If: '/если SC front не завершен' */ - /* If: '/если SC rear не завершен1' incorporates: - * DataStoreRead: '/Data Store Read3' + /* If: '/если SC rear не завершен1' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.start_control_finished_rear == 0.0) { - /* Outputs for IfAction SubSystem: '/Start Control Rear' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Start Control Rear' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' */ switch (rtDW.step_start_controle_rear) { case -1: - /* Outputs for IfAction SubSystem: '/Step -1 R (Entry Condition)' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Step -1 R (Entry Condition)' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtB.Merge_b) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' */ /* : out = int16(g_assSTART_ENTER_INCAR(LVL + 1 + 6)); */ - g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &Incar_FL); + g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &rtb_LVL); - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' */ i = (int32_t)(rtB.Merge_b + 1U); if (rtB.Merge_b + 1U > 255U) { i = 255; } - tmp_0 = (int32_t)((uint32_t)i + 6U); + tmp = (int32_t)((uint32_t)i + 6U); if ((uint32_t)i + 6U > 255U) { - tmp_0 = 255; + 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' + /* 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 ((Incar_RR > g_assSTART_ENTER_INCAR[tmp_0 - 1]) && - (rtDW.MODE_RR_passenger == 1.0) && (rtDW.FIU_SET_RR < Incar_FL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_RR > g_assSTART_ENTER_INCAR[tmp - 1]) && + (rtDW.MODE_RR_passenger == 1.0) && (rtDW.FIU_SET_RR < rtb_LVL)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_c = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' */ - g_assSTART_ENTER_INCAR_p(rtB.Merge_b, &Incar_FL); + g_assSTART_ENTER_INCAR_p(rtB.Merge_b, &rtb_LVL); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' */ - g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &Eva_F); + g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &Duct2_F); - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * Constant: '/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 ((Incar_RR > Incar_FL) && (rtDW.MODE_RR_passenger == 1.0) && - (rtDW.FIU_SET_RR < Eva_F)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_RR > rtb_LVL) && (rtDW.MODE_RR_passenger == 1.0) && + (rtDW.FIU_SET_RR < Duct2_F)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_c = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' */ - g_assSTART_ENTER_INCAR_p(rtB.Merge_b, &Incar_FL); + g_assSTART_ENTER_INCAR_p(rtB.Merge_b, &rtb_LVL); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' */ - g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &Eva_F); + g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &Duct2_F); - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * Constant: '/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 ((Incar_RR < Incar_FL) && (rtDW.MODE_RR_passenger == 1.0) && - (rtDW.FIU_SET_RR > Eva_F)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if ((rtDW.Incar_RR < rtb_LVL) && (rtDW.MODE_RR_passenger == 1.0) && + (rtDW.FIU_SET_RR > Duct2_F)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_c = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' */ - g_assSTART_ENTER_INCAR_p(rtB.Merge_b, &Incar_FL); + g_assSTART_ENTER_INCAR_p(rtB.Merge_b, &rtb_LVL); - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' */ - g_assSTART_ENTER_COOLANT_e(rtB.Merge_b, &Eva_F); + g_assSTART_ENTER_COOLANT_e(rtB.Merge_b, &Duct2_F); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ i = (int32_t)(rtB.Merge_b + 1U); @@ -15878,129 +17337,129 @@ void HVAC_model_step(void) i = 255; } - tmp_0 = (int32_t)((uint32_t)i + 6U); + tmp = (int32_t)((uint32_t)i + 6U); if ((uint32_t)i + 6U > 255U) { - tmp_0 = 255; + tmp = 255; } - rtb_out_b = g_ausSTART_ENTER_SETTEMP[tmp_0 - 1]; + rtb_out_b = g_ausSTART_ENTER_SETTEMP[tmp - 1]; if (rtb_out_b > 32767) { rtb_out_b = 32767U; } - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read5' - * Logic: '/AND' - * Logic: '/AND1' - * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' + /* Switch: '/Switch' incorporates: + * Constant: '/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 (((Incar_RR < Incar_FL) || (rtDW.ECT < Eva_F)) && + if (((rtDW.Incar_RR < rtb_LVL) || (rtDW.ECT < Duct2_F)) && (rtDW.MODE_RR_passenger == 1.0) && (rtDW.FIU_SET_RR > rtb_out_b)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_c = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ - Level4_e(&rtB.Merge_c, &rtDW.ECT, &Incar_RR, &rtB.Merge_b, + Level4_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtB.Merge_b, &rtDW.MODE_RR_passenger); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' */ - Level4_e(&rtB.Merge_c, &rtDW.ECT, &Incar_RR, &rtB.Merge_b, + Level4_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtB.Merge_b, &rtDW.MODE_RR_passenger); - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step -1 R (Entry Condition)' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step -1 R (Entry Condition)' */ break; case 0: - /* Outputs for IfAction SubSystem: '/Step 0 R' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Step 0 R' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtB.Merge_b) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_c); - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_c); - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Blower_RR = 10U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RR = 65U; - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtB.Merge_b, &rtb_Gain_l); + incarfilterup_i(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ - incarfilterdown_c(rtB.Merge_b, &rtb_Gain_l); + incarfilterdown_c(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Mode - foot' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' */ rtDW.Mode_RR = 60U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ i = (int32_t)(rtB.Merge_b + 3U); @@ -16008,1247 +17467,1252 @@ void HVAC_model_step(void) i = 255; } - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ rtB.Merge_c = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1[i - 1]); - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Blower_RR = 10U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RR = 65U; - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtB.Merge_b, &rtb_Gain_l); + incarfilterup_i(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ - incarfilterdown_c(rtB.Merge_b, &rtb_Gain_l); + incarfilterdown_c(rtB.Merge_b, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Mode - foot' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' */ rtDW.Mode_RR = 60U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ - g_assSTART_COOLANT_STEP0_TO_1_e(rtB.Merge_b, &Incar_RR); + g_assSTART_COOLANT_STEP0_TO_1_e(rtB.Merge_b, &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_c = (int8_t)(rtDW.ECT > Incar_RR); + rtB.Merge_c = (int8_t)(rtDW.ECT > rtb_LVL); - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ Level4_m(&rtB.Merge_c, &rtb_out_b, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Gain2_hu, &rtb_Gain_l, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &Valve_2_way, - &rtb_u_cuz); + &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Merge_e, &rtb_Merge_j, + &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_Merge_a, + &rtb_Merge_m); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' */ Level4_m(&rtB.Merge_c, &rtb_out_b, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Gain2_hu, &rtb_Gain_l, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &Valve_2_way, - &rtb_u_cuz); + &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Merge_e, &rtb_Merge_j, + &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_Merge_a, + &rtb_Merge_m); - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 0 R' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 0 R' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Step 1 R' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Step 1 R' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtB.Merge_b) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ Level0_b(&rtB.Merge_c, &rtb_out_b, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &Incar_RR, &rtb_Gain2_hu, &rtb_Gain_l, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_Divide1, - &Valve_2_way, &rtDW.step_start_controle_rear, &rtDW.t_now, + &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_Merge_e, &rtb_Merge_j, + &rtB.Merge_b, &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' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ Level0_b(&rtB.Merge_c, &rtb_out_b, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &Incar_RR, &rtb_Gain2_hu, &rtb_Gain_l, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_Divide1, - &Valve_2_way, &rtDW.step_start_controle_rear, &rtDW.t_now, + &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_Merge_e, &rtb_Merge_j, + &rtB.Merge_b, &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' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' - * MATLAB Function: '/incar filter down' - * MATLAB Function: '/incar filter up' - * MATLAB Function: '/mode rear step 1' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + * MATLAB Function: '/incar filter down' + * MATLAB Function: '/incar filter up' + * MATLAB Function: '/mode rear step 1' */ uwayvalve(rtB.Merge_b, &rtDW.Mode_RR); incarfilterup_i(rtB.Merge_b, &rtDW.Mode_RR); incarfilterdown_c(rtB.Merge_b, &rtDW.Mode_RR); moderearstep1(rtB.Merge_b, &rtDW.Mode_RR); - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowerstartfinish(rtB.Merge_b, rtb_out_bdd); + blowerstartfinish(rtB.Merge_b, rtb_out_f0); - /* MATLAB Function: '/ECT min max' */ + /* MATLAB Function: '/ECT min max' */ /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(5)); */ /* : max = int16(g_assSTART_COOLANT_TO_STEP2(2)); */ /* : out = [min, max]; */ - rtb_out_mn[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; - rtb_out_mn[1] = g_assSTART_COOLANT_TO_STEP2[1]; + rtb_out_md[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; + rtb_out_md[1] = g_assSTART_COOLANT_TO_STEP2[1]; - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreWrite: '/Data Store Write5' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - rtDW.Blower_RR = look1_iu16bs16lu64n32_binlcse(rtDW.ECT, rtb_out_mn, - rtb_out_bdd, 1U); + rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_md, + rtb_out_f0, 1U); - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_rear' + /* 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(rtB.Merge_b, &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(rtB.Merge_b, &Incar_FL); + Incartempgotofromstep1tostep2_j(rtB.Merge_b, &Duct2_F); - /* 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_dt_lu = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_em; + 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(rtB.Merge_b, &Eva_F); + Timegotofromstep1tostep2_l(rtB.Merge_b, &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(2)); */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_cp)) { rtDW.t_start_delay_private_DSTATE_em = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreRead: '/incar temp' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ - if ((Incar_RR > Incar_FL) || (rtb_dt_lu > (uint16_t)(1000 * Eva_F)) || - (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if ((rtDW.Incar_RR > Duct2_F) || (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' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_c = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_cp = 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' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' - * MATLAB Function: '/incar filter down' - * MATLAB Function: '/incar filter up' - * MATLAB Function: '/mode rear step 1' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + * MATLAB Function: '/incar filter down' + * MATLAB Function: '/incar filter up' + * MATLAB Function: '/mode rear step 1' */ uwayvalve(rtB.Merge_b, &rtDW.Mode_RR); incarfilterup_i(rtB.Merge_b, &rtDW.Mode_RR); incarfilterdown_c(rtB.Merge_b, &rtDW.Mode_RR); moderearstep1(rtB.Merge_b, &rtDW.Mode_RR); - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowerstartfinish(rtB.Merge_b, rtb_out_bdd); + blowerstartfinish(rtB.Merge_b, rtb_out_f0); - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' */ - ECTminmax_l(rtB.Merge_b, rtb_out_mn); + ECTminmax_l(rtB.Merge_b, rtb_out_md); - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreWrite: '/Data Store Write5' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - rtDW.Blower_RR = look1_iu16bs16lu64n32_binlcse(rtDW.ECT, rtb_out_mn, - rtb_out_bdd, 1U); + rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_md, + rtb_out_f0, 1U); - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_rear' + /* 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(rtB.Merge_b, &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(rtB.Merge_b, &Incar_FL); + Incartempgotofromstep1tostep2_j(rtB.Merge_b, &Duct2_F); - /* 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_dt_lu = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oc; + 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' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ - Timegotofromstep1tostep2_l(rtB.Merge_b, &Eva_F); + Timegotofromstep1tostep2_l(rtB.Merge_b, &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(3)); */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_aw)) { rtDW.t_start_delay_private_DSTATE_oc = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreRead: '/incar temp' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ - if ((Incar_RR > Incar_FL) || (rtb_dt_lu > (uint16_t)(1000 * Eva_F)) || - (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[2])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + if ((rtDW.Incar_RR > Duct2_F) || (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' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_c = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_aw = 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_d(&rtB.Merge_c, &rtb_out_b, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.ECT, &Incar_RR, &rtb_Gain2_hu, &rtb_Gain_l, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_Divide1, - &Valve_2_way, &rtDW.step_start_controle_rear, &rtDW.t_now, - &rtDW.Level4_dp); + &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_Merge_e, + &rtb_Merge_j, &rtB.Merge_b, &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' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' */ Level4_d(&rtB.Merge_c, &rtb_out_b, &rtDW.Blower_RR, &Dtg_FUR, - &rtDW.Dtg_RR, &rtDW.ECT, &Incar_RR, &rtb_Gain2_hu, &rtb_Gain_l, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_Divide1, - &Valve_2_way, &rtDW.step_start_controle_rear, &rtDW.t_now, - &rtDW.Level5_f); + &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_Merge_e, + &rtb_Merge_j, &rtB.Merge_b, &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' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 1 R' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 1 R' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Step 2 R' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Step 2 R' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtB.Merge_b) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' */ - uwayvalve(rtB.Merge_b, &rtb_Gain_l); + uwayvalve(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - Dtg_rear(rtB.Merge_b, &rtb_Gain_l); + Dtg_rear(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(rtB.Merge_b, &rtb_Gain2_hu); + timeforstep_jn(rtB.Merge_b, &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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ if ((uint8_t)(rtDW.Dtg_RR - rtDW.Dtg_logic_RR) <= 0.01) { rtDW.Dtg_RR = rtDW.Dtg_logic_RR; } else { if (rtDW.Dtg_RR <= rtDW.Dtg_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Dtg_RR = (uint8_t)((double)rtb_Gain_l / (double)rtb_Gain2_hu / + 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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtB.Merge_b, &rtb_Gain_l); + incarfilterup_i(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ - incarfilterdown_c(rtB.Merge_b, &rtb_Gain_l); + incarfilterdown_c(rtB.Merge_b, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_Gain2_hu = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); + rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ - rtb_LogicalOperator1 = (rtb_Gain2_hu <= 0.01); + rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - step_a(rtB.Merge_b, &rtb_Gain_l); + step_a(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - timeforstep_h(rtB.Merge_b, &rtb_Gain2_hu); + timeforstep_h(rtB.Merge_b, &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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Mode_RR = (uint8_t)((double)rtb_Gain_l / (double)rtb_Gain2_hu / + 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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep_d(rtB.Merge_b, &rtb_out_b); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowertimeforstep_l(rtB.Merge_b, &rtb_out_lw); + blowertimeforstep_l(rtB.Merge_b, &rtb_out_khw); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ if ((uint16_t)(rtDW.Blower_RR - rtDW.Blower_logic_RR) <= 0.01) { rtDW.Blower_RR = rtDW.Blower_logic_RR; } else { if (rtDW.Blower_RR <= rtDW.Blower_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Blower_RR = (uint16_t)((double)rtb_out_b / (double)rtb_out_lw / + rtDW.Blower_RR = (uint16_t)((double)rtb_out_b / (double)rtb_out_khw / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_hs) * (double)i + (double)rtDW.Blower_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_rear == 2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - rtb_dt_lu = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_f; + 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 ' + /* 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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ - Timegotofromstep1tostep2_l(rtB.Merge_b, &Incar_RR); + Timegotofromstep1tostep2_l(rtB.Merge_b, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_dt_lu > (uint16_t)(1000 * Incar_RR)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + 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: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_nc = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_hs = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_i = 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' */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' */ - uwayvalve(rtB.Merge_b, &rtb_Gain_l); + uwayvalve(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - Dtg_rear(rtB.Merge_b, &rtb_Gain_l); + Dtg_rear(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(rtB.Merge_b, &rtb_Gain2_hu); + timeforstep_jn(rtB.Merge_b, &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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ if ((uint8_t)(rtDW.Dtg_RR - rtDW.Dtg_logic_RR) <= 0.01) { rtDW.Dtg_RR = rtDW.Dtg_logic_RR; } else { if (rtDW.Dtg_RR <= rtDW.Dtg_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Dtg_RR = (uint8_t)((double)rtb_Gain_l / (double)rtb_Gain2_hu / + 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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtB.Merge_b, &rtb_Gain_l); + incarfilterup_i(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ - incarfilterdown_c(rtB.Merge_b, &rtb_Gain_l); + incarfilterdown_c(rtB.Merge_b, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_Gain2_hu = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); + rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ - rtb_LogicalOperator1 = (rtb_Gain2_hu <= 0.01); + rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - step_a(rtB.Merge_b, &rtb_Gain_l); + step_a(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - timeforstep_h(rtB.Merge_b, &rtb_Gain2_hu); + timeforstep_h(rtB.Merge_b, &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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Mode_RR = (uint8_t)((double)rtb_Gain_l / (double)rtb_Gain2_hu / + 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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep_d(rtB.Merge_b, &rtb_out_b); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowertimeforstep_l(rtB.Merge_b, &rtb_out_lw); + blowertimeforstep_l(rtB.Merge_b, &rtb_out_khw); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ if ((uint16_t)(rtDW.Blower_RR - rtDW.Blower_logic_RR) <= 0.01) { rtDW.Blower_RR = rtDW.Blower_logic_RR; } else { if (rtDW.Blower_RR <= rtDW.Blower_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Blower_RR = (uint16_t)((double)rtb_out_b / (double)rtb_out_lw / + rtDW.Blower_RR = (uint16_t)((double)rtb_out_b / (double)rtb_out_khw / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_j) * (double)i + (double)rtDW.Blower_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_rear == 2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - rtb_dt_lu = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_jh; + 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 ' + /* 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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ - Timegotofromstep1tostep2_l(rtB.Merge_b, &Incar_RR); + Timegotofromstep1tostep2_l(rtB.Merge_b, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_dt_lu > (uint16_t)(1000 * Incar_RR)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + 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_g = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_p = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_j = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_jk = 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' */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' */ - uwayvalve(rtB.Merge_b, &rtb_Gain_l); + uwayvalve(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - Dtg_rear(rtB.Merge_b, &rtb_Gain_l); + Dtg_rear(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(rtB.Merge_b, &rtb_Gain2_hu); + timeforstep_jn(rtB.Merge_b, &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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ if ((uint8_t)(rtDW.Dtg_RR - rtDW.Dtg_logic_RR) <= 0.01) { rtDW.Dtg_RR = rtDW.Dtg_logic_RR; } else { if (rtDW.Dtg_RR <= rtDW.Dtg_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Dtg_RR = (uint8_t)((double)rtb_Gain_l / (double)rtb_Gain2_hu / + 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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtB.Merge_b, &rtb_Gain_l); + incarfilterup_i(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/incar filter down' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' */ - incarfilterdown_c(rtB.Merge_b, &rtb_Gain_l); + incarfilterdown_c(rtB.Merge_b, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_Gain2_hu = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); + rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ - rtb_LogicalOperator1 = (rtb_Gain2_hu <= 0.01); + rtb_LogicalOperator1 = (rtb_Merge_e <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - step_a(rtB.Merge_b, &rtb_Gain_l); + step_a(rtB.Merge_b, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - timeforstep_h(rtB.Merge_b, &rtb_Gain2_hu); + timeforstep_h(rtB.Merge_b, &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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Mode_RR = (uint8_t)((double)rtb_Gain_l / (double)rtb_Gain2_hu / + 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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep_d(rtB.Merge_b, &rtb_out_b); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowertimeforstep_l(rtB.Merge_b, &rtb_out_lw); + blowertimeforstep_l(rtB.Merge_b, &rtb_out_khw); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ if ((uint16_t)(rtDW.Blower_RR - rtDW.Blower_logic_RR) <= 0.01) { rtDW.Blower_RR = rtDW.Blower_logic_RR; } else { if (rtDW.Blower_RR <= rtDW.Blower_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - rtDW.Blower_RR = (uint16_t)((double)rtb_out_b / (double)rtb_out_lw / + rtDW.Blower_RR = (uint16_t)((double)rtb_out_b / (double)rtb_out_khw / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_n) * (double)i + (double)rtDW.Blower_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_rear == 2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ - rtb_dt_lu = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_e; + 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' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ - Timegotofromstep1tostep2_l(rtB.Merge_b, &Incar_RR); + Timegotofromstep1tostep2_l(rtB.Merge_b, &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 ' */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_eia)) { rtDW.t_start_delay_private_DSTATE_e = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * Gain: '/из сек в мс' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * Gain: '/из сек в мс' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator1' */ - if ((rtb_dt_lu > (uint16_t)(1000 * Incar_RR)) || rtDW.HI_logic_on) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + 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' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ rtB.Merge_c = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE = rtDW.t_now; - /* 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_out_b, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, - &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Gain2_hu, - &rtb_Gain_l, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, - &rtDW.Mode_logic_RR, &rtb_Divide1, &Valve_2_way, + &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Merge_e, + &rtb_Merge_j, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, + &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_out_b, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, - &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Gain2_hu, - &rtb_Gain_l, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, - &rtDW.Mode_logic_RR, &rtb_Divide1, &Valve_2_way, + &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Merge_e, + &rtb_Merge_j, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, + &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_out_b, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, - &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Gain2_hu, - &rtb_Gain_l, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, - &rtDW.Mode_logic_RR, &rtb_Divide1, &Valve_2_way, + &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Merge_e, + &rtb_Merge_j, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, + &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' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE = rtb_FailCond; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE = rtb_RelationalOperator2_nm; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_d = rtb_Compare; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_p = rtb_Compare; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_p = rtb_Compare_bg; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_mk; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_bs; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_it; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_lq; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_c = rtb_Compare_ho; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_c = rtb_Compare_es; - - /* 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 ' */ - rtDW.Cond_prev_private_DSTATE_l = rtb_Compare_p; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_l = rtb_Compare_ne; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_ja = rtb_Compare_m4; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_ja = rtb_Compare_e; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_g = rtb_Compare_k; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_g = rtb_Compare_gh; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cd = rtb_Compare_e; + /* 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 ' */ - rtDW.Cond_prev_private_DSTATE_mv = rtb_Compare_ohe; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_mv = rtb_Compare_m4; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_jl = rtb_Compare_mw; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_jl = rtb_Compare_lus; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_ei = rtb_Compare_a; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_ei = rtb_Compare_e1; } /* Model initialize function */ @@ -17281,31 +18745,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' */ + rtDW.MaxPositionCh1_private[i] = + rtConstP.DataStoreMemory13_InitialValue_i[i]; + + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_b[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ - rtDW.MaxPositionCh1_private[i] = - rtConstP.DataStoreMemory13_InitialValue_c[i]; - - /* Start for DataStoreMemory: '/Data Store Memory1' */ - rtDW.ErrorCalibration_private_h[i] = 1U; - - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh2_private[i] = - rtConstP.DataStoreMemory13_InitialValue_cb[i]; + rtConstP.DataStoreMemory13_InitialValue_l[i]; } - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* Start for Switch: '/Switch1' incorporates: + * DataStoreMemory: '/Data Store Memory' + */ + rtDW.AMB_store = -9999.0; + + /* 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 Memory108' */ @@ -17326,83 +18795,86 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory87' */ rtDW.FIU_MODE_FR = 1U; - /* SystemInitialize for Merge: '/Merge' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_d5 = -9999; + + /* 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' */ - rtDW.Start_timer_i = 1.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' */ + 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' */ - rtB.Merge_h1 = 0; + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_a = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_l = 0; + /* 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' */ - rtDW.Start_timer_l = 1.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' */ + rtDW.Start_timer_j = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ - MATLABFunction_Init(&rtDW.sf_MATLABFunction_i); + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + MATLABFunction_Init(&rtDW.sf_MATLABFunction_h); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_hu = 0; + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_p = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_h = 0; + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_e = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ - MATLABFunction_Init(&rtDW.sf_MATLABFunction_c); + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + MATLABFunction_Init(&rtDW.sf_MATLABFunction_g); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_j = 0; + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_h3 = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_bj = 0; + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_b4 = 0; - /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_ho = 0; + /* 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 f572bc7..1dc608c 100644 --- a/HVAC_model.h +++ b/HVAC_model.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.908 + * Model version : 1.923 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 12 13:50:19 2026 + * C/C++ source code generated on : Wed May 13 17:12:51 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -40,61 +40,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_l; /* '/Merge' */ - int8_t Merge_h; /* '/Merge' */ - int8_t Merge_bj; /* '/Merge' */ - int8_t Merge_c; /* '/Merge' */ - int8_t Merge_ho; /* '/Merge' */ - int8_t Merge_j; /* '/Merge' */ - int8_t Merge_hu; /* '/Merge' */ - int8_t Merge_h1; /* '/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 '' */ @@ -102,88 +102,108 @@ typedef struct { CmdBusADCData ADC_Data_Model; /* '/Data Store Memory42' */ dbgCAN_dbg_Sen_Duct_Bus dbgCAN_dbg_Sen_Duct_model;/* '/Data Store Memory82' */ CmdCAN_CCU_STAT1_Bus CCU_STAT1_MODEL;/* '/Data Store Memory105' */ + CCUCAN_ESC_04_Bus CCUCAN_ESC_04_model;/* '/Data Store Memory141' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_MODEL; /* '/Data Store Memory43' */ CmdCAN_FIU_CCU2_Bus FIU_CCU2_MODEL; /* '/Data Store Memory44' */ + CCUCAN_BCM_Powertrain_Bus CCUCAN_BCM_Powertrain_model;/* '/Data Store Memory137' */ + CCUCAN_EMS_Veh_Bus CCUCAN_EMS_Veh_model;/* '/Data Store Memory140' */ dbgCAN_dbg_Logic_Blower_Bus dbgCAN_dbg_Logic_Blower_model;/* '/Data Store Memory64' */ - double LOGGER_ACP; /* '/Data Store Memory1' */ - double ErrorHomming_private; /* '/Data Store Memory2' */ - double ErrorHomming_private_j; /* '/Data Store Memory2' */ - double ErrorHomming_private_m; /* '/Data Store Memory2' */ - double LOGGER_LIN; /* '/Data Store Memory1' */ + double LOGGER_ACP; /* '/Data Store Memory1' */ + double ErrorHomming_private; /* '/Data Store Memory2' */ + double ErrorHomming_private_h; /* '/Data Store Memory2' */ + double ErrorHomming_private_m; /* '/Data Store Memory2' */ + double LOGGER_LIN; /* '/Data Store Memory1' */ + double AMB_store; /* '/Data Store Memory' */ + double KEEP_RISING_UNTIL_LIMIT; /* '/Data Store Memory1' */ + double KEEP_FALLING_UNTIL_LIMIT; /* '/Data Store Memory2' */ double SKIPPED_FIRST_SIMULATION_STEP;/* '/Data Store Memory131' */ 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_l; /* '/Data Store Memory' */ - double Start_timer_i; /* '/Data Store Memory' */ + double Start_timer; /* '/Data Store Memory' */ + double Start_timer_j; /* '/Data Store Memory' */ + double Start_timer_n; /* '/Data Store Memory' */ CmdBusPwm PWM_Set_Model; /* '/Data Store Memory129' */ + dbgCAN_dbg_Sen_Amb_Bus dbgCAN_dbg_Sen_Amb_model;/* '/Data Store Memory142' */ dbgCAN_dbg_Act0_Bus dbgCAN_dbg_Act0_model;/* '/Data Store Memory79' */ dbgCAN_dbg_Act1_Bus dbgCAN_dbg_Act1_model;/* '/Data Store Memory80' */ dbgCAN_dbg_Act2_Bus dbgCAN_dbg_Act2_model;/* '/Data Store Memory81' */ dbgCAN_dbg_dbg_Sen_Eva_Bus dbgCAN_dbg_Sen_Eva_model;/* '/Data Store Memory83' */ - 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_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_o;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_oy;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_cd;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_or;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_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 ' */ + 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_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_g;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_j;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_kw;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_gd;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_h; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_e;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_g; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_p; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_j; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_jh;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_d; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_nc; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_hs; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_f;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_oc;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_em;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_f; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_pu; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_b; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_e; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_n;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_gf; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_p0; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_mz;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_pb; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_mk; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_gm; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE_gp;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_fm;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_mk;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_pd;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ uint32_t t_now; /* '/Data Store Memory5' */ - 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' */ - uint16_t POS_private[9]; /* '/Data Store Memory3' */ - uint16_t POS_private_o[9]; /* '/Data Store Memory3' */ - uint16_t POS_private_g[9]; /* '/Data Store Memory3' */ + int16_t UnitDelay_DSTATE_d5; /* '/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' */ + int16_t Incar_RR; /* '/Data Store Memory12' */ + int16_t AMB_RAW; /* '/Data Store Memory139' */ + int16_t Pressure; /* '/Data Store Memory6' */ + int16_t Incar_FL; /* '/Data Store Memory7' */ + int16_t Incar_RL; /* '/Data Store Memory8' */ + int16_t Eva_R; /* '/Data Store Memory9' */ + int16_t 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 valves_front_manual_target[9];/* '/Data Store Memory133' */ + uint16_t valves_rear_manual_target[6];/* '/Data Store Memory134' */ uint16_t FIU_SET_FR; /* '/Data Store Memory14' */ uint16_t FIU_SET_FL; /* '/Data Store Memory15' */ uint16_t FIU_SET_RR; /* '/Data Store Memory16' */ @@ -192,75 +212,73 @@ typedef struct { uint16_t Blower_RR; /* '/Data Store Memory32' */ uint16_t Blower_logic_FL; /* '/Data Store Memory37' */ uint16_t Blower_logic_RR; /* '/Data Store Memory56' */ - uint16_t ECT; /* '/engine coolant temp' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_d; /* '/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 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_j; /* '/Data Store Memory' */ - int8_t stepHoming_private_p; /* '/Data Store Memory17' */ - int8_t stepSig_private_o; /* '/Data Store Memory' */ - int8_t stepHoming_private_f; /* '/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 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' */ 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_b[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_e[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_e[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_c[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_m[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_a[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_n[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_h[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_p[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_a[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_h[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_o[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_m[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_p[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_p[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_b[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_h3[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_k[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_k[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 FIU_MODE_RL; /* '/Data Store Memory108' */ @@ -303,35 +321,35 @@ typedef struct { uint8_t FIU_AUTOMODE_FR; /* '/Data Store Memory93' */ uint8_t FIU_AUTOMODE_FL; /* '/Data Store Memory94' */ uint8_t FIU_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_c;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_i;/* '/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_c;/* '/If Action Subsystem1' */ - ConstB_IfActionSubsystem1 IfActionSubsystem1_n;/* '/If Action Subsystem1' */ - ConstB_IfActionSubsystem1 IfActionSubsystem1_d;/* '/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) */ @@ -341,143 +359,142 @@ typedef struct { */ CmdBusADCData DataStoreMemory42_InitialValue; - /* Expression: [1490 1490 1490 1490 1490 1490 1490 1490 1490 1490 1468 1428 1391 1359 1328 1301 1275 1252 1229 1208 1189 1170 1153 1136 1121 1105 1091 1077 1064 1052 1039 1028 1016 1006 995 985 975 966 956 947 939 930 922 914 906 898 891 884 877 870 863 856 850 843 837 831 825 819 814 808 802 797 792 786 781 776 771 766 762 757 752 748 743 739 734 730 726 722 718 713 709 706 702 698 694 690 686 683 679 676 672 669 665 662 658 655 652 648 645 642 639 636 633 629 626 623 620 618 615 612 609 606 603 600 598 595 592 590 587 584 582 579 577 574 572 569 567 564 562 559 557 555 552 550 548 545 543 541 538 536 534 532 529 527 525 523 521 519 517 515 512 510 508 506 504 502 500 498 496 494 492 490 489 487 485 483 481 479 477 475 474 472 470 468 466 465 463 461 459 458 456 454 452 451 449 447 446 444 442 441 439 437 436 434 432 431 429 428 426 424 423 421 420 418 417 415 414 412 411 409 408 406 405 403 402 400 399 397 396 394 393 391 390 389 387 386 384 383 382 380 379 377 376 375 373 372 371 369 368 367 365 364 363 361 360 359 357 356 355 354 352 351 350 348 347 346 345 343 342 341 340 338 337 336 335 333 332 331 330 329 327 326 325 324 323 321 320 319 318 317 316 314 313 312 311 310 309 307 306 305 304 303 302 301 300 298 297 296 295 294 293 292 291 290 288 287 286 285 284 283 282 281 280 279 278 277 276 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 205 204 203 202 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 185 185 184 183 182 181 180 179 178 177 177 176 175 174 173 172 171 170 169 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 156 155 154 153 152 151 150 150 149 148 147 146 145 145 144 143 142 141 140 139 139 138 137 136 135 134 134 133 132 131 130 129 128 128 127 126 125 124 123 123 122 121 120 119 119 118 117 116 115 114 114 113 112 111 110 109 109 108 107 106 105 105 104 103 102 101 100 100 99 98 97 96 96 95 94 93 92 92 91 90 89 88 87 87 86 85 84 83 83 82 81 80 79 79 78 77 76 75 74 74 73 72 71 70 70 69 68 67 66 66 65 64 63 62 62 61 60 59 58 58 57 56 55 54 54 53 52 51 50 50 49 48 47 46 46 45 44 43 42 42 41 40 39 38 38 37 36 35 34 34 33 32 31 30 30 29 28 27 26 26 25 24 23 22 21 21 20 19 18 17 17 16 15 14 13 13 12 11 10 9 9 8 7 6 5 5 4 3 2 1 1 0 0 -1 -2 -3 -3 -4 -5 -6 -7 -7 -8 -9 -10 -11 -12 -12 -13 -14 -15 -16 -16 -17 -18 -19 -20 -21 -21 -22 -23 -24 -25 -26 -26 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -41 -41 -42 -43 -44 -45 -46 -47 -47 -48 -49 -50 -51 -52 -52 -53 -54 -55 -56 -57 -58 -58 -59 -60 -61 -62 -63 -64 -65 -65 -66 -67 -68 -69 -70 -71 -72 -72 -73 -74 -75 -76 -77 -78 -79 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -176 -177 -178 -179 -180 -181 -182 -183 -184 -186 -187 -188 -189 -190 -191 -193 -194 -195 -196 -197 -198 -200 -201 -202 -203 -204 -206 -207 -208 -209 -210 -212 -213 -214 -215 -217 -218 -219 -220 -222 -223 -224 -226 -227 -228 -229 -231 -232 -233 -235 -236 -237 -239 -240 -242 -243 -244 -246 -247 -248 -250 -251 -253 -254 -256 -257 -258 -260 -261 -263 -264 -266 -267 -269 -270 -272 -274 -275 -277 -278 -280 -281 -283 -285 -286 -288 -289 -291 -293 -294 -296 -298 -300 -301 -303 -305 -307 -308 -310 -312 -314 -316 -317 -319 -321 -323 -325 -327 -329 -331 -333 -335 -337 -339 -341 -343 -345 -347 -349 -351 -354 -356 -358 -360 -363 -365 -367 -370 -372 -374 -377 -379 -382 -384 -387 -390 -392 -395 -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] - * Referenced by: '/1-D Lookup Table' + /* 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]) + * Referenced by: + * '/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' */ double uDLookupTable_tableData[1024]; - /* 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]) - * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - */ - double pooled3[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' - */ - double uDLookupTable_tableData_d[1024]; - - /* Pooled Parameter (Expression: [849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 846 843 840 836 833 829 826 823 820 816 813 810 807 804 801 798 795 792 789 786 783 780 777 774 771 769 766 763 760 758 755 752 750 747 745 742 739 737 734 732 729 727 724 722 720 717 715 712 710 708 705 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 671 669 666 664 662 660 658 656 654 652 650 648 647 645 643 641 639 637 635 633 631 630 628 626 624 622 620 619 617 615 613 612 610 608 606 605 603 601 599 598 596 594 593 591 589 588 586 584 583 581 580 578 576 575 573 572 570 568 567 565 564 562 561 559 558 556 555 553 552 550 549 547 546 544 543 541 540 538 537 535 534 533 531 530 528 527 526 524 523 521 520 519 517 516 514 513 512 510 509 508 506 505 504 502 501 500 498 497 496 494 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 461 459 458 457 456 455 453 452 451 450 449 448 446 445 444 443 442 441 439 438 437 436 435 434 432 431 430 429 428 427 426 425 423 422 421 420 419 418 417 416 414 413 412 411 410 409 408 407 406 405 404 403 401 400 399 398 397 396 395 394 393 392 391 390 389 388 387 385 384 383 382 381 380 379 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 328 327 326 325 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 310 309 308 307 306 305 304 303 302 301 300 299 298 297 297 296 295 294 293 292 291 290 289 288 287 286 285 285 284 283 282 281 280 279 278 277 276 275 275 274 273 272 271 270 269 268 267 266 265 265 264 263 262 261 260 259 258 257 257 256 255 254 253 252 251 250 249 248 248 247 246 245 244 243 242 241 240 240 239 238 237 236 235 234 233 232 232 231 230 229 228 227 226 225 225 224 223 222 221 220 219 218 218 217 216 215 214 213 212 211 210 210 209 208 207 206 205 204 203 203 202 201 200 199 198 197 196 196 195 194 193 192 191 190 189 189 188 187 186 185 184 183 182 182 181 180 179 178 177 176 175 175 174 173 172 171 170 169 168 168 167 166 165 164 163 162 161 161 160 159 158 157 156 155 154 153 153 152 151 150 149 148 147 146 146 145 144 143 142 141 140 139 138 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 113 112 111 110 109 108 107 106 105 104 103 103 102 101 100 99 98 97 96 95 94 93 92 92 91 90 89 88 87 86 85 84 83 82 81 80 79 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 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 4 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -8 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -21 -22 -23 -24 -25 -26 -27 -28 -30 -31 -32 -33 -34 -35 -36 -38 -39 -40 -41 -42 -43 -45 -46 -47 -48 -49 -51 -52 -53 -54 -55 -57 -58 -59 -60 -62 -63 -64 -65 -67 -68 -69 -70 -72 -73 -74 -75 -77 -78 -79 -81 -82 -83 -85 -86 -87 -89 -90 -91 -93 -94 -95 -97 -98 -99 -101 -102 -104 -105 -106 -108 -109 -111 -112 -114 -115 -117 -118 -120 -121 -122 -124 -125 -127 -129 -130 -132 -133 -135 -136 -138 -139 -141 -143 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -178 -180 -182 -184 -186 -188 -190 -191 -193 -195 -197 -199 -201 -203 -205 -207 -209 -211 -214 -216 -218 -220 -222 -224 -227 -229 -231 -233 -236 -238 -240 -243 -245 -248 -250 -252 -255 -257 -260 -263 -265 -268 -271 -273 -276 -279 -282 -285 -287 -290 -293 -296 -299 -303 -306 -309 -312 -316 -319 -323 -326 -330 -333 -337 -341 -345 -349 -353 -357 -361 -365 -370 -374 -379 -384 -388 -393 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398]) - * Referenced by: - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table6' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table5' - */ - double pooled4[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]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' */ - double pooled5[1024]; + 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 pooled36[2]; + uint32_t pooled38[2]; - /* Computed Parameter: uDLookupTable_tableData_h - * Referenced by: '/1-D Lookup Table' + /* Computed Parameter: uDLookupTable1_bp01Data + * Referenced by: '/1-D Lookup Table1' */ - int16_t uDLookupTable_tableData_h[6]; + int16_t uDLookupTable1_bp01Data[2]; + + /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) + * Referenced by: + * '/Get LVL for temp' + * '/1-D Lookup Table' + */ + int16_t pooled40[6]; + + /* Computed Parameter: GetLVLfortemp_bp01Data + * 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' + */ + int16_t pooled45[1024]; + + /* Pooled Parameter (Expression: [0:4:4095]) + * Referenced by: + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' + */ + int16_t pooled46[1024]; /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - int16_t pooled43[13]; + int16_t pooled49[13]; /* Computed Parameter: DataStoreMemory13_InitialValue - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue[9]; - /* Computed Parameter: DataStoreMemory13_InitialValue_c - * Referenced by: '/Data Store Memory13' + /* Computed Parameter: DataStoreMemory13_InitialValue_i + * Referenced by: '/Data Store Memory13' */ - int16_t DataStoreMemory13_InitialValue_c[9]; + int16_t DataStoreMemory13_InitialValue_i[9]; - /* Computed Parameter: DataStoreMemory13_InitialValue_cb - * Referenced by: '/Data Store Memory13' + /* Computed Parameter: DataStoreMemory13_InitialValue_l + * Referenced by: '/Data Store Memory13' */ - int16_t DataStoreMemory13_InitialValue_cb[9]; + 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 Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table6' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' + * '/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 Table1' */ - uint16_t pooled47[1024]; + uint16_t pooled52[1024]; /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value[9]; - /* Computed Parameter: ACT1_Value_d - * Referenced by: '/ACT1' + /* Computed Parameter: ACT1_Value_c + * Referenced by: '/ACT1' */ - uint16_t ACT1_Value_d[6]; + uint16_t ACT1_Value_c[6]; - /* Computed Parameter: ACT1_Value_o - * Referenced by: '/ACT1' + /* Computed Parameter: ACT1_Value_m + * Referenced by: '/ACT1' */ - uint16_t ACT1_Value_o[8]; + uint16_t ACT1_Value_m[8]; /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) * Referenced by: - * '/Constant3' - * '/Constant5' - * '/Constant5' + * '/Constant3' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' */ - uint8_t pooled75[9]; + uint8_t pooled79[9]; /* Computed Parameter: Constant3_Value - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ uint8_t Constant3_Value[6]; - /* Computed Parameter: Constant3_Value_j - * Referenced by: '/Constant3' + /* Computed Parameter: Constant3_Value_d + * Referenced by: '/Constant3' */ - uint8_t Constant3_Value_j[8]; + uint8_t Constant3_Value_d[8]; /* Pooled Parameter (Expression: ) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - uint8_t pooled82[6]; + uint8_t pooled86[6]; } ConstP; /* External outputs (root outports fed by signals with default storage) */ @@ -493,6 +510,7 @@ typedef struct { dbgCAN_dbg_dbg_Sen_Eva_Bus dbgCAN_dbg_Sen_Eva_model;/* '/dbgCAN_dbg_Sen_Eva_model' */ dbgCAN_dbg_Logic_Blower_Bus dbgCAN_dbg_Logic_Blower_model; /* '/dbgCAN_dbg_Logic_Blower_model' */ + dbgCAN_dbg_Sen_Amb_Bus dbgCAN_dbg_Sen_Amb_model;/* '/dbgCAN_dbg_Sen_Amb_model' */ } ExtY; /* Real-time Model Data Structure */ @@ -531,10 +549,10 @@ extern const ConstP rtConstP; 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' */ -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 CmdBusStatus Status_Sensor_Model;/* '/Data Store Memory' */ +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 CmdBusStatus Status_Sensor_Model;/* '/Data Store Memory' */ extern CmdBusError CCU_Errors_Model; /* '/Data Store Memory3' */ extern CmdBusPWMGet PWM_Get; /* '/Data Store Memory128' */ @@ -549,645 +567,744 @@ extern RT_MODEL *const rtM; /*- * These blocks were eliminated from the model due to optimizations: * - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Scope' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/t окруж. среды.' : Unused code path elimination + * Block '/t охл. жидк.' : Unused code path elimination + * Block '/Время в мс' : Unused code path elimination + * Block '/Новая t окр. среды' : Unused code path elimination + * Block '/Скорость авто' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/lvl' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/1-D Lookup Table' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/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 '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Display10' : Unused code path elimination - * Block '/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 '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/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 '/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 '/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 '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/t окруж. среды' : Unused code path elimination - * Block '/Заданная t слева' : Unused code path elimination - * Block '/Заданная t справа' : Unused code path elimination - * Block '/Заслонки Left' : Unused code path elimination - * Block '/Заслонки Right' : Unused code path elimination - * Block '/Заслонки итог' : Unused code path elimination - * Block '/Режим L' : Unused code path elimination - * Block '/Режим R' : Unused code path elimination - * Block '/Уровень' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/t окруж. среды' : Unused code path elimination + * Block '/Заданная t слева' : Unused code path elimination + * Block '/Заданная t справа' : Unused code path elimination + * Block '/Заслонки Left' : Unused code path elimination + * Block '/Заслонки Right' : Unused code path elimination + * Block '/Заслонки итог' : Unused code path elimination + * Block '/Режим L' : Unused code path elimination + * Block '/Режим R' : Unused code path elimination + * Block '/Уровень' : Unused code path elimination + * Block '/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 '/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 '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Constant' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/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 '/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 '/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 '/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 '/Display2' : Unused code path elimination - * Block '/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 '/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 '/Display3' : 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 '/Saturation' : Unused code path elimination + * Block '/Saturation1' : Unused code path elimination + * Block '/Saturation2' : Unused code path elimination + * Block '/Saturation3' : Unused code path elimination + * Block '/Saturation4' : Unused code path elimination + * Block '/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 '/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 '/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 '/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 '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/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 '/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 */ /*- @@ -1205,1298 +1322,1403 @@ extern RT_MODEL *const rtM; * Here is the system hierarchy for this model * * '' : 'HVAC_model' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode' - * '' : 'HVAC_model/ACP' - * '' : 'HVAC_model/CAN INPUT' - * '' : 'HVAC_model/CAN OUTPUT' - * '' : 'HVAC_model/LIN' - * '' : 'HVAC_model/PWM and valves in manual1' - * '' : 'HVAC_model/PWN' - * '' : 'HVAC_model/Start control' - * '' : 'HVAC_model/dbg CAN' - * '' : '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/ACP/Ambient' - * '' : '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/Ambient/Compare To Constant' - * '' : 'HVAC_model/ACP/Ambient/Compare To Constant1' - * '' : 'HVAC_model/ACP/Ambient/Compare To Constant2' - * '' : 'HVAC_model/ACP/Ambient/RealTime_Timer' - * '' : 'HVAC_model/ACP/Ambient/UDS ERROR' - * '' : 'HVAC_model/ACP/Ambient/Write Ambient' - * '' : 'HVAC_model/ACP/Ambient/Write ERROR' - * '' : '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/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/Subsystem2/Subsystem' - * '' : 'HVAC_model/CAN INPUT/Subsystem3/Subsystem' - * '' : 'HVAC_model/CAN INPUT/Subsystem5/Subsystem' - * '' : 'HVAC_model/CAN INPUT/Subsystem6/Subsystem' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem10' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem11' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem12' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem13' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem14' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem15' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem16' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem17' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem4' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem5' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem6' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem7' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem8' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem9' - * '' : 'HVAC_model/LIN/CHANEL0' - * '' : 'HVAC_model/LIN/CHANEL1' - * '' : 'HVAC_model/LIN/CHANEL2' - * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL0/Homing' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL1/Homing' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action 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/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 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/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/PWM and valves in manual1/PWM in manual mode' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode ' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Write' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Write2' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Def' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Foor + Def' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Foot' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Hi_Level' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Tri-Level' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Def' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Foor + Def' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Foot' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Hi_Level' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Tri-Level' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Left AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Right AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Write1' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Left AF - manual directions/AF for Bi Level R' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Left AF - manual directions/AF for Foot R' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Left AF - manual directions/AF for Vent mode R' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Right AF - manual directions/AF for Bi Level R' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Right AF - manual directions/AF for Foot R' - * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Right AF - manual directions/AF for Vent mode R' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Left AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Right AF - manual directions' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Left AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Left AF - manual directions/AF for Foot' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Left AF - manual directions/valves for Vent mode' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Right AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Right AF - manual directions/AF for Foot' - * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/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/PWN/Write4' - * '' : '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/dbg CAN/ACP (duct sensors) to dbg' - * '' : 'HVAC_model/dbg CAN/actuators to dbg' - * '' : 'HVAC_model/dbg CAN/blower to dbg' - * '' : 'HVAC_model/dbg CAN/sen_eva (evaporator) to dbg' + * '' : 'HVAC_model/10.2 filter_sensor_ambient' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode' + * '' : 'HVAC_model/ACP' + * '' : 'HVAC_model/CAN INPUT' + * '' : 'HVAC_model/CAN OUTPUT' + * '' : 'HVAC_model/LIN' + * '' : 'HVAC_model/PWM and valves in manual1' + * '' : 'HVAC_model/PWN' + * '' : 'HVAC_model/Start control' + * '' : '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/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/Subsystem2/Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem3/Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem5/Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem6/Subsystem' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem10' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem11' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem12' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem13' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem14' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem15' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem16' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem17' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem4' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem5' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem6' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem7' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem8' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem9' + * '' : 'HVAC_model/LIN/CHANEL0' + * '' : 'HVAC_model/LIN/CHANEL1' + * '' : 'HVAC_model/LIN/CHANEL2' + * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL0/Homing' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL1/Homing' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' + * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Actuator_Ch1_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL2/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL2/Homing' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL2/stepr to percents' + * '' : 'HVAC_model/LIN/CHANEL2/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode ' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Write' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Write2' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Def' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Foor + Def' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Foot' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Hi_Level' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Tri-Level' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Left AF - manual directions/AF for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Def' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Foor + Def' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Foot' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Hi_Level' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Tri-Level' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem/Front Right AF - manual directions/AF for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Left AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Right AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Write1' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Left AF - manual directions/AF for Bi Level R' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Left AF - manual directions/AF for Foot R' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Left AF - manual directions/AF for Vent mode R' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Right AF - manual directions/AF for Bi Level R' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Right AF - manual directions/AF for Foot R' + * '' : 'HVAC_model/PWM and valves in manual1/PWM in manual mode/Subsystem1/Rear Right AF - manual directions/AF for Vent mode R' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Left Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem/Front Right Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Left AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Right AF - manual directions' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Left AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Left AF - manual directions/AF for Foot' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Left AF - manual directions/valves for Vent mode' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Right AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/Rear Right AF - manual directions/AF for Foot' + * '' : 'HVAC_model/PWM and valves in manual1/valves in manual mode /Subsystem1/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/PWN/Write4' + * '' : '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/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' */ #endif /* HVAC_model_h_ */ diff --git a/HVAC_model_data.c b/HVAC_model_data.c index df4c708..0d8225a 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.908 + * Model version : 1.923 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 12 13:50:19 2026 + * C/C++ source code generated on : Wed May 13 17:12:51 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,112 +89,10 @@ const ConstP rtConstP = { 0U }, - /* Expression: [1490 1490 1490 1490 1490 1490 1490 1490 1490 1490 1468 1428 1391 1359 1328 1301 1275 1252 1229 1208 1189 1170 1153 1136 1121 1105 1091 1077 1064 1052 1039 1028 1016 1006 995 985 975 966 956 947 939 930 922 914 906 898 891 884 877 870 863 856 850 843 837 831 825 819 814 808 802 797 792 786 781 776 771 766 762 757 752 748 743 739 734 730 726 722 718 713 709 706 702 698 694 690 686 683 679 676 672 669 665 662 658 655 652 648 645 642 639 636 633 629 626 623 620 618 615 612 609 606 603 600 598 595 592 590 587 584 582 579 577 574 572 569 567 564 562 559 557 555 552 550 548 545 543 541 538 536 534 532 529 527 525 523 521 519 517 515 512 510 508 506 504 502 500 498 496 494 492 490 489 487 485 483 481 479 477 475 474 472 470 468 466 465 463 461 459 458 456 454 452 451 449 447 446 444 442 441 439 437 436 434 432 431 429 428 426 424 423 421 420 418 417 415 414 412 411 409 408 406 405 403 402 400 399 397 396 394 393 391 390 389 387 386 384 383 382 380 379 377 376 375 373 372 371 369 368 367 365 364 363 361 360 359 357 356 355 354 352 351 350 348 347 346 345 343 342 341 340 338 337 336 335 333 332 331 330 329 327 326 325 324 323 321 320 319 318 317 316 314 313 312 311 310 309 307 306 305 304 303 302 301 300 298 297 296 295 294 293 292 291 290 288 287 286 285 284 283 282 281 280 279 278 277 276 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 205 204 203 202 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 185 185 184 183 182 181 180 179 178 177 177 176 175 174 173 172 171 170 169 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 156 155 154 153 152 151 150 150 149 148 147 146 145 145 144 143 142 141 140 139 139 138 137 136 135 134 134 133 132 131 130 129 128 128 127 126 125 124 123 123 122 121 120 119 119 118 117 116 115 114 114 113 112 111 110 109 109 108 107 106 105 105 104 103 102 101 100 100 99 98 97 96 96 95 94 93 92 92 91 90 89 88 87 87 86 85 84 83 83 82 81 80 79 79 78 77 76 75 74 74 73 72 71 70 70 69 68 67 66 66 65 64 63 62 62 61 60 59 58 58 57 56 55 54 54 53 52 51 50 50 49 48 47 46 46 45 44 43 42 42 41 40 39 38 38 37 36 35 34 34 33 32 31 30 30 29 28 27 26 26 25 24 23 22 21 21 20 19 18 17 17 16 15 14 13 13 12 11 10 9 9 8 7 6 5 5 4 3 2 1 1 0 0 -1 -2 -3 -3 -4 -5 -6 -7 -7 -8 -9 -10 -11 -12 -12 -13 -14 -15 -16 -16 -17 -18 -19 -20 -21 -21 -22 -23 -24 -25 -26 -26 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -41 -41 -42 -43 -44 -45 -46 -47 -47 -48 -49 -50 -51 -52 -52 -53 -54 -55 -56 -57 -58 -58 -59 -60 -61 -62 -63 -64 -65 -65 -66 -67 -68 -69 -70 -71 -72 -72 -73 -74 -75 -76 -77 -78 -79 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -176 -177 -178 -179 -180 -181 -182 -183 -184 -186 -187 -188 -189 -190 -191 -193 -194 -195 -196 -197 -198 -200 -201 -202 -203 -204 -206 -207 -208 -209 -210 -212 -213 -214 -215 -217 -218 -219 -220 -222 -223 -224 -226 -227 -228 -229 -231 -232 -233 -235 -236 -237 -239 -240 -242 -243 -244 -246 -247 -248 -250 -251 -253 -254 -256 -257 -258 -260 -261 -263 -264 -266 -267 -269 -270 -272 -274 -275 -277 -278 -280 -281 -283 -285 -286 -288 -289 -291 -293 -294 -296 -298 -300 -301 -303 -305 -307 -308 -310 -312 -314 -316 -317 -319 -321 -323 -325 -327 -329 -331 -333 -335 -337 -339 -341 -343 -345 -347 -349 -351 -354 -356 -358 -360 -363 -365 -367 -370 -372 -374 -377 -379 -382 -384 -387 -390 -392 -395 -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] - * Referenced by: '/1-D Lookup Table' - */ - { 1490.0, 1490.0, 1490.0, 1490.0, 1490.0, 1490.0, 1490.0, 1490.0, 1490.0, - 1490.0, 1468.0, 1428.0, 1391.0, 1359.0, 1328.0, 1301.0, 1275.0, 1252.0, - 1229.0, 1208.0, 1189.0, 1170.0, 1153.0, 1136.0, 1121.0, 1105.0, 1091.0, - 1077.0, 1064.0, 1052.0, 1039.0, 1028.0, 1016.0, 1006.0, 995.0, 985.0, 975.0, - 966.0, 956.0, 947.0, 939.0, 930.0, 922.0, 914.0, 906.0, 898.0, 891.0, 884.0, - 877.0, 870.0, 863.0, 856.0, 850.0, 843.0, 837.0, 831.0, 825.0, 819.0, 814.0, - 808.0, 802.0, 797.0, 792.0, 786.0, 781.0, 776.0, 771.0, 766.0, 762.0, 757.0, - 752.0, 748.0, 743.0, 739.0, 734.0, 730.0, 726.0, 722.0, 718.0, 713.0, 709.0, - 706.0, 702.0, 698.0, 694.0, 690.0, 686.0, 683.0, 679.0, 676.0, 672.0, 669.0, - 665.0, 662.0, 658.0, 655.0, 652.0, 648.0, 645.0, 642.0, 639.0, 636.0, 633.0, - 629.0, 626.0, 623.0, 620.0, 618.0, 615.0, 612.0, 609.0, 606.0, 603.0, 600.0, - 598.0, 595.0, 592.0, 590.0, 587.0, 584.0, 582.0, 579.0, 577.0, 574.0, 572.0, - 569.0, 567.0, 564.0, 562.0, 559.0, 557.0, 555.0, 552.0, 550.0, 548.0, 545.0, - 543.0, 541.0, 538.0, 536.0, 534.0, 532.0, 529.0, 527.0, 525.0, 523.0, 521.0, - 519.0, 517.0, 515.0, 512.0, 510.0, 508.0, 506.0, 504.0, 502.0, 500.0, 498.0, - 496.0, 494.0, 492.0, 490.0, 489.0, 487.0, 485.0, 483.0, 481.0, 479.0, 477.0, - 475.0, 474.0, 472.0, 470.0, 468.0, 466.0, 465.0, 463.0, 461.0, 459.0, 458.0, - 456.0, 454.0, 452.0, 451.0, 449.0, 447.0, 446.0, 444.0, 442.0, 441.0, 439.0, - 437.0, 436.0, 434.0, 432.0, 431.0, 429.0, 428.0, 426.0, 424.0, 423.0, 421.0, - 420.0, 418.0, 417.0, 415.0, 414.0, 412.0, 411.0, 409.0, 408.0, 406.0, 405.0, - 403.0, 402.0, 400.0, 399.0, 397.0, 396.0, 394.0, 393.0, 391.0, 390.0, 389.0, - 387.0, 386.0, 384.0, 383.0, 382.0, 380.0, 379.0, 377.0, 376.0, 375.0, 373.0, - 372.0, 371.0, 369.0, 368.0, 367.0, 365.0, 364.0, 363.0, 361.0, 360.0, 359.0, - 357.0, 356.0, 355.0, 354.0, 352.0, 351.0, 350.0, 348.0, 347.0, 346.0, 345.0, - 343.0, 342.0, 341.0, 340.0, 338.0, 337.0, 336.0, 335.0, 333.0, 332.0, 331.0, - 330.0, 329.0, 327.0, 326.0, 325.0, 324.0, 323.0, 321.0, 320.0, 319.0, 318.0, - 317.0, 316.0, 314.0, 313.0, 312.0, 311.0, 310.0, 309.0, 307.0, 306.0, 305.0, - 304.0, 303.0, 302.0, 301.0, 300.0, 298.0, 297.0, 296.0, 295.0, 294.0, 293.0, - 292.0, 291.0, 290.0, 288.0, 287.0, 286.0, 285.0, 284.0, 283.0, 282.0, 281.0, - 280.0, 279.0, 278.0, 277.0, 276.0, 274.0, 273.0, 272.0, 271.0, 270.0, 269.0, - 268.0, 267.0, 266.0, 265.0, 264.0, 263.0, 262.0, 261.0, 260.0, 259.0, 258.0, - 257.0, 256.0, 255.0, 254.0, 253.0, 252.0, 251.0, 250.0, 249.0, 248.0, 247.0, - 246.0, 245.0, 244.0, 243.0, 242.0, 241.0, 240.0, 239.0, 238.0, 237.0, 236.0, - 235.0, 234.0, 233.0, 232.0, 231.0, 230.0, 229.0, 228.0, 227.0, 226.0, 225.0, - 224.0, 223.0, 222.0, 221.0, 220.0, 219.0, 219.0, 218.0, 217.0, 216.0, 215.0, - 214.0, 213.0, 212.0, 211.0, 210.0, 209.0, 208.0, 207.0, 206.0, 205.0, 205.0, - 204.0, 203.0, 202.0, 201.0, 200.0, 199.0, 198.0, 197.0, 196.0, 195.0, 194.0, - 194.0, 193.0, 192.0, 191.0, 190.0, 189.0, 188.0, 187.0, 186.0, 185.0, 185.0, - 184.0, 183.0, 182.0, 181.0, 180.0, 179.0, 178.0, 177.0, 177.0, 176.0, 175.0, - 174.0, 173.0, 172.0, 171.0, 170.0, 169.0, 169.0, 168.0, 167.0, 166.0, 165.0, - 164.0, 163.0, 163.0, 162.0, 161.0, 160.0, 159.0, 158.0, 157.0, 156.0, 156.0, - 155.0, 154.0, 153.0, 152.0, 151.0, 150.0, 150.0, 149.0, 148.0, 147.0, 146.0, - 145.0, 145.0, 144.0, 143.0, 142.0, 141.0, 140.0, 139.0, 139.0, 138.0, 137.0, - 136.0, 135.0, 134.0, 134.0, 133.0, 132.0, 131.0, 130.0, 129.0, 128.0, 128.0, - 127.0, 126.0, 125.0, 124.0, 123.0, 123.0, 122.0, 121.0, 120.0, 119.0, 119.0, - 118.0, 117.0, 116.0, 115.0, 114.0, 114.0, 113.0, 112.0, 111.0, 110.0, 109.0, - 109.0, 108.0, 107.0, 106.0, 105.0, 105.0, 104.0, 103.0, 102.0, 101.0, 100.0, - 100.0, 99.0, 98.0, 97.0, 96.0, 96.0, 95.0, 94.0, 93.0, 92.0, 92.0, 91.0, - 90.0, 89.0, 88.0, 87.0, 87.0, 86.0, 85.0, 84.0, 83.0, 83.0, 82.0, 81.0, 80.0, - 79.0, 79.0, 78.0, 77.0, 76.0, 75.0, 74.0, 74.0, 73.0, 72.0, 71.0, 70.0, 70.0, - 69.0, 68.0, 67.0, 66.0, 66.0, 65.0, 64.0, 63.0, 62.0, 62.0, 61.0, 60.0, 59.0, - 58.0, 58.0, 57.0, 56.0, 55.0, 54.0, 54.0, 53.0, 52.0, 51.0, 50.0, 50.0, 49.0, - 48.0, 47.0, 46.0, 46.0, 45.0, 44.0, 43.0, 42.0, 42.0, 41.0, 40.0, 39.0, 38.0, - 38.0, 37.0, 36.0, 35.0, 34.0, 34.0, 33.0, 32.0, 31.0, 30.0, 30.0, 29.0, 28.0, - 27.0, 26.0, 26.0, 25.0, 24.0, 23.0, 22.0, 21.0, 21.0, 20.0, 19.0, 18.0, 17.0, - 17.0, 16.0, 15.0, 14.0, 13.0, 13.0, 12.0, 11.0, 10.0, 9.0, 9.0, 8.0, 7.0, - 6.0, 5.0, 5.0, 4.0, 3.0, 2.0, 1.0, 1.0, 0.0, 0.0, -1.0, -2.0, -3.0, -3.0, - -4.0, -5.0, -6.0, -7.0, -7.0, -8.0, -9.0, -10.0, -11.0, -12.0, -12.0, -13.0, - -14.0, -15.0, -16.0, -16.0, -17.0, -18.0, -19.0, -20.0, -21.0, -21.0, -22.0, - -23.0, -24.0, -25.0, -26.0, -26.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, -41.0, - -41.0, -42.0, -43.0, -44.0, -45.0, -46.0, -47.0, -47.0, -48.0, -49.0, -50.0, - -51.0, -52.0, -52.0, -53.0, -54.0, -55.0, -56.0, -57.0, -58.0, -58.0, -59.0, - -60.0, -61.0, -62.0, -63.0, -64.0, -65.0, -65.0, -66.0, -67.0, -68.0, -69.0, - -70.0, -71.0, -72.0, -72.0, -73.0, -74.0, -75.0, -76.0, -77.0, -78.0, -79.0, - -79.0, -80.0, -81.0, -82.0, -83.0, -84.0, -85.0, -86.0, -87.0, -88.0, -88.0, - -89.0, -90.0, -91.0, -92.0, -93.0, -94.0, -95.0, -96.0, -97.0, -98.0, -98.0, - -99.0, -100.0, -101.0, -102.0, -103.0, -104.0, -105.0, -106.0, -107.0, - -108.0, -109.0, -110.0, -111.0, -112.0, -112.0, -113.0, -114.0, -115.0, - -116.0, -117.0, -118.0, -119.0, -120.0, -121.0, -122.0, -123.0, -124.0, - -125.0, -126.0, -127.0, -128.0, -129.0, -130.0, -131.0, -132.0, -133.0, - -134.0, -135.0, -136.0, -137.0, -138.0, -139.0, -140.0, -141.0, -142.0, - -143.0, -144.0, -145.0, -146.0, -147.0, -148.0, -149.0, -150.0, -151.0, - -152.0, -153.0, -154.0, -155.0, -156.0, -157.0, -158.0, -159.0, -160.0, - -161.0, -163.0, -164.0, -165.0, -166.0, -167.0, -168.0, -169.0, -170.0, - -171.0, -172.0, -173.0, -174.0, -176.0, -177.0, -178.0, -179.0, -180.0, - -181.0, -182.0, -183.0, -184.0, -186.0, -187.0, -188.0, -189.0, -190.0, - -191.0, -193.0, -194.0, -195.0, -196.0, -197.0, -198.0, -200.0, -201.0, - -202.0, -203.0, -204.0, -206.0, -207.0, -208.0, -209.0, -210.0, -212.0, - -213.0, -214.0, -215.0, -217.0, -218.0, -219.0, -220.0, -222.0, -223.0, - -224.0, -226.0, -227.0, -228.0, -229.0, -231.0, -232.0, -233.0, -235.0, - -236.0, -237.0, -239.0, -240.0, -242.0, -243.0, -244.0, -246.0, -247.0, - -248.0, -250.0, -251.0, -253.0, -254.0, -256.0, -257.0, -258.0, -260.0, - -261.0, -263.0, -264.0, -266.0, -267.0, -269.0, -270.0, -272.0, -274.0, - -275.0, -277.0, -278.0, -280.0, -281.0, -283.0, -285.0, -286.0, -288.0, - -289.0, -291.0, -293.0, -294.0, -296.0, -298.0, -300.0, -301.0, -303.0, - -305.0, -307.0, -308.0, -310.0, -312.0, -314.0, -316.0, -317.0, -319.0, - -321.0, -323.0, -325.0, -327.0, -329.0, -331.0, -333.0, -335.0, -337.0, - -339.0, -341.0, -343.0, -345.0, -347.0, -349.0, -351.0, -354.0, -356.0, - -358.0, -360.0, -363.0, -365.0, -367.0, -370.0, -372.0, -374.0, -377.0, - -379.0, -382.0, -384.0, -387.0, -390.0, -392.0, -395.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 }, - /* 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]) * Referenced by: - * '/1-D Lookup Table' - * '/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, @@ -301,7 +199,7 @@ const ConstP rtConstP = { -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' + * 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, @@ -405,121 +303,12 @@ const ConstP rtConstP = { 1618.4, 1620.0, 1621.6, 1623.2, 1624.8, 1626.4, 1628.0, 1629.6, 1631.2, 1632.8 }, - /* Pooled Parameter (Expression: [849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 849 846 843 840 836 833 829 826 823 820 816 813 810 807 804 801 798 795 792 789 786 783 780 777 774 771 769 766 763 760 758 755 752 750 747 745 742 739 737 734 732 729 727 724 722 720 717 715 712 710 708 705 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 671 669 666 664 662 660 658 656 654 652 650 648 647 645 643 641 639 637 635 633 631 630 628 626 624 622 620 619 617 615 613 612 610 608 606 605 603 601 599 598 596 594 593 591 589 588 586 584 583 581 580 578 576 575 573 572 570 568 567 565 564 562 561 559 558 556 555 553 552 550 549 547 546 544 543 541 540 538 537 535 534 533 531 530 528 527 526 524 523 521 520 519 517 516 514 513 512 510 509 508 506 505 504 502 501 500 498 497 496 494 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 461 459 458 457 456 455 453 452 451 450 449 448 446 445 444 443 442 441 439 438 437 436 435 434 432 431 430 429 428 427 426 425 423 422 421 420 419 418 417 416 414 413 412 411 410 409 408 407 406 405 404 403 401 400 399 398 397 396 395 394 393 392 391 390 389 388 387 385 384 383 382 381 380 379 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 328 327 326 325 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 310 309 308 307 306 305 304 303 302 301 300 299 298 297 297 296 295 294 293 292 291 290 289 288 287 286 285 285 284 283 282 281 280 279 278 277 276 275 275 274 273 272 271 270 269 268 267 266 265 265 264 263 262 261 260 259 258 257 257 256 255 254 253 252 251 250 249 248 248 247 246 245 244 243 242 241 240 240 239 238 237 236 235 234 233 232 232 231 230 229 228 227 226 225 225 224 223 222 221 220 219 218 218 217 216 215 214 213 212 211 210 210 209 208 207 206 205 204 203 203 202 201 200 199 198 197 196 196 195 194 193 192 191 190 189 189 188 187 186 185 184 183 182 182 181 180 179 178 177 176 175 175 174 173 172 171 170 169 168 168 167 166 165 164 163 162 161 161 160 159 158 157 156 155 154 153 153 152 151 150 149 148 147 146 146 145 144 143 142 141 140 139 138 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 113 112 111 110 109 108 107 106 105 104 103 103 102 101 100 99 98 97 96 95 94 93 92 92 91 90 89 88 87 86 85 84 83 82 81 80 79 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 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 4 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -8 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -21 -22 -23 -24 -25 -26 -27 -28 -30 -31 -32 -33 -34 -35 -36 -38 -39 -40 -41 -42 -43 -45 -46 -47 -48 -49 -51 -52 -53 -54 -55 -57 -58 -59 -60 -62 -63 -64 -65 -67 -68 -69 -70 -72 -73 -74 -75 -77 -78 -79 -81 -82 -83 -85 -86 -87 -89 -90 -91 -93 -94 -95 -97 -98 -99 -101 -102 -104 -105 -106 -108 -109 -111 -112 -114 -115 -117 -118 -120 -121 -122 -124 -125 -127 -129 -130 -132 -133 -135 -136 -138 -139 -141 -143 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -178 -180 -182 -184 -186 -188 -190 -191 -193 -195 -197 -199 -201 -203 -205 -207 -209 -211 -214 -216 -218 -220 -222 -224 -227 -229 -231 -233 -236 -238 -240 -243 -245 -248 -250 -252 -255 -257 -260 -263 -265 -268 -271 -273 -276 -279 -282 -285 -287 -290 -293 -296 -299 -303 -306 -309 -312 -316 -319 -323 -326 -330 -333 -337 -341 -345 -349 -353 -357 -361 -365 -370 -374 -379 -384 -388 -393 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398 -398]) - * Referenced by: - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table6' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table5' - */ - { 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, 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, 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, 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, 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, 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, 846.0, 843.0, 840.0, 836.0, 833.0, 829.0, 826.0, 823.0, 820.0, 816.0, - 813.0, 810.0, 807.0, 804.0, 801.0, 798.0, 795.0, 792.0, 789.0, 786.0, 783.0, - 780.0, 777.0, 774.0, 771.0, 769.0, 766.0, 763.0, 760.0, 758.0, 755.0, 752.0, - 750.0, 747.0, 745.0, 742.0, 739.0, 737.0, 734.0, 732.0, 729.0, 727.0, 724.0, - 722.0, 720.0, 717.0, 715.0, 712.0, 710.0, 708.0, 705.0, 703.0, 701.0, 699.0, - 696.0, 694.0, 692.0, 690.0, 688.0, 685.0, 683.0, 681.0, 679.0, 677.0, 675.0, - 673.0, 671.0, 669.0, 666.0, 664.0, 662.0, 660.0, 658.0, 656.0, 654.0, 652.0, - 650.0, 648.0, 647.0, 645.0, 643.0, 641.0, 639.0, 637.0, 635.0, 633.0, 631.0, - 630.0, 628.0, 626.0, 624.0, 622.0, 620.0, 619.0, 617.0, 615.0, 613.0, 612.0, - 610.0, 608.0, 606.0, 605.0, 603.0, 601.0, 599.0, 598.0, 596.0, 594.0, 593.0, - 591.0, 589.0, 588.0, 586.0, 584.0, 583.0, 581.0, 580.0, 578.0, 576.0, 575.0, - 573.0, 572.0, 570.0, 568.0, 567.0, 565.0, 564.0, 562.0, 561.0, 559.0, 558.0, - 556.0, 555.0, 553.0, 552.0, 550.0, 549.0, 547.0, 546.0, 544.0, 543.0, 541.0, - 540.0, 538.0, 537.0, 535.0, 534.0, 533.0, 531.0, 530.0, 528.0, 527.0, 526.0, - 524.0, 523.0, 521.0, 520.0, 519.0, 517.0, 516.0, 514.0, 513.0, 512.0, 510.0, - 509.0, 508.0, 506.0, 505.0, 504.0, 502.0, 501.0, 500.0, 498.0, 497.0, 496.0, - 494.0, 493.0, 492.0, 491.0, 489.0, 488.0, 487.0, 485.0, 484.0, 483.0, 482.0, - 480.0, 479.0, 478.0, 477.0, 475.0, 474.0, 473.0, 472.0, 470.0, 469.0, 468.0, - 467.0, 465.0, 464.0, 463.0, 462.0, 461.0, 459.0, 458.0, 457.0, 456.0, 455.0, - 453.0, 452.0, 451.0, 450.0, 449.0, 448.0, 446.0, 445.0, 444.0, 443.0, 442.0, - 441.0, 439.0, 438.0, 437.0, 436.0, 435.0, 434.0, 432.0, 431.0, 430.0, 429.0, - 428.0, 427.0, 426.0, 425.0, 423.0, 422.0, 421.0, 420.0, 419.0, 418.0, 417.0, - 416.0, 414.0, 413.0, 412.0, 411.0, 410.0, 409.0, 408.0, 407.0, 406.0, 405.0, - 404.0, 403.0, 401.0, 400.0, 399.0, 398.0, 397.0, 396.0, 395.0, 394.0, 393.0, - 392.0, 391.0, 390.0, 389.0, 388.0, 387.0, 385.0, 384.0, 383.0, 382.0, 381.0, - 380.0, 379.0, 378.0, 377.0, 376.0, 375.0, 374.0, 373.0, 372.0, 371.0, 370.0, - 369.0, 368.0, 367.0, 366.0, 365.0, 364.0, 363.0, 362.0, 361.0, 360.0, 359.0, - 358.0, 357.0, 356.0, 355.0, 354.0, 353.0, 352.0, 351.0, 350.0, 349.0, 348.0, - 347.0, 346.0, 345.0, 344.0, 343.0, 342.0, 341.0, 340.0, 339.0, 338.0, 337.0, - 336.0, 335.0, 334.0, 333.0, 332.0, 331.0, 330.0, 329.0, 328.0, 328.0, 327.0, - 326.0, 325.0, 324.0, 323.0, 322.0, 321.0, 320.0, 319.0, 318.0, 317.0, 316.0, - 315.0, 314.0, 313.0, 312.0, 311.0, 310.0, 310.0, 309.0, 308.0, 307.0, 306.0, - 305.0, 304.0, 303.0, 302.0, 301.0, 300.0, 299.0, 298.0, 297.0, 297.0, 296.0, - 295.0, 294.0, 293.0, 292.0, 291.0, 290.0, 289.0, 288.0, 287.0, 286.0, 285.0, - 285.0, 284.0, 283.0, 282.0, 281.0, 280.0, 279.0, 278.0, 277.0, 276.0, 275.0, - 275.0, 274.0, 273.0, 272.0, 271.0, 270.0, 269.0, 268.0, 267.0, 266.0, 265.0, - 265.0, 264.0, 263.0, 262.0, 261.0, 260.0, 259.0, 258.0, 257.0, 257.0, 256.0, - 255.0, 254.0, 253.0, 252.0, 251.0, 250.0, 249.0, 248.0, 248.0, 247.0, 246.0, - 245.0, 244.0, 243.0, 242.0, 241.0, 240.0, 240.0, 239.0, 238.0, 237.0, 236.0, - 235.0, 234.0, 233.0, 232.0, 232.0, 231.0, 230.0, 229.0, 228.0, 227.0, 226.0, - 225.0, 225.0, 224.0, 223.0, 222.0, 221.0, 220.0, 219.0, 218.0, 218.0, 217.0, - 216.0, 215.0, 214.0, 213.0, 212.0, 211.0, 210.0, 210.0, 209.0, 208.0, 207.0, - 206.0, 205.0, 204.0, 203.0, 203.0, 202.0, 201.0, 200.0, 199.0, 198.0, 197.0, - 196.0, 196.0, 195.0, 194.0, 193.0, 192.0, 191.0, 190.0, 189.0, 189.0, 188.0, - 187.0, 186.0, 185.0, 184.0, 183.0, 182.0, 182.0, 181.0, 180.0, 179.0, 178.0, - 177.0, 176.0, 175.0, 175.0, 174.0, 173.0, 172.0, 171.0, 170.0, 169.0, 168.0, - 168.0, 167.0, 166.0, 165.0, 164.0, 163.0, 162.0, 161.0, 161.0, 160.0, 159.0, - 158.0, 157.0, 156.0, 155.0, 154.0, 153.0, 153.0, 152.0, 151.0, 150.0, 149.0, - 148.0, 147.0, 146.0, 146.0, 145.0, 144.0, 143.0, 142.0, 141.0, 140.0, 139.0, - 138.0, 138.0, 137.0, 136.0, 135.0, 134.0, 133.0, 132.0, 131.0, 130.0, 130.0, - 129.0, 128.0, 127.0, 126.0, 125.0, 124.0, 123.0, 122.0, 121.0, 121.0, 120.0, - 119.0, 118.0, 117.0, 116.0, 115.0, 114.0, 113.0, 113.0, 112.0, 111.0, 110.0, - 109.0, 108.0, 107.0, 106.0, 105.0, 104.0, 103.0, 103.0, 102.0, 101.0, 100.0, - 99.0, 98.0, 97.0, 96.0, 95.0, 94.0, 93.0, 92.0, 92.0, 91.0, 90.0, 89.0, 88.0, - 87.0, 86.0, 85.0, 84.0, 83.0, 82.0, 81.0, 80.0, 79.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, 66.0, 65.0, 64.0, 63.0, - 62.0, 61.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, 28.0, 27.0, 26.0, 25.0, - 24.0, 23.0, 22.0, 21.0, 20.0, 19.0, 18.0, 17.0, 16.0, 15.0, 14.0, 13.0, 12.0, - 11.0, 10.0, 9.0, 8.0, 7.0, 6.0, 4.0, 3.0, 2.0, 1.0, 0.0, 0.0, -1.0, -2.0, - -3.0, -4.0, -5.0, -6.0, -7.0, -8.0, -10.0, -11.0, -12.0, -13.0, -14.0, -15.0, - -16.0, -17.0, -18.0, -19.0, -21.0, -22.0, -23.0, -24.0, -25.0, -26.0, -27.0, - -28.0, -30.0, -31.0, -32.0, -33.0, -34.0, -35.0, -36.0, -38.0, -39.0, -40.0, - -41.0, -42.0, -43.0, -45.0, -46.0, -47.0, -48.0, -49.0, -51.0, -52.0, -53.0, - -54.0, -55.0, -57.0, -58.0, -59.0, -60.0, -62.0, -63.0, -64.0, -65.0, -67.0, - -68.0, -69.0, -70.0, -72.0, -73.0, -74.0, -75.0, -77.0, -78.0, -79.0, -81.0, - -82.0, -83.0, -85.0, -86.0, -87.0, -89.0, -90.0, -91.0, -93.0, -94.0, -95.0, - -97.0, -98.0, -99.0, -101.0, -102.0, -104.0, -105.0, -106.0, -108.0, -109.0, - -111.0, -112.0, -114.0, -115.0, -117.0, -118.0, -120.0, -121.0, -122.0, - -124.0, -125.0, -127.0, -129.0, -130.0, -132.0, -133.0, -135.0, -136.0, - -138.0, -139.0, -141.0, -143.0, -144.0, -146.0, -147.0, -149.0, -151.0, - -152.0, -154.0, -156.0, -157.0, -159.0, -161.0, -162.0, -164.0, -166.0, - -168.0, -169.0, -171.0, -173.0, -175.0, -177.0, -178.0, -180.0, -182.0, - -184.0, -186.0, -188.0, -190.0, -191.0, -193.0, -195.0, -197.0, -199.0, - -201.0, -203.0, -205.0, -207.0, -209.0, -211.0, -214.0, -216.0, -218.0, - -220.0, -222.0, -224.0, -227.0, -229.0, -231.0, -233.0, -236.0, -238.0, - -240.0, -243.0, -245.0, -248.0, -250.0, -252.0, -255.0, -257.0, -260.0, - -263.0, -265.0, -268.0, -271.0, -273.0, -276.0, -279.0, -282.0, -285.0, - -287.0, -290.0, -293.0, -296.0, -299.0, -303.0, -306.0, -309.0, -312.0, - -316.0, -319.0, -323.0, -326.0, -330.0, -333.0, -337.0, -341.0, -345.0, - -349.0, -353.0, -357.0, -361.0, -365.0, -370.0, -374.0, -379.0, -384.0, - -388.0, -393.0, -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, - -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, - -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, -398.0, - -398.0, -398.0, -398.0, -398.0, -398.0 }, - /* 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' + * '/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, @@ -627,58 +416,216 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ { 5U, 12U }, - /* Computed Parameter: uDLookupTable_tableData_h - * Referenced by: '/1-D Lookup Table' + /* Computed Parameter: uDLookupTable1_bp01Data + * Referenced by: '/1-D Lookup Table1' + */ + { 10, 50 }, + + /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) + * Referenced by: + * '/Get LVL for temp' + * '/1-D Lookup Table' */ { 5, 4, 3, 2, 1, 0 }, + /* Computed Parameter: GetLVLfortemp_bp01Data + * 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' + */ + { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 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 }, + + /* Pooled Parameter (Expression: [0:4:4095]) + * Referenced by: + * '/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, + 144, 148, 152, 156, 160, 164, 168, 172, 176, 180, 184, 188, 192, 196, 200, + 204, 208, 212, 216, 220, 224, 228, 232, 236, 240, 244, 248, 252, 256, 260, + 264, 268, 272, 276, 280, 284, 288, 292, 296, 300, 304, 308, 312, 316, 320, + 324, 328, 332, 336, 340, 344, 348, 352, 356, 360, 364, 368, 372, 376, 380, + 384, 388, 392, 396, 400, 404, 408, 412, 416, 420, 424, 428, 432, 436, 440, + 444, 448, 452, 456, 460, 464, 468, 472, 476, 480, 484, 488, 492, 496, 500, + 504, 508, 512, 516, 520, 524, 528, 532, 536, 540, 544, 548, 552, 556, 560, + 564, 568, 572, 576, 580, 584, 588, 592, 596, 600, 604, 608, 612, 616, 620, + 624, 628, 632, 636, 640, 644, 648, 652, 656, 660, 664, 668, 672, 676, 680, + 684, 688, 692, 696, 700, 704, 708, 712, 716, 720, 724, 728, 732, 736, 740, + 744, 748, 752, 756, 760, 764, 768, 772, 776, 780, 784, 788, 792, 796, 800, + 804, 808, 812, 816, 820, 824, 828, 832, 836, 840, 844, 848, 852, 856, 860, + 864, 868, 872, 876, 880, 884, 888, 892, 896, 900, 904, 908, 912, 916, 920, + 924, 928, 932, 936, 940, 944, 948, 952, 956, 960, 964, 968, 972, 976, 980, + 984, 988, 992, 996, 1000, 1004, 1008, 1012, 1016, 1020, 1024, 1028, 1032, + 1036, 1040, 1044, 1048, 1052, 1056, 1060, 1064, 1068, 1072, 1076, 1080, 1084, + 1088, 1092, 1096, 1100, 1104, 1108, 1112, 1116, 1120, 1124, 1128, 1132, 1136, + 1140, 1144, 1148, 1152, 1156, 1160, 1164, 1168, 1172, 1176, 1180, 1184, 1188, + 1192, 1196, 1200, 1204, 1208, 1212, 1216, 1220, 1224, 1228, 1232, 1236, 1240, + 1244, 1248, 1252, 1256, 1260, 1264, 1268, 1272, 1276, 1280, 1284, 1288, 1292, + 1296, 1300, 1304, 1308, 1312, 1316, 1320, 1324, 1328, 1332, 1336, 1340, 1344, + 1348, 1352, 1356, 1360, 1364, 1368, 1372, 1376, 1380, 1384, 1388, 1392, 1396, + 1400, 1404, 1408, 1412, 1416, 1420, 1424, 1428, 1432, 1436, 1440, 1444, 1448, + 1452, 1456, 1460, 1464, 1468, 1472, 1476, 1480, 1484, 1488, 1492, 1496, 1500, + 1504, 1508, 1512, 1516, 1520, 1524, 1528, 1532, 1536, 1540, 1544, 1548, 1552, + 1556, 1560, 1564, 1568, 1572, 1576, 1580, 1584, 1588, 1592, 1596, 1600, 1604, + 1608, 1612, 1616, 1620, 1624, 1628, 1632, 1636, 1640, 1644, 1648, 1652, 1656, + 1660, 1664, 1668, 1672, 1676, 1680, 1684, 1688, 1692, 1696, 1700, 1704, 1708, + 1712, 1716, 1720, 1724, 1728, 1732, 1736, 1740, 1744, 1748, 1752, 1756, 1760, + 1764, 1768, 1772, 1776, 1780, 1784, 1788, 1792, 1796, 1800, 1804, 1808, 1812, + 1816, 1820, 1824, 1828, 1832, 1836, 1840, 1844, 1848, 1852, 1856, 1860, 1864, + 1868, 1872, 1876, 1880, 1884, 1888, 1892, 1896, 1900, 1904, 1908, 1912, 1916, + 1920, 1924, 1928, 1932, 1936, 1940, 1944, 1948, 1952, 1956, 1960, 1964, 1968, + 1972, 1976, 1980, 1984, 1988, 1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020, + 2024, 2028, 2032, 2036, 2040, 2044, 2048, 2052, 2056, 2060, 2064, 2068, 2072, + 2076, 2080, 2084, 2088, 2092, 2096, 2100, 2104, 2108, 2112, 2116, 2120, 2124, + 2128, 2132, 2136, 2140, 2144, 2148, 2152, 2156, 2160, 2164, 2168, 2172, 2176, + 2180, 2184, 2188, 2192, 2196, 2200, 2204, 2208, 2212, 2216, 2220, 2224, 2228, + 2232, 2236, 2240, 2244, 2248, 2252, 2256, 2260, 2264, 2268, 2272, 2276, 2280, + 2284, 2288, 2292, 2296, 2300, 2304, 2308, 2312, 2316, 2320, 2324, 2328, 2332, + 2336, 2340, 2344, 2348, 2352, 2356, 2360, 2364, 2368, 2372, 2376, 2380, 2384, + 2388, 2392, 2396, 2400, 2404, 2408, 2412, 2416, 2420, 2424, 2428, 2432, 2436, + 2440, 2444, 2448, 2452, 2456, 2460, 2464, 2468, 2472, 2476, 2480, 2484, 2488, + 2492, 2496, 2500, 2504, 2508, 2512, 2516, 2520, 2524, 2528, 2532, 2536, 2540, + 2544, 2548, 2552, 2556, 2560, 2564, 2568, 2572, 2576, 2580, 2584, 2588, 2592, + 2596, 2600, 2604, 2608, 2612, 2616, 2620, 2624, 2628, 2632, 2636, 2640, 2644, + 2648, 2652, 2656, 2660, 2664, 2668, 2672, 2676, 2680, 2684, 2688, 2692, 2696, + 2700, 2704, 2708, 2712, 2716, 2720, 2724, 2728, 2732, 2736, 2740, 2744, 2748, + 2752, 2756, 2760, 2764, 2768, 2772, 2776, 2780, 2784, 2788, 2792, 2796, 2800, + 2804, 2808, 2812, 2816, 2820, 2824, 2828, 2832, 2836, 2840, 2844, 2848, 2852, + 2856, 2860, 2864, 2868, 2872, 2876, 2880, 2884, 2888, 2892, 2896, 2900, 2904, + 2908, 2912, 2916, 2920, 2924, 2928, 2932, 2936, 2940, 2944, 2948, 2952, 2956, + 2960, 2964, 2968, 2972, 2976, 2980, 2984, 2988, 2992, 2996, 3000, 3004, 3008, + 3012, 3016, 3020, 3024, 3028, 3032, 3036, 3040, 3044, 3048, 3052, 3056, 3060, + 3064, 3068, 3072, 3076, 3080, 3084, 3088, 3092, 3096, 3100, 3104, 3108, 3112, + 3116, 3120, 3124, 3128, 3132, 3136, 3140, 3144, 3148, 3152, 3156, 3160, 3164, + 3168, 3172, 3176, 3180, 3184, 3188, 3192, 3196, 3200, 3204, 3208, 3212, 3216, + 3220, 3224, 3228, 3232, 3236, 3240, 3244, 3248, 3252, 3256, 3260, 3264, 3268, + 3272, 3276, 3280, 3284, 3288, 3292, 3296, 3300, 3304, 3308, 3312, 3316, 3320, + 3324, 3328, 3332, 3336, 3340, 3344, 3348, 3352, 3356, 3360, 3364, 3368, 3372, + 3376, 3380, 3384, 3388, 3392, 3396, 3400, 3404, 3408, 3412, 3416, 3420, 3424, + 3428, 3432, 3436, 3440, 3444, 3448, 3452, 3456, 3460, 3464, 3468, 3472, 3476, + 3480, 3484, 3488, 3492, 3496, 3500, 3504, 3508, 3512, 3516, 3520, 3524, 3528, + 3532, 3536, 3540, 3544, 3548, 3552, 3556, 3560, 3564, 3568, 3572, 3576, 3580, + 3584, 3588, 3592, 3596, 3600, 3604, 3608, 3612, 3616, 3620, 3624, 3628, 3632, + 3636, 3640, 3644, 3648, 3652, 3656, 3660, 3664, 3668, 3672, 3676, 3680, 3684, + 3688, 3692, 3696, 3700, 3704, 3708, 3712, 3716, 3720, 3724, 3728, 3732, 3736, + 3740, 3744, 3748, 3752, 3756, 3760, 3764, 3768, 3772, 3776, 3780, 3784, 3788, + 3792, 3796, 3800, 3804, 3808, 3812, 3816, 3820, 3824, 3828, 3832, 3836, 3840, + 3844, 3848, 3852, 3856, 3860, 3864, 3868, 3872, 3876, 3880, 3884, 3888, 3892, + 3896, 3900, 3904, 3908, 3912, 3916, 3920, 3924, 3928, 3932, 3936, 3940, 3944, + 3948, 3952, 3956, 3960, 3964, 3968, 3972, 3976, 3980, 3984, 3988, 3992, 3996, + 4000, 4004, 4008, 4012, 4016, 4020, 4024, 4028, 4032, 4036, 4040, 4044, 4048, + 4052, 4056, 4060, 4064, 4068, 4072, 4076, 4080, 4084, 4088, 4092 }, + /* 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_c - * Referenced by: '/Data Store Memory13' + /* Computed Parameter: DataStoreMemory13_InitialValue_i + * Referenced by: '/Data Store Memory13' */ { 1225, 1320, 1270, 1540, 1480, 1175, 0, 0, 0 }, - /* Computed Parameter: DataStoreMemory13_InitialValue_cb - * Referenced by: '/Data Store Memory13' + /* Computed Parameter: DataStoreMemory13_InitialValue_l + * 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 Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table6' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' + * '/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 Table1' */ { 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, @@ -772,42 +719,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_d - * Referenced by: '/ACT1' + /* Computed Parameter: ACT1_Value_c + * Referenced by: '/ACT1' */ { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, - /* Computed Parameter: ACT1_Value_o - * Referenced by: '/ACT1' + /* Computed Parameter: ACT1_Value_m + * 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' + * '/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_j - * Referenced by: '/Constant3' + /* Computed Parameter: Constant3_Value_d + * 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 0bd0359..8b8d3c4 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.908 + * Model version : 1.923 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 12 13:50:19 2026 + * C/C++ source code generated on : Wed May 13 17:12:51 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -73,18 +73,34 @@ preprocessor word size checks. #endif /* Skipping ulong_long/long_long check: insufficient preprocessor integer range. */ -extern double rt_roundd(double u); -extern uint16_t look1_iu16bs16lu64n32_binlcse(uint16_t u0, const int16_t bp0[], - const uint16_t table[], uint32_t maxIndex); -extern uint32_t binsearch_u32s16(int16_t u, const int16_t bp[], uint32_t +extern double rt_roundd(double u_0); +extern int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t + bp0[], const uint16_t table[], uint32_t maxIndex); +extern uint32_t binsearch_u32s16(int16_t u_2, const int16_t bp[], uint32_t startIndex, uint32_t maxIndex); extern uint8_t look2_iu8bu8s16lu64n32_binlcse(uint8_t u0, uint8_t u1, const uint8_t bp0[], const int16_t bp1[], const uint8_t table[], const uint32_t maxIndex[], uint32_t stride); extern int16_t look1_iu16tdIs16_binlcs(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex); -extern uint32_t plook_u32s16_bincka(int16_t u, const int16_t bp[], uint32_t +extern double look1_is16td_binlc(int16_t u0, const int16_t bp0[], const double + table[], uint32_t maxIndex); +extern int16_t look1_iu16bs16lu64n32ts16Ds32_binlcs(uint16_t u0, const int16_t + bp0[], const int16_t table[], uint32_t maxIndex); +extern uint32_t plook_u32s16_bincka(int16_t u_3, const int16_t bp[], uint32_t maxIndex); +extern void u(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING); +extern void u_d(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const + double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT); +extern void u_c(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, + const double *rtd_AMB_store, double + *rtd_KEEP_FALLING_UNTIL_LIMIT); +extern void u_b(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING); +extern void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL); +extern void u_h(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const + double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT); +extern void u_a(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, + const double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT); extern void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t *rty_vals); extern void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, @@ -109,7 +125,7 @@ extern void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1 [9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR); extern void left(uint8_t rtu_idx, uint16_t rty_vals[9]); extern void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private, - double *rtd_Start_timer_i, int8_t *rtd_stepSig_private); + double *rtd_Start_timer_n, int8_t *rtd_stepSig_private); extern void MATLABFunction_Init(DW_MATLABFunction *localDW); extern void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, DW_MATLABFunction *localDW); @@ -118,7 +134,6 @@ extern void IfActionSubsystem1(int8_t *rty_Output, uint8_t rtd_ErrorActuator[9], uint8_t rtd_ErrorCalibration_private[9], const double *rtd_LOGGER_LIN, uint8_t rtd_MODE_private[9], uint8_t rtd_dtc_state_error_model[127]); -extern void IfActionSubsystem1_l(int8_t *rty_Out1, double *rtd_Start_timer_l); extern void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out); @@ -138,7 +153,7 @@ extern void AFforBiLevel_m(uint16_t rty_out[6]); extern void valvesforVentmode(uint16_t rty_out[6]); extern void g_assSTART_ENTER_INCAR_j(uint8_t rtu_LVL, int16_t *rty_out); extern void g_assSTART_ENTER_COOLANT_p(uint8_t rtu_LVL, int16_t *rty_out); -extern void Level4(int8_t *rty_step1, const uint16_t *rtd_ECT, const uint8_t +extern void Level4(int8_t *rty_step1, const int16_t *rtd_ECT, const uint8_t *rtd_LEVEL, const double *rtd_MODE_DRIVER); extern void Level0(int8_t *rty_step); extern void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out); @@ -156,8 +171,8 @@ extern void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]); extern void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]); extern void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t *rtd_Blower_FR, uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR, - uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR, const uint16_t * - rtd_ECT, uint8_t *rtd_El_window_heating, const int16_t + 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, @@ -190,7 +205,7 @@ extern void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front); extern void g_ausSTART_ENTER_SETTEMP_b(uint8_t rtu_LVL, int16_t *rty_out); extern void g_assSTART_ENTER_INCAR_p(uint8_t rtu_LVL, int16_t *rty_out); extern void g_assSTART_ENTER_COOLANT_e(uint8_t rtu_LVL, int16_t *rty_out); -extern void Level4_e(int8_t *rty_step1, const uint16_t *rtd_ECT, const int16_t +extern void Level4_e(int8_t *rty_step1, const int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, const uint8_t *rtd_LEVEL, const double *rtd_MODE_RR_passenger); extern void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out); @@ -198,7 +213,7 @@ extern void incarfilterup_i(uint8_t rtu_LVL, uint8_t *rty_out); extern void g_assSTART_COOLANT_STEP0_TO_1_e(uint8_t rtu_LVL, int16_t *rty_out); extern void Level4_m(int8_t *rty_step1, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, - const uint16_t *rtd_ECT, uint8_t + 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 @@ -221,7 +236,7 @@ extern void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]); extern void ECTminmax_l(uint8_t rtu_LVL, int16_t rty_out[2]); extern void Level4_d(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, - const uint16_t *rtd_ECT, const int16_t *rtd_Incar_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 diff --git a/HVAC_model_types.h b/HVAC_model_types.h index 4984848..195157d 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.908 + * Model version : 1.923 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue May 12 13:50:19 2026 + * C/C++ source code generated on : Wed May 13 17:12:51 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -77,6 +77,111 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_CCUCAN_BCM_Powertrain_Bus_ +#define DEFINED_TYPEDEF_FOR_CCUCAN_BCM_Powertrain_Bus_ + +typedef struct { + uint16_t BCM_AmbTempRaw_ro; + uint16_t AvgFuelLvl_ro; + uint8_t BCM_T50_Request; + uint8_t RemoteICEStartReq; + uint8_t BCM_HVAC_Pump_Req; + uint8_t BCM_Powertrain_RC; + uint8_t BCM_VAU_Authorization_Req; + uint8_t BCM_Powertrain_CS; +} CCUCAN_BCM_Powertrain_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_CCUCAN_BCM_Climatic_Bus_ +#define DEFINED_TYPEDEF_FOR_CCUCAN_BCM_Climatic_Bus_ + +typedef struct { + uint8_t SolarSensRightVal_ro; + uint8_t BCM_WipeLowTempWarn_Req; + uint8_t FrontWindowHeating_Status; + uint8_t RearWindowHeating_Status; + uint8_t SWM_Heating_Req; + uint8_t BCM_RearWindowHeating_Cmd; + uint8_t BCM_SteerWheelHeating_Stat; + uint8_t RainDetected; + uint8_t SolarSensLeftVal_ro; + uint8_t SideWindowHeating_Status; + uint8_t BCM_Wiper_Stat; + uint8_t BCM_SideWindowType_Stat; + uint8_t BCM_MirrorHeating_Cmd; + uint8_t BCM_WindowWashingSt; + uint8_t BCM_GloveBox_Stat; + uint8_t RainDensity; + uint8_t WindshieldTemp_ro; + uint8_t WindshieldHumidity_ro; +} CCUCAN_BCM_Climatic_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_CCUCAN_EMS_Veh_Bus_ +#define DEFINED_TYPEDEF_FOR_CCUCAN_EMS_Veh_Bus_ + +typedef struct { + uint16_t EMS_nICEngineSpeed3_Val_ro; + uint8_t EMS_EngCoolTemp_Val_ro; + uint8_t EMS_BARO_ENG_Val; + uint8_t EMS_AccelPdlPosnOBD_Val; + uint16_t EMS_EngTrqStatic_Val_ro; + uint8_t EMS_HvSystemFailure; + uint8_t EMS_CoolLiquidLowWarning; + uint8_t EMS_InstFuelConsumption; +} CCUCAN_EMS_Veh_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_CCUCAN_ESC_04_Bus_ +#define DEFINED_TYPEDEF_FOR_CCUCAN_ESC_04_Bus_ + +typedef struct { + uint16_t ESC_VehicleSpeed_ro; + uint8_t ESC_VehicleSpeed_ValueError; + uint8_t ESC_Lamp; + uint8_t ESC_AVH_Active; + uint8_t ESC_Bls_Out; + uint8_t ESC_Bla; + uint8_t ESC_ABS_Lamp; + uint8_t ESC_EBD_Lamp; + uint8_t ESC_TCS_Fault; + uint8_t ESC_CDPDecelActive; + uint8_t ESC_BLS_Fault; + uint8_t ESC_CtlActiveAbs; + uint8_t ESC_CtlActiveEbd; + uint8_t ESC_CtlActiveTcs; + uint8_t ESC_CtlActiveVdc; + uint8_t ESC_Passive_Lamp; + uint8_t ESC_Gearshift_Inhibit; + uint8_t ESC_HDC_Activated; + uint8_t ESC_CtlActiveHDC; + uint8_t ESC_HDC_rejected; + uint8_t ESC_EmergencyBraking; + uint8_t ESC_RequestToEPB; + uint8_t ESC_CDPDecelAvailable; + uint8_t ESC_PEBWarningLampReq; + uint8_t ESC_HDC_SpeedLimit; + uint8_t CddActive_2; + uint8_t ESC_04_RC; + uint8_t ESC_04_CS; +} CCUCAN_ESC_04_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Amb_Bus_ +#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Amb_Bus_ + +typedef struct { + int16_t dbg_Sen_Amb_ro; + int16_t dbg_Sen_Amb_Raw_ro; + int16_t dbg_Amb_Tg_ro; +} dbgCAN_dbg_Sen_Amb_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_CmdBusError_ #define DEFINED_TYPEDEF_FOR_CmdBusError_