From 4bef57a093400bd34d04997abea80901ea314ee7 Mon Sep 17 00:00:00 2001 From: cfif Date: Thu, 14 May 2026 12:08:33 +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 | 18509 ++++++++++++++++++++++++----------------- HVAC_model.h | 4973 ++++++----- HVAC_model_data.c | 108 +- HVAC_model_private.h | 42 +- HVAC_model_types.h | 4 +- 5 files changed, 13729 insertions(+), 9907 deletions(-) diff --git a/HVAC_model.c b/HVAC_model.c index ab1c036..504c1ff 100644 --- a/HVAC_model.c +++ b/HVAC_model.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.923 + * Model version : 1.925 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed May 13 17:12:51 2026 + * C/C++ source code generated on : Thu May 14 11:35:21 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -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' */ @@ -246,7 +246,7 @@ int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t bp0[], 32) + (int16_t)yL_0d0); } -uint32_t binsearch_u32s16(int16_t u_2, const int16_t bp[], uint32_t startIndex, +uint32_t binsearch_u32s16(int16_t u_3, const int16_t bp[], uint32_t startIndex, uint32_t maxIndex) { uint32_t bpIdx; @@ -258,7 +258,7 @@ uint32_t binsearch_u32s16(int16_t u_2, const int16_t bp[], uint32_t startIndex, bpIndex = 0U; iRght = maxIndex; while (iRght - bpIndex > 1U) { - if (u_2 < bp[bpIdx]) { + if (u_3 < bp[bpIdx]) { iRght = bpIdx; } else { bpIndex = bpIdx; @@ -270,6 +270,218 @@ uint32_t binsearch_u32s16(int16_t u_2, const int16_t bp[], uint32_t startIndex, return bpIndex; } +int16_t look1_is16lu64n32Ds32_binlcn(int16_t u0, const int16_t bp0[], const + int16_t table[], uint32_t maxIndex) +{ + uint64_t frac; + uint32_t iLeft; + int16_t bpLeftVar; + + /* 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: 'nearest' + */ + /* 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: 'nearest' + */ + if (u0 <= bp0[0U]) { + iLeft = 0U; + frac = 0ULL; + } else if (u0 < bp0[maxIndex]) { + uint32_t bpIdx; + uint32_t iRght; + + /* Binary Search */ + bpIdx = maxIndex >> 1U; + iLeft = 0U; + iRght = maxIndex; + while (iRght - iLeft > 1U) { + if (u0 < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + bpLeftVar = bp0[iLeft]; + bpIdx = (uint32_t)(bp0[iLeft + 1U] - bpLeftVar); + frac = (((uint64_t)(uint32_t)(u0 - bpLeftVar) << 32) + ((uint64_t)bpIdx >> 1)) + / bpIdx; + } 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: 'nearest' + Overflow mode: 'wrapping' + */ + bpLeftVar = table[iLeft]; + return (int16_t)((int16_t)(((table[iLeft + 1U] - bpLeftVar) * (int64_t)frac + + 2147483648LL) >> 32) + bpLeftVar); +} + +double look1_bs16ts16DdId_binlc(double u0, const int16_t bp0[], const int16_t + table[], uint32_t maxIndex) +{ + double frac; + uint32_t iLeft; + int16_t uCast; + + /* 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' + */ + frac = floor(u0); + if (frac < 32768.0) { + if (frac >= -32768.0) { + uCast = (int16_t)frac; + } else { + uCast = INT16_MIN; + } + } else { + uCast = INT16_MAX; + } + + 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 (uCast < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + frac = (u0 - (double)bp0[iLeft]) / (double)(uint32_t)(bp0[iLeft + 1U] - + bp0[iLeft]); + } 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' + */ + uCast = table[iLeft]; + return ((double)table[iLeft + 1U] - (double)uCast) * frac + (double)uCast; +} + +int16_t look1_is16bdlu64n48Ds32_binlcn(int16_t u0, const double bp0[], const + int16_t table[], uint32_t maxIndex) +{ + int64_t tmp; + uint64_t frac; + uint32_t iLeft; + int16_t yL_0d0; + + /* Column-major Lookup 1-D + Search method: 'binary' + Use previous index: 'off' + Interpolation method: 'Linear point-slope' + Extrapolation method: 'Clip' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'nearest' + */ + /* 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: 'nearest' + */ + if (u0 < bp0[0U]) { + iLeft = 0U; + frac = 0ULL; + } else if (u0 < bp0[maxIndex]) { + double u_4; + double v; + 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; + } + + u_4 = ((double)u0 - bp0[iLeft]) / (bp0[iLeft + 1U] - bp0[iLeft]) * + 2.81474976710656E+14; + v = fabs(u_4); + if (v < 4.503599627370496E+15) { + if (v >= 0.5) { + u_4 = floor(u_4 + 0.5); + } else { + u_4 = 0.0; + } + } + + frac = (uint64_t)u_4; + } else { + iLeft = maxIndex - 1U; + frac = 281474976710656ULL; + } + + /* Column-major Interpolation 1-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Rounding mode: 'nearest' + Overflow mode: 'wrapping' + */ + yL_0d0 = table[iLeft]; + tmp = (table[iLeft + 1U] - yL_0d0) * (int64_t)frac; + return (int16_t)((int16_t)(((tmp & 140737488355328LL) != 0LL) + (tmp >> 48)) + + yL_0d0); +} + 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) @@ -625,7 +837,7 @@ int16_t look1_iu16bs16lu64n32ts16Ds32_binlcs(uint16_t u0, const int16_t bp0[], 32) + yL_0d0); } -uint32_t plook_u32s16_bincka(int16_t u_3, const int16_t bp[], uint32_t maxIndex) +uint32_t plook_u32s16_bincka(int16_t u_5, const int16_t bp[], uint32_t maxIndex) { uint32_t bpIndex; @@ -636,10 +848,10 @@ uint32_t plook_u32s16_bincka(int16_t u_3, 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_3 <= bp[0U]) { + if (u_5 <= bp[0U]) { bpIndex = 0U; - } else if (u_3 < bp[maxIndex]) { - bpIndex = binsearch_u32s16(u_3, bp, maxIndex >> 1U, maxIndex); + } else if (u_5 < bp[maxIndex]) { + bpIndex = binsearch_u32s16(u_5, bp, maxIndex >> 1U, maxIndex); } else { bpIndex = maxIndex; } @@ -649,12 +861,12 @@ uint32_t plook_u32s16_bincka(int16_t u_3, const int16_t bp[], uint32_t maxIndex) /* * Output and update for atomic system: - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' */ void u(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) { @@ -671,130 +883,130 @@ void u(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) /* * Output and update for action system: - * '/включен ускоренный режим' - * '/включен ускоренный режим' - * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' */ void u_d(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT) { int32_t tmp; - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(8); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_FALLING_DIFF[7]) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное понижение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное понижение темп.' + * Merge: '/Merge' */ u(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/ускоренное повышение темп.' */ + /* MATLAB Function: '/ускоренное повышение темп.' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ tmp = rtu_lvl + 1; if (rtu_lvl + 1 > 32767) { tmp = 32767; } - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' */ *rty_out = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of 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 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) { @@ -811,12 +1023,12 @@ void u_b(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) /* * Output and update for atomic system: - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' */ void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) { @@ -833,108 +1045,108 @@ void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) /* * Output and update for action system: - * '/включен ускоренный режим' - * '/включен ускоренный режим' - * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' */ void u_h(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(8); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_RISING_DIFF[7]) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_RISING_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' */ u_b(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' */ u_g(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of 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 Outputs for SubSystem: '/Продолжаем в ускоренном' */ } /* End of If: '/If' */ } +/* + * Output and update for action system: + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + */ +void u_a(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, const + double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT) +{ + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(7); */ + if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_RISING_DIFF[6]) + { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + *rtd_KEEP_RISING_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + */ + u_g(rtu_lvl, rty_riseperminute); + + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' + */ + u_b(rtu_lvl, rty_riseperminute); + + /* End of Outputs for SubSystem: '/обычный режим повышения' */ + } + + /* End of If: '/If' */ +} + /* * Output and update for atomic system: - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_for_LVL' */ void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t *rty_vals) @@ -979,12 +1191,12 @@ void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t /* * Output and update for atomic system: - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' */ void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t * rty_vals) @@ -1029,10 +1241,10 @@ void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t /* * Output and update for atomic system: - * '/g_assFLOW_BI_AMB_TGT' * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' */ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT) { @@ -1049,8 +1261,8 @@ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT /* * Output and update for action system: - * '/Bilevel' * '/Bilevel' + * '/Bilevel' */ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -1073,55 +1285,55 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_BI_TEMP_TGT = g_assFLOW_BI_TEMP_TGT(LVL + 1); */ get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_fou); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ rtb_u_fou = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp_0 - 1] - rtb_u_fou); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_fou; rtb_X = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_BI_FOOT_PLUS = g_aucFLOW_BI_FOOT_PLUS(LVL + 1); */ if (rtb_X >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_BI_FOOT_PLUS[tmp_0 - 1] * rtb_X * 13107; rtb_FLF_NEW = (uint16_t)((int16_t)rty_Out1[4] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_FOOT_VALVE_MAX = g_aucFLOW_BI_FOOT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1131,10 +1343,10 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n = g_aucFLOW_BI_FOOT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN(LVL +1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1144,14 +1356,14 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' */ - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_BI_TEMP_TGT = g_assFLOW_BI_TEMP_TGT(LVL + 1 + 6); */ get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_fou); - /* MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1163,26 +1375,26 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' */ rtb_u_fou = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp - 1] - rtb_u_fou); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_fou; rtb_X = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_BI_FOOT_PLUS = g_aucFLOW_BI_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X >= 0) { rtb_FRF_NEW = rty_Out1[6]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1194,19 +1406,19 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_BI_FOOT_PLUS[tmp - 1] * rtb_X * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_FOOT_VALVE_MAX = g_aucFLOW_BI_FOOT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1221,10 +1433,10 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX = g_aucFLOW_BI_FOOT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1239,46 +1451,46 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI_VENT_PLUS = g_aucFLOW_BI_VENT_PLUS(LVL + 1); */ g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_fou); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ tmp = (int16_t)(rtb_u_fou - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ rtb_u_fou = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && ((((uint32_t)tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) ((g_aucFLOW_BI_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ rtb_Switch2_a_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_fou) >> 1) << 1); rtb_Switch2_a_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_fou) >> 1) << 1); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MAX = g_aucFLOW_BI_VENT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1288,10 +1500,10 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h = g_aucFLOW_BI_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MIN = g_aucFLOW_BI_VENT_VALVE_MIN(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1301,14 +1513,14 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a = g_aucFLOW_BI_VENT_VALVE_MIN[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI_VENT_PLUS = g_aucFLOW_BI_VENT_PLUS(LVL + 1 + 6); */ g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_fou); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1320,23 +1532,23 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ tmp_0 = (int16_t)(rtb_u_fou - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ rtb_u_fou = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)) * (int32_t)((g_aucFLOW_BI_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11)); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MAX = g_aucFLOW_BI_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1351,10 +1563,10 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX = g_aucFLOW_BI_VENT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MIN = g_aucFLOW_BI_VENT_VALVE_MIN(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1369,175 +1581,175 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN = g_aucFLOW_BI_VENT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ rtb_Switch2_c_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_fou) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_a_idx_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h; } else if (rtb_Switch2_a_idx_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[0] = rtb_Switch2_a_idx_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_c_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX; } else if (rtb_Switch2_c_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[2] = rtb_Switch2_c_0; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ rtb_Switch2_c_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_fou) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_a_idx_1 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h; } else if (rtb_Switch2_a_idx_1 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[1] = rtb_Switch2_a_idx_1; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_c_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX; } else if (rtb_Switch2_c_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[3] = rtb_Switch2_c_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n) { - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n; } else if (rtb_FLF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [5]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [5]' + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[4] = rtb_FLF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX) { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX; } else if (rtb_FRF_NEW < rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [7]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [7]' + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } /* * Output and update for atomic system: - * '/g_assFLOW_BI_AMB_TGT' * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' */ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI2_AMB_TGT) @@ -1555,8 +1767,8 @@ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t /* * Output and update for action system: - * '/Bilevel2' * '/Bilevel2' + * '/Bilevel2' */ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -1579,55 +1791,55 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_BI2_TEMP_TGT = g_assFLOW_BI2_TEMP_TGT(LVL + 1); */ get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_cgj); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ rtb_u_cgj = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp_0 - 1] - rtb_u_cgj); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_cgj; rtb_X = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_BI2_FOOT_PLUS = g_aucFLOW_BI2_FOOT_PLUS(LVL + 1); */ if (rtb_X >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_BI2_FOOT_PLUS[tmp_0 - 1] * rtb_X * 13107; rtb_FLF_NEW = (uint16_t)((int16_t)rty_Out1[4] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MAX = g_aucFLOW_BI2_FOOT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1637,10 +1849,10 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l = g_aucFLOW_BI2_FOOT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI2_FOOT_VALVE_MIN(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1650,14 +1862,14 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI2_FOOT_VALVE_MIN[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' */ - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_BI2_TEMP_TGT = g_assFLOW_BI2_TEMP_TGT(LVL + 1 + 6); */ get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_cgj); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1669,26 +1881,26 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' */ rtb_u_cgj = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp - 1] - rtb_u_cgj); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_cgj; rtb_X = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_BI2_FOOT_PLUS = g_aucFLOW_BI2_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X >= 0) { rtb_FRF_NEW = rty_Out1[6]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1700,19 +1912,19 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_BI2_FOOT_PLUS[tmp - 1] * rtb_X * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MAX = g_aucFLOW_BI2_FOOT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1727,10 +1939,10 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX = g_aucFLOW_BI2_FOOT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI2_FOOT_VALVE_MIN(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1745,46 +1957,46 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l = g_aucFLOW_BI2_FOOT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI2_VENT_PLUS = g_aucFLOW_BI2_VENT_PLUS(LVL + 1); */ g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_cgj); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ tmp = (int16_t)(rtb_u_cgj - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ rtb_u_cgj = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && ((((uint32_t)tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) ((g_aucFLOW_BI2_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ rtb_Switch2_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); @@ -1794,10 +2006,10 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k = g_aucFLOW_BI2_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MIN = g_aucFLOW_BI2_VENT_VALVE_MIN(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1807,14 +2019,14 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f = g_aucFLOW_BI2_VENT_VALVE_MIN[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI2_VENT_PLUS = g_aucFLOW_BI2_VENT_PLUS(LVL + 1 + 6); */ g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_cgj); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1826,23 +2038,23 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ tmp_0 = (int16_t)(rtb_u_cgj - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ rtb_u_cgj = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)) * (int32_t)((g_aucFLOW_BI2_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11)); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MAX = g_aucFLOW_BI2_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1857,10 +2069,10 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX = g_aucFLOW_BI2_VENT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MIN = g_aucFLOW_BI2_VENT_VALVE_MIN(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1875,175 +2087,175 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN = g_aucFLOW_BI2_VENT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ rtb_Switch2_p_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_cgj) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_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' */ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t *rty_c_g_aucFLOW_AF_FOOT_VALVE_MAX) @@ -2061,12 +2273,12 @@ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t /* * Output and update for atomic system: - * '/g_assFLOW_AF_AMB_TGT' * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' */ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT) { @@ -2083,8 +2295,8 @@ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT /* * Output and update for action system: - * '/Afoot' * '/Afoot' + * '/Afoot' */ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -2104,7 +2316,7 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t uint8_t rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX; uint8_t rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; - /* MATLAB Function: '/get_tg_for_LVL' */ + /* MATLAB Function: '/get_tg_for_LVL' */ /* : c_g_aucFLOW_AF_BLR_AF_TGT = g_aucFLOW_AF_BLR_AF_TGT(LVL + 1); */ /* : table = [ */ /* : g_assVTG_FL_LV0; */ @@ -2124,14 +2336,14 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp[6 * i + 5] = g_assVTG_FL_LV5[i]; } - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* MATLAB Function: '/get_tg_for_LVL' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/get_tg_for_LVL' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2146,56 +2358,56 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t qY = 0U; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' - * MATLAB Function: '/get_tg_for_LVL' - * Sum: '/ 1' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + * MATLAB Function: '/get_tg_for_LVL' + * Sum: '/ 1' */ i = (int16_t)(g_aucFLOW_AF_BLR_AF_TGT[i - 1] - tmp[(((int32_t)qY - 1) * 6 + tmp_0) - 1]) * 13107; rtb_X = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_AF_FOOT_PLUS = g_aucFLOW_AF_FOOT_PLUS(LVL + 1); */ if (rtb_X >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' + * Product: '/Product3' */ i = g_aucFLOW_AF_FOOT_PLUS[i - 1] * rtb_X * 13107; rtb_FLF_NEW = (uint16_t)((int16_t)rty_Out1[4] - (int8_t)(((((uint32_t)i & 65536U) != 0U) && (((uint32_t)i & 65535U) != 0U)) + (i >> 17))); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ g_aucFLOW_AF_FOOT_VALVE_MAX_e(rtu_LVL, &rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX) { rtb_FLF_NEW = rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/get_vtg_for_LVL' */ + /* MATLAB Function: '/get_vtg_for_LVL' */ /* : c_g_aucFLOW_AF_BLR_AF_TGT = g_aucFLOW_AF_BLR_AF_TGT(LVL + 1); */ /* : table = [ */ /* : g_assVTG_FR_LV0; */ @@ -2215,16 +2427,16 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp[6 * i + 5] = g_assVTG_FR_LV5[i]; } - /* MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* MATLAB Function: '/get_vtg_for_LVL' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/get_vtg_for_LVL' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2236,28 +2448,28 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t qY = 0U; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' - * MATLAB Function: '/get_vtg_for_LVL' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' + * MATLAB Function: '/get_vtg_for_LVL' */ rtb_deg_en = (int16_t)(g_aucFLOW_AF_BLR_AF_TGT[i - 1] - tmp[(((int32_t)qY - 1) * 6 + tmp_0) - 1]); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ i = 13107 * rtb_deg_en; rtb_X = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_AF_FOOT_PLUS = g_aucFLOW_AF_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X >= 0) { rtb_FRF_NEW = rty_Out1[6]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2269,51 +2481,51 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp_0 = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' + * Product: '/Product4' */ i = g_aucFLOW_AF_FOOT_PLUS[tmp_0 - 1] * rtb_X * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)i & 65536U) != 0U) && (((uint32_t)i & 65535U) != 0U)) + (i >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ g_aucFLOW_AF_FOOT_VALVE_MAX_e(rtu_LVL, &rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX); - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AF_VENT_PLUS = g_aucFLOW_AF_VENT_PLUS(LVL + 1); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_en); - /* Sum: '/deg' */ + /* Sum: '/deg' */ rtb_deg_en -= rtu_Amb_Fb; - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ i = 13107 * rtb_deg_en; rtb_X = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X >= 0) { rtb_Switch2_ar_idx_0 = rty_Out1[0]; rtb_Switch2_ar_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ rtb_deg_en = (int16_t)((int32_t)((g_aucFLOW_AF_VENT_PLUS[i - 1] * 205U + 1024U) >> 11) * rtb_X); @@ -2321,10 +2533,10 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_Switch2_ar_idx_1 = (uint16_t)(rty_Out1[1] - rtb_deg_en); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AF_VENT_VALVE_MAX = g_aucFLOW_AF_VENT_VALVE_MAX(LVL + 1); */ i = (int32_t)(rtu_LVL + 1U); @@ -2334,10 +2546,10 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k = g_aucFLOW_AF_VENT_VALVE_MAX[i - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_ar_idx_0 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { rtb_Switch2_ar_idx_0 = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; @@ -2347,30 +2559,30 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_Switch2_ar_idx_1 = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AF_VENT_PLUS = g_aucFLOW_AF_VENT_PLUS(LVL + 1 + 6); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_en); - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ i = (int16_t)(rtb_deg_en - rtu_Amb_Fb) * 13107; rtb_X = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X >= 0) { rtb_Switch2_j_idx_0 = rty_Out1[0]; rtb_Switch2_j_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2382,9 +2594,9 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp_0 = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ rtb_deg_en = (int16_t)((int32_t)((g_aucFLOW_AF_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11) * rtb_X); @@ -2392,10 +2604,10 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_Switch2_j_idx_1 = (uint16_t)((int16_t)rty_Out1[1] - rtb_deg_en); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AF_VENT_VALVE_MAX = g_aucFLOW_AF_VENT_VALVE_MAX(LVL + 1 + 6); */ i = (int32_t)(rtu_LVL + 1U); @@ -2410,80 +2622,80 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k = g_aucFLOW_AF_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ rty_Out1[0] = rtb_Switch2_ar_idx_0; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j_idx_0 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_Switch2_j_idx_0; } - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ rty_Out1[1] = rtb_Switch2_ar_idx_1; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j_idx_1 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_Switch2_j_idx_1; } - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_FLF_NEW; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX) { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX; } else { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } /* * Output and update for atomic system: - * '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t *rty_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX) @@ -2501,8 +2713,8 @@ void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t /* * Output and update for action system: - * '/Afoot_Summer' * '/Afoot_Summer' + * '/Afoot_Summer' */ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -2520,71 +2732,71 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; uint8_t rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; - /* MATLAB Function: '/get_tg_for_LVL' */ + /* MATLAB Function: '/get_tg_for_LVL' */ /* : c_g_assFLOW_AFSM_TEMP_TGT = g_assFLOW_AFSM_TEMP_TGT(LVL + 1); */ get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_deg_c); - /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ rtb_deg_c = (int16_t)(g_assFLOW_AFSM_TEMP_TGT[tmp_0 - 1] - rtb_deg_c); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_deg_c; rtb_X = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_AFSM_FOOT_PLUS = g_aucFLOW_AFSM_FOOT_PLUS(LVL + 1); */ if (rtb_X >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_AFSM_FOOT_PLUS[tmp_0 - 1] * rtb_X * 13107; rtb_FLF_NEW = (uint16_t)((int16_t)rty_Out1[4] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' */ g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(rtu_LVL, &rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX) { rtb_FLF_NEW = rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_AFSM_TEMP_TGT = g_assFLOW_AFSM_TEMP_TGT(LVL + 1 + 6); */ get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_deg_c); - /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2596,24 +2808,24 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' - * Sum: '/ 1' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' + * Sum: '/ 1' */ tmp_0 = (int16_t)(g_assFLOW_AFSM_TEMP_TGT[tmp - 1] - rtb_deg_c) * 13107; rtb_X = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_AFSM_FOOT_PLUS = g_aucFLOW_AFSM_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X >= 0) { rtb_FRF_NEW = rty_Out1[6]; } else { - /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2625,22 +2837,22 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_AFSM_FOOT_PLUS[tmp - 1] * rtb_X * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(rtu_LVL, &rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX); - /* MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AFSM_VENT_PLUS = g_aucFLOW_AFSM_VENT_PLUS(LVL + 1); */ /* : c_g_assFLOW_AFSM_AMB_TGT = g_assFLOW_AFSM_AMB_TGT(LVL + 1); */ @@ -2649,35 +2861,35 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp_0 = 255; } - /* Sum: '/deg' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' + /* Sum: '/deg' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' */ rtb_deg_c = (int16_t)(g_assFLOW_AFSM_AMB_TGT[tmp_0 - 1] - rtu_Amb_Fb); - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ tmp_0 = 13107 * rtb_deg_c; rtb_X = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X >= 0) { rtb_Switch2_l_idx_0 = rty_Out1[0]; rtb_Switch2_l_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' */ rtb_deg_c = (int16_t)((int32_t)((g_aucFLOW_AFSM_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11) * rtb_X); @@ -2685,10 +2897,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_l_idx_1 = (uint16_t)(rty_Out1[1] - rtb_deg_c); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AFSM_VENT_VALVE_MAX = g_aucFLOW_AFSM_VENT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2699,10 +2911,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g = g_aucFLOW_AFSM_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_l_idx_0 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { rtb_Switch2_l_idx_0 = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; @@ -2712,30 +2924,30 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_l_idx_1 = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AFSM_VENT_PLUS = g_aucFLOW_AFSM_VENT_PLUS(LVL + 1 + 6); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_c); - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ tmp_0 = (int16_t)(rtb_deg_c - rtu_Amb_Fb) * 13107; rtb_X = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X >= 0) { rtb_Switch2_j1_idx_0 = rty_Out1[0]; rtb_Switch2_j1_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2747,9 +2959,9 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ rtb_deg_c = (int16_t)((int32_t)((g_aucFLOW_AFSM_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11) * rtb_X); @@ -2757,10 +2969,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_j1_idx_1 = (uint16_t)((int16_t)rty_Out1[1] - rtb_deg_c); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AFSM_VENT_VALVE_MAX = g_aucFLOW_AFSM_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2775,72 +2987,72 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g = g_aucFLOW_AFSM_VENT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ rty_Out1[0] = rtb_Switch2_l_idx_0; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j1_idx_0 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_Switch2_j1_idx_0; } - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ rty_Out1[1] = rtb_Switch2_l_idx_1; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j1_idx_1 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_Switch2_j1_idx_1; } - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_FLF_NEW; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX) { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; } else { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } double rt_roundd(double u_0) @@ -2863,8 +3075,8 @@ double rt_roundd(double u_0) /* * Output and update for atomic system: - * '/Начальные положения заслонок left' - * '/Начальные положения заслонок right' + * '/Начальные положения заслонок left' + * '/Начальные положения заслонок right' */ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) { @@ -2892,43 +3104,1728 @@ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) } } +/* + * Output and update for atomic system: + * '/2.1 Incar target' + * '/2.1 Incar target' + * '/2.1 Incar target' + */ +void u1Incartarget(int16_t rtu_SET, uint8_t rtu_LVL, bool rtu_set_has_half, + int16_t *rty_y) +{ + int32_t i; + int32_t tmp; + int32_t tmp_0; + int32_t tmp_1; + int16_t incar_tg_all[78]; + + /* : incar_tg_all = [g_assINCAR_TG_FL_LV0; g_assINCAR_TG_FL_LV1; g_assINCAR_TG_FL_LV2; g_assINCAR_TG_FL_LV3; g_assINCAR_TG_FL_LV4; g_assINCAR_TG_FL_LV5]; */ + for (i = 0; i < 13; i++) { + incar_tg_all[6 * i] = g_assINCAR_TG_FL_LV0[i]; + incar_tg_all[6 * i + 1] = g_assINCAR_TG_FL_LV1[i]; + incar_tg_all[6 * i + 2] = g_assINCAR_TG_FL_LV2[i]; + incar_tg_all[6 * i + 3] = g_assINCAR_TG_FL_LV3[i]; + incar_tg_all[6 * i + 4] = g_assINCAR_TG_FL_LV4[i]; + incar_tg_all[6 * i + 5] = g_assINCAR_TG_FL_LV5[i]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(incar_tg_all)) */ + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + if (rtu_set_has_half && (i + 1 <= 13)) { + /* : y = (incar_tg_all(LVL + 1, SET - 16) + incar_tg_all(LVL + 1, SET - 16 + 1)) / 2; */ + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp = -32768; + } + + tmp_0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_0 = 255; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + i = incar_tg_all[((tmp - 1) * 6 + i) - 1] + incar_tg_all[(6 * tmp_1 + tmp_0) + - 1]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + *rty_y = (int16_t)rt_roundd((double)i / 2.0); + } else { + /* : else */ + /* : y = incar_tg_all(LVL + 1, SET - 16); */ + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp = -32768; + } + + *rty_y = incar_tg_all[((tmp - 1) * 6 + i) - 1]; + } +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для FLL_tg_incar' + * '/Y1-Y4 для FRL_tg_incar' + */ +void Y1Y4FLL_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) +{ + int32_t i; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int32_t tmp_6; + int32_t tmp_7; + int16_t tmp[42]; + int16_t tmp_0[42]; + int16_t tmp_1[42]; + int16_t tmp_2[42]; + + /* : all_lvl_y1 = [g_assDTG_FL_INC_Y1_LV0; g_assDTG_FL_INC_Y1_LV1; g_assDTG_FL_INC_Y1_LV2; g_assDTG_FL_INC_Y1_LV3; g_assDTG_FL_INC_Y1_LV4; g_assDTG_FL_INC_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_FL_INC_Y2_LV0; g_assDTG_FL_INC_Y2_LV1; g_assDTG_FL_INC_Y2_LV2; g_assDTG_FL_INC_Y2_LV3; g_assDTG_FL_INC_Y2_LV4; g_assDTG_FL_INC_Y2_LV5]; */ + /* : all_lvl_y3 = [g_assDTG_FL_INC_Y3_LV0; g_assDTG_FL_INC_Y3_LV1; g_assDTG_FL_INC_Y3_LV2; g_assDTG_FL_INC_Y3_LV3; g_assDTG_FL_INC_Y3_LV4; g_assDTG_FL_INC_Y3_LV5]; */ + /* : all_lvl_y4 = [g_assDTG_FL_INC_Y4_LV0; g_assDTG_FL_INC_Y4_LV1; g_assDTG_FL_INC_Y4_LV2; g_assDTG_FL_INC_Y4_LV3; g_assDTG_FL_INC_Y4_LV4; g_assDTG_FL_INC_Y4_LV5]; */ + /* : y = [all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_y3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FL_INC_Y1_LV0[i]; + tmp_3 = 6 * i + 1; + tmp[tmp_3] = g_assDTG_FL_INC_Y1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assDTG_FL_INC_Y1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assDTG_FL_INC_Y1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assDTG_FL_INC_Y1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assDTG_FL_INC_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FL_INC_Y2_LV0[i]; + tmp_0[tmp_3] = g_assDTG_FL_INC_Y2_LV1[i]; + tmp_0[tmp_4] = g_assDTG_FL_INC_Y2_LV2[i]; + tmp_0[tmp_5] = g_assDTG_FL_INC_Y2_LV3[i]; + tmp_0[tmp_6] = g_assDTG_FL_INC_Y2_LV4[i]; + tmp_0[tmp_7] = g_assDTG_FL_INC_Y2_LV5[i]; + tmp_1[6 * i] = g_assDTG_FL_INC_Y3_LV0[i]; + tmp_1[tmp_3] = g_assDTG_FL_INC_Y3_LV1[i]; + tmp_1[tmp_4] = g_assDTG_FL_INC_Y3_LV2[i]; + tmp_1[tmp_5] = g_assDTG_FL_INC_Y3_LV3[i]; + tmp_1[tmp_6] = g_assDTG_FL_INC_Y3_LV4[i]; + tmp_1[tmp_7] = g_assDTG_FL_INC_Y3_LV5[i]; + tmp_2[6 * i] = g_assDTG_FL_INC_Y4_LV0[i]; + tmp_2[tmp_3] = g_assDTG_FL_INC_Y4_LV1[i]; + tmp_2[tmp_4] = g_assDTG_FL_INC_Y4_LV2[i]; + tmp_2[tmp_5] = g_assDTG_FL_INC_Y4_LV3[i]; + tmp_2[tmp_6] = g_assDTG_FL_INC_Y4_LV4[i]; + tmp_2[tmp_7] = g_assDTG_FL_INC_Y4_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_3 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_3 = -32768; + } + + tmp_4 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_4 = -32768; + } + + tmp_5 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_5 = -32768; + } + + tmp_6 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_6 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_6) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[1] = tmp_0[(((int32_t)trunc(((double)tmp_3 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + rty_y[2] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[3] = tmp_1[(((int32_t)trunc(((double)tmp_4 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[4] = tmp_2[(((int32_t)trunc(((double)tmp_5 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/убираем одинаковые точки' + * '/убираем одинаковые точки' + */ +void u_n(const int16_t rtu_y_in[5], double rty_y_fixed[5]) +{ + int32_t i; + + /* : y_fixed = double(y_in); */ + for (i = 0; i < 5; i++) { + rty_y_fixed[i] = rtu_y_in[i]; + } + + /* : eps_val = 0.01; */ + /* : for i = 2:length(y_fixed) */ + /* : if y_fixed(i) <= y_fixed(i-1) */ + if (rty_y_fixed[1] <= rty_y_fixed[0]) { + /* : y_fixed(i) = y_fixed(i-1) + eps_val; */ + rty_y_fixed[1] = rty_y_fixed[0] + 0.01; + } + + /* : if y_fixed(i) <= y_fixed(i-1) */ + if (rty_y_fixed[2] <= rty_y_fixed[1]) { + /* : y_fixed(i) = y_fixed(i-1) + eps_val; */ + rty_y_fixed[2] = rty_y_fixed[1] + 0.01; + } + + /* : if y_fixed(i) <= y_fixed(i-1) */ + if (rty_y_fixed[3] <= rty_y_fixed[2]) { + /* : y_fixed(i) = y_fixed(i-1) + eps_val; */ + rty_y_fixed[3] = rty_y_fixed[2] + 0.01; + } + + /* : if y_fixed(i) <= y_fixed(i-1) */ + if (rty_y_fixed[4] <= rty_y_fixed[3]) { + /* : y_fixed(i) = y_fixed(i-1) + eps_val; */ + rty_y_fixed[4] = rty_y_fixed[3] + 0.01; + } +} + +/* + * Output and update for atomic system: + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + * '/Amb_Tg ' + */ +void Amb_Tg(uint8_t rtu_LVL, int16_t *rty_y) +{ + int32_t tmp; + + /* : y = g_assAMB_LV_TG(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_y = g_assAMB_LV_TG[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/X1-X4 для FLL_tg_amb' + * '/X1-X4 для FLL_tg_amb' + */ +void X1X4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_x1 = [g_assDTG_FL_AMB_X1_LV0; g_assDTG_FL_AMB_X1_LV1; g_assDTG_FL_AMB_X1_LV2; g_assDTG_FL_AMB_X1_LV3; g_assDTG_FL_AMB_X1_LV4; g_assDTG_FL_AMB_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_FL_AMB_X2_LV0; g_assDTG_FL_AMB_X2_LV1; g_assDTG_FL_AMB_X2_LV2; g_assDTG_FL_AMB_X2_LV3; g_assDTG_FL_AMB_X2_LV4; g_assDTG_FL_AMB_X2_LV5]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FL_AMB_X1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_FL_AMB_X1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_FL_AMB_X1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_FL_AMB_X1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_FL_AMB_X1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_FL_AMB_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FL_AMB_X2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_FL_AMB_X2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_FL_AMB_X2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_FL_AMB_X2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_FL_AMB_X2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_FL_AMB_X2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + rty_y[1] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для FLL_tg_amb' + * '/Y1-Y4 для FRL_tg_amb' + */ +void Y1Y4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_y1 = [g_assDTG_FL_AMB_Y1_LV0; g_assDTG_FL_AMB_Y1_LV1; g_assDTG_FL_AMB_Y1_LV2; g_assDTG_FL_AMB_Y1_LV3; g_assDTG_FL_AMB_Y1_LV4; g_assDTG_FL_AMB_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_FL_AMB_Y2_LV0; g_assDTG_FL_AMB_Y2_LV1; g_assDTG_FL_AMB_Y2_LV2; g_assDTG_FL_AMB_Y2_LV3; g_assDTG_FL_AMB_Y2_LV4; g_assDTG_FL_AMB_Y2_LV5]; */ + /* : y = [all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FL_AMB_Y1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_FL_AMB_Y1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_FL_AMB_Y1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_FL_AMB_Y1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_FL_AMB_Y1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_FL_AMB_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FL_AMB_Y2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_FL_AMB_Y2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_FL_AMB_Y2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_FL_AMB_Y2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_FL_AMB_Y2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_FL_AMB_Y2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + rty_y[1] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/X1-X4 для FLU_tg_sun' + * '/X1-X4 для FRL_tg_sun' + */ +void X1X4FLU_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_x1 = [g_assDTG_FL_SUN_X1_LV0; g_assDTG_FL_SUN_X1_LV1; g_assDTG_FL_SUN_X1_LV2; g_assDTG_FL_SUN_X1_LV3; g_assDTG_FL_SUN_X1_LV4; g_assDTG_FL_SUN_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_FL_SUN_X2_LV0; g_assDTG_FL_SUN_X2_LV1; g_assDTG_FL_SUN_X2_LV2; g_assDTG_FL_SUN_X2_LV3; g_assDTG_FL_SUN_X2_LV4; g_assDTG_FL_SUN_X2_LV5]; */ + /* : y = [0, all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)),all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FL_SUN_X1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_FL_SUN_X1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_FL_SUN_X1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_FL_SUN_X1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_FL_SUN_X1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_FL_SUN_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FL_SUN_X2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_FL_SUN_X2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_FL_SUN_X2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_FL_SUN_X2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_FL_SUN_X2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_FL_SUN_X2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + rty_y[0] = 0; + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[1] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для FLL_tg_sun' + * '/Y1-Y4 для FRL_tg_sun' + */ +void Y1Y4FLL_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_y1 = [g_assDTG_FL_SUN_Y1_LV0; g_assDTG_FL_SUN_Y1_LV1; g_assDTG_FL_SUN_Y1_LV2; g_assDTG_FL_SUN_Y1_LV3; g_assDTG_FL_SUN_Y1_LV4; g_assDTG_FL_SUN_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_FL_SUN_Y2_LV0; g_assDTG_FL_SUN_Y2_LV1; g_assDTG_FL_SUN_Y2_LV2; g_assDTG_FL_SUN_Y2_LV3; g_assDTG_FL_SUN_Y2_LV4; g_assDTG_FL_SUN_Y2_LV5]; */ + /* : y = [0, all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FL_SUN_Y1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_FL_SUN_Y1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_FL_SUN_Y1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_FL_SUN_Y1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_FL_SUN_Y1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_FL_SUN_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FL_SUN_Y2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_FL_SUN_Y2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_FL_SUN_Y2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_FL_SUN_Y2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_FL_SUN_Y2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_FL_SUN_Y2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + rty_y[0] = 0; + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[1] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/FLL_tg_max' + * '/FRL_tg_max' + */ +void FLL_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) +{ + int32_t i; + int32_t tmp_0; + int16_t tmp[42]; + + /* : all_min = [g_assDTG_FL_MIN_LV0; g_assDTG_FL_MIN_LV1; g_assDTG_FL_MIN_LV2; g_assDTG_FL_MIN_LV3; g_assDTG_FL_MIN_LV4; g_assDTG_FL_MIN_LV5]; */ + /* : all_max = [g_assDTG_FL_MAX_LV0; g_assDTG_FL_MAX_LV1; g_assDTG_FL_MAX_LV2; g_assDTG_FL_MAX_LV3; g_assDTG_FL_MAX_LV4; g_assDTG_FL_MAX_LV5]; */ + /* : y = all_max(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FL_MAX_LV0[i]; + tmp[6 * i + 1] = g_assDTG_FL_MAX_LV1[i]; + tmp[6 * i + 2] = g_assDTG_FL_MAX_LV2[i]; + tmp[6 * i + 3] = g_assDTG_FL_MAX_LV3[i]; + tmp[6 * i + 4] = g_assDTG_FL_MAX_LV4[i]; + tmp[6 * i + 5] = g_assDTG_FL_MAX_LV5[i]; + } + + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp_0 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_0 = -32768; + } + + *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; +} + +/* + * Output and update for atomic system: + * '/FLL_tg_min' + * '/FRL_tg_min' + */ +void FLL_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) +{ + int32_t i; + int32_t tmp_0; + int16_t tmp[42]; + + /* : all_min = [g_assDTG_FL_MIN_LV0; g_assDTG_FL_MIN_LV1; g_assDTG_FL_MIN_LV2; g_assDTG_FL_MIN_LV3; g_assDTG_FL_MIN_LV4; g_assDTG_FL_MIN_LV5]; */ + /* : all_max = [g_assDTG_FL_MAX_LV0; g_assDTG_FL_MAX_LV1; g_assDTG_FL_MAX_LV2; g_assDTG_FL_MAX_LV3; g_assDTG_FL_MAX_LV4; g_assDTG_FL_MAX_LV5]; */ + /* : y = all_min(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FL_MIN_LV0[i]; + tmp[6 * i + 1] = g_assDTG_FL_MIN_LV1[i]; + tmp[6 * i + 2] = g_assDTG_FL_MIN_LV2[i]; + tmp[6 * i + 3] = g_assDTG_FL_MIN_LV3[i]; + tmp[6 * i + 4] = g_assDTG_FL_MIN_LV4[i]; + tmp[6 * i + 5] = g_assDTG_FL_MIN_LV5[i]; + } + + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp_0 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_0 = -32768; + } + + *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; +} + +/* + * Output and update for atomic system: + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + */ +void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5) +{ + /* : is_ending_with_5 = (mod(SET, 10) == 5); */ + *rty_is_ending_with_5 = ((uint16_t)(rtu_SET - (uint32_t)((int32_t)(rtu_SET / + 10U) * 10)) == 5); +} + +/* + * Output and update for atomic system: + * '/X1-X4 для FLU_tg_incar' + * '/X1-X4 для FLU_tg_incar' + */ +void X1X4FLU_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) +{ + int32_t i; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int32_t tmp_6; + int32_t tmp_7; + int16_t tmp[42]; + int16_t tmp_0[42]; + int16_t tmp_1[42]; + int16_t tmp_2[42]; + + /* : all_lvl_x1 = [g_assDTG_FU_INC_X1_LV0; g_assDTG_FU_INC_X1_LV1; g_assDTG_FU_INC_X1_LV2; g_assDTG_FU_INC_X1_LV3; g_assDTG_FU_INC_X1_LV4; g_assDTG_FU_INC_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_FU_INC_X2_LV0; g_assDTG_FU_INC_X2_LV1; g_assDTG_FU_INC_X2_LV2; g_assDTG_FU_INC_X2_LV3; g_assDTG_FU_INC_X2_LV4; g_assDTG_FU_INC_X2_LV5]; */ + /* : all_lvl_x3 = [g_assDTG_FU_INC_X3_LV0; g_assDTG_FU_INC_X3_LV1; g_assDTG_FU_INC_X3_LV2; g_assDTG_FU_INC_X3_LV3; g_assDTG_FU_INC_X3_LV4; g_assDTG_FU_INC_X3_LV5]; */ + /* : all_lvl_x4 = [g_assDTG_FU_INC_X4_LV0; g_assDTG_FU_INC_X4_LV1; g_assDTG_FU_INC_X4_LV2; g_assDTG_FU_INC_X4_LV3; g_assDTG_FU_INC_X4_LV4; g_assDTG_FU_INC_X4_LV5]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FU_INC_X1_LV0[i]; + tmp_3 = 6 * i + 1; + tmp[tmp_3] = g_assDTG_FU_INC_X1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assDTG_FU_INC_X1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assDTG_FU_INC_X1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assDTG_FU_INC_X1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assDTG_FU_INC_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FU_INC_X2_LV0[i]; + tmp_0[tmp_3] = g_assDTG_FU_INC_X2_LV1[i]; + tmp_0[tmp_4] = g_assDTG_FU_INC_X2_LV2[i]; + tmp_0[tmp_5] = g_assDTG_FU_INC_X2_LV3[i]; + tmp_0[tmp_6] = g_assDTG_FU_INC_X2_LV4[i]; + tmp_0[tmp_7] = g_assDTG_FU_INC_X2_LV5[i]; + tmp_1[6 * i] = g_assDTG_FU_INC_X3_LV0[i]; + tmp_1[tmp_3] = g_assDTG_FU_INC_X3_LV1[i]; + tmp_1[tmp_4] = g_assDTG_FU_INC_X3_LV2[i]; + tmp_1[tmp_5] = g_assDTG_FU_INC_X3_LV3[i]; + tmp_1[tmp_6] = g_assDTG_FU_INC_X3_LV4[i]; + tmp_1[tmp_7] = g_assDTG_FU_INC_X3_LV5[i]; + tmp_2[6 * i] = g_assDTG_FU_INC_X4_LV0[i]; + tmp_2[tmp_3] = g_assDTG_FU_INC_X4_LV1[i]; + tmp_2[tmp_4] = g_assDTG_FU_INC_X4_LV2[i]; + tmp_2[tmp_5] = g_assDTG_FU_INC_X4_LV3[i]; + tmp_2[tmp_6] = g_assDTG_FU_INC_X4_LV4[i]; + tmp_2[tmp_7] = g_assDTG_FU_INC_X4_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_3 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_3 = -32768; + } + + tmp_4 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_4 = -32768; + } + + tmp_5 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_5 = -32768; + } + + tmp_6 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_6 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_6) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[1] = tmp_0[(((int32_t)trunc(((double)tmp_3 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + rty_y[2] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[3] = tmp_1[(((int32_t)trunc(((double)tmp_4 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[4] = tmp_2[(((int32_t)trunc(((double)tmp_5 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для FLU_tg_incar' + * '/Y1-Y4 для FLU_tg_incar' + */ +void Y1Y4FLU_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) +{ + int32_t i; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int32_t tmp_6; + int32_t tmp_7; + int16_t tmp[42]; + int16_t tmp_0[42]; + int16_t tmp_1[42]; + int16_t tmp_2[42]; + + /* : all_lvl_y1 = [g_assDTG_FU_INC_Y1_LV0; g_assDTG_FU_INC_Y1_LV1; g_assDTG_FU_INC_Y1_LV2; g_assDTG_FU_INC_Y1_LV3; g_assDTG_FU_INC_Y1_LV4; g_assDTG_FU_INC_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_FU_INC_Y2_LV0; g_assDTG_FU_INC_Y2_LV1; g_assDTG_FU_INC_Y2_LV2; g_assDTG_FU_INC_Y2_LV3; g_assDTG_FU_INC_Y2_LV4; g_assDTG_FU_INC_Y2_LV5]; */ + /* : all_lvl_y3 = [g_assDTG_FU_INC_Y3_LV0; g_assDTG_FU_INC_Y3_LV1; g_assDTG_FU_INC_Y3_LV2; g_assDTG_FU_INC_Y3_LV3; g_assDTG_FU_INC_Y3_LV4; g_assDTG_FU_INC_Y3_LV5]; */ + /* : all_lvl_y4 = [g_assDTG_FU_INC_Y4_LV0; g_assDTG_FU_INC_Y4_LV1; g_assDTG_FU_INC_Y4_LV2; g_assDTG_FU_INC_Y4_LV3; g_assDTG_FU_INC_Y4_LV4; g_assDTG_FU_INC_Y4_LV5]; */ + /* : y = [all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_y3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FU_INC_Y1_LV0[i]; + tmp_3 = 6 * i + 1; + tmp[tmp_3] = g_assDTG_FU_INC_Y1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assDTG_FU_INC_Y1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assDTG_FU_INC_Y1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assDTG_FU_INC_Y1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assDTG_FU_INC_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FU_INC_Y2_LV0[i]; + tmp_0[tmp_3] = g_assDTG_FU_INC_Y2_LV1[i]; + tmp_0[tmp_4] = g_assDTG_FU_INC_Y2_LV2[i]; + tmp_0[tmp_5] = g_assDTG_FU_INC_Y2_LV3[i]; + tmp_0[tmp_6] = g_assDTG_FU_INC_Y2_LV4[i]; + tmp_0[tmp_7] = g_assDTG_FU_INC_Y2_LV5[i]; + tmp_1[6 * i] = g_assDTG_FU_INC_Y3_LV0[i]; + tmp_1[tmp_3] = g_assDTG_FU_INC_Y3_LV1[i]; + tmp_1[tmp_4] = g_assDTG_FU_INC_Y3_LV2[i]; + tmp_1[tmp_5] = g_assDTG_FU_INC_Y3_LV3[i]; + tmp_1[tmp_6] = g_assDTG_FU_INC_Y3_LV4[i]; + tmp_1[tmp_7] = g_assDTG_FU_INC_Y3_LV5[i]; + tmp_2[6 * i] = g_assDTG_FU_INC_Y4_LV0[i]; + tmp_2[tmp_3] = g_assDTG_FU_INC_Y4_LV1[i]; + tmp_2[tmp_4] = g_assDTG_FU_INC_Y4_LV2[i]; + tmp_2[tmp_5] = g_assDTG_FU_INC_Y4_LV3[i]; + tmp_2[tmp_6] = g_assDTG_FU_INC_Y4_LV4[i]; + tmp_2[tmp_7] = g_assDTG_FU_INC_Y4_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_3 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_3 = -32768; + } + + tmp_4 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_4 = -32768; + } + + tmp_5 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_5 = -32768; + } + + tmp_6 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_6 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_6) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[1] = tmp_0[(((int32_t)trunc(((double)tmp_3 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + rty_y[2] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[3] = tmp_1[(((int32_t)trunc(((double)tmp_4 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[4] = tmp_2[(((int32_t)trunc(((double)tmp_5 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/X1-X4 для FLU_tg_amb' + * '/X1-X4 для FLU_tg_amb' + */ +void X1X4FLU_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_x1 = [g_assDTG_FU_AMB_X1_LV0; g_assDTG_FU_AMB_X1_LV1; g_assDTG_FU_AMB_X1_LV2; g_assDTG_FU_AMB_X1_LV3; g_assDTG_FU_AMB_X1_LV4; g_assDTG_FU_AMB_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_FU_AMB_X2_LV0; g_assDTG_FU_AMB_X2_LV1; g_assDTG_FU_AMB_X2_LV2; g_assDTG_FU_AMB_X2_LV3; g_assDTG_FU_AMB_X2_LV4; g_assDTG_FU_AMB_X2_LV5]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FU_AMB_X1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_FU_AMB_X1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_FU_AMB_X1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_FU_AMB_X1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_FU_AMB_X1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_FU_AMB_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FU_AMB_X2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_FU_AMB_X2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_FU_AMB_X2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_FU_AMB_X2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_FU_AMB_X2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_FU_AMB_X2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + rty_y[1] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для FLU_tg_amb' + * '/Y1-Y4 для FLU_tg_amb' + */ +void Y1Y4FLU_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_y1 = [g_assDTG_FU_AMB_Y1_LV0; g_assDTG_FU_AMB_Y1_LV1; g_assDTG_FU_AMB_Y1_LV2; g_assDTG_FU_AMB_Y1_LV3; g_assDTG_FU_AMB_Y1_LV4; g_assDTG_FU_AMB_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_FU_AMB_Y2_LV0; g_assDTG_FU_AMB_Y2_LV1; g_assDTG_FU_AMB_Y2_LV2; g_assDTG_FU_AMB_Y2_LV3; g_assDTG_FU_AMB_Y2_LV4; g_assDTG_FU_AMB_Y2_LV5]; */ + /* : y = [all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FU_AMB_Y1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_FU_AMB_Y1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_FU_AMB_Y1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_FU_AMB_Y1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_FU_AMB_Y1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_FU_AMB_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FU_AMB_Y2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_FU_AMB_Y2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_FU_AMB_Y2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_FU_AMB_Y2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_FU_AMB_Y2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_FU_AMB_Y2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + rty_y[1] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/X1-X4 для FLU_tg_sun' + * '/X1-X4 для FLU_tg_sun' + */ +void X1X4FLU_tg_sun_h(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_x1 = [g_assDTG_FU_SUN_X1_LV0; g_assDTG_FU_SUN_X1_LV1; g_assDTG_FU_SUN_X1_LV2; g_assDTG_FU_SUN_X1_LV3; g_assDTG_FU_SUN_X1_LV4; g_assDTG_FU_SUN_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_FU_SUN_X2_LV0; g_assDTG_FU_SUN_X2_LV1; g_assDTG_FU_SUN_X2_LV2; g_assDTG_FU_SUN_X2_LV3; g_assDTG_FU_SUN_X2_LV4; g_assDTG_FU_SUN_X2_LV5]; */ + /* : y = [0, all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)),all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FU_SUN_X1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_FU_SUN_X1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_FU_SUN_X1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_FU_SUN_X1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_FU_SUN_X1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_FU_SUN_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FU_SUN_X2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_FU_SUN_X2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_FU_SUN_X2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_FU_SUN_X2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_FU_SUN_X2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_FU_SUN_X2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + rty_y[0] = 0; + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[1] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для FLU_tg_sun' + * '/Y1-Y4 для FLU_tg_sun' + */ +void Y1Y4FLU_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_y1 = [g_assDTG_FU_SUN_Y1_LV0; g_assDTG_FU_SUN_Y1_LV1; g_assDTG_FU_SUN_Y1_LV2; g_assDTG_FU_SUN_Y1_LV3; g_assDTG_FU_SUN_Y1_LV4; g_assDTG_FU_SUN_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_FU_SUN_Y2_LV0; g_assDTG_FU_SUN_Y2_LV1; g_assDTG_FU_SUN_Y2_LV2; g_assDTG_FU_SUN_Y2_LV3; g_assDTG_FU_SUN_Y2_LV4; g_assDTG_FU_SUN_Y2_LV5]; */ + /* : y = [0, all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FU_SUN_Y1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_FU_SUN_Y1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_FU_SUN_Y1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_FU_SUN_Y1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_FU_SUN_Y1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_FU_SUN_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FU_SUN_Y2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_FU_SUN_Y2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_FU_SUN_Y2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_FU_SUN_Y2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_FU_SUN_Y2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_FU_SUN_Y2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + rty_y[0] = 0; + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[1] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/FXU_tg_min' + * '/FXU_tg_min' + */ +void FXU_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) +{ + int32_t i; + int32_t tmp_0; + int16_t tmp[42]; + + /* : all_min = [g_assDTG_FU_MIN_LV0; g_assDTG_FU_MIN_LV1; g_assDTG_FU_MIN_LV2; g_assDTG_FU_MIN_LV3; g_assDTG_FU_MIN_LV4; g_assDTG_FU_MIN_LV5]; */ + /* : all_max = [g_assDTG_FU_MAX_LV0; g_assDTG_FU_MAX_LV1; g_assDTG_FU_MAX_LV2; g_assDTG_FU_MAX_LV3; g_assDTG_FU_MAX_LV4; g_assDTG_FU_MAX_LV5]; */ + /* : y = all_min(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FU_MIN_LV0[i]; + tmp[6 * i + 1] = g_assDTG_FU_MIN_LV1[i]; + tmp[6 * i + 2] = g_assDTG_FU_MIN_LV2[i]; + tmp[6 * i + 3] = g_assDTG_FU_MIN_LV3[i]; + tmp[6 * i + 4] = g_assDTG_FU_MIN_LV4[i]; + tmp[6 * i + 5] = g_assDTG_FU_MIN_LV5[i]; + } + + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp_0 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_0 = -32768; + } + + *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; +} + +/* + * Output and update for atomic system: + * '/X1-X4 для R_tg_incar' + * '/X1-X4 для R_tg_incar' + */ +void X1X4R_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) +{ + int32_t i; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int32_t tmp_6; + int32_t tmp_7; + int16_t tmp[42]; + int16_t tmp_0[42]; + int16_t tmp_1[42]; + int16_t tmp_2[42]; + + /* : all_lvl_x1 = [g_assDTG_R_INC_X1_LV0; g_assDTG_R_INC_X1_LV1; g_assDTG_R_INC_X1_LV2; g_assDTG_R_INC_X1_LV3; g_assDTG_R_INC_X1_LV4; g_assDTG_R_INC_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_R_INC_X2_LV0; g_assDTG_R_INC_X2_LV1; g_assDTG_R_INC_X2_LV2; g_assDTG_R_INC_X2_LV3; g_assDTG_R_INC_X2_LV4; g_assDTG_R_INC_X2_LV5]; */ + /* : all_lvl_x3 = [g_assDTG_R_INC_X3_LV0; g_assDTG_R_INC_X3_LV1; g_assDTG_R_INC_X3_LV2; g_assDTG_R_INC_X3_LV3; g_assDTG_R_INC_X3_LV4; g_assDTG_R_INC_X3_LV5]; */ + /* : all_lvl_x4 = [g_assDTG_R_INC_X4_LV0; g_assDTG_R_INC_X4_LV1; g_assDTG_R_INC_X4_LV2; g_assDTG_R_INC_X4_LV3; g_assDTG_R_INC_X4_LV4; g_assDTG_R_INC_X4_LV5]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_R_INC_X1_LV0[i]; + tmp_3 = 6 * i + 1; + tmp[tmp_3] = g_assDTG_R_INC_X1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assDTG_R_INC_X1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assDTG_R_INC_X1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assDTG_R_INC_X1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assDTG_R_INC_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_R_INC_X2_LV0[i]; + tmp_0[tmp_3] = g_assDTG_R_INC_X2_LV1[i]; + tmp_0[tmp_4] = g_assDTG_R_INC_X2_LV2[i]; + tmp_0[tmp_5] = g_assDTG_R_INC_X2_LV3[i]; + tmp_0[tmp_6] = g_assDTG_R_INC_X2_LV4[i]; + tmp_0[tmp_7] = g_assDTG_R_INC_X2_LV5[i]; + tmp_1[6 * i] = g_assDTG_R_INC_X3_LV0[i]; + tmp_1[tmp_3] = g_assDTG_R_INC_X3_LV1[i]; + tmp_1[tmp_4] = g_assDTG_R_INC_X3_LV2[i]; + tmp_1[tmp_5] = g_assDTG_R_INC_X3_LV3[i]; + tmp_1[tmp_6] = g_assDTG_R_INC_X3_LV4[i]; + tmp_1[tmp_7] = g_assDTG_R_INC_X3_LV5[i]; + tmp_2[6 * i] = g_assDTG_R_INC_X4_LV0[i]; + tmp_2[tmp_3] = g_assDTG_R_INC_X4_LV1[i]; + tmp_2[tmp_4] = g_assDTG_R_INC_X4_LV2[i]; + tmp_2[tmp_5] = g_assDTG_R_INC_X4_LV3[i]; + tmp_2[tmp_6] = g_assDTG_R_INC_X4_LV4[i]; + tmp_2[tmp_7] = g_assDTG_R_INC_X4_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_3 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_3 = -32768; + } + + tmp_4 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_4 = -32768; + } + + tmp_5 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_5 = -32768; + } + + tmp_6 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_6 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_6) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[1] = tmp_0[(((int32_t)trunc(((double)tmp_3 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + rty_y[2] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[3] = tmp_1[(((int32_t)trunc(((double)tmp_4 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[4] = tmp_2[(((int32_t)trunc(((double)tmp_5 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для R_tg_incar' + * '/Y1-Y4 для R_tg_incar' + */ +void Y1Y4R_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]) +{ + int32_t i; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int32_t tmp_6; + int32_t tmp_7; + int16_t tmp[42]; + int16_t tmp_0[42]; + int16_t tmp_1[42]; + int16_t tmp_2[42]; + + /* : all_lvl_y1 = [g_assDTG_R_INC_Y1_LV0; g_assDTG_R_INC_Y1_LV1; g_assDTG_R_INC_Y1_LV2; g_assDTG_R_INC_Y1_LV3; g_assDTG_R_INC_Y1_LV4; g_assDTG_R_INC_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_R_INC_Y2_LV0; g_assDTG_R_INC_Y2_LV1; g_assDTG_R_INC_Y2_LV2; g_assDTG_R_INC_Y2_LV3; g_assDTG_R_INC_Y2_LV4; g_assDTG_R_INC_Y2_LV5]; */ + /* : all_lvl_y3 = [g_assDTG_R_INC_Y3_LV0; g_assDTG_R_INC_Y3_LV1; g_assDTG_R_INC_Y3_LV2; g_assDTG_R_INC_Y3_LV3; g_assDTG_R_INC_Y3_LV4; g_assDTG_R_INC_Y3_LV5]; */ + /* : all_lvl_y4 = [g_assDTG_R_INC_Y4_LV0; g_assDTG_R_INC_Y4_LV1; g_assDTG_R_INC_Y4_LV2; g_assDTG_R_INC_Y4_LV3; g_assDTG_R_INC_Y4_LV4; g_assDTG_R_INC_Y4_LV5]; */ + /* : y = [all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_y3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_R_INC_Y1_LV0[i]; + tmp_3 = 6 * i + 1; + tmp[tmp_3] = g_assDTG_R_INC_Y1_LV1[i]; + tmp_4 = 6 * i + 2; + tmp[tmp_4] = g_assDTG_R_INC_Y1_LV2[i]; + tmp_5 = 6 * i + 3; + tmp[tmp_5] = g_assDTG_R_INC_Y1_LV3[i]; + tmp_6 = 6 * i + 4; + tmp[tmp_6] = g_assDTG_R_INC_Y1_LV4[i]; + tmp_7 = 6 * i + 5; + tmp[tmp_7] = g_assDTG_R_INC_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_R_INC_Y2_LV0[i]; + tmp_0[tmp_3] = g_assDTG_R_INC_Y2_LV1[i]; + tmp_0[tmp_4] = g_assDTG_R_INC_Y2_LV2[i]; + tmp_0[tmp_5] = g_assDTG_R_INC_Y2_LV3[i]; + tmp_0[tmp_6] = g_assDTG_R_INC_Y2_LV4[i]; + tmp_0[tmp_7] = g_assDTG_R_INC_Y2_LV5[i]; + tmp_1[6 * i] = g_assDTG_R_INC_Y3_LV0[i]; + tmp_1[tmp_3] = g_assDTG_R_INC_Y3_LV1[i]; + tmp_1[tmp_4] = g_assDTG_R_INC_Y3_LV2[i]; + tmp_1[tmp_5] = g_assDTG_R_INC_Y3_LV3[i]; + tmp_1[tmp_6] = g_assDTG_R_INC_Y3_LV4[i]; + tmp_1[tmp_7] = g_assDTG_R_INC_Y3_LV5[i]; + tmp_2[6 * i] = g_assDTG_R_INC_Y4_LV0[i]; + tmp_2[tmp_3] = g_assDTG_R_INC_Y4_LV1[i]; + tmp_2[tmp_4] = g_assDTG_R_INC_Y4_LV2[i]; + tmp_2[tmp_5] = g_assDTG_R_INC_Y4_LV3[i]; + tmp_2[tmp_6] = g_assDTG_R_INC_Y4_LV4[i]; + tmp_2[tmp_7] = g_assDTG_R_INC_Y4_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_3 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_3 = -32768; + } + + tmp_4 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_4 = -32768; + } + + tmp_5 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_5 = -32768; + } + + tmp_6 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_6 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_6) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[1] = tmp_0[(((int32_t)trunc(((double)tmp_3 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + rty_y[2] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[3] = tmp_1[(((int32_t)trunc(((double)tmp_4 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[4] = tmp_2[(((int32_t)trunc(((double)tmp_5 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/X1-X4 для R_tg_amb' + * '/X1-X4 для R_tg_amb' + */ +void X1X4R_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_x1 = [g_assDTG_R_AMB_X1_LV0; g_assDTG_R_AMB_X1_LV1; g_assDTG_R_AMB_X1_LV2; g_assDTG_R_AMB_X1_LV3; g_assDTG_R_AMB_X1_LV4; g_assDTG_R_AMB_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_R_AMB_X2_LV0; g_assDTG_R_AMB_X2_LV1; g_assDTG_R_AMB_X2_LV2; g_assDTG_R_AMB_X2_LV3; g_assDTG_R_AMB_X2_LV4; g_assDTG_R_AMB_X2_LV5]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_R_AMB_X1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_R_AMB_X1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_R_AMB_X1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_R_AMB_X1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_R_AMB_X1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_R_AMB_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_R_AMB_X2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_R_AMB_X2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_R_AMB_X2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_R_AMB_X2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_R_AMB_X2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_R_AMB_X2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + rty_y[1] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для R_tg_amb' + * '/Y1-Y4 для R_tg_amb' + */ +void Y1Y4R_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_y1 = [g_assDTG_R_AMB_Y1_LV0; g_assDTG_R_AMB_Y1_LV1; g_assDTG_R_AMB_Y1_LV2; g_assDTG_R_AMB_Y1_LV3; g_assDTG_R_AMB_Y1_LV4; g_assDTG_R_AMB_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_R_AMB_Y2_LV0; g_assDTG_R_AMB_Y2_LV1; g_assDTG_R_AMB_Y2_LV2; g_assDTG_R_AMB_Y2_LV3; g_assDTG_R_AMB_Y2_LV4; g_assDTG_R_AMB_Y2_LV5]; */ + /* : y = [all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_R_AMB_Y1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_R_AMB_Y1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_R_AMB_Y1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_R_AMB_Y1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_R_AMB_Y1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_R_AMB_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_R_AMB_Y2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_R_AMB_Y2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_R_AMB_Y2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_R_AMB_Y2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_R_AMB_Y2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_R_AMB_Y2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[0] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + rty_y[1] = 0; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/X1-X4 для R_tg_sun' + * '/X1-X4 для R_tg_sun' + */ +void X1X4R_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_x1 = [g_assDTG_R_SUN_X1_LV0; g_assDTG_R_SUN_X1_LV1; g_assDTG_R_SUN_X1_LV2; g_assDTG_R_SUN_X1_LV3; g_assDTG_R_SUN_X1_LV4; g_assDTG_R_SUN_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_R_SUN_X2_LV0; g_assDTG_R_SUN_X2_LV1; g_assDTG_R_SUN_X2_LV2; g_assDTG_R_SUN_X2_LV3; g_assDTG_R_SUN_X2_LV4; g_assDTG_R_SUN_X2_LV5]; */ + /* : y = [0, all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)),all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_R_SUN_X1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_R_SUN_X1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_R_SUN_X1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_R_SUN_X1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_R_SUN_X1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_R_SUN_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_R_SUN_X2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_R_SUN_X2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_R_SUN_X2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_R_SUN_X2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_R_SUN_X2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_R_SUN_X2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + rty_y[0] = 0; + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[1] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/Y1-Y4 для R_tg_sun' + * '/Y1-Y4 для R_tg_sun' + */ +void Y1Y4R_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]) +{ + int32_t i; + int32_t tmp_1; + int32_t tmp_2; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int16_t tmp[42]; + int16_t tmp_0[42]; + + /* : all_lvl_y1 = [g_assDTG_R_SUN_Y1_LV0; g_assDTG_R_SUN_Y1_LV1; g_assDTG_R_SUN_Y1_LV2; g_assDTG_R_SUN_Y1_LV3; g_assDTG_R_SUN_Y1_LV4; g_assDTG_R_SUN_Y1_LV5]; */ + /* : all_lvl_y2 = [g_assDTG_R_SUN_Y2_LV0; g_assDTG_R_SUN_Y2_LV1; g_assDTG_R_SUN_Y2_LV2; g_assDTG_R_SUN_Y2_LV3; g_assDTG_R_SUN_Y2_LV4; g_assDTG_R_SUN_Y2_LV5]; */ + /* : y = [0, all_lvl_y1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_y2(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_R_SUN_Y1_LV0[i]; + tmp_1 = 6 * i + 1; + tmp[tmp_1] = g_assDTG_R_SUN_Y1_LV1[i]; + tmp_2 = 6 * i + 2; + tmp[tmp_2] = g_assDTG_R_SUN_Y1_LV2[i]; + tmp_3 = 6 * i + 3; + tmp[tmp_3] = g_assDTG_R_SUN_Y1_LV3[i]; + tmp_4 = 6 * i + 4; + tmp[tmp_4] = g_assDTG_R_SUN_Y1_LV4[i]; + tmp_5 = 6 * i + 5; + tmp[tmp_5] = g_assDTG_R_SUN_Y1_LV5[i]; + tmp_0[6 * i] = g_assDTG_R_SUN_Y2_LV0[i]; + tmp_0[tmp_1] = g_assDTG_R_SUN_Y2_LV1[i]; + tmp_0[tmp_2] = g_assDTG_R_SUN_Y2_LV2[i]; + tmp_0[tmp_3] = g_assDTG_R_SUN_Y2_LV3[i]; + tmp_0[tmp_4] = g_assDTG_R_SUN_Y2_LV4[i]; + tmp_0[tmp_5] = g_assDTG_R_SUN_Y2_LV5[i]; + } + + i = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + i = -32768; + } + + tmp_1 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_1 = -32768; + } + + rty_y[0] = 0; + tmp_2 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_2 = 255; + } + + rty_y[1] = tmp[(((int32_t)trunc(((double)i + 1.0) / 2.0) - 1) * 6 + tmp_2) - 1]; + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + rty_y[2] = tmp_0[(((int32_t)trunc(((double)tmp_1 + 1.0) / 2.0) - 1) * 6 + i) - + 1]; +} + +/* + * Output and update for atomic system: + * '/R_tg_max' + * '/R_tg_max' + */ +void R_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) +{ + int32_t i; + int32_t tmp_0; + int16_t tmp[42]; + + /* : all_min = [g_assDTG_R_MIN_LV0; g_assDTG_R_MIN_LV1; g_assDTG_R_MIN_LV2; g_assDTG_R_MIN_LV3; g_assDTG_R_MIN_LV4; g_assDTG_R_MIN_LV5]; */ + /* : all_max = [g_assDTG_R_MAX_LV0; g_assDTG_R_MAX_LV1; g_assDTG_R_MAX_LV2; g_assDTG_R_MAX_LV3; g_assDTG_R_MAX_LV4; g_assDTG_R_MAX_LV5]; */ + /* : y = all_max(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_R_MAX_LV0[i]; + tmp[6 * i + 1] = g_assDTG_R_MAX_LV1[i]; + tmp[6 * i + 2] = g_assDTG_R_MAX_LV2[i]; + tmp[6 * i + 3] = g_assDTG_R_MAX_LV3[i]; + tmp[6 * i + 4] = g_assDTG_R_MAX_LV4[i]; + tmp[6 * i + 5] = g_assDTG_R_MAX_LV5[i]; + } + + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp_0 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_0 = -32768; + } + + *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; +} + +/* + * Output and update for atomic system: + * '/R_tg_min' + * '/R_tg_min' + */ +void R_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) +{ + int32_t i; + int32_t tmp_0; + int16_t tmp[42]; + + /* : all_min = [g_assDTG_R_MIN_LV0; g_assDTG_R_MIN_LV1; g_assDTG_R_MIN_LV2; g_assDTG_R_MIN_LV3; g_assDTG_R_MIN_LV4; g_assDTG_R_MIN_LV5]; */ + /* : all_max = [g_assDTG_R_MAX_LV0; g_assDTG_R_MAX_LV1; g_assDTG_R_MAX_LV2; g_assDTG_R_MAX_LV3; g_assDTG_R_MAX_LV4; g_assDTG_R_MAX_LV5]; */ + /* : y = all_min(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_R_MIN_LV0[i]; + tmp[6 * i + 1] = g_assDTG_R_MIN_LV1[i]; + tmp[6 * i + 2] = g_assDTG_R_MIN_LV2[i]; + tmp[6 * i + 3] = g_assDTG_R_MIN_LV3[i]; + tmp[6 * i + 4] = g_assDTG_R_MIN_LV4[i]; + tmp[6 * i + 5] = g_assDTG_R_MIN_LV5[i]; + } + + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp_0 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_0 = -32768; + } + + *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; +} + +/* + * Output and update for atomic system: + * '/correction rate' + * '/correction rate' + */ +void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) +{ + int32_t i; + int32_t tmp_0; + int16_t tmp[42]; + + /* : correct_rate = [g_assCORRECT_DUCT_RATE_LV0; g_assCORRECT_DUCT_RATE_LV1; g_assCORRECT_DUCT_RATE_LV2; g_assCORRECT_DUCT_RATE_LV3; g_assCORRECT_DUCT_RATE_LV4; g_assCORRECT_DUCT_RATE_LV5]; */ + /* : disp('all correction rate:') */ + /* : disp(correct_rate) */ + /* : y = correct_rate(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assCORRECT_DUCT_RATE_LV0[i]; + tmp[6 * i + 1] = g_assCORRECT_DUCT_RATE_LV1[i]; + tmp[6 * i + 2] = g_assCORRECT_DUCT_RATE_LV2[i]; + tmp[6 * i + 3] = g_assCORRECT_DUCT_RATE_LV3[i]; + tmp[6 * i + 4] = g_assCORRECT_DUCT_RATE_LV4[i]; + tmp[6 * i + 5] = g_assCORRECT_DUCT_RATE_LV5[i]; + } + + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp_0 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_0 = -32768; + } + + *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; + + /* : disp('correction rate:') */ + /* : disp(y) */ +} + /* * Output and update for action system: - * '/If Action Subsystem' - * '/If Action Subsystem' - * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' */ void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private, double *rtd_Start_timer_n, int8_t *rtd_stepSig_private) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_stepSig_private = 1; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Sum: '/step inc' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Sum: '/step inc' */ (*rtd_ErrorHomming_private)++; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ *rtd_Start_timer_n = 0.0; - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/Constant1' */ *rty_Out1 = 2; } /* * System initialize for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction_Init(DW_MATLABFunction *localDW) { @@ -2938,9 +4835,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) @@ -2987,9 +4884,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 @@ -3000,32 +4897,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) { @@ -3040,40 +4937,40 @@ void IfActionSubsystem1(int8_t *rty_Output, uint8_t } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { uint8_t rtd_ErrorCalibration_private_0; - /* Logic: '/Logical Operator1' incorporates: - * DataStoreRead: '/Data Store Read' + /* Logic: '/Logical Operator1' incorporates: + * DataStoreRead: '/Data Store Read' */ rtd_ErrorCalibration_private_0 = rtd_ErrorCalibration_private[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtd_ErrorActuator[i] = (uint8_t)((rtd_ErrorCalibration_private_0 != 0) || (rtd_ErrorActuator[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtd_dtc_state_error_model[i + 54] = rtd_ErrorCalibration_private_0; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtd_ErrorCalibration_private[i] = 0U; } - /* SignalConversion generated from: '/Output' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Output' incorporates: + * Constant: '/Constant' */ *rty_Output = 4; } /* * Output and update for atomic system: - * '/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) { @@ -3090,8 +4987,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) { @@ -3108,8 +5005,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) { @@ -3126,8 +5023,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) { @@ -3144,8 +5041,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) { @@ -3162,8 +5059,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) { @@ -3180,8 +5077,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) { @@ -3198,8 +5095,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) { @@ -3216,8 +5113,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) { @@ -3234,8 +5131,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) { @@ -3252,8 +5149,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]) { @@ -3267,8 +5164,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]) { @@ -3282,8 +5179,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]) { @@ -3297,8 +5194,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]) { @@ -3312,8 +5209,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]) { @@ -3327,8 +5224,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]) { @@ -3342,8 +5239,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]) { @@ -3357,8 +5254,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) { @@ -3375,9 +5272,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) { @@ -3403,28 +5300,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 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; @@ -3432,37 +5329,37 @@ void Level4(int8_t *rty_step1, const int16_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) @@ -3480,16 +5377,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) @@ -3507,8 +5404,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) { @@ -3534,11 +5431,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) { @@ -3555,9 +5452,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) { @@ -3574,9 +5471,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) { @@ -3593,11 +5490,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) { @@ -3614,8 +5511,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) { @@ -3632,11 +5529,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) { @@ -3653,11 +5550,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) { @@ -3674,10 +5571,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) { @@ -3700,9 +5597,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]) { @@ -3731,9 +5628,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]) { @@ -3753,8 +5650,8 @@ 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, @@ -3775,71 +5672,71 @@ void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t *rtd_Blower_FR 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' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ rtb_out_nv = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_jl, rtb_out_nm, 1U); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* 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' + /* 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); @@ -3849,16 +5746,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); @@ -3868,62 +5765,62 @@ 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_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_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_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_ap) || rtb_RelationalOperator1_mub) { *rty_step = 2; @@ -3931,19 +5828,19 @@ void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t *rtd_Blower_FR *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) { @@ -3966,11 +5863,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) { @@ -3993,11 +5890,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) { @@ -4020,11 +5917,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) { @@ -4047,11 +5944,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) { @@ -4068,11 +5965,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) { @@ -4095,11 +5992,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) { @@ -4116,11 +6013,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) { @@ -4143,10 +6040,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) { @@ -4169,9 +6066,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) { @@ -4188,8 +6085,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, @@ -4213,52 +6110,52 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, bool rtb_Cond_prev_private_gh; bool rtb_RelationalOperator1_bkl; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read10' - * MATLAB Function: '/3 way valve status' + /* 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; } @@ -4268,53 +6165,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; } @@ -4324,76 +6221,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; } @@ -4403,69 +6300,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; } @@ -4475,55 +6372,55 @@ 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_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_bkl || (*rtd_HI_logic_on)) { *rty_step = 3; @@ -4531,55 +6428,55 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t *rtd_Blower_FL, *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) { @@ -4608,11 +6505,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) { @@ -4635,9 +6532,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) { @@ -4654,8 +6551,8 @@ 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 int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, const uint8_t *rtd_LEVEL, const double @@ -4664,28 +6561,28 @@ void Level4_e(int8_t *rty_step1, const int16_t *rtd_ECT, const int16_t 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)) { @@ -4694,15 +6591,15 @@ void Level4_e(int8_t *rty_step1, const int16_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) { @@ -4725,10 +6622,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) { @@ -4751,9 +6648,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) { @@ -4770,8 +6667,8 @@ 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 @@ -4782,82 +6679,82 @@ void Level4_m(int8_t *rty_step1, uint16_t *rtd_Blower_RL, uint16_t { 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) @@ -4875,12 +6772,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) { @@ -4897,12 +6794,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) { @@ -4925,16 +6822,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) @@ -4964,12 +6861,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) { @@ -4992,8 +6889,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 @@ -5012,37 +6909,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); @@ -5052,72 +6949,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))) { @@ -5126,18 +7023,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]) { @@ -5168,9 +7065,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]) { @@ -5190,8 +7087,8 @@ 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 int16_t *rtd_ECT, @@ -5210,119 +7107,119 @@ void Level4_d(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR 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' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ rtb_out_md = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_ij, rtb_out_dq, 1U); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* 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' + /* 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_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_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_mac) || (rtb_dt_md > (uint16_t)(1000 * rtb_out_md))) { @@ -5331,20 +7228,20 @@ void Level4_d(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_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) { @@ -5367,12 +7264,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) { @@ -5389,12 +7286,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) { @@ -5417,12 +7314,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) { @@ -5439,12 +7336,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) { @@ -5467,9 +7364,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 * @@ -5490,52 +7387,52 @@ void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR 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_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_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; } @@ -5545,73 +7442,73 @@ void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR 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_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_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_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_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; } @@ -5621,53 +7518,53 @@ void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR rtd_Mode_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_RL = *rtd_Mode_RR; - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep_d(*rtd_LEVEL, &rtb_out_nn); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowertimeforstep_l(*rtd_LEVEL, &rtb_out_pv); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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; } @@ -5677,54 +7574,54 @@ void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR (double)*rtd_Blower_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' */ *rtd_Blower_RL = *rtd_Blower_RR; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ *rtd_Recirculation = 1.0; - /* 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_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_cg)) || (*rtd_HI_logic_on)) { *rty_step = 3; @@ -5732,24 +7629,24 @@ void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR *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; } @@ -5757,47 +7654,62 @@ void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t *rtd_Blower_RR void HVAC_model_step(void) { double rtb_Divide1_a4[9]; + double rtb_Saturation_m[8]; double rtb_f_lower_upper_bounds[2]; double rtb_Divide10; double rtb_Divide11; double rtb_Divide3; double rtb_Divide6; double rtb_Divide8; + double rtb_FLU_tg_correct_p5; double rtb_rate; int32_t i; - int32_t tmp; + int32_t i_0; + int32_t rtb_y_i_tmp; + int32_t tmp_3; + int32_t tmp_4; + int32_t tmp_5; + int32_t tmp_6; + int32_t tmp_7; uint32_t rtb_Subtract; uint32_t rtb_dt_an; + int16_t FLU_tg[78]; + int16_t tmp[42]; + int16_t tmp_0[42]; + int16_t tmp_1[42]; + int16_t tmp_2[42]; int16_t rtb_uDLookupTable7[6]; - int16_t rtb_out_md[2]; - int16_t Duct1_F; - int16_t Duct1_R; - int16_t Duct2_F; - int16_t Duct2_R; - int16_t Duct3_F; + int16_t rtb_y_f[5]; + int16_t rtb_y_g[5]; + int16_t rtb_out_j4[2]; int16_t Duct3_R; - int16_t Duct4_F; int16_t Duct4_R; - int16_t Duct5_F; - int16_t Duct6_F; int16_t rtb_LVL; - int16_t rtb_Saturation_n; + int16_t rtb_Saturation_d4; + int16_t rtb_u0101_a; + int16_t rtb_y_br; + int16_t rtb_y_c23; + int16_t rtb_y_c4; + int16_t rtb_y_cs; + int16_t rtb_y_eq; + int16_t rtb_y_ge; + int16_t rtb_y_h; uint16_t Merge[9]; uint16_t rtb_out_ic[9]; uint16_t rtb_out_k4[9]; - uint16_t rtb_out_mj[9]; + uint16_t rtb_out_ly[9]; uint16_t rtb_vals_m[9]; - uint16_t rtb_out_kw[6]; + uint16_t rtb_out_pj[6]; uint16_t rtb_urear[6]; - uint16_t rtb_out_f0[2]; - uint16_t rtb_out_b; - uint16_t rtb_out_em; - uint16_t rtb_out_jv; - uint16_t rtb_out_khw; - uint16_t rtb_out_le; - uint16_t rtb_out_m4; - uint16_t rtb_out_pb; - uint16_t rtb_out_pf; + uint16_t rtb_out_jq[2]; + uint16_t rtb_Saturation1; + uint16_t rtb_Saturation2; + uint16_t rtb_Saturation_b; + uint16_t rtb_out_bz; + uint16_t rtb_out_dr; + uint16_t rtb_out_jaw; + uint16_t rtb_out_pl; + uint16_t rtb_out_po; int8_t rtb_Switch_nyq; uint8_t rtb_get_modes_for_levels[78]; uint8_t Actuator_pos_percent_Ch1[9]; @@ -5868,146 +7780,247 @@ void HVAC_model_step(void) /* If: '/If' */ if (rtb_RelationalOperator2_nm) { /* Outputs for IfAction SubSystem: '/Инициализация температуры' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch1' incorporates: + * DataTypeConversion: '/Data Type Conversion' * UnitDelay: '/Unit Delay' */ rtDW.AMB_store = rtDW.UnitDelay_DSTATE_d5; + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtb_rate = rtDW.AMB_store; + /* End of Outputs for SubSystem: '/Инициализация температуры' */ } else { /* Outputs for IfAction SubSystem: '/Фильтрация температуры' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ - /* Lookup_n-D: '/Get LVL for temp' incorporates: + /* Lookup_n-D: '/Get LVL for temp' incorporates: * DataStoreRead: '/Data Store Read14' * UnitDelay: '/Unit Delay' */ - rtb_LVL = rtConstP.pooled40[plook_u32s16_bincka(rtDW.UnitDelay_DSTATE_d5, + rtb_LVL = rtConstP.pooled42[plook_u32s16_bincka(rtDW.UnitDelay_DSTATE_d5, rtConstP.GetLVLfortemp_bp01Data, 5U)]; + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + u_h(rtDW.UnitDelay_DSTATE_d5, 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: '/обычный режим' */ + } + + /* End of If: '/If1' */ + /* If: '/If1' incorporates: * DataStoreRead: '/Data Store Read' * UnitDelay: '/Unit Delay' */ - if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { + if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ - u_h(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_j, &rtDW.AMB_store, - &rtDW.KEEP_RISING_UNTIL_LIMIT); + u_d(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_e, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ - u_a(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_j, &rtDW.AMB_store, - &rtDW.KEEP_RISING_UNTIL_LIMIT); + u_c(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_e, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); /* End of Outputs for SubSystem: '/обычный режим' */ } /* End of 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_e, &rtDW.AMB_store, - &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - u_c(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_e, &rtDW.AMB_store, - &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/обычный режим' */ - } - - /* End of If: '/If1' */ - - /* Sum: '/Subtract' incorporates: + /* Sum: '/Subtract' incorporates: * DataStoreRead: '/Data Store Read15' - * UnitDelay: '/Unit Delay' + * UnitDelay: '/Unit Delay' */ rtb_Subtract = rtDW.t_now - rtDW.UnitDelay_DSTATE_c; - /* If: '/If' incorporates: + /* If: '/If' incorporates: * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' */ /* : f_g_ssAMBFILT_WATER = g_ssAMBFILT_WATER; */ if ((rtDW.VehicleSpeed > 45) && (rtDW.KEEP_UNTIL_SPEED_DROPS > 0)) { - /* Outputs for IfAction SubSystem: '/Быстро из-за флага' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Быстро из-за флага' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' * UnitDelay: '/Unit Delay' */ if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ u_h(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_m, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ u_a(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_m, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); + /* End of Outputs for SubSystem: '/обычный режим' */ + } + + /* End of 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' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* 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_d4 = rtb_Merge_m; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Saturation_d4 = (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_d4 + + 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' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ u_d(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_a, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ u_c(rtDW.UnitDelay_DSTATE_d5, rtb_LVL, &rtb_Merge_a, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' * UnitDelay: '/Unit Delay' */ if (fabs((double)rtDW.UnitDelay_DSTATE_d5 - rtDW.AMB_store) <= 0.01) { @@ -6015,138 +8028,41 @@ void HVAC_model_step(void) rtb_rate = rtDW.AMB_store; } else { if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Saturation_n = rtb_Merge_m; + rtb_Saturation_d4 = rtb_Merge_m; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Saturation_n = (int16_t)-rtb_Merge_a; + rtb_Saturation_d4 = (int16_t)-rtb_Merge_a; } /* SignalConversion generated from: '/AMB_new' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' */ - rtb_rate = (double)rtb_Subtract / 60000.0 * (double)rtb_Saturation_n + + rtb_rate = (double)rtb_Subtract / 60000.0 * (double)rtb_Saturation_d4 + 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: '/Быстро из-за скорости' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Быстро из-за скорости' */ } else { - /* Outputs for IfAction SubSystem: '/Медленно' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Медленно' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' */ rtDW.KEEP_UNTIL_SPEED_DROPS = 0; - /* MATLAB Function: '/границы' */ + /* MATLAB Function: '/границы' */ /* : rate_at_10 = 0.5; */ /* : rate_at_50 = double(g_aucAMBRATE_RISING(lvl + 1)) ; */ /* : f_lower_upper_bounds = [rate_at_10, rate_at_50]; */ @@ -6158,23 +8074,23 @@ void HVAC_model_step(void) rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[i - 1]; - /* MATLAB Function: '/обычное понижение темп.' */ + /* MATLAB Function: '/обычное понижение темп.' */ /* : fprintf("lvl = %d\n", lvl); */ printf("lvl = %d\n", rtb_LVL); fflush(stdout); - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * Product: '/Divide' - * Product: '/Product' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * Product: '/Divide' + * Product: '/Product' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Switch: '/Switch' * UnitDelay: '/Unit Delay' */ /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ @@ -6182,12 +8098,12 @@ void HVAC_model_step(void) rtb_rate = rtDW.UnitDelay_DSTATE_d5; } else { if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { - /* Switch: '/Скорость >10' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' + /* Switch: '/Скорость >10' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' */ if (rtDW.VehicleSpeed > 10) { - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: * DataStoreRead: '/Data Store Read12' */ rtb_rate = look1_is16td_binlc(rtDW.VehicleSpeed, @@ -6196,20 +8112,20 @@ void HVAC_model_step(void) rtb_rate = 0.5; } - /* End of Switch: '/Скорость >10' */ + /* End of Switch: '/Скорость >10' */ } else { - /* MATLAB Function: '/обычное понижение темп.' incorporates: - * MATLAB Function: '/границы' + /* MATLAB Function: '/обычное понижение темп.' incorporates: + * MATLAB Function: '/границы' */ i = rtb_LVL + 1; if (rtb_LVL + 1 > 32767) { i = 32767; } - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * MATLAB Function: '/обычное понижение темп.' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/обычное понижение темп.' + * UnaryMinus: '/Unary Minus' */ rtb_rate = -(double)g_aucAMBRATE_FALLING[i - 1]; } @@ -6217,65 +8133,70 @@ void HVAC_model_step(void) rtb_rate = (double)rtb_Subtract / 60000.0 * rtb_rate + rtDW.AMB_store; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Медленно' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Медленно' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read11' * DataStoreRead: '/Data Store Read12' - * MATLAB Function: '/Coolant temp threshold' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + * MATLAB Function: '/Coolant temp threshold' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (rtDW.ECT <= g_ssAMBFILT_WATER) { - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' * UnitDelay: '/Unit Delay' */ if (fabs((double)rtDW.UnitDelay_DSTATE_d5 - rtDW.AMB_store) > 0.01) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' - * RelationalOperator: '/AMBraw > AMB' - * UnaryMinus: '/Unary Minus' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/AMBraw > AMB' + * UnaryMinus: '/Unary Minus' */ if (rtDW.UnitDelay_DSTATE_d5 > rtDW.AMB_store) { - rtb_Saturation_n = rtb_Merge_j; + rtb_Saturation_d4 = rtb_Merge_j; } else { - rtb_Saturation_n = (int16_t)-rtb_Merge_e; + rtb_Saturation_d4 = (int16_t)-rtb_Merge_e; } - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' */ rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double) - rtb_Saturation_n; + rtb_Saturation_d4; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ } else if (rtDW.VehicleSpeed != 0) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Write new AMB' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Write new AMB' + * Switch: '/Switch' */ rtDW.AMB_store = rtb_rate; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Write new AMB' + */ + rtb_rate = rtDW.AMB_store; + + /* Update for UnitDelay: '/Unit Delay' incorporates: * DataStoreRead: '/Data Store Read15' */ rtDW.UnitDelay_DSTATE_c = rtDW.t_now; @@ -6288,18 +8209,1197 @@ void HVAC_model_step(void) /* DataTypeConversion: '/Data Type Conversion' incorporates: * DataStoreWrite: '/Data Store Write1' */ - rtb_LVL = (int16_t)floor(rtDW.AMB_store); + rtb_LVL = (int16_t)floor(rtb_rate); - /* 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' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' + */ + if (rtDW.FIU_SET_FL > 290) { + rtb_Saturation_b = 290U; + } else if (rtDW.FIU_SET_FL < 170) { + rtb_Saturation_b = 170U; + } else { + rtb_Saturation_b = rtDW.FIU_SET_FL; + } + + /* End of Saturate: '/Saturation' */ + + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + * Gain: '/Gain2' + */ + rtb_Subtract = 52429U * rtb_Saturation_b; + rtb_u0101_a = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + + (rtb_Subtract >> 19)); + + /* Saturate: '/Saturation4' incorporates: + * DataStoreRead: '/Data Store Read28' + */ + if (rtDW.LEVEL <= 5) { + rtb_Merge_j = rtDW.LEVEL; + } else { + rtb_Merge_j = 5U; + } + + /* End of Saturate: '/Saturation4' */ + + /* MATLAB Function: '/is_ending_with_5' */ + /* : all_min = [g_assDTG_FU_MIN_LV0; g_assDTG_FU_MIN_LV1; g_assDTG_FU_MIN_LV2; g_assDTG_FU_MIN_LV3; g_assDTG_FU_MIN_LV4; g_assDTG_FU_MIN_LV5]; */ + /* : all_max = [g_assDTG_FU_MAX_LV0; g_assDTG_FU_MAX_LV1; g_assDTG_FU_MAX_LV2; g_assDTG_FU_MAX_LV3; g_assDTG_FU_MAX_LV4; g_assDTG_FU_MAX_LV5]; */ + /* : y = all_max(LVL + 1, idivide(SET - 16 + 1, 2)); */ + /* : y_fixed = double(y_in); */ + /* : eps_val = 0.01; */ + /* : for i = 2:length(y_fixed) */ + is_ending_with_5(rtb_Saturation_b, &rtb_RelationalOperator2_nm); + + /* MATLAB Function: '/2.3 FLU_tg' incorporates: + * Gain: '/Gain2' + */ + /* : FLU_tg = [g_assTG_FLU_LV0; g_assTG_FLU_LV1; g_assTG_FLU_LV2; g_assTG_FLU_LV3; g_assTG_FLU_LV4; g_assTG_FLU_LV5]; */ + for (i = 0; i < 13; i++) { + FLU_tg[6 * i] = g_assTG_FLU_LV0[i]; + FLU_tg[6 * i + 1] = g_assTG_FLU_LV1[i]; + FLU_tg[6 * i + 2] = g_assTG_FLU_LV2[i]; + FLU_tg[6 * i + 3] = g_assTG_FLU_LV3[i]; + FLU_tg[6 * i + 4] = g_assTG_FLU_LV4[i]; + FLU_tg[6 * i + 5] = g_assTG_FLU_LV5[i]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ + if (rtb_RelationalOperator2_nm && (rtb_u0101_a - 15 <= 13)) { + /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ + i = FLU_tg[(rtb_u0101_a - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_u0101_a - 16) + * 6 + rtb_Merge_j]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_y_c23 = (int16_t)rt_roundd((double)i / 2.0); + } else { + /* : else */ + /* : y = FLU_tg(LVL + 1, SET - 16); */ + rtb_y_c23 = FLU_tg[(rtb_u0101_a - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 FLU_tg' */ + + /* MATLAB Function: '/2.1 Incar target' incorporates: + * Gain: '/Gain2' + */ + u1Incartarget(rtb_u0101_a, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_ge); + + /* MATLAB Function: '/Y1-Y4 для FLU_tg_incar' incorporates: + * Gain: '/Gain2' + */ + Y1Y4FLU_tg_incar(rtb_u0101_a, rtb_Merge_j, rtb_y_g); + + /* MATLAB Function: '/X1-X4 для FLU_tg_incar' incorporates: + * Gain: '/Gain2' + */ + X1X4FLU_tg_incar(rtb_u0101_a, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read21' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_y_eq = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtDW.Incar_FL), + &rtb_uDLookupTable7[0], rtb_y_g, 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_ge); + + /* MATLAB Function: '/Y1-Y4 для FLU_tg_amb' incorporates: + * Gain: '/Gain2' + */ + Y1Y4FLU_tg_amb(rtb_u0101_a, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для FLU_tg_amb' incorporates: + * Gain: '/Gain2' + */ + X1X4FLU_tg_amb(rtb_u0101_a, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtb_LVL), + &rtb_uDLookupTable7[0], &rtb_y_g[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' + */ + Y1Y4FLU_tg_sun(rtb_u0101_a, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' + */ + X1X4FLU_tg_sun_h(rtb_u0101_a, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read26' + */ + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_uDLookupTable7[0], + &rtb_y_g[0], 2U); + + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_c23 + rtb_y_eq) + rtb_y_ge); + + /* MATLAB Function: '/FXU_tg_min' incorporates: + * Gain: '/Gain2' + */ + FXU_tg_min(rtb_u0101_a, rtb_Merge_j, &rtb_y_ge); + + /* MATLAB Function: '/FXU_tg_max' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/correction max' + * MATLAB Function: '/correction_start_time' + * MATLAB Function: '/X1-X4 для FLL_tg_incar' + */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FU_MAX_LV0[i]; + tmp[6 * i + 1] = g_assDTG_FU_MAX_LV1[i]; + tmp[6 * i + 2] = g_assDTG_FU_MAX_LV2[i]; + tmp[6 * i + 3] = g_assDTG_FU_MAX_LV3[i]; + tmp[6 * i + 4] = g_assDTG_FU_MAX_LV4[i]; + tmp[6 * i + 5] = g_assDTG_FU_MAX_LV5[i]; + } + + i = ((int32_t)trunc((((double)rtb_u0101_a - 16.0) + 1.0) / 2.0) - 1) * 6 + + rtb_Merge_j; + + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/FXU_tg_max' + * MATLAB Function: '/убираем одинаковые точки' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_rate > tmp[i]) { + for (i_0 = 0; i_0 < 7; i_0++) { + tmp[6 * i_0] = g_assDTG_FU_MAX_LV0[i_0]; + tmp[6 * i_0 + 1] = g_assDTG_FU_MAX_LV1[i_0]; + tmp[6 * i_0 + 2] = g_assDTG_FU_MAX_LV2[i_0]; + tmp[6 * i_0 + 3] = g_assDTG_FU_MAX_LV3[i_0]; + tmp[6 * i_0 + 4] = g_assDTG_FU_MAX_LV4[i_0]; + tmp[6 * i_0 + 5] = g_assDTG_FU_MAX_LV5[i_0]; + } + + rtb_rate = tmp[i]; + } else if (rtb_rate < rtb_y_ge) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_ge; + } + + /* End of Switch: '/Switch2' */ + + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Tgt_ro = (int16_t)floor + (rtb_rate); + + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read17' + */ + if (rtDW.FIU_SET_FR > 290) { + rtb_Saturation1 = 290U; + } else if (rtDW.FIU_SET_FR < 170) { + rtb_Saturation1 = 170U; + } else { + rtb_Saturation1 = rtDW.FIU_SET_FR; + } + + /* End of Saturate: '/Saturation1' */ + + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + * Gain: '/Gain2' + */ + rtb_Subtract = 52429U * rtb_Saturation1; + rtb_y_c23 = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + + (rtb_Subtract >> 19)); + + /* MATLAB Function: '/FXU_tg_max' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/correction max' + * MATLAB Function: '/correction_start_time' + * MATLAB Function: '/X1-X4 для FRL_tg_incar' + */ + /* : all_min = [g_assDTG_FU_MIN_LV0; g_assDTG_FU_MIN_LV1; g_assDTG_FU_MIN_LV2; g_assDTG_FU_MIN_LV3; g_assDTG_FU_MIN_LV4; g_assDTG_FU_MIN_LV5]; */ + /* : all_max = [g_assDTG_FU_MAX_LV0; g_assDTG_FU_MAX_LV1; g_assDTG_FU_MAX_LV2; g_assDTG_FU_MAX_LV3; g_assDTG_FU_MAX_LV4; g_assDTG_FU_MAX_LV5]; */ + /* : y = all_max(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i_0 = 0; i_0 < 7; i_0++) { + tmp[6 * i_0] = g_assDTG_FU_MAX_LV0[i_0]; + tmp[6 * i_0 + 1] = g_assDTG_FU_MAX_LV1[i_0]; + tmp[6 * i_0 + 2] = g_assDTG_FU_MAX_LV2[i_0]; + tmp[6 * i_0 + 3] = g_assDTG_FU_MAX_LV3[i_0]; + tmp[6 * i_0 + 4] = g_assDTG_FU_MAX_LV4[i_0]; + tmp[6 * i_0 + 5] = g_assDTG_FU_MAX_LV5[i_0]; + } + + rtb_y_i_tmp = ((int32_t)trunc((((double)rtb_y_c23 - 16.0) + 1.0) / 2.0) - 1) * + 6 + rtb_Merge_j; + rtb_y_h = tmp[rtb_y_i_tmp]; + + /* End of MATLAB Function: '/FXU_tg_max' */ + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1, &rtb_RelationalOperator2_nm); + + /* MATLAB Function: '/2.3 FRU_tg' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/2.1 Incar target' + */ + /* : FRU_tg = [g_assTG_FRU_LV0; g_assTG_FRU_LV1; g_assTG_FRU_LV2; g_assTG_FRU_LV3; g_assTG_FRU_LV4; g_assTG_FRU_LV5]; */ + for (i_0 = 0; i_0 < 13; i_0++) { + FLU_tg[6 * i_0] = g_assTG_FRU_LV0[i_0]; + FLU_tg[6 * i_0 + 1] = g_assTG_FRU_LV1[i_0]; + FLU_tg[6 * i_0 + 2] = g_assTG_FRU_LV2[i_0]; + FLU_tg[6 * i_0 + 3] = g_assTG_FRU_LV3[i_0]; + FLU_tg[6 * i_0 + 4] = g_assTG_FRU_LV4[i_0]; + FLU_tg[6 * i_0 + 5] = g_assTG_FRU_LV5[i_0]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(FRU_tg)) */ + rtb_LogicalOperator1 = (rtb_RelationalOperator2_nm && (rtb_y_c23 - 15 <= 13)); + if (rtb_LogicalOperator1) { + /* : y = (FRU_tg(LVL + 1, SET - 16) + FRU_tg(LVL + 1, SET - 16 + 1)) / 2; */ + i_0 = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_c23 - 16) * + 6 + rtb_Merge_j]; + if (i_0 > 32767) { + i_0 = 32767; + } else if (i_0 < -32768) { + i_0 = -32768; + } + + rtb_y_br = (int16_t)rt_roundd((double)i_0 / 2.0); + } else { + /* : else */ + /* : y = FRU_tg(LVL + 1, SET - 16); */ + rtb_y_br = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 FRU_tg' */ + + /* MATLAB Function: '/2.1 Incar target' incorporates: + * Gain: '/Gain2' + */ + /* : incar_tg_all = [g_assINCAR_TG_FR_LV0; g_assINCAR_TG_FR_LV1; g_assINCAR_TG_FR_LV2; g_assINCAR_TG_FR_LV3; g_assINCAR_TG_FR_LV4; g_assINCAR_TG_FR_LV5]; */ + for (i_0 = 0; i_0 < 13; i_0++) { + FLU_tg[6 * i_0] = g_assINCAR_TG_FR_LV0[i_0]; + FLU_tg[6 * i_0 + 1] = g_assINCAR_TG_FR_LV1[i_0]; + FLU_tg[6 * i_0 + 2] = g_assINCAR_TG_FR_LV2[i_0]; + FLU_tg[6 * i_0 + 3] = g_assINCAR_TG_FR_LV3[i_0]; + FLU_tg[6 * i_0 + 4] = g_assINCAR_TG_FR_LV4[i_0]; + FLU_tg[6 * i_0 + 5] = g_assINCAR_TG_FR_LV5[i_0]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(incar_tg_all)) */ + if (rtb_LogicalOperator1) { + /* : y = (incar_tg_all(LVL + 1, SET - 16) + incar_tg_all(LVL + 1, SET - 16 + 1)) / 2; */ + i_0 = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_c23 - 16) * + 6 + rtb_Merge_j]; + if (i_0 > 32767) { + i_0 = 32767; + } else if (i_0 < -32768) { + i_0 = -32768; + } + + rtb_y_ge = (int16_t)rt_roundd((double)i_0 / 2.0); + } else { + /* : else */ + /* : y = incar_tg_all(LVL + 1, SET - 16); */ + rtb_y_ge = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j]; + } + + /* MATLAB Function: '/Y1-Y4 для FLU_tg_incar' incorporates: + * Gain: '/Gain2' + */ + Y1Y4FLU_tg_incar(rtb_y_c23, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* MATLAB Function: '/X1-X4 для FLU_tg_incar' incorporates: + * Gain: '/Gain2' + */ + X1X4FLU_tg_incar(rtb_y_c23, rtb_Merge_j, rtb_y_g); + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read23' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtDW.Incar_RL), + rtb_y_g, &rtb_uDLookupTable7[0], 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_eq); + + /* MATLAB Function: '/Y1-Y4 для FLU_tg_amb' incorporates: + * Gain: '/Gain2' + */ + Y1Y4FLU_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для FLU_tg_amb' incorporates: + * Gain: '/Gain2' + */ + X1X4FLU_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_eq = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_eq - rtb_LVL), + &rtb_uDLookupTable7[0], &rtb_y_g[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' + */ + Y1Y4FLU_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' incorporates: + * Gain: '/Gain2' + */ + X1X4FLU_tg_sun_h(rtb_y_c23, rtb_Merge_j, &rtb_y_g[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read27' + */ + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_y_g[0], + &rtb_uDLookupTable7[0], 2U); + + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_br + rtb_y_ge) + rtb_y_eq); + + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_rate > rtb_y_h); + + /* MATLAB Function: '/FXU_tg_min' incorporates: + * Gain: '/Gain2' + */ + FXU_tg_min(rtb_y_c23, rtb_Merge_j, &rtb_y_eq); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_rate = rtb_y_h; + } else if (rtb_rate < rtb_y_eq) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_eq; + } + + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch2' + */ + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = (int16_t)floor + (rtb_rate); + + /* Saturate: '/Saturation2' incorporates: + * DataStoreRead: '/Data Store Read18' + */ + if (rtDW.FIU_SET_RL > 290) { + rtb_Saturation2 = 290U; + } else if (rtDW.FIU_SET_RL < 170) { + rtb_Saturation2 = 170U; + } else { + rtb_Saturation2 = rtDW.FIU_SET_RL; + } + + /* End of Saturate: '/Saturation2' */ + + /* Gain: '/Gain2' incorporates: + * Gain: '/Gain2' + */ + rtb_Subtract = 52429U * rtb_Saturation2; + rtb_y_h = (int16_t)((uint32_t)((rtb_Subtract & 262144U) != 0U) + (rtb_Subtract + >> 19)); + + /* MATLAB Function: '/R_tg_max' incorporates: + * Gain: '/Gain2' + */ + R_tg_max(rtb_y_h, rtb_Merge_j, &rtb_y_br); + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation2, &rtb_RelationalOperator2_nm); + + /* MATLAB Function: '/2.3 RL_tg' incorporates: + * Gain: '/Gain2' + * MATLAB Function: '/2.1 Incar target' + */ + /* : RL_tg = [g_assTG_RL_LV0; g_assTG_RL_LV1; g_assTG_RL_LV2; g_assTG_RL_LV3; g_assTG_RL_LV4; g_assTG_RL_LV5]; */ + for (i_0 = 0; i_0 < 13; i_0++) { + FLU_tg[6 * i_0] = g_assTG_RL_LV0[i_0]; + FLU_tg[6 * i_0 + 1] = g_assTG_RL_LV1[i_0]; + FLU_tg[6 * i_0 + 2] = g_assTG_RL_LV2[i_0]; + FLU_tg[6 * i_0 + 3] = g_assTG_RL_LV3[i_0]; + FLU_tg[6 * i_0 + 4] = g_assTG_RL_LV4[i_0]; + FLU_tg[6 * i_0 + 5] = g_assTG_RL_LV5[i_0]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(RL_tg)) */ + rtb_LogicalOperator1 = (rtb_RelationalOperator2_nm && (rtb_y_h - 15 <= 13)); + if (rtb_LogicalOperator1) { + /* : y = (RL_tg(LVL + 1, SET - 16) + RL_tg(LVL + 1, SET - 16 + 1)) / 2; */ + i_0 = FLU_tg[(rtb_y_h - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_h - 16) * 6 + + rtb_Merge_j]; + if (i_0 > 32767) { + i_0 = 32767; + } else if (i_0 < -32768) { + i_0 = -32768; + } + + rtb_y_cs = (int16_t)rt_roundd((double)i_0 / 2.0); + } else { + /* : else */ + /* : y = RL_tg(LVL + 1, SET - 16); */ + rtb_y_cs = FLU_tg[(rtb_y_h - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 RL_tg' */ + + /* MATLAB Function: '/2.1 Incar target' incorporates: + * Gain: '/Gain2' + */ + /* : incar_tg_all = [g_assINCAR_TG_RL_LV0; g_assINCAR_TG_RL_LV1; g_assINCAR_TG_RL_LV2; g_assINCAR_TG_RL_LV3; g_assINCAR_TG_RL_LV4; g_assINCAR_TG_RL_LV5]; */ + for (i_0 = 0; i_0 < 13; i_0++) { + FLU_tg[6 * i_0] = g_assINCAR_TG_RL_LV0[i_0]; + FLU_tg[6 * i_0 + 1] = g_assINCAR_TG_RL_LV1[i_0]; + FLU_tg[6 * i_0 + 2] = g_assINCAR_TG_RL_LV2[i_0]; + FLU_tg[6 * i_0 + 3] = g_assINCAR_TG_RL_LV3[i_0]; + FLU_tg[6 * i_0 + 4] = g_assINCAR_TG_RL_LV4[i_0]; + FLU_tg[6 * i_0 + 5] = g_assINCAR_TG_RL_LV5[i_0]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(incar_tg_all)) */ + if (rtb_LogicalOperator1) { + /* : y = (incar_tg_all(LVL + 1, SET - 16) + incar_tg_all(LVL + 1, SET - 16 + 1)) / 2; */ + i_0 = FLU_tg[(rtb_y_h - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_h - 16) * 6 + + rtb_Merge_j]; + if (i_0 > 32767) { + i_0 = 32767; + } else if (i_0 < -32768) { + i_0 = -32768; + } + + rtb_y_ge = (int16_t)rt_roundd((double)i_0 / 2.0); + } else { + /* : else */ + /* : y = incar_tg_all(LVL + 1, SET - 16); */ + rtb_y_ge = FLU_tg[(rtb_y_h - 17) * 6 + rtb_Merge_j]; + } + + /* MATLAB Function: '/Y1-Y4 для R_tg_incar' incorporates: + * Gain: '/Gain2' + */ + Y1Y4R_tg_incar(rtb_y_h, rtb_Merge_j, rtb_y_g); + + /* MATLAB Function: '/X1-X4 для R_tg_incar' incorporates: + * Gain: '/Gain2' + */ + X1X4R_tg_incar(rtb_y_h, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read22' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtDW.Incar_FR), + &rtb_uDLookupTable7[0], rtb_y_g, 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_eq); + + /* MATLAB Function: '/Y1-Y4 для R_tg_amb' incorporates: + * Gain: '/Gain2' + */ + Y1Y4R_tg_amb(rtb_y_h, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для R_tg_amb' incorporates: + * Gain: '/Gain2' + */ + X1X4R_tg_amb(rtb_y_h, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_eq = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_eq - rtb_LVL), + &rtb_uDLookupTable7[0], &rtb_y_g[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для R_tg_sun' incorporates: + * Gain: '/Gain2' + */ + Y1Y4R_tg_sun(rtb_y_h, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для R_tg_sun' incorporates: + * Gain: '/Gain2' + */ + X1X4R_tg_sun(rtb_y_h, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read26' + */ + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_uDLookupTable7[0], + &rtb_y_g[0], 2U); + + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_cs + rtb_y_ge) + rtb_y_eq); + + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_rate > rtb_y_br); + + /* MATLAB Function: '/R_tg_min' incorporates: + * Gain: '/Gain2' + */ + R_tg_min(rtb_y_h, rtb_Merge_j, &rtb_y_eq); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_rate = rtb_y_br; + } else if (rtb_rate < rtb_y_eq) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_eq; + } + + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch2' + */ + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = (int16_t)floor + (rtb_rate); + + /* MATLAB Function: '/R_tg_max' */ + R_tg_max(rtb_y_h, rtb_Merge_j, &rtb_y_cs); + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation2, &rtb_RelationalOperator2_nm); + + /* MATLAB Function: '/2.3 RR_tg' incorporates: + * MATLAB Function: '/2.1 Incar target' + */ + /* : RL_tg = [g_assTG_RR_LV0; g_assTG_RR_LV1; g_assTG_RR_LV2; g_assTG_RR_LV3; g_assTG_RR_LV4; g_assTG_RR_LV5]; */ + for (i_0 = 0; i_0 < 13; i_0++) { + FLU_tg[6 * i_0] = g_assTG_RR_LV0[i_0]; + FLU_tg[6 * i_0 + 1] = g_assTG_RR_LV1[i_0]; + FLU_tg[6 * i_0 + 2] = g_assTG_RR_LV2[i_0]; + FLU_tg[6 * i_0 + 3] = g_assTG_RR_LV3[i_0]; + FLU_tg[6 * i_0 + 4] = g_assTG_RR_LV4[i_0]; + FLU_tg[6 * i_0 + 5] = g_assTG_RR_LV5[i_0]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(RL_tg)) */ + rtb_LogicalOperator1 = (rtb_RelationalOperator2_nm && (rtb_y_h - 15 <= 13)); + if (rtb_LogicalOperator1) { + /* : y = (RL_tg(LVL + 1, SET - 16) + RL_tg(LVL + 1, SET - 16 + 1)) / 2; */ + i_0 = FLU_tg[(rtb_y_h - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_h - 16) * 6 + + rtb_Merge_j]; + if (i_0 > 32767) { + i_0 = 32767; + } else if (i_0 < -32768) { + i_0 = -32768; + } + + rtb_y_c4 = (int16_t)rt_roundd((double)i_0 / 2.0); + } else { + /* : else */ + /* : y = RL_tg(LVL + 1, SET - 16); */ + rtb_y_c4 = FLU_tg[(rtb_y_h - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 RR_tg' */ + + /* MATLAB Function: '/2.1 Incar target' */ + /* : incar_tg_all = [g_assINCAR_TG_RR_LV0; g_assINCAR_TG_RR_LV1; g_assINCAR_TG_RR_LV2; g_assINCAR_TG_RR_LV3; g_assINCAR_TG_RR_LV4; g_assINCAR_TG_RR_LV5]; */ + for (i_0 = 0; i_0 < 13; i_0++) { + FLU_tg[6 * i_0] = g_assINCAR_TG_RR_LV0[i_0]; + FLU_tg[6 * i_0 + 1] = g_assINCAR_TG_RR_LV1[i_0]; + FLU_tg[6 * i_0 + 2] = g_assINCAR_TG_RR_LV2[i_0]; + FLU_tg[6 * i_0 + 3] = g_assINCAR_TG_RR_LV3[i_0]; + FLU_tg[6 * i_0 + 4] = g_assINCAR_TG_RR_LV4[i_0]; + FLU_tg[6 * i_0 + 5] = g_assINCAR_TG_RR_LV5[i_0]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(incar_tg_all)) */ + if (rtb_LogicalOperator1) { + /* : y = (incar_tg_all(LVL + 1, SET - 16) + incar_tg_all(LVL + 1, SET - 16 + 1)) / 2; */ + i_0 = FLU_tg[(rtb_y_h - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_h - 16) * 6 + + rtb_Merge_j]; + if (i_0 > 32767) { + i_0 = 32767; + } else if (i_0 < -32768) { + i_0 = -32768; + } + + rtb_y_ge = (int16_t)rt_roundd((double)i_0 / 2.0); + } else { + /* : else */ + /* : y = incar_tg_all(LVL + 1, SET - 16); */ + rtb_y_ge = FLU_tg[(rtb_y_h - 17) * 6 + rtb_Merge_j]; + } + + /* MATLAB Function: '/Y1-Y4 для R_tg_incar' */ + Y1Y4R_tg_incar(rtb_y_h, rtb_Merge_j, rtb_y_g); + + /* MATLAB Function: '/X1-X4 для R_tg_incar' */ + X1X4R_tg_incar(rtb_y_h, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read24' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_y_ge = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_ge - rtDW.Incar_RR), + &rtb_uDLookupTable7[0], rtb_y_g, 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_br); + + /* MATLAB Function: '/Y1-Y4 для R_tg_amb' */ + Y1Y4R_tg_amb(rtb_y_h, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для R_tg_amb' */ + X1X4R_tg_amb(rtb_y_h, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_eq = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_br - rtb_LVL), + &rtb_uDLookupTable7[0], &rtb_y_g[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для R_tg_sun' */ + Y1Y4R_tg_sun(rtb_y_h, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для R_tg_sun' */ + X1X4R_tg_sun(rtb_y_h, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read27' + */ + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_R, &rtb_uDLookupTable7[0], + &rtb_y_g[0], 2U); + + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_c4 + rtb_y_ge) + rtb_y_eq); + + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_rate > rtb_y_cs); + + /* MATLAB Function: '/R_tg_min' */ + R_tg_min(rtb_y_h, rtb_Merge_j, &rtb_y_br); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_rate = rtb_y_cs; + } else if (rtb_rate < rtb_y_br) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_br; + } + + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch2' + */ + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Tgt_ro = (int16_t)floor + (rtb_rate); + + /* MATLAB Function: '/FLL_tg_max' */ + FLL_tg_max(rtb_u0101_a, rtb_Merge_j, &rtb_y_h); + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation_b, &rtb_RelationalOperator2_nm); + + /* MATLAB Function: '/2.3 FLL_tg' */ + /* : FLU_tg = [g_assTG_FLL_LV0; g_assTG_FLL_LV1; g_assTG_FLL_LV2; g_assTG_FLL_LV3; g_assTG_FLL_LV4; g_assTG_FLL_LV5]; */ + for (i_0 = 0; i_0 < 13; i_0++) { + FLU_tg[6 * i_0] = g_assTG_FLL_LV0[i_0]; + FLU_tg[6 * i_0 + 1] = g_assTG_FLL_LV1[i_0]; + FLU_tg[6 * i_0 + 2] = g_assTG_FLL_LV2[i_0]; + FLU_tg[6 * i_0 + 3] = g_assTG_FLL_LV3[i_0]; + FLU_tg[6 * i_0 + 4] = g_assTG_FLL_LV4[i_0]; + FLU_tg[6 * i_0 + 5] = g_assTG_FLL_LV5[i_0]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ + if (rtb_RelationalOperator2_nm && (rtb_u0101_a - 15 <= 13)) { + /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ + i_0 = FLU_tg[(rtb_u0101_a - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_u0101_a - + 16) * 6 + rtb_Merge_j]; + if (i_0 > 32767) { + i_0 = 32767; + } else if (i_0 < -32768) { + i_0 = -32768; + } + + rtb_y_br = (int16_t)rt_roundd((double)i_0 / 2.0); + } else { + /* : else */ + /* : y = FLU_tg(LVL + 1, SET - 16); */ + rtb_y_br = FLU_tg[(rtb_u0101_a - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 FLL_tg' */ + + /* MATLAB Function: '/2.1 Incar target' */ + u1Incartarget(rtb_u0101_a, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_eq); + + /* MATLAB Function: '/Y1-Y4 для FLL_tg_incar' */ + Y1Y4FLL_tg_incar(rtb_u0101_a, rtb_Merge_j, rtb_y_g); + + /* MATLAB Function: '/X1-X4 для FLL_tg_incar' */ + /* : all_lvl_x1 = [g_assDTG_FL_INC_X1_LV0; g_assDTG_FL_INC_X1_LV1; g_assDTG_FL_INC_X1_LV2; g_assDTG_FL_INC_X1_LV3; g_assDTG_FL_INC_X1_LV4; g_assDTG_FL_INC_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_FL_INC_X2_LV0; g_assDTG_FL_INC_X2_LV1; g_assDTG_FL_INC_X2_LV2; g_assDTG_FL_INC_X2_LV3; g_assDTG_FL_INC_X2_LV4; g_assDTG_FL_INC_X2_LV5]; */ + /* : all_lvl_x3 = [g_assDTG_FL_INC_X3_LV0; g_assDTG_FL_INC_X3_LV1; g_assDTG_FL_INC_X3_LV2; g_assDTG_FL_INC_X3_LV3; g_assDTG_FL_INC_X3_LV4; g_assDTG_FL_INC_X3_LV5]; */ + /* : all_lvl_x4 = [g_assDTG_FL_INC_X4_LV0; g_assDTG_FL_INC_X4_LV1; g_assDTG_FL_INC_X4_LV2; g_assDTG_FL_INC_X4_LV3; g_assDTG_FL_INC_X4_LV4; g_assDTG_FL_INC_X4_LV5]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i_0 = 0; i_0 < 7; i_0++) { + tmp[6 * i_0] = g_assDTG_FL_INC_X1_LV0[i_0]; + tmp_3 = 6 * i_0 + 1; + tmp[tmp_3] = g_assDTG_FL_INC_X1_LV1[i_0]; + tmp_4 = 6 * i_0 + 2; + tmp[tmp_4] = g_assDTG_FL_INC_X1_LV2[i_0]; + tmp_5 = 6 * i_0 + 3; + tmp[tmp_5] = g_assDTG_FL_INC_X1_LV3[i_0]; + tmp_6 = 6 * i_0 + 4; + tmp[tmp_6] = g_assDTG_FL_INC_X1_LV4[i_0]; + tmp_7 = 6 * i_0 + 5; + tmp[tmp_7] = g_assDTG_FL_INC_X1_LV5[i_0]; + tmp_0[6 * i_0] = g_assDTG_FL_INC_X2_LV0[i_0]; + tmp_0[tmp_3] = g_assDTG_FL_INC_X2_LV1[i_0]; + tmp_0[tmp_4] = g_assDTG_FL_INC_X2_LV2[i_0]; + tmp_0[tmp_5] = g_assDTG_FL_INC_X2_LV3[i_0]; + tmp_0[tmp_6] = g_assDTG_FL_INC_X2_LV4[i_0]; + tmp_0[tmp_7] = g_assDTG_FL_INC_X2_LV5[i_0]; + tmp_1[6 * i_0] = g_assDTG_FL_INC_X3_LV0[i_0]; + tmp_1[tmp_3] = g_assDTG_FL_INC_X3_LV1[i_0]; + tmp_1[tmp_4] = g_assDTG_FL_INC_X3_LV2[i_0]; + tmp_1[tmp_5] = g_assDTG_FL_INC_X3_LV3[i_0]; + tmp_1[tmp_6] = g_assDTG_FL_INC_X3_LV4[i_0]; + tmp_1[tmp_7] = g_assDTG_FL_INC_X3_LV5[i_0]; + tmp_2[6 * i_0] = g_assDTG_FL_INC_X4_LV0[i_0]; + tmp_2[tmp_3] = g_assDTG_FL_INC_X4_LV1[i_0]; + tmp_2[tmp_4] = g_assDTG_FL_INC_X4_LV2[i_0]; + tmp_2[tmp_5] = g_assDTG_FL_INC_X4_LV3[i_0]; + tmp_2[tmp_6] = g_assDTG_FL_INC_X4_LV4[i_0]; + tmp_2[tmp_7] = g_assDTG_FL_INC_X4_LV5[i_0]; + } + + rtb_y_f[0] = tmp[i]; + rtb_y_f[1] = tmp_0[i]; + rtb_y_f[2] = 0; + rtb_y_f[3] = tmp_1[i]; + rtb_y_f[4] = tmp_2[i]; + + /* : fprintf('y = [%d, %d, %d, %d, %d]\n', y(1), y(2), y(3), y(4), y(5)); */ + printf("y = [%d, %d, %d, %d, %d]\n", rtb_y_f[0], rtb_y_f[1], 0, rtb_y_f[3], + rtb_y_f[4]); + fflush(stdout); + + /* MATLAB Function: '/убираем одинаковые точки' */ + u_n(rtb_y_f, &rtb_Saturation_m[0]); + + /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read21' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_y_ge = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_eq - rtDW.Incar_FL), + &rtb_Saturation_m[0], rtb_y_g, 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_eq); + + /* MATLAB Function: '/Y1-Y4 для FLL_tg_amb' */ + Y1Y4FLL_tg_amb(rtb_u0101_a, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ + X1X4FLL_tg_amb(rtb_u0101_a, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_eq = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_eq - rtb_LVL), + &rtb_uDLookupTable7[0], &rtb_y_g[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для FLL_tg_sun' */ + Y1Y4FLL_tg_sun(rtb_u0101_a, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для FLU_tg_sun' */ + X1X4FLU_tg_sun(rtb_u0101_a, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read26' + */ + rtb_rate = look1_bs16ts16DdId_binlc(rtDW.Sun_L, &rtb_uDLookupTable7[0], + &rtb_y_g[0], 2U); + + /* Sum: '/FLU_tg_correct' */ + rtb_rate += (double)((rtb_y_br + rtb_y_ge) + rtb_y_eq); + + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_rate > rtb_y_h); + + /* MATLAB Function: '/FLL_tg_min' */ + FLL_tg_min(rtb_u0101_a, rtb_Merge_j, &rtb_y_eq); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_rate = rtb_y_h; + } else if (rtb_rate < rtb_y_eq) { + /* Switch: '/Switch' */ + rtb_rate = rtb_y_eq; + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation_b, &rtb_RelationalOperator2_nm); + + /* MATLAB Function: '/correction rate' */ + /* : correct_after_time = [g_assCORRECT_DUCT_MAX_LV0; g_assCORRECT_DUCT_MAX_LV1; g_assCORRECT_DUCT_MAX_LV2; g_assCORRECT_DUCT_MAX_LV3; g_assCORRECT_DUCT_MAX_LV4; g_assCORRECT_DUCT_MAX_LV5]; */ + /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ + correctionrate(rtb_u0101_a, rtb_Merge_j, &rtb_y_cs); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read25' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE; + + /* MATLAB Function: '/correction_start_time' */ + /* : correct_after_time = [g_assCORRECT_DUCT_TIME_FL_LV0; g_assCORRECT_DUCT_TIME_FL_LV1; g_assCORRECT_DUCT_TIME_FL_LV2; g_assCORRECT_DUCT_TIME_FL_LV3; g_assCORRECT_DUCT_TIME_FL_LV4; g_assCORRECT_DUCT_TIME_FL_LV5]; */ + /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i_0 = 0; i_0 < 7; i_0++) { + tmp[6 * i_0] = g_assCORRECT_DUCT_TIME_FL_LV0[i_0]; + tmp[6 * i_0 + 1] = g_assCORRECT_DUCT_TIME_FL_LV1[i_0]; + tmp[6 * i_0 + 2] = g_assCORRECT_DUCT_TIME_FL_LV2[i_0]; + tmp[6 * i_0 + 3] = g_assCORRECT_DUCT_TIME_FL_LV3[i_0]; + tmp[6 * i_0 + 4] = g_assCORRECT_DUCT_TIME_FL_LV4[i_0]; + tmp[6 * i_0 + 5] = g_assCORRECT_DUCT_TIME_FL_LV5[i_0]; + } + + /* RelationalOperator: '/Relational Operator' incorporates: + * Gain: '/из сек в мс' + * MATLAB Function: '/correction_start_time' + */ + rtb_RelationalOperator2_nm = ((int64_t)rtb_Subtract >= tmp[i] * 1000); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Logic: '/ After start control system works X sec' + * UnitDelay: '/Unit Delay' + */ + if (rtb_RelationalOperator2_nm && (rtDW.UnitDelay_DSTATE_l0 != 0)) { + /* Product: '/Product' incorporates: + * Constant: '/Constant1' + * Product: '/Divide' + */ + rtb_FLU_tg_correct_p5 = (double)rtb_Subtract / 10000.0 * (double)rtb_y_cs; + + /* MATLAB Function: '/correction max' */ + for (i_0 = 0; i_0 < 7; i_0++) { + tmp[6 * i_0] = g_assCORRECT_DUCT_MAX_LV0[i_0]; + tmp[6 * i_0 + 1] = g_assCORRECT_DUCT_MAX_LV1[i_0]; + tmp[6 * i_0 + 2] = g_assCORRECT_DUCT_MAX_LV2[i_0]; + tmp[6 * i_0 + 3] = g_assCORRECT_DUCT_MAX_LV3[i_0]; + tmp[6 * i_0 + 4] = g_assCORRECT_DUCT_MAX_LV4[i_0]; + tmp[6 * i_0 + 5] = g_assCORRECT_DUCT_MAX_LV5[i_0]; + } + + /* Gain: '/из 0.01 в 0.1 градус Цельсия' incorporates: + * MATLAB Function: '/correction max' + */ + i = tmp[i] * 13107; + rtb_u0101_a = (int16_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & + 65535U) != 0U) || (i > 0))) + (i >> 17)); + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant2' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_FLU_tg_correct_p5 > rtb_u0101_a) { + rtb_FLU_tg_correct_p5 = rtb_u0101_a; + } else if (rtb_FLU_tg_correct_p5 < 0.0) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + */ + rtb_FLU_tg_correct_p5 = 0.0; + } + + /* End of Switch: '/Switch2' */ + } else { + rtb_FLU_tg_correct_p5 = 0.0; + } + + /* End of Switch: '/Switch' */ + + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/Add' + */ + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = (int16_t)floor + (rtb_rate - floor(rtb_FLU_tg_correct_p5)); + + /* MATLAB Function: '/FRL_tg_max' */ + FLL_tg_max(rtb_y_c23, rtb_Merge_j, &rtb_y_h); + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1, &rtb_RelationalOperator2_nm); + + /* MATLAB Function: '/2.3 FRL_tg' */ + /* : FLU_tg = [g_assTG_FRL_LV0; g_assTG_FRL_LV1; g_assTG_FRL_LV2; g_assTG_FRL_LV3; g_assTG_FRL_LV4; g_assTG_FRL_LV5]; */ + for (i = 0; i < 13; i++) { + FLU_tg[6 * i] = g_assTG_FRL_LV0[i]; + FLU_tg[6 * i + 1] = g_assTG_FRL_LV1[i]; + FLU_tg[6 * i + 2] = g_assTG_FRL_LV2[i]; + FLU_tg[6 * i + 3] = g_assTG_FRL_LV3[i]; + FLU_tg[6 * i + 4] = g_assTG_FRL_LV4[i]; + FLU_tg[6 * i + 5] = g_assTG_FRL_LV5[i]; + } + + /* : if set_has_half && (SET - 16 + 1 <= length(FLU_tg)) */ + if (rtb_RelationalOperator2_nm && (rtb_y_c23 - 15 <= 13)) { + /* : y = (FLU_tg(LVL + 1, SET - 16) + FLU_tg(LVL + 1, SET - 16 + 1)) / 2; */ + i = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j] + FLU_tg[(rtb_y_c23 - 16) * 6 + + rtb_Merge_j]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_u0101_a = (int16_t)rt_roundd((double)i / 2.0); + } else { + /* : else */ + /* : y = FLU_tg(LVL + 1, SET - 16); */ + rtb_u0101_a = FLU_tg[(rtb_y_c23 - 17) * 6 + rtb_Merge_j]; + } + + /* End of MATLAB Function: '/2.3 FRL_tg' */ + + /* MATLAB Function: '/2.1 Incar target' */ + u1Incartarget(rtb_y_c23, rtb_Merge_j, rtb_RelationalOperator2_nm, &rtb_y_eq); + + /* MATLAB Function: '/Y1-Y4 для FRL_tg_incar' */ + Y1Y4FLL_tg_incar(rtb_y_c23, rtb_Merge_j, rtb_y_g); + + /* MATLAB Function: '/X1-X4 для FRL_tg_incar' */ + /* : all_lvl_x1 = [g_assDTG_FL_INC_X1_LV0; g_assDTG_FL_INC_X1_LV1; g_assDTG_FL_INC_X1_LV2; g_assDTG_FL_INC_X1_LV3; g_assDTG_FL_INC_X1_LV4; g_assDTG_FL_INC_X1_LV5]; */ + /* : all_lvl_x2 = [g_assDTG_FL_INC_X2_LV0; g_assDTG_FL_INC_X2_LV1; g_assDTG_FL_INC_X2_LV2; g_assDTG_FL_INC_X2_LV3; g_assDTG_FL_INC_X2_LV4; g_assDTG_FL_INC_X2_LV5]; */ + /* : all_lvl_x3 = [g_assDTG_FL_INC_X3_LV0; g_assDTG_FL_INC_X3_LV1; g_assDTG_FL_INC_X3_LV2; g_assDTG_FL_INC_X3_LV3; g_assDTG_FL_INC_X3_LV4; g_assDTG_FL_INC_X3_LV5]; */ + /* : all_lvl_x4 = [g_assDTG_FL_INC_X4_LV0; g_assDTG_FL_INC_X4_LV1; g_assDTG_FL_INC_X4_LV2; g_assDTG_FL_INC_X4_LV3; g_assDTG_FL_INC_X4_LV4; g_assDTG_FL_INC_X4_LV5]; */ + /* : y = [all_lvl_x1(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x2(LVL + 1, idivide(SET - 16 + 1, 2)), 0, all_lvl_x3(LVL + 1, idivide(SET - 16 + 1, 2)), all_lvl_x4(LVL + 1, idivide(SET - 16 + 1, 2))]; */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assDTG_FL_INC_X1_LV0[i]; + i_0 = 6 * i + 1; + tmp[i_0] = g_assDTG_FL_INC_X1_LV1[i]; + tmp_3 = 6 * i + 2; + tmp[tmp_3] = g_assDTG_FL_INC_X1_LV2[i]; + tmp_4 = 6 * i + 3; + tmp[tmp_4] = g_assDTG_FL_INC_X1_LV3[i]; + tmp_5 = 6 * i + 4; + tmp[tmp_5] = g_assDTG_FL_INC_X1_LV4[i]; + tmp_6 = 6 * i + 5; + tmp[tmp_6] = g_assDTG_FL_INC_X1_LV5[i]; + tmp_0[6 * i] = g_assDTG_FL_INC_X2_LV0[i]; + tmp_0[i_0] = g_assDTG_FL_INC_X2_LV1[i]; + tmp_0[tmp_3] = g_assDTG_FL_INC_X2_LV2[i]; + tmp_0[tmp_4] = g_assDTG_FL_INC_X2_LV3[i]; + tmp_0[tmp_5] = g_assDTG_FL_INC_X2_LV4[i]; + tmp_0[tmp_6] = g_assDTG_FL_INC_X2_LV5[i]; + tmp_1[6 * i] = g_assDTG_FL_INC_X3_LV0[i]; + tmp_1[i_0] = g_assDTG_FL_INC_X3_LV1[i]; + tmp_1[tmp_3] = g_assDTG_FL_INC_X3_LV2[i]; + tmp_1[tmp_4] = g_assDTG_FL_INC_X3_LV3[i]; + tmp_1[tmp_5] = g_assDTG_FL_INC_X3_LV4[i]; + tmp_1[tmp_6] = g_assDTG_FL_INC_X3_LV5[i]; + tmp_2[6 * i] = g_assDTG_FL_INC_X4_LV0[i]; + tmp_2[i_0] = g_assDTG_FL_INC_X4_LV1[i]; + tmp_2[tmp_3] = g_assDTG_FL_INC_X4_LV2[i]; + tmp_2[tmp_4] = g_assDTG_FL_INC_X4_LV3[i]; + tmp_2[tmp_5] = g_assDTG_FL_INC_X4_LV4[i]; + tmp_2[tmp_6] = g_assDTG_FL_INC_X4_LV5[i]; + } + + rtb_y_f[0] = tmp[rtb_y_i_tmp]; + rtb_y_f[1] = tmp_0[rtb_y_i_tmp]; + rtb_y_f[2] = 0; + rtb_y_f[3] = tmp_1[rtb_y_i_tmp]; + rtb_y_f[4] = tmp_2[rtb_y_i_tmp]; + + /* MATLAB Function: '/убираем одинаковые точки' */ + u_n(rtb_y_f, &rtb_Saturation_m[0]); + + /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read22' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_y_ge = look1_is16bdlu64n48Ds32_binlcn((int16_t)(rtb_y_eq - rtDW.Incar_FR), + &rtb_Saturation_m[0], rtb_y_g, 4U); + + /* MATLAB Function: '/Amb_Tg ' */ + Amb_Tg(rtb_Merge_j, &rtb_y_eq); + + /* MATLAB Function: '/Y1-Y4 для FRL_tg_amb' */ + Y1Y4FLL_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для FLL_tg_amb' */ + X1X4FLL_tg_amb(rtb_y_c23, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read20' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_y_eq = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_y_eq - rtb_LVL), + &rtb_uDLookupTable7[0], &rtb_y_g[0], 2U); + + /* MATLAB Function: '/Y1-Y4 для FRL_tg_sun' */ + Y1Y4FLL_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_y_g[0]); + + /* MATLAB Function: '/X1-X4 для FRL_tg_sun' */ + X1X4FLU_tg_sun(rtb_y_c23, rtb_Merge_j, &rtb_uDLookupTable7[0]); + + /* Lookup_n-D: '/2.6 FRL_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read27' + */ + rtb_FLU_tg_correct_p5 = look1_bs16ts16DdId_binlc(rtDW.Sun_R, + &rtb_uDLookupTable7[0], &rtb_y_g[0], 2U); + + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_p5 += (double)((rtb_u0101_a + rtb_y_ge) + rtb_y_eq); + + /* RelationalOperator: '/LowerRelop1' */ + rtb_RelationalOperator2_nm = (rtb_FLU_tg_correct_p5 > rtb_y_h); + + /* MATLAB Function: '/FRL_tg_min' */ + FLL_tg_min(rtb_y_c23, rtb_Merge_j, &rtb_y_eq); + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_RelationalOperator2_nm) { + rtb_FLU_tg_correct_p5 = rtb_y_h; + } else if (rtb_FLU_tg_correct_p5 < rtb_y_eq) { + /* Switch: '/Switch' */ + rtb_FLU_tg_correct_p5 = rtb_y_eq; + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation1, &rtb_RelationalOperator2_nm); + + /* MATLAB Function: '/correction rate' */ + /* : correct_after_time = [g_assCORRECT_DUCT_MAX_LV0; g_assCORRECT_DUCT_MAX_LV1; g_assCORRECT_DUCT_MAX_LV2; g_assCORRECT_DUCT_MAX_LV3; g_assCORRECT_DUCT_MAX_LV4; g_assCORRECT_DUCT_MAX_LV5]; */ + /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ + correctionrate(rtb_y_c23, rtb_Merge_j, &rtb_y_eq); + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read25' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_g; + + /* MATLAB Function: '/correction_start_time' */ + /* : correct_after_time = [g_assCORRECT_DUCT_TIME_FR_LV0; g_assCORRECT_DUCT_TIME_FR_LV1; g_assCORRECT_DUCT_TIME_FR_LV2; g_assCORRECT_DUCT_TIME_FR_LV3; g_assCORRECT_DUCT_TIME_FR_LV4; g_assCORRECT_DUCT_TIME_FR_LV5]; */ + /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assCORRECT_DUCT_TIME_FR_LV0[i]; + tmp[6 * i + 1] = g_assCORRECT_DUCT_TIME_FR_LV1[i]; + tmp[6 * i + 2] = g_assCORRECT_DUCT_TIME_FR_LV2[i]; + tmp[6 * i + 3] = g_assCORRECT_DUCT_TIME_FR_LV3[i]; + tmp[6 * i + 4] = g_assCORRECT_DUCT_TIME_FR_LV4[i]; + tmp[6 * i + 5] = g_assCORRECT_DUCT_TIME_FR_LV5[i]; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Gain: '/из сек в мс' + * Logic: '/ After start control system works X sec' + * MATLAB Function: '/correction_start_time' + * RelationalOperator: '/Relational Operator' + * UnitDelay: '/Unit Delay' + */ + if (((int64_t)rtb_Subtract >= tmp[rtb_y_i_tmp] * 1000) && + (rtDW.UnitDelay_DSTATE_cc != 0)) { + /* Product: '/Product' incorporates: + * Constant: '/Constant1' + * Product: '/Divide' + */ + rtb_rate = (double)rtb_Subtract / 10000.0 * (double)rtb_y_eq; + + /* MATLAB Function: '/correction max' */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assCORRECT_DUCT_MAX_LV0[i]; + tmp[6 * i + 1] = g_assCORRECT_DUCT_MAX_LV1[i]; + tmp[6 * i + 2] = g_assCORRECT_DUCT_MAX_LV2[i]; + tmp[6 * i + 3] = g_assCORRECT_DUCT_MAX_LV3[i]; + tmp[6 * i + 4] = g_assCORRECT_DUCT_MAX_LV4[i]; + tmp[6 * i + 5] = g_assCORRECT_DUCT_MAX_LV5[i]; + } + + /* Gain: '/из 0.01 в 0.1 градус Цельсия' incorporates: + * MATLAB Function: '/correction max' + */ + i = tmp[rtb_y_i_tmp] * 13107; + rtb_y_c23 = (int16_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & + 65535U) != 0U) || (i > 0))) + (i >> 17)); + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant2' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' + */ + if (rtb_rate > rtb_y_c23) { + rtb_rate = rtb_y_c23; + } else if (rtb_rate < 0.0) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + */ + rtb_rate = 0.0; + } + + /* End of Switch: '/Switch2' */ + } else { + rtb_rate = 0.0; + } + + /* End of Switch: '/Switch' */ + + /* Sum: '/Add1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_rate = rtb_FLU_tg_correct_p5 - floor(rtb_rate); + + /* 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 = rtb_LVL; @@ -6322,97 +9422,98 @@ void HVAC_model_step(void) Status_Sensor_Model.Duct_Side_RR = 0; Status_Sensor_Model.AQS = 0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * + 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare = (rtb_rate < 0.1); + rtb_Compare = (rtb_FLU_tg_correct_p5 < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_mk = (rtb_rate > 4.9); + rtb_Compare_mk = (rtb_FLU_tg_correct_p5 > 4.9); - /* Logic: '/Logical Operator' */ + /* 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 ' + /* 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)); + rtDW.t_start_delay_private_DSTATE_gq >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' + /* 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); + rtConstP.pooled54, rtConstP.pooled8, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[12] = rtb_LogicalOperator1; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[13] = rtb_Compare; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[12] = rtb_Compare_mk; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[13] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1) { /* : if(EvapFErr) */ /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n',Sensor_Evap_Temp); */ printf("CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n", - rtb_rate); + rtb_FLU_tg_correct_p5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -6421,113 +9522,114 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write Eva_F' */ + /* End of MATLAB Function: '/Write Eva_F' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_RelationalOperator2_nm && (!rtDW.Cond_prev_private_DSTATE)) { - rtDW.t_start_delay_private_DSTATE = rtDW.t_now; + rtDW.t_start_delay_private_DSTATE_gq = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / + 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_mk = (rtb_rate < 0.1); + rtb_Compare_mk = (rtb_FLU_tg_correct_p5 < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ho = (rtb_rate > 4.9); + rtb_Compare_ho = (rtb_FLU_tg_correct_p5 > 4.9); - /* Logic: '/Logical Operator' */ + /* 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 ' + /* 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' + /* 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, + (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled54, rtConstP.pooled8, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_dv; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1_dv) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[15] = rtb_Compare_mk; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[14] = rtb_Compare_ho; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[15] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_dv) { /* : if(EvapRErr) */ /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n',Sensor_Rear_Evap_Temp); */ printf("CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n", - rtb_rate); + rtb_FLU_tg_correct_p5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -6536,99 +9638,100 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write Eva_F' */ + /* End of MATLAB Function: '/Write Eva_F' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare && (!rtDW.Cond_prev_private_DSTATE_p)) { rtDW.t_start_delay_private_DSTATE_c = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / + 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ho = (rtb_rate < 0.1); + rtb_Compare_ho = (rtb_FLU_tg_correct_p5 < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_it = (rtb_rate > 4.9); + rtb_Compare_it = (rtb_FLU_tg_correct_p5 > 4.9); - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_Compare_mk = (rtb_Compare_ho || rtb_Compare_it); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1_n = (rtb_Compare_mk && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_h >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' + * Lookup_n-D: '/1-D Lookup Table' */ if (rtb_LogicalOperator1_n) { rtDW.Pressure = 32; } else { rtDW.Pressure = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled52, + (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled54, rtConstP.uDLookupTable_tableData, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_n; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1_n) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[50] = rtb_Compare_ho; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[51] = rtb_Compare_it; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[50] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -6637,68 +9740,69 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_n) { /* : if(AC_PressureErr) */ /* : fprintf('CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n',Sensor_AC_Pressure); */ printf("CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n", - rtb_rate); + rtb_FLU_tg_correct_p5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_mk && (!rtDW.Cond_prev_private_DSTATE_a)) { rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide4' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide1' + /* 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; + rtb_FLU_tg_correct_p5 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / + 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_gh = (rtb_rate < 0.15); + rtb_Compare_gh = (rtb_FLU_tg_correct_p5 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_j4 = (rtb_rate > 4.9); + rtb_Compare_j4 = (rtb_FLU_tg_correct_p5 > 4.9); - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_Compare_ho = (rtb_Compare_gh || rtb_Compare_j4); - /* Logic: '/Logical Operator4' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator4' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator4_fo = (rtb_Compare_ho && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_m >= 3000U)); - /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: - * DataStoreRead: '/Data Store Read1' + /* 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; @@ -6707,489 +9811,489 @@ void HVAC_model_step(void) rtb_urear[4] = rtDW.ADC_Data_Model.Sensor_Front_Duct5; rtb_urear[5] = rtDW.ADC_Data_Model.Sensor_Front_Duct6; - /* Lookup_n-D: '/1-D Lookup Table7' */ + /* Lookup_n-D: '/1-D Lookup Table7' */ for (i = 0; i < 6; i++) { rtb_uDLookupTable7[i] = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_urear[i], - rtConstP.pooled46, rtConstP.pooled45, 1023U); + rtConstP.pooled48, rtConstP.pooled47, 1023U); } - /* End of Lookup_n-D: '/1-D Lookup Table7' */ + /* End of Lookup_n-D: '/1-D Lookup Table7' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant6' - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * DataStoreWrite: '/Data Store Write1' */ if (rtb_LogicalOperator4_fo) { - Duct2_F = 230; + rtb_y_c23 = 230; } else { - Duct2_F = rtb_uDLookupTable7[1]; + rtb_y_c23 = rtb_uDLookupTable7[1]; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_ne = (rtb_Divide3 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_e = (rtb_Divide3 > 4.9); - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_Compare_it = (rtb_Compare_ne || rtb_Compare_e); - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator3_cz = (rtb_Compare_it && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_k >= 3000U)); - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' */ if (rtb_LogicalOperator3_cz) { - Duct1_F = 230; + rtb_u0101_a = 230; } else { - Duct1_F = rtb_uDLookupTable7[0]; + rtb_u0101_a = rtb_uDLookupTable7[0]; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Product: '/Divide6' incorporates: - * Constant: '/Constant7' - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide5' + /* Product: '/Divide6' incorporates: + * Constant: '/Constant7' + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide5' */ rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_gg = (rtb_Divide6 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_m4 = (rtb_Divide6 > 4.9); - /* Logic: '/Logical Operator5' */ + /* Logic: '/Logical Operator5' */ rtb_FailCond_n = (rtb_Compare_gg || rtb_Compare_m4); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator6 = (rtb_FailCond_n && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_p >= 3000U)); - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write3' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write3' */ if (rtb_LogicalOperator6) { - Duct3_F = 230; + rtb_y_ge = 230; } else { - Duct3_F = rtb_uDLookupTable7[2]; + rtb_y_ge = rtb_uDLookupTable7[2]; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Product: '/Divide8' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide7' + /* Product: '/Divide8' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide7' */ rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_lus = (rtb_Divide8 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_e1 = (rtb_Divide8 > 4.9); - /* Logic: '/Logical Operator7' */ + /* Logic: '/Logical Operator7' */ rtb_FailCond_b = (rtb_Compare_lus || rtb_Compare_e1); - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator8 = (rtb_FailCond_b && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_hb >= 3000U)); - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant12' - * DataStoreWrite: '/Data Store Write4' + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant12' + * DataStoreWrite: '/Data Store Write4' */ if (rtb_LogicalOperator8) { - Duct4_F = 230; + rtb_y_eq = 230; } else { - Duct4_F = rtb_uDLookupTable7[3]; + rtb_y_eq = rtb_uDLookupTable7[3]; } - /* End of Switch: '/Switch4' */ + /* End of Switch: '/Switch4' */ - /* Product: '/Divide10' incorporates: - * Constant: '/Constant13' - * Constant: '/Constant14' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide9' + /* Product: '/Divide10' incorporates: + * Constant: '/Constant13' + * Constant: '/Constant14' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide9' */ rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_bp = (rtb_Divide10 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_bt = (rtb_Divide10 > 4.9); - /* Logic: '/Logical Operator9' */ + /* Logic: '/Logical Operator9' */ rtb_FailCond_kk = (rtb_Compare_bp || rtb_Compare_bt); - /* Logic: '/Logical Operator10' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator10' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator10 = (rtb_FailCond_kk && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_i >= 3000U)); - /* Switch: '/Switch5' incorporates: - * Constant: '/Constant15' - * DataStoreWrite: '/Data Store Write5' + /* Switch: '/Switch5' incorporates: + * Constant: '/Constant15' + * DataStoreWrite: '/Data Store Write5' */ if (rtb_LogicalOperator10) { - Duct5_F = 230; + rtb_y_h = 230; } else { - Duct5_F = rtb_uDLookupTable7[4]; + rtb_y_h = rtb_uDLookupTable7[4]; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* Product: '/Divide11' incorporates: - * Constant: '/Constant16' - * Constant: '/Constant17' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide12' + /* Product: '/Divide11' incorporates: + * Constant: '/Constant16' + * Constant: '/Constant17' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide12' */ rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_p = (rtb_Divide11 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_eo = (rtb_Divide11 > 4.9); - /* Logic: '/Logical Operator12' */ + /* Logic: '/Logical Operator12' */ rtb_FailCond_fj = (rtb_Compare_p || rtb_Compare_eo); - /* Logic: '/Logical Operator11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator11 = (rtb_FailCond_fj && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_cc >= 3000U)); - /* Switch: '/Switch6' incorporates: - * Constant: '/Constant18' - * DataStoreWrite: '/Data Store Write6' + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant18' + * DataStoreWrite: '/Data Store Write6' */ if (rtb_LogicalOperator11) { - Duct6_F = 230; + rtb_y_br = 230; } else { - Duct6_F = rtb_uDLookupTable7[5]; + rtb_y_br = rtb_uDLookupTable7[5]; } - /* End of Switch: '/Switch6' */ + /* End of Switch: '/Switch6' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[17] = rtb_LogicalOperator3_cz; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator3_cz) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[18] = rtb_Compare_ne; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[17] = rtb_Compare_e; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[18] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[19] = rtb_LogicalOperator4_fo; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator4_fo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[20] = rtb_Compare_gh; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[19] = rtb_Compare_j4; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[20] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[21] = rtb_LogicalOperator6; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator6) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[22] = rtb_Compare_gg; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[21] = rtb_Compare_m4; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[22] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[23] = rtb_LogicalOperator8; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator8) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[24] = rtb_Compare_lus; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[23] = rtb_Compare_e1; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[24] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[25] = rtb_LogicalOperator10; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator10) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[26] = rtb_Compare_bp; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[25] = rtb_Compare_bt; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[26] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[27] = rtb_LogicalOperator11; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator11) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[28] = rtb_Compare_p; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[27] = rtb_Compare_eo; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[28] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct1_F = %d * 0.1 C\n',Sensor); */ - printf("Duct1_F = %d * 0.1 C\n", Duct1_F); + printf("Duct1_F = %d * 0.1 C\n", rtb_u0101_a); fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct2_F = %d * 0.1 C\n',Sensor); */ - printf("Duct2_F = %d * 0.1 C\n", Duct2_F); + printf("Duct2_F = %d * 0.1 C\n", rtb_y_c23); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write3' + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct3_F = %d * 0.1 C\n',Sensor); */ - printf("Duct3_F = %d * 0.1 C\n", Duct3_F); + printf("Duct3_F = %d * 0.1 C\n", rtb_y_ge); fflush(stdout); } - /* End of MATLAB Function: '/Write 3' */ + /* End of MATLAB Function: '/Write 3' */ - /* MATLAB Function: '/Write 4' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write4' + /* MATLAB Function: '/Write 4' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct4_F = %d * 0.1 C\n',Sensor); */ - printf("Duct4_F = %d * 0.1 C\n", Duct4_F); + printf("Duct4_F = %d * 0.1 C\n", rtb_y_eq); fflush(stdout); } - /* End of MATLAB Function: '/Write 4' */ + /* End of MATLAB Function: '/Write 4' */ - /* MATLAB Function: '/Write 5' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write5' + /* MATLAB Function: '/Write 5' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write5' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct5_F = %d * 0.1 C\n',Sensor); */ - printf("Duct5_F = %d * 0.1 C\n", Duct5_F); + printf("Duct5_F = %d * 0.1 C\n", rtb_y_h); fflush(stdout); } - /* End of MATLAB Function: '/Write 5' */ + /* End of MATLAB Function: '/Write 5' */ - /* MATLAB Function: '/Write 6' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write6' + /* MATLAB Function: '/Write 6' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write6' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct6_F = %d * 0.1 C\n',Sensor); */ - printf("Duct6_F = %d * 0.1 C\n", Duct6_F); + printf("Duct6_F = %d * 0.1 C\n", rtb_y_br); fflush(stdout); } - /* End of MATLAB Function: '/Write 6' */ + /* End of MATLAB Function: '/Write 6' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_cz) { @@ -7200,24 +10304,24 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator4_fo) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct2_F = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct2_F = %f V\n", - rtb_rate); + rtb_FLU_tg_correct_p5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR2' */ + /* End of MATLAB Function: '/Write ERROR2' */ - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator6) { @@ -7228,10 +10332,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* MATLAB Function: '/Write ERROR4' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Write ERROR4' incorporates: + * DataStoreRead: '/Data Store Read4' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator8) { @@ -7242,10 +10346,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR4' */ + /* End of MATLAB Function: '/Write ERROR4' */ - /* MATLAB Function: '/Write ERROR5' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/Write ERROR5' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator10) { @@ -7256,10 +10360,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR5' */ + /* End of MATLAB Function: '/Write ERROR5' */ - /* MATLAB Function: '/Write ERROR6' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR6' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator11) { @@ -7270,468 +10374,469 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR6' */ + /* End of MATLAB Function: '/Write ERROR6' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_it && (!rtDW.Cond_prev_private_DSTATE_h)) { rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_ho && (!rtDW.Cond_prev_private_DSTATE_c)) { rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_n && (!rtDW.Cond_prev_private_DSTATE_m)) { rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_b && (!rtDW.Cond_prev_private_DSTATE_j)) { rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_kk && (!rtDW.Cond_prev_private_DSTATE_f)) { rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_fj && (!rtDW.Cond_prev_private_DSTATE_cn)) { rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide4' */ - rtb_rate = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 + * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_gg = (rtb_rate < 0.15); + rtb_Compare_gg = (rtb_FLU_tg_correct_p5 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_m4 = (rtb_rate > 4.9); + rtb_Compare_m4 = (rtb_FLU_tg_correct_p5 > 4.9); - /* Logic: '/Logical Operator5' */ + /* Logic: '/Logical Operator5' */ rtb_Compare_gh = (rtb_Compare_gg || rtb_Compare_m4); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_Compare_bp = (rtb_Compare_gh && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (rtb_Compare_bp) { - Duct1_R = 230; + rtb_y_cs = 230; } else { - Duct1_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled46, - rtConstP.pooled45, 1023U); + rtb_y_cs = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled48, + rtConstP.pooled47, 1023U); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' */ rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_lus = (rtb_Divide3 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_e1 = (rtb_Divide3 > 4.9); - /* Logic: '/Logical Operator7' */ + /* Logic: '/Logical Operator7' */ rtb_Compare_j4 = (rtb_Compare_lus || rtb_Compare_e1); - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_Compare_bt = (rtb_Compare_j4 && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_o >= 3000U)); - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (rtb_Compare_bt) { - Duct2_R = 230; + rtb_y_c4 = 230; } else { - Duct2_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled46, - rtConstP.pooled45, 1023U); + rtb_y_c4 = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled48, + rtConstP.pooled47, 1023U); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_mt = (rtb_Divide6 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_fr = (rtb_Divide6 > 4.9); - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_Compare_ne = (rtb_Compare_mt || rtb_Compare_fr); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_Compare_p = (rtb_Compare_ne && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oj >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (rtb_Compare_p) { Duct3_R = 230; } else { Duct3_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled46, - rtConstP.pooled45, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled48, + rtConstP.pooled47, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_jf = (rtb_Divide8 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_of = (rtb_Divide8 > 4.9); - /* Logic: '/Logical Operator2' */ + /* 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 ' + /* 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' + /* 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); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled48, + rtConstP.pooled47, 1023U); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[29] = rtb_Compare_p; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_Compare_p) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[30] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[31] = rtb_Compare_eo; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_Compare_eo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[32] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[33] = rtb_Compare_bp; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_Compare_bp) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[34] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[35] = rtb_Compare_bt; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_Compare_bt) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[36] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' + /* MATLAB Function: '/Write ' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct1_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; + rtb_Saturation_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct1 > 32767) { - rtb_out_b = 32767U; + rtb_Saturation_b = 32767U; } - printf("Duct1_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)rtb_out_b); + printf("Duct1_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)rtb_Saturation_b); fflush(stdout); } - /* End of MATLAB Function: '/Write ' */ + /* End of MATLAB Function: '/Write ' */ - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct2_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; + rtb_Saturation_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct2 > 32767) { - rtb_out_b = 32767U; + rtb_Saturation_b = 32767U; } - printf("Duct2_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)rtb_out_b); + printf("Duct2_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)rtb_Saturation_b); fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct3_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; + rtb_Saturation_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct3 > 32767) { - rtb_out_b = 32767U; + rtb_Saturation_b = 32767U; } - printf("Duct3_R = %d * 0.1 C %d V\n", Duct1_R, (int16_t)rtb_out_b); + printf("Duct3_R = %d * 0.1 C %d V\n", rtb_y_cs, (int16_t)rtb_Saturation_b); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct4_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; + rtb_Saturation_b = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct4 > 32767) { - rtb_out_b = 32767U; + rtb_Saturation_b = 32767U; } - printf("Duct4_R = %d * 0.1 C %d V\n", Duct2_R, (int16_t)rtb_out_b); + printf("Duct4_R = %d * 0.1 C %d V\n", rtb_y_c4, (int16_t)rtb_Saturation_b); fflush(stdout); } - /* End of MATLAB Function: '/Write 3' */ + /* End of MATLAB Function: '/Write 3' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_p) { @@ -7742,10 +10847,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_eo) { @@ -7756,24 +10861,24 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_bp) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct3_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct3_R = %f V\n", - rtb_rate); + rtb_FLU_tg_correct_p5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR2' */ + /* End of MATLAB Function: '/Write ERROR2' */ - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_bt) { @@ -7784,226 +10889,227 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_ne && (!rtDW.Cond_prev_private_DSTATE_l)) { rtDW.t_start_delay_private_DSTATE_oj = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_e && (!rtDW.Cond_prev_private_DSTATE_ja)) { rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_gh && (!rtDW.Cond_prev_private_DSTATE_g)) { rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_j4 && (!rtDW.Cond_prev_private_DSTATE_cd)) { rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* 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; + rtb_FLU_tg_correct_p5 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / + 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_lus = (rtb_rate < 0.15); + rtb_Compare_lus = (rtb_FLU_tg_correct_p5 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_e1 = (rtb_rate > 4.9); + rtb_Compare_e1 = (rtb_FLU_tg_correct_p5 > 4.9); - /* Logic: '/Logical Operator' */ + /* 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 ' + /* 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)); + 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' + /* 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, + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled54, rtConstP.pooled9, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_jf = (rtb_Divide3 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_of = (rtb_Divide3 > 4.9); - /* Logic: '/Logical Operator2' */ + /* 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 ' + /* 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' + /* 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, + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled54, rtConstP.pooled9, 1023U); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[2] = rtb_Compare_mt; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_Compare_mt) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[3] = rtb_Compare_lus; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[2] = rtb_Compare_e1; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[3] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[6] = rtb_Compare_fr; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_Compare_fr) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[7] = rtb_Compare_jf; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[6] = rtb_Compare_of; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[7] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_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); + rtb_FLU_tg_correct_p5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_fr) { @@ -8014,11 +11120,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write IncarFL' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/Write IncarFL' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8027,11 +11133,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarFL' */ + /* End of MATLAB Function: '/Write IncarFL' */ - /* MATLAB Function: '/Write IncarRL' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write IncarRL' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8040,200 +11146,201 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarRL' */ + /* End of MATLAB Function: '/Write IncarRL' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_gg && (!rtDW.Cond_prev_private_DSTATE_e)) { - rtDW.t_start_delay_private_DSTATE_g = rtDW.t_now; + rtDW.t_start_delay_private_DSTATE_go = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_m4 && (!rtDW.Cond_prev_private_DSTATE_mv)) { rtDW.t_start_delay_private_DSTATE_j = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* 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; + rtb_FLU_tg_correct_p5 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / + 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_jf = (rtb_rate < 0.15); + rtb_Compare_jf = (rtb_FLU_tg_correct_p5 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_of = (rtb_rate > 4.9); + rtb_Compare_of = (rtb_FLU_tg_correct_p5 > 4.9); - /* Logic: '/Logical Operator' */ + /* 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 ' + /* 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' + /* 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, + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled54, rtConstP.pooled9, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_esy = (rtb_Divide3 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_a = (rtb_Divide3 > 4.9); - /* Logic: '/Logical Operator2' */ + /* 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 ' + /* 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' + /* 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, + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled54, rtConstP.pooled9, 1023U); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[4] = rtb_LogicalOperator1_l; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1_l) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[5] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[8] = rtb_LogicalOperator3_p0; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator3_p0) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[9] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_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); + rtb_FLU_tg_correct_p5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_p0) { @@ -8244,11 +11351,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write IncarFR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write IncarFR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8257,11 +11364,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarFR' */ + /* End of MATLAB Function: '/Write IncarFR' */ - /* MATLAB Function: '/Write IncarRR' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* MATLAB Function: '/Write IncarRR' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -8270,305 +11377,306 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarRR' */ + /* End of MATLAB Function: '/Write IncarRR' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_lus && (!rtDW.Cond_prev_private_DSTATE_jl)) { rtDW.t_start_delay_private_DSTATE_kw = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_e1 && (!rtDW.Cond_prev_private_DSTATE_ei)) { rtDW.t_start_delay_private_DSTATE_gd = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/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_rate = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / - 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 1200.0 * 550.0); + printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / - 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 1200.0 * 550.0); + printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / 4095.0 * - 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 1200.0 * 550.0); + printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / 4095.0 * - 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 1200.0 * 550.0); + printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / 4095.0 * - 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, rtb_rate - / 1200.0 * 550.0); + printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / 4095.0 * - 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, rtb_rate / - 1200.0 * 550.0); + printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / - 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 1200.0 * 550.0); + printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / 4095.0 - * 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 1200.0 * 550.0); + printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / 4095.0 * - 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 1200.0 * 550.0); + printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, rtb_rate / - 1200.0 * 550.0); + printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_FLU_tg_correct_p5, + rtb_FLU_tg_correct_p5 / 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) { @@ -8578,15 +11686,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) { @@ -8596,15 +11704,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) { @@ -8614,15 +11722,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) { @@ -8632,15 +11740,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) { @@ -8650,15 +11758,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) { @@ -8668,15 +11776,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) { @@ -8686,15 +11794,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) { @@ -8705,15 +11813,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) { @@ -8724,63 +11832,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_rate = (double)rtDW.ADC_Data_Model.VN7008AJ_FrontLINActuatorPowerDriverAB / - 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 2490.0 * 5890.0); + printf("VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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_rate = (double)rtDW.ADC_Data_Model.VN7008AJ_RearLINActuatorPowerDriverC / - 4095.0 * 5.0; + rtb_FLU_tg_correct_p5 = (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_rate, - rtb_rate / 2490.0 * 5890.0); + printf("VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n", + rtb_FLU_tg_correct_p5, rtb_FLU_tg_correct_p5 / 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) { @@ -8789,11 +11897,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) { @@ -8802,11 +11910,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) { @@ -8816,11 +11924,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) { @@ -8830,11 +11938,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) { @@ -8843,23 +11951,23 @@ 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' - * 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_mt || rtb_Compare_fr); @@ -8890,20 +11998,20 @@ void HVAC_model_step(void) CCU_Errors_Model.CCU_IonizationErr_Stat = 0U; CCU_Errors_Model.CCU_AromaErr_Stat = 0U; - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read' */ if (rtb_LVL > 1000) { - rtb_Saturation_n = 1000; + rtb_Saturation_d4 = 1000; } else if (rtb_LVL < -1000) { - rtb_Saturation_n = -1000; + rtb_Saturation_d4 = -1000; } else { - rtb_Saturation_n = rtb_LVL; + rtb_Saturation_d4 = rtb_LVL; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* MATLAB Function: '/Convert_g_assAMB_LV_UP' */ + /* MATLAB Function: '/Convert_g_assAMB_LV_UP' */ /* : c_g_assAMB_LV_UP = [-1000, g_assAMB_LV_UP(5), g_assAMB_LV_UP(4), g_assAMB_LV_UP(3), g_assAMB_LV_UP(2), g_assAMB_LV_UP(1)]; */ rtb_uDLookupTable7[0] = -1000; rtb_uDLookupTable7[1] = g_assAMB_LV_UP[4]; @@ -8912,198 +12020,198 @@ void HVAC_model_step(void) rtb_uDLookupTable7[4] = g_assAMB_LV_UP[1]; rtb_uDLookupTable7[5] = g_assAMB_LV_UP[0]; - /* SwitchCase: '/Switch Case' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation' + /* SwitchCase: '/Switch Case' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation' */ - switch ((int8_t)rtConstP.pooled40[plook_u32s16_bincka(rtb_Saturation_n, + switch ((int8_t)rtConstP.pooled42[plook_u32s16_bincka(rtb_Saturation_d4, 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)(rtb_Saturation_n <= g_assAMB_LV_UP[0]); + rtB.Merge_b = (uint8_t)(rtb_Saturation_d4 <= g_assAMB_LV_UP[0]); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_2' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_2' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_1 = g_assAMB_LV_DN(1); */ /* : c_g_assAMB_LV_UP_2 = g_assAMB_LV_UP(2); */ - if (rtb_Saturation_n > g_assAMB_LV_UP[1]) { - /* Merge: '/Merge' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' - * RelationalOperator: '/Relational Operator1' + if (rtb_Saturation_d4 > g_assAMB_LV_UP[1]) { + /* Merge: '/Merge' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' + * RelationalOperator: '/Relational Operator1' */ - rtB.Merge_b = (uint8_t)(rtb_Saturation_n <= g_assAMB_LV_DN[0]); + rtB.Merge_b = (uint8_t)(rtb_Saturation_d4 <= 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' - */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_3' - * RelationalOperator: '/Relational Operator' - */ - /* : c_g_assAMB_LV_DN_2 = g_assAMB_LV_DN(2); */ - /* : c_g_assAMB_LV_UP_3 = g_assAMB_LV_UP(3); */ - if (rtb_Saturation_n > 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_DN[1]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv1' - */ - rtB.Merge_b = 1U; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' - */ - rtB.Merge_b = 2U; - } - - /* End of Switch: '/Switch3' */ - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' - */ - rtB.Merge_b = 3U; - } - - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ - break; - - case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: * ActionPort: '/Action Port' */ /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' + * MATLAB Function: '/Convert_g_assAMB_LV_UP_3' * RelationalOperator: '/Relational Operator' */ - /* : c_g_assAMB_LV_DN_3 = g_assAMB_LV_DN(3); */ - /* : c_g_assAMB_LV_UP_4 = g_assAMB_LV_UP(4); */ - if (rtb_Saturation_n > g_assAMB_LV_UP[3]) { + /* : c_g_assAMB_LV_DN_2 = g_assAMB_LV_DN(2); */ + /* : c_g_assAMB_LV_UP_3 = g_assAMB_LV_UP(3); */ + if (rtb_Saturation_d4 > g_assAMB_LV_UP[2]) { /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' + * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' * RelationalOperator: '/Relational Operator1' */ - if (rtb_Saturation_n > g_assAMB_LV_DN[2]) { - /* Merge: '/Merge' incorporates: + if (rtb_Saturation_d4 > g_assAMB_LV_DN[1]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv1' + */ + rtB.Merge_b = 1U; + } else { + /* Merge: '/Merge' incorporates: * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' - */ - rtB.Merge_b = 3U; } /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ - rtB.Merge_b = 4U; + rtB.Merge_b = 3U; } /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; - case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + case 3: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: * ActionPort: '/Action Port' */ /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' + * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' * RelationalOperator: '/Relational Operator' */ - /* : c_g_assAMB_LV_DN_4 = g_assAMB_LV_DN(4); */ - /* : c_g_assAMB_LV_UP_5 = g_assAMB_LV_UP(5); */ - if (rtb_Saturation_n > g_assAMB_LV_UP[4]) { + /* : c_g_assAMB_LV_DN_3 = g_assAMB_LV_DN(3); */ + /* : c_g_assAMB_LV_UP_4 = g_assAMB_LV_UP(4); */ + if (rtb_Saturation_d4 > g_assAMB_LV_UP[3]) { /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' + * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' * RelationalOperator: '/Relational Operator1' */ - if (rtb_Saturation_n > g_assAMB_LV_DN[3]) { - /* Merge: '/Merge' incorporates: + if (rtb_Saturation_d4 > g_assAMB_LV_DN[2]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' + */ + rtB.Merge_b = 2U; + } else { + /* Merge: '/Merge' incorporates: * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' - */ - rtB.Merge_b = 4U; } /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ - rtB.Merge_b = 5U; + rtB.Merge_b = 4U; } /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; - case 5: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: + case 4: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: * ActionPort: '/Action Port' */ - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' * RelationalOperator: '/Relational Operator' */ - /* : c_g_assAMB_LV_DN_5 = g_assAMB_LV_DN(5); */ - if (rtb_Saturation_n > g_assAMB_LV_DN[4]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* : c_g_assAMB_LV_DN_4 = g_assAMB_LV_DN(4); */ + /* : c_g_assAMB_LV_UP_5 = g_assAMB_LV_UP(5); */ + if (rtb_Saturation_d4 > g_assAMB_LV_UP[4]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' + * RelationalOperator: '/Relational Operator1' */ - rtB.Merge_b = 4U; + if (rtb_Saturation_d4 > g_assAMB_LV_DN[3]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' + */ + rtB.Merge_b = 3U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' + */ + rtB.Merge_b = 4U; + } + + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: + /* Merge: '/Merge' incorporates: * Constant: '/Constant_Lv5' */ rtB.Merge_b = 5U; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' + * RelationalOperator: '/Relational Operator' + */ + /* : c_g_assAMB_LV_DN_5 = g_assAMB_LV_DN(5); */ + if (rtb_Saturation_d4 > g_assAMB_LV_DN[4]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' + */ + rtB.Merge_b = 4U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' + */ + rtB.Merge_b = 5U; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read1' @@ -9116,13 +12224,13 @@ void HVAC_model_step(void) i = rtDW.FIU_SET_FL; } - /* Gain: '/Gain' incorporates: + /* Gain: '/Gain' incorporates: * Saturate: '/Saturation' */ i *= 13107; rtb_Merge_j = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); - /* MATLAB Function: '/Modes for levels' */ + /* MATLAB Function: '/Modes for levels' */ /* : get_modes_for_levels = [g_aucMODE_BY_SET_F_LV0; */ /* : g_aucMODE_BY_SET_F_LV1; */ /* : g_aucMODE_BY_SET_F_LV2; */ @@ -9139,17 +12247,17 @@ void HVAC_model_step(void) rtb_get_modes_for_levels[6 * i + 5] = g_aucMODE_BY_SET_F_LV5[i]; } - /* End of MATLAB Function: '/Modes for levels' */ + /* End of MATLAB Function: '/Modes for levels' */ - /* Lookup_n-D: '/Выбор режима Left' incorporates: - * Gain: '/Gain' - * Merge: '/Merge' + /* Lookup_n-D: '/Выбор режима Left' incorporates: + * Gain: '/Gain' + * Merge: '/Merge' */ rtb_Merge_m = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Merge_j, - rtConstP.pooled86, rtConstP.pooled49, rtb_get_modes_for_levels, - rtConstP.pooled38, 6U); + rtConstP.pooled91, rtConstP.pooled51, rtb_get_modes_for_levels, + rtConstP.pooled39, 6U); - /* MATLAB Function: '/Начальные положения заслонок left' */ + /* MATLAB Function: '/Начальные положения заслонок left' */ left(rtb_Merge_m, rtb_vals_m); /* Saturate: '/Saturation1' incorporates: @@ -9163,105 +12271,12 @@ void HVAC_model_step(void) i = rtDW.FIU_SET_FR; } - /* Gain: '/Gain2' incorporates: + /* Gain: '/Gain2' incorporates: * Saturate: '/Saturation1' */ i *= 13107; rtb_Merge_e = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); - /* SwitchCase: '/Switch for Left ' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtb_Merge_m) { - case 10: - break; - - case 20: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' - */ - Merge[i] = rtb_vals_m[i]; - - /* End of Outputs for SubSystem: '/Bilevel' */ - } - - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' - */ - Bilevel(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - - /* End of Outputs for SubSystem: '/Bilevel' */ - break; - - case 30: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' - */ - Merge[i] = rtb_vals_m[i]; - - /* End of Outputs for SubSystem: '/Bilevel2' */ - } - - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' - */ - Bilevel2(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - - /* End of Outputs for SubSystem: '/Bilevel2' */ - break; - - case 40: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - Merge[i] = rtb_vals_m[i]; - - /* End of Outputs for SubSystem: '/Afoot' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - Afoot(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - - /* End of Outputs for SubSystem: '/Afoot' */ - break; - - case 50: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' - */ - Merge[i] = rtb_vals_m[i]; - - /* End of Outputs for SubSystem: '/Afoot_Summer' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' - */ - Afoot_Summer(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); - - /* End of Outputs for SubSystem: '/Afoot_Summer' */ - break; - } - - /* End of SwitchCase: '/Switch for Left ' */ - - /* Lookup_n-D: '/Выбор режима Right' incorporates: - * Gain: '/Gain2' - * Merge: '/Merge' - */ - rtb_Merge_m = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Merge_e, - rtConstP.pooled86, rtConstP.pooled49, rtb_get_modes_for_levels, - rtConstP.pooled38, 6U); - - /* MATLAB Function: '/Начальные положения заслонок right' */ - left(rtb_Merge_m, rtb_vals_m); - /* SwitchCase: '/Switch for Left ' incorporates: * DataStoreRead: '/Data Store Read' */ @@ -9272,7 +12287,7 @@ void HVAC_model_step(void) case 20: for (i = 0; i < 9; i++) { /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; @@ -9280,7 +12295,7 @@ void HVAC_model_step(void) } /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Bilevel(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); @@ -9290,7 +12305,7 @@ void HVAC_model_step(void) case 30: for (i = 0; i < 9; i++) { /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; @@ -9298,7 +12313,7 @@ void HVAC_model_step(void) } /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Bilevel2(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); @@ -9308,7 +12323,7 @@ void HVAC_model_step(void) case 40: for (i = 0; i < 9; i++) { /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; @@ -9316,7 +12331,7 @@ void HVAC_model_step(void) } /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Afoot(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); @@ -9326,7 +12341,7 @@ void HVAC_model_step(void) case 50: for (i = 0; i < 9; i++) { /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Merge[i] = rtb_vals_m[i]; @@ -9334,7 +12349,7 @@ void HVAC_model_step(void) } /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ Afoot_Summer(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); @@ -9344,7 +12359,103 @@ void HVAC_model_step(void) /* End of SwitchCase: '/Switch for Left ' */ - /* MATLAB Function: '/Log Ambient Lv' */ + /* Lookup_n-D: '/Выбор режима Right' incorporates: + * Gain: '/Gain2' + * Merge: '/Merge' + */ + rtb_Merge_m = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Merge_e, + rtConstP.pooled91, rtConstP.pooled51, rtb_get_modes_for_levels, + rtConstP.pooled39, 6U); + + /* MATLAB Function: '/Начальные положения заслонок right' */ + left(rtb_Merge_m, rtb_vals_m); + + /* SwitchCase: '/Switch for Left ' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtb_Merge_m) { + case 10: + break; + + case 20: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' + */ + Merge[i] = rtb_vals_m[i]; + + /* End of Outputs for SubSystem: '/Bilevel' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); + + /* End of Outputs for SubSystem: '/Bilevel' */ + break; + + case 30: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + Merge[i] = rtb_vals_m[i]; + + /* End of Outputs for SubSystem: '/Bilevel2' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel2(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); + + /* End of Outputs for SubSystem: '/Bilevel2' */ + break; + + case 40: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' + */ + Merge[i] = rtb_vals_m[i]; + + /* End of Outputs for SubSystem: '/Afoot' */ + } + + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' + */ + Afoot(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); + + /* End of Outputs for SubSystem: '/Afoot' */ + break; + + case 50: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' + */ + Merge[i] = rtb_vals_m[i]; + + /* End of Outputs for SubSystem: '/Afoot_Summer' */ + } + + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' + */ + Afoot_Summer(rtb_LVL, rtB.Merge_b, Merge, rtb_Merge_j, rtb_Merge_e); + + /* End of Outputs for SubSystem: '/Afoot_Summer' */ + break; + } + + /* End of SwitchCase: '/Switch for Left ' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.LEVEL = rtB.Merge_b; + + /* MATLAB Function: '/Log Ambient Lv' */ /* : if (isempty(current_Ambient_Lv)) */ if (!rtDW.current_Ambient_Lv_not_empty) { /* : current_Ambient_Lv = Ambient_Lv; */ @@ -9353,7 +12464,7 @@ void HVAC_model_step(void) /* : fprintf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl (init) = %u \n", in_Amb_Fb, Ambient_Lv); */ printf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl (init) = %u \n", - rtb_Saturation_n, rtB.Merge_b); + rtb_Saturation_d4, rtB.Merge_b); fflush(stdout); /* : else */ @@ -9364,425 +12475,441 @@ void HVAC_model_step(void) /* : fprintf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl = %u \n", in_Amb_Fb, Ambient_Lv); */ printf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl = %u \n", - rtb_Saturation_n, rtB.Merge_b); + rtb_Saturation_d4, rtB.Merge_b); fflush(stdout); } - /* End of MATLAB Function: '/Log Ambient Lv' */ + /* End of MATLAB Function: '/Log Ambient Lv' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain1' - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain1' + * Gain: '/Gain2' */ rtDW.AMB_RAW = (int16_t)floor((0.01 * (double) rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro - 40.0) * 10.0); - /* Bias: '/Bias' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Sun_R = 4.01575 * (double) + rtDW.CCUCAN_BCM_Climatic_model.SolarSensRightVal_ro; + + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Sun_L = 4.01575 * (double) + rtDW.CCUCAN_BCM_Climatic_model.SolarSensLeftVal_ro; + + /* Bias: '/Bias' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.ECT = (int16_t)(rtDW.CCUCAN_EMS_Veh_model.EMS_EngCoolTemp_Val_ro - 40); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write2' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write2' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' */ rtDW.VehicleSpeed = (int16_t)floor(0.01 * (double) rtDW.CCUCAN_ESC_04_model.ESC_VehicleSpeed_ro); - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreRead: '/Data Store Read1' */ + /* DataStoreRead: '/Data Store Read1' */ if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write6' */ + /* DataStoreWrite: '/Data Store Write6' */ rtDW.FIU_MODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req; } - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ - /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write10' */ + /* DataStoreWrite: '/Data Store Write10' */ rtDW.FIU_MODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req; } - /* End of Outputs for SubSystem: '/Subsystem10' */ + /* End of Outputs for SubSystem: '/Subsystem10' */ - /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write11' */ + /* DataStoreWrite: '/Data Store Write11' */ rtDW.FIU_DEF_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req; } - /* End of Outputs for SubSystem: '/Subsystem11' */ + /* End of Outputs for SubSystem: '/Subsystem11' */ - /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req > 0) { - /* DataStoreWrite: '/Data Store Write12' */ + /* DataStoreWrite: '/Data Store Write12' */ rtDW.FIU_FACE_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req; } - /* End of Outputs for SubSystem: '/Subsystem12' */ + /* End of Outputs for SubSystem: '/Subsystem12' */ - /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req > 0) { - /* DataStoreWrite: '/Data Store Write13' */ + /* DataStoreWrite: '/Data Store Write13' */ rtDW.FIU_FOOT_FR = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req; } - /* End of Outputs for SubSystem: '/Subsystem13' */ + /* End of Outputs for SubSystem: '/Subsystem13' */ - /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: + * EnablePort: '/Enable' */ - /* SignalConversion generated from: '/Bus Selector' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SignalConversion generated from: '/Bus Selector' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write14' */ + /* 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' */ + /* End of SignalConversion generated from: '/Bus Selector' */ + /* End of Outputs for SubSystem: '/Subsystem14' */ - /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreRead: '/Data Store Read1' */ + /* DataStoreRead: '/Data Store Read1' */ if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write15' */ + /* DataStoreWrite: '/Data Store Write15' */ rtDW.FIU_BLOWERS_FR = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; } - /* End of Outputs for SubSystem: '/Subsystem15' */ + /* End of Outputs for SubSystem: '/Subsystem15' */ - /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write16' */ + /* DataStoreWrite: '/Data Store Write16' */ rtDW.FIU_AUTOMODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; } - /* End of Outputs for SubSystem: '/Subsystem16' */ + /* End of Outputs for SubSystem: '/Subsystem16' */ - /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write17' */ + /* DataStoreWrite: '/Data Store Write17' */ rtDW.FIU_AUTOMODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; } - /* End of Outputs for SubSystem: '/Subsystem17' */ + /* End of Outputs for SubSystem: '/Subsystem17' */ - /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req > 0) { - /* DataStoreWrite: '/Data Store Write19' */ + /* DataStoreWrite: '/Data Store Write19' */ rtDW.FIU_RECIRC = rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req; } - /* End of Outputs for SubSystem: '/Subsystem18' */ + /* End of Outputs for SubSystem: '/Subsystem18' */ - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' */ - /* SignalConversion generated from: '/Bus Selector' incorporates: - * DataStoreRead: '/Data Store Read1' + /* 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' + /* 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' */ + /* Saturate: '/Saturation' */ if (rtDW.FIU_SET_FL > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.FIU_SET_FL = 305U; } else if (rtDW.FIU_SET_FL < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.FIU_SET_FL = 155U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of SignalConversion generated from: '/Bus Selector' */ - /* End of Outputs for SubSystem: '/Subsystem5' */ + /* End of SignalConversion generated from: '/Bus Selector' */ + /* End of Outputs for SubSystem: '/Subsystem5' */ - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreRead: '/Data Store Read1' */ + /* 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' + /* 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' */ + /* Saturate: '/Saturation' */ if (rtDW.FIU_SET_FR > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.FIU_SET_FR = 305U; } else if (rtDW.FIU_SET_FR < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.FIU_SET_FR = 155U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of Outputs for SubSystem: '/Subsystem6' */ + /* End of Outputs for SubSystem: '/Subsystem6' */ - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write7' */ + /* DataStoreWrite: '/Data Store Write7' */ rtDW.FIU_DEF_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req; } - /* End of Outputs for SubSystem: '/Subsystem7' */ + /* End of Outputs for SubSystem: '/Subsystem7' */ - /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req > 0) { - /* DataStoreWrite: '/Data Store Write8' */ + /* DataStoreWrite: '/Data Store Write8' */ rtDW.FIU_FACE_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req; } - /* End of Outputs for SubSystem: '/Subsystem8' */ + /* End of Outputs for SubSystem: '/Subsystem8' */ - /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req > 0) { - /* DataStoreWrite: '/Data Store Write9' */ + /* DataStoreWrite: '/Data Store Write9' */ rtDW.FIU_FOOT_FL = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req; } - /* End of Outputs for SubSystem: '/Subsystem9' */ + /* End of Outputs for SubSystem: '/Subsystem9' */ - /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreRead: '/Data Store Read2' */ + /* DataStoreRead: '/Data Store Read2' */ if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' */ rtDW.FIU_SET_RL = (uint16_t)((0.5 * (double) rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro + 15.0) * 10.0); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtDW.FIU_SET_RL > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.FIU_SET_RL = 305U; } else if (rtDW.FIU_SET_RL < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.FIU_SET_RL = 155U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of Outputs for SubSystem: '/Subsystem2' */ + /* End of Outputs for SubSystem: '/Subsystem2' */ - /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_MODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req; } - /* End of Outputs for SubSystem: '/Subsystem27' */ + /* End of Outputs for SubSystem: '/Subsystem27' */ - /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_FACE_RL = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req; } - /* End of Outputs for SubSystem: '/Subsystem29' */ + /* End of Outputs for SubSystem: '/Subsystem29' */ - /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' */ rtDW.FIU_SET_RR = (uint16_t)((0.5 * (double) rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro + 15.0) * 10.0); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtDW.FIU_SET_RR > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.FIU_SET_RR = 305U; } else if (rtDW.FIU_SET_RR < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.FIU_SET_RR = 155U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of Outputs for SubSystem: '/Subsystem3' */ + /* End of Outputs for SubSystem: '/Subsystem3' */ - /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_FOOT_RL = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req; } - /* End of Outputs for SubSystem: '/Subsystem30' */ + /* End of Outputs for SubSystem: '/Subsystem30' */ - /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_MODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req; } - /* End of Outputs for SubSystem: '/Subsystem31' */ + /* End of Outputs for SubSystem: '/Subsystem31' */ - /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_FACE_RR = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req; } - /* End of Outputs for SubSystem: '/Subsystem33' */ + /* End of Outputs for SubSystem: '/Subsystem33' */ - /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_FOOT_RR = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req; } - /* End of Outputs for SubSystem: '/Subsystem34' */ + /* End of Outputs for SubSystem: '/Subsystem34' */ - /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_BLOWERS_RL = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; } - /* End of Outputs for SubSystem: '/Subsystem35' */ + /* End of Outputs for SubSystem: '/Subsystem35' */ - /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_BLOWERS_RR = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; } - /* End of Outputs for SubSystem: '/Subsystem36' */ + /* End of Outputs for SubSystem: '/Subsystem36' */ - /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_AUTOMODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; } - /* End of Outputs for SubSystem: '/Subsystem37' */ + /* End of Outputs for SubSystem: '/Subsystem37' */ - /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.FIU_AUTOMODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; } - /* End of DataStoreRead: '/Data Store Read2' */ - /* End of Outputs for SubSystem: '/Subsystem38' */ + /* 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' + /* 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); @@ -9814,205 +12941,205 @@ 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; + rtb_Saturation_b = 310U; } else if (rtDW.FIU_SET_FL < 155) { - rtb_out_b = 155U; + rtb_Saturation_b = 155U; } else { - rtb_out_b = rtDW.FIU_SET_FL; + rtb_Saturation_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); + * (double)rtb_Saturation_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; + rtb_Saturation_b = 310U; } else if (rtDW.FIU_SET_FR < 155) { - rtb_out_b = 155U; + rtb_Saturation_b = 155U; } else { - rtb_out_b = rtDW.FIU_SET_FR; + rtb_Saturation_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); + * (double)rtb_Saturation_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; + rtb_Saturation_b = 310U; } else if (rtDW.FIU_SET_RR < 155) { - rtb_out_b = 155U; + rtb_Saturation_b = 155U; } else { - rtb_out_b = rtDW.FIU_SET_RR; + rtb_Saturation_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); + * (double)rtb_Saturation_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; + rtb_Saturation_b = 310U; } else if (rtDW.FIU_SET_RL < 155) { - rtb_out_b = 155U; + rtb_Saturation_b = 155U; } else { - rtb_out_b = rtDW.FIU_SET_RL; + rtb_Saturation_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); + * (double)rtb_Saturation_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' */ - 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; + rtb_Saturation_d4 = rtDW.MaxPositionCh0_private[i]; + if (rtb_Saturation_d4 != 0) { + rtb_FLU_tg_correct_p5 = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / + (double)rtb_Saturation_d4 * 100.0; } else { - rtb_rate = 0.0; + rtb_FLU_tg_correct_p5 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - if (rtb_rate > 100.0) { + if (rtb_FLU_tg_correct_p5 > 100.0) { rtb_DataTypeConversion_bh[i] = 100U; - } else if (rtb_rate < 0.0) { + } else if (rtb_FLU_tg_correct_p5 < 0.0) { rtb_DataTypeConversion_bh[i] = 0U; } else { - rtb_DataTypeConversion_bh[i] = (uint8_t)rtb_rate; + rtb_DataTypeConversion_bh[i] = (uint8_t)rtb_FLU_tg_correct_p5; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ if (rtDW.stepSig_private > 0) { rtb_Switch_nyq = rtDW.stepSig_private; @@ -10020,40 +13147,40 @@ void HVAC_model_step(void) rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_Switch_nyq) { case 1: - /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -10062,55 +13189,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -10119,55 +13246,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 1U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -10176,79 +13303,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -10257,35 +13384,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_i5[i] = @@ -10294,10 +13421,10 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { @@ -10305,43 +13432,43 @@ void HVAC_model_step(void) + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MinPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -10350,54 +13477,54 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -10406,77 +13533,77 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' */ + /* DataStoreWrite: '/Data Store Write6' */ rtDW.Coils_private[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -10485,35 +13612,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ break; case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_i5[i] = @@ -10522,10 +13649,10 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { @@ -10533,43 +13660,43 @@ void HVAC_model_step(void) + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MaxPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -10578,74 +13705,75 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 9; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh0_private[i] / (double) rtConstP.ACT1_Value[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_FLU_tg_correct_p5 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 1.1)); + rtb_LogicalOperator1 = ((rtb_FLU_tg_correct_p5 >= 0.9) && + (rtb_FLU_tg_correct_p5 <= 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) { @@ -10663,80 +13791,80 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_a = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ rtDW.CCU_ActuatorErrF_Stat_private = rtb_LogicalOperator1; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; rtDW.COM_private[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtDW.ErrorActuator[i] = (uint8_t)(rtb_LogicalOperator1 || (rtDW.ErrorActuator[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtDW.LOGGER_LIN >= 0.0) { @@ -10751,35 +13879,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private[i] = (uint8_t)((!rtb_LogicalOperator1) && (rtDW.ErrorCalibration_private[i] != 0)); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[i + 54] = rtb_LogicalOperator1; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -10800,10 +13928,10 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtb_LogicalOperator1 = (rtDW.ErrorCalibration_private[0] != 0); for (i = 0; i < 8; i++) { @@ -10811,55 +13939,56 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_FLU_tg_correct_p5 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 1.03)) && - (rtDW.ErrorCalibration_private[i] != 0)); + rtb_LogicalOperator1 = (((rtb_FLU_tg_correct_p5 < 0.97) || + (rtb_FLU_tg_correct_p5 > 1.03)) && (rtDW.ErrorCalibration_private[i] + != 0)); rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private[i] = rtb_LogicalOperator1; } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -10880,78 +14009,78 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_a = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { /* : fprintf("[LIN 1] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_rate = rt_roundd(rtDW.ErrorHomming_private); - if (rtb_rate < 32768.0) { - if (rtb_rate >= -32768.0) { - rtb_Saturation_n = (int16_t)rtb_rate; + rtb_FLU_tg_correct_p5 = rt_roundd(rtDW.ErrorHomming_private); + if (rtb_FLU_tg_correct_p5 < 32768.0) { + if (rtb_FLU_tg_correct_p5 >= -32768.0) { + rtb_Saturation_d4 = (int16_t)rtb_FLU_tg_correct_p5; } else { - rtb_Saturation_n = INT16_MIN; + rtb_Saturation_d4 = INT16_MIN; } } else { - rtb_Saturation_n = INT16_MAX; + rtb_Saturation_d4 = INT16_MAX; } - printf("[LIN 1] Homing 3. Start Time on step %d\n", rtb_Saturation_n); + printf("[LIN 1] Homing 3. Start Time on step %d\n", rtb_Saturation_d4); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorHomming_private < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ MATLABFunction(rtDW.Start_timer_n, rtDW.t_now, &rtb_dt_an, &rtDW.sf_MATLABFunction); - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { @@ -10966,107 +14095,107 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&rtB.Merge_a, &rtDW.ErrorHomming_private, &rtDW.Start_timer_n, &rtDW.stepSig_private); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer_n = 1.0; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { rtb_DataTypeConversion_bq[i] = (uint8_t) rtDW.valves_front_manual_target[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_bq[8]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[1] = rtb_DataTypeConversion_bh[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion_bh[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[3] = rtb_DataTypeConversion_bh[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_bq[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_bq[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[6] = rtb_DataTypeConversion_bh[6]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_bq[6]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_bq[7]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Merge_j = rtDW.BUS_ADR_private[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ rtDW.POS_private[i] = (uint16_t)((double)(rtb_Merge_j * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bh[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -11074,11 +14203,11 @@ void HVAC_model_step(void) } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_LogicalOperator1) { rtDW.COM_private[i] = 0U; @@ -11086,158 +14215,158 @@ void HVAC_model_step(void) rtDW.COM_private[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bh[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled79[i]); + rtConstP.pooled84[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' */ rtB.Merge_a = 3; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_a, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private, rtDW.ErrorActuator, rtDW.ErrorCalibration_private, &rtDW.LOGGER_LIN, rtDW.MODE_private, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { rtb_DataTypeConversion_bq[i] = (uint8_t) rtDW.valves_front_manual_target[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_bq[8]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[1] = rtb_DataTypeConversion_bh[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion_bh[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[3] = rtb_DataTypeConversion_bh[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_bq[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_bq[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private[6] = rtb_DataTypeConversion_bh[6]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_bq[6]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_bq[7]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Merge_j = rtDW.BUS_ADR_private[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ rtDW.POS_private[i] = (uint16_t)((double)(rtb_Merge_j * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bh[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -11245,11 +14374,11 @@ void HVAC_model_step(void) } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_LogicalOperator1) { rtDW.COM_private[i] = 0U; @@ -11257,86 +14386,86 @@ void HVAC_model_step(void) rtDW.COM_private[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bh[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled79[i]); + rtConstP.pooled84[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_a = 4; - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private = rtB.Merge_a; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_f1 = rtDW.stepSig_private; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private = rtB.Merge_f1; for (i = 0; i < 9; i++) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ Actuator_Ch0_Command_Model.POS[i] = rtDW.POS_private[i]; Actuator_Ch0_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private[i]; @@ -11348,14 +14477,14 @@ void HVAC_model_step(void) Actuator_Ch0_Command_Model.Speed_SET[i] = rtDW.Speed_private[i]; Actuator_Ch0_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private[i]; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' */ rtb_LogicalOperator3_i5[i] = (rtDW.ErrorCalibration_private[i] == 0); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + @@ -11363,77 +14492,77 @@ void HVAC_model_step(void) } for (i = 0; i < 9; i++) { - /* Switch: '/Switch1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write7' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + * Logic: '/Logical Operator' + * Product: '/Product' */ if (rtb_LogicalOperator1) { rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private[i] * rtConstP.pooled79[i]); + rtDW.ErrorCalibration_private[i] * rtConstP.pooled84[i]); } else { rtDW.BUS_ADR_private[i] = 0U; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private[i] = 0U; } - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ for (i = 0; i < 6; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Product: '/Divide' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Product: '/Divide' */ - rtb_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; + rtb_Saturation_d4 = rtDW.MaxPositionCh1_private[i]; + if (rtb_Saturation_d4 != 0) { + rtb_FLU_tg_correct_p5 = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / + (double)rtb_Saturation_d4 * 100.0; } else { - rtb_rate = 0.0; + rtb_FLU_tg_correct_p5 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_rate > 100.0) { + /* Saturate: '/Saturation' */ + if (rtb_FLU_tg_correct_p5 > 100.0) { rtb_DataTypeConversion_bq[i] = 100U; - } else if (rtb_rate < 0.0) { + } else if (rtb_FLU_tg_correct_p5 < 0.0) { rtb_DataTypeConversion_bq[i] = 0U; } else { - rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_rate; + rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_FLU_tg_correct_p5; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ rtb_DataTypeConversion_bq[6] = 0U; rtb_DataTypeConversion_bq[7] = 0U; rtb_DataTypeConversion_bq[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { Actuator_pos_percent_Ch1[i] = rtb_DataTypeConversion_bq[i]; } - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ if (rtDW.stepSig_private_h > 0) { rtb_Switch_nyq = rtDW.stepSig_private_h; @@ -11441,40 +14570,40 @@ void HVAC_model_step(void) rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_Switch_nyq) { case 1: - /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_b[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -11483,55 +14612,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -11540,55 +14669,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ rtB.Merge_e = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_b[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 1U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -11597,79 +14726,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_g[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -11678,35 +14807,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 6; i++) { rtb_LogicalOperator3_n1[i] = @@ -11715,10 +14844,10 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_n1[0]; for (i = 0; i < 5; i++) { @@ -11726,43 +14855,43 @@ void HVAC_model_step(void) + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MinPositionCh1_private[i] = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -11782,54 +14911,54 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -11838,79 +14967,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_g[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -11919,35 +15048,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ break; case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 6; i++) { rtb_LogicalOperator3_n1[i] = @@ -11956,10 +15085,10 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_n1[0]; for (i = 0; i < 5; i++) { @@ -11967,24 +15096,24 @@ void HVAC_model_step(void) + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MaxPositionCh1_private[i] = @@ -11993,19 +15122,19 @@ void HVAC_model_step(void) rtDW.MaxPositionCh1_private[i] = 0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -12025,81 +15154,82 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 6; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh1_private[i] / (double) rtConstP.ACT1_Value_c[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_a4[6] = 1.0; rtb_Divide1_a4[7] = 1.0; rtb_Divide1_a4[8] = 1.0; - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private_f) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_FLU_tg_correct_p5 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 1.1)); + rtb_LogicalOperator1 = ((rtb_FLU_tg_correct_p5 >= 0.9) && + (rtb_FLU_tg_correct_p5 <= 1.1)); rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private_p[i] = (uint8_t)((!rtb_LogicalOperator1) && (rtDW.ErrorCalibration_private_p[i] != 0)); } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * Logic: '/Logical Operator2' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -12117,80 +15247,80 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_p = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ rtDW.CCU_ActuatorErrF_Stat_private = rtb_LogicalOperator1; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; rtDW.COM_private_g[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtDW.ErrorActuator_o[i] = (uint8_t)(rtb_LogicalOperator1 || (rtDW.ErrorActuator_o[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_b[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtDW.LOGGER_LIN >= 0.0) { @@ -12205,35 +15335,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private_p[i] = (uint8_t)((!rtb_LogicalOperator1) && (rtDW.ErrorCalibration_private_p[i] != 0)); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[i + 54] = rtb_LogicalOperator1; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private_h = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -12254,10 +15384,10 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtb_LogicalOperator1 = (rtDW.ErrorCalibration_private_p[0] != 0); for (i = 0; i < 8; i++) { @@ -12265,55 +15395,56 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_FLU_tg_correct_p5 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 1.03)) && - (rtDW.ErrorCalibration_private_p[i] != 0)); + rtb_LogicalOperator1 = (((rtb_FLU_tg_correct_p5 < 0.97) || + (rtb_FLU_tg_correct_p5 > 1.03)) && (rtDW.ErrorCalibration_private_p[i] + != 0)); rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private_p[i] = rtb_LogicalOperator1; } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -12334,78 +15465,78 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_p = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { /* : fprintf("[LIN 2] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_rate = rt_roundd(rtDW.ErrorHomming_private_h); - if (rtb_rate < 32768.0) { - if (rtb_rate >= -32768.0) { - rtb_Saturation_n = (int16_t)rtb_rate; + rtb_FLU_tg_correct_p5 = rt_roundd(rtDW.ErrorHomming_private_h); + if (rtb_FLU_tg_correct_p5 < 32768.0) { + if (rtb_FLU_tg_correct_p5 >= -32768.0) { + rtb_Saturation_d4 = (int16_t)rtb_FLU_tg_correct_p5; } else { - rtb_Saturation_n = INT16_MIN; + rtb_Saturation_d4 = INT16_MIN; } } else { - rtb_Saturation_n = INT16_MAX; + rtb_Saturation_d4 = INT16_MAX; } - printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_Saturation_n); + printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_Saturation_d4); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorHomming_private_h < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ MATLABFunction(rtDW.Start_timer_j, rtDW.t_now, &rtb_dt_an, &rtDW.sf_MATLABFunction_h); - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { @@ -12420,108 +15551,108 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&rtB.Merge_p, &rtDW.ErrorHomming_private_h, &rtDW.Start_timer_j, &rtDW.stepSig_private_h); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer_j = 1.0; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[0] = rtb_DataTypeConversion_bq[0]; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { rtb_DataTypeConversion_fb[i] = (uint8_t) rtDW.valves_front_manual_target[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_fb[2]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_fb[3]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[3] = rtb_DataTypeConversion_bq[3]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_fb[4]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* 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' + /* 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' + /* 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' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant' */ rtDW.BUS_ADR_private_j[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Merge_j = rtDW.BUS_ADR_private_j[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ rtDW.POS_private_m[i] = (uint16_t)((double)(rtb_Merge_j * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -12529,11 +15660,11 @@ void HVAC_model_step(void) } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_LogicalOperator1) { rtDW.COM_private_g[i] = 0U; @@ -12541,159 +15672,159 @@ void HVAC_model_step(void) rtDW.COM_private_g[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled79[i]); + rtConstP.pooled84[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' */ rtB.Merge_p = 3; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_p, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private_g, rtDW.ErrorActuator_o, rtDW.ErrorCalibration_private_p, &rtDW.LOGGER_LIN, rtDW.MODE_private_b, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[0] = rtb_DataTypeConversion_bq[0]; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 9; i++) { rtb_DataTypeConversion_fb[i] = (uint8_t) rtDW.valves_front_manual_target[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_fb[2]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_fb[3]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[3] = rtb_DataTypeConversion_bq[3]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_fb[4]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* 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' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[6] = 0U; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[7] = 0U; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Merge_j = rtDW.BUS_ADR_private_j[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ rtDW.POS_private_m[i] = (uint16_t)((double)(rtb_Merge_j * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -12701,11 +15832,11 @@ void HVAC_model_step(void) } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_LogicalOperator1) { rtDW.COM_private_g[i] = 0U; @@ -12713,54 +15844,54 @@ void HVAC_model_step(void) rtDW.COM_private_g[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled79[i]); + rtConstP.pooled84[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_p = 4; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -12769,41 +15900,41 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private_f = rtB.Merge_p; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_e = rtDW.stepSig_private_h; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private_h = rtB.Merge_e; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { Actuator_Ch1_Command_Model.POS[i] = rtDW.POS_private_m[i]; @@ -12817,30 +15948,30 @@ void HVAC_model_step(void) Actuator_Ch1_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_c[i]; } - /* End of BusCreator: '/Bus Creator' */ + /* End of BusCreator: '/Bus Creator' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' */ for (i = 0; i < 6; i++) { rtb_Compare_n[i] = (rtDW.ErrorCalibration_private_p[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 5; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_Compare_n[i + 1]); } - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Product: '/Product' */ for (i = 0; i < 6; i++) { if (rtb_LogicalOperator1) { @@ -12851,71 +15982,71 @@ void HVAC_model_step(void) } } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ rtb_DataTypeConversion_bq[6] = 0U; rtb_DataTypeConversion_bq[7] = 0U; rtb_DataTypeConversion_bq[8] = 0U; for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Concatenate: '/LIN1' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[i] = rtb_DataTypeConversion_bq[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private_g[i] = 0U; } - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ for (i = 0; i < 8; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Product: '/Divide' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Product: '/Divide' */ - rtb_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; + rtb_Saturation_d4 = rtDW.MaxPositionCh2_private[i]; + if (rtb_Saturation_d4 != 0) { + rtb_FLU_tg_correct_p5 = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / + (double)rtb_Saturation_d4 * 100.0; } else { - rtb_rate = 0.0; + rtb_FLU_tg_correct_p5 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_rate > 100.0) { + /* Saturate: '/Saturation' */ + if (rtb_FLU_tg_correct_p5 > 100.0) { rtb_DataTypeConversion_bq[i] = 100U; - } else if (rtb_rate < 0.0) { + } else if (rtb_FLU_tg_correct_p5 < 0.0) { rtb_DataTypeConversion_bq[i] = 0U; } else { - rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_rate; + rtb_DataTypeConversion_bq[i] = (uint8_t)rtb_FLU_tg_correct_p5; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ rtb_DataTypeConversion_bq[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { rtb_DataTypeConversion_fb[i] = rtb_DataTypeConversion_bq[i]; } - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ if (rtDW.stepSig_private_g > 0) { rtb_Switch_nyq = rtDW.stepSig_private_g; @@ -12923,40 +16054,40 @@ void HVAC_model_step(void) rtb_Switch_nyq = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_Switch_nyq) { case 1: - /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_c[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -12965,55 +16096,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -13022,55 +16153,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_c[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 1U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -13079,79 +16210,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_k[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -13160,35 +16291,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 8; i++) { rtb_Compare_n[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) @@ -13196,53 +16327,53 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_b[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_Compare_n[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MinPositionCh2_private[i] = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -13262,54 +16393,54 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -13318,79 +16449,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_k[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -13399,35 +16530,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ break; case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 8; i++) { rtb_Compare_n[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) @@ -13435,34 +16566,34 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_b[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_Compare_n[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_LogicalOperator1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MaxPositionCh2_private[i] = @@ -13471,19 +16602,19 @@ void HVAC_model_step(void) rtDW.MaxPositionCh2_private[i] = 0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b4 = (int8_t)(rtb_Switch_nyq + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtDW.LOGGER_LIN == 2.0) { @@ -13503,79 +16634,80 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b4 = rtb_Switch_nyq; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 8; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh2_private[i] / (double) rtConstP.ACT1_Value_m[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_a4[8] = 1.0; - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private_a) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_FLU_tg_correct_p5 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = ((rtb_rate >= 0.9) && (rtb_rate <= 1.1)); + rtb_LogicalOperator1 = ((rtb_FLU_tg_correct_p5 >= 0.9) && + (rtb_FLU_tg_correct_p5 <= 1.1)); rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private_b[i] = (uint8_t)((!rtb_LogicalOperator1) && (rtDW.ErrorCalibration_private_b[i] != 0)); } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * Logic: '/Logical Operator2' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -13593,80 +16725,80 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h3 = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_i5[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ rtDW.CCU_ActuatorErrF_Stat_private = rtb_LogicalOperator1; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; rtDW.COM_private_k[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtDW.ErrorActuator_a[i] = (uint8_t)(rtb_LogicalOperator1 || (rtDW.ErrorActuator_a[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_c[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtDW.LOGGER_LIN >= 0.0) { @@ -13681,35 +16813,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private_b[i] = (uint8_t)((!rtb_LogicalOperator1) && (rtDW.ErrorCalibration_private_b[i] != 0)); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[i + 54] = rtb_LogicalOperator1; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private_g = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -13730,10 +16862,10 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtb_LogicalOperator1 = (rtDW.ErrorCalibration_private_b[0] != 0); for (i = 0; i < 8; i++) { @@ -13741,55 +16873,56 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_b[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_rate = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_FLU_tg_correct_p5 = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - rtb_LogicalOperator1 = (((rtb_rate < 0.97) || (rtb_rate > 1.03)) && - (rtDW.ErrorCalibration_private_b[i] != 0)); + rtb_LogicalOperator1 = (((rtb_FLU_tg_correct_p5 < 0.97) || + (rtb_FLU_tg_correct_p5 > 1.03)) && (rtDW.ErrorCalibration_private_b[i] + != 0)); rtb_LogicalOperator3_i5[i] = rtb_LogicalOperator1; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private_b[i] = rtb_LogicalOperator1; } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -13810,78 +16943,78 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_LogicalOperator3_i5[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_LogicalOperator1) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_h3 = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { /* : fprintf("[LIN 3] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_rate = rt_roundd(rtDW.ErrorHomming_private_m); - if (rtb_rate < 32768.0) { - if (rtb_rate >= -32768.0) { - rtb_Saturation_n = (int16_t)rtb_rate; + rtb_FLU_tg_correct_p5 = rt_roundd(rtDW.ErrorHomming_private_m); + if (rtb_FLU_tg_correct_p5 < 32768.0) { + if (rtb_FLU_tg_correct_p5 >= -32768.0) { + rtb_Saturation_d4 = (int16_t)rtb_FLU_tg_correct_p5; } else { - rtb_Saturation_n = INT16_MIN; + rtb_Saturation_d4 = INT16_MIN; } } else { - rtb_Saturation_n = INT16_MAX; + rtb_Saturation_d4 = INT16_MAX; } - printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_Saturation_n); + printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_Saturation_d4); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorHomming_private_m < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ MATLABFunction(rtDW.Start_timer, rtDW.t_now, &rtb_dt_an, &rtDW.sf_MATLABFunction_g); - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtDW.LOGGER_LIN > 1.0) { @@ -13896,107 +17029,107 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_dt_an > 30000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&rtB.Merge_h3, &rtDW.ErrorHomming_private_m, &rtDW.Start_timer, &rtDW.stepSig_private_g); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer = 1.0; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_a[0] = rtb_DataTypeConversion_bq[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_a[1] = rtb_DataTypeConversion_bq[1]; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 6; i++) { rtb_DataTypeConversion2_l3[i] = (uint8_t) rtDW.valves_rear_manual_target[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[2] = rtb_DataTypeConversion2_l3[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[3] = rtb_DataTypeConversion2_l3[4]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[4] = rtb_DataTypeConversion2_l3[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[5] = rtb_DataTypeConversion2_l3[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[6] = rtb_DataTypeConversion2_l3[5]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[7] = rtb_DataTypeConversion2_l3[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant1' + * SignalConversion generated from: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Merge_j = rtDW.BUS_ADR_private_a[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ rtDW.POS_private_h[i] = (uint16_t)((double)(rtb_Merge_j * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -14004,11 +17137,11 @@ void HVAC_model_step(void) } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_LogicalOperator1) { rtDW.COM_private_k[i] = 0U; @@ -14016,158 +17149,158 @@ void HVAC_model_step(void) rtDW.COM_private_k[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store 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]); + rtConstP.pooled84[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' */ rtB.Merge_h3 = 3; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_h3, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private_k, rtDW.ErrorActuator_a, rtDW.ErrorCalibration_private_b, &rtDW.LOGGER_LIN, rtDW.MODE_private_c, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_a[0] = rtb_DataTypeConversion_bq[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_a[1] = rtb_DataTypeConversion_bq[1]; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 6; i++) { rtb_DataTypeConversion2_l3[i] = (uint8_t) rtDW.valves_rear_manual_target[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[2] = rtb_DataTypeConversion2_l3[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[3] = rtb_DataTypeConversion2_l3[4]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[4] = rtb_DataTypeConversion2_l3[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[5] = rtb_DataTypeConversion2_l3[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[6] = rtb_DataTypeConversion2_l3[5]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[7] = rtb_DataTypeConversion2_l3[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant1' + * SignalConversion generated from: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Merge_j = rtDW.BUS_ADR_private_a[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ rtDW.POS_private_h[i] = (uint16_t)((double)(rtb_Merge_j * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator3_i5[i] = (rtb_DataTypeConversion_bq[i] == rtb_Merge_j); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_LogicalOperator3_i5[0]; for (i = 0; i < 8; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 && @@ -14175,11 +17308,11 @@ void HVAC_model_step(void) } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_LogicalOperator1) { rtDW.COM_private_k[i] = 0U; @@ -14187,54 +17320,54 @@ void HVAC_model_step(void) rtDW.COM_private_k[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_bq[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled79[i]); + rtConstP.pooled84[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_h3 = 4; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtDW.LOGGER_LIN > 0.0) { @@ -14243,46 +17376,46 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private_a = rtB.Merge_h3; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_b4 = rtDW.stepSig_private_g; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ /* Outport: '/CCU_Errors_model' incorporates: * DataStoreRead: '/Data Store Read10' */ rtY.CCU_Errors_model = CCU_Errors_Model; - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private_g = rtB.Merge_b4; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { Actuator_Ch2_Command_Model.POS[i] = rtDW.POS_private_h[i]; @@ -14296,30 +17429,30 @@ void HVAC_model_step(void) Actuator_Ch2_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_l[i]; } - /* End of BusCreator: '/Bus Creator' */ + /* End of BusCreator: '/Bus Creator' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' */ for (i = 0; i < 8; i++) { rtb_Compare_n[i] = (rtDW.ErrorCalibration_private_b[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_LogicalOperator1 = rtb_Compare_n[0]; for (i = 0; i < 7; i++) { rtb_LogicalOperator1 = (rtb_LogicalOperator1 || rtb_Compare_n[i + 1]); } - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Product: '/Product' */ for (i = 0; i < 8; i++) { if (rtb_LogicalOperator1) { @@ -14330,95 +17463,95 @@ void HVAC_model_step(void) } } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ rtb_DataTypeConversion_bq[8] = 0U; for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[i] = rtb_DataTypeConversion_bq[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private_k[i] = 0U; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.LOGGER_LIN = 0.0; - /* 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); */ @@ -14426,8 +17559,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); */ @@ -14435,56 +17568,47 @@ void HVAC_model_step(void) rtDW.PWM_Set_Model.pwmPercentRearReserved); fflush(stdout); - /* 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' + /* BusCreator: '/Bus Creator1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_MultMsg_Idx = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Fb_Select = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_Select = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_Select = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Fb_Select = 0U; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = 0; - 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 = 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_RR_Fb_ro = rtb_y_c4; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = rtb_y_cs; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = rtb_y_c23; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = rtb_u0101_a; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Side_Fb_ro = rtb_y_br; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Side_Fb_ro = rtb_y_h; 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 = Duct4_F; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = Duct3_F; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Tgt_ro = (int16_t)floor + (rtb_rate); + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = rtb_y_eq; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = rtb_y_ge; - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.dbgCAN_dbg_Act0_model.dbg_Act00_Def = rtb_DataTypeConversion_bh[0]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act01_Vent_SFL = rtb_DataTypeConversion_bh[5]; @@ -14495,11 +17619,11 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act0_model.dbg_Act06_Vent_SFR = Actuator_pos_percent_Ch1[2]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act07_Foot_1FR = Actuator_pos_percent_Ch1[4]; - /* BusCreator: '/Bus Creator3' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write2' */ rtDW.dbgCAN_dbg_Act2_model.dbg_Act16_TempL_FL = rtb_DataTypeConversion_bh[6]; rtDW.dbgCAN_dbg_Act2_model.dbg_Act17_TempU_FR = Actuator_pos_percent_Ch1[0]; @@ -14511,11 +17635,11 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_fb [8]; - /* BusCreator: '/Bus Creator2' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write2' */ rtDW.dbgCAN_dbg_Act1_model.dbg_Act08_Foot_2FR = Actuator_pos_percent_Ch1[5]; rtDW.dbgCAN_dbg_Act1_model.dbg_Act09_Vent_SRL = rtb_DataTypeConversion_fb[2]; @@ -14526,23 +17650,23 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_fb[6]; rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_bh[3]; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_ro = rtb_LVL; rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_Raw_ro = rtDW.AMB_RAW; rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Amb_Tg_ro = 0; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * 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' + * 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; @@ -14555,10 +17679,10 @@ 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; @@ -14616,70 +17740,102 @@ void HVAC_model_step(void) */ 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' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read25' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/t_start_delay_private ' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM */ - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * RelationalOperator: '/Equal2' - * RelationalOperator: '/Equal3' + if (!rtDW.DelayInput1_DSTATE) { + rtDW.t_start_delay_private_DSTATE = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read25' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/t_start_delay_private ' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if (!rtDW.DelayInput1_DSTATE_d) { + rtDW.t_start_delay_private_DSTATE_g = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Atomic SubSystem: '/PWM and valves in manual1' */ + /* 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' */ 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_ic); - /* MATLAB Function: '/Valves for Bi Level' */ + /* MATLAB Function: '/Valves for Bi Level' */ ValvesforBiLevel(rtb_out_k4); - /* MATLAB Function: '/Valves for Tri-Level' */ + /* MATLAB Function: '/Valves for Tri-Level' */ ValvesforTriLevel(rtDW.valves_front_manual_target); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.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]; @@ -14687,15 +17843,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]; @@ -14703,175 +17859,175 @@ void HVAC_model_step(void) break; case 5: - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = rtb_out_ic[i]; } break; case 6: - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { rtDW.valves_front_manual_target[i] = rtb_out_k4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/Valves for Def' */ + /* MATLAB Function: '/Valves for Def' */ ValvesforDef(rtb_vals_m); - /* MATLAB Function: '/Valves for Hi_Level' */ + /* MATLAB Function: '/Valves for Hi_Level' */ /* : out = g_ausFLOW_FR_VE2VALVE; */ ValvesforHi_Level(Merge); - /* MATLAB Function: '/Valves for Foot + Def' */ + /* MATLAB Function: '/Valves for Foot + Def' */ /* : out = g_ausFLOW_FR_FO2VALVE; */ ValvesforFootDef(rtb_out_ic); - /* MATLAB Function: '/Valves for Bi Level' */ + /* MATLAB Function: '/Valves for Bi Level' */ ValvesforBiLevel(rtb_out_k4); - /* MATLAB Function: '/Valves for Tri-Level' */ - ValvesforTriLevel(rtb_out_mj); + /* MATLAB Function: '/Valves for Tri-Level' */ + ValvesforTriLevel(rtb_out_ly); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * Gain: '/Gain1' - * Gain: '/Gain2' - * MATLAB Function: '/Valves for Foot' - * MATLAB Function: '/Valves for Vent mode' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * Gain: '/Gain1' + * Gain: '/Gain2' + * MATLAB Function: '/Valves for Foot' + * MATLAB Function: '/Valves for Vent mode' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.FIU_FACE_FR == 1) << 1) + (uint32_t) (rtDW.FIU_DEF_FR == 1)) + (uint32_t)((rtDW.FIU_FOOT_FR == 1) << 2))) { case 0: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = 0U; + rtb_out_ly[i] = 0U; } break; case 1: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = rtb_vals_m[i]; + rtb_out_ly[i] = rtb_vals_m[i]; } break; case 2: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = g_ausFLOW_FR_VE2VALVE[i]; + rtb_out_ly[i] = g_ausFLOW_FR_VE2VALVE[i]; } break; case 3: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = Merge[i]; + rtb_out_ly[i] = Merge[i]; } break; case 4: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = g_ausFLOW_FR_FO2VALVE[i]; + rtb_out_ly[i] = g_ausFLOW_FR_FO2VALVE[i]; } break; case 5: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = rtb_out_ic[i]; + rtb_out_ly[i] = rtb_out_ic[i]; } break; case 6: for (i = 0; i < 9; i++) { - rtb_out_mj[i] = rtb_out_k4[i]; + rtb_out_ly[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]; + rtDW.valves_front_manual_target[2] = rtb_out_ly[2]; - /* Assignment: '/Присваивание в [7-8]' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Assignment: '/Присваивание в [7-8]' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtDW.valves_front_manual_target[6] = rtb_out_mj[6]; + rtDW.valves_front_manual_target[6] = rtb_out_ly[6]; - /* Assignment: '/Присваивание в [3-4]' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtDW.valves_front_manual_target[3] = rtb_out_mj[3]; + rtDW.valves_front_manual_target[3] = rtb_out_ly[3]; - /* Assignment: '/Присваивание в [7-8]' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Assignment: '/Присваивание в [7-8]' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtDW.valves_front_manual_target[7] = rtb_out_mj[7]; + rtDW.valves_front_manual_target[7] = rtb_out_ly[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' */ + /* MATLAB Function: '/valves for Vent mode' */ valvesforVentmode(rtb_urear); - /* MATLAB Function: '/AF for Bi Level' */ + /* MATLAB Function: '/AF for Bi Level' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ AFforBiLevel_m(rtDW.valves_rear_manual_target); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read23' - * DataStoreRead: '/Data Store Read24' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read23' + * DataStoreRead: '/Data Store Read24' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)((rtDW.FIU_FOOT_RL == 1) << 1) + (uint32_t) (rtDW.FIU_FACE_RL == 1))) { case 0: - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 6; i++) { rtDW.valves_rear_manual_target[i] = 0U; } break; case 1: - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 6; i++) { rtDW.valves_rear_manual_target[i] = rtb_urear[i]; } break; case 2: - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/AF for Foot' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/AF for Foot' */ for (i = 0; i < 6; i++) { rtDW.valves_rear_manual_target[i] = g_ausFLOW_RE_FO2VALVE[i]; @@ -14879,25 +18035,25 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ valvesforVentmode(rtb_urear); - /* MATLAB Function: '/AF for Bi Level' */ + /* MATLAB Function: '/AF for Bi Level' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ - AFforBiLevel_m(rtb_out_kw); + AFforBiLevel_m(rtb_out_pj); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * Gain: '/Gain2' - * MATLAB Function: '/AF for Foot' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read21' + * DataStoreRead: '/Data Store Read22' + * Gain: '/Gain2' + * MATLAB Function: '/AF for Foot' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)((rtDW.FIU_FOOT_RR == 1) << 1) + (uint32_t) (rtDW.FIU_FACE_RR == 1))) { @@ -14921,650 +18077,664 @@ void HVAC_model_step(void) default: for (i = 0; i < 6; i++) { - rtb_vals_m[i] = rtb_out_kw[i]; + rtb_vals_m[i] = rtb_out_pj[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Assignment: '/Присваивание в [3-4] rear' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Assignment: '/Присваивание в [3-4] rear' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.valves_rear_manual_target[2] = rtb_vals_m[2]; rtDW.valves_rear_manual_target[3] = rtb_vals_m[3]; - /* Assignment: '/Присваивание в [6] rear' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Assignment: '/Присваивание в [6] rear' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.valves_rear_manual_target[5] = rtb_vals_m[5]; } - /* End of Logic: '/Logical Operator2' */ - /* End of Outputs for SubSystem: '/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_khw); + AFforDef(rtDW.FIU_BLOWERS_FL, &rtb_Saturation1); - /* 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); + AFforVentmode(rtDW.FIU_BLOWERS_FL, &rtb_Saturation2); - /* 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_pf); + AFforHi_Level(rtDW.FIU_BLOWERS_FL, &rtb_out_dr); - /* 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_em); + AFforFoot(rtDW.FIU_BLOWERS_FL, &rtb_out_jaw); - /* 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); + AFforFoorDef(rtDW.FIU_BLOWERS_FL, &rtb_out_pl); - /* 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); + AFforBiLevel(rtDW.FIU_BLOWERS_FL, &rtb_out_po); - /* 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); + AFforTriLevel(rtDW.FIU_BLOWERS_FL, &rtb_Saturation_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 == 1) << 2))) { case 0: - rtb_out_b = 0U; + rtb_Saturation_b = 0U; break; case 1: - rtb_out_b = rtb_out_khw; + rtb_Saturation_b = rtb_Saturation1; break; case 2: - rtb_out_b = rtb_out_le; + rtb_Saturation_b = rtb_Saturation2; break; case 3: - rtb_out_b = rtb_out_pf; + rtb_Saturation_b = rtb_out_dr; break; case 4: - rtb_out_b = rtb_out_em; + rtb_Saturation_b = rtb_out_jaw; break; case 5: - rtb_out_b = rtb_out_jv; + rtb_Saturation_b = rtb_out_pl; break; case 6: - rtb_out_b = rtb_out_m4; + rtb_Saturation_b = rtb_out_po; 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); + AFforDef(rtDW.FIU_BLOWERS_FR, &rtb_Saturation2); - /* 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_pf); + AFforVentmode(rtDW.FIU_BLOWERS_FR, &rtb_out_dr); - /* 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_em); + AFforHi_Level(rtDW.FIU_BLOWERS_FR, &rtb_out_jaw); - /* 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); + AFforFoot(rtDW.FIU_BLOWERS_FR, &rtb_out_pl); - /* 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); + AFforFoorDef(rtDW.FIU_BLOWERS_FR, &rtb_out_po); - /* 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_pb); + AFforBiLevel(rtDW.FIU_BLOWERS_FR, &rtb_out_bz); - /* 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_khw); + AFforTriLevel(rtDW.FIU_BLOWERS_FR, &rtb_Saturation1); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read14' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* 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_khw = 0U; + rtb_Saturation1 = 0U; break; case 1: - rtb_out_khw = rtb_out_le; + rtb_Saturation1 = rtb_Saturation2; break; case 2: - rtb_out_khw = rtb_out_pf; + rtb_Saturation1 = rtb_out_dr; break; case 3: - rtb_out_khw = rtb_out_em; + rtb_Saturation1 = rtb_out_jaw; break; case 4: - rtb_out_khw = rtb_out_jv; + rtb_Saturation1 = rtb_out_pl; break; case 5: - rtb_out_khw = rtb_out_m4; + rtb_Saturation1 = rtb_out_po; break; case 6: - rtb_out_khw = rtb_out_pb; + rtb_Saturation1 = rtb_out_bz; 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_khw) / 4.0); + rtDW.PWM_front = (uint8_t)((double)(uint16_t)((uint32_t)rtb_Saturation_b + + rtb_Saturation1) / 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; + rtDW.Blower_AF_FL = (uint8_t)rtb_Saturation_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_khw; + rtDW.Blower_AF_FR = (uint8_t)rtb_Saturation1; - /* 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_khw); + AFforVentmodeR(rtDW.FIU_BLOWERS_RL, &rtb_Saturation1); - /* 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); + AFforFootR(rtDW.FIU_BLOWERS_RL, &rtb_Saturation2); - /* 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); + AFforBiLevelR(rtDW.FIU_BLOWERS_RL, &rtb_Saturation_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))) { case 0: - rtb_out_b = 0U; + rtb_Saturation_b = 0U; break; case 1: - rtb_out_b = rtb_out_khw; + rtb_Saturation_b = rtb_Saturation1; break; case 2: - rtb_out_b = rtb_out_le; + rtb_Saturation_b = rtb_Saturation2; 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); + AFforVentmodeR(rtDW.FIU_BLOWERS_RR, &rtb_Saturation2); - /* 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_pf); + AFforFootR(rtDW.FIU_BLOWERS_RR, &rtb_out_dr); - /* 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_khw); + AFforBiLevelR(rtDW.FIU_BLOWERS_RR, &rtb_Saturation1); - /* 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_khw = 0U; + rtb_Saturation1 = 0U; break; case 1: - rtb_out_khw = rtb_out_le; + rtb_Saturation1 = rtb_Saturation2; break; case 2: - rtb_out_khw = rtb_out_pf; + rtb_Saturation1 = rtb_out_dr; 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_khw) / 4.0); + rtDW.PWM_rear = (uint8_t)((double)(uint16_t)((uint32_t)rtb_Saturation_b + + rtb_Saturation1) / 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; + rtDW.Blower_AF_RL = (uint8_t)rtb_Saturation_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_khw; + rtDW.Blower_AF_RR = (uint8_t)rtb_Saturation1; - /* 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: + * DataStoreRead: '/Data Store Read1' */ - switch (rtB.Merge_b) { + switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' */ - g_assSTART_ENTER_INCAR_j(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_j(rtDW.LEVEL, &rtb_LVL); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' */ + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ /* : out = g_ausSTART_ENTER_SETTEMP(LVL+1); */ - i = (int32_t)(rtB.Merge_b + 1U); - if (rtB.Merge_b + 1U > 255U) { + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 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 ((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' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' */ - g_assSTART_ENTER_INCAR_j(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_j(rtDW.LEVEL, &rtb_LVL); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' */ + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1)); */ - i = (int32_t)(rtB.Merge_b + 1U); - if (rtB.Merge_b + 1U > 255U) { + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { i = 255; } - rtb_out_b = g_ausSTART_ENTER_SETTEMP[i - 1]; - if (rtb_out_b > 32767) { - rtb_out_b = 32767U; + rtb_Saturation_b = g_ausSTART_ENTER_SETTEMP[i - 1]; + if (rtb_Saturation_b > 32767) { + rtb_Saturation_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 ((rtDW.Incar_FL > rtb_LVL) && (rtDW.MODE_DRIVER == 1.0) && - (rtDW.FIU_SET_FL < rtb_out_b)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + (rtDW.FIU_SET_FL < rtb_Saturation_b)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * SignalConversion generated from: '/step' */ rtB.Merge_h = 0; - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' */ - g_assSTART_ENTER_COOLANT_p(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_p(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * Constant: '/AUTO' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' */ if ((rtDW.ECT < rtb_LVL) && (rtDW.MODE_DRIVER == 1.0)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ - Level4(&rtB.Merge_h, &rtDW.ECT, &rtB.Merge_b, &rtDW.MODE_DRIVER); + Level4(&rtB.Merge_h, &rtDW.ECT, &rtDW.LEVEL, &rtDW.MODE_DRIVER); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' */ - Level4(&rtB.Merge_h, &rtDW.ECT, &rtB.Merge_b, &rtDW.MODE_DRIVER); + Level4(&rtB.Merge_h, &rtDW.ECT, &rtDW.LEVEL, &rtDW.MODE_DRIVER); - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step -1 F (Entry Condition)' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step -1 F (Entry Condition)' */ break; case 0: - /* Outputs for IfAction SubSystem: '/Step 0 F' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Step 0 F' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreWrite: '/Data Store Write' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ - switch (rtB.Merge_b) { + switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_h); - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_h); - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_h); - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant5' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant5' */ rtDW.Dtg_FUL = 60U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant7' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant7' */ rtDW.Dtg_FLL = 80U; - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - def' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' */ rtDW.Mode_FL = 80U; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ rtb_Merge_a = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ - i = (int32_t)(rtB.Merge_b + 1U); - if (rtB.Merge_b + 1U > 255U) { + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { i = 255; } @@ -15573,490 +18743,539 @@ void HVAC_model_step(void) rtb_Subtract = 0U; } - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ rtB.Merge_h = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1[(int32_t) rtb_Subtract - 1]); - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant5' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant5' */ rtDW.Dtg_FUL = 60U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant7' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant7' */ rtDW.Dtg_FLL = 80U; - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - def' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' */ rtDW.Mode_FL = 80U; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ rtb_Merge_a = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ - g_assSTART_COOLANT_STEP0_TO_1_h(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_h(rtDW.LEVEL, &rtb_LVL); - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ rtB.Merge_h = (int8_t)(rtDW.ECT > rtb_LVL); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant5' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant5' */ rtDW.Dtg_FUL = 80U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant7' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant7' */ rtDW.Dtg_FLL = 80U; - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - def' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' */ rtDW.Mode_FL = 80U; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_rate = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_Merge_m = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ rtb_Merge_a = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' */ - g_assSTART_COOLANT_STEP0_TO_1_h(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_h(rtDW.LEVEL, &rtb_LVL); - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ rtB.Merge_h = (int8_t)(rtDW.ECT > rtb_LVL); - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 0 F' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 0 F' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Step 1 F' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Step 1 F' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreWrite: '/Data Store Write' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ - switch (rtB.Merge_b) { + switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write8' incorporates: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus(rtB.Merge_b, &rtb_Merge_m); + uwayvalvestatus(rtDW.LEVEL, &rtb_Merge_m); - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * MATLAB Function: '/mode FR step 1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' */ - modeFRstep1(rtB.Merge_b, &rtDW.Mode_FL); + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/window heating' */ - windowheating(rtB.Merge_b, &rtDW.Dtg_FUL); + windowheating(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * MATLAB Function: '/blower FR' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read7' + * MATLAB Function: '/blower FR' */ - blowerFR(rtB.Merge_b, &rtDW.Blower_FL); + blowerFR(rtDW.LEVEL, &rtDW.Blower_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/Dtg_FrontUpper_X' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_FrontUpper_X' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtDW.Dtg_FUL); + Dtg_FrontUpper_X(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Dtg_FrontLower_X' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtDW.Dtg_FLL); + Dtg_FrontLower_X(rtDW.LEVEL, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_front == 1); - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' */ - Incartempgotofromstep1tostep2(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_LVL); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ - i = (int32_t)(rtB.Merge_b + 1U); - if (rtB.Merge_b + 1U > 255U) { + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { i = 255; } - rtb_out_b = g_ausSTART_TIME_STEP1_TO_2[i - 1]; - if (rtb_out_b > 32767) { - rtb_out_b = 32767U; + rtb_Saturation_b = g_ausSTART_TIME_STEP1_TO_2[i - 1]; + if (rtb_Saturation_b > 32767) { + rtb_Saturation_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 ((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' + rtDW.t_start_delay_private_DSTATE_pd > (uint16_t)(1000 * + rtb_Saturation_b))) { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' + * SignalConversion generated from: '/step' */ rtB.Merge_h = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * SignalConversion generated from: '/step' */ rtB.Merge_h = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_gx)) { rtDW.t_start_delay_private_DSTATE_pd = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_gx = rtb_LogicalOperator1; - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write8' incorporates: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus(rtB.Merge_b, &rtb_Merge_m); + uwayvalvestatus(rtDW.LEVEL, &rtb_Merge_m); - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * MATLAB Function: '/mode FR step 1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' */ - modeFRstep1(rtB.Merge_b, &rtDW.Mode_FL); + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/window heating' */ - windowheating(rtB.Merge_b, &rtDW.Dtg_FUL); + windowheating(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * MATLAB Function: '/blower FR' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read7' + * MATLAB Function: '/blower FR' */ - blowerFR(rtB.Merge_b, &rtDW.Blower_FL); + blowerFR(rtDW.LEVEL, &rtDW.Blower_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/Dtg_FrontUpper_X' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_FrontUpper_X' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtDW.Dtg_FUL); + Dtg_FrontUpper_X(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Dtg_FrontLower_X' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtDW.Dtg_FLL); + Dtg_FrontLower_X(rtDW.LEVEL, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_front == 1); - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' */ - Incartempgotofromstep1tostep2(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_LVL); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ - Timegotofromstep1tostep2(rtB.Merge_b, &Duct2_F); + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_y_c23); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1_dv = (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_mk > (uint32_t)(1000 * Duct2_F)); + rtDW.t_start_delay_private_DSTATE_mk > (uint32_t)(1000 * rtb_y_c23)); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_hs)) { rtDW.t_start_delay_private_DSTATE_mk = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/incar temp' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' */ if ((rtDW.Incar_FL < rtb_LVL) || rtb_LogicalOperator1_dv) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_h = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_h = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_hs = rtb_LogicalOperator1; - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * SignalConversion generated from: '/step' */ rtB.Merge_h = 2; - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write8' incorporates: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read11' + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus(rtB.Merge_b, &rtb_Merge_m); + uwayvalvestatus(rtDW.LEVEL, &rtb_Merge_m); - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * MATLAB Function: '/mode FR step 1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' */ - modeFRstep1(rtB.Merge_b, &rtDW.Mode_FL); + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * MATLAB Function: '/window heating' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/window heating' */ - windowheating(rtB.Merge_b, &rtDW.Dtg_FUL); + windowheating(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* MATLAB Function: '/blower min max' */ - blowerminmax(rtB.Merge_b, rtb_out_f0); - - /* MATLAB Function: '/ECT min max' */ - ECTminmax(rtB.Merge_b, rtb_out_md); - - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' */ - rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_md, - rtb_out_f0, 1U); + blowerminmax(rtDW.LEVEL, rtb_out_jq); - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_j4); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_j4, + rtb_out_jq, 1U); + + /* 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' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_FrontUpper_X' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtDW.Dtg_FUL); + Dtg_FrontUpper_X(rtDW.LEVEL, &rtDW.Dtg_FUL); - /* DataStoreWrite: '/Data Store Write13' incorporates: - * MATLAB Function: '/Dtg_FrontLower_X' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Dtg_FrontLower_X' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtDW.Dtg_FLL); + Dtg_FrontLower_X(rtDW.LEVEL, &rtDW.Dtg_FLL); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ rtb_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_front == 1); - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' */ - Incartempgotofromstep1tostep2(rtB.Merge_b, &Duct2_F); + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_y_c23); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' */ - Timegotofromstep1tostep2(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_LVL); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1_dv = (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_fm > (uint32_t)(1000 * rtb_LVL)); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ /* : out = int16(g_assSTART_COOLANT_TO_STEP2(LVL + 1 - 3)); */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_fi)) { rtDW.t_start_delay_private_DSTATE_fm = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' */ - i = (int32_t)(rtB.Merge_b + 1U); - if (rtB.Merge_b + 1U > 255U) { + /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' incorporates: + * DataStoreRead: '/Data Store Read10' + */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { i = 255; } @@ -16068,1837 +19287,1907 @@ void HVAC_model_step(void) rtb_Subtract = 0U; } - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/engine coolant temp' - * DataStoreRead: '/incar temp' - * Logic: '/Logical Operator' - * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' */ - if ((rtDW.Incar_FL < Duct2_F) || rtb_LogicalOperator1_dv || (rtDW.ECT > + if ((rtDW.Incar_FL < rtb_y_c23) || rtb_LogicalOperator1_dv || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[(int32_t)rtb_Subtract - 1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step 2' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step 2' */ rtB.Merge_h = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_h = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_fi = rtb_LogicalOperator1; - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ - Level4_c(&rtB.Merge_h, &rtDW.Blower_FL, &rtb_out_b, &rtDW.Dtg_FLL, + Level4_c(&rtB.Merge_h, &rtDW.Blower_FL, &rtb_Saturation_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.LEVEL, &rtDW.Mode_FL, &Mode_FR, &rtb_rate, &rtb_Merge_m, &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level4_cw); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' */ - Level4_c(&rtB.Merge_h, &rtDW.Blower_FL, &rtb_out_b, &rtDW.Dtg_FLL, + Level4_c(&rtB.Merge_h, &rtDW.Blower_FL, &rtb_Saturation_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.LEVEL, &rtDW.Mode_FL, &Mode_FR, &rtb_rate, &rtb_Merge_m, &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level5_g); - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 1 F' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 1 F' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Step 2 F' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Step 2 F' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreWrite: '/Data Store Write' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ - switch (rtB.Merge_b) { + switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write8' incorporates: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus_a(rtB.Merge_b, &rtb_Merge_m); + uwayvalvestatus_a(rtDW.LEVEL, &rtb_Merge_m); - /* MATLAB Function: '/step' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep(rtB.Merge_b, &rtb_Merge_e); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if ((uint8_t)(rtDW.Dtg_FLL - rtDW.Dtg_logic_FLL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write13' */ + /* DataStoreWrite: '/Data Store Write13' */ rtDW.Dtg_FLL = rtDW.Dtg_logic_FLL; } else { if (rtDW.Dtg_FLL <= rtDW.Dtg_logic_FLL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FLL = (uint8_t)((double)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_k) * (double)i + (double)rtDW.Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/step' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep_j(rtB.Merge_b, &rtb_Merge_e); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_j(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if ((uint8_t)(rtDW.Dtg_FUL - rtDW.Dtg_logic_FUL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write11' */ + /* DataStoreWrite: '/Data Store Write11' */ rtDW.Dtg_FUL = rtDW.Dtg_logic_FUL; } else { if (rtDW.Dtg_FUL <= rtDW.Dtg_logic_FUL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Subtract' - * Sum: '/Add' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FUL = (uint8_t)((double)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_pb) * (double)i + (double)rtDW.Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_j = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_LogicalOperator1 = (rtb_Merge_j <= 0.01); - /* MATLAB Function: '/step' */ - step_j(rtB.Merge_b, &rtb_Merge_e); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_j(rtDW.LEVEL, &rtb_Merge_e); - /* MATLAB Function: '/time for step' */ - timeforstep_g(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_g(rtDW.LEVEL, &rtb_Merge_j); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (rtb_LogicalOperator1) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Subtract' - * Sum: '/Add' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Mode_FL = (uint8_t)((double)rtb_Merge_e / (double)rtb_Merge_j / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_mk) * (double)i + (double)rtDW.Mode_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ - rtb_out_b = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); + rtb_Saturation_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); + rtb_LogicalOperator1 = (rtb_Saturation_b <= 0.01); - /* MATLAB Function: '/blower step' */ - blowerstep(rtB.Merge_b, &rtb_out_khw); + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(rtDW.LEVEL, &rtb_Saturation1); - /* MATLAB Function: '/blower time for step' */ - blowertimeforstep(rtB.Merge_b, &rtb_out_b); + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &rtb_Saturation_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: '/Subtract' - * Sum: '/Add' - * 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_khw / (double)rtb_out_b / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_gm) * (double)i - + (double)rtDW.Blower_FL); + rtDW.Blower_FL = (uint16_t)((double)rtb_Saturation1 / (double) + rtb_Saturation_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_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_front == 2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_gp; - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_mb)) { rtDW.t_start_delay_private_DSTATE_gp = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Time goto from step 2 to step 3 ' */ - Timegotofromstep2tostep3(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ if (rtb_Subtract > (uint32_t)(1000 * rtb_LVL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ rtB.Merge_h = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_k = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_pb = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_mk = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_gm = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_mb = rtb_LogicalOperator1; - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write8' incorporates: - * MATLAB Function: '/3 way valve status' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus_a(rtB.Merge_b, &rtb_Merge_m); + uwayvalvestatus_a(rtDW.LEVEL, &rtb_Merge_m); - /* MATLAB Function: '/step' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep(rtB.Merge_b, &rtb_Merge_e); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if ((uint8_t)(rtDW.Dtg_FLL - rtDW.Dtg_logic_FLL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write13' */ + /* DataStoreWrite: '/Data Store Write13' */ rtDW.Dtg_FLL = rtDW.Dtg_logic_FLL; } else { if (rtDW.Dtg_FLL <= rtDW.Dtg_logic_FLL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FLL = (uint8_t)((double)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_m) * (double)i + (double)rtDW.Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/step' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep_j(rtB.Merge_b, &rtb_Merge_e); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_j(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if ((uint8_t)(rtDW.Dtg_FUL - rtDW.Dtg_logic_FUL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write11' */ + /* DataStoreWrite: '/Data Store Write11' */ rtDW.Dtg_FUL = rtDW.Dtg_logic_FUL; } else { if (rtDW.Dtg_FUL <= rtDW.Dtg_logic_FUL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FUL = (uint8_t)((double)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_gf) * (double)i + (double)rtDW.Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_j = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* MATLAB Function: '/step' */ - step_j(rtB.Merge_b, &rtb_Merge_e); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_j(rtDW.LEVEL, &rtb_Merge_e); - /* MATLAB Function: '/time for step' */ - timeforstep_g(rtB.Merge_b, &rtb_Merge_m); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_g(rtDW.LEVEL, &rtb_Merge_m); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (rtb_Merge_j <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Mode_FL = (uint8_t)((double)rtb_Merge_e / (double)rtb_Merge_m / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_l) * (double)i + (double)rtDW.Mode_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/window heating' */ - windowheating_k(rtB.Merge_b, &rtb_Merge_j); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' */ - rtb_out_b = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); + windowheating_k(rtDW.LEVEL, &rtb_Merge_j); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_LogicalOperator1 = (rtb_out_b <= 0.01); + rtb_Saturation_b = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* MATLAB Function: '/blower step' */ - blowerstep(rtB.Merge_b, &rtb_out_khw); + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_LogicalOperator1 = (rtb_Saturation_b <= 0.01); - /* MATLAB Function: '/blower time for step' */ - blowertimeforstep(rtB.Merge_b, &rtb_out_b); + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(rtDW.LEVEL, &rtb_Saturation1); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &rtb_Saturation_b); + + /* 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_khw / (double)rtb_out_b / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_p0) * (double)i - + (double)rtDW.Blower_FL); + rtDW.Blower_FL = (uint16_t)((double)rtb_Saturation1 / (double) + rtb_Saturation_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_rate = 1.0; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_front == 2); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_mz; - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_b)) { rtDW.t_start_delay_private_DSTATE_mz = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Time goto from step 2 to step 3 ' */ - Timegotofromstep2tostep3(rtB.Merge_b, &rtb_LVL); + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ if (rtb_Subtract > (uint32_t)(1000 * rtb_LVL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ rtB.Merge_h = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_m = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_gf = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_l = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_p0 = rtDW.t_now; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_b = rtb_LogicalOperator1; - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * SignalConversion generated from: '/step' */ rtB.Merge_h = 3; - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - Level3(&rtB.Merge_h, &Autodefog, &rtDW.Blower_FL, &rtb_out_b, + Level3(&rtB.Merge_h, &Autodefog, &rtDW.Blower_FL, &rtb_Saturation_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_Merge_e, &rtb_Merge_j, - &rtB.Merge_b, &rtDW.Mode_FL, &Mode_FR, &rtDW.Mode_logic_FL, + &rtDW.LEVEL, &rtDW.Mode_FL, &Mode_FR, &rtDW.Mode_logic_FL, &rtb_rate, &rtb_Merge_m, &rtDW.step_start_controle_front, &rtDW.t_now, &rtDW.Level3_l); - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ - Level3(&rtB.Merge_h, &Autodefog, &rtDW.Blower_FL, &rtb_out_b, + Level3(&rtB.Merge_h, &Autodefog, &rtDW.Blower_FL, &rtb_Saturation_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_Merge_e, &rtb_Merge_j, - &rtB.Merge_b, &rtDW.Mode_FL, &Mode_FR, &rtDW.Mode_logic_FL, + &rtDW.LEVEL, &rtDW.Mode_FL, &Mode_FR, &rtDW.Mode_logic_FL, &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: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus_a(rtB.Merge_b, &rtb_Merge_m); + uwayvalvestatus_a(rtDW.LEVEL, &rtb_Merge_m); - /* MATLAB Function: '/step' */ - Dtg_FrontLower_X(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep(rtB.Merge_b, &rtb_Merge_e); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if ((uint8_t)(rtDW.Dtg_FLL - rtDW.Dtg_logic_FLL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write13' */ + /* DataStoreWrite: '/Data Store Write13' */ rtDW.Dtg_FLL = rtDW.Dtg_logic_FLL; } else { if (rtDW.Dtg_FLL <= rtDW.Dtg_logic_FLL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FLL = (uint8_t)((double)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_f) * (double)i + (double)rtDW.Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/step' */ - Dtg_FrontUpper_X(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep_j(rtB.Merge_b, &rtb_Merge_e); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_j(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if ((uint8_t)(rtDW.Dtg_FUL - rtDW.Dtg_logic_FUL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write11' */ + /* DataStoreWrite: '/Data Store Write11' */ rtDW.Dtg_FUL = rtDW.Dtg_logic_FUL; } else { if (rtDW.Dtg_FUL <= rtDW.Dtg_logic_FUL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Dtg_FUL = (uint8_t)((double)rtb_Merge_j / (double)rtb_Merge_e / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_pu) * (double)i + (double)rtDW.Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * MATLAB Function: '/incar filter up' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - incarfilterup(rtB.Merge_b, &rtb_Merge_j); + incarfilterup(rtDW.LEVEL, &rtb_Merge_j); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/incar filter down' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ - incarfilterdown(rtB.Merge_b, &rtb_Merge_e); + incarfilterdown(rtDW.LEVEL, &rtb_Merge_e); - /* MATLAB Function: '/autodemist (autodefog)' */ - autodemistautodefog(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/autodemist (autodefog)' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + autodemistautodefog(rtDW.LEVEL, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_e = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* MATLAB Function: '/step' */ - step_j(rtB.Merge_b, &rtb_Merge_j); + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_j(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' */ - timeforstep_g(rtB.Merge_b, &rtb_Merge_m); + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_g(rtDW.LEVEL, &rtb_Merge_m); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (rtb_Merge_e <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Mode_FL = (uint8_t)((double)rtb_Merge_j / (double)rtb_Merge_m / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_b) * (double)i + (double)rtDW.Mode_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/window heating' */ - windowheating_k(rtB.Merge_b, &rtb_Merge_e); - - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' */ - rtb_out_b = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); + windowheating_k(rtDW.LEVEL, &rtb_Merge_e); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_LogicalOperator1 = (rtb_out_b <= 0.01); + rtb_Saturation_b = (uint16_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL); - /* MATLAB Function: '/blower step' */ - blowerstep(rtB.Merge_b, &rtb_out_khw); + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_LogicalOperator1 = (rtb_Saturation_b <= 0.01); - /* MATLAB Function: '/blower time for step' */ - blowertimeforstep(rtB.Merge_b, &rtb_out_b); + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(rtDW.LEVEL, &rtb_Saturation1); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &rtb_Saturation_b); + + /* 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_khw / (double)rtb_out_b / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_e) * (double)i - + (double)rtDW.Blower_FL); + rtDW.Blower_FL = (uint16_t)((double)rtb_Saturation1 / (double) + rtb_Saturation_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_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, &rtb_LVL); + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &rtb_LVL); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * Gain: '/из сек в мс' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * Gain: '/из сек в мс' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1_dv = (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_n > (uint32_t)(1000 * rtb_LVL)); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* 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_dv || rtDW.HI_logic_on) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_h = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' */ rtB.Merge_h = 2; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_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_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' */ + /* 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) { + switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' */ /* : out = int16(g_assSTART_ENTER_INCAR(LVL + 1 + 6)); */ - g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &rtb_LVL); + g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &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 = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { i = 255; } - tmp = (int32_t)((uint32_t)i + 6U); + i_0 = (int32_t)((uint32_t)i + 6U); if ((uint32_t)i + 6U > 255U) { - tmp = 255; + i_0 = 255; } - /* Switch: '/Switch' incorporates: - * Constant: '/AUTO' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * MATLAB Function: '/g_assSTART_ENTER_INCAR' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Switch: '/Switch' incorporates: + * Constant: '/AUTO' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * Logic: '/AND' + * MATLAB Function: '/g_assSTART_ENTER_INCAR' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ - if ((rtDW.Incar_RR > g_assSTART_ENTER_INCAR[tmp - 1]) && + if ((rtDW.Incar_RR > g_assSTART_ENTER_INCAR[i_0 - 1]) && (rtDW.MODE_RR_passenger == 1.0) && (rtDW.FIU_SET_RR < rtb_LVL)) { - /* 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 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, &rtb_LVL); + g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &rtb_LVL); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' */ - g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &Duct2_F); + g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &rtb_y_c23); - /* 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 ((rtDW.Incar_RR > rtb_LVL) && (rtDW.MODE_RR_passenger == 1.0) && - (rtDW.FIU_SET_RR < Duct2_F)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + (rtDW.FIU_SET_RR < rtb_y_c23)) { + /* 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, &rtb_LVL); + g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &rtb_LVL); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' */ - g_ausSTART_ENTER_SETTEMP_b(rtB.Merge_b, &Duct2_F); + g_ausSTART_ENTER_SETTEMP_b(rtDW.LEVEL, &rtb_y_c23); - /* 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 ((rtDW.Incar_RR < rtb_LVL) && (rtDW.MODE_RR_passenger == 1.0) && - (rtDW.FIU_SET_RR > Duct2_F)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + (rtDW.FIU_SET_RR > rtb_y_c23)) { + /* 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, &rtb_LVL); + g_assSTART_ENTER_INCAR_p(rtDW.LEVEL, &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, &Duct2_F); + g_assSTART_ENTER_COOLANT_e(rtDW.LEVEL, &rtb_y_c23); - /* 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); - if (rtB.Merge_b + 1U > 255U) { + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { i = 255; } - tmp = (int32_t)((uint32_t)i + 6U); + i_0 = (int32_t)((uint32_t)i + 6U); if ((uint32_t)i + 6U > 255U) { - tmp = 255; + i_0 = 255; } - rtb_out_b = g_ausSTART_ENTER_SETTEMP[tmp - 1]; - if (rtb_out_b > 32767) { - rtb_out_b = 32767U; + rtb_Saturation_b = g_ausSTART_ENTER_SETTEMP[i_0 - 1]; + if (rtb_Saturation_b > 32767) { + rtb_Saturation_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 (((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' + if (((rtDW.Incar_RR < rtb_LVL) || (rtDW.ECT < rtb_y_c23)) && + (rtDW.MODE_RR_passenger == 1.0) && (rtDW.FIU_SET_RR > + rtb_Saturation_b)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_c = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_c = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ - Level4_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtB.Merge_b, + Level4_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtDW.LEVEL, &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, &rtDW.Incar_RR, &rtB.Merge_b, + Level4_e(&rtB.Merge_c, &rtDW.ECT, &rtDW.Incar_RR, &rtDW.LEVEL, &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) { + switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_c); - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_c); - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Blower_RR = 10U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RR = 65U; - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' */ - incarfilterup_i(rtB.Merge_b, &rtb_Merge_j); + incarfilterup_i(rtDW.LEVEL, &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_Merge_j); + incarfilterdown_c(rtDW.LEVEL, &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); - if (rtB.Merge_b + 3U > 255U) { + i = (int32_t)(rtDW.LEVEL + 3U); + if (rtDW.LEVEL + 3U > 255U) { i = 255; } - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* 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_Merge_j); + incarfilterup_i(rtDW.LEVEL, &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_Merge_j); + incarfilterdown_c(rtDW.LEVEL, &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, &rtb_LVL); + g_assSTART_COOLANT_STEP0_TO_1_e(rtDW.LEVEL, &rtb_LVL); - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ rtB.Merge_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, + Level4_m(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Merge_e, &rtb_Merge_j, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_Merge_a, + &rtDW.LEVEL, &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, + Level4_m(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.ECT, &rtb_Merge_e, &rtb_Merge_j, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_Merge_a, + &rtDW.LEVEL, &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) { + switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - Level0_b(&rtB.Merge_c, &rtb_out_b, &rtDW.Blower_RR, &Dtg_FUR, + Level0_b(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_Merge_e, &rtb_Merge_j, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, + &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, &rtDW.Level0_bc); - /* End of Outputs for SubSystem: '/Level 0' */ + /* 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, + Level0_b(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.Incar_RR, &rtb_Merge_e, &rtb_Merge_j, - &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, + &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, &rtDW.Level1_d3); - /* End of Outputs for SubSystem: '/Level 1' */ + /* 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); + uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterup_i(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterdown_c(rtDW.LEVEL, &rtDW.Mode_RR); + moderearstep1(rtDW.LEVEL, &rtDW.Mode_RR); - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowerstartfinish(rtB.Merge_b, rtb_out_f0); + blowerstartfinish(rtDW.LEVEL, rtb_out_jq); - /* 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_md[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; - rtb_out_md[1] = g_assSTART_COOLANT_TO_STEP2[1]; + rtb_out_j4[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; + rtb_out_j4[1] = g_assSTART_COOLANT_TO_STEP2[1]; - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_md, - rtb_out_f0, 1U); + rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_j4, + rtb_out_jq, 1U); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write5' */ rtDW.Blower_RR = (uint16_t)rtb_LVL; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_rear' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_rear' */ - Dtg_rear(rtB.Merge_b, &rtDW.Dtg_RR); + Dtg_rear(rtDW.LEVEL, &rtDW.Dtg_RR); - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_rear == 1); - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ - Incartempgotofromstep1tostep2_j(rtB.Merge_b, &Duct2_F); + Incartempgotofromstep1tostep2_j(rtDW.LEVEL, &rtb_y_c23); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_em; - /* 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, &rtb_LVL); + Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* 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 ((rtDW.Incar_RR > Duct2_F) || (rtb_Subtract > (uint16_t)(1000 * + if ((rtDW.Incar_RR > rtb_y_c23) || (rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[1])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_c = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_c = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* 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); + uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterup_i(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterdown_c(rtDW.LEVEL, &rtDW.Mode_RR); + moderearstep1(rtDW.LEVEL, &rtDW.Mode_RR); - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' */ - blowerstartfinish(rtB.Merge_b, rtb_out_f0); + blowerstartfinish(rtDW.LEVEL, rtb_out_jq); - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' */ - ECTminmax_l(rtB.Merge_b, rtb_out_md); + ECTminmax_l(rtDW.LEVEL, rtb_out_j4); - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ - rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_md, - rtb_out_f0, 1U); + rtb_LVL = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_j4, + rtb_out_jq, 1U); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write5' */ rtDW.Blower_RR = (uint16_t)rtb_LVL; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read8' - * MATLAB Function: '/Dtg_rear' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read8' + * MATLAB Function: '/Dtg_rear' */ - Dtg_rear(rtB.Merge_b, &rtDW.Dtg_RR); + Dtg_rear(rtDW.LEVEL, &rtDW.Dtg_RR); - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/current step' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/current step' */ rtb_LogicalOperator1 = (rtDW.step_start_controle_rear == 1); - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ - Incartempgotofromstep1tostep2_j(rtB.Merge_b, &Duct2_F); + Incartempgotofromstep1tostep2_j(rtDW.LEVEL, &rtb_y_c23); - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read4' - * UnitDelay: '/t_start_delay_private ' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read4' + * UnitDelay: '/t_start_delay_private ' */ rtb_Subtract = rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oc; - /* 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, &rtb_LVL); + Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* 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 ((rtDW.Incar_RR > Duct2_F) || (rtb_Subtract > (uint16_t)(1000 * + if ((rtDW.Incar_RR > rtb_y_c23) || (rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) || (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[2])) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step' */ rtB.Merge_c = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step 1' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' */ rtB.Merge_c = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* 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, + Level4_d(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_Merge_e, - &rtb_Merge_j, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, + &rtb_Merge_j, &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, &rtDW.Level4_dp); - /* End of Outputs for SubSystem: '/Level 4' */ + /* 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, + Level4_d(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.ECT, &rtDW.Incar_RR, &rtb_Merge_e, - &rtb_Merge_j, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, + &rtb_Merge_j, &rtDW.LEVEL, &El_window_heating, &rtDW.Mode_RR, &rtb_rate, &rtb_Merge_a, &rtDW.step_start_controle_rear, &rtDW.t_now, &rtDW.Level5_f); - /* End of Outputs for SubSystem: '/Level 5' */ + /* 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) { + switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/2 way valve' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' */ - uwayvalve(rtB.Merge_b, &rtb_Merge_j); + uwayvalve(rtDW.LEVEL, &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_Merge_j); + Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(rtB.Merge_b, &rtb_Merge_e); + timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write10' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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; } @@ -17908,66 +21197,66 @@ void HVAC_model_step(void) + (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_Merge_j); + incarfilterup_i(rtDW.LEVEL, &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_Merge_j); + incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ 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_Merge_j); + step_a(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - timeforstep_h(rtB.Merge_b, &rtb_Merge_e); + timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write2' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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; } @@ -17977,176 +21266,176 @@ void HVAC_model_step(void) + (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); + blowerstep_d(rtDW.LEVEL, &rtb_Saturation_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_khw); + blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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_khw / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_hs) * (double)i - + (double)rtDW.Blower_RR); + rtDW.Blower_RR = (uint16_t)((double)rtb_Saturation_b / (double) + rtb_Saturation1 / 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_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, &rtb_LVL); + Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ if (rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* 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_Merge_j); + uwayvalve(rtDW.LEVEL, &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_Merge_j); + Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(rtB.Merge_b, &rtb_Merge_e); + timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write10' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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; } @@ -18156,66 +21445,66 @@ void HVAC_model_step(void) + (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_Merge_j); + incarfilterup_i(rtDW.LEVEL, &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_Merge_j); + incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ 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_Merge_j); + step_a(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - timeforstep_h(rtB.Merge_b, &rtb_Merge_e); + timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write2' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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; } @@ -18225,176 +21514,176 @@ void HVAC_model_step(void) + (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); + blowerstep_d(rtDW.LEVEL, &rtb_Saturation_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_khw); + blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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_khw / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_j) * (double)i - + (double)rtDW.Blower_RR); + rtDW.Blower_RR = (uint16_t)((double)rtb_Saturation_b / (double) + rtb_Saturation1 / 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_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, &rtb_LVL); + Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * Gain: '/из сек в мс' - * RelationalOperator: '/Relational Operator1' + /* Switch: '/Switch' incorporates: + * Gain: '/из сек в мс' + * RelationalOperator: '/Relational Operator1' */ if (rtb_Subtract > (uint16_t)(1000 * rtb_LVL)) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* 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_Merge_j); + uwayvalve(rtDW.LEVEL, &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_Merge_j); + Dtg_rear(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_jn(rtB.Merge_b, &rtb_Merge_e); + timeforstep_jn(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write10' - * Product: '/Product1' - * Product: '/change rate (dtg//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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; } @@ -18404,66 +21693,66 @@ void HVAC_model_step(void) (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_Merge_j); + incarfilterup_i(rtDW.LEVEL, &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_Merge_j); + incarfilterdown_c(rtDW.LEVEL, &rtb_Merge_j); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_Merge_e = (uint8_t)(rtDW.Mode_RR - rtDW.Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ 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_Merge_j); + step_a(rtDW.LEVEL, &rtb_Merge_j); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ - timeforstep_h(rtB.Merge_b, &rtb_Merge_e); + timeforstep_h(rtDW.LEVEL, &rtb_Merge_e); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write2' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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; } @@ -18473,246 +21762,272 @@ void HVAC_model_step(void) + (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); + blowerstep_d(rtDW.LEVEL, &rtb_Saturation_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_khw); + blowertimeforstep_l(rtDW.LEVEL, &rtb_Saturation1); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write5' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* 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_khw / - 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_n) * (double)i - + (double)rtDW.Blower_RR); + rtDW.Blower_RR = (uint16_t)((double)rtb_Saturation_b / (double) + rtb_Saturation1 / 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_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, &rtb_LVL); + Timegotofromstep1tostep2_l(rtDW.LEVEL, &rtb_LVL); - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* 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_Subtract > (uint16_t)(1000 * rtb_LVL)) || rtDW.HI_logic_on) { - /* Merge: '/Merge' incorporates: - * Constant: '/go to next step' + /* 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, + Level3_i(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Merge_e, - &rtb_Merge_j, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, + &rtb_Merge_j, &rtDW.LEVEL, &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, + Level3_i(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Merge_e, - &rtb_Merge_j, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, + &rtb_Merge_j, &rtDW.LEVEL, &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, + Level3_i(&rtB.Merge_c, &rtb_Saturation_b, &rtDW.Blower_RR, &rtDW.Blower_logic_RR, &Dtg_FUR, &rtDW.Dtg_RR, &rtDW.Dtg_logic_RR, &rtDW.HI_logic_on, &rtb_Merge_e, - &rtb_Merge_j, &rtB.Merge_b, &El_window_heating, &rtDW.Mode_RR, + &rtb_Merge_j, &rtDW.LEVEL, &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 ' */ + /* Update for UnitDelay: '/Unit Delay' incorporates: + * Constant: '/Constant' + */ + rtDW.UnitDelay_DSTATE_l0 = 1; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * Constant: '/Constant' + */ + rtDW.UnitDelay_DSTATE_cc = 1; + + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE = rtb_RelationalOperator2_nm; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_p = rtb_Compare; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_mk; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_it; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_c = rtb_Compare_ho; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_m = rtb_FailCond_n; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_j = rtb_FailCond_b; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_f = rtb_FailCond_kk; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_cn = rtb_FailCond_fj; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_l = rtb_Compare_ne; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_ja = rtb_Compare_e; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_g = rtb_Compare_gh; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_cd = rtb_Compare_j4; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_e = rtb_Compare_gg; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_mv = rtb_Compare_m4; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_jl = rtb_Compare_lus; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_ei = rtb_Compare_e1; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE = true; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_d = true; } /* Model initialize function */ @@ -18745,36 +22060,36 @@ void HVAC_model_initialize(void) { int32_t i; for (i = 0; i < 9; i++) { - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh0_private[i] = rtConstP.DataStoreMemory13_InitialValue[i]; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_p[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh1_private[i] = rtConstP.DataStoreMemory13_InitialValue_i[i]; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_b[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh2_private[i] = rtConstP.DataStoreMemory13_InitialValue_l[i]; } - /* Start for Switch: '/Switch1' incorporates: + /* Start for Switch: '/Switch1' incorporates: * DataStoreMemory: '/Data Store Memory' */ rtDW.AMB_store = -9999.0; - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.step_start_controle_front = -1; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.step_start_controle_rear = -1; /* Start for DataStoreMemory: '/Data Store Memory108' */ @@ -18783,6 +22098,30 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory114' */ rtDW.FIU_MODE_RR = 1U; + /* Start for DataStoreMemory: '/Data Store Memory116' */ + rtDW.FIU_FACE_RR = 1U; + + /* Start for DataStoreMemory: '/Data Store Memory119' */ + rtDW.FIU_AUTOMODE_RR = 3U; + + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreMemory: '/Data Store Memory14' + */ + rtDW.FIU_SET_FR = 230U; + + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreMemory: '/Data Store Memory15' + */ + rtDW.FIU_SET_FL = 230U; + + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreMemory: '/Data Store Memory16' + */ + rtDW.FIU_SET_RR = 230U; + + /* Start for DataStoreMemory: '/Data Store Memory2' */ + rtDW.LEVEL = 100U; + /* Start for DataStoreMemory: '/Data Store Memory42' */ rtDW.ADC_Data_Model = rtConstP.DataStoreMemory42_InitialValue; @@ -18792,89 +22131,101 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory78' */ rtDW.FIU_MODE_FL = 1U; + /* Start for DataStoreMemory: '/Data Store Memory85' */ + rtDW.FIU_FACE_FL = 1U; + + /* Start for DataStoreMemory: '/Data Store Memory86' */ + rtDW.FIU_FOOT_FL = 1U; + /* Start for DataStoreMemory: '/Data Store Memory87' */ rtDW.FIU_MODE_FR = 1U; + /* Start for DataStoreMemory: '/Data Store Memory93' */ + rtDW.FIU_AUTOMODE_FR = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory94' */ + rtDW.FIU_AUTOMODE_FL = 3U; + /* InitializeConditions for UnitDelay: '/Unit Delay' */ rtDW.UnitDelay_DSTATE_d5 = -9999; - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_b = 0U; - /* SystemInitialize for MATLAB Function: '/Log Ambient Lv' */ + /* SystemInitialize for MATLAB Function: '/Log Ambient Lv' */ rtDW.current_Ambient_Lv_not_empty = false; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_n = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_a = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_f1 = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_j = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_h); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_p = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_e = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_g); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_h3 = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_b4 = 0; - /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_h = 0; - /* End of SystemInitialize for SubSystem: '/Start Control Front' */ + /* End of SystemInitialize for SubSystem: '/Start Control Front' */ - /* SystemInitialize for IfAction SubSystem: '/Start Control Rear' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/Start Control Rear' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_c = 0; - /* End of SystemInitialize for SubSystem: '/Start Control Rear' */ + /* End of SystemInitialize for SubSystem: '/Start Control Rear' */ } } diff --git a/HVAC_model.h b/HVAC_model.h index 1dc608c..8383e3f 100644 --- a/HVAC_model.h +++ b/HVAC_model.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.923 + * Model version : 1.925 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed May 13 17:12:51 2026 + * C/C++ source code generated on : Thu May 14 11:35:21 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -25,6 +25,7 @@ #endif /* HVAC_model_COMMON_INCLUDES_ */ #include "HVAC_model_types.h" +#include #include #include @@ -40,61 +41,61 @@ /* user code (top of header file) */ #include -/* Block states (default storage) for system '/MATLAB Function' */ +/* Block states (default storage) for system '/MATLAB Function' */ typedef struct { - double cond_prev; /* '/MATLAB Function' */ - uint32_t t_start; /* '/MATLAB Function' */ - bool t_start_not_empty; /* '/MATLAB Function' */ + double cond_prev; /* '/MATLAB Function' */ + uint32_t t_start; /* '/MATLAB Function' */ + bool t_start_not_empty; /* '/MATLAB Function' */ } DW_MATLABFunction; -/* Block states (default storage) for system '/Level 4' */ +/* Block states (default storage) for system '/Level 4' */ typedef struct { - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ } DW_Level4_n; -/* Block states (default storage) for system '/Level 3' */ +/* Block states (default storage) for system '/Level 3' */ typedef struct { - uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_i; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_j; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_a; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_i; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_j; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_a; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ } DW_Level3; -/* Block states (default storage) for system '/Level 0' */ +/* Block states (default storage) for system '/Level 0' */ typedef struct { - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ } DW_Level0_c; -/* Block states (default storage) for system '/Level 4' */ +/* Block states (default storage) for system '/Level 4' */ typedef struct { - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ } DW_Level4_a; -/* Block states (default storage) for system '/Level 3' */ +/* Block states (default storage) for system '/Level 3' */ typedef struct { - uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_i; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_e; /* '/Unit Delay' */ - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_i; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_e; /* '/Unit Delay' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ } DW_Level3_n; /* Block signals (default storage) */ typedef struct { - uint8_t Merge_b; /* '/Merge' */ - int8_t Merge_f1; /* '/Merge' */ - int8_t Merge_e; /* '/Merge' */ - int8_t Merge_b4; /* '/Merge' */ - int8_t Merge_c; /* '/Merge' */ - int8_t Merge_h; /* '/Merge' */ - int8_t Merge_h3; /* '/Merge' */ - int8_t Merge_p; /* '/Merge' */ - int8_t Merge_a; /* '/Merge' */ + uint8_t Merge_b; /* '/Merge' */ + int8_t Merge_f1; /* '/Merge' */ + int8_t Merge_e; /* '/Merge' */ + int8_t Merge_b4; /* '/Merge' */ + int8_t Merge_c; /* '/Merge' */ + int8_t Merge_h; /* '/Merge' */ + int8_t Merge_h3; /* '/Merge' */ + int8_t Merge_p; /* '/Merge' */ + int8_t Merge_a; /* '/Merge' */ } B; /* Block states (default storage) for system '' */ @@ -103,91 +104,98 @@ typedef struct { dbgCAN_dbg_Sen_Duct_Bus dbgCAN_dbg_Sen_Duct_model;/* '/Data Store Memory82' */ CmdCAN_CCU_STAT1_Bus CCU_STAT1_MODEL;/* '/Data Store Memory105' */ CCUCAN_ESC_04_Bus CCUCAN_ESC_04_model;/* '/Data Store Memory141' */ + CCUCAN_BCM_Climatic_Bus CCUCAN_BCM_Climatic_model;/* '/Data Store Memory138' */ 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_h; /* '/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 Sun_L; /* '/Data Store Memory143' */ + double Sun_R; /* '/Data Store Memory144' */ double MODE_DRIVER; /* '/Data Store Memory18' */ double MODE_RR_passenger; /* '/Data Store Memory19' */ double start_control_finished_rear; /* '/SC Rear' */ - double Start_timer; /* '/Data Store Memory' */ - double Start_timer_j; /* '/Data Store Memory' */ - double Start_timer_n; /* '/Data Store Memory' */ + double Start_timer; /* '/Data Store Memory' */ + double Start_timer_j; /* '/Data Store Memory' */ + double Start_timer_n; /* '/Data Store Memory' */ 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_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' */ + CmdBusADCDataKey ADC_Key_Data_Model; /* '/Data Store Memory3' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_g;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_gq;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_h;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_m;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_k;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_p;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_hb;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_i;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_cc;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_cd;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_o;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_oj;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_oy;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_go;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_j;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_kw;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_gd;/* '/t_start_delay_private ' */ + uint32_t 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 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 UnitDelay_DSTATE_l0; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_cc; /* '/Unit Delay' */ + int16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh0_private[9]; /* '/Data Store Memory13' */ + int16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh1_private[9]; /* '/Data Store Memory13' */ + int16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh2_private[9]; /* '/Data Store Memory13' */ int16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ int16_t Eva_F; /* '/Data Store Memory10' */ int16_t Incar_FR; /* '/Data Store Memory11' */ @@ -199,9 +207,9 @@ typedef struct { int16_t Eva_R; /* '/Data Store Memory9' */ int16_t ECT; /* '/engine coolant temp' */ int16_t VehicleSpeed; /* '/engine coolant temp1' */ - uint16_t POS_private[9]; /* '/Data Store Memory3' */ - uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ - uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ + uint16_t POS_private[9]; /* '/Data Store Memory3' */ + uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ + uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ uint16_t valves_front_manual_target[9];/* '/Data Store Memory133' */ uint16_t valves_rear_manual_target[6];/* '/Data Store Memory134' */ uint16_t FIU_SET_FR; /* '/Data Store Memory14' */ @@ -212,73 +220,75 @@ typedef struct { uint16_t Blower_RR; /* '/Data Store Memory32' */ uint16_t Blower_logic_FL; /* '/Data Store Memory37' */ uint16_t Blower_logic_RR; /* '/Data Store Memory56' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_p; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_a; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_f; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cn; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_l; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_ja; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cd; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_e; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_mv; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_jl; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_ei; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_eia; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_jk; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_i; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_aw; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cp; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_iy; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_b; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_mb; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_fi; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_hs; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_gx; /* '/Cond_prev_private ' */ - int8_t stepSig_private; /* '/Data Store Memory' */ - int8_t stepHoming_private; /* '/Data Store Memory17' */ - int8_t stepSig_private_h; /* '/Data Store Memory' */ - int8_t stepHoming_private_f; /* '/Data Store Memory17' */ - int8_t stepSig_private_g; /* '/Data Store Memory' */ - int8_t stepHoming_private_a; /* '/Data Store Memory17' */ - int8_t step_start_controle_front; /* '/Data Store Memory' */ - int8_t step_start_controle_rear; /* '/Data Store Memory1' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_p; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_a; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_f; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cn; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_l; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_ja; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cd; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_e; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_mv; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_jl; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_ei; /* '/Cond_prev_private ' */ + bool DelayInput1_DSTATE; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_d; /* '/Delay Input1' */ + bool Cond_prev_private_DSTATE_eia; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_jk; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_i; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_aw; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cp; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_iy; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_b; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_mb; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_fi; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_hs; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_gx; /* '/Cond_prev_private ' */ + int8_t stepSig_private; /* '/Data Store Memory' */ + int8_t stepHoming_private; /* '/Data Store Memory17' */ + int8_t stepSig_private_h; /* '/Data Store Memory' */ + int8_t stepHoming_private_f; /* '/Data Store Memory17' */ + int8_t stepSig_private_g; /* '/Data Store Memory' */ + int8_t stepHoming_private_a; /* '/Data Store Memory17' */ + int8_t step_start_controle_front; /* '/Data Store Memory' */ + int8_t step_start_controle_rear; /* '/Data Store Memory1' */ int8_t start_control_finished_front; /* '/SC Front' */ - uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ - uint8_t Speed_private[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private[9]; /* '/Data Store Memory5' */ - uint8_t COM_private[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ + uint8_t Speed_private[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private[9]; /* '/Data Store Memory5' */ + uint8_t COM_private[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ uint8_t CCU_ActuatorErrF_Stat_private;/* '/Data Store Memory' */ uint8_t dtc_state_error_model[127]; /* '/Data Store Memory1' */ uint8_t FIU_MODE_RL; /* '/Data Store Memory108' */ @@ -297,6 +307,7 @@ typedef struct { uint8_t PWM_rear; /* '/Data Store Memory132' */ uint8_t PWM_front; /* '/Data Store Memory135' */ uint8_t Blower_AF_RR; /* '/Data Store Memory136' */ + uint8_t LEVEL; /* '/Data Store Memory2' */ uint8_t Mode_FL; /* '/Data Store Memory23' */ uint8_t Dtg_FUL; /* '/Data Store Memory31' */ uint8_t Dtg_FLL; /* '/Data Store Memory34' */ @@ -321,35 +332,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_g;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction; /* '/MATLAB Function' */ + bool current_Ambient_Lv_not_empty; /* '/Log Ambient Lv' */ + DW_Level3_n Level5_e; /* '/Level 5' */ + DW_Level3_n Level4_j; /* '/Level 4' */ + DW_Level3_n Level3_i0; /* '/Level 3' */ + DW_Level4_a Level5_f; /* '/Level 5' */ + DW_Level4_a Level4_dp; /* '/Level 4' */ + DW_Level0_c Level1_d3; /* '/Level 1' */ + DW_Level0_c Level0_bc; /* '/Level 0' */ + DW_Level3 Level4_a; /* '/Level 4' */ + DW_Level3 Level3_l; /* '/Level 3' */ + DW_Level4_n Level5_g; /* '/Level 5' */ + DW_Level4_n Level4_cw; /* '/Level 4' */ + DW_MATLABFunction sf_MATLABFunction_g;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction; /* '/MATLAB Function' */ } DW; -/* Invariant block signals for system '/If Action Subsystem1' */ +/* Invariant block signals for system '/If Action Subsystem1' */ typedef struct { - const uint8_t DataTypeConversion[9]; /* '/Data Type Conversion' */ + const uint8_t DataTypeConversion[9]; /* '/Data Type Conversion' */ } ConstB_IfActionSubsystem1; /* Invariant block signals (default storage) */ typedef struct { - ConstB_IfActionSubsystem1 IfActionSubsystem1_fn;/* '/If Action Subsystem1' */ - ConstB_IfActionSubsystem1 IfActionSubsystem1_c;/* '/If Action Subsystem1' */ - ConstB_IfActionSubsystem1 IfActionSubsystem1_h;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1 IfActionSubsystem1_fn;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1 IfActionSubsystem1_c;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1 IfActionSubsystem1_h;/* '/If Action Subsystem1' */ } ConstB; /* Constant parameters (default storage) */ @@ -361,140 +372,140 @@ typedef struct { /* 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' */ 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' + * Referenced by: '/1-D Lookup Table' */ double uDLookupTable_tableData[1024]; /* Pooled Parameter (Expression: [845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 834 814 795 778 762 746 732 718 705 692 680 669 658 648 638 628 619 610 601 593 585 577 569 562 555 548 541 535 528 522 516 510 504 498 493 488 482 477 472 467 462 457 453 448 444 439 435 431 426 422 418 414 410 406 403 399 395 392 388 384 381 378 374 371 368 364 361 358 355 352 349 346 343 340 337 334 331 329 326 323 320 318 315 312 310 307 305 302 300 297 295 292 290 288 285 283 281 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 233 231 229 227 225 224 222 220 218 216 215 213 211 209 208 206 204 203 201 199 198 196 194 193 191 190 188 186 185 183 182 180 179 177 176 174 173 171 170 168 167 165 164 162 161 159 158 156 155 154 152 151 150 148 147 145 144 143 141 140 139 137 136 135 133 132 131 130 128 127 126 125 123 122 121 120 118 117 116 115 113 112 111 110 109 107 106 105 104 103 102 100 99 98 97 96 95 94 92 91 90 89 88 87 86 85 84 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 26 25 24 23 22 21 20 19 18 17 16 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 1 0 0 -1 -2 -3 -4 -4 -5 -6 -7 -8 -9 -9 -10 -11 -12 -13 -14 -14 -15 -16 -17 -18 -19 -19 -20 -21 -22 -23 -23 -24 -25 -26 -27 -28 -28 -29 -30 -31 -31 -32 -33 -34 -35 -35 -36 -37 -38 -39 -39 -40 -41 -42 -42 -43 -44 -45 -46 -46 -47 -48 -49 -49 -50 -51 -52 -53 -53 -54 -55 -56 -56 -57 -58 -59 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -79 -80 -81 -82 -82 -83 -84 -85 -85 -86 -87 -87 -88 -89 -90 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -102 -103 -104 -105 -105 -106 -107 -107 -108 -109 -109 -110 -111 -112 -112 -113 -114 -114 -115 -116 -116 -117 -118 -119 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -130 -131 -132 -132 -133 -134 -134 -135 -136 -137 -137 -138 -139 -139 -140 -141 -141 -142 -143 -143 -144 -145 -145 -146 -147 -147 -148 -149 -149 -150 -151 -152 -152 -153 -154 -154 -155 -156 -156 -157 -158 -158 -159 -160 -160 -161 -162 -162 -163 -164 -164 -165 -166 -167 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -175 -176 -177 -177 -178 -179 -179 -180 -181 -181 -182 -183 -183 -184 -185 -186 -186 -187 -188 -188 -189 -190 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -198 -199 -200 -200 -201 -202 -202 -203 -204 -205 -205 -206 -207 -207 -208 -209 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -220 -221 -222 -222 -223 -224 -225 -225 -226 -227 -227 -228 -229 -229 -230 -231 -231 -232 -233 -234 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -243 -244 -245 -245 -246 -247 -248 -248 -249 -250 -250 -251 -252 -253 -253 -254 -255 -255 -256 -257 -258 -258 -259 -260 -261 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -271 -272 -273 -274 -274 -275 -276 -277 -277 -278 -279 -280 -280 -281 -282 -283 -283 -284 -285 -286 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -295 -296 -297 -298 -299 -299 -300 -301 -302 -302 -303 -304 -305 -306 -306 -307 -308 -309 -310 -310 -311 -312 -313 -314 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -328 -329 -330 -331 -332 -333 -333 -334 -335 -336 -337 -338 -339 -339 -340 -341 -342 -343 -344 -345 -345 -346 -347 -348 -349 -350 -351 -352 -353 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -363 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -397 -398 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399 -399]) * 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 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 pooled38[2]; + uint32_t pooled39[2]; /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ int16_t uDLookupTable1_bp01Data[2]; /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) * Referenced by: - * '/Get LVL for temp' - * '/1-D Lookup Table' + * '/Get LVL for temp' + * '/1-D Lookup Table' */ - int16_t pooled40[6]; + int16_t pooled42[6]; /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ int16_t GetLVLfortemp_bp01Data[6]; /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ - int16_t pooled45[1024]; + int16_t pooled47[1024]; /* Pooled Parameter (Expression: [0:4:4095]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ - int16_t pooled46[1024]; + int16_t pooled48[1024]; /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - int16_t pooled49[13]; + int16_t pooled51[13]; /* Computed Parameter: DataStoreMemory13_InitialValue - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue[9]; /* Computed Parameter: DataStoreMemory13_InitialValue_i - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue_i[9]; /* Computed Parameter: DataStoreMemory13_InitialValue_l - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue_l[9]; /* Pooled Parameter (Expression: [0:4:4092]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table' - * '/1-D Lookup 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 pooled52[1024]; + uint16_t pooled54[1024]; /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value[9]; /* Computed Parameter: ACT1_Value_c - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value_c[6]; /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value_m[8]; /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) * Referenced by: - * '/Constant3' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' + * '/Constant3' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' */ - uint8_t pooled79[9]; + uint8_t pooled84[9]; /* Computed Parameter: Constant3_Value - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ uint8_t Constant3_Value[6]; /* Computed Parameter: Constant3_Value_d - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ uint8_t Constant3_Value_d[8]; /* Pooled Parameter (Expression: ) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - uint8_t pooled86[6]; + uint8_t pooled91[6]; } ConstP; /* External outputs (root outports fed by signals with default storage) */ @@ -549,10 +560,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' */ @@ -576,75 +587,10 @@ extern RT_MODEL *const rtM; * Block '/Время в мс' : Unused code path elimination * Block '/Новая t окр. среды' : Unused code path elimination * Block '/Скорость авто' : Unused code path elimination - * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : 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 '/lvl' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination @@ -652,67 +598,118 @@ extern RT_MODEL *const rtM; * Block '/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 '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/1-D Lookup Table' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Scope' : Unused code path elimination - * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination @@ -725,49 +722,49 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination @@ -780,137 +777,137 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination * Block '/Display3' : Unused code path elimination * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination @@ -923,49 +920,49 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination @@ -978,333 +975,649 @@ extern RT_MODEL *const rtM; * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination * Block '/Display3' : Unused code path elimination * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/t окруж. среды' : Unused code path elimination - * Block '/Заданная t слева' : Unused code path elimination - * Block '/Заданная t справа' : Unused code path elimination - * Block '/Заслонки Left' : Unused code path elimination - * Block '/Заслонки Right' : Unused code path elimination - * Block '/Заслонки итог' : Unused code path elimination - * Block '/Режим L' : Unused code path elimination - * Block '/Режим R' : Unused code path elimination - * Block '/Уровень' : Unused code path elimination - * Block '/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 '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/t окруж. среды' : Unused code path elimination + * Block '/Заданная t слева' : Unused code path elimination + * Block '/Заданная t справа' : Unused code path elimination + * Block '/Заслонки Left' : Unused code path elimination + * Block '/Заслонки Right' : Unused code path elimination + * Block '/Заслонки итог' : Unused code path elimination + * Block '/Режим L' : Unused code path elimination + * Block '/Режим R' : Unused code path elimination + * Block '/Уровень' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/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 '/Display' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Gain5' : Unused code path elimination + * Block '/Gain6' : Unused code path elimination + * Block '/Gain7' : Unused code path elimination + * Block '/Gain8' : Unused code path elimination + * Block '/LVL для t окр. среды' : Unused code path elimination + * Block '/SET водителя' : Unused code path elimination + * Block '/SET левого заднего пссажира' : Unused code path elimination + * Block '/SET пассажира' : Unused code path elimination + * Block '/SET правого заднего пссажира' : Unused code path elimination + * Block '/t внутри авто - спереди слева' : Unused code path elimination + * Block '/t внутри авто - спереди слева1' : Unused code path elimination + * Block '/t внутри авто - спереди слева2' : Unused code path elimination + * Block '/t внутри авто - спереди слева3' : Unused code path elimination + * Block '/t окр. среды' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Датчик солнца' : Unused code path elimination + * Block '/Датчик солнца1' : Unused code path elimination + * Block '/Слева ноги до коррекции' : Unused code path elimination + * Block '/Слева сзади' : Unused code path elimination + * Block '/Слева спереди' : Unused code path elimination + * Block '/Слева спереди снизу (ноги)' : Unused code path elimination + * Block '/Справа ноги до коррекции' : Unused code path elimination + * Block '/Справа сзади' : Unused code path elimination + * Block '/Справа спереди' : Unused code path elimination + * Block '/Справа спереди снизу (ноги)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Constant3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/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 '/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 '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/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 '/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 '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/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 '/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 '/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 '/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 '/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 '/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 '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/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 */ /*- @@ -1324,1401 +1637,1525 @@ extern RT_MODEL *const rtM; * '' : 'HVAC_model' * '' : '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' + * '' : 'HVAC_model/13.1.3.3 Dtg model' + * '' : 'HVAC_model/ACP' + * '' : 'HVAC_model/CAN INPUT' + * '' : 'HVAC_model/CAN OUTPUT' + * '' : 'HVAC_model/LIN' + * '' : 'HVAC_model/PWM and valves in 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/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.3 FLL_tg' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/FLL_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/FLL_tg_min' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/X1-X4 для FLL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/Y1-Y4 для FLL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/убираем одинаковые точки' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/X1-X4 для FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/Y1-Y4 для FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 R_tg_sun/X1-X4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 R_tg_sun/Y1-Y4 для FLL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.3 FLU_tg' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/FXU_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/FXU_tg_min' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/убираем одинаковые точки' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/X1-X4 для FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/Y1-Y4 для FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/X1-X4 для FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Y1-Y4 для FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 R_tg_sun/X1-X4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 R_tg_sun/Y1-Y4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.3 FRL_tg' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/FRL_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/FRL_tg_min' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/X1-X4 для FRL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/Y1-Y4 для FRL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/убираем одинаковые точки' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/X1-X4 для FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/Y1-Y4 для FRL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 R_tg_sun/X1-X4 для FRL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 R_tg_sun/Y1-Y4 для FRL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.3 RL_tg' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/R_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/R_tg_min' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/X1-X4 для R_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/Y1-Y4 для R_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/X1-X4 для R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Y1-Y4 для R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 R_tg_sun/X1-X4 для R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 R_tg_sun/Y1-Y4 для R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.3 RR_tg' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/R_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/R_tg_min' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/X1-X4 для R_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/Y1-Y4 для R_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/X1-X4 для R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 R_tg_amb/Y1-Y4 для R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun/X1-X4 для R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 R_tg_sun/Y1-Y4 для R_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.3 FRU_tg' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/FXU_tg_max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/FXU_tg_min' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/2.1 Incar target' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/X1-X4 для FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.5 FLU_tg_incar/Y1-Y4 для FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/Amb_Tg ' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/X1-X4 для FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.6 FLU_tg_amb/Y1-Y4 для FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun/X1-X4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FLU_tg_correct (Front Right)/2.7 FLU_tg_sun/Y1-Y4 для FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction rate' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction_start_time' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction rate' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction_start_time' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/ACP/EvapF' + * '' : 'HVAC_model/ACP/EvapR' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve' + * '' : 'HVAC_model/ACP/PRINT IGN_ANS' + * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK' + * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC' + * '' : 'HVAC_model/ACP/Rear_Duct' + * '' : 'HVAC_model/ACP/Subsystem' + * '' : 'HVAC_model/ACP/Subsystem1' + * '' : 'HVAC_model/ACP/Write' + * '' : 'HVAC_model/ACP/Write1' + * '' : 'HVAC_model/ACP/Write2' + * '' : 'HVAC_model/ACP/Write3' + * '' : 'HVAC_model/ACP/Write4' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapF/RealTime_Timer' + * '' : 'HVAC_model/ACP/EvapF/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write Eva_F' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapR/RealTime_Timer' + * '' : 'HVAC_model/ACP/EvapR/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write Eva_F' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve/Write' + * '' : 'HVAC_model/ACP/PRINT IGN_ANS/Write' + * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK/Write' + * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG/Write' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1/Write' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant1' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant2' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/RealTime_Timer' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/UDS ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant10' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant11' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant12' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant13' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant14' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant15' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant16' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant17' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant18' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant7' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant8' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant9' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC/Write' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant1' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant10' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant11' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant2' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant3' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant4' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant5' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant6' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant7' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant8' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant9' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer2' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer3' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR1' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR2' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR3' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 1' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 2' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 3' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR1' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR2' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR3' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant1' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant2' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant3' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant4' + * '' : 'HVAC_model/ACP/Subsystem/Compare To Constant5' + * '' : 'HVAC_model/ACP/Subsystem/RealTime_Timer' + * '' : 'HVAC_model/ACP/Subsystem/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Subsystem/UDS ERROR' + * '' : 'HVAC_model/ACP/Subsystem/UDS ERROR1' + * '' : 'HVAC_model/ACP/Subsystem/Write ERROR' + * '' : 'HVAC_model/ACP/Subsystem/Write ERROR1' + * '' : 'HVAC_model/ACP/Subsystem/Write IncarFL' + * '' : 'HVAC_model/ACP/Subsystem/Write IncarRL' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant1' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant2' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant3' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant4' + * '' : 'HVAC_model/ACP/Subsystem1/Compare To Constant5' + * '' : 'HVAC_model/ACP/Subsystem1/RealTime_Timer' + * '' : 'HVAC_model/ACP/Subsystem1/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Subsystem1/UDS ERROR' + * '' : 'HVAC_model/ACP/Subsystem1/UDS ERROR1' + * '' : 'HVAC_model/ACP/Subsystem1/Write ERROR' + * '' : 'HVAC_model/ACP/Subsystem1/Write ERROR1' + * '' : 'HVAC_model/ACP/Subsystem1/Write IncarFR' + * '' : 'HVAC_model/ACP/Subsystem1/Write IncarRR' + * '' : 'HVAC_model/CAN INPUT/Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem1' + * '' : 'HVAC_model/CAN INPUT/Subsystem10' + * '' : 'HVAC_model/CAN INPUT/Subsystem11' + * '' : 'HVAC_model/CAN INPUT/Subsystem12' + * '' : 'HVAC_model/CAN INPUT/Subsystem13' + * '' : 'HVAC_model/CAN INPUT/Subsystem14' + * '' : 'HVAC_model/CAN INPUT/Subsystem15' + * '' : 'HVAC_model/CAN INPUT/Subsystem16' + * '' : 'HVAC_model/CAN INPUT/Subsystem17' + * '' : 'HVAC_model/CAN INPUT/Subsystem18' + * '' : 'HVAC_model/CAN INPUT/Subsystem19' + * '' : 'HVAC_model/CAN INPUT/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/Subsystem20' + * '' : 'HVAC_model/CAN INPUT/Subsystem21' + * '' : 'HVAC_model/CAN INPUT/Subsystem22' + * '' : 'HVAC_model/CAN INPUT/Subsystem23' + * '' : 'HVAC_model/CAN INPUT/Subsystem24' + * '' : 'HVAC_model/CAN INPUT/Subsystem25' + * '' : 'HVAC_model/CAN INPUT/Subsystem26' + * '' : 'HVAC_model/CAN INPUT/Subsystem27' + * '' : 'HVAC_model/CAN INPUT/Subsystem28' + * '' : 'HVAC_model/CAN INPUT/Subsystem29' + * '' : 'HVAC_model/CAN INPUT/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/Subsystem30' + * '' : 'HVAC_model/CAN INPUT/Subsystem31' + * '' : 'HVAC_model/CAN INPUT/Subsystem32' + * '' : 'HVAC_model/CAN INPUT/Subsystem33' + * '' : 'HVAC_model/CAN INPUT/Subsystem34' + * '' : 'HVAC_model/CAN INPUT/Subsystem35' + * '' : 'HVAC_model/CAN INPUT/Subsystem36' + * '' : 'HVAC_model/CAN INPUT/Subsystem37' + * '' : 'HVAC_model/CAN INPUT/Subsystem38' + * '' : 'HVAC_model/CAN INPUT/Subsystem39' + * '' : 'HVAC_model/CAN INPUT/Subsystem4' + * '' : 'HVAC_model/CAN INPUT/Subsystem40' + * '' : 'HVAC_model/CAN INPUT/Subsystem41' + * '' : 'HVAC_model/CAN INPUT/Subsystem42' + * '' : 'HVAC_model/CAN INPUT/Subsystem43' + * '' : 'HVAC_model/CAN INPUT/Subsystem44' + * '' : 'HVAC_model/CAN INPUT/Subsystem45' + * '' : 'HVAC_model/CAN INPUT/Subsystem46' + * '' : 'HVAC_model/CAN INPUT/Subsystem47' + * '' : 'HVAC_model/CAN INPUT/Subsystem48' + * '' : 'HVAC_model/CAN INPUT/Subsystem49' + * '' : 'HVAC_model/CAN INPUT/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/Subsystem7' + * '' : 'HVAC_model/CAN INPUT/Subsystem8' + * '' : 'HVAC_model/CAN INPUT/Subsystem9' + * '' : 'HVAC_model/CAN INPUT/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 0d8225a..f9c8ff9 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.923 + * Model version : 1.925 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed May 13 17:12:51 2026 + * C/C++ source code generated on : Thu May 14 11:35:21 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -19,27 +19,27 @@ /* Invariant block signals (default storage) */ const ConstB rtConstB = { - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } , - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } , - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ }; /* Constant parameters (default storage) */ @@ -91,8 +91,8 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [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, @@ -199,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, @@ -305,10 +305,10 @@ const ConstP rtConstP = { /* 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, @@ -416,32 +416,32 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ { 5U, 12U }, /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ { 10, 50 }, /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) * Referenced by: - * '/Get LVL for temp' - * '/1-D Lookup Table' + * '/Get LVL for temp' + * '/1-D Lookup Table' */ { 5, 4, 3, 2, 1, 0 }, /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ { -1000, -50, -10, 5, 20, 65 }, /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, @@ -515,8 +515,8 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [0:4:4095]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, @@ -597,35 +597,35 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 }, /* Computed Parameter: DataStoreMemory13_InitialValue - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 1050, 1250, 1175, 1195, 1315, 1300, 1485, 1440, 1195 }, /* Computed Parameter: DataStoreMemory13_InitialValue_i - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 1225, 1320, 1270, 1540, 1480, 1175, 0, 0, 0 }, /* Computed Parameter: DataStoreMemory13_InitialValue_l - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 3075, 3075, 1605, 1840, 1650, 1635, 1820, 1650, 0 }, /* Pooled Parameter (Expression: [0:4:4092]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table' - * '/1-D Lookup 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, @@ -719,46 +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_c - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) * Referenced by: - * '/Constant3' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' + * '/Constant3' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' */ { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U }, /* Computed Parameter: Constant3_Value - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ { 1U, 2U, 3U, 4U, 5U, 6U }, /* Computed Parameter: Constant3_Value_d - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U }, /* Pooled Parameter (Expression: ) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ { 0U, 1U, 2U, 3U, 4U, 5U } }; diff --git a/HVAC_model_private.h b/HVAC_model_private.h index 8b8d3c4..df62544 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.923 + * Model version : 1.925 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed May 13 17:12:51 2026 + * C/C++ source code generated on : Thu May 14 11:35:21 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -76,8 +76,14 @@ preprocessor word size checks. 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 +extern uint32_t binsearch_u32s16(int16_t u_3, const int16_t bp[], uint32_t startIndex, uint32_t maxIndex); +extern int16_t look1_is16lu64n32Ds32_binlcn(int16_t u0, const int16_t bp0[], + const int16_t table[], uint32_t maxIndex); +extern double look1_bs16ts16DdId_binlc(double u0, const int16_t bp0[], const + int16_t table[], uint32_t maxIndex); +extern int16_t look1_is16bdlu64n48Ds32_binlcn(int16_t u0, const double bp0[], + const int16_t table[], 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); @@ -87,7 +93,7 @@ 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 +extern uint32_t plook_u32s16_bincka(int16_t u_5, 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 @@ -124,6 +130,34 @@ extern void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t extern void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1 [9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR); extern void left(uint8_t rtu_idx, uint16_t rty_vals[9]); +extern void u1Incartarget(int16_t rtu_SET, uint8_t rtu_LVL, bool + rtu_set_has_half, int16_t *rty_y); +extern void Y1Y4FLL_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void u_n(const int16_t rtu_y_in[5], double rty_y_fixed[5]); +extern void Amb_Tg(uint8_t rtu_LVL, int16_t *rty_y); +extern void X1X4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void Y1Y4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void X1X4FLU_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void Y1Y4FLL_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void FLL_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void FLL_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5); +extern void X1X4FLU_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void Y1Y4FLU_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void X1X4FLU_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void Y1Y4FLU_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void X1X4FLU_tg_sun_h(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void Y1Y4FLU_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void FXU_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void X1X4R_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void Y1Y4R_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); +extern void X1X4R_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void Y1Y4R_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void X1X4R_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void Y1Y4R_tg_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); +extern void R_tg_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void R_tg_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); extern void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private, double *rtd_Start_timer_n, int8_t *rtd_stepSig_private); extern void MATLABFunction_Init(DW_MATLABFunction *localDW); diff --git a/HVAC_model_types.h b/HVAC_model_types.h index 195157d..55351b1 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.923 + * Model version : 1.925 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed May 13 17:12:51 2026 + * C/C++ source code generated on : Thu May 14 11:35:21 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M