From a6cf81908ab8f049310200e956628c998fe5e9b5 Mon Sep 17 00:00:00 2001 From: cfif Date: Tue, 27 Oct 2026 14:18:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81?= =?UTF-8?q?=D1=8B=20=D0=B8=20dbg=20=D0=BC=D0=B0=D1=82=D1=80=D0=B8=D1=86?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../butl/ccu_candb_dbg-binutil.c | 19 +- .../butl/ccu_candb_dbg-binutil.h | 13 +- .../butl/tester_candb_dbg-binutil.h | 1 + .../butl/vector__xxx_candb_dbg-binutil.c | 58 +- .../butl/vector__xxx_candb_dbg-binutil.h | 10 +- .../lib/candb_dbg-fmon.h | 9 +- .../HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.c | 191 +- .../HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.h | 581 +- .../usr/candb_dbg-fmon.c | 18 +- .../CanSpamDebugReceiver.c | 40 +- .../CanSpamDebugReceiver.h | 5 + .../MainModesArbiter_InitStage.c | 1 + MODULES/HVAC_M7_MODEL/HVAC_model.c | 81378 +++++++++------- MODULES/HVAC_M7_MODEL/HVAC_model.h | 11807 +-- MODULES/HVAC_M7_MODEL/HVAC_model_data.c | 808 +- MODULES/HVAC_M7_MODEL/HVAC_model_private.h | 169 +- MODULES/HVAC_M7_MODEL/HVAC_model_types.h | 131 +- MODULES/HVAC_M7_MODEL/Model_Task.c | 10 + MODULES/HVAC_M7_MODEL/Model_Task.h | 2 + 19 files changed, 52587 insertions(+), 42664 deletions(-) diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/ccu_candb_dbg-binutil.c b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/ccu_candb_dbg-binutil.c index 0bb9251..82382f8 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/ccu_candb_dbg-binutil.c +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/ccu_candb_dbg-binutil.c @@ -7,24 +7,25 @@ #error The CCU_CANDB_DBG binutil source file has inconsistency with core dbc lib! #endif -ccu_candb_dbg_rx_t ccu_candb_dbg_rx; -ccu_candb_dbg_tx_t ccu_candb_dbg_tx; - -#ifdef __DEF_CCU_CANDB_DBG__ +//#ifdef __DEF_CCU_CANDB_DBG__ ccu_candb_dbg_rx_t ccu_candb_dbg_rx; ccu_candb_dbg_tx_t ccu_candb_dbg_tx; -#endif // __DEF_CCU_CANDB_DBG__ +//#endif // __DEF_CCU_CANDB_DBG__ uint32_t ccu_candb_dbg_Receive(ccu_candb_dbg_rx_t* _m, const uint8_t* _d, uint32_t _id, uint8_t dlc_) { uint32_t recid = 0; - if (_id == 0x400U) { - recid = Unpack_dbg_Cmd_Act_Information_candb_dbg(&(_m->dbg_Cmd_Act_Information), _d, dlc_); - } else if (_id == 0x6ABU) { - recid = Unpack_XCP_CCU_RX_candb_dbg(&(_m->XCP_CCU_RX), _d, dlc_); + if (_id == 0x3F6U) { + recid = Unpack_dbg_Act_debug_command_candb_dbg(&(_m->dbg_Act_debug_command), _d, dlc_); + } else { + if (_id == 0x400U) { + recid = Unpack_dbg_Cmd_Act_Information_candb_dbg(&(_m->dbg_Cmd_Act_Information), _d, dlc_); + } else if (_id == 0x6ABU) { + recid = Unpack_XCP_CCU_RX_candb_dbg(&(_m->XCP_CCU_RX), _d, dlc_); + } } return recid; diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/ccu_candb_dbg-binutil.h b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/ccu_candb_dbg-binutil.h index 4bd67b3..b5f7a59 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/ccu_candb_dbg-binutil.h +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/ccu_candb_dbg-binutil.h @@ -12,6 +12,7 @@ extern "C" { typedef struct { + dbg_Act_debug_command_t dbg_Act_debug_command; dbg_Cmd_Act_Information_t dbg_Cmd_Act_Information; XCP_CCU_RX_t XCP_CCU_RX; } ccu_candb_dbg_rx_t; @@ -29,6 +30,8 @@ typedef struct dbg_Act1_t dbg_Act1; dbg_Act2_t dbg_Act2; dbg_Sen_Amb_t dbg_Sen_Amb; + dbg_Act_calibration_t dbg_Act_calibration; + dbg_Act_calibration_error_t dbg_Act_calibration_error; dbg_PID_tune_t dbg_PID_tune; dbg_Sen_0_t dbg_Sen_0; dbg_CCU_IO_t dbg_CCU_IO; @@ -48,20 +51,18 @@ typedef struct dbg_Auto_AF_t dbg_Auto_AF; dbg_Auto_Duct_t dbg_Auto_Duct; dbg_Auto_Valve_Plus_t dbg_Auto_Valve_Plus; - dbg_Act_calibration_error_t dbg_Act_calibration_error; - dbg_Act_calibration_t dbg_Act_calibration; XCP_CCU_TX_t XCP_CCU_TX; } ccu_candb_dbg_tx_t; uint32_t ccu_candb_dbg_Receive(ccu_candb_dbg_rx_t* m, const uint8_t* d, uint32_t msgid, uint8_t dlc); +//#ifdef __DEF_CCU_CANDB_DBG__ + extern ccu_candb_dbg_rx_t ccu_candb_dbg_rx; + extern ccu_candb_dbg_tx_t ccu_candb_dbg_tx; -#ifdef __DEF_CCU_CANDB_DBG__ - - -#endif // __DEF_CCU_CANDB_DBG__ +//#endif // __DEF_CCU_CANDB_DBG__ #ifdef __cplusplus } diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/tester_candb_dbg-binutil.h b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/tester_candb_dbg-binutil.h index 06f0151..04fb1ed 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/tester_candb_dbg-binutil.h +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/tester_candb_dbg-binutil.h @@ -17,6 +17,7 @@ typedef struct typedef struct { + dbg_Act_debug_command_t dbg_Act_debug_command; dbg_Cmd_Act_Information_t dbg_Cmd_Act_Information; XCP_CCU_RX_t XCP_CCU_RX; } tester_candb_dbg_tx_t; diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/vector__xxx_candb_dbg-binutil.c b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/vector__xxx_candb_dbg-binutil.c index eacb5f4..b2ee1a5 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/vector__xxx_candb_dbg-binutil.c +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/vector__xxx_candb_dbg-binutil.c @@ -11,63 +11,61 @@ vector__xxx_candb_dbg_rx_t vector__xxx_candb_dbg_rx; -vector__xxx_candb_dbg_tx_t vector__xxx_candb_dbg_tx; - #endif // __DEF_VECTOR__XXX_CANDB_DBG__ uint32_t vector__xxx_candb_dbg_Receive(vector__xxx_candb_dbg_rx_t* _m, const uint8_t* _d, uint32_t _id, uint8_t dlc_) { uint32_t recid = 0; - if ((_id >= 0x0U) && (_id < 0x3FCU)) { - if ((_id >= 0x0U) && (_id < 0x3F0U)) { - if ((_id >= 0x0U) && (_id < 0x3E3U)) { - if ((_id >= 0x0U) && (_id < 0x3E1U)) { - if (_id == 0x0U) { - recid = Unpack_dbg_Act_calibration_error_candb_dbg(&(_m->dbg_Act_calibration_error), _d, dlc_); - } else if (_id == 0x3E0U) { + if ((_id >= 0x3E0U) && (_id < 0x3FCU)) { + if ((_id >= 0x3E0U) && (_id < 0x3F1U)) { + if ((_id >= 0x3E0U) && (_id < 0x3E4U)) { + if ((_id >= 0x3E0U) && (_id < 0x3E2U)) { + if (_id == 0x3E0U) { recid = Unpack_dbg_Logic_State_candb_dbg(&(_m->dbg_Logic_State), _d, dlc_); + } else if (_id == 0x3E1U) { + recid = Unpack_dbg_Logic_KM_Status_candb_dbg(&(_m->dbg_Logic_KM_Status), _d, dlc_); } } else { - if (_id == 0x3E1U) { - recid = Unpack_dbg_Logic_KM_Status_candb_dbg(&(_m->dbg_Logic_KM_Status), _d, dlc_); - } else if (_id == 0x3E2U) { + if (_id == 0x3E2U) { recid = Unpack_dbg_Logic_Valve_candb_dbg(&(_m->dbg_Logic_Valve), _d, dlc_); + } else if (_id == 0x3E3U) { + recid = Unpack_dbg_Logic_Blower_candb_dbg(&(_m->dbg_Logic_Blower), _d, dlc_); } } } else { - if ((_id >= 0x3E3U) && (_id < 0x3E5U)) { - if (_id == 0x3E3U) { - recid = Unpack_dbg_Logic_Blower_candb_dbg(&(_m->dbg_Logic_Blower), _d, dlc_); - } else if (_id == 0x3E4U) { + if ((_id >= 0x3E4U) && (_id < 0x3E6U)) { + if (_id == 0x3E4U) { recid = Unpack_dbg_Logic_Ac_candb_dbg(&(_m->dbg_Logic_Ac), _d, dlc_); + } else if (_id == 0x3E5U) { + recid = Unpack_dbg_Logic_Rec_candb_dbg(&(_m->dbg_Logic_Rec), _d, dlc_); } } else { - if (_id == 0x3E5U) { - recid = Unpack_dbg_Logic_Rec_candb_dbg(&(_m->dbg_Logic_Rec), _d, dlc_); - } else if (_id == 0x3E6U) { + if (_id == 0x3E6U) { recid = Unpack_dbg_DiffBlr_ValveOpen_candb_dbg(&(_m->dbg_DiffBlr_ValveOpen), _d, dlc_); + } else if (_id == 0x3F0U) { + recid = Unpack_dbg_Act0_candb_dbg(&(_m->dbg_Act0), _d, dlc_); } } } } else { - if ((_id >= 0x3F0U) && (_id < 0x3F4U)) { - if ((_id >= 0x3F0U) && (_id < 0x3F2U)) { - if (_id == 0x3F0U) { - recid = Unpack_dbg_Act0_candb_dbg(&(_m->dbg_Act0), _d, dlc_); - } else if (_id == 0x3F1U) { + if ((_id >= 0x3F1U) && (_id < 0x3F5U)) { + if ((_id >= 0x3F1U) && (_id < 0x3F3U)) { + if (_id == 0x3F1U) { recid = Unpack_dbg_Act1_candb_dbg(&(_m->dbg_Act1), _d, dlc_); + } else if (_id == 0x3F2U) { + recid = Unpack_dbg_Act2_candb_dbg(&(_m->dbg_Act2), _d, dlc_); } } else { - if (_id == 0x3F2U) { - recid = Unpack_dbg_Act2_candb_dbg(&(_m->dbg_Act2), _d, dlc_); - } else if (_id == 0x3F3U) { + if (_id == 0x3F3U) { recid = Unpack_dbg_Sen_Amb_candb_dbg(&(_m->dbg_Sen_Amb), _d, dlc_); + } else if (_id == 0x3F4U) { + recid = Unpack_dbg_Act_calibration_candb_dbg(&(_m->dbg_Act_calibration), _d, dlc_); } } } else { - if ((_id >= 0x3F4U) && (_id < 0x3F8U)) { - if (_id == 0x3F4U) { - recid = Unpack_dbg_Act_calibration_candb_dbg(&(_m->dbg_Act_calibration), _d, dlc_); + if ((_id >= 0x3F5U) && (_id < 0x3F8U)) { + if (_id == 0x3F5U) { + recid = Unpack_dbg_Act_calibration_error_candb_dbg(&(_m->dbg_Act_calibration_error), _d, dlc_); } else if (_id == 0x3F7U) { recid = Unpack_dbg_PID_tune_candb_dbg(&(_m->dbg_PID_tune), _d, dlc_); } diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/vector__xxx_candb_dbg-binutil.h b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/vector__xxx_candb_dbg-binutil.h index 05edca4..cc28059 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/vector__xxx_candb_dbg-binutil.h +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/butl/vector__xxx_candb_dbg-binutil.h @@ -12,7 +12,6 @@ extern "C" { typedef struct { - dbg_Act_calibration_error_t dbg_Act_calibration_error; dbg_Logic_State_t dbg_Logic_State; dbg_Logic_KM_Status_t dbg_Logic_KM_Status; dbg_Logic_Valve_t dbg_Logic_Valve; @@ -25,6 +24,7 @@ typedef struct dbg_Act2_t dbg_Act2; dbg_Sen_Amb_t dbg_Sen_Amb; dbg_Act_calibration_t dbg_Act_calibration; + dbg_Act_calibration_error_t dbg_Act_calibration_error; dbg_PID_tune_t dbg_PID_tune; dbg_Sen_0_t dbg_Sen_0; dbg_CCU_IO_t dbg_CCU_IO; @@ -47,11 +47,7 @@ typedef struct XCP_CCU_TX_t XCP_CCU_TX; } vector__xxx_candb_dbg_rx_t; -typedef struct -{ - dbg_Act_calibration_error_t dbg_Act_calibration_error; - dbg_Act_calibration_t dbg_Act_calibration; -} vector__xxx_candb_dbg_tx_t; +// There is no any TX mapped massage. uint32_t vector__xxx_candb_dbg_Receive(vector__xxx_candb_dbg_rx_t* m, const uint8_t* d, uint32_t msgid, uint8_t dlc); @@ -59,8 +55,6 @@ uint32_t vector__xxx_candb_dbg_Receive(vector__xxx_candb_dbg_rx_t* m, const uint extern vector__xxx_candb_dbg_rx_t vector__xxx_candb_dbg_rx; -extern vector__xxx_candb_dbg_tx_t vector__xxx_candb_dbg_tx; - #endif // __DEF_VECTOR__XXX_CANDB_DBG__ #ifdef __cplusplus diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg-fmon.h b/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg-fmon.h index 18139ba..a5a72aa 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg-fmon.h +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg-fmon.h @@ -26,7 +26,6 @@ separated .c file. If it won't be done the linkage error will happen void _FMon_MONO_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); -#define FMon_dbg_Act_calibration_error_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) #define FMon_dbg_Logic_State_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) #define FMon_dbg_Logic_KM_Status_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) #define FMon_dbg_Logic_Valve_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) @@ -39,6 +38,8 @@ void _FMon_MONO_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); #define FMon_dbg_Act2_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) #define FMon_dbg_Sen_Amb_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) #define FMon_dbg_Act_calibration_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) +#define FMon_dbg_Act_calibration_error_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) +#define FMon_dbg_Act_debug_command_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) #define FMon_dbg_PID_tune_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) #define FMon_dbg_Sen_0_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) #define FMon_dbg_CCU_IO_candb_dbg(x, y) _FMon_MONO_candb_dbg((x), (y)) @@ -64,7 +65,6 @@ void _FMon_MONO_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); #else -void _FMon_dbg_Act_calibration_error_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_Logic_State_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_Logic_KM_Status_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_Logic_Valve_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); @@ -77,6 +77,8 @@ void _FMon_dbg_Act1_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_Act2_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_Sen_Amb_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_Act_calibration_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); +void _FMon_dbg_Act_calibration_error_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); +void _FMon_dbg_Act_debug_command_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_PID_tune_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_Sen_0_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_dbg_CCU_IO_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); @@ -100,7 +102,6 @@ void _FMon_dbg_Auto_Valve_Plus_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_XCP_CCU_RX_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); void _FMon_XCP_CCU_TX_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); -#define FMon_dbg_Act_calibration_error_candb_dbg(x, y) _FMon_dbg_Act_calibration_error_candb_dbg((x), (y)) #define FMon_dbg_Logic_State_candb_dbg(x, y) _FMon_dbg_Logic_State_candb_dbg((x), (y)) #define FMon_dbg_Logic_KM_Status_candb_dbg(x, y) _FMon_dbg_Logic_KM_Status_candb_dbg((x), (y)) #define FMon_dbg_Logic_Valve_candb_dbg(x, y) _FMon_dbg_Logic_Valve_candb_dbg((x), (y)) @@ -113,6 +114,8 @@ void _FMon_XCP_CCU_TX_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid); #define FMon_dbg_Act2_candb_dbg(x, y) _FMon_dbg_Act2_candb_dbg((x), (y)) #define FMon_dbg_Sen_Amb_candb_dbg(x, y) _FMon_dbg_Sen_Amb_candb_dbg((x), (y)) #define FMon_dbg_Act_calibration_candb_dbg(x, y) _FMon_dbg_Act_calibration_candb_dbg((x), (y)) +#define FMon_dbg_Act_calibration_error_candb_dbg(x, y) _FMon_dbg_Act_calibration_error_candb_dbg((x), (y)) +#define FMon_dbg_Act_debug_command_candb_dbg(x, y) _FMon_dbg_Act_debug_command_candb_dbg((x), (y)) #define FMon_dbg_PID_tune_candb_dbg(x, y) _FMon_dbg_PID_tune_candb_dbg((x), (y)) #define FMon_dbg_Sen_0_candb_dbg(x, y) _FMon_dbg_Sen_0_candb_dbg((x), (y)) #define FMon_dbg_CCU_IO_candb_dbg(x, y) _FMon_dbg_CCU_IO_candb_dbg((x), (y)) diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.c b/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.c index f8479ed..7548716 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.c +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.c @@ -46,78 +46,6 @@ static bitext_t __ext_sig__(ubitext_t val, uint8_t bits) return ((val ^ m) - m); } -uint32_t Unpack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, const uint8_t* _d, uint8_t dlc_) -{ - (void)dlc_; - _m->dbg_Act_calib_00_Def_error = (uint8_t) ( (_d[0] & (0x01U)) ); - _m->dbg_Act_calib_01_Vent_SFL_error = (uint8_t) ( ((_d[0] >> 1U) & (0x01U)) ); - _m->dbg_Act_calib_02_Vent_CFL_error = (uint8_t) ( ((_d[0] >> 2U) & (0x01U)) ); - _m->dbg_Act_calib_03_Foot_1FL_error = (uint8_t) ( ((_d[0] >> 3U) & (0x01U)) ); - _m->dbg_Act_calib_04_Foot_2FL_error = (uint8_t) ( ((_d[0] >> 4U) & (0x01U)) ); - _m->dbg_Act_calib_05_Vent_CFR_error = (uint8_t) ( ((_d[0] >> 5U) & (0x01U)) ); - _m->dbg_Act_calib_06_Vent_SFR_error = (uint8_t) ( ((_d[0] >> 6U) & (0x01U)) ); - _m->dbg_Act_calib_07_Foot_1FR_error = (uint8_t) ( ((_d[0] >> 7U) & (0x01U)) ); - _m->dbg_Act_calib_08_Foot_2FR_error = (uint8_t) ( (_d[1] & (0x01U)) ); - _m->dbg_Act_calib_09_Vent_SRL_error = (uint8_t) ( ((_d[1] >> 1U) & (0x01U)) ); - _m->dbg_Act_calib_10_Vent_CRL_error = (uint8_t) ( ((_d[1] >> 2U) & (0x01U)) ); - _m->dbg_Act_calib_11_Foot_RL_error = (uint8_t) ( ((_d[1] >> 3U) & (0x01U)) ); - _m->dbg_Act_calib_12_Vent_CRR_error = (uint8_t) ( ((_d[1] >> 4U) & (0x01U)) ); - _m->dbg_Act_calib_13_Vent_SRR_error = (uint8_t) ( ((_d[1] >> 5U) & (0x01U)) ); - _m->dbg_Act_calib_14_Foot_RR_error = (uint8_t) ( ((_d[1] >> 6U) & (0x01U)) ); - _m->dbg_Act_calib_15_TempU_FL_error = (uint8_t) ( ((_d[1] >> 7U) & (0x01U)) ); - _m->dbg_Act_calib_16_TempL_FL_error = (uint8_t) ( (_d[2] & (0x01U)) ); - _m->dbg_Act_calib_17_TempU_FR_error = (uint8_t) ( ((_d[2] >> 1U) & (0x01U)) ); - _m->dbg_Act_calib_18_TempL_FR_error = (uint8_t) ( ((_d[2] >> 2U) & (0x01U)) ); - _m->dbg_Act_calib_19_Temp_RL_error = (uint8_t) ( ((_d[2] >> 3U) & (0x01U)) ); - _m->dbg_Act_calib_20_Temp_RR_error = (uint8_t) ( ((_d[2] >> 4U) & (0x01U)) ); - _m->dbg_Act_calib_21_Rec_error = (uint8_t) ( ((_d[2] >> 5U) & (0x01U)) ); - _m->dbg_Act_calib_22_OSA_error = (uint8_t) ( ((_d[2] >> 6U) & (0x01U)) ); - _m->dbg_Act_calib_23_Sealing_error = (uint8_t) ( ((_d[2] >> 7U) & (0x01U)) ); - -#ifdef CANDB_DBG_USE_DIAG_MONITORS - _m->mon1.dlc_error = (dlc_ < dbg_Act_calibration_error_DLC); - _m->mon1.last_cycle = GetSystemTick(); - _m->mon1.frame_cnt++; - - FMon_dbg_Act_calibration_error_candb_dbg(&_m->mon1, dbg_Act_calibration_error_CANID); -#endif // CANDB_DBG_USE_DIAG_MONITORS - - return dbg_Act_calibration_error_CANID; -} - -#ifdef CANDB_DBG_USE_CANSTRUCT - -uint32_t Pack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, __CoderDbcCanFrame_t__* cframe) -{ - uint8_t i; for (i = 0u; i < CANDB_DBG_VALIDATE_DLC(dbg_Act_calibration_error_DLC); cframe->Data[i++] = CANDB_DBG_INITIAL_BYTE_VALUE); - - cframe->Data[0] |= (uint8_t) ( (_m->dbg_Act_calib_00_Def_error & (0x01U)) | ((_m->dbg_Act_calib_01_Vent_SFL_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_02_Vent_CFL_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_03_Foot_1FL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_04_Foot_2FL_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_05_Vent_CFR_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_06_Vent_SFR_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_07_Foot_1FR_error & (0x01U)) << 7U) ); - cframe->Data[1] |= (uint8_t) ( (_m->dbg_Act_calib_08_Foot_2FR_error & (0x01U)) | ((_m->dbg_Act_calib_09_Vent_SRL_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_10_Vent_CRL_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_11_Foot_RL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_12_Vent_CRR_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_13_Vent_SRR_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_14_Foot_RR_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_15_TempU_FL_error & (0x01U)) << 7U) ); - cframe->Data[2] |= (uint8_t) ( (_m->dbg_Act_calib_16_TempL_FL_error & (0x01U)) | ((_m->dbg_Act_calib_17_TempU_FR_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_18_TempL_FR_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_19_Temp_RL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_20_Temp_RR_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_21_Rec_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_22_OSA_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_23_Sealing_error & (0x01U)) << 7U) ); - - cframe->MsgId = (uint32_t) dbg_Act_calibration_error_CANID; - cframe->DLC = (uint8_t) dbg_Act_calibration_error_DLC; - cframe->IDE = (uint8_t) dbg_Act_calibration_error_IDE; - return dbg_Act_calibration_error_CANID; -} - -#else - -uint32_t Pack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, uint8_t* _d, uint8_t* _len, uint8_t* _ide) -{ - uint8_t i; for (i = 0u; i < CANDB_DBG_VALIDATE_DLC(dbg_Act_calibration_error_DLC); _d[i++] = CANDB_DBG_INITIAL_BYTE_VALUE); - - _d[0] |= (uint8_t) ( (_m->dbg_Act_calib_00_Def_error & (0x01U)) | ((_m->dbg_Act_calib_01_Vent_SFL_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_02_Vent_CFL_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_03_Foot_1FL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_04_Foot_2FL_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_05_Vent_CFR_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_06_Vent_SFR_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_07_Foot_1FR_error & (0x01U)) << 7U) ); - _d[1] |= (uint8_t) ( (_m->dbg_Act_calib_08_Foot_2FR_error & (0x01U)) | ((_m->dbg_Act_calib_09_Vent_SRL_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_10_Vent_CRL_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_11_Foot_RL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_12_Vent_CRR_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_13_Vent_SRR_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_14_Foot_RR_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_15_TempU_FL_error & (0x01U)) << 7U) ); - _d[2] |= (uint8_t) ( (_m->dbg_Act_calib_16_TempL_FL_error & (0x01U)) | ((_m->dbg_Act_calib_17_TempU_FR_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_18_TempL_FR_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_19_Temp_RL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_20_Temp_RR_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_21_Rec_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_22_OSA_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_23_Sealing_error & (0x01U)) << 7U) ); - - *_len = (uint8_t) dbg_Act_calibration_error_DLC; - *_ide = (uint8_t) dbg_Act_calibration_error_IDE; - return dbg_Act_calibration_error_CANID; -} - -#endif // CANDB_DBG_USE_CANSTRUCT - uint32_t Unpack_dbg_Logic_State_candb_dbg(dbg_Logic_State_t* _m, const uint8_t* _d, uint8_t dlc_) { (void)dlc_; @@ -857,7 +785,7 @@ uint32_t Pack_dbg_Sen_Amb_candb_dbg(dbg_Sen_Amb_t* _m, uint8_t* _d, uint8_t* _le uint32_t Unpack_dbg_Act_calibration_candb_dbg(dbg_Act_calibration_t* _m, const uint8_t* _d, uint8_t dlc_) { (void)dlc_; - _m->dbg_Act_calib_MultMsg_Idx = (int8_t) __ext_sig__(( (_d[0] & (0xFFU)) ), 8); + _m->dbg_Act_calib_MultMsg_Idx = (uint8_t) ( (_d[0] & (0xFFU)) ); _m->dbg_Act_calib_21_Rec = (uint16_t) ( ((_d[2] & (0xFFU)) << 8U) | (_d[1] & (0xFFU)) ); _m->dbg_Act_calib_00_Def = (uint16_t) ( ((_d[2] & (0xFFU)) << 8U) | (_d[1] & (0xFFU)) ); _m->dbg_Act_calib_18_TempL_FR = (uint16_t) ( ((_d[2] & (0xFFU)) << 8U) | (_d[1] & (0xFFU)) ); @@ -935,6 +863,123 @@ uint32_t Pack_dbg_Act_calibration_candb_dbg(dbg_Act_calibration_t* _m, uint8_t* #endif // CANDB_DBG_USE_CANSTRUCT +uint32_t Unpack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, const uint8_t* _d, uint8_t dlc_) +{ + (void)dlc_; + _m->dbg_Act_calib_00_Def_error = (uint8_t) ( (_d[0] & (0x01U)) ); + _m->dbg_Act_calib_01_Vent_SFL_error = (uint8_t) ( ((_d[0] >> 1U) & (0x01U)) ); + _m->dbg_Act_calib_02_Vent_CFL_error = (uint8_t) ( ((_d[0] >> 2U) & (0x01U)) ); + _m->dbg_Act_calib_03_Foot_1FL_error = (uint8_t) ( ((_d[0] >> 3U) & (0x01U)) ); + _m->dbg_Act_calib_04_Foot_2FL_error = (uint8_t) ( ((_d[0] >> 4U) & (0x01U)) ); + _m->dbg_Act_calib_05_Vent_CFR_error = (uint8_t) ( ((_d[0] >> 5U) & (0x01U)) ); + _m->dbg_Act_calib_06_Vent_SFR_error = (uint8_t) ( ((_d[0] >> 6U) & (0x01U)) ); + _m->dbg_Act_calib_07_Foot_1FR_error = (uint8_t) ( ((_d[0] >> 7U) & (0x01U)) ); + _m->dbg_Act_calib_08_Foot_2FR_error = (uint8_t) ( (_d[1] & (0x01U)) ); + _m->dbg_Act_calib_09_Vent_SRL_error = (uint8_t) ( ((_d[1] >> 1U) & (0x01U)) ); + _m->dbg_Act_calib_10_Vent_CRL_error = (uint8_t) ( ((_d[1] >> 2U) & (0x01U)) ); + _m->dbg_Act_calib_11_Foot_RL_error = (uint8_t) ( ((_d[1] >> 3U) & (0x01U)) ); + _m->dbg_Act_calib_12_Vent_CRR_error = (uint8_t) ( ((_d[1] >> 4U) & (0x01U)) ); + _m->dbg_Act_calib_13_Vent_SRR_error = (uint8_t) ( ((_d[1] >> 5U) & (0x01U)) ); + _m->dbg_Act_calib_14_Foot_RR_error = (uint8_t) ( ((_d[1] >> 6U) & (0x01U)) ); + _m->dbg_Act_calib_15_TempU_FL_error = (uint8_t) ( ((_d[1] >> 7U) & (0x01U)) ); + _m->dbg_Act_calib_16_TempL_FL_error = (uint8_t) ( (_d[2] & (0x01U)) ); + _m->dbg_Act_calib_17_TempU_FR_error = (uint8_t) ( ((_d[2] >> 1U) & (0x01U)) ); + _m->dbg_Act_calib_18_TempL_FR_error = (uint8_t) ( ((_d[2] >> 2U) & (0x01U)) ); + _m->dbg_Act_calib_19_Temp_RL_error = (uint8_t) ( ((_d[2] >> 3U) & (0x01U)) ); + _m->dbg_Act_calib_20_Temp_RR_error = (uint8_t) ( ((_d[2] >> 4U) & (0x01U)) ); + _m->dbg_Act_calib_21_Rec_error = (uint8_t) ( ((_d[2] >> 5U) & (0x01U)) ); + _m->dbg_Act_calib_22_OSA_error = (uint8_t) ( ((_d[2] >> 6U) & (0x01U)) ); + _m->dbg_Act_calib_23_Sealing_error = (uint8_t) ( ((_d[2] >> 7U) & (0x01U)) ); + +#ifdef CANDB_DBG_USE_DIAG_MONITORS + _m->mon1.dlc_error = (dlc_ < dbg_Act_calibration_error_DLC); + _m->mon1.last_cycle = GetSystemTick(); + _m->mon1.frame_cnt++; + + FMon_dbg_Act_calibration_error_candb_dbg(&_m->mon1, dbg_Act_calibration_error_CANID); +#endif // CANDB_DBG_USE_DIAG_MONITORS + + return dbg_Act_calibration_error_CANID; +} + +#ifdef CANDB_DBG_USE_CANSTRUCT + +uint32_t Pack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, __CoderDbcCanFrame_t__* cframe) +{ + uint8_t i; for (i = 0u; i < CANDB_DBG_VALIDATE_DLC(dbg_Act_calibration_error_DLC); cframe->Data[i++] = CANDB_DBG_INITIAL_BYTE_VALUE); + + cframe->Data[0] |= (uint8_t) ( (_m->dbg_Act_calib_00_Def_error & (0x01U)) | ((_m->dbg_Act_calib_01_Vent_SFL_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_02_Vent_CFL_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_03_Foot_1FL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_04_Foot_2FL_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_05_Vent_CFR_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_06_Vent_SFR_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_07_Foot_1FR_error & (0x01U)) << 7U) ); + cframe->Data[1] |= (uint8_t) ( (_m->dbg_Act_calib_08_Foot_2FR_error & (0x01U)) | ((_m->dbg_Act_calib_09_Vent_SRL_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_10_Vent_CRL_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_11_Foot_RL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_12_Vent_CRR_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_13_Vent_SRR_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_14_Foot_RR_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_15_TempU_FL_error & (0x01U)) << 7U) ); + cframe->Data[2] |= (uint8_t) ( (_m->dbg_Act_calib_16_TempL_FL_error & (0x01U)) | ((_m->dbg_Act_calib_17_TempU_FR_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_18_TempL_FR_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_19_Temp_RL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_20_Temp_RR_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_21_Rec_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_22_OSA_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_23_Sealing_error & (0x01U)) << 7U) ); + + cframe->MsgId = (uint32_t) dbg_Act_calibration_error_CANID; + cframe->DLC = (uint8_t) dbg_Act_calibration_error_DLC; + cframe->IDE = (uint8_t) dbg_Act_calibration_error_IDE; + return dbg_Act_calibration_error_CANID; +} + +#else + +uint32_t Pack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, uint8_t* _d, uint8_t* _len, uint8_t* _ide) +{ + uint8_t i; for (i = 0u; i < CANDB_DBG_VALIDATE_DLC(dbg_Act_calibration_error_DLC); _d[i++] = CANDB_DBG_INITIAL_BYTE_VALUE); + + _d[0] |= (uint8_t) ( (_m->dbg_Act_calib_00_Def_error & (0x01U)) | ((_m->dbg_Act_calib_01_Vent_SFL_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_02_Vent_CFL_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_03_Foot_1FL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_04_Foot_2FL_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_05_Vent_CFR_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_06_Vent_SFR_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_07_Foot_1FR_error & (0x01U)) << 7U) ); + _d[1] |= (uint8_t) ( (_m->dbg_Act_calib_08_Foot_2FR_error & (0x01U)) | ((_m->dbg_Act_calib_09_Vent_SRL_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_10_Vent_CRL_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_11_Foot_RL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_12_Vent_CRR_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_13_Vent_SRR_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_14_Foot_RR_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_15_TempU_FL_error & (0x01U)) << 7U) ); + _d[2] |= (uint8_t) ( (_m->dbg_Act_calib_16_TempL_FL_error & (0x01U)) | ((_m->dbg_Act_calib_17_TempU_FR_error & (0x01U)) << 1U) | ((_m->dbg_Act_calib_18_TempL_FR_error & (0x01U)) << 2U) | ((_m->dbg_Act_calib_19_Temp_RL_error & (0x01U)) << 3U) | ((_m->dbg_Act_calib_20_Temp_RR_error & (0x01U)) << 4U) | ((_m->dbg_Act_calib_21_Rec_error & (0x01U)) << 5U) | ((_m->dbg_Act_calib_22_OSA_error & (0x01U)) << 6U) | ((_m->dbg_Act_calib_23_Sealing_error & (0x01U)) << 7U) ); + + *_len = (uint8_t) dbg_Act_calibration_error_DLC; + *_ide = (uint8_t) dbg_Act_calibration_error_IDE; + return dbg_Act_calibration_error_CANID; +} + +#endif // CANDB_DBG_USE_CANSTRUCT + +uint32_t Unpack_dbg_Act_debug_command_candb_dbg(dbg_Act_debug_command_t* _m, const uint8_t* _d, uint8_t dlc_) +{ + (void)dlc_; + _m->dbg_Act_debug_command_signal = (uint8_t) ( (_d[0] & (0xFFU)) ); + +#ifdef CANDB_DBG_USE_DIAG_MONITORS + _m->mon1.dlc_error = (dlc_ < dbg_Act_debug_command_DLC); + _m->mon1.last_cycle = GetSystemTick(); + _m->mon1.frame_cnt++; + + FMon_dbg_Act_debug_command_candb_dbg(&_m->mon1, dbg_Act_debug_command_CANID); +#endif // CANDB_DBG_USE_DIAG_MONITORS + + return dbg_Act_debug_command_CANID; +} + +#ifdef CANDB_DBG_USE_CANSTRUCT + +uint32_t Pack_dbg_Act_debug_command_candb_dbg(dbg_Act_debug_command_t* _m, __CoderDbcCanFrame_t__* cframe) +{ + uint8_t i; for (i = 0u; i < CANDB_DBG_VALIDATE_DLC(dbg_Act_debug_command_DLC); cframe->Data[i++] = CANDB_DBG_INITIAL_BYTE_VALUE); + + cframe->Data[0] |= (uint8_t) ( (_m->dbg_Act_debug_command_signal & (0xFFU)) ); + + cframe->MsgId = (uint32_t) dbg_Act_debug_command_CANID; + cframe->DLC = (uint8_t) dbg_Act_debug_command_DLC; + cframe->IDE = (uint8_t) dbg_Act_debug_command_IDE; + return dbg_Act_debug_command_CANID; +} + +#else + +uint32_t Pack_dbg_Act_debug_command_candb_dbg(dbg_Act_debug_command_t* _m, uint8_t* _d, uint8_t* _len, uint8_t* _ide) +{ + uint8_t i; for (i = 0u; i < CANDB_DBG_VALIDATE_DLC(dbg_Act_debug_command_DLC); _d[i++] = CANDB_DBG_INITIAL_BYTE_VALUE); + + _d[0] |= (uint8_t) ( (_m->dbg_Act_debug_command_signal & (0xFFU)) ); + + *_len = (uint8_t) dbg_Act_debug_command_DLC; + *_ide = (uint8_t) dbg_Act_debug_command_IDE; + return dbg_Act_debug_command_CANID; +} + +#endif // CANDB_DBG_USE_CANSTRUCT + uint32_t Unpack_dbg_PID_tune_candb_dbg(dbg_PID_tune_t* _m, const uint8_t* _d, uint8_t dlc_) { (void)dlc_; diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.h b/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.h index e19ca17..9d5ff13 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.h +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/lib/candb_dbg.h @@ -42,124 +42,6 @@ extern "C" { #endif -// This is a message for not used signals, created by Vector CANdb++ DBC OLE DB Provider. -// def @dbg_Act_calibration_error CAN Message (0 0) -#define dbg_Act_calibration_error_IDE (0U) -#define dbg_Act_calibration_error_DLC (8U) -#define dbg_Act_calibration_error_CANID (0U) - -typedef struct -{ -#ifdef CANDB_DBG_USE_BITS_SIGNAL - - uint8_t dbg_Act_calib_00_Def_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_01_Vent_SFL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_02_Vent_CFL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_03_Foot_1FL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_04_Foot_2FL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_05_Vent_CFR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_06_Vent_SFR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_07_Foot_1FR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_08_Foot_2FR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_09_Vent_SRL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_10_Vent_CRL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_11_Foot_RL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_12_Vent_CRR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_13_Vent_SRR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_14_Foot_RR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_15_TempU_FL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_16_TempL_FL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_17_TempU_FR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_18_TempL_FR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_19_Temp_RL_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_20_Temp_RR_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_21_Rec_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_22_OSA_error : 1; // Bits= 1 - - uint8_t dbg_Act_calib_23_Sealing_error : 1; // Bits= 1 - -#else - - uint8_t dbg_Act_calib_00_Def_error; // Bits= 1 - - uint8_t dbg_Act_calib_01_Vent_SFL_error; // Bits= 1 - - uint8_t dbg_Act_calib_02_Vent_CFL_error; // Bits= 1 - - uint8_t dbg_Act_calib_03_Foot_1FL_error; // Bits= 1 - - uint8_t dbg_Act_calib_04_Foot_2FL_error; // Bits= 1 - - uint8_t dbg_Act_calib_05_Vent_CFR_error; // Bits= 1 - - uint8_t dbg_Act_calib_06_Vent_SFR_error; // Bits= 1 - - uint8_t dbg_Act_calib_07_Foot_1FR_error; // Bits= 1 - - uint8_t dbg_Act_calib_08_Foot_2FR_error; // Bits= 1 - - uint8_t dbg_Act_calib_09_Vent_SRL_error; // Bits= 1 - - uint8_t dbg_Act_calib_10_Vent_CRL_error; // Bits= 1 - - uint8_t dbg_Act_calib_11_Foot_RL_error; // Bits= 1 - - uint8_t dbg_Act_calib_12_Vent_CRR_error; // Bits= 1 - - uint8_t dbg_Act_calib_13_Vent_SRR_error; // Bits= 1 - - uint8_t dbg_Act_calib_14_Foot_RR_error; // Bits= 1 - - uint8_t dbg_Act_calib_15_TempU_FL_error; // Bits= 1 - - uint8_t dbg_Act_calib_16_TempL_FL_error; // Bits= 1 - - uint8_t dbg_Act_calib_17_TempU_FR_error; // Bits= 1 - - uint8_t dbg_Act_calib_18_TempL_FR_error; // Bits= 1 - - uint8_t dbg_Act_calib_19_Temp_RL_error; // Bits= 1 - - uint8_t dbg_Act_calib_20_Temp_RR_error; // Bits= 1 - - uint8_t dbg_Act_calib_21_Rec_error; // Bits= 1 - - uint8_t dbg_Act_calib_22_OSA_error; // Bits= 1 - - uint8_t dbg_Act_calib_23_Sealing_error; // Bits= 1 - -#endif // CANDB_DBG_USE_BITS_SIGNAL - -#ifdef CANDB_DBG_USE_DIAG_MONITORS - - FrameMonitor_t mon1; - -#endif // CANDB_DBG_USE_DIAG_MONITORS - -} dbg_Act_calibration_error_t; - // def @dbg_Logic_State CAN Message (992 0x3e0) #define dbg_Logic_State_IDE (0U) #define dbg_Logic_State_DLC (8U) @@ -2405,6 +2287,7 @@ typedef struct } dbg_DiffBlr_ValveOpen_t; +// This is a message for not used signals, created by Vector CANdb++ DBC OLE DB Provider. // def @dbg_Act0 CAN Message (1008 0x3f0) #define dbg_Act0_IDE (0U) #define dbg_Act0_DLC (8U) @@ -2585,19 +2468,19 @@ typedef struct { #ifdef CANDB_DBG_USE_BITS_SIGNAL - int16_t dbg_Sen_Amb_ro; // [-] Bits=16 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Amb_ro; // [-] Bits=16 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Amb_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_Amb_Raw_ro; // [-] Bits=16 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Amb_Raw_ro; // [-] Bits=16 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Amb_Raw_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Amb_Tg_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Amb_Tg_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Amb_Tg_phys; @@ -2605,19 +2488,19 @@ typedef struct #else - int16_t dbg_Sen_Amb_ro; // [-] Bits=16 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Amb_ro; // [-] Bits=16 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Amb_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_Amb_Raw_ro; // [-] Bits=16 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Amb_Raw_ro; // [-] Bits=16 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Amb_Raw_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Amb_Tg_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Amb_Tg_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Amb_Tg_phys; @@ -2643,7 +2526,7 @@ typedef struct #ifdef CANDB_DBG_USE_BITS_SIGNAL // MULTIPLEX master signal - int8_t dbg_Act_calib_MultMsg_Idx; // [-] Bits= 8 + uint8_t dbg_Act_calib_MultMsg_Idx; // Bits= 8 // multiplex variable uint16_t dbg_Act_calib_21_Rec; // Bits=16 @@ -2720,7 +2603,7 @@ typedef struct #else // MULTIPLEX master signal - uint8_t dbg_Act_calib_MultMsg_Idx; // [-] Bits= 8 + uint8_t dbg_Act_calib_MultMsg_Idx; // Bits= 8 // multiplex variable uint16_t dbg_Act_calib_21_Rec; // Bits=16 @@ -2804,6 +2687,151 @@ typedef struct } dbg_Act_calibration_t; +// def @dbg_Act_calibration_error CAN Message (1013 0x3f5) +#define dbg_Act_calibration_error_IDE (0U) +#define dbg_Act_calibration_error_DLC (8U) +#define dbg_Act_calibration_error_CANID (0x3f5U) + +typedef struct +{ +#ifdef CANDB_DBG_USE_BITS_SIGNAL + + uint8_t dbg_Act_calib_00_Def_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_01_Vent_SFL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_02_Vent_CFL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_03_Foot_1FL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_04_Foot_2FL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_05_Vent_CFR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_06_Vent_SFR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_07_Foot_1FR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_08_Foot_2FR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_09_Vent_SRL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_10_Vent_CRL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_11_Foot_RL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_12_Vent_CRR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_13_Vent_SRR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_14_Foot_RR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_15_TempU_FL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_16_TempL_FL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_17_TempU_FR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_18_TempL_FR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_19_Temp_RL_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_20_Temp_RR_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_21_Rec_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_22_OSA_error : 1; // Bits= 1 + + uint8_t dbg_Act_calib_23_Sealing_error : 1; // Bits= 1 + +#else + + uint8_t dbg_Act_calib_00_Def_error; // Bits= 1 + + uint8_t dbg_Act_calib_01_Vent_SFL_error; // Bits= 1 + + uint8_t dbg_Act_calib_02_Vent_CFL_error; // Bits= 1 + + uint8_t dbg_Act_calib_03_Foot_1FL_error; // Bits= 1 + + uint8_t dbg_Act_calib_04_Foot_2FL_error; // Bits= 1 + + uint8_t dbg_Act_calib_05_Vent_CFR_error; // Bits= 1 + + uint8_t dbg_Act_calib_06_Vent_SFR_error; // Bits= 1 + + uint8_t dbg_Act_calib_07_Foot_1FR_error; // Bits= 1 + + uint8_t dbg_Act_calib_08_Foot_2FR_error; // Bits= 1 + + uint8_t dbg_Act_calib_09_Vent_SRL_error; // Bits= 1 + + uint8_t dbg_Act_calib_10_Vent_CRL_error; // Bits= 1 + + uint8_t dbg_Act_calib_11_Foot_RL_error; // Bits= 1 + + uint8_t dbg_Act_calib_12_Vent_CRR_error; // Bits= 1 + + uint8_t dbg_Act_calib_13_Vent_SRR_error; // Bits= 1 + + uint8_t dbg_Act_calib_14_Foot_RR_error; // Bits= 1 + + uint8_t dbg_Act_calib_15_TempU_FL_error; // Bits= 1 + + uint8_t dbg_Act_calib_16_TempL_FL_error; // Bits= 1 + + uint8_t dbg_Act_calib_17_TempU_FR_error; // Bits= 1 + + uint8_t dbg_Act_calib_18_TempL_FR_error; // Bits= 1 + + uint8_t dbg_Act_calib_19_Temp_RL_error; // Bits= 1 + + uint8_t dbg_Act_calib_20_Temp_RR_error; // Bits= 1 + + uint8_t dbg_Act_calib_21_Rec_error; // Bits= 1 + + uint8_t dbg_Act_calib_22_OSA_error; // Bits= 1 + + uint8_t dbg_Act_calib_23_Sealing_error; // Bits= 1 + +#endif // CANDB_DBG_USE_BITS_SIGNAL + +#ifdef CANDB_DBG_USE_DIAG_MONITORS + + FrameMonitor_t mon1; + +#endif // CANDB_DBG_USE_DIAG_MONITORS + +} dbg_Act_calibration_error_t; + +// Âêëþ÷åíèå îòëàäî÷íîãî ðåæèìà ðàáîòû àêòóàòîðîâ. +// 1 - âêëþ÷èòü îòëàäêó. +// 0 - îòêëþ÷èòü. +// def @dbg_Act_debug_command CAN Message (1014 0x3f6) +#define dbg_Act_debug_command_IDE (0U) +#define dbg_Act_debug_command_DLC (8U) +#define dbg_Act_debug_command_CANID (0x3f6U) + +typedef struct +{ +#ifdef CANDB_DBG_USE_BITS_SIGNAL + + uint8_t dbg_Act_debug_command_signal; // Bits= 8 + +#else + + uint8_t dbg_Act_debug_command_signal; // Bits= 8 + +#endif // CANDB_DBG_USE_BITS_SIGNAL + +#ifdef CANDB_DBG_USE_DIAG_MONITORS + + FrameMonitor_t mon1; + +#endif // CANDB_DBG_USE_DIAG_MONITORS + +} dbg_Act_debug_command_t; + // Test message with PID parameters info of Front Upper Temperature valves // def @dbg_PID_tune CAN Message (1015 0x3f7) #define dbg_PID_tune_IDE (0U) @@ -3367,25 +3395,25 @@ typedef struct // 0 : "Off" uint8_t dbg_IO_IncarMotor_R : 1; // Bits= 1 - uint8_t dbg_SetTemp_FL_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'��' + uint8_t dbg_SetTemp_FL_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_SetTemp_FL_phys; #endif // CANDB_DBG_USE_SIGFLOAT - uint8_t dbg_SetTemp_FR_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'��' + uint8_t dbg_SetTemp_FR_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_SetTemp_FR_phys; #endif // CANDB_DBG_USE_SIGFLOAT - uint8_t dbg_SetTemp_RL_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'��' + uint8_t dbg_SetTemp_RL_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_SetTemp_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT - uint8_t dbg_SetTemp_RR_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'��' + uint8_t dbg_SetTemp_RR_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_SetTemp_RR_phys; @@ -3429,25 +3457,25 @@ typedef struct // 0 : "Off" uint8_t dbg_IO_IncarMotor_R; // Bits= 1 - uint8_t dbg_SetTemp_FL_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'��' + uint8_t dbg_SetTemp_FL_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_SetTemp_FL_phys; #endif // CANDB_DBG_USE_SIGFLOAT - uint8_t dbg_SetTemp_FR_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'��' + uint8_t dbg_SetTemp_FR_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_SetTemp_FR_phys; #endif // CANDB_DBG_USE_SIGFLOAT - uint8_t dbg_SetTemp_RL_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'��' + uint8_t dbg_SetTemp_RL_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_SetTemp_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT - uint8_t dbg_SetTemp_RR_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'��' + uint8_t dbg_SetTemp_RR_ro; // Bits= 8 Offset= 16.0 Factor= 0.5 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_SetTemp_RR_phys; @@ -3966,56 +3994,56 @@ typedef struct uint8_t dbg_Sen_Incar_MultMsg_Idx : 2; // Bits= 2 // multiplex variable - int16_t dbg_Sen_Incar_Raw_FL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_Raw_FL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_Raw_FL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_FL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_FL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_FL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_Raw_FR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_Raw_FR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_Raw_FR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_FR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_FR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_FR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_Raw_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_Raw_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_Raw_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_Raw_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_Raw_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_Raw_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_RR_phys; @@ -4027,56 +4055,56 @@ typedef struct uint8_t dbg_Sen_Incar_MultMsg_Idx; // Bits= 2 // multiplex variable - int16_t dbg_Sen_Incar_Raw_FL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_Raw_FL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_Raw_FL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_FL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_FL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_FL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_Raw_FR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_Raw_FR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_Raw_FR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_FR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_FR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_FR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_Raw_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_Raw_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_Raw_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_Raw_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_Raw_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_Raw_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Incar_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Incar_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Incar_RR_phys; @@ -4564,25 +4592,25 @@ typedef struct { #ifdef CANDB_DBG_USE_BITS_SIGNAL - int16_t dbg_Sen_Eva_Target_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Eva_Target_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Eva_Target_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_Eva_Diff_FrontRear_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Eva_Diff_FrontRear_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Eva_Diff_FrontRear_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_Eva_F_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Eva_F_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Eva_F_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_Eva_R_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Eva_R_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Eva_R_phys; @@ -4590,25 +4618,25 @@ typedef struct #else - int16_t dbg_Sen_Eva_Target_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Eva_Target_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Eva_Target_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_Eva_Diff_FrontRear_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Eva_Diff_FrontRear_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Eva_Diff_FrontRear_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_Eva_F_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Eva_F_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Eva_F_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_Eva_R_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Eva_R_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Eva_R_phys; @@ -4789,112 +4817,112 @@ typedef struct uint8_t dbg_Sen_Duct_FR_Fb_Select : 1; // Bits= 1 Unit:'(central 0, side 1)' // multiplex variable - int16_t dbg_Sen_Duct_RL_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RL_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RL_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Upper_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Upper_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Upper_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RR_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RR_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RR_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Upper_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Upper_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Upper_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RR_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RR_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RR_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RL_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RL_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RL_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Upper_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Upper_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Upper_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Upper_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Upper_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Upper_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Side_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Side_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RL_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RL_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RL_Side_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RR_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RR_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RR_Side_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Lower_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Lower_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Lower_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Lower_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Lower_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Lower_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Lower_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Lower_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Lower_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Lower_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Lower_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Lower_Fb_phys; @@ -4930,112 +4958,112 @@ typedef struct uint8_t dbg_Sen_Duct_FR_Fb_Select; // Bits= 1 Unit:'(central 0, side 1)' // multiplex variable - int16_t dbg_Sen_Duct_RL_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RL_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RL_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Upper_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Upper_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Upper_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RR_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RR_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RR_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Upper_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Upper_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Upper_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RR_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RR_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RR_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RL_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RL_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RL_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Upper_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Upper_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Upper_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Upper_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Upper_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Upper_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Side_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Side_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RL_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RL_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RL_Side_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_RR_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_RR_Side_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_RR_Side_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Lower_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Lower_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Lower_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Lower_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Lower_Tgt_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Lower_Tgt_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FR_Lower_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FR_Lower_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FR_Lower_Fb_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Sen_Duct_FL_Lower_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_Duct_FL_Lower_Fb_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_Duct_FL_Lower_Fb_phys; @@ -5072,7 +5100,7 @@ typedef struct { #ifdef CANDB_DBG_USE_BITS_SIGNAL - int16_t dbg_Sen_DewPoint_Diff_ro; // [-] Bits=16 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_DewPoint_Diff_ro; // [-] Bits=16 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_DewPoint_Diff_phys; @@ -5084,7 +5112,7 @@ typedef struct sigfloat_t dbg_Sen_WindShield_Humidity_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_WindShield_Temp_ro; // [-] Bits=16 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_WindShield_Temp_ro; // [-] Bits=16 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_WindShield_Temp_phys; @@ -5092,7 +5120,7 @@ typedef struct #else - int16_t dbg_Sen_DewPoint_Diff_ro; // [-] Bits=16 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_DewPoint_Diff_ro; // [-] Bits=16 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_DewPoint_Diff_phys; @@ -5104,7 +5132,7 @@ typedef struct sigfloat_t dbg_Sen_WindShield_Humidity_phys; #endif // CANDB_DBG_USE_SIGFLOAT - int16_t dbg_Sen_WindShield_Temp_ro; // [-] Bits=16 Factor= 0.1 Unit:'��' + int16_t dbg_Sen_WindShield_Temp_ro; // [-] Bits=16 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Sen_WindShield_Temp_phys; @@ -6580,252 +6608,252 @@ typedef struct uint8_t dbg_Auto_Duct_MultMsg_Idx : 4; // Bits= 4 // multiplex variable - int16_t dbg_Auto_Duct_Tgt_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_FL_Upper_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_FL_Upper_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_FR_Upper_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_FR_Upper_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_FL_Lower_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_FL_Lower_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_FR_Lower_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_FR_Lower_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_RL_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_RL_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_RR_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_RR_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_RR_phys; @@ -6844,252 +6872,252 @@ typedef struct uint8_t dbg_Auto_Duct_MultMsg_Idx; // Bits= 4 // multiplex variable - int16_t dbg_Auto_Duct_Tgt_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_FL_Upper_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_FL_Upper_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tgt_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tgt_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tgt_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_FR_Upper_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_FR_Upper_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_FL_Lower_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_FL_Lower_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Incar_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Incar_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Incar_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_FR_Lower_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_FR_Lower_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Amb_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Amb_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Amb_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_RL_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_RL_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_FL_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_FL_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_FR_Lower_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_FR_Lower_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_FR_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_FR_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_RL_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_RL_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_FL_Upper_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_FL_Upper_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Sun_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Sun_RR_ro; // [-] Bits=12 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Sun_RR_phys; #endif // CANDB_DBG_USE_SIGFLOAT // multiplex variable - int16_t dbg_Auto_Duct_Tg_Incar_RR_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'��' + int16_t dbg_Auto_Duct_Tg_Incar_RR_ro; // [-] Bits=10 Offset= 20.0 Factor= 0.1 Unit:'¡É' #ifdef CANDB_DBG_USE_SIGFLOAT sigfloat_t dbg_Auto_Duct_Tg_Incar_RR_phys; @@ -7274,13 +7302,6 @@ typedef struct // Function signatures -uint32_t Unpack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, const uint8_t* _d, uint8_t dlc_); -#ifdef CANDB_DBG_USE_CANSTRUCT -uint32_t Pack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, __CoderDbcCanFrame_t__* cframe); -#else -uint32_t Pack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, uint8_t* _d, uint8_t* _len, uint8_t* _ide); -#endif // CANDB_DBG_USE_CANSTRUCT - uint32_t Unpack_dbg_Logic_State_candb_dbg(dbg_Logic_State_t* _m, const uint8_t* _d, uint8_t dlc_); #ifdef CANDB_DBG_USE_CANSTRUCT uint32_t Pack_dbg_Logic_State_candb_dbg(dbg_Logic_State_t* _m, __CoderDbcCanFrame_t__* cframe); @@ -7365,6 +7386,20 @@ uint32_t Pack_dbg_Act_calibration_candb_dbg(dbg_Act_calibration_t* _m, __CoderDb uint32_t Pack_dbg_Act_calibration_candb_dbg(dbg_Act_calibration_t* _m, uint8_t* _d, uint8_t* _len, uint8_t* _ide); #endif // CANDB_DBG_USE_CANSTRUCT +uint32_t Unpack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, const uint8_t* _d, uint8_t dlc_); +#ifdef CANDB_DBG_USE_CANSTRUCT +uint32_t Pack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, __CoderDbcCanFrame_t__* cframe); +#else +uint32_t Pack_dbg_Act_calibration_error_candb_dbg(dbg_Act_calibration_error_t* _m, uint8_t* _d, uint8_t* _len, uint8_t* _ide); +#endif // CANDB_DBG_USE_CANSTRUCT + +uint32_t Unpack_dbg_Act_debug_command_candb_dbg(dbg_Act_debug_command_t* _m, const uint8_t* _d, uint8_t dlc_); +#ifdef CANDB_DBG_USE_CANSTRUCT +uint32_t Pack_dbg_Act_debug_command_candb_dbg(dbg_Act_debug_command_t* _m, __CoderDbcCanFrame_t__* cframe); +#else +uint32_t Pack_dbg_Act_debug_command_candb_dbg(dbg_Act_debug_command_t* _m, uint8_t* _d, uint8_t* _len, uint8_t* _ide); +#endif // CANDB_DBG_USE_CANSTRUCT + uint32_t Unpack_dbg_PID_tune_candb_dbg(dbg_PID_tune_t* _m, const uint8_t* _d, uint8_t dlc_); #ifdef CANDB_DBG_USE_CANSTRUCT uint32_t Pack_dbg_PID_tune_candb_dbg(dbg_PID_tune_t* _m, __CoderDbcCanFrame_t__* cframe); diff --git a/MODULES/HVAC_M7_CAN_DBG_MATRIX/usr/candb_dbg-fmon.c b/MODULES/HVAC_M7_CAN_DBG_MATRIX/usr/candb_dbg-fmon.c index 65a7605..a5dd7fe 100644 --- a/MODULES/HVAC_M7_CAN_DBG_MATRIX/usr/candb_dbg-fmon.c +++ b/MODULES/HVAC_M7_CAN_DBG_MATRIX/usr/candb_dbg-fmon.c @@ -19,12 +19,6 @@ void _FMon_MONO_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid) #else -void _FMon_dbg_Act_calibration_error_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid) -{ - (void)_mon; - (void)msgid; -} - void _FMon_dbg_Logic_State_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid) { (void)_mon; @@ -97,6 +91,18 @@ void _FMon_dbg_Act_calibration_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid) (void)msgid; } +void _FMon_dbg_Act_calibration_error_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid) +{ + (void)_mon; + (void)msgid; +} + +void _FMon_dbg_Act_debug_command_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid) +{ + (void)_mon; + (void)msgid; +} + void _FMon_dbg_PID_tune_candb_dbg(FrameMonitor_t* _mon, uint32_t msgid) { (void)_mon; diff --git a/MODULES/HVAC_M7_CAN_DEBUG_SPAM/CanSpamDebugReceiver.c b/MODULES/HVAC_M7_CAN_DEBUG_SPAM/CanSpamDebugReceiver.c index f6b0317..f6c89c4 100644 --- a/MODULES/HVAC_M7_CAN_DEBUG_SPAM/CanSpamDebugReceiver.c +++ b/MODULES/HVAC_M7_CAN_DEBUG_SPAM/CanSpamDebugReceiver.c @@ -24,10 +24,34 @@ void CanSpamDebugReceiver_Init(tCanSpamDebugReceiver *env, InitThreadAtr(&env->thread.attr,"CanSpamDebugRec",&env->thread.controlBlock,sizeof(env->thread.controlBlock),env->thread.stack,tCanSpamDebugReceiver_stack_size,osPriorityNormal); env->thread.id = 0; + env->dbg_Act_debug_command = osMessageQueueNew(1, sizeof(dbg_Act_debug_command_t), NULL); + // InitThreadAtrStatic(&env->thread.attr, "CanSpamDebugRec", env->thread.controlBlock, env->thread.stack, // osPriorityNormal); } + +static void set_CanSpamDebugReceiver(tCanSpamDebugReceiver *env, uint32_t recid) { + osStatus_t status = osOK; + + uint32_t countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->dbg_Act_debug_command); + if ((countQueue_ccu_candb_rx) && (recid == dbg_Act_debug_command_CANID)) { + status = osMessageQueuePut(env->dbg_Act_debug_command, &ccu_candb_dbg_rx.dbg_Act_debug_command, 0, 0U); + return; + } +} + +void get_CanSpamDebugReceiver(tCanSpamDebugReceiver *env) { + osStatus_t status = osOK; + + uint32_t countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->dbg_Act_debug_command); + if (countQueue_ccu_candb_rx == 0) { + dbg_Act_debug_command_t dbg_Act_debug_command; + status = osMessageQueueGet(env->dbg_Act_debug_command, &dbg_Act_debug_command, 0, 0U); + rtDW.act_debug_command = dbg_Act_debug_command.dbg_Act_debug_command_signal; + } +} + static void ListenCanSpamDebugReceiver(tCanSpamDebugReceiver *env) { uint16_t recv = env->ioCanFrame->receive(env->ioCanFrame->env, PROTOCOL_CAN_RAW, (uint8_t *) &env->canFrame, 1, @@ -38,13 +62,27 @@ static void ListenCanSpamDebugReceiver(tCanSpamDebugReceiver *env) { if (osMutexAcquire(env->access, 5000) == osOK) { + env->canTimeReceived = SystemGetMs(); + uint32_t id = env->canFrame.standard_id; if (env->canFrame.id_type == FLEXCAN_ID_EXT) { id = env->canFrame.extended_id; } - uint32_t result = ccu_candb_dbg_Receive(&ccu_candb_dbg_rx, env->canFrame.data, id, env->canFrame.dlc); + env->logger->loggingCan(env->logger->env, 2, 0, env->canFrame.dlc, env->canFrame.standard_id, + env->canFrame.data, SystemGetMs()); + + uint32_t recid; + + if (recv > 0) { + recid = ccu_candb_dbg_Receive(&ccu_candb_dbg_rx, env->canFrame.data, id, env->canFrame.dlc); + } else { + recid = 0; + } + + + set_CanSpamDebugReceiver(env, recid); osMutexRelease(env->access); } else { diff --git a/MODULES/HVAC_M7_CAN_DEBUG_SPAM/CanSpamDebugReceiver.h b/MODULES/HVAC_M7_CAN_DEBUG_SPAM/CanSpamDebugReceiver.h index 197e6da..95cc001 100644 --- a/MODULES/HVAC_M7_CAN_DEBUG_SPAM/CanSpamDebugReceiver.h +++ b/MODULES/HVAC_M7_CAN_DEBUG_SPAM/CanSpamDebugReceiver.h @@ -17,6 +17,9 @@ typedef struct { osMutexId_t access; can_rx_message_type canFrame; + uint32_t canTimeReceived; + osMessageQueueId_t dbg_Act_debug_command; + tLoggerInterface *logger; struct { @@ -33,6 +36,8 @@ void CanSpamDebugReceiver_Init(tCanSpamDebugReceiver *env, tSerialPortFrameIO *i void CanSpamDebugReceiver_StartThread(tCanSpamDebugReceiver *env); +void get_CanSpamDebugReceiver(tCanSpamDebugReceiver *env); + uint8_t get_CanSpamDebugReceiverMultiIndex(tCanSpamDebugReceiver *env); #endif //HVAC_CAN_SPAM_DEBUG_RECEIVER_H diff --git a/MODULES/HVAC_M7_DebugTesting/MainModesArbiter_InitStage.c b/MODULES/HVAC_M7_DebugTesting/MainModesArbiter_InitStage.c index fbd4617..5ac0752 100644 --- a/MODULES/HVAC_M7_DebugTesting/MainModesArbiter_InitStage.c +++ b/MODULES/HVAC_M7_DebugTesting/MainModesArbiter_InitStage.c @@ -322,6 +322,7 @@ static void Mma_InitSubSystems(tMma *env) { &env->canSpamReceiver, &env->canSpamTransmitter, + &env->canSpamDebugReceiver, &env->canSpamDebugTransmitter, &env->Diagnostic, diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model.c b/MODULES/HVAC_M7_MODEL/HVAC_model.c index 45f0892..5d5c490 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model.c +++ b/MODULES/HVAC_M7_MODEL/HVAC_model.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1745 + * Model version : 1.1867 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 14 15:54:54 2026 + * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -24,9 +24,7 @@ #include #include "Rs_Cal_Base.h" -/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL2' */ -#define IN_AC_Off ((uint8_t)1U) -#define IN_AC_On ((uint8_t)2U) +/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL' */ #define IN_AUTO_MODE ((uint8_t)1U) #define IN_Def_Off ((uint8_t)1U) #define IN_Def_On ((uint8_t)2U) @@ -37,6 +35,17 @@ #define IN_MANUAL_MODE ((uint8_t)2U) #define IN_NO_ACTIVE_CHILD ((uint8_t)0U) +/* Named constants for Chart: '/Zone_Climate_Logic_Auto_RL' */ +#define IN_AUTO_MODE_i ((uint8_t)1U) +#define IN_Def_Off_c ((uint8_t)1U) +#define IN_Def_On_b ((uint8_t)2U) +#define IN_Face_Off_l ((uint8_t)1U) +#define IN_Face_On_o ((uint8_t)2U) +#define IN_Foot_Off_f ((uint8_t)1U) +#define IN_Foot_On_m ((uint8_t)2U) +#define IN_MANUAL_MODE_h ((uint8_t)2U) +#define IN_NO_ACTIVE_CHILD_d ((uint8_t)0U) + /* Named constants for Chart: '/13,1,3,15 Valve control' */ #define IN_Entry_2W ((uint8_t)1U) #define IN_Entry_3W ((uint8_t)1U) @@ -73,37 +82,21 @@ #define IN_Rear_A_C_OFF ((uint8_t)1U) #define IN_Rear_A_C_ON ((uint8_t)2U) -/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL1' */ -#define IN_AC_Off_m ((uint8_t)1U) -#define IN_AC_On_d ((uint8_t)2U) -#define IN_AUTO_MODE_p ((uint8_t)1U) -#define IN_Def_Off_p ((uint8_t)1U) -#define IN_Def_On_c ((uint8_t)2U) -#define IN_Face_Off_i ((uint8_t)1U) -#define IN_Face_On_k ((uint8_t)2U) -#define IN_Foot_Off_n ((uint8_t)1U) -#define IN_Foot_On_m ((uint8_t)2U) -#define IN_MANUAL_MODE_k ((uint8_t)2U) - -/* Named constants for Chart: '/AC_Max_Active' */ +/* Named constants for Chart: '/AC_Max_Active' */ #define IN_AC_MAX_OFF ((uint8_t)1U) #define IN_AC_MAX_ON ((uint8_t)2U) -/* Named constants for Chart: '/Defrost_Active' */ +/* Named constants for Chart: '/Defrost_Active' */ #define IN_REC_OFF ((uint8_t)1U) #define IN_REC_ON ((uint8_t)2U) -/* Named constants for Chart: '/MAX AC define condition' */ -#define IN_MAX_AC_OFF ((uint8_t)1U) -#define IN_MAX_AC_ON ((uint8_t)2U) - -/* Named constants for Chart: '/Operation mode' */ +/* Named constants for Chart: '/Operation mode' */ #define IN_FULL ((uint8_t)1U) #define IN_OFF ((uint8_t)2U) #define IN_REDUCED ((uint8_t)3U) #define IN_REMOTE_START ((uint8_t)4U) -/* Named constants for Chart: '/Synchronization stateflow chart' */ +/* Named constants for Chart: '/Synchronization stateflow chart' */ #define IN_FRONT_ONLY ((uint8_t)1U) #define IN_FULL_SYNC ((uint8_t)2U) #define IN_NO_SYNC ((uint8_t)3U) @@ -204,6 +197,32 @@ const CmdBusError HVAC_model_rtZCmdBusError = { 0U /* CCU_AromaErr_Stat */ }; /* CmdBusError ground */ +const CmdCAN_FIU_CCU1_Bus HVAC_model_rtZCmdCAN_FIU_CCU1_Bus = { + 0U, /* FIU_TargetTempFL_Val_ro */ + 0U, /* FIU_FootTempCorFL_Req */ + 0U, /* FIU_TargetTempFR_Val_ro */ + 0U, /* FIU_FootTempCorFR_Req */ + 0U, /* FIU_CCmodeFL_Req */ + 0U, /* FIU_AirDirectionFL_Def_Req */ + 0U, /* FIU_AirDirectionFL_Face_Req */ + 0U, /* FIU_AirDirectionFL_Foot_Req */ + 0U, /* FIU_CCmodeFR_Req */ + 0U, /* FIU_AirDirectionFR_Def_Req */ + 0U, /* FIU_AirDirectionFR_Face_Req */ + 0U, /* FIU_AirDirectionFR_Foot_Req */ + 0U, /* FIU_BlowerSpeedFL_Req */ + 0U, /* FIU_BlowerSpeedFR_Req */ + 0U, /* FIU_CCautoModeFL_Req */ + 0U, /* FIU_CCautoModeFR_Req */ + 0U, /* FIU_Recirculation_Req */ + 0U, /* FIU_DeflectorSwDL_Req */ + 0U, /* FIU_DeflectorSwDR_Req */ + 0U, /* FIU_ACfrontOFF_Req */ + 0U, /* FIU_DeflectorSwFPL_Req */ + 0U, /* FIU_DeflectorSwFPR_Req */ + 0U /* FIU_FrontZoneSync_Req */ +}; /* CmdCAN_FIU_CCU1_Bus ground */ + const ActuatorCmdBusInput HVAC_model_rtZActuatorCmdBusInput = { { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U } @@ -268,17 +287,27 @@ ExtY rtY; static RT_MODEL rtM_; RT_MODEL *const rtM = &rtM_; +/* Forward declaration for local functions */ +static void enter_internal_MANUAL_MODE(uint8_t rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t *rty_out_def, uint8_t *rty_out_face, uint8_t + *rty_out_foot, DW_Zone_Climate_Logic_Auto_FL *localDW); + +/* Forward declaration for local functions */ +static void enter_internal_MANUAL_MODE_l(uint8_t rtu_btn_def, uint8_t + rtu_btn_face, uint8_t rtu_btn_foot, uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, DW_Zone_Climate_Logic_Auto_RL *localDW); + /* Forward declaration for local functions */ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *Eva_F_tg, const int16_t *Eva_R_tg); +static double find_index(int16_t delta); +static bool isequal(const CmdCAN_FIU_CCU1_Bus varargin_1, const + CmdCAN_FIU_CCU1_Bus varargin_2); static void enter_atomic_REAR_ONLY(void); static void enter_atomic_FRONT_ONLY(void); static void enter_atomic_FULL_SYNC(void); static void enter_atomic_SEPARATE_FRONT_AND_REAR(void); static void enter_atomic_NO_SYNC(void); -static double find_index(int16_t delta); -static bool isequal(const CmdCAN_FIU_CCU1_Bus varargin_1, const - CmdCAN_FIU_CCU1_Bus varargin_2); int8_t look1_iu8lu64n56ts8Ds16_binlcs(uint8_t u0, const uint8_t bp0[], const int8_t table[], uint32_t maxIndex) { @@ -409,6 +438,95 @@ int16_t look1_iu8lu64n48ts16Ds32_binlcs(uint8_t u0, const uint8_t bp0[], const 48) + yL_0d0); } +int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t bp0[], + const uint16_t table[], uint32_t maxIndex) +{ + uint64_t frac; + uint32_t iLeft; + uint16_t yL_0d0; + + /* Column-major Lookup 1-D + Search method: 'binary' + Use previous index: 'off' + Interpolation method: 'Linear point-slope' + Extrapolation method: 'Clip' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'simplest' + */ + /* Prelookup - Index and Fraction + Index Search method: 'binary' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'simplest' + */ + if (u0 <= bp0[0U]) { + iLeft = 0U; + frac = 0ULL; + } else if (u0 < bp0[maxIndex]) { + uint32_t bpIdx; + uint32_t iRght; + + /* Binary Search */ + bpIdx = maxIndex >> 1U; + iLeft = 0U; + iRght = maxIndex; + while (iRght - iLeft > 1U) { + if (u0 < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + int16_t bpLeftVar; + bpLeftVar = bp0[iLeft]; + frac = ((uint64_t)(uint32_t)(u0 - bpLeftVar) << 32) / (uint32_t)(bp0[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex - 1U; + frac = 4294967296ULL; + } + + /* Column-major Interpolation 1-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Rounding mode: 'simplest' + Overflow mode: 'wrapping' + */ + yL_0d0 = table[iLeft]; + return (int16_t)((int16_t)(((table[iLeft + 1U] - yL_0d0) * (int64_t)frac) >> + 32) + (int16_t)yL_0d0); +} + +uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t startIndex, + uint32_t maxIndex) +{ + uint32_t bpIdx; + uint32_t bpIndex; + uint32_t iRght; + + /* Binary Search */ + bpIdx = startIndex; + bpIndex = 0U; + iRght = maxIndex; + while (iRght - bpIndex > 1U) { + if (u_8 < bp[bpIdx]) { + iRght = bpIdx; + } else { + bpIndex = bpIdx; + } + + bpIdx = (iRght + bpIndex) >> 1U; + } + + return bpIndex; +} + int16_t look1_is16lu64n32Ds32_binlcs(int16_t u0, const int16_t bp0[], const int16_t table[], uint32_t maxIndex) { @@ -1438,76 +1556,6 @@ uint16_t look1_iu8bu16lu64n32tu16_binlcse(uint8_t u0, const uint16_t bp0[], return y; } -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; -} - double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex) { @@ -1643,7 +1691,7 @@ uint8_t look1_iu8lu64n56_binlcse(uint8_t u0, const uint8_t bp0[], const uint8_t return y; } -uint32_t plook_u32s16_bincka(int16_t u_5, const int16_t bp[], uint32_t maxIndex) +uint32_t plook_u32s16_bincka(int16_t u_9, const int16_t bp[], uint32_t maxIndex) { uint32_t bpIndex; @@ -1654,10 +1702,10 @@ uint32_t plook_u32s16_bincka(int16_t u_5, 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_5 <= bp[0U]) { + if (u_9 <= bp[0U]) { bpIndex = 0U; - } else if (u_5 < bp[maxIndex]) { - bpIndex = binsearch_u32s16(u_5, bp, maxIndex >> 1U, maxIndex); + } else if (u_9 < bp[maxIndex]) { + bpIndex = binsearch_u32s16(u_9, bp, maxIndex >> 1U, maxIndex); } else { bpIndex = maxIndex; } @@ -1665,7 +1713,7 @@ uint32_t plook_u32s16_bincka(int16_t u_5, const int16_t bp[], uint32_t maxIndex) return bpIndex; } -uint32_t plook_u32d_bincka(double u_6, const double bp[], uint32_t maxIndex) +uint32_t plook_u32d_bincka(double u_a, const double bp[], uint32_t maxIndex) { uint32_t bpIndex; @@ -1676,10 +1724,10 @@ uint32_t plook_u32d_bincka(double u_6, const double 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_6 <= bp[0U]) { + if (u_a <= bp[0U]) { bpIndex = 0U; - } else if (u_6 < bp[maxIndex]) { - bpIndex = binsearch_u32d(u_6, bp, maxIndex >> 1U, maxIndex); + } else if (u_a < bp[maxIndex]) { + bpIndex = binsearch_u32d(u_a, bp, maxIndex >> 1U, maxIndex); } else { bpIndex = maxIndex; } @@ -1687,7 +1735,7 @@ uint32_t plook_u32d_bincka(double u_6, const double bp[], uint32_t maxIndex) return bpIndex; } -uint32_t plook_u32d_binckan(double u_7, const double bp[], uint32_t maxIndex) +uint32_t plook_u32d_binckan(double u_d, const double bp[], uint32_t maxIndex) { uint32_t bpIndex; @@ -1699,11 +1747,11 @@ uint32_t plook_u32d_binckan(double u_7, const double 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_7 <= bp[0U]) { + if (u_d <= bp[0U]) { bpIndex = 0U; - } else if (u_7 < bp[maxIndex]) { - bpIndex = binsearch_u32d(u_7, bp, maxIndex >> 1U, maxIndex); - if ((bpIndex < maxIndex) && (bp[bpIndex + 1U] - u_7 <= u_7 - bp[bpIndex])) { + } else if (u_d < bp[maxIndex]) { + bpIndex = binsearch_u32d(u_d, bp, maxIndex >> 1U, maxIndex); + if ((bpIndex < maxIndex) && (bp[bpIndex + 1U] - u_d <= u_d - bp[bpIndex])) { bpIndex++; } } else { @@ -1713,7 +1761,35 @@ uint32_t plook_u32d_binckan(double u_7, const double bp[], uint32_t maxIndex) return bpIndex; } -uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t startIndex, +uint32_t plook_u32u16_binckan(uint16_t u_e, const uint16_t bp[], uint32_t + maxIndex) +{ + uint32_t bpIndex; + + /* Prelookup - Index only + Index Search method: 'binary' + Interpolation method: 'Use nearest' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'on' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u_e <= bp[0U]) { + bpIndex = 0U; + } else if (u_e < bp[maxIndex]) { + bpIndex = binsearch_u32u16(u_e, bp, maxIndex >> 1U, maxIndex); + if ((bpIndex < maxIndex) && ((uint16_t)((uint32_t)bp[bpIndex + 1U] - u_e) <= + (uint16_t)((uint32_t)u_e - bp[bpIndex]))) { + bpIndex++; + } + } else { + bpIndex = maxIndex; + } + + return bpIndex; +} + +uint32_t binsearch_u32d(double u_i, const double bp[], uint32_t startIndex, uint32_t maxIndex) { uint32_t bpIdx; @@ -1725,7 +1801,7 @@ uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t startIndex, bpIndex = 0U; iRght = maxIndex; while (iRght - bpIndex > 1U) { - if (u_8 < bp[bpIdx]) { + if (u_i < bp[bpIdx]) { iRght = bpIdx; } else { bpIndex = bpIdx; @@ -1737,7 +1813,7 @@ uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t startIndex, return bpIndex; } -uint32_t binsearch_u32d(double u_9, const double bp[], uint32_t startIndex, +uint32_t binsearch_u32u16(uint16_t u_n, const uint16_t bp[], uint32_t startIndex, uint32_t maxIndex) { uint32_t bpIdx; @@ -1749,7 +1825,7 @@ uint32_t binsearch_u32d(double u_9, const double bp[], uint32_t startIndex, bpIndex = 0U; iRght = maxIndex; while (iRght - bpIndex > 1U) { - if (u_9 < bp[bpIdx]) { + if (u_n < bp[bpIdx]) { iRght = bpIdx; } else { bpIndex = bpIdx; @@ -1782,12 +1858,12 @@ int32_t div_nzp_s32_round(int32_t numerator, int32_t denominator) /* * Output and update for atomic system: - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_for_LVL' */ void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t *rty_vals) @@ -1832,12 +1908,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) @@ -1882,10 +1958,10 @@ void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t /* * Output and update for atomic system: - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' */ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT) { @@ -1902,15 +1978,15 @@ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT /* * Output and update for action system: - * '/Bilevel' - * '/Bilevel' + * '/Bilevel' + * '/Bilevel' */ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) { int32_t tmp; int32_t tmp_0; - int16_t rtb_u_e; + int16_t rtb_u_eg; uint16_t rtb_FLF_NEW; uint16_t rtb_FRF_NEW; uint16_t rtb_Switch2_a5_idx_0; @@ -1926,55 +2002,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_e); + get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_eg); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ - rtb_u_e = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp_0 - 1] - rtb_u_e); + rtb_u_eg = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp_0 - 1] - rtb_u_eg); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_e; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_eg; rtb_X_l = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_BI_FOOT_PLUS = g_aucFLOW_BI_FOOT_PLUS(LVL + 1); */ if (rtb_X_l >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_BI_FOOT_PLUS[tmp_0 - 1] * rtb_X_l * 13107; 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); @@ -1984,10 +2060,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); @@ -1997,14 +2073,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_e); + get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_eg); - /* MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2016,26 +2092,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_e = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp - 1] - rtb_u_e); + rtb_u_eg = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp - 1] - rtb_u_eg); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_e; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_eg; rtb_X_l = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_BI_FOOT_PLUS = g_aucFLOW_BI_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X_l >= 0) { 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) { @@ -2047,19 +2123,19 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_BI_FOOT_PLUS[tmp - 1] * rtb_X_l * 13107; 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); @@ -2074,10 +2150,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); @@ -2092,45 +2168,45 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI_VENT_PLUS = g_aucFLOW_BI_VENT_PLUS(LVL + 1); */ - g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_e); + g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_eg); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ - tmp = (int16_t)(rtb_u_e - rtu_Amb_Fb) * 13107; + tmp = (int16_t)(rtb_u_eg - rtu_Amb_Fb) * 13107; - /* Product: '/Óìíîæèëè' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Óìíîæèëè' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_e = (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)); + rtb_u_eg = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && + ((((uint32_t)tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) + ((g_aucFLOW_BI_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_a5_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_e) >> 1) << + rtb_Switch2_a5_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_eg) >> 1) << 1); - rtb_Switch2_a5_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_e) >> 1) << + rtb_Switch2_a5_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_eg) >> 1) << 1); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MAX = g_aucFLOW_BI_VENT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2140,10 +2216,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); @@ -2153,14 +2229,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_e); + g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_eg); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2172,23 +2248,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_e - rtu_Amb_Fb) * 13107; + tmp_0 = (int16_t)(rtb_u_eg - rtu_Amb_Fb) * 13107; - /* Product: '/Óìíîæèëè' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Óìíîæèëè' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_e = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && + rtb_u_eg = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)) * - (int32_t)((g_aucFLOW_BI_VENT_PLUS[tmp - 1] * 205U + 1024U) + (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); @@ -2203,10 +2279,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); @@ -2221,175 +2297,175 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN = g_aucFLOW_BI_VENT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_cd_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_e) >> 1) << 1); + rtb_Switch2_cd_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_eg) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_a5_idx_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h) { - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h; } else if (rtb_Switch2_a5_idx_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[0] = rtb_Switch2_a5_idx_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_cd_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX; } else if (rtb_Switch2_cd_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[2] = rtb_Switch2_cd_0; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_cd_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_e) >> 1) << 1); + rtb_Switch2_cd_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_eg) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_a5_idx_1 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h) { - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h; } else if (rtb_Switch2_a5_idx_1 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[1] = rtb_Switch2_a5_idx_1; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_cd_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX; } else if (rtb_Switch2_cd_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[3] = rtb_Switch2_cd_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n) { - /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n; } else if (rtb_FLF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [5]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [5]' + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[4] = rtb_FLF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX) { - /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX; } else if (rtb_FRF_NEW < rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [7]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [7]' + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } /* * Output and update for atomic system: - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' */ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI2_AMB_TGT) @@ -2407,15 +2483,15 @@ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t /* * Output and update for action system: - * '/Bilevel2' - * '/Bilevel2' + * '/Bilevel2' + * '/Bilevel2' */ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) { int32_t tmp; int32_t tmp_0; - int16_t rtb_u_j2; + int16_t rtb_u_jo; uint16_t rtb_FLF_NEW; uint16_t rtb_FRF_NEW; uint16_t rtb_Switch2_if1_idx_0; @@ -2431,55 +2507,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_j2); + get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_jo); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ - rtb_u_j2 = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp_0 - 1] - rtb_u_j2); + rtb_u_jo = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp_0 - 1] - rtb_u_jo); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_j2; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_jo; rtb_X_b = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_BI2_FOOT_PLUS = g_aucFLOW_BI2_FOOT_PLUS(LVL + 1); */ if (rtb_X_b >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_BI2_FOOT_PLUS[tmp_0 - 1] * rtb_X_b * 13107; 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); @@ -2489,10 +2565,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); @@ -2502,14 +2578,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_j2); + get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_jo); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2521,26 +2597,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_j2 = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp - 1] - rtb_u_j2); + rtb_u_jo = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp - 1] - rtb_u_jo); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_j2; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_jo; rtb_X_b = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_BI2_FOOT_PLUS = g_aucFLOW_BI2_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X_b >= 0) { 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) { @@ -2552,19 +2628,19 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_BI2_FOOT_PLUS[tmp - 1] * rtb_X_b * 13107; 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); @@ -2579,10 +2655,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); @@ -2597,46 +2673,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_j2); + g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_jo); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ - tmp = (int16_t)(rtb_u_j2 - rtu_Amb_Fb) * 13107; + tmp = (int16_t)(rtb_u_jo - rtu_Amb_Fb) * 13107; - /* Product: '/Óìíîæèëè' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Óìíîæèëè' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_j2 = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && + rtb_u_jo = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && ((((uint32_t)tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) ((g_aucFLOW_BI2_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_if1_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_j2) >> 1) << + rtb_Switch2_if1_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_jo) >> 1) << 1); - rtb_Switch2_if1_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_j2) >> 1) << + rtb_Switch2_if1_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_jo) >> 1) << 1); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MAX = g_aucFLOW_BI2_VENT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2646,10 +2722,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); @@ -2659,14 +2735,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_j2); + g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_jo); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2678,23 +2754,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_j2 - rtu_Amb_Fb) * 13107; + tmp_0 = (int16_t)(rtb_u_jo - rtu_Amb_Fb) * 13107; - /* Product: '/Óìíîæèëè' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Óìíîæèëè' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_j2 = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && + rtb_u_jo = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)) * (int32_t)((g_aucFLOW_BI2_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11)); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MAX = g_aucFLOW_BI2_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2709,10 +2785,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); @@ -2727,175 +2803,175 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN = g_aucFLOW_BI2_VENT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_p4_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_j2) >> 1) << 1); + rtb_Switch2_p4_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_jo) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_if1_idx_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; } else if (rtb_Switch2_if1_idx_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[0] = rtb_Switch2_if1_idx_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_p4_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX; } else if (rtb_Switch2_p4_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[2] = rtb_Switch2_p4_0; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_p4_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_j2) >> 1) << 1); + rtb_Switch2_p4_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_jo) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_if1_idx_1 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; } else if (rtb_Switch2_if1_idx_1 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[1] = rtb_Switch2_if1_idx_1; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_p4_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX; } else if (rtb_Switch2_p4_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[3] = rtb_Switch2_p4_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l) { - /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l; } else if (rtb_FLF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [5]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [5]' + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[4] = rtb_FLF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX) { - /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX; } else if (rtb_FRF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [7]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [7]' + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } /* * Output and update for atomic system: - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t *rty_c_g_aucFLOW_AF_FOOT_VALVE_MAX) @@ -2913,12 +2989,12 @@ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t /* * Output and update for atomic system: - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' */ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT) { @@ -2935,8 +3011,8 @@ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT /* * Output and update for action system: - * '/Afoot' - * '/Afoot' + * '/Afoot' + * '/Afoot' */ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -2956,7 +3032,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; */ @@ -2976,14 +3052,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) { @@ -2998,56 +3074,56 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t qY = 0U; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' - * MATLAB Function: '/get_tg_for_LVL' - * Sum: '/ 1' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + * MATLAB Function: '/get_tg_for_LVL' + * Sum: '/ 1' */ i = (int16_t)(g_aucFLOW_AF_BLR_AF_TGT[i - 1] - tmp[(((int32_t)qY - 1) * 6 + tmp_0) - 1]) * 13107; rtb_X_c = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_AF_FOOT_PLUS = g_aucFLOW_AF_FOOT_PLUS(LVL + 1); */ if (rtb_X_c >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' + * Product: '/Product3' */ i = g_aucFLOW_AF_FOOT_PLUS[i - 1] * rtb_X_c * 13107; 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; */ @@ -3067,16 +3143,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) { @@ -3088,28 +3164,28 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t qY = 0U; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' - * MATLAB Function: '/get_vtg_for_LVL' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' + * MATLAB Function: '/get_vtg_for_LVL' */ rtb_deg_en = (int16_t)(g_aucFLOW_AF_BLR_AF_TGT[i - 1] - tmp[(((int32_t)qY - 1) * 6 + tmp_0) - 1]); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ i = 13107 * rtb_deg_en; rtb_X_c = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_AF_FOOT_PLUS = g_aucFLOW_AF_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X_c >= 0) { 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) { @@ -3121,51 +3197,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_c * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)i & 65536U) != 0U) && (((uint32_t)i & 65535U) != 0U)) + (i >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ g_aucFLOW_AF_FOOT_VALVE_MAX_e(rtu_LVL, &rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX); - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AF_VENT_PLUS = g_aucFLOW_AF_VENT_PLUS(LVL + 1); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_en); - /* Sum: '/deg' */ + /* Sum: '/deg' */ rtb_deg_en -= rtu_Amb_Fb; - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ i = 13107 * rtb_deg_en; rtb_X_c = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X_c >= 0) { rtb_Switch2_ar_idx_0 = rty_Out1[0]; rtb_Switch2_ar_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* Product: '/Óìíîæèëè' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' + /* Product: '/Óìíîæèëè' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ rtb_deg_en = (int16_t)((int32_t)((g_aucFLOW_AF_VENT_PLUS[i - 1] * 205U + 1024U) >> 11) * rtb_X_c); @@ -3173,10 +3249,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); @@ -3186,10 +3262,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; @@ -3199,30 +3275,30 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_Switch2_ar_idx_1 = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AF_VENT_PLUS = g_aucFLOW_AF_VENT_PLUS(LVL + 1 + 6); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_en); - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ i = (int16_t)(rtb_deg_en - rtu_Amb_Fb) * 13107; rtb_X_c = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X_c >= 0) { 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) { @@ -3234,9 +3310,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_c); @@ -3244,10 +3320,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); @@ -3262,80 +3338,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) @@ -3353,8 +3429,8 @@ void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t /* * Output and update for action system: - * '/Afoot_Summer' - * '/Afoot_Summer' + * '/Afoot_Summer' + * '/Afoot_Summer' */ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -3372,71 +3448,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_m = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_AFSM_FOOT_PLUS = g_aucFLOW_AFSM_FOOT_PLUS(LVL + 1); */ if (rtb_X_m >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_AFSM_FOOT_PLUS[tmp_0 - 1] * rtb_X_m * 13107; 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) { @@ -3448,24 +3524,24 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' - * Sum: '/ 1' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' + * Sum: '/ 1' */ tmp_0 = (int16_t)(g_assFLOW_AFSM_TEMP_TGT[tmp - 1] - rtb_deg_c) * 13107; rtb_X_m = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_AFSM_FOOT_PLUS = g_aucFLOW_AFSM_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X_m >= 0) { 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) { @@ -3477,22 +3553,22 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_AFSM_FOOT_PLUS[tmp - 1] * rtb_X_m * 13107; 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); */ @@ -3501,35 +3577,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_m = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X_m >= 0) { rtb_Switch2_lt_idx_0 = rty_Out1[0]; rtb_Switch2_lt_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Product: '/Óìíîæèëè' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' + /* Product: '/Óìíîæèëè' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' */ rtb_deg_c = (int16_t)((int32_t)((g_aucFLOW_AFSM_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11) * rtb_X_m); @@ -3537,10 +3613,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_lt_idx_1 = (uint16_t)(rty_Out1[1] - rtb_deg_c); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AFSM_VENT_VALVE_MAX = g_aucFLOW_AFSM_VENT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -3551,10 +3627,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g = g_aucFLOW_AFSM_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_lt_idx_0 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { rtb_Switch2_lt_idx_0 = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; @@ -3564,30 +3640,30 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_lt_idx_1 = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AFSM_VENT_PLUS = g_aucFLOW_AFSM_VENT_PLUS(LVL + 1 + 6); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_c); - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ tmp_0 = (int16_t)(rtb_deg_c - rtu_Amb_Fb) * 13107; rtb_X_m = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X_m >= 0) { 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) { @@ -3599,9 +3675,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_m); @@ -3609,10 +3685,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); @@ -3627,72 +3703,72 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g = g_aucFLOW_AFSM_VENT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ rty_Out1[0] = rtb_Switch2_lt_idx_0; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j1_idx_0 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_Switch2_j1_idx_0; } - /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ rty_Out1[1] = rtb_Switch2_lt_idx_1; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j1_idx_1 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_Switch2_j1_idx_1; } - /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_FLF_NEW; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX) { - /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; } else { - /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } double rt_roundd(double u_0) @@ -3715,8 +3791,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]) { @@ -3746,140 +3822,2855 @@ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) /* * Output and update for action system: - * '/Switch Case Action Subsystem' - * '/Switch Case Action Subsystem' + * '/Switch Case Action Subsystem' + * '/Switch Case Action Subsystem' */ void SwitchCaseActionSubsystem(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Gain: '/Multiply' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* Gain: '/Multiply' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = (int16_t)-look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_assFOOT_STEP_BLR_M3[0], 10U); + rtConstP.pooled137, &g_assFOOT_STEP_BLR_M3[0], 10U); - /* Gain: '/Multiply1' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* Gain: '/Multiply1' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' */ *rty_valve = (int8_t)-look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_ascFOOT_STEP_VALVE_M3[0], 10U); + rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_M3[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem1' - * '/Switch Case Action Subsystem1' + * '/Switch Case Action Subsystem1' + * '/Switch Case Action Subsystem1' */ void SwitchCaseActionSubsystem1(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Gain: '/Multiply' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* Gain: '/Multiply' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = (int16_t)-look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_assFOOT_STEP_BLR_M2[0], 10U); + rtConstP.pooled137, &g_assFOOT_STEP_BLR_M2[0], 10U); - /* Gain: '/Multiply1' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* Gain: '/Multiply1' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' */ *rty_valve = (int8_t)-look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_ascFOOT_STEP_VALVE_M2[0], 10U); + rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_M2[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem2' - * '/Switch Case Action Subsystem2' + * '/Switch Case Action Subsystem2' + * '/Switch Case Action Subsystem2' */ void SwitchCaseActionSubsystem2(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Gain: '/Multiply' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* Gain: '/Multiply' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = (int16_t)-look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_assFOOT_STEP_BLR_M1[0], 10U); + rtConstP.pooled137, &g_assFOOT_STEP_BLR_M1[0], 10U); - /* Gain: '/Multiply1' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* Gain: '/Multiply1' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' */ *rty_valve = (int8_t)-look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_ascFOOT_STEP_VALVE_M1[0], 10U); + rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_M1[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem3' - * '/Switch Case Action Subsystem3' + * '/Switch Case Action Subsystem3' + * '/Switch Case Action Subsystem3' */ void SwitchCaseActionSubsystem3(int8_t *rty_valve, int16_t *rty_blower) { - /* SignalConversion generated from: '/valve' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/valve' incorporates: + * Constant: '/Constant' */ *rty_valve = 0; - /* SignalConversion generated from: '/blower' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/blower' incorporates: + * Constant: '/Constant1' */ *rty_blower = 0; } /* * Output and update for action system: - * '/Switch Case Action Subsystem4' - * '/Switch Case Action Subsystem4' + * '/Switch Case Action Subsystem4' + * '/Switch Case Action Subsystem4' */ void SwitchCaseActionSubsystem4(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled130, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_P1[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ + /* Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_assFOOT_STEP_BLR_P1[0], 10U); + rtConstP.pooled137, &g_assFOOT_STEP_BLR_P1[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem5' - * '/Switch Case Action Subsystem5' + * '/Switch Case Action Subsystem5' + * '/Switch Case Action Subsystem5' */ void SwitchCaseActionSubsystem5(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled130, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_P2[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ + /* Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_assFOOT_STEP_BLR_P2[0], 10U); + rtConstP.pooled137, &g_assFOOT_STEP_BLR_P2[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem6' - * '/Switch Case Action Subsystem6' + * '/Switch Case Action Subsystem6' + * '/Switch Case Action Subsystem6' */ void SwitchCaseActionSubsystem6(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled130, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_P3[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ + /* Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled130, &g_assFOOT_STEP_BLR_P3[0], 10U); + rtConstP.pooled137, &g_assFOOT_STEP_BLR_P3[0], 10U); } /* * Output and update for atomic system: - * '/func g_assAUTO_STEP_DUCT_TG_U' - * '/func g_assAUTO_STEP_DUCT_TG_U' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + */ +void g_assSTART_ENTER_INCAR_n(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_ENTER_INCAR(LVL+1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_ENTER_INCAR[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 2' + * '/Level 2' + */ +void Level2(int8_t *rty_step) +{ + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant' + */ + *rty_step = 3; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + */ +void g_assSTART_ENTER_COOLANT_m(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t q0; + uint32_t qY; + + /* : out = int16(g_assSTART_ENTER_COOLANT(LVL + 1 - 3)); */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 3U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 3U > (uint32_t)q0) { + qY = 0U; + } + + *rty_out = g_assSTART_ENTER_COOLANT[(int32_t)qY - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const int16_t + *rtd_ECT, const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL) +{ + int16_t rtb_out_hi; + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_m(*rtd_LEVEL, &rtb_out_hi); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/LOW' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/mode driver' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((*rtd_ECT < rtb_out_hi) && (*rtd_CCU_MODE_FL == 1) && (*rtd_LO_HI_MODE_FL + != 1)) { + *rty_step1 = 0; + } else { + *rty_step1 = -1; + } + + /* End of Switch: '/Switch' */ +} + +/* + * Output and update for action system: + * '/Level 0' + * '/Level 1' + * '/Level 2' + * '/Level 0' + * '/Level 1' + */ +void Level0(int8_t *rty_step) +{ + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant' + */ + *rty_step = 1; +} + +/* + * Output and update for atomic system: + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * ... + */ +void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_INCAR_FLT_DN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_DN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * ... + */ +void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_INCAR_FLT_UP(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_UP[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + */ +void g_assSTART_COOLANT_STEP0_TO_1_c(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t q0; + uint32_t qY; + + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 2U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 2U > (uint32_t)q0) { + qY = 0U; + } + + *rty_out = g_assSTART_COOLANT_STEP0_TO_1[(int32_t)qY - 1]; +} + +/* + * Output and update for atomic system: + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + */ +void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_3WAY_OPEN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_3WAY_OPEN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + */ +void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + */ +void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + */ +void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_INCAR_STEP1_TO_2(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_INCAR_STEP1_TO_2[tmp - 1]; +} + +/* + * System initialize for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * ... + */ +void MATLABFunction1_Init(DW_MATLABFunction1 *localDW) +{ + localDW->t_start_not_empty = false; +} + +/* + * Output and update for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * ... + */ +void MATLABFunction1(uint32_t rtu_t_now, uint16_t rtu_time_delta, bool + *rty_timer_out, DW_MATLABFunction1 *localDW) +{ + uint32_t qY; + + /* : if isempty(t_start) */ + if (!localDW->t_start_not_empty) { + /* : t_start = t_now; */ + localDW->t_start = rtu_t_now; + localDW->t_start_not_empty = true; + } + + /* : timer_out = (t_now - t_start) >= time_delta; */ + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = rtu_t_now - /*MW:OvSatOk*/ localDW->t_start; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if (qY > rtu_t_now) { + qY = 0U; + } + + *rty_timer_out = (qY >= rtu_time_delta); +} + +/* + * Output and update for atomic system: + * '/blower FR' + * '/blower FR' + */ +void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_AF_STEP12_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_AF_STEP12_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + */ +void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_IDX_STEP1(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_IDX_STEP1[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + */ +void windowheating(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_ELEC_WINDOW[tmp - 1]; +} + +/* + * System initialize for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + */ +void MATLABFunction1_a_Init(DW_MATLABFunction1_f *localDW) +{ + localDW->t_start_not_empty = false; +} + +/* + * Output and update for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + */ +void MATLABFunction1_j(uint32_t rtu_t_now, uint32_t rtu_time_delta, bool + *rty_timer_out, DW_MATLABFunction1_f *localDW) +{ + uint32_t qY; + + /* : if isempty(t_start) */ + if (!localDW->t_start_not_empty) { + /* : t_start = t_now; */ + localDW->t_start = rtu_t_now; + localDW->t_start_not_empty = true; + } + + /* : timer_out = (t_now - t_start) >= time_delta; */ + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = rtu_t_now - /*MW:OvSatOk*/ localDW->t_start; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if (qY > rtu_t_now) { + qY = 0U; + } + + *rty_timer_out = (qY >= rtu_time_delta); +} + +/* + * Output and update for atomic system: + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + */ +void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + uint16_t tmp_0; + + /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = g_ausSTART_TIME_STEP1_TO_2[tmp - 1]; + if (tmp_0 > 32767) { + tmp_0 = 32767U; + } + + *rty_out = (int16_t)tmp_0; +} + +/* + * Output and update for atomic system: + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + */ +void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]) +{ + int32_t q0; + uint32_t qY; + + /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ + /* : max = int16(g_assSTART_COOLANT_TO_STEP2(1)); */ + /* : out = [min, max]; */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 2U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 2U > (uint32_t)q0) { + qY = 0U; + } + + rty_out[0] = g_assSTART_COOLANT_STEP0_TO_1[(int32_t)qY - 1]; + rty_out[1] = g_assSTART_COOLANT_TO_STEP2[0]; +} + +/* + * Output and update for atomic system: + * '/blower min max' + * '/blower min max' + * '/blower min max' + */ +void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]) +{ + int32_t tmp; + + /* : min = 20; */ + /* : max = g_ausSTART_BLR_AF_STEP12_F(LVL + 1); */ + /* : out = [min, max]; */ + rty_out[0] = 20U; + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + rty_out[1] = g_ausSTART_BLR_AF_STEP12_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + */ +void uwayvalvestatus_m(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_3WAY_OPEN(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_3WAY_OPEN[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_d(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + */ +void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + uint16_t tmp_0; + + /* : out = int16(g_ausSTART_TIME_STEP2_TO_3(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = g_ausSTART_TIME_STEP2_TO_3[tmp - 1]; + if (tmp_0 > 32767) { + tmp_0 = 32767U; + } + + *rty_out = (int16_t)tmp_0; +} + +/* + * Output and update for atomic system: + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + */ +void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_SPD_STEP2_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + */ +void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_ausSTART_BLR_SPD_STEP2_F(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_F[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + */ +void step_g(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_f(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_F(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_F[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + */ +void windowheating_o(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_ELEC_WINDOW[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + */ +void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_AUTODEMIST2_STEP2(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_AUTODEMIST2_STEP2[tmp - 1]; +} + +/* + * System initialize for action system: + * '/Level 3' + * '/Level 4' + */ +void Level3_Init(DW_Level3 *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 3' + * '/Level 4' + */ +void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, + uint8_t *rtd_Blower_FR, const uint8_t *rtd_Blower_logic_FL, const + uint8_t *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_FLL, uint16_t + *rtd_Dtg_FLR, uint16_t *rtd_Dtg_FUL, uint16_t *rtd_Dtg_FUR, const + int16_t *rtd_Dtg_logic_FLL, const int16_t *rtd_Dtg_logic_FUL, + uint8_t *rtd_El_window_heating, const bool *rtd_HI_logic_on, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL, uint8_t * + rtd_Mode_FL, uint8_t *rtd_Mode_FR, const uint8_t *rtd_Mode_logic_FL, + double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const uint32_t * + rtd_t_now, DW_Level3 *localDW) +{ + double rtb_Switch_hz; + int32_t tmp; + int16_t rtb_out_eim; + uint16_t rtb_out_h1s; + uint16_t rtb_out_hi; + uint8_t rtb_out_hic; + uint8_t rtb_out_i5m; + uint8_t rtb_out_lwp; + bool rtb_timer_out_k; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_m(*rtd_LEVEL, rtd_Valve_3_way); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_eim = (int16_t)((*rtd_Dtg_FLL - *rtd_Dtg_logic_FLL) >> 1); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(*rtd_LEVEL, &rtb_out_i5m); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(*rtd_LEVEL, &rtb_out_lwp); + + /* Abs: '/Abs' */ + if (rtb_out_eim < 0) { + rtb_out_eim = (int16_t)-rtb_out_eim; + } + + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write12' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_out_eim * 2.0 <= 0.01) { + *rtd_Dtg_FLR = (uint16_t)*rtd_Dtg_logic_FLL; + } else { + if (*rtd_Dtg_FLL <= *rtd_Dtg_logic_FLL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_FLR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_i5m / (double) + rtb_out_lwp / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * + (double)tmp + (double)*rtd_Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + *rtd_Dtg_FLL = *rtd_Dtg_FLR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_eim = (int16_t)((*rtd_Dtg_FUL - *rtd_Dtg_logic_FUL) >> 1); + + /* Abs: '/Abs' */ + if (rtb_out_eim < 0) { + rtb_out_eim = (int16_t)-rtb_out_eim; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(*rtd_LEVEL, &rtb_out_i5m); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_d(*rtd_LEVEL, &rtb_out_lwp); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_out_eim * 2.0 <= 0.01) { + *rtd_Dtg_FUR = (uint16_t)*rtd_Dtg_logic_FUL; + } else { + if (*rtd_Dtg_FUL <= *rtd_Dtg_logic_FUL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_FUR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_i5m / (double) + rtb_out_lwp / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_c) * + (double)tmp + (double)*rtd_Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_FUL = *rtd_Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read3' + * MATLAB Function: '/autodemist (autodefog)' + */ + autodemistautodefog(*rtd_LEVEL, rtd_Autodefog); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_i5m = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_g(*rtd_LEVEL, &rtb_out_lwp); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_f(*rtd_LEVEL, &rtb_out_hic); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_out_i5m <= 0.01) { + *rtd_Mode_FR = *rtd_Mode_logic_FL; + } else { + if (*rtd_Mode_FL <= *rtd_Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Mode_FR = (uint8_t)((double)rtb_out_lwp / (double)rtb_out_hic / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_f) * (double)tmp + (double)* + rtd_Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + *rtd_Mode_FL = *rtd_Mode_FR; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating_o(*rtd_LEVEL, &rtb_out_i5m); + + /* DataStoreWrite: '/Data Store Write4' */ + *rtd_El_window_heating = rtb_out_i5m; + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(*rtd_LEVEL, &rtb_out_h1s); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(*rtd_LEVEL, &rtb_out_hi); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(*rtd_Blower_FL - *rtd_Blower_logic_FL) <= 0.01) { + rtb_Switch_hz = *rtd_Blower_logic_FL; + } else { + if (*rtd_Blower_FL <= *rtd_Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + rtb_Switch_hz = (double)rtb_out_h1s / (double)rtb_out_hi / 1000.0 * (double) + (*rtd_t_now - localDW->UnitDelay_DSTATE_l) * (double)tmp + (double)* + rtd_Blower_FL; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_FR = (uint8_t)rtb_Switch_hz; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_FL = *rtd_Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(*rtd_LEVEL, &rtb_out_eim); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1_j(*rtd_t_now, (uint32_t)(1000 * rtb_out_eim), &rtb_timer_out_k, + &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/exit algorithm' + * Constant: '/not LO or HI' + * Constant: '/stay at step' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((*rtd_CCU_MODE_FL != 1) || (*rtd_LO_HI_MODE_FL != 0)) { + *rty_step = 3; + } else if (rtb_timer_out_k || (*rtd_HI_logic_on)) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 3; + } else { + *rty_step = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE_c = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE_f = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE_l = *rtd_t_now; +} + +/* + * Output and update for action system: + * '/Step 3 F' + * '/Step 3 R' + */ +void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front) +{ + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/True' + */ + *rtd_start_control_finished_front = 1; + + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant1' + */ + *rty_step = 3; +} + +/* + * Output and update for atomic system: + * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' + */ +void g_ausSTART_ENTER_SETTEMP_i(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + uint16_t tmp_1; + + /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + tmp_1 = g_ausSTART_ENTER_SETTEMP[tmp_0 - 1]; + if (tmp_1 > 32767) { + tmp_1 = 32767U; + } + + *rty_out = (int16_t)tmp_1; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + */ +void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = int16(g_assSTART_ENTER_INCAR(LVL+1+6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_assSTART_ENTER_INCAR[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + */ +void g_assSTART_ENTER_COOLANT_m1(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_ENTER_COOLANT(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_ENTER_COOLANT[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_j(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const int16_t + *rtd_ECT, const int16_t *rtd_Incar_RR, const uint8_t *rtd_LEVEL, + const uint8_t *rtd_LO_HI_MODE_RR) +{ + int16_t rtb_out_eyp; + int16_t rtb_out_mxz; + + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_assSTART_ENTER_INCAR_f(*rtd_LEVEL, &rtb_out_mxz); + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_m1(*rtd_LEVEL, &rtb_out_eyp); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/LOW' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * Logic: '/AND1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if (((*rtd_Incar_RR < rtb_out_mxz) || (*rtd_ECT < rtb_out_eyp)) && + (*rtd_CCU_MODE_RR == 1) && (*rtd_LO_HI_MODE_RR != 1)) { + *rty_step1 = 0; + } else { + *rty_step1 = -1; + } + + /* End of Switch: '/Switch' */ +} + +/* + * Output and update for atomic system: + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + */ +void incarfilterdown_m(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_INCAR_FLT_DN(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_DN[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + */ +void incarfilterup_j(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_INCAR_FLT_UP(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_UP[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + */ +void g_assSTART_COOLANT_STEP0_TO_1_j(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + tmp = (int32_t)(rtu_LVL + 3U); + if (rtu_LVL + 3U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_COOLANT_STEP0_TO_1[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_h(int8_t *rty_step1, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint8_t *rtd_CCU_MODE_RR, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_ECT, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, uint8_t + *rtd_Valve_2_way, uint8_t *rtd_Valve_3_way) +{ + int16_t rtb_out_f1h; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + *rtd_Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + *rtd_Blower_RL = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + *rtd_Dtg_RR = 800U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + *rtd_Dtg_RL = 800U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' + */ + *rtd_Mode_RR = 60U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - foot' + */ + *rtd_Mode_RL = 60U; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + *rtd_Valve_3_way = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + *rtd_Valve_2_way = 1U; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_j(*rtd_LEVEL, &rtb_out_f1h); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * Constant: '/exit algorithm' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((*rtd_CCU_MODE_RR != 1) || (*rtd_LO_HI_MODE_RR == 1)) { + *rty_step1 = 3; + } else { + *rty_step1 = (int8_t)(*rtd_ECT > rtb_out_f1h); + } + + /* End of Switch: '/Switch1' */ +} + +/* + * Output and update for atomic system: + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * ... + */ +void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_2WAY_OPEN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_2WAY_OPEN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + */ +void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_RX(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_RX[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + */ +void Incartempgotofromstep1tostep2_m(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = int16(g_assSTART_INCAR_STEP1_TO_2(LVL + 1 + 6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_assSTART_INCAR_STEP1_TO_2[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * ... + */ +void Timegotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + uint16_t tmp_1; + + /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1 + 6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + tmp_1 = g_ausSTART_TIME_STEP1_TO_2[tmp_0 - 1]; + if (tmp_1 > 32767) { + tmp_1 = 32767U; + } + + *rty_out = (int16_t)tmp_1; +} + +/* + * Output and update for atomic system: + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + */ +void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_IDX_STEP1(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_IDX_STEP1[tmp_0 - 1]; +} + +/* + * System initialize for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_c_Init(DW_Level0_h *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_g(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint8_t *rtd_CCU_MODE_RR, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_Incar_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const uint32_t + *rtd_t_now, DW_Level0_h *localDW) +{ + int32_t tmp; + int16_t rtb_out_gju; + int16_t rtb_out_pmc; + uint8_t rtb_out_ipr; + bool rtb_timer_out_b; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + moderearstep1(*rtd_LEVEL, &rtb_out_ipr); + + /* DataStoreWrite: '/Data Store Write2' */ + *rtd_Mode_RR = rtb_out_ipr; + + /* DataStoreWrite: '/Data Store Write3' */ + *rtd_Mode_RL = rtb_out_ipr; + + /* MATLAB Function: '/blower rear' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + /* : out = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ + tmp = (int32_t)(*rtd_LEVEL + 1U); + if (*rtd_LEVEL + 1U > 255U) { + tmp = 255; + } + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * MATLAB Function: '/blower rear' + */ + *rtd_Blower_RR = (uint8_t)g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_ipr); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RR = (uint16_t)(10U * rtb_out_ipr); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_m(*rtd_LEVEL, &rtb_out_gju); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_pmc); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_pmc), &rtb_timer_out_b, + &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/exit algorithm' + * Constant: '/not LO or HI' + * Constant: '/stay at step 1' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((*rtd_CCU_MODE_RR != 1) || (*rtd_LO_HI_MODE_RR != 0)) { + *rty_step = 3; + } else if ((*rtd_Incar_RR < rtb_out_gju) || rtb_timer_out_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 2; + } else { + *rty_step = 1; + } + + /* End of Switch: '/Switch1' */ +} + +/* + * Output and update for atomic system: + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + */ +void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]) +{ + int32_t tmp; + int32_t tmp_0; + + /* : start = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ + /* : finish = g_ausSTART_BLR_AF_STEP12_R(LVL + 1 + 6); */ + /* : out = [start, finish]; */ + tmp_0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_0 = 255; + } + + rty_out[0] = g_ausSTART_BLR_AF_STEP12_R[tmp_0 - 1]; + tmp_0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_0 = 255; + } + + tmp = (int32_t)((uint32_t)tmp_0 + 6U); + if ((uint32_t)tmp_0 + 6U > 255U) { + tmp = 255; + } + + rty_out[1] = g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + */ +void ECTminmax_j(uint8_t rtu_LVL, int16_t rty_out[2]) +{ + int32_t tmp; + + /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + /* : max = int16(g_assSTART_COOLANT_TO_STEP2(3)); */ + /* : out = [min, max]; */ + tmp = (int32_t)(rtu_LVL + 3U); + if (rtu_LVL + 3U > 255U) { + tmp = 255; + } + + rty_out[0] = g_assSTART_COOLANT_STEP0_TO_1[tmp - 1]; + rty_out[1] = g_assSTART_COOLANT_TO_STEP2[2]; +} + +/* + * System initialize for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_b_Init(DW_Level4_h *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_m(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint8_t *rtd_CCU_MODE_RR, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, + uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_RR, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, double *rtd_Recirculation, uint8_t *rtd_Valve_2_way, + const uint32_t *rtd_t_now, DW_Level4_h *localDW) +{ + int16_t rtb_out_jmy[2]; + int16_t rtb_out_c54; + int16_t rtb_out_mkd; + uint16_t rtb_out_axk[2]; + uint8_t rtb_out_kc5; + bool rtb_timer_out_b; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + moderearstep1(*rtd_LEVEL, &rtb_out_kc5); + + /* DataStoreWrite: '/Data Store Write2' */ + *rtd_Mode_RR = rtb_out_kc5; + + /* DataStoreWrite: '/Data Store Write3' */ + *rtd_Mode_RL = rtb_out_kc5; + + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstartfinish(*rtd_LEVEL, rtb_out_axk); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax_j(*rtd_LEVEL, rtb_out_jmy); + + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_out_c54 = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_jmy, + rtb_out_axk, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + *rtd_Blower_RR = (uint8_t)rtb_out_c54; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_kc5); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RR = (uint16_t)(10U * rtb_out_kc5); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_m(*rtd_LEVEL, &rtb_out_mkd); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_c54); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_c54), &rtb_timer_out_b, + &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * Constant: '/exit algorithm' + * Constant: '/stay at step 1' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * Switch: '/Switch' + */ + if ((*rtd_CCU_MODE_RR != 1) || (*rtd_LO_HI_MODE_RR == 1)) { + *rty_step = 3; + } else if ((*rtd_Incar_RR > rtb_out_mkd) || rtb_timer_out_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 2; + } else { + *rty_step = 1; + } + + /* End of Switch: '/Switch1' */ +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_k(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_RX(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_RX[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + */ +void blowerstep_c(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_SPD_STEP2_R(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + */ +void blowertimeforstep_k(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_ausSTART_BLR_SPD_STEP2_R(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_R[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + */ +void step_a(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_R(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_dm(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_R(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_R[tmp_0 - 1]; +} + +/* + * System initialize for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_h_Init(DW_Level0_hr *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint16_t *rtd_Blower_logic_RR, const uint8_t + *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, + const int16_t *rtd_Dtg_logic_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t + *rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t + *rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level0_hr *localDW) +{ + int32_t tmp; + int16_t rtb_out_phm; + uint16_t rtb_out_e0t; + uint16_t rtb_out_i2; + uint8_t rtb_out_io; + uint8_t rtb_out_lyu; + bool rtb_LogicalOperator1_e4; + bool rtb_timer_out_p; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_phm = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); + + /* Abs: '/Abs' */ + if (rtb_out_phm < 0) { + rtb_out_phm = (int16_t)-rtb_out_phm; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_io); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_k(*rtd_LEVEL, &rtb_out_lyu); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_out_phm * 2.0 <= 0.01) { + *rtd_Dtg_RR = (uint16_t)*rtd_Dtg_logic_RR; + } else { + if (*rtd_Dtg_RR <= *rtd_Dtg_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_RR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_io / (double) + rtb_out_lyu / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * + (double)tmp + (double)*rtd_Dtg_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_io = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_timer_out_p = (rtb_out_io <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(*rtd_LEVEL, &rtb_out_lyu); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_dm(*rtd_LEVEL, &rtb_out_io); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_timer_out_p) { + *rtd_Mode_RR = *rtd_Mode_logic_RR; + } else { + if (*rtd_Mode_RR <= *rtd_Mode_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Mode_RR = (uint8_t)((double)rtb_out_lyu / (double)rtb_out_io / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_k) * (double)tmp + (double)* + rtd_Mode_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + *rtd_Mode_RL = *rtd_Mode_RR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_e0t = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_timer_out_p = (rtb_out_e0t <= 0.01); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep_c(*rtd_LEVEL, &rtb_out_i2); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_k(*rtd_LEVEL, &rtb_out_e0t); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write5' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_timer_out_p) { + *rtd_Blower_RR = (uint8_t)*rtd_Blower_logic_RR; + } else { + if (*rtd_Blower_RR <= *rtd_Blower_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Blower_RR = (uint8_t)((double)rtb_out_i2 / (double)rtb_out_e0t / 1000.0 + * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_n) * (double)tmp + + (double)*rtd_Blower_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* RelationalOperator: '/Relational Operator2' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + rtb_timer_out_p = (*rtd_CCU_MODE_FL != 1); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Relational Operator3' + */ + rtb_LogicalOperator1_e4 = (rtb_timer_out_p || (*rtd_LO_HI_MODE_FL != 0)); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_phm); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_phm), &rtb_timer_out_p, + &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/exit algorithm' + * Constant: '/stay at step' + * Switch: '/Switch' + */ + if (rtb_LogicalOperator1_e4) { + *rty_step = 3; + } else if (rtb_timer_out_p) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 3; + } else { + *rty_step = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE_k = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE_n = *rtd_t_now; +} + +/* + * System initialize for action system: + * '/Level 2' + * '/Level 3' + * '/Level 4' + * '/Level 5' + */ +void Level2_j_Init(DW_Level2_j *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 2' + * '/Level 3' + * '/Level 4' + * '/Level 5' + */ +void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint16_t *rtd_Blower_logic_RR, const uint8_t + *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, + const int16_t *rtd_Dtg_logic_RR, const bool *rtd_HI_logic_on, + uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_FL, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, const uint8_t *rtd_Mode_logic_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const uint32_t + *rtd_t_now, DW_Level2_j *localDW) +{ + int32_t tmp; + int16_t rtb_out_k1; + uint16_t rtb_out_khn; + uint16_t rtb_out_mxv; + uint8_t rtb_out_bn; + uint8_t rtb_out_n0g; + bool rtb_RelationalOperator2_aen; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_k1 = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); + + /* Abs: '/Abs' */ + if (rtb_out_k1 < 0) { + rtb_out_k1 = (int16_t)-rtb_out_k1; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_bn); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_k(*rtd_LEVEL, &rtb_out_n0g); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_out_k1 * 2.0 <= 0.01) { + *rtd_Dtg_RR = (uint16_t)*rtd_Dtg_logic_RR; + } else { + if (*rtd_Dtg_RR <= *rtd_Dtg_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_RR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_bn / (double) + rtb_out_n0g / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * + (double)tmp + (double)*rtd_Dtg_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_bn = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_RelationalOperator2_aen = (rtb_out_bn <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(*rtd_LEVEL, &rtb_out_n0g); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_dm(*rtd_LEVEL, &rtb_out_bn); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_RelationalOperator2_aen) { + *rtd_Mode_RR = *rtd_Mode_logic_RR; + } else { + if (*rtd_Mode_RR <= *rtd_Mode_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Mode_RR = (uint8_t)((double)rtb_out_n0g / (double)rtb_out_bn / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_n) * (double)tmp + (double)* + rtd_Mode_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + *rtd_Mode_RL = *rtd_Mode_RR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtb_out_khn = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_RelationalOperator2_aen = (rtb_out_khn <= 0.01); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep_c(*rtd_LEVEL, &rtb_out_mxv); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_k(*rtd_LEVEL, &rtb_out_khn); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write5' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_RelationalOperator2_aen) { + *rtd_Blower_RR = (uint8_t)*rtd_Blower_logic_RR; + } else { + if (*rtd_Blower_RR <= *rtd_Blower_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Blower_RR = (uint8_t)((double)rtb_out_mxv / (double)rtb_out_khn / + 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_p) * (double)tmp + + (double)*rtd_Blower_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_k1); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_k1), + &rtb_RelationalOperator2_aen, &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/exit algorithm' + * Constant: '/not LO or HI' + * Constant: '/stay at step' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((*rtd_CCU_MODE_FL != 1) || (*rtd_LO_HI_MODE_FL != 0)) { + *rty_step = 3; + } else if (rtb_RelationalOperator2_aen || (*rtd_HI_logic_on)) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 3; + } else { + *rty_step = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE_n = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + localDW->UnitDelay_DSTATE_p = *rtd_t_now; +} + +/* + * Output and update for atomic system: + * '/func g_assAUTO_STEP_DUCT_TG_U' + * '/func g_assAUTO_STEP_DUCT_TG_U' */ void funcg_assAUTO_STEP_DUCT_TG_U(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t *rty_y) @@ -3952,8 +6743,8 @@ void funcg_assAUTO_STEP_DUCT_TG_U(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t /* * Output and update for atomic system: - * '/func g_assAUTO_STEP_DUCT_TG_L' - * '/func g_assAUTO_STEP_DUCT_TG_L' + * '/func g_assAUTO_STEP_DUCT_TG_L' + * '/func g_assAUTO_STEP_DUCT_TG_L' */ void funcg_assAUTO_STEP_DUCT_TG_L(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t *rty_y) @@ -4026,8 +6817,8 @@ void funcg_assAUTO_STEP_DUCT_TG_L(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t /* * Output and update for atomic system: - * '/func g_assAUTO_STEP_DUCT_TG_R' - * '/func g_assAUTO_STEP_DUCT_TG_R' + * '/func g_assAUTO_STEP_DUCT_TG_R' + * '/func g_assAUTO_STEP_DUCT_TG_R' */ void funcg_assAUTO_STEP_DUCT_TG_R(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t *rty_y) @@ -4100,8 +6891,8 @@ void funcg_assAUTO_STEP_DUCT_TG_R(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t /* * Output and update for atomic system: - * '/correction rate' - * '/correction rate' + * '/correction rate' + * '/correction rate' */ void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -4135,10 +6926,10 @@ void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/is_ending_with_5' - * '/is_ending_with_5' - * '/is_ending_with_5' - * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' */ void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5) { @@ -4149,8 +6940,8 @@ void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5) /* * System initialize for atomic system: - * '/filter AC Pressure' - * '/filter AC Pressure' + * '/filter AC Pressure' + * '/filter AC Pressure' */ void filterACPressure_Init(DW_filterACPressure *localDW) { @@ -4159,8 +6950,8 @@ void filterACPressure_Init(DW_filterACPressure *localDW) /* * Output and update for atomic system: - * '/filter AC Pressure' - * '/filter AC Pressure' + * '/filter AC Pressure' + * '/filter AC Pressure' */ void filterACPressure(int16_t rtu_value_in, bool rtu_is_filter_active, uint32_t rtu_t_now, int16_t *rty_value_filtered, @@ -4213,16 +7004,16 @@ void filterACPressure(int16_t rtu_value_in, bool rtu_is_filter_active, uint32_t /* * System initialize for atomic system: - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' * ... */ void is3secafterT15passed_Init(DW_is3secafterT15passed *localDW) @@ -4232,16 +7023,16 @@ void is3secafterT15passed_Init(DW_is3secafterT15passed *localDW) /* * Output and update for atomic system: - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' * ... */ void is3secafterT15passed(uint32_t rtu_t_now, uint8_t rtu_BCM_T15_stat, bool @@ -4279,12 +7070,12 @@ void is3secafterT15passed(uint32_t rtu_t_now, uint8_t rtu_BCM_T15_stat, bool /* * System initialize for atomic system: - * '/filter duct' - * '/filter duct' - * '/filter duct' - * '/filter duct' - * '/filter duct' - * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' */ void filterduct_Init(DW_filterduct *localDW) { @@ -4293,12 +7084,12 @@ void filterduct_Init(DW_filterduct *localDW) /* * Output and update for atomic system: - * '/filter duct' - * '/filter duct' - * '/filter duct' - * '/filter duct' - * '/filter duct' - * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' */ void filterduct(int16_t rtu_duct, bool rtu_is_filter_active, uint32_t rtu_t_now, int16_t *rty_duct_filtered, DW_filterduct *localDW) @@ -4350,10 +7141,10 @@ void filterduct(int16_t rtu_duct, bool rtu_is_filter_active, uint32_t rtu_t_now, /* * Output and update for atomic system: - * '/îáû÷íîå ïîíèæåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîíèæåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîíèæåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîíèæåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' */ void u(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F) { @@ -4370,10 +7161,10 @@ void u(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F) /* * Output and update for atomic system: - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' */ void u_j(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F) { @@ -4390,109 +7181,109 @@ void u_j(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F) /* * Output and update for action system: - * '/âêëþ÷åí óñêîðåííûé ðåæèì' - * '/âêëþ÷åí óñêîðåííûé ðåæèì' + * '/âêëþ÷åí óñêîðåííûé ðåæèì' + * '/âêëþ÷åí óñêîðåííûé ðåæèì' */ void u_c(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_out, double *rtd_KEEP_FALLING_FL_UNTIL_LIMIT, const double *rtd_Temp_FL_store) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read temp' - * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read temp' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F(8); */ if (fabs((double)rtu_temp_raw - *rtd_Temp_FL_store) <= g_ausINCARRATE_FALLING_DIFF_F[7]) { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_FL_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' + * Merge: '/Merge' */ u(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + * Merge: '/Merge' */ u_j(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/îáû÷íûé ðåæèì' - * '/îáû÷íûé ðåæèì' + * '/îáû÷íûé ðåæèì' + * '/îáû÷íûé ðåæèì' */ void u_l(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_riseperminute, double *rtd_KEEP_FALLING_FL_UNTIL_LIMIT, const double *rtd_Temp_FL_store) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F(7); */ if (fabs((double)rtu_temp_raw - *rtd_Temp_FL_store) > g_ausINCARRATE_FALLING_DIFF_F[6]) { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_FL_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + * Merge: '/Merge' */ u_j(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + * Merge: '/Merge' */ u(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for atomic system: - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' */ void u_h(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_F) { @@ -4509,10 +7300,10 @@ void u_h(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_F) /* * Output and update for atomic system: - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' */ void u_k(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) { @@ -4529,21 +7320,21 @@ void u_k(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) /* * Output and update for action system: - * '/Ïðîäîëæàåì â óñêîðåííîì' - * '/Ïðîäîëæàåì â óñêîðåííîì' + * '/Ïðîäîëæàåì â óñêîðåííîì' + * '/Ïðîäîëæàåì â óñêîðåííîì' */ void u_lz(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_k(rtu_lvl, rty_out); } /* * Output and update for atomic system: - * '/g_ausINCARRATE_RISING_DIFF_F[8]' - * '/g_ausINCARRATE_RISING_DIFF_F[8]' + * '/g_ausINCARRATE_RISING_DIFF_F[8]' + * '/g_ausINCARRATE_RISING_DIFF_F[8]' */ void g_ausINCARRATE_RISING_DIFF_F8(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) { @@ -4553,8 +7344,8 @@ void g_ausINCARRATE_RISING_DIFF_F8(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) /* * Output and update for atomic system: - * '/INCARRATE_RISING_DIFF_F[7]' - * '/INCARRATE_RISING_DIFF_F[7]' + * '/INCARRATE_RISING_DIFF_F[7]' + * '/INCARRATE_RISING_DIFF_F[7]' */ void INCARRATE_RISING_DIFF_F7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) { @@ -4564,32 +7355,21 @@ void INCARRATE_RISING_DIFF_F7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) /* * Output and update for action system: - * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ void u_f(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_h(rtu_lvl, rty_out); } -/* - * Output and update for action system: - * '/Èíèöèàëèçàöèÿ RL' - * '/Èíèöèàëèçàöèÿ RR' - */ -void RL(int16_t rtu_temp_in, double *rty_temp_out) -{ - /* DataTypeConversion: '/Data Type Conversion' */ - *rty_temp_out = rtu_temp_in; -} - /* * Output and update for atomic system: - * '/AMBRATE_RISING_DIFF[8]' - * '/AMBRATE_RISING_DIFF[8]' + * '/AMBRATE_RISING_DIFF[8]' + * '/AMBRATE_RISING_DIFF[8]' */ void AMBRATE_RISING_DIFF8(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) { @@ -4599,10 +7379,10 @@ void AMBRATE_RISING_DIFF8(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) /* * Output and update for atomic system: - * '/îáû÷íîå ïîíèæåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîíèæåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîíèæåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîíèæåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' */ void u_kk(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_R) { @@ -4619,10 +7399,10 @@ void u_kk(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_R) /* * Output and update for atomic system: - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' */ void u_b(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) { @@ -4639,21 +7419,21 @@ void u_b(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) /* * Output and update for action system: - * '/Ïðîäîëæàåì â óñêîðåííîì' - * '/Ïðîäîëæàåì â óñêîðåííîì' + * '/Ïðîäîëæàåì â óñêîðåííîì' + * '/Ïðîäîëæàåì â óñêîðåííîì' */ void u_hr(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_b(rtu_lvl, rty_out); } /* * Output and update for atomic system: - * '/AMBRATE_FALLING_DIFF[7]' - * '/AMBRATE_FALLING_DIFF[7]' + * '/AMBRATE_FALLING_DIFF[7]' + * '/AMBRATE_FALLING_DIFF[7]' */ void AMBRATE_FALLING_DIFF7(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) { @@ -4663,23 +7443,23 @@ void AMBRATE_FALLING_DIFF7(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) /* * Output and update for action system: - * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ void u_g(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_kk(rtu_lvl, rty_out); } /* * Output and update for atomic system: - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' */ void u_m(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_R) { @@ -4696,10 +7476,10 @@ void u_m(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_R) /* * Output and update for atomic system: - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' */ void u_o(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) { @@ -4716,21 +7496,21 @@ void u_o(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) /* * Output and update for action system: - * '/Ïðîäîëæàåì â óñêîðåííîì' - * '/Ïðîäîëæàåì â óñêîðåííîì' + * '/Ïðîäîëæàåì â óñêîðåííîì' + * '/Ïðîäîëæàåì â óñêîðåííîì' */ void u_gq(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_o(rtu_lvl, rty_out); } /* * Output and update for atomic system: - * '/g_ausINCARRATE_RISING_DIFF_R[8]' - * '/g_ausINCARRATE_RISING_DIFF_R[8]' + * '/g_ausINCARRATE_RISING_DIFF_R[8]' + * '/g_ausINCARRATE_RISING_DIFF_R[8]' */ void g_ausINCARRATE_RISING_DIFF_R8(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) { @@ -4740,8 +7520,8 @@ void g_ausINCARRATE_RISING_DIFF_R8(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) /* * Output and update for atomic system: - * '/INCARRATE_RISING_DIFF_R[7]' - * '/INCARRATE_RISING_DIFF_R[7]' + * '/INCARRATE_RISING_DIFF_R[7]' + * '/INCARRATE_RISING_DIFF_R[7]' */ void INCARRATE_RISING_DIFF_R7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) { @@ -4751,29 +7531,40 @@ void INCARRATE_RISING_DIFF_R7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) /* * Output and update for action system: - * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ void u_b3(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_m(rtu_lvl, rty_out); } +/* + * Output and update for action system: + * '/Èíèöèàëèçàöèÿ RL' + * '/Èíèöèàëèçàöèÿ RR' + */ +void RL(int16_t rtu_temp_in, double *rty_temp_out) +{ + /* DataTypeConversion: '/Data Type Conversion' */ + *rty_temp_out = rtu_temp_in; +} + /* * Output and update for atomic system: - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' * ... */ void AFAutoFoot(uint16_t rty_out[8]) @@ -4788,16 +7579,16 @@ void AFAutoFoot(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' * ... */ void AFAutoFootsummer(uint16_t rty_out[8]) @@ -4812,16 +7603,16 @@ void AFAutoFootsummer(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' * ... */ void AFBilevel(uint16_t rty_out[8]) @@ -4836,16 +7627,16 @@ void AFBilevel(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' * ... */ void AFBilevel2(uint16_t rty_out[8]) @@ -4860,16 +7651,16 @@ void AFBilevel2(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' * ... */ void AFDefrost(uint16_t rty_out[8]) @@ -4884,16 +7675,16 @@ void AFDefrost(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' * ... */ void AFFoot(uint16_t rty_out[8]) @@ -4908,16 +7699,16 @@ void AFFoot(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' * ... */ void AFFootDef(uint16_t rty_out[8]) @@ -4932,16 +7723,16 @@ void AFFootDef(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' * ... */ void AFHidefvent(uint16_t rty_out[8]) @@ -4956,16 +7747,16 @@ void AFHidefvent(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' * ... */ void AFTrimode(uint16_t rty_out[8]) @@ -4980,16 +7771,16 @@ void AFTrimode(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF VENT' - * '/AF VENT (fail safe)' - * '/AF VENT' - * '/AF VENT (fail safe)' - * '/AF VENT' - * '/AF VENT (fail safe)' - * '/AF VENT' - * '/AF VENT (fail safe)' - * '/AF VENT' - * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' * ... */ void AFVENT(uint16_t rty_out[8]) @@ -5004,10 +7795,10 @@ void AFVENT(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/closest speed' - * '/closest speed' - * '/closest speed' - * '/closest speed' + * '/closest speed' + * '/closest speed' + * '/closest speed' + * '/closest speed' */ void closestspeed(const uint16_t rtu_AF_for_speed[8], uint16_t rtu_AF_value, uint8_t *rty_idx) @@ -5044,8 +7835,8 @@ void closestspeed(const uint16_t rtu_AF_for_speed[8], uint16_t rtu_AF_value, /* * Output and update for atomic system: - * '/AF REAR Bi Level' - * '/AF REAR Bi Level' + * '/AF REAR Bi Level' + * '/AF REAR Bi Level' */ void AFREARBiLevel(uint16_t rty_out[8]) { @@ -5059,8 +7850,8 @@ void AFREARBiLevel(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF REAR Foot' - * '/AF REAR Foot' + * '/AF REAR Foot' + * '/AF REAR Foot' */ void AFREARFoot(uint16_t rty_out[8]) { @@ -5074,10 +7865,10 @@ void AFREARFoot(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF REAR VENT AUTO' - * '/AF REAR VENT AUTO1' - * '/AF REAR VENT AUTO' - * '/AF REAR VENT AUTO1' + * '/AF REAR VENT AUTO' + * '/AF REAR VENT AUTO1' + * '/AF REAR VENT AUTO' + * '/AF REAR VENT AUTO1' */ void AFREARVENTAUTO(uint16_t rty_out[8]) { @@ -5091,8 +7882,8 @@ void AFREARVENTAUTO(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/direction for REAR index mode' - * '/direction for REAR index mode1' + * '/direction for REAR index mode' + * '/direction for REAR index mode1' */ void directionforREARindexmode(uint16_t rtu_index_mode, double rty_Y[4]) { @@ -5199,113 +7990,119 @@ void directionforREARindexmode(uint16_t rtu_index_mode, double rty_Y[4]) } } +/* Function for Chart: '/Zone_Climate_Logic_Auto_FL' */ +static void enter_internal_MANUAL_MODE(uint8_t rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t *rty_out_def, uint8_t *rty_out_face, uint8_t + *rty_out_foot, DW_Zone_Climate_Logic_Auto_FL *localDW) +{ + /* Chart: '/Zone_Climate_Logic_Auto_FL' */ + /* : sf_internal_predicateOutput = btn_def == 1; */ + if (rtu_btn_def == 1) { + localDW->is_DEF_SUB = IN_Def_On; + + /* : out_def=1; */ + *rty_out_def = 1U; + } else { + localDW->is_DEF_SUB = IN_Def_Off; + + /* : out_def=0; */ + *rty_out_def = 0U; + } + + /* : sf_internal_predicateOutput = btn_face == 1; */ + if (rtu_btn_face == 1) { + localDW->is_FACE_SUB = IN_Face_On; + + /* : out_face=1; */ + *rty_out_face = 1U; + } else { + localDW->is_FACE_SUB = IN_Face_Off; + + /* : out_face=0; */ + *rty_out_face = 0U; + } + + /* : sf_internal_predicateOutput = btn_foot == 1; */ + if (rtu_btn_foot == 1) { + localDW->is_FOOT_SUB = IN_Foot_On; + + /* : out_foot=1; */ + *rty_out_foot = 1U; + } else { + localDW->is_FOOT_SUB = IN_Foot_Off; + + /* : out_foot=0; */ + *rty_out_foot = 0U; + } + + /* End of Chart: '/Zone_Climate_Logic_Auto_FL' */ +} + /* * System initialize for atomic system: - * '/Zone_Climate_Logic_Auto_FL2' - * '/Zone_Climate_Logic_Auto_FL3' + * '/Zone_Climate_Logic_Auto_FL' + * '/Zone_Climate_Logic_Auto_FR' */ -void Zone_Climate_Logic_Auto_FL2_Init(uint8_t *rty_out_def, uint8_t - *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double - *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW) +void Zone_Climate_Logic_Auto_FL_Init(uint8_t *rty_out_def, uint8_t *rty_out_face, + uint8_t *rty_out_foot, uint8_t *rty_out_auto, DW_Zone_Climate_Logic_Auto_FL + *localDW) { *rty_out_def = 0U; *rty_out_face = 0U; *rty_out_foot = 0U; *rty_out_auto = 0U; - *rty_out_ac = 0.0; - localDW->is_active_c783_HVAC_model = 0U; - localDW->is_c783_HVAC_model = IN_NO_ACTIVE_CHILD; - localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD; + localDW->is_active_c681_HVAC_model = 0U; + localDW->is_c681_HVAC_model = IN_NO_ACTIVE_CHILD; localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD; localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD; localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_AC_SUB_f = IN_NO_ACTIVE_CHILD; } /* * Output and update for atomic system: - * '/Zone_Climate_Logic_Auto_FL2' - * '/Zone_Climate_Logic_Auto_FL3' + * '/Zone_Climate_Logic_Auto_FL' + * '/Zone_Climate_Logic_Auto_FR' */ -void Zone_Climate_Logic_Auto_FL2(double rtu_btn_def, uint8_t rtu_btn_face, - uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, uint8_t - *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t - *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW) +void Zone_Climate_Logic_Auto_FL(uint8_t rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, + DW_Zone_Climate_Logic_Auto_FL *localDW) { - /* Chart: '/Zone_Climate_Logic_Auto_FL2' */ - if (localDW->is_active_c783_HVAC_model == 0U) { - localDW->is_active_c783_HVAC_model = 1U; - localDW->is_c783_HVAC_model = IN_MANUAL_MODE; + /* Chart: '/Zone_Climate_Logic_Auto_FL' */ + if (localDW->is_active_c681_HVAC_model == 0U) { + localDW->is_active_c681_HVAC_model = 1U; + localDW->is_c681_HVAC_model = IN_MANUAL_MODE; - /* : out_def = 0; */ + /* : out_auto = 0; */ + *rty_out_auto = 0U; + enter_internal_MANUAL_MODE(rtu_btn_def, rtu_btn_face, rtu_btn_foot, + rty_out_def, rty_out_face, rty_out_foot, localDW); + } else if (localDW->is_c681_HVAC_model == IN_AUTO_MODE) { *rty_out_def = 0U; + *rty_out_face = 0U; + *rty_out_foot = 0U; - /* : out_face = 1; */ - *rty_out_face = 1U; - - /* : out_foot = 1; */ - *rty_out_foot = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - localDW->is_DEF_SUB = IN_Def_Off; - localDW->is_FACE_SUB = IN_Face_Off; - localDW->is_FOOT_SUB = IN_Foot_Off; - localDW->is_AC_SUB_f = IN_AC_Off; - } else if (localDW->is_c783_HVAC_model == IN_AUTO_MODE) { /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ - if ((rtu_btn_auto == 0) || (rtu_btn_def == 1.0) || (rtu_btn_face == 1) || + if ((rtu_btn_auto == 0) || (rtu_btn_def == 1) || (rtu_btn_face == 1) || (rtu_btn_foot == 1)) { /* : out_auto=0; */ + localDW->is_c681_HVAC_model = IN_MANUAL_MODE; + + /* : out_auto = 0; */ *rty_out_auto = 0U; - localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_c783_HVAC_model = IN_MANUAL_MODE; - - /* : out_def = 0; */ - *rty_out_def = 0U; - - /* : out_face = 1; */ - *rty_out_face = 1U; - - /* : out_foot = 1; */ - *rty_out_foot = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - localDW->is_DEF_SUB = IN_Def_Off; - localDW->is_FACE_SUB = IN_Face_Off; - localDW->is_FOOT_SUB = IN_Foot_Off; - localDW->is_AC_SUB_f = IN_AC_Off; - } else if (localDW->is_AC_SUB == IN_AC_Off) { - /* : sf_internal_predicateOutput = btn_ac == 1; */ - if (rtu_btn_ac == 1) { - /* : out_ac=1 */ - localDW->is_AC_SUB = IN_AC_On; - - /* : out_ac = 1; */ - *rty_out_ac = 1.0; - } - - /* case IN_AC_On: */ - /* : sf_internal_predicateOutput = btn_ac == 0; */ - } else if (rtu_btn_ac == 0) { - /* : out_ac=0 */ - *rty_out_ac = 0.0; - localDW->is_AC_SUB = IN_AC_Off; + enter_internal_MANUAL_MODE(rtu_btn_def, rtu_btn_face, rtu_btn_foot, + rty_out_def, rty_out_face, rty_out_foot, localDW); } /* case IN_MANUAL_MODE: */ - /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ - } else if ((rtu_btn_auto == 1) || ((*rty_out_def == 0) && (*rty_out_face == 0) - && (*rty_out_foot == 0))) { + /* : sf_internal_predicateOutput = btn_auto == 1 || (btn_def == 0 && btn_face == 0 && btn_foot == 0); */ + } else if ((rtu_btn_auto == 1) || ((rtu_btn_def == 0) && (rtu_btn_face == 0) && + (rtu_btn_foot == 0))) { /* : out_auto=1; */ - localDW->is_AC_SUB_f = IN_NO_ACTIVE_CHILD; localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD; localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD; localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_c783_HVAC_model = IN_AUTO_MODE; + localDW->is_c681_HVAC_model = IN_AUTO_MODE; /* : out_auto = 1; */ *rty_out_auto = 1U; @@ -5318,83 +8115,283 @@ void Zone_Climate_Logic_Auto_FL2(double rtu_btn_def, uint8_t rtu_btn_face, /* : out_foot = 0; */ *rty_out_foot = 0U; - localDW->is_AC_SUB = IN_AC_On; - - /* : out_ac = 1; */ - *rty_out_ac = 1.0; } else { if (localDW->is_DEF_SUB == IN_Def_Off) { - /* : sf_internal_predicateOutput = btn_def == 1; */ - if (rtu_btn_def == 1.0) { - /* : out_def=1 */ - *rty_out_def = 1U; - localDW->is_DEF_SUB = IN_Def_On; - } - - /* case IN_Def_On: */ - /* : sf_internal_predicateOutput = btn_def == 0; */ - } else if (rtu_btn_def == 0.0) { - /* : out_def=0 */ *rty_out_def = 0U; - localDW->is_DEF_SUB = IN_Def_Off; + + /* : sf_internal_predicateOutput = btn_def == 1; */ + if (rtu_btn_def == 1) { + localDW->is_DEF_SUB = IN_Def_On; + + /* : out_def=1; */ + *rty_out_def = 1U; + } + } else { + /* case IN_Def_On: */ + *rty_out_def = 1U; + + /* : sf_internal_predicateOutput = btn_def == 0; */ + if (rtu_btn_def == 0) { + localDW->is_DEF_SUB = IN_Def_Off; + + /* : out_def=0; */ + *rty_out_def = 0U; + } } if (localDW->is_FACE_SUB == IN_Face_Off) { + *rty_out_face = 0U; + /* : sf_internal_predicateOutput = btn_face == 1; */ if (rtu_btn_face == 1) { - /* : out_face=1 */ - *rty_out_face = 1U; localDW->is_FACE_SUB = IN_Face_On; - } + /* : out_face=1; */ + *rty_out_face = 1U; + } + } else { /* case IN_Face_On: */ + *rty_out_face = 1U; + /* : sf_internal_predicateOutput = btn_face == 0; */ - } else if (rtu_btn_face == 0) { - /* : out_face=0 */ - *rty_out_face = 0U; - localDW->is_FACE_SUB = IN_Face_Off; + if (rtu_btn_face == 0) { + localDW->is_FACE_SUB = IN_Face_Off; + + /* : out_face=0; */ + *rty_out_face = 0U; + } } if (localDW->is_FOOT_SUB == IN_Foot_Off) { + *rty_out_foot = 0U; + /* : sf_internal_predicateOutput = btn_foot == 1; */ if (rtu_btn_foot == 1) { - /* : out_foot=1 */ - *rty_out_foot = 1U; localDW->is_FOOT_SUB = IN_Foot_On; - } + /* : out_foot=1; */ + *rty_out_foot = 1U; + } + } else { /* case IN_Foot_On: */ + *rty_out_foot = 1U; + /* : sf_internal_predicateOutput = btn_foot == 0; */ - } else if (rtu_btn_foot == 0) { - /* : out_foot=0 */ - *rty_out_foot = 0U; - localDW->is_FOOT_SUB = IN_Foot_Off; - } + if (rtu_btn_foot == 0) { + localDW->is_FOOT_SUB = IN_Foot_Off; - if (localDW->is_AC_SUB_f == IN_AC_Off) { - /* : sf_internal_predicateOutput = btn_ac == 1; */ - if (rtu_btn_ac == 1) { - /* : out_ac=1 */ - *rty_out_ac = 1.0; - localDW->is_AC_SUB_f = IN_AC_On; + /* : out_foot=0; */ + *rty_out_foot = 0U; } - - /* case IN_AC_On: */ - /* : sf_internal_predicateOutput = btn_ac == 0; */ - } else if (rtu_btn_ac == 0) { - /* : out_ac=0 */ - *rty_out_ac = 0.0; - localDW->is_AC_SUB_f = IN_AC_Off; } } - /* End of Chart: '/Zone_Climate_Logic_Auto_FL2' */ + /* End of Chart: '/Zone_Climate_Logic_Auto_FL' */ +} + +/* Function for Chart: '/Zone_Climate_Logic_Auto_RL' */ +static void enter_internal_MANUAL_MODE_l(uint8_t rtu_btn_def, uint8_t + rtu_btn_face, uint8_t rtu_btn_foot, uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, DW_Zone_Climate_Logic_Auto_RL *localDW) +{ + /* Chart: '/Zone_Climate_Logic_Auto_RL' */ + /* : sf_internal_predicateOutput = btn_def == 1; */ + if (rtu_btn_def == 1) { + localDW->is_DEF_SUB = IN_Def_On_b; + + /* : out_def=1; */ + *rty_out_def = 1U; + } else { + localDW->is_DEF_SUB = IN_Def_Off_c; + + /* : out_def=0; */ + *rty_out_def = 0U; + } + + /* : sf_internal_predicateOutput = btn_face == 1; */ + if (rtu_btn_face == 1) { + localDW->is_FACE_SUB = IN_Face_On_o; + + /* : out_face=1; */ + *rty_out_face = 1U; + } else { + localDW->is_FACE_SUB = IN_Face_Off_l; + + /* : out_face=0; */ + *rty_out_face = 0U; + } + + /* : sf_internal_predicateOutput = btn_foot == 1; */ + if (rtu_btn_foot == 1) { + localDW->is_FOOT_SUB = IN_Foot_On_m; + + /* : out_foot=1; */ + *rty_out_foot = 1U; + } else { + localDW->is_FOOT_SUB = IN_Foot_Off_f; + + /* : out_foot=0; */ + *rty_out_foot = 0U; + } + + /* End of Chart: '/Zone_Climate_Logic_Auto_RL' */ +} + +/* + * System initialize for atomic system: + * '/Zone_Climate_Logic_Auto_RL' + * '/Zone_Climate_Logic_Auto_RR' + */ +void Zone_Climate_Logic_Auto_RL_Init(uint8_t *rty_out_def, uint8_t *rty_out_face, + uint8_t *rty_out_foot, uint8_t *rty_out_auto, DW_Zone_Climate_Logic_Auto_RL + *localDW) +{ + *rty_out_def = 0U; + *rty_out_face = 0U; + *rty_out_foot = 0U; + *rty_out_auto = 0U; + localDW->is_active_c783_HVAC_model = 0U; + localDW->is_c783_HVAC_model = IN_NO_ACTIVE_CHILD_d; + localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD_d; + localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD_d; + localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD_d; } /* * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' + * '/Zone_Climate_Logic_Auto_RL' + * '/Zone_Climate_Logic_Auto_RR' + */ +void Zone_Climate_Logic_Auto_RL(uint8_t rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, + DW_Zone_Climate_Logic_Auto_RL *localDW) +{ + /* Chart: '/Zone_Climate_Logic_Auto_RL' */ + if (localDW->is_active_c783_HVAC_model == 0U) { + localDW->is_active_c783_HVAC_model = 1U; + localDW->is_c783_HVAC_model = IN_MANUAL_MODE_h; + + /* : out_auto = 0; */ + *rty_out_auto = 0U; + enter_internal_MANUAL_MODE_l(rtu_btn_def, rtu_btn_face, rtu_btn_foot, + rty_out_def, rty_out_face, rty_out_foot, localDW); + } else if (localDW->is_c783_HVAC_model == IN_AUTO_MODE_i) { + *rty_out_def = 0U; + *rty_out_face = 0U; + *rty_out_foot = 0U; + + /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ + if ((rtu_btn_auto == 0) || (rtu_btn_def == 1) || (rtu_btn_face == 1) || + (rtu_btn_foot == 1)) { + /* : out_auto=0; */ + localDW->is_c783_HVAC_model = IN_MANUAL_MODE_h; + + /* : out_auto = 0; */ + *rty_out_auto = 0U; + enter_internal_MANUAL_MODE_l(rtu_btn_def, rtu_btn_face, rtu_btn_foot, + rty_out_def, rty_out_face, rty_out_foot, localDW); + } + + /* case IN_MANUAL_MODE: */ + /* : sf_internal_predicateOutput = btn_auto == 1 || (btn_def == 0 && btn_face == 0 && btn_foot == 0); */ + } else if ((rtu_btn_auto == 1) || ((rtu_btn_def == 0) && (rtu_btn_face == 0) && + (rtu_btn_foot == 0))) { + /* : out_auto=1; */ + localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD_d; + localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD_d; + localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD_d; + localDW->is_c783_HVAC_model = IN_AUTO_MODE_i; + + /* : out_auto = 1; */ + *rty_out_auto = 1U; + + /* : out_def = 0; */ + *rty_out_def = 0U; + + /* : out_face = 0; */ + *rty_out_face = 0U; + + /* : out_foot = 0; */ + *rty_out_foot = 0U; + } else { + if (localDW->is_DEF_SUB == IN_Def_Off_c) { + *rty_out_def = 0U; + + /* : sf_internal_predicateOutput = btn_def == 1; */ + if (rtu_btn_def == 1) { + localDW->is_DEF_SUB = IN_Def_On_b; + + /* : out_def=1; */ + *rty_out_def = 1U; + } + } else { + /* case IN_Def_On: */ + *rty_out_def = 1U; + + /* : sf_internal_predicateOutput = btn_def == 0; */ + if (rtu_btn_def == 0) { + localDW->is_DEF_SUB = IN_Def_Off_c; + + /* : out_def=0; */ + *rty_out_def = 0U; + } + } + + if (localDW->is_FACE_SUB == IN_Face_Off_l) { + *rty_out_face = 0U; + + /* : sf_internal_predicateOutput = btn_face == 1; */ + if (rtu_btn_face == 1) { + localDW->is_FACE_SUB = IN_Face_On_o; + + /* : out_face=1; */ + *rty_out_face = 1U; + } + } else { + /* case IN_Face_On: */ + *rty_out_face = 1U; + + /* : sf_internal_predicateOutput = btn_face == 0; */ + if (rtu_btn_face == 0) { + localDW->is_FACE_SUB = IN_Face_Off_l; + + /* : out_face=0; */ + *rty_out_face = 0U; + } + } + + if (localDW->is_FOOT_SUB == IN_Foot_Off_f) { + *rty_out_foot = 0U; + + /* : sf_internal_predicateOutput = btn_foot == 1; */ + if (rtu_btn_foot == 1) { + localDW->is_FOOT_SUB = IN_Foot_On_m; + + /* : out_foot=1; */ + *rty_out_foot = 1U; + } + } else { + /* case IN_Foot_On: */ + *rty_out_foot = 1U; + + /* : sf_internal_predicateOutput = btn_foot == 0; */ + if (rtu_btn_foot == 0) { + localDW->is_FOOT_SUB = IN_Foot_Off_f; + + /* : out_foot=0; */ + *rty_out_foot = 0U; + } + } + } + + /* End of Chart: '/Zone_Climate_Logic_Auto_RL' */ +} + +/* + * Output and update for atomic system: + * '/AF for Bi Level' + * '/AF for Bi Level' */ void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -5411,8 +8408,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) { @@ -5429,8 +8426,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) { @@ -5447,8 +8444,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) { @@ -5465,8 +8462,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) { @@ -5483,8 +8480,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) { @@ -5501,8 +8498,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) { @@ -5519,29 +8516,29 @@ void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for enable system: - * '/Rear Left AF - manual directions' - * '/Rear Right AF - manual directions' + * '/Rear Left AF - manual directions' + * '/Rear Right AF - manual directions' */ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, uint8_t rtu_faceison, uint8_t rtu_footison, uint16_t *rty_AFout) { int32_t tmp; - /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' incorporates: + * EnablePort: '/Enable' */ if (rtu_Enable) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Gain: '/Gain2' - * MATLAB Function: '/AF for Bi Level R' - * MATLAB Function: '/AF for Foot R' - * MATLAB Function: '/AF for Vent mode R' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Gain: '/Gain2' + * MATLAB Function: '/AF for Bi Level R' + * MATLAB Function: '/AF for Foot R' + * MATLAB Function: '/AF for Vent mode R' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ /* : out = uint16(g_ausFLOW_RE_BI2BLR_AF(blower_speed + 1)); */ /* : out = uint16(g_ausFLOW_RE_FO2BLR_AF(blower_speed + 1)); */ @@ -5553,7 +8550,7 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; case 1: - /* MATLAB Function: '/AF for Vent mode R' */ + /* MATLAB Function: '/AF for Vent mode R' */ tmp = (int32_t)(rtu_blowerspeed + 1U); if (rtu_blowerspeed + 1U > 255U) { tmp = 255; @@ -5563,7 +8560,7 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; case 2: - /* MATLAB Function: '/AF for Foot R' */ + /* MATLAB Function: '/AF for Foot R' */ tmp = (int32_t)(rtu_blowerspeed + 1U); if (rtu_blowerspeed + 1U > 255U) { tmp = 255; @@ -5573,7 +8570,7 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; default: - /* MATLAB Function: '/AF for Bi Level R' */ + /* MATLAB Function: '/AF for Bi Level R' */ tmp = (int32_t)(rtu_blowerspeed + 1U); if (rtu_blowerspeed + 1U > 255U) { tmp = 255; @@ -5583,16 +8580,16 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ } /* * Output and update for atomic system: - * '/func g_ascAUTO_STEP_AF_F' - * '/func g_ascAUTO_STEP_AF_F' + * '/func g_ascAUTO_STEP_AF_F' + * '/func g_ascAUTO_STEP_AF_F' */ void funcg_ascAUTO_STEP_AF_F(double rtu_AF_STEP, int8_t *rty_y) { @@ -5602,8 +8599,8 @@ void funcg_ascAUTO_STEP_AF_F(double rtu_AF_STEP, int8_t *rty_y) /* * Output and update for atomic system: - * '/param index for mode' - * '/param index for mode' + * '/param index for mode' + * '/param index for mode' */ void paramindexformode(uint8_t rtu_index_mode, double *rty_Y) { @@ -5691,8 +8688,8 @@ void paramindexformode(uint8_t rtu_index_mode, double *rty_Y) /* * Output and update for atomic system: - * '/param index for mode' - * '/param index for mode' + * '/param index for mode' + * '/param index for mode' */ void paramindexformode_h(uint16_t rtu_index_mode, double *rty_Y) { @@ -5768,16 +8765,16 @@ void paramindexformode_h(uint16_t rtu_index_mode, double *rty_Y) /* * Output and update for atomic system: - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' * ... */ void AFforspeed(const uint16_t rtu_mode[8], double rtu_blower_speed, uint16_t @@ -5789,8 +8786,8 @@ void AFforspeed(const uint16_t rtu_mode[8], double rtu_blower_speed, uint16_t /* * System initialize for atomic system: - * '/filter sensor' - * '/filter sensor' + * '/filter sensor' + * '/filter sensor' */ void filtersensor_Init(DW_filtersensor *localDW) { @@ -5799,8 +8796,8 @@ void filtersensor_Init(DW_filtersensor *localDW) /* * Output and update for atomic system: - * '/filter sensor' - * '/filter sensor' + * '/filter sensor' + * '/filter sensor' */ void filtersensor(double rtu_value_in, bool rtu_is_filter_active, uint32_t rtu_t_now, uint8_t rtu_level, double *rty_value_filtered, @@ -5851,12 +8848,12 @@ void filtersensor(double rtu_value_in, bool rtu_is_filter_active, uint32_t /* * Output and update for atomic system: - * '/îáû÷íîå ïîíèæåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîíèæåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîíèæåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîíèæåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîíèæåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîíèæåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' */ void u_m2(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) { @@ -5873,130 +8870,130 @@ void u_m2(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) /* * Output and update for action system: - * '/âêëþ÷åí óñêîðåííûé ðåæèì' - * '/âêëþ÷åí óñêîðåííûé ðåæèì' - * '/âêëþ÷åí óñêîðåííûé ðåæèì' + * '/âêëþ÷åí óñêîðåííûé ðåæèì' + * '/âêëþ÷åí óñêîðåííûé ðåæèì' + * '/âêëþ÷åí óñêîðåííûé ðåæèì' */ void u_kb(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT) { int32_t tmp; - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(8); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_FALLING_DIFF[7]) { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' + * Merge: '/Merge' */ u_m2(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ + /* MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ tmp = rtu_lvl + 1; if (rtu_lvl + 1 > 32767) { tmp = 32767; } - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + * Merge: '/Merge' */ *rty_out = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/îáû÷íûé ðåæèì' - * '/îáû÷íûé ðåæèì' - * '/îáû÷íûé ðåæèì' + * '/îáû÷íûé ðåæèì' + * '/îáû÷íûé ðåæèì' + * '/îáû÷íûé ðåæèì' */ void u_my(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, const double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT) { int32_t tmp; - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(7); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_FALLING_DIFF[6]) { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_UNTIL_LIMIT = 1.0; - /* MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ + /* MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ /* : f_g_aucAMBRATE_FALLING_DIFF_LVL = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ tmp = rtu_lvl + 1; if (rtu_lvl + 1 > 32767) { tmp = 32767; } - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + * Merge: '/Merge' */ *rty_riseperminute = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + * Merge: '/Merge' */ u_m2(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for atomic system: - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' - * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' */ void u_h3(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) { @@ -6013,12 +9010,12 @@ void u_h3(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) /* * Output and update for atomic system: - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' - * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' + * '/óñêîðåííîå ïîâûøåíèå òåìï.' */ void u_fr(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) { @@ -6035,104 +9032,104 @@ void u_fr(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) /* * Output and update for action system: - * '/âêëþ÷åí óñêîðåííûé ðåæèì' - * '/âêëþ÷åí óñêîðåííûé ðåæèì' - * '/âêëþ÷åí óñêîðåííûé ðåæèì' + * '/âêëþ÷åí óñêîðåííûé ðåæèì' + * '/âêëþ÷åí óñêîðåííûé ðåæèì' + * '/âêëþ÷åí óñêîðåííûé ðåæèì' */ void u_p(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(8); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_RISING_DIFF[7]) { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_RISING_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_h3(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_fr(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/îáû÷íûé ðåæèì' - * '/îáû÷íûé ðåæèì' - * '/îáû÷íûé ðåæèì' + * '/îáû÷íûé ðåæèì' + * '/îáû÷íûé ðåæèì' + * '/îáû÷íûé ðåæèì' */ void u_g2(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, const double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_RISING_DIFF[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(7); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_RISING_DIFF[6]) { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_RISING_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_fr(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_h3(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for atomic system: - * '/MATLAB Function2' - * '/MATLAB Function5' + * '/MATLAB Function2' + * '/MATLAB Function5' */ void MATLABFunction2(double rty_y[11]) { @@ -6147,8 +9144,8 @@ void MATLABFunction2(double rty_y[11]) /* * Output and update for atomic system: - * '/MATLAB Function3' - * '/MATLAB Function6' + * '/MATLAB Function3' + * '/MATLAB Function6' */ void MATLABFunction3(double rty_y[11]) { @@ -6163,8 +9160,8 @@ void MATLABFunction3(double rty_y[11]) /* * Output and update for atomic system: - * '/MATLAB Function4' - * '/MATLAB Function7' + * '/MATLAB Function4' + * '/MATLAB Function7' */ void MATLABFunction4(double rty_y[11]) { @@ -6179,8 +9176,8 @@ void MATLABFunction4(double rty_y[11]) /* * Output and update for atomic system: - * '/valves_rear' - * '/valves_rear1' + * '/valves_rear' + * '/valves_rear1' */ void valves_rear(uint8_t rtu_MODE, uint16_t rty_get_valves[6]) { @@ -6235,54 +9232,54 @@ void valves_rear(uint8_t rtu_MODE, uint16_t rty_get_valves[6]) /* * Output and update for action system: - * '/If Action Subsystem2' - * '/If Action Subsystem5' + * '/If Action Subsystem2' + * '/If Action Subsystem5' */ void IfActionSubsystem2(int16_t *rty_Out1) { - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/Constant' */ *rty_Out1 = 0; } /* * Output and update for action system: - * '/If Action Subsystem' - * '/If Action Subsystem' - * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' */ void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private, double *rtd_Start_timer_n, int8_t *rtd_stepSig_private) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_stepSig_private = 1; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Sum: '/step inc' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Sum: '/step inc' */ (*rtd_ErrorHomming_private)++; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ *rtd_Start_timer_n = 0.0; - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/Constant1' */ *rty_Out1 = 2; } /* * System initialize for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction_Init(DW_MATLABFunction *localDW) { @@ -6292,9 +9289,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) @@ -6341,9 +9338,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 @@ -6354,32 +9351,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) { @@ -6394,40 +9391,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: - * '/choose sensor FLL' - * '/choose sensor FRightLower' + * '/choose sensor FLL' + * '/choose sensor FRightLower' */ void choosesensorFLL(int16_t rtu_sensor_duct_foot1, int16_t rtu_sensor_duct_foot2, bool rtu_duct_error_foot1, bool @@ -6503,12 +9500,12 @@ void choosesensorFLL(int16_t rtu_sensor_duct_foot1, int16_t /* * System initialize for atomic system: - * '/MATLAB Function' - * '/MATLAB Function1' - * '/MATLAB Function2' - * '/MATLAB Function3' - * '/MATLAB Function4' - * '/MATLAB Function5' + * '/MATLAB Function' + * '/MATLAB Function1' + * '/MATLAB Function2' + * '/MATLAB Function3' + * '/MATLAB Function4' + * '/MATLAB Function5' */ void MATLABFunction_k_Init(DW_MATLABFunction_n *localDW) { @@ -6524,12 +9521,12 @@ void MATLABFunction_k_Init(DW_MATLABFunction_n *localDW) /* * Output and update for atomic system: - * '/MATLAB Function' - * '/MATLAB Function1' - * '/MATLAB Function2' - * '/MATLAB Function3' - * '/MATLAB Function4' - * '/MATLAB Function5' + * '/MATLAB Function' + * '/MATLAB Function1' + * '/MATLAB Function2' + * '/MATLAB Function3' + * '/MATLAB Function4' + * '/MATLAB Function5' */ void MATLABFunction_m(double rtu_setpoint, double rtu_input, double rtu_dt, double rtu_Kp, double rtu_Ki, double rtu_Kd, double @@ -6641,8 +9638,8 @@ void MATLABFunction_m(double rtu_setpoint, double rtu_input, double rtu_dt, /* * System initialize for atomic system: - * '/filter PWM front' - * '/filter PWM rear' + * '/filter PWM front' + * '/filter PWM front1' */ void filterPWMfront_Init(DW_filterPWMfront *localDW) { @@ -6651,60 +9648,54 @@ void filterPWMfront_Init(DW_filterPWMfront *localDW) /* * Output and update for atomic system: - * '/filter PWM front' - * '/filter PWM rear' + * '/filter PWM front' + * '/filter PWM front1' */ void filterPWMfront(uint8_t rtu_PWM_in, uint32_t rtu_dt_ms, uint8_t *rty_PWM_out, DW_filterPWMfront *localDW) { double max_up; - int32_t tmp; - uint32_t qY; - /* : rate_up = 30; */ + /* : rate_up = 60; */ /* : if isempty(PWM_prev) */ if (!localDW->PWM_prev_not_empty) { - /* : PWM_prev = PWM_in; */ + /* : PWM_prev = double(PWM_in); */ localDW->PWM_prev = rtu_PWM_in; localDW->PWM_prev_not_empty = true; } /* : dt = double(dt_ms) / 1000; */ /* : max_up = rate_up * dt; */ - max_up = (double)rtu_dt_ms / 1000.0 * 30.0; + max_up = (double)rtu_dt_ms / 1000.0 * 60.0; - /* : delta = PWM_in - PWM_prev; */ + /* : delta = double(PWM_in) - PWM_prev; */ /* : if delta > max_up */ - /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - qY = (uint32_t)rtu_PWM_in - /*MW:OvSatOk*/ localDW->PWM_prev; - - /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ - if (qY > rtu_PWM_in) { - qY = 0U; - } - - if (qY > max_up) { - /* : PWM_out = PWM_prev + max_up; */ - tmp = (int32_t)rt_roundd((double)localDW->PWM_prev + max_up); - if (tmp < 256) { - *rty_PWM_out = (uint8_t)tmp; - } else { - *rty_PWM_out = UINT8_MAX; - } + if ((double)rtu_PWM_in - localDW->PWM_prev > max_up) { + /* : PWM_prev = PWM_prev + max_up; */ + localDW->PWM_prev += max_up; } else { /* : else */ - /* : PWM_out = PWM_in; */ - *rty_PWM_out = rtu_PWM_in; + /* : PWM_prev = double(PWM_in); */ + localDW->PWM_prev = rtu_PWM_in; } - /* : PWM_prev = PWM_out; */ - localDW->PWM_prev = *rty_PWM_out; + /* : PWM_out = uint8(round(PWM_prev)); */ + max_up = rt_roundd(localDW->PWM_prev); + if (max_up < 256.0) { + if (max_up >= 0.0) { + *rty_PWM_out = (uint8_t)max_up; + } else { + *rty_PWM_out = 0U; + } + } else { + *rty_PWM_out = UINT8_MAX; + } } /* * Output and update for atomic system: - * '/MODE_for_set_and_lvl' - * '/MODE_for_set_and_lvl1' + * '/MODE_for_set_and_lvl' + * '/MODE_for_set_and_lvl1' */ void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t *rty_get_mode) @@ -6745,8 +9736,8 @@ void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t /* * Output and update for atomic system: - * '/increase' - * '/increase' + * '/increase' + * '/increase' */ void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t *rty_y) @@ -6773,8 +9764,8 @@ void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t /* * Output and update for atomic system: - * '/decrease' - * '/decrease' + * '/decrease' + * '/decrease' */ void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t *rty_y) @@ -6801,8 +9792,8 @@ void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t /* * Output and update for atomic system: - * '/valves_rear_left' - * '/valves_rear_right' + * '/valves_rear_left' + * '/valves_rear_right' */ void valves_rear_left(uint16_t rtu_MODE, uint16_t rty_get_valves[6]) { @@ -6849,8 +9840,8 @@ void valves_rear_left(uint16_t rtu_MODE, uint16_t rty_get_valves[6]) /* * Output and update for atomic system: - * '/Valves for Bi Level' - * '/Valves for Bi Level' + * '/Valves for Bi Level' + * '/Valves for Bi Level' */ void ValvesforBiLevel(uint16_t rty_out[9]) { @@ -6864,8 +9855,8 @@ void ValvesforBiLevel(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]) { @@ -6879,8 +9870,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]) { @@ -6894,8 +9885,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]) { @@ -6909,8 +9900,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_i(uint16_t rty_out[6]) { @@ -6924,8 +9915,8 @@ void AFforBiLevel_i(uint16_t rty_out[6]) /* * Output and update for atomic system: - * '/valves for Vent mode' - * '/valves for Vent mode' + * '/valves for Vent mode' + * '/valves for Vent mode' */ void valvesforVentmode(uint16_t rty_out[6]) { @@ -6939,8 +9930,8 @@ void valvesforVentmode(uint16_t rty_out[6]) /* * Output and update for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction_o(bool rtu_is_active, bool rtu_Txv_on, uint8_t *rty_winter_condition_state) @@ -6998,8 +9989,8 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *Eva_F_tg, const * DataStoreRead: '/Data Store Read37' * DataStoreRead: '/Data Store Read52' * DataStoreRead: '/Data Store Read54' - * DataStoreWrite: '/Data Store Write35' - * DataStoreWrite: '/Data Store Write36' + * DataStoreWrite: '/Data Store Write35' + * DataStoreWrite: '/Data Store Write36' */ if ((tmp && tmp_0 && (!rtDW.Chiller_Start_request)) || rtDW.Pressure_Hi_Fault || (!rtDW.Pressure_Condition_table_OK) || @@ -7130,196 +10121,6 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *Eva_F_tg, const } } -/* Function for Chart: '/Synchronization stateflow chart' */ -static void enter_atomic_REAR_ONLY(void) -{ - /* : sync_state = 3; */ - /* : sync_front = 0; */ - rtB.sync_front = 0U; - - /* : sync_rear = 1; */ - rtB.sync_rear = 1U; - - /* : sync_all = 0; */ - rtB.sync_all = 0U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - - /* : enable_front_sync = 0; */ - rtDW.enable_front_sync = 0U; - - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0 */ - rtDW.changed_RR_params = 0U; -} - -/* Function for Chart: '/Synchronization stateflow chart' */ -static void enter_atomic_FRONT_ONLY(void) -{ - /* : sync_state = 1; */ - /* : sync_front = 1; */ - rtB.sync_front = 1U; - - /* : sync_rear = 0; */ - rtB.sync_rear = 0U; - - /* : sync_all = 0; */ - rtB.sync_all = 0U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - - /* : enable_front_sync = 0; */ - rtDW.enable_front_sync = 0U; - - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0 */ - rtDW.changed_RR_params = 0U; -} - -/* Function for Chart: '/Synchronization stateflow chart' */ -static void enter_atomic_FULL_SYNC(void) -{ - /* : sync_state = 2; */ - /* : sync_front = 0; */ - rtB.sync_front = 0U; - - /* : sync_rear = 0; */ - rtB.sync_rear = 0U; - - /* : sync_all = 1; */ - rtB.sync_all = 1U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - - /* : enable_front_sync = 0; */ - rtDW.enable_front_sync = 0U; - - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0 */ - rtDW.changed_RR_params = 0U; -} - -/* Function for Chart: '/Synchronization stateflow chart' */ -static void enter_atomic_SEPARATE_FRONT_AND_REAR(void) -{ - /* : sync_state = 4; */ - /* : sync_front = 1; */ - rtB.sync_front = 1U; - - /* : sync_rear = 1; */ - rtB.sync_rear = 1U; - - /* : sync_all = 0; */ - rtB.sync_all = 0U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - - /* : enable_front_sync = 0; */ - rtDW.enable_front_sync = 0U; - - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0 */ - rtDW.changed_RR_params = 0U; -} - -/* Function for Chart: '/Synchronization stateflow chart' */ -static void enter_atomic_NO_SYNC(void) -{ - /* : sync_state = 0; */ - /* : sync_front = 0; */ - rtB.sync_front = 0U; - - /* : sync_rear = 0; */ - rtB.sync_rear = 0U; - - /* : sync_all = 0; */ - rtB.sync_all = 0U; - - /* : enable_full_sync=0; */ - rtDW.enable_full_sync = 0U; - - /* : enable_rear_sync = 0; */ - rtDW.enable_rear_sync = 0U; - - /* : enable_front_sync = 0; */ - rtDW.enable_front_sync = 0U; - - /* : disable_front_sync = 0; */ - rtDW.disable_front_sync = 0U; - - /* : disable_rear_sync = 0; */ - rtDW.disable_rear_sync = 0U; - - /* : changed_FR_params = 0; */ - rtDW.changed_FR_params = 0U; - - /* : changed_RL_params = 0; */ - rtDW.changed_RL_params = 0U; - - /* : changed_RR_params = 0; */ - rtDW.changed_RR_params = 0U; -} - /* * Function for Chart: '/Partial REC' * function idx = find_index(delta) @@ -7345,7 +10146,7 @@ static double find_index(int16_t delta) return idx; } -/* Function for MATLAB Function: '/MATLAB Function1' */ +/* Function for MATLAB Function: '/MATLAB Function1' */ static bool isequal(const CmdCAN_FIU_CCU1_Bus varargin_1, const CmdCAN_FIU_CCU1_Bus varargin_2) { @@ -7473,10 +10274,200 @@ static bool isequal(const CmdCAN_FIU_CCU1_Bus varargin_1, const return p; } +/* Function for Chart: '/Synchronization stateflow chart' */ +static void enter_atomic_REAR_ONLY(void) +{ + /* : sync_state = 3; */ + /* : sync_front = 0; */ + rtB.sync_front = 0U; + + /* : sync_rear = 1; */ + rtB.sync_rear = 1U; + + /* : sync_all = 0; */ + rtB.sync_all = 0U; + + /* : enable_full_sync=0; */ + rtDW.enable_full_sync = 0U; + + /* : enable_rear_sync = 0; */ + rtDW.enable_rear_sync = 0U; + + /* : enable_front_sync = 0; */ + rtDW.enable_front_sync = 0U; + + /* : disable_front_sync = 0; */ + rtDW.disable_front_sync = 0U; + + /* : disable_rear_sync = 0; */ + rtDW.disable_rear_sync = 0U; + + /* : changed_FR_params = 0; */ + rtDW.changed_FR_params = 0U; + + /* : changed_RL_params = 0; */ + rtDW.changed_RL_params = 0U; + + /* : changed_RR_params = 0 */ + rtDW.changed_RR_params = 0U; +} + +/* Function for Chart: '/Synchronization stateflow chart' */ +static void enter_atomic_FRONT_ONLY(void) +{ + /* : sync_state = 1; */ + /* : sync_front = 1; */ + rtB.sync_front = 1U; + + /* : sync_rear = 0; */ + rtB.sync_rear = 0U; + + /* : sync_all = 0; */ + rtB.sync_all = 0U; + + /* : enable_full_sync=0; */ + rtDW.enable_full_sync = 0U; + + /* : enable_rear_sync = 0; */ + rtDW.enable_rear_sync = 0U; + + /* : enable_front_sync = 0; */ + rtDW.enable_front_sync = 0U; + + /* : disable_front_sync = 0; */ + rtDW.disable_front_sync = 0U; + + /* : disable_rear_sync = 0; */ + rtDW.disable_rear_sync = 0U; + + /* : changed_FR_params = 0; */ + rtDW.changed_FR_params = 0U; + + /* : changed_RL_params = 0; */ + rtDW.changed_RL_params = 0U; + + /* : changed_RR_params = 0 */ + rtDW.changed_RR_params = 0U; +} + +/* Function for Chart: '/Synchronization stateflow chart' */ +static void enter_atomic_FULL_SYNC(void) +{ + /* : sync_state = 2; */ + /* : sync_front = 0; */ + rtB.sync_front = 0U; + + /* : sync_rear = 0; */ + rtB.sync_rear = 0U; + + /* : sync_all = 1; */ + rtB.sync_all = 1U; + + /* : enable_full_sync=0; */ + rtDW.enable_full_sync = 0U; + + /* : enable_rear_sync = 0; */ + rtDW.enable_rear_sync = 0U; + + /* : enable_front_sync = 0; */ + rtDW.enable_front_sync = 0U; + + /* : disable_front_sync = 0; */ + rtDW.disable_front_sync = 0U; + + /* : disable_rear_sync = 0; */ + rtDW.disable_rear_sync = 0U; + + /* : changed_FR_params = 0; */ + rtDW.changed_FR_params = 0U; + + /* : changed_RL_params = 0; */ + rtDW.changed_RL_params = 0U; + + /* : changed_RR_params = 0 */ + rtDW.changed_RR_params = 0U; +} + +/* Function for Chart: '/Synchronization stateflow chart' */ +static void enter_atomic_SEPARATE_FRONT_AND_REAR(void) +{ + /* : sync_state = 4; */ + /* : sync_front = 1; */ + rtB.sync_front = 1U; + + /* : sync_rear = 1; */ + rtB.sync_rear = 1U; + + /* : sync_all = 0; */ + rtB.sync_all = 0U; + + /* : enable_full_sync=0; */ + rtDW.enable_full_sync = 0U; + + /* : enable_rear_sync = 0; */ + rtDW.enable_rear_sync = 0U; + + /* : enable_front_sync = 0; */ + rtDW.enable_front_sync = 0U; + + /* : disable_front_sync = 0; */ + rtDW.disable_front_sync = 0U; + + /* : disable_rear_sync = 0; */ + rtDW.disable_rear_sync = 0U; + + /* : changed_FR_params = 0; */ + rtDW.changed_FR_params = 0U; + + /* : changed_RL_params = 0; */ + rtDW.changed_RL_params = 0U; + + /* : changed_RR_params = 0 */ + rtDW.changed_RR_params = 0U; +} + +/* Function for Chart: '/Synchronization stateflow chart' */ +static void enter_atomic_NO_SYNC(void) +{ + /* : sync_state = 0; */ + /* : sync_front = 0; */ + rtB.sync_front = 0U; + + /* : sync_rear = 0; */ + rtB.sync_rear = 0U; + + /* : sync_all = 0; */ + rtB.sync_all = 0U; + + /* : enable_full_sync=0; */ + rtDW.enable_full_sync = 0U; + + /* : enable_rear_sync = 0; */ + rtDW.enable_rear_sync = 0U; + + /* : enable_front_sync = 0; */ + rtDW.enable_front_sync = 0U; + + /* : disable_front_sync = 0; */ + rtDW.disable_front_sync = 0U; + + /* : disable_rear_sync = 0; */ + rtDW.disable_rear_sync = 0U; + + /* : changed_FR_params = 0; */ + rtDW.changed_FR_params = 0U; + + /* : changed_RL_params = 0; */ + rtDW.changed_RL_params = 0U; + + /* : changed_RR_params = 0; */ + rtDW.changed_RR_params = 0U; +} + /* Model step function */ void HVAC_model_step(void) { - double rtb_Saturation_k[11]; + double rtb_Saturation_hch[11]; double rtb_valve_space_b_pillar_L[11]; double rtb_valve_space_b_pillar_R[11]; double rtb_valve_space_center_L[11]; @@ -7495,49 +10486,49 @@ void HVAC_model_step(void) double coeff_left[6]; double coeff_right[6]; double rtb_u10[6]; - double tmp_2[6]; + double tmp_1[6]; double rtb_f_lower_upper_bounds[2]; double IGN_voltage; double index_start; + double rtb_Add_p4; double rtb_D; - double rtb_D_j; - double rtb_D_m; - double rtb_D_o; - double rtb_Divide1; double rtb_Divide10; double rtb_Divide11; double rtb_Divide1_jg; - double rtb_Divide5; - double rtb_Divide5_m; - double rtb_Divide7; - double rtb_Divide7_g; + double rtb_Divide3; + double rtb_Divide7_d; double rtb_Gain17; - double rtb_I; - double rtb_I_g; - double rtb_I_od; - double rtb_P_a; - double rtb_P_e5; - double rtb_P_f; + double rtb_Gain17_h; + double rtb_Gain18; + double rtb_Gain19; + double rtb_Gain20; + double rtb_Gain22; + double rtb_Gain23; + double rtb_Gain25; + double rtb_Gain26; + double rtb_Gain28; + double rtb_Gain29; + double rtb_P; double rtb_duct_select_index_dbg_c; double rtb_output; - double rtb_output_dk; - double rtb_output_h; - double v; - int64_t tmp_4; + double rtb_output_a; + double rtb_output_e; + double rtb_output_f; + double rtb_output_n; + int64_t tmp_3; int32_t i; int32_t rtb_Cmd_3Way; int32_t rtb_Gain1_f; - int32_t rtb_Gain2; - int32_t rtb_Y_l_idx_3; + int32_t rtb_Y_o_idx_2; + int32_t rtb_Y_o_idx_3; uint32_t rtb_Gain2_tmp_tmp; uint32_t rtb_Gain2_tmp_tmp_0; uint32_t rtb_Subtract; uint32_t rtb_dt_nx; - uint32_t tmp_3; - uint32_t tmp_5; + uint32_t tmp_2; + uint32_t tmp_4; int16_t rtb_MultiportSwitch1_d[7]; int16_t rtb_uDLookupTable7_g[7]; - int16_t tmp_1[6]; int16_t Duct_FRU_Tg_DBG[5]; int16_t Duct_RR_Tg_DBG[5]; int16_t rtb_VectorConcatenate_by[5]; @@ -7548,26 +10539,34 @@ void HVAC_model_step(void) int16_t rtb_VectorConcatenate_gn[3]; int16_t rtb_VectorConcatenate_np[3]; int16_t rtb_VectorConcatenate_pg[3]; + int16_t rtb_out_jow[2]; + int16_t AMB_RAW; int16_t Duct1_F; + int16_t Duct2_F; int16_t Duct3_F; int16_t Duct4_F; int16_t Duct5_F; int16_t Duct6_F; + int16_t Duct_FLU_Tg; int16_t Duct_FRU_Tg; int16_t Eva_F_tg; int16_t Eva_R_tg; + int16_t Eva_Target; int16_t rtb_Bias1_h; + int16_t rtb_Bias2_n; + int16_t rtb_Bias3; int16_t rtb_Bias4; int16_t rtb_Bias_ct; int16_t rtb_DataTypeConversion1_oq; - int16_t rtb_DeadZone; + int16_t rtb_DuctTgt_Plus_LV5; int16_t rtb_FLU_tg_correct; - int16_t rtb_FLU_tg_correct_b; - int16_t rtb_FLU_tg_correct_cz; - int16_t rtb_FLU_tg_correct_p; + int16_t rtb_FLU_tg_correct_ot; int16_t rtb_Foot2Duct_FL; + int16_t rtb_Foot2Duct_FL_n; int16_t rtb_Foot2Duct_FR; + int16_t rtb_Foot2Duct_FR_j; int16_t rtb_FrontBlr_LV0_tmp; + int16_t rtb_Merge_b; int16_t rtb_MultiportSwitch1_g; int16_t rtb_MultiportSwitch_ac; int16_t rtb_MultiportSwitch_az; @@ -7579,7 +10578,7 @@ void HVAC_model_step(void) int16_t rtb_MultiportSwitch_ks; int16_t rtb_MultiportSwitch_np; int16_t rtb_MultiportSwitch_oa; - int16_t rtb_Switch1_f; + int16_t rtb_Switch1_pd; int16_t rtb_Switch2_nb; int16_t rtb_Switch3_no; int16_t rtb_Switch4_f5; @@ -7591,9 +10590,10 @@ void HVAC_model_step(void) int16_t rtb_u5FLU_tg_incar_i; int16_t rtb_u5FRU_tg_incar; int16_t rtb_u5R_tg_incar; + int16_t rtb_u6FLU_tg_amb_a3; int16_t rtb_u6FLU_tg_amb_d; + int16_t rtb_u6FLU_tg_amb_g; int16_t rtb_u6FLU_tg_amb_h; - int16_t rtb_u6FLU_tg_amb_ie; int16_t rtb_u6FLU_tg_amb_n; int16_t rtb_u6FLU_tg_amb_o; int16_t rtb_u6FRU_tg_amb; @@ -7604,75 +10604,89 @@ void HVAC_model_step(void) int16_t rtb_y_n; uint16_t tmp[45]; uint16_t tmp_0[42]; - uint16_t rtb_out_a3[9]; - uint16_t rtb_out_azb[9]; - uint16_t rtb_out_b[9]; - uint16_t rtb_out_cok[9]; - uint16_t rtb_out_dh[9]; - uint16_t rtb_out_gk22[9]; - uint16_t rtb_out_j4f[9]; - uint16_t rtb_out_agk[8]; - uint16_t rtb_out_aru[8]; - uint16_t rtb_out_fjl[8]; - uint16_t rtb_out_fo[8]; - uint16_t rtb_out_fo4[8]; - uint16_t rtb_out_i2t[8]; - uint16_t rtb_out_ju[8]; - uint16_t rtb_out_k2[8]; - uint16_t rtb_out_kmk[8]; - uint16_t rtb_out_lfs[8]; - uint16_t rtb_out_mfe[8]; + uint16_t rtb_out_c[9]; + uint16_t rtb_out_cej[9]; + uint16_t rtb_out_cj[9]; + uint16_t rtb_out_gta[9]; + uint16_t rtb_out_pdp[9]; + uint16_t rtb_out_ake[8]; + uint16_t rtb_out_bjx[8]; + uint16_t rtb_out_c5x[8]; + uint16_t rtb_out_d23[8]; + uint16_t rtb_out_fzy[8]; + uint16_t rtb_out_gkh[8]; + uint16_t rtb_out_gr4[8]; + uint16_t rtb_out_jh3[8]; + uint16_t rtb_out_nz4[8]; + uint16_t rtb_out_ovc[8]; + uint16_t rtb_out_pha[8]; uint16_t rtb_get_mode[7]; - uint16_t rtb_Gain1_h[6]; + uint16_t rtb_Gain1_o3[6]; uint16_t rtb_out[6]; uint16_t rtb_urear_e[6]; - uint16_t Blower_AF_FR_for_DiffBlower; + uint16_t rtb_out_fm[2]; uint16_t Gain1; - uint16_t rtb_Saturation2_a; + uint16_t rtb_Saturation2; uint16_t rtb_Saturation_as; - uint16_t rtb_out_bab; - uint16_t rtb_out_d1n; - uint16_t rtb_out_e2e; - uint16_t rtb_out_g1d; - uint16_t rtb_out_gr; - uint16_t rtb_out_hiu; - uint16_t rtb_out_hrq; - uint16_t rtb_out_ic3; - uint16_t rtb_out_m2x; - uint16_t rtb_out_new; - uint16_t rtb_out_p5d; + uint16_t rtb_out_a2e; + uint16_t rtb_out_crw; + uint16_t rtb_out_dam; + uint16_t rtb_out_fhd; + uint16_t rtb_out_fm3; + uint16_t rtb_out_fr3; + uint16_t rtb_out_fze; + uint16_t rtb_out_hf5; + uint16_t rtb_out_ilx; + uint16_t rtb_out_mug; + uint16_t rtb_out_mxq; + uint16_t rtb_out_o1n; int8_t rtb_y_cb; uint8_t rtb_get_modes_for_levels[78]; uint8_t Actuator_pos_percent_Ch1[9]; - uint8_t rtb_DataTypeConversion_fb[9]; - uint8_t rtb_DataTypeConversion_h1[9]; - uint8_t rtb_DataTypeConversion_p3[9]; + uint8_t rtb_DataTypeConversion_b4q[9]; + uint8_t rtb_DataTypeConversion_kl[9]; + uint8_t rtb_DataTypeConversion_mo[9]; uint8_t coef_max[6]; uint8_t Comp_Max_RPM_Allowed; uint8_t EN_BATTChiller; uint8_t LowTempValve; uint8_t ShutOffRear_EN; + uint8_t center_percent; + uint8_t max_center_L; + uint8_t max_center_R; uint8_t max_foot_L; uint8_t max_foot_R; uint8_t max_side_L; + uint8_t min_center_L; + uint8_t min_center_R; uint8_t min_foot_L; uint8_t min_foot_R; uint8_t min_side_L; uint8_t rtb_DataTypeConversion1_gy; uint8_t rtb_DataTypeConversion1_hy; - uint8_t rtb_DataTypeConversion2_e1; - uint8_t rtb_DataTypeConversion3_c1; - uint8_t rtb_DataTypeConversion3_em; - uint8_t rtb_DataTypeConversion_gj; - uint8_t rtb_Merge_gt; + uint8_t rtb_DataTypeConversion3_hs; + uint8_t rtb_Merge_c5; + uint8_t rtb_Merge_m4; uint8_t rtb_Saturation4; - uint8_t rtb_Switch1_j; + uint8_t rtb_Switch_f_FIU_ACfrontOFF_Req; + uint8_t rtb_Switch_f_FIU_AirDirectionFL_Def_Req; + uint8_t rtb_Switch_f_FIU_AirDirectionFL_Face_Req; + uint8_t rtb_Switch_f_FIU_AirDirectionFL_Foot_Req; + uint8_t rtb_Switch_f_FIU_AirDirectionFR_Def_Req; + uint8_t rtb_Switch_f_FIU_AirDirectionFR_Face_Req; + uint8_t rtb_Switch_f_FIU_CCmodeFL_Req; + uint8_t rtb_Switch_f_FIU_CCmodeFR_Req; + uint8_t rtb_Switch_f_FIU_DeflectorSwFPL_Req; + uint8_t rtb_Switch_f_FIU_DeflectorSwFPR_Req; + uint8_t rtb_Switch_f_FIU_FrontZoneSync_Req; uint8_t rtb_timer_out; bool rtb_LogicalOperator3_n2[9]; - bool rtb_Compare_hk[8]; + bool rtb_Compare_ad[8]; bool rtb_LogicalOperator3_pw[6]; bool CCU_AC_FRONT_req_summary; + bool Duct1_F_error; bool Duct1_R_error; + bool Duct2_F_error; bool Duct2_R_error; bool Duct3_F_error; bool Duct3_R_error; @@ -7683,61 +10697,51 @@ void HVAC_model_step(void) bool Enable_Comp_PID; bool WinterCondition_eTXV_ON_Front; bool WinterCondition_eTXV_ON_Rear; + bool WinterCondition_is_active_F; bool WinterCondition_is_active_R; + bool eComp_stop; bool rtb_AND2_b; - bool rtb_AND2_d; - bool rtb_Compare_ac; - bool rtb_Compare_aek; - bool rtb_Compare_bw; - bool rtb_Compare_ce; - bool rtb_Compare_cw; - bool rtb_Compare_df; - bool rtb_Compare_dlh; + bool rtb_Compare_a; + bool rtb_Compare_bt; + bool rtb_Compare_byy; + bool rtb_Compare_ca; + bool rtb_Compare_cp; + bool rtb_Compare_de; + bool rtb_Compare_dq; + bool rtb_Compare_ds; + bool rtb_Compare_dw; bool rtb_Compare_e; - bool rtb_Compare_e1; - bool rtb_Compare_eb; - bool rtb_Compare_edx; - bool rtb_Compare_f2; - bool rtb_Compare_g1; - bool rtb_Compare_gf; - bool rtb_Compare_h; - bool rtb_Compare_hv; - bool rtb_Compare_i2; - bool rtb_Compare_i5; - bool rtb_Compare_ib; - bool rtb_Compare_il; - bool rtb_Compare_ja; - bool rtb_Compare_jf; - bool rtb_Compare_kb; - bool rtb_Compare_kc; - bool rtb_Compare_l; + bool rtb_Compare_ee; + bool rtb_Compare_f4; + bool rtb_Compare_ff; + bool rtb_Compare_gq; + bool rtb_Compare_i4; + bool rtb_Compare_jj; + bool rtb_Compare_k2; + bool rtb_Compare_kp; + bool rtb_Compare_le; bool rtb_Compare_ls; - bool rtb_Compare_lt; - bool rtb_Compare_ne; - bool rtb_Compare_olu; - bool rtb_Compare_oy3; - bool rtb_Compare_pf; - bool rtb_FailCond_a; - bool rtb_FailCond_e; - bool rtb_FailCond_iq; - bool rtb_FailCond_jb; - bool rtb_FailCond_l; + bool rtb_Compare_mg; + bool rtb_Compare_n4; + bool rtb_Compare_nh; + bool rtb_Compare_pm; + bool rtb_Compare_pnq; + bool rtb_Compare_pw3; + bool rtb_FailCond_of; bool rtb_LogicalOperator1; bool rtb_LogicalOperator1_f; bool rtb_LogicalOperator1_f1; bool rtb_LogicalOperator1_nf; - bool rtb_LogicalOperator3; - bool rtb_LogicalOperator6; - bool rtb_LogicalOperator8; + bool rtb_RelationalOperator2_p; bool rtb_RelationalOperator6_f; - bool rtb_err; - static const int8_t tmp_6[6] = { 0, 1, 2, 3, 4, 6 }; + static const int8_t tmp_5[6] = { 0, 1, 2, 3, 4, 6 }; - static const int8_t tmp_7[5] = { 0, 1, 2, 3, 5 }; + static const int8_t tmp_6[5] = { 0, 1, 2, 3, 5 }; static const uint8_t b[8] = { 0U, 20U, 40U, 80U, 100U, 120U, 140U, 160U }; - bool exitg1; + int32_t exitg1; + bool exitg2; bool guard1; bool guard2; @@ -7751,36 +10755,26 @@ void HVAC_model_step(void) */ Gain1 = (uint16_t)(10U * rtDW.PWM_rear); - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read77' - * RelationalOperator: '/Relational Operator2' + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read44' + * DataStoreWrite: '/Data Store Write4' + * DataTypeConversion: '/Data Type Conversion3' */ - if (rtDW.condition_ac_max == 1.0) { - rtb_Switch2_nb = 1; - } else { - rtb_Switch2_nb = rtDW.CCU_AC_FRONT; - } + CCU_AC_FRONT_req_summary = (rtDW.Max_AC_front_AC_req || (rtDW.CCU_AC_FRONT != + 0) || rtDW.Max_def_algo_active); - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write4' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch4' - */ - CCU_AC_FRONT_req_summary = ((rtb_Switch2_nb != 0) || rtDW.Max_def_algo_active); - - /* Logic: '/Logical Operator1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' + /* Logic: '/Logical Operator1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write4' */ rtb_LogicalOperator1 = (CCU_AC_FRONT_req_summary || rtDW.AC_front_on_req_from_autodemist); - /* Outputs for Atomic SubSystem: '/WINTER CONDITION' */ - /* MATLAB Function: '/MATLAB Function4' incorporates: - * DataStoreRead: '/Data Store Read8' + /* Outputs for Atomic SubSystem: '/WINTER CONDITION' */ + /* MATLAB Function: '/MATLAB Function4' incorporates: + * DataStoreRead: '/Data Store Read8' */ /* : AMB_THRESHOLD = 0; */ /* : AMB_HYSTERESIS = 10; */ @@ -7795,24 +10789,24 @@ void HVAC_model_step(void) rtDW.amb_condition_latched = false; } - /* RelationalOperator: '/Relational Operator6' incorporates: - * DataStoreRead: '/Data Store Read51' + /* RelationalOperator: '/Relational Operator6' incorporates: + * DataStoreRead: '/Data Store Read51' */ /* : amb_condition = amb_condition_latched; */ rtb_RelationalOperator6_f = (rtDW.CCU_AC_REAR != 0); - /* Logic: '/AND2' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/MATLAB Function4' - * RelationalOperator: '/Relational Operator5' + /* Logic: '/AND2' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/MATLAB Function4' + * RelationalOperator: '/Relational Operator5' */ rtb_AND2_b = (rtDW.amb_condition_latched && rtb_RelationalOperator6_f && (rtDW.LEVEL >= 3)); - /* MATLAB Function: '/MATLAB Function3' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator1' + /* MATLAB Function: '/MATLAB Function3' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator1' */ /* : TEMP_SET_THRESHOLD = 200; */ /* : R_EVAP_DTG_LOW = 30; */ @@ -7862,34 +10856,34 @@ void HVAC_model_step(void) /* : R_Evap_tg = R_Evap_tg_persistent; */ } - /* End of MATLAB Function: '/MATLAB Function3' */ + /* End of MATLAB Function: '/MATLAB Function3' */ - /* Lookup_n-D: '/g_assEVA_TG_AMB_F' incorporates: - * DataStoreRead: '/Data Store Read8' + /* Lookup_n-D: '/g_assEVA_TG_AMB_F' incorporates: + * DataStoreRead: '/Data Store Read8' */ rtb_g_assEVA_TG_AMB_F_m = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFAILURE_AMB_TEMP[0], &g_assEVA_TG_AMB_F[0], 12U); - /* MATLAB Function: '/MATLAB Function' incorporates: - * Constant: '/Constant3' - * Constant: '/auto1' - * Constant: '/auto2' - * Constant: '/auto3' - * Constant: '/auto4' - * Constant: '/auto7' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write2' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator7' - * RelationalOperator: '/Relational Operator8' + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/Constant3' + * Constant: '/auto1' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * Constant: '/auto7' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' */ /* : if isempty(is_active_persistent) */ /* : if exit_conditions_front */ @@ -7901,7 +10895,7 @@ void HVAC_model_step(void) rtDW.FRONT_eTXV_ON_persistent = false; /* : is_active = false; */ - rtb_AND2_b = false; + WinterCondition_is_active_F = false; /* : FRONT_eTXV_ON = false; */ WinterCondition_eTXV_ON_Front = false; @@ -7912,11 +10906,11 @@ void HVAC_model_step(void) g_assAC_WINTER_TXV_DEWPOINT[0]) && rtb_LogicalOperator1) || rtDW.is_active_persistent_n) { /* : if (F_Evap_Fb - F_Evap_Dtg) > TURN_ON_THRESHOLD */ - rtb_Gain2 = rtDW.Eva_F - rtb_g_assEVA_TG_AMB_F_m; - rtb_Cmd_3Way = rtb_Gain2; - if (rtb_Gain2 > 32767) { + i = rtDW.Eva_F - rtb_g_assEVA_TG_AMB_F_m; + rtb_Cmd_3Way = i; + if (i > 32767) { rtb_Cmd_3Way = 32767; - } else if (rtb_Gain2 < -32768) { + } else if (i < -32768) { rtb_Cmd_3Way = -32768; } @@ -7928,14 +10922,14 @@ void HVAC_model_step(void) rtDW.FRONT_eTXV_ON_persistent = true; /* : fprintf("FRONT: TURN 1 ---> delta_on = %d F_Evap_Fb = %d F_Evap_Dtg = %d \n", F_Evap_Fb - F_Evap_Dtg, F_Evap_Fb, F_Evap_Dtg); */ - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; } printf("FRONT: TURN 1 ---> delta_on = %d F_Evap_Fb = %d F_Evap_Dtg = %d \n", - (int16_t)rtb_Gain2, rtDW.Eva_F, rtb_g_assEVA_TG_AMB_F_m); + (int16_t)i, rtDW.Eva_F, rtb_g_assEVA_TG_AMB_F_m); fflush(stdout); } else { rtb_Cmd_3Way = rtb_g_assEVA_TG_AMB_F_m - rtDW.Eva_F; @@ -7967,10 +10961,10 @@ void HVAC_model_step(void) } else { /* : else */ /* : fprintf("FRONT: HYSTEREZIS TURN = %d ---> delta_on = %d delta_off = %d F_Evap_Fb = %d F_Evap_Dtg = %d\n", int16(FRONT_eTXV_ON_persistent), F_Evap_Fb - F_Evap_Dtg, F_Evap_Dtg - F_Evap_Fb, F_Evap_Fb, F_Evap_Dtg); */ - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; } if (rtb_Cmd_3Way > 32767) { @@ -7980,41 +10974,41 @@ void HVAC_model_step(void) } printf("FRONT: HYSTEREZIS TURN = %d ---> delta_on = %d delta_off = %d F_Evap_Fb = %d F_Evap_Dtg = %d\n", - (int16_t)rtDW.FRONT_eTXV_ON_persistent, (int16_t)rtb_Gain2, - (int16_t)rtb_Cmd_3Way, rtDW.Eva_F, rtb_g_assEVA_TG_AMB_F_m); + (int16_t)rtDW.FRONT_eTXV_ON_persistent, (int16_t)i, (int16_t) + rtb_Cmd_3Way, rtDW.Eva_F, rtb_g_assEVA_TG_AMB_F_m); fflush(stdout); } } } /* : is_active = is_active_persistent; */ - rtb_AND2_b = rtDW.is_active_persistent_n; + WinterCondition_is_active_F = rtDW.is_active_persistent_n; /* : FRONT_eTXV_ON = FRONT_eTXV_ON_persistent; */ WinterCondition_eTXV_ON_Front = rtDW.FRONT_eTXV_ON_persistent; } - /* End of MATLAB Function: '/MATLAB Function' */ + /* End of MATLAB Function: '/MATLAB Function' */ - /* Lookup_n-D: '/g_assEVA_TG_AMB_R' incorporates: - * DataStoreRead: '/Data Store Read8' - * Lookup_n-D: '/g_assEVA_TG_AMB_R' - * Switch: '/Switch' - * Switch: '/Switch3' + /* Lookup_n-D: '/g_assEVA_TG_AMB_R' incorporates: + * DataStoreRead: '/Data Store Read8' + * Lookup_n-D: '/g_assEVA_TG_AMB_R' + * Switch: '/Switch' + * Switch: '/Switch3' */ Eva_R_tg = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFAILURE_AMB_TEMP[0], &g_assEVA_TG_AMB_R[0], 12U); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * Constant: '/Constant3' - * Constant: '/auto1' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/AND1' - * Logic: '/Logical Operator' - * Lookup_n-D: '/g_assEVA_TG_AMB_R' - * MATLAB Function: '/MATLAB Function4' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/Constant3' + * Constant: '/auto1' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/AND1' + * Logic: '/Logical Operator' + * Lookup_n-D: '/g_assEVA_TG_AMB_R' + * MATLAB Function: '/MATLAB Function4' */ /* : if isempty(is_active_persistent) */ /* : if exit_conditions_rear */ @@ -8033,28 +11027,28 @@ void HVAC_model_step(void) } else { /* : if entry_conditions_rear || is_active_persistent */ /* : if (R_Evap_Fb - R_Evap_Dtg) > TURN_ON_THRESHOLD */ - rtb_Gain2 = rtDW.Eva_R - Eva_R_tg; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; + i = rtDW.Eva_R - Eva_R_tg; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; } - if (rtb_Gain2 > 10) { + if (i > 10) { /* : is_active_persistent = true; */ rtDW.is_active_persistent_c = true; /* : REAR_eTXV_ON_persistent = true; */ rtDW.REAR_eTXV_ON_persistent = true; } else { - rtb_Gain2 = Eva_R_tg - rtDW.Eva_R; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; + i = Eva_R_tg - rtDW.Eva_R; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; } - if (rtb_Gain2 > g_ssAC_WINTER_TXV_HYST) { + if (i > g_ssAC_WINTER_TXV_HYST) { /* : elseif (R_Evap_Dtg - R_Evap_Fb) > TURN_OFF_THRESHOLD */ /* : is_active_persistent = true; */ rtDW.is_active_persistent_c = true; @@ -8073,25 +11067,25 @@ void HVAC_model_step(void) WinterCondition_eTXV_ON_Rear = rtDW.REAR_eTXV_ON_persistent; } - /* End of MATLAB Function: '/MATLAB Function1' */ - /* End of Outputs for SubSystem: '/WINTER CONDITION' */ + /* End of MATLAB Function: '/MATLAB Function1' */ + /* End of Outputs for SubSystem: '/WINTER CONDITION' */ - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write' */ - if (rtb_AND2_b) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write2' + if (WinterCondition_is_active_F) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtb_LogicalOperator1 = WinterCondition_eTXV_ON_Front; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read51' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write3' + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read51' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write3' */ if (WinterCondition_is_active_R) { rtb_DataTypeConversion1_hy = WinterCondition_eTXV_ON_Rear; @@ -8099,14 +11093,14 @@ void HVAC_model_step(void) rtb_DataTypeConversion1_hy = rtDW.CCU_AC_REAR; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read45' - * DataStoreRead: '/Data Store Read76' - * DataStoreWrite: '/Data Store Write35' - * Lookup_n-D: '/g_assEVA_TG_AMB_F' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read45' + * DataStoreRead: '/Data Store Read76' + * DataStoreWrite: '/Data Store Write35' + * Lookup_n-D: '/g_assEVA_TG_AMB_F' */ if (rtDW.CCU_AC_MAX > 0) { Eva_F_tg = 20; @@ -8115,23 +11109,23 @@ void HVAC_model_step(void) &g_assEVA_TG_AMB_F[0], 12U); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read76' - * DataStoreWrite: '/Data Store Write36' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch3' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read76' + * DataStoreWrite: '/Data Store Write36' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch3' */ if (rtDW.is_active_persistent_m) { - /* Outputs for Atomic SubSystem: '/WINTER CONDITION' */ + /* Outputs for Atomic SubSystem: '/WINTER CONDITION' */ Eva_R_tg = (int16_t)floor(rtDW.R_Evap_tg_persistent); - /* End of Outputs for SubSystem: '/WINTER CONDITION' */ + /* End of Outputs for SubSystem: '/WINTER CONDITION' */ } else if (rtDW.CCU_AC_MAX > 0) { - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant12' - * DataStoreWrite: '/Data Store Write36' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant12' + * DataStoreWrite: '/Data Store Write36' */ Eva_R_tg = 20; } @@ -8200,8 +11194,8 @@ void HVAC_model_step(void) rtB.Eva_Ctrl = 0U; rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_0; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 0; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 0U; @@ -8229,10 +11223,9 @@ void HVAC_model_step(void) /* Gain: '/Gain2' incorporates: * Switch: '/Switch' */ - rtb_Gain2 = 15857 * rtb_Switch2_nb; - if (rtDW.Pressure < ((((uint32_t)rtb_Gain2 & 8192U) != 0U) && ((((uint32_t) - rtb_Gain2 & 8191U) != 0U) || (rtb_Gain2 > 0))) + (rtb_Gain2 >> 14)) - { + i = 15857 * rtb_Switch2_nb; + if (rtDW.Pressure < ((((uint32_t)i & 8192U) != 0U) && ((((uint32_t)i & + 8191U) != 0U) || (i > 0))) + (i >> 14)) { rtDW.is_PRESSURE_MONITOR = IN_PRESSURE_OK; /* : Pressure_Condition_table_OK = true; */ @@ -8271,10 +11264,9 @@ void HVAC_model_step(void) * Constant: '/Constant5' */ /* : sf_internal_predicateOutput = Pressure_sen > P_Hi_Return; */ - rtb_Gain2 = 15857 * g_assAC_PRESSURE_HYS_HI_ENG_ON[1]; - if (rtDW.Pressure > ((((uint32_t)rtb_Gain2 & 8192U) != 0U) && - ((((uint32_t)rtb_Gain2 & 8191U) != 0U) || - (rtb_Gain2 > 0))) + (rtb_Gain2 >> 14)) { + i = 15857 * g_assAC_PRESSURE_HYS_HI_ENG_ON[1]; + if (rtDW.Pressure > ((((uint32_t)i & 8192U) != 0U) && ((((uint32_t)i & + 8191U) != 0U) || (i > 0))) + (i >> 14)) { rtDW.is_PRESSURE_MONITOR = IN_FAULT_HIGH_PRESS; /* : Pressure_Hi_Fault = true; */ @@ -8380,8 +11372,8 @@ void HVAC_model_step(void) E_COMP_MANAGER(&Enable_Comp_PID, &Eva_F_tg, &Eva_R_tg); switch (rtDW.is_COMP_PROTECTION) { case IN_PROT_LEVEL_0: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 0U; Comp_Max_RPM_Allowed = 170U; @@ -8391,8 +11383,8 @@ void HVAC_model_step(void) if ((rtDW.eComp_InputC >= 40960) || (rtDW.eComp_Temp >= 1100)) { rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_1; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 1; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 1U; @@ -8406,8 +11398,8 @@ void HVAC_model_step(void) break; case IN_PROT_LEVEL_1: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 1U; Comp_Max_RPM_Allowed = 140U; @@ -8417,8 +11409,8 @@ void HVAC_model_step(void) if ((rtDW.eComp_InputC < 39680) && (rtDW.eComp_Temp < 1090)) { rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_0; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 0; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 0U; @@ -8433,8 +11425,8 @@ void HVAC_model_step(void) } else if ((rtDW.eComp_InputC >= 46080) || (rtDW.eComp_Temp >= 1200)) { rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_2; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 2; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 2U; @@ -8448,8 +11440,8 @@ void HVAC_model_step(void) break; default: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* case IN_PROT_LEVEL_2: */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 2U; @@ -8460,8 +11452,8 @@ void HVAC_model_step(void) if ((rtDW.eComp_InputC < 44800) && (rtDW.eComp_Temp < 1190)) { rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_1; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 1; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 1U; @@ -8483,8 +11475,8 @@ void HVAC_model_step(void) */ EN_BATTChiller = rtB.Chiller_eTXV; - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read' * MATLAB Function: '/external fan' */ /* : if isempty(t_start) */ @@ -8497,8 +11489,8 @@ void HVAC_model_step(void) } /* : if Enable_Comp_PID == 0 */ - rtb_RelationalOperator6_f = !Enable_Comp_PID; - if (rtb_RelationalOperator6_f) { + rtb_Compare_e = !Enable_Comp_PID; + if (rtb_Compare_e) { /* : t_start = t_now; */ rtDW.t_start = rtDW.t_now; @@ -8534,200 +11526,199 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MATLAB Function1' */ + /* End of MATLAB Function: '/MATLAB Function1' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read32' - * Gain: '/Gain2' - * RelationalOperator: '/Compare' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read32' + * Gain: '/Gain2' + * RelationalOperator: '/Compare' */ if (rtDW.Engine_speed > 500.0) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ if (rtb_timer_out <= 0) { Comp_Max_RPM_Allowed = 120U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } else { - /* Gain: '/Gain2' incorporates: - * Constant: '/Constant4' + /* Gain: '/Gain2' incorporates: + * Constant: '/Constant4' */ rtb_Subtract = 41943U * g_usCMP_MAX_ENG_OFF; Comp_Max_RPM_Allowed = (uint8_t)((uint32_t)((rtb_Subtract & 1048576U) != 0U) + (rtb_Subtract >> 21)); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ /* Sum: '/Sum' incorporates: * DataStoreWrite: '/Data Store Write14' */ - rtb_g_assEVA_TG_AMB_F_m += rtB.Comp_Target_Temp; + Eva_Target = (int16_t)(rtB.Comp_Target_Temp + rtb_g_assEVA_TG_AMB_F_m); - /* Sum: '/Sum' incorporates: + /* Sum: '/Sum' incorporates: * DataStoreWrite: '/Data Store Write14' */ - rtb_MultiportSwitch_cn = (int16_t)(rtB.Comp_Feedback_Temp - - rtb_g_assEVA_TG_AMB_F_m); + rtb_MultiportSwitch_cn = (int16_t)(rtB.Comp_Feedback_Temp - Eva_Target); - /* DeadZone: '/Dead Zone' */ + /* DeadZone: '/Dead Zone' */ if (rtb_MultiportSwitch_cn > g_assPID_COMPRESSOR[4]) { - rtb_Gain2 = rtb_MultiportSwitch_cn - g_assPID_COMPRESSOR[4]; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; + i = rtb_MultiportSwitch_cn - g_assPID_COMPRESSOR[4]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; } - rtb_DeadZone = (int16_t)rtb_Gain2; + rtb_g_assEVA_TG_AMB_F_m = (int16_t)i; } else if (rtb_MultiportSwitch_cn >= (int16_t)-g_assPID_COMPRESSOR[4]) { - rtb_DeadZone = 0; + rtb_g_assEVA_TG_AMB_F_m = 0; } else { - rtb_Gain2 = rtb_MultiportSwitch_cn - (int16_t)-g_assPID_COMPRESSOR[4]; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; + i = rtb_MultiportSwitch_cn - (int16_t)-g_assPID_COMPRESSOR[4]; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; } - rtb_DeadZone = (int16_t)rtb_Gain2; + rtb_g_assEVA_TG_AMB_F_m = (int16_t)i; } - /* End of DeadZone: '/Dead Zone' */ + /* End of DeadZone: '/Dead Zone' */ - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ rtb_Gain1_f = (int32_t)(10000U * Comp_Max_RPM_Allowed); - /* Sum: '/Sum' incorporates: - * Constant: '/Constant7' - * Memory: '/Memory1' - * Product: '/Divide4' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant7' + * Memory: '/Memory1' + * Product: '/Divide4' */ - tmp_4 = (int64_t)floor((double)g_assPID_COMPRESSOR[1] / 100.0 * (double) - rtb_DeadZone) + rtDW.MemComp_I_Value; - if (tmp_4 > 2147483647LL) { - tmp_4 = 2147483647LL; - } else if (tmp_4 < -2147483648LL) { - tmp_4 = -2147483648LL; + tmp_3 = (int64_t)floor((double)g_assPID_COMPRESSOR[1] / 100.0 * (double) + rtb_g_assEVA_TG_AMB_F_m) + rtDW.MemComp_I_Value; + if (tmp_3 > 2147483647LL) { + tmp_3 = 2147483647LL; + } else if (tmp_3 < -2147483648LL) { + tmp_3 = -2147483648LL; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Sum: '/Sum' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Sum: '/Sum' */ - if ((int32_t)tmp_4 <= rtb_Gain1_f) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant3' - * RelationalOperator: '/UpperRelop' + if ((int32_t)tmp_3 <= rtb_Gain1_f) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant3' + * RelationalOperator: '/UpperRelop' */ - if ((int32_t)tmp_4 < 0) { + if ((int32_t)tmp_3 < 0) { rtb_Gain1_f = 0; } else { - rtb_Gain1_f = (int32_t)tmp_4; + rtb_Gain1_f = (int32_t)tmp_3; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant12' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant12' */ if (Enable_Comp_PID) { - /* Sum: '/Sum2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant6' - * Constant: '/Constant8' - * Memory: '/pError' - * Product: '/Divide1' - * Product: '/Divide2' - * Product: '/Divide3' - * Product: '/Divide5' - * Product: '/Divide6' - * Sum: '/Sum1' + /* Sum: '/Sum2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant6' + * Constant: '/Constant8' + * Memory: '/pError' + * Product: '/Divide1' + * Product: '/Divide2' + * Product: '/Divide3' + * Product: '/Divide5' + * Product: '/Divide6' + * Sum: '/Sum1' * - * Block description for '/Divide1': + * Block description for '/Divide1': * Round * - * Block description for '/Divide3': + * Block description for '/Divide3': * Round * - * Block description for '/Divide6': + * Block description for '/Divide6': * Round */ - rtb_Gain2 = ((int16_t)div_nzp_s32_round((int16_t)(rtb_DeadZone * - g_assPID_COMPRESSOR[0]), 10) + (int16_t)div_nzp_s32_round(rtb_Gain1_f, - 10000)) + (int16_t)div_nzp_s32_round((int16_t)(rtb_DeadZone - - rtDW.pError_PreviousInput) * g_assPID_COMPRESSOR[2], 100); - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } else if (rtb_Gain2 > 255) { - rtb_Gain2 = 255; + i = ((int16_t)div_nzp_s32_round((int16_t)(rtb_g_assEVA_TG_AMB_F_m * + g_assPID_COMPRESSOR[0]), 10) + (int16_t)div_nzp_s32_round(rtb_Gain1_f, + 10000)) + (int16_t)div_nzp_s32_round((int16_t)(rtb_g_assEVA_TG_AMB_F_m + - rtDW.pError_PreviousInput) * g_assPID_COMPRESSOR[2], 100); + if (i < 0) { + i = 0; + } else if (i > 255) { + i = 255; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum2' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum2' + * Switch: '/Switch' */ - if (rtb_Gain2 > Comp_Max_RPM_Allowed) { + if (i > Comp_Max_RPM_Allowed) { rtb_DataTypeConversion1_hy = Comp_Max_RPM_Allowed; - } else if (rtb_Gain2 < 16) { - /* Switch: '/Switch' */ + } else if (i < 16) { + /* Switch: '/Switch' */ rtb_DataTypeConversion1_hy = 16U; } else { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_Gain2; + rtb_DataTypeConversion1_hy = (uint8_t)i; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } else { rtb_DataTypeConversion1_hy = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* RateLimiter: '/Rate Limiter' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* RateLimiter: '/Rate Limiter' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ index_start = (double)rtb_DataTypeConversion1_hy - rtDW.PrevY; if (index_start > 5.0) { - rtb_I_od = rtDW.PrevY + 5.0; + rtb_D = rtDW.PrevY + 5.0; } else if (index_start < -5.0) { - rtb_I_od = rtDW.PrevY - 5.0; + rtb_D = rtDW.PrevY - 5.0; } else { - rtb_I_od = rtb_DataTypeConversion1_hy; + rtb_D = rtb_DataTypeConversion1_hy; } - rtDW.PrevY = rtb_I_od; + rtDW.PrevY = rtb_D; - /* End of RateLimiter: '/Rate Limiter' */ + /* End of RateLimiter: '/Rate Limiter' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' */ if (rtB.Chiller_Only_Flag > 0.0) { - rtb_I_od = g_ucAC_EXTRA_RPM; + rtb_D = g_ucAC_EXTRA_RPM; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Gain: '/Gain1' incorporates: - * Constant: '/Constant2' + /* Gain: '/Gain1' incorporates: + * Constant: '/Constant2' */ for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = (uint16_t)((41943U * g_ausCMP_RPM_RESONANCE[i]) >> 21); + rtb_Gain1_o3[i] = (uint16_t)((41943U * g_ausCMP_RPM_RESONANCE[i]) >> 21); } - /* End of Gain: '/Gain1' */ + /* End of Gain: '/Gain1' */ - /* MATLAB Function: '/MATLAB Function' */ + /* MATLAB Function: '/MATLAB Function' */ /* : rpm_phys = double(rpm_in); */ /* : low1 = double(res_cal(1)); */ /* : high1 = double(res_cal(2)); */ @@ -8736,49 +11727,49 @@ void HVAC_model_step(void) /* : low3 = double(res_cal(5)); */ /* : high3 = double(res_cal(6)); */ /* : if (rpm_phys >= low1) && (rpm_phys <= high1) */ - if ((rtb_I_od >= rtb_Gain1_h[0]) && (rtb_I_od <= rtb_Gain1_h[1])) { + if ((rtb_D >= rtb_Gain1_o3[0]) && (rtb_D <= rtb_Gain1_o3[1])) { /* : if (rpm_phys - low1) < (high1 - rpm_phys) */ - if (rtb_I_od - (double)rtb_Gain1_h[0] < (double)rtb_Gain1_h[1] - rtb_I_od) { + if (rtb_D - (double)rtb_Gain1_o3[0] < (double)rtb_Gain1_o3[1] - rtb_D) { /* : rpm_phys = low1; */ - rtb_I_od = rtb_Gain1_h[0]; + rtb_D = rtb_Gain1_o3[0]; } else { /* : else */ /* : rpm_phys = high1; */ - rtb_I_od = rtb_Gain1_h[1]; + rtb_D = rtb_Gain1_o3[1]; } } /* : if (rpm_phys >= low2) && (rpm_phys <= high2) */ - if ((rtb_I_od >= rtb_Gain1_h[2]) && (rtb_I_od <= rtb_Gain1_h[3])) { + if ((rtb_D >= rtb_Gain1_o3[2]) && (rtb_D <= rtb_Gain1_o3[3])) { /* : if (rpm_phys - low2) < (high2 - rpm_phys) */ - if (rtb_I_od - (double)rtb_Gain1_h[2] < (double)rtb_Gain1_h[3] - rtb_I_od) { + if (rtb_D - (double)rtb_Gain1_o3[2] < (double)rtb_Gain1_o3[3] - rtb_D) { /* : rpm_phys = low2; */ - rtb_I_od = rtb_Gain1_h[2]; + rtb_D = rtb_Gain1_o3[2]; } else { /* : else */ /* : rpm_phys = high2; */ - rtb_I_od = rtb_Gain1_h[3]; + rtb_D = rtb_Gain1_o3[3]; } } /* : if (rpm_phys >= low3) && (rpm_phys <= high3) */ - if ((rtb_I_od >= rtb_Gain1_h[4]) && (rtb_I_od <= rtb_Gain1_h[5])) { + if ((rtb_D >= rtb_Gain1_o3[4]) && (rtb_D <= rtb_Gain1_o3[5])) { /* : if (rpm_phys - low3) < (high3 - rpm_phys) */ - if (rtb_I_od - (double)rtb_Gain1_h[4] < (double)rtb_Gain1_h[5] - rtb_I_od) { + if (rtb_D - (double)rtb_Gain1_o3[4] < (double)rtb_Gain1_o3[5] - rtb_D) { /* : rpm_phys = low3; */ - rtb_I_od = rtb_Gain1_h[4]; + rtb_D = rtb_Gain1_o3[4]; } else { /* : else */ /* : rpm_phys = high3; */ - rtb_I_od = rtb_Gain1_h[5]; + rtb_D = rtb_Gain1_o3[5]; } } /* : rpm_can = uint8(rpm_phys); */ - rtb_I_od = rt_roundd(rtb_I_od); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - min_side_L = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd(rtb_D); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + min_side_L = (uint8_t)rtb_duct_select_index_dbg_c; } else { min_side_L = 0U; } @@ -8789,29 +11780,29 @@ void HVAC_model_step(void) /* MATLAB Function: '/external fan' incorporates: * Constant: '/Constant1' * Constant: '/Constant6' - * Constant: '/Constant' + * Constant: '/Constant' * DataStoreRead: '/Data Store Read31' * DataStoreRead: '/Data Store Read32' * DataStoreRead: '/Data Store Read81' * DataStoreWrite: '/Data Store Write25' * Lookup_n-D: '/Fan_Speed_By_Pressure' - * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ /* : fan_speed_out = uint8(0); */ max_side_L = 0U; /* : comp_emergency_stop = false; */ - rtb_LogicalOperator1 = false; + eComp_stop = false; /* : if (comp_state ~= 1) */ - if (!rtb_RelationalOperator6_f) { + if (!rtb_Compare_e) { /* : if pressure_failed */ if (rtDW.CCU_PressSenErr_Stat != 0) { /* : fan_speed_out = uint8(100); */ max_side_L = 100U; /* : comp_emergency_stop = true; */ - rtb_LogicalOperator1 = true; + eComp_stop = true; /* : if pressure_val <= g_assPRESSURE_TO_FAN_X */ } else if (rtDW.Pressure > g_assPRESSURE_TO_FAN_X[0]) { @@ -8848,11 +11839,11 @@ void HVAC_model_step(void) */ ShutOffRear_EN = rtB.REAR_eTXV; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' * DataStoreRead: '/Data Store Read12' */ - rtb_Compare_i5 = (rtDW.CAN_LoHi_Front == 11); + rtb_LogicalOperator1 = (rtDW.CAN_LoHi_Front == 11); /* Chart: '/13,1,3,15 Valve control' incorporates: * DataStoreRead: '/Data Store Read15' @@ -8881,15 +11872,15 @@ void HVAC_model_step(void) rtb_Cmd_3Way = 1; /* : sf_internal_predicateOutput = D_tg_RR > g_assTHREEWAY_DUCT_TGT_R(1) && LO_MODE_FULL == false && ECT*10>g_ssTHREEWAY_WATER; */ - rtb_Gain2 = rtDW.ECT * 10; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; + i = rtDW.ECT * 10; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; } - if ((rtDW.Duct_RR_Tg > g_assTHREEWAY_DUCT_TGT_R[0]) && ((!rtb_Compare_i5) && - (rtb_Gain2 > g_ssTHREEWAY_WATER))) { + if ((rtDW.Duct_RR_Tg > g_assTHREEWAY_DUCT_TGT_R[0]) && + ((!rtb_LogicalOperator1) && (i > g_ssTHREEWAY_WATER))) { rtDW.is_ThreeWay_Logic = IN_Wait_3W; /* : Cmd_3Way = 2; */ @@ -8904,15 +11895,15 @@ void HVAC_model_step(void) rtb_Cmd_3Way = 2; /* : sf_internal_predicateOutput = D_tg_RR <= g_assTHREEWAY_DUCT_TGT_R(2) || LO_MODE_FULL == true || ECT*10<=g_ssTHREEWAY_WATER; */ - rtb_Gain2 = rtDW.ECT * 10; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; + i = rtDW.ECT * 10; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; } - if ((rtDW.Duct_RR_Tg <= g_assTHREEWAY_DUCT_TGT_R[1]) || (rtb_Compare_i5 || - (rtb_Gain2 <= g_ssTHREEWAY_WATER))) { + if ((rtDW.Duct_RR_Tg <= g_assTHREEWAY_DUCT_TGT_R[1]) || + (rtb_LogicalOperator1 || (i <= g_ssTHREEWAY_WATER))) { rtDW.is_ThreeWay_Logic = IN_Entry_3W; /* : Cmd_3Way = 1; */ @@ -8966,28 +11957,18 @@ void HVAC_model_step(void) /* End of Chart: '/13,1,3,15 Valve control' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read74' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/write 3 way valve' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * Switch: '/Switch5' + * Switch: '/Switch5' */ if (rtDW.REST_is_active > 0.0) { LowTempValve = rtDW.LowTempValve_req; - } else if ((rtDW.condition_ac_max == 1.0) && (rtDW.SeatOccupiedRL == 0) && - (rtDW.SeatOccupiedRR == 0)) { - /* Switch: '/Switch5' incorporates: - * Constant: '/request to close' + } else if (rtDW.Max_AC_3_way_valve_close_req) { + /* Switch: '/Switch5' incorporates: + * Constant: '/request to close' * DataStoreWrite: '/write 3 way valve' */ LowTempValve = 1U; @@ -8995,7 +11976,7 @@ void HVAC_model_step(void) LowTempValve = (uint8_t)rtb_Cmd_3Way; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ /* Saturate: '/Saturation4' incorporates: * DataStoreRead: '/Data Store Read28' @@ -9008,13 +11989,13 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation4' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant12' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant12' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' */ switch (rtb_Saturation4) { case 0: @@ -9054,7 +12035,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read16' @@ -9069,36 +12050,36 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' + /* Gain: '/Gain' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' */ rtb_Subtract = 52429U * rtb_Saturation_as; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion1' - * Gain: '/Gain' - * Gain: '/Gain1' - * Switch: '/Switch15' - * Switch: '/Switch15' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Switch: '/Switch15' + * Switch: '/Switch15' */ rtb_Cmd_3Way = (int32_t)floor(((double)((int32_t)rtb_Subtract >> 19) - 15.0) * 0.5 + 0.5); - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtb_MultiportSwitch_cn = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -9138,56 +12119,56 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Gain: '/Gain2' */ rtb_dt_nx = rtb_Subtract >> 19; - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain3' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain3' */ - rtb_Gain2 = ((int32_t)rtb_dt_nx + -15) << 14; + i = ((int32_t)rtb_dt_nx + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain1' */ - rtb_DataTypeConversion3_c1 = (uint8_t)((((uint32_t)rtb_Gain2 & 16384U) != 0U) - + (rtb_Gain2 >> 15)); + rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + 15)); - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtb_y_he = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; + rtb_y_he = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation' */ switch (rtb_Saturation4) { case 0: rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled76, &g_assTG_FLU_LV0[0], 12U); + rtConstP.pooled81, &g_assTG_FLU_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation' */ rtb_MultiportSwitch_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV0[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV0[i]; @@ -9196,18 +12177,18 @@ void HVAC_model_step(void) case 1: rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled76, &g_assTG_FLU_LV1[0], 12U); + rtConstP.pooled81, &g_assTG_FLU_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation' */ rtb_MultiportSwitch_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV1[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV1[i]; @@ -9216,18 +12197,18 @@ void HVAC_model_step(void) case 2: rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled76, &g_assTG_FLU_LV2[0], 12U); + rtConstP.pooled81, &g_assTG_FLU_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation' */ rtb_MultiportSwitch_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV2[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant2' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant2' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV2[i]; @@ -9236,18 +12217,18 @@ void HVAC_model_step(void) case 3: rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled76, &g_assTG_FLU_LV3[0], 12U); + rtConstP.pooled81, &g_assTG_FLU_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation' */ rtb_MultiportSwitch_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV3[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant3' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV3[i]; @@ -9256,18 +12237,18 @@ void HVAC_model_step(void) case 4: rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled76, &g_assTG_FLU_LV4[0], 12U); + rtConstP.pooled81, &g_assTG_FLU_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation' */ rtb_MultiportSwitch_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV4[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV4[i]; @@ -9276,18 +12257,18 @@ void HVAC_model_step(void) default: rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled76, &g_assTG_FLU_LV5[0], 12U); + rtConstP.pooled81, &g_assTG_FLU_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation' */ rtb_MultiportSwitch_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV5[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant5' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV5[i]; @@ -9295,107 +12276,107 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_kz[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV0[i]; @@ -9403,25 +12384,25 @@ void HVAC_model_step(void) break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV1[i]; @@ -9429,25 +12410,25 @@ void HVAC_model_step(void) break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant2' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant2' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV2[i]; @@ -9455,25 +12436,25 @@ void HVAC_model_step(void) break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant3' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV3[i]; @@ -9481,25 +12462,25 @@ void HVAC_model_step(void) break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV4[i]; @@ -9507,25 +12488,25 @@ void HVAC_model_step(void) break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant5' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV5[i]; @@ -9533,219 +12514,219 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_by[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read21' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_u5FLU_tg_incar_b = look1_is16lu64n32Ds32_binlcn((int16_t) (rtb_MultiportSwitch_dq2 - rtDW.Incar_FL), rtb_VectorConcatenate_by, rtb_VectorConcatenate_kz, 4U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -9785,33 +12766,33 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV0[i]; @@ -9819,16 +12800,16 @@ void HVAC_model_step(void) break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV1[i]; @@ -9836,16 +12817,16 @@ void HVAC_model_step(void) break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant2' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant2' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV2[i]; @@ -9853,16 +12834,16 @@ void HVAC_model_step(void) break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant3' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV3[i]; @@ -9870,16 +12851,16 @@ void HVAC_model_step(void) break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV4[i]; @@ -9887,16 +12868,16 @@ void HVAC_model_step(void) break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant5' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV5[i]; @@ -9904,376 +12885,376 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Sum: '/2.6. X = Amb_Tg - Amb_Fb' incorporates: - * Bias: '/Bias' - * Constant: '/Constant' + /* Sum: '/2.6. X = Amb_Tg - Amb_Fb' incorporates: + * Bias: '/Bias' + * Constant: '/Constant' * DataStoreRead: '/Data Store Read20' - * Selector: '/Selector1' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Selector: '/Selector1' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ rtb_Bias_ct = (int16_t)(g_assAMB_LV_TG[rtb_Saturation4] - rtDW.AMB); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ rtb_u6FLU_tg_amb_h = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, rtb_VectorConcatenate_dw, rtb_VectorConcatenate_pg, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ rtb_u6FLU_tg_amb_o = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ + /* Sum: '/FLU_tg_correct' */ rtb_FLU_tg_correct = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_ehw + rtb_u5FLU_tg_incar_b) + rtb_u6FLU_tg_amb_h) + rtb_u6FLU_tg_amb_o); - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/LowerRelop1' */ if (rtb_FLU_tg_correct > rtb_y_he) { rtb_FLU_tg_correct = rtb_y_he; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -10313,64 +13294,74 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; + rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ if (rtb_FLU_tg_correct < rtb_Switch2_nb) { rtb_FLU_tg_correct = rtb_Switch2_nb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/dtg from Start Control' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/dtg from Start Control' */ - rtb_FLU_tg_correct = (int16_t)rtDW.Dtg_FUL; + rtb_Merge_b = (int16_t)rtDW.Dtg_FUL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/FXU' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtb_Merge_b = rtb_FLU_tg_correct; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_FLU_tg_correct <= rtb_MultiportSwitch_cn) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' + if (rtb_Merge_b <= rtb_MultiportSwitch_cn) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' */ switch (rtb_Saturation4) { case 0: @@ -10410,94 +13401,93 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_MultiportSwitch_cn = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector1' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' */ - if (rtb_FLU_tg_correct >= rtb_MultiportSwitch_cn) { - rtb_MultiportSwitch_cn = rtb_FLU_tg_correct; + if (rtb_Merge_b >= rtb_MultiportSwitch_cn) { + rtb_MultiportSwitch_cn = rtb_Merge_b; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 5; + i = 5; } else { - rtb_Gain2 = rtDW.CCU_AUTOMODE_FL; + i = rtDW.CCU_AUTOMODE_FL; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_U' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_U' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' */ - funcg_assAUTO_STEP_DUCT_TG_U(rtDW.LEVEL, (double)rtb_Gain2, - &rtb_FLU_tg_correct); + funcg_assAUTO_STEP_DUCT_TG_U(rtDW.LEVEL, (double)i, &rtb_Merge_b); - /* Switch: '/Switch8' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' + /* Switch: '/Switch8' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read44' * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/Equal1' - * Switch: '/Switch' - * Switch: '/Switch15' + * RelationalOperator: '/Equal1' + * Switch: '/Switch' + * Switch: '/Switch15' */ if (rtDW.Max_def_algo_active) { - rtb_FLU_tg_correct = rtDW.Max_def_FLU_duct_tg; + Duct_FLU_Tg = rtDW.Max_def_FLU_duct_tg; } else if (rtDW.LO_HI_MODE_FL > 1) { - /* Switch: '/Switch15' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch15' incorporates: + * Constant: '/Constant' * DataStoreWrite: '/Data Store Write2' */ - rtb_FLU_tg_correct = 600; + Duct_FLU_Tg = 600; } else if (rtDW.CCU_MODE_FL == 0) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write2' - * Sum: '/Add' - * Switch: '/Switch15' + * Sum: '/Add' + * Switch: '/Switch15' */ - rtb_FLU_tg_correct = (int16_t)(rtb_MultiportSwitch_cn + + Duct_FLU_Tg = (int16_t)(rtb_MultiportSwitch_cn + rtDW.FLU_duct_target_offset_autodemist); } else { /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read' - * Sum: '/Add' - * Sum: '/Add' - * Switch: '/Switch' - * Switch: '/Switch15' + * DataStoreRead: '/Data Store Read' + * Sum: '/Add' + * Sum: '/Add' + * Switch: '/Switch' + * Switch: '/Switch15' */ - rtb_FLU_tg_correct += (int16_t)(rtb_MultiportSwitch_cn + - rtDW.FLU_duct_target_offset_autodemist); + Duct_FLU_Tg = (int16_t)((int16_t)(rtb_MultiportSwitch_cn + + rtDW.FLU_duct_target_offset_autodemist) + rtb_Merge_b); } - /* End of Switch: '/Switch8' */ + /* End of Switch: '/Switch8' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant12' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant12' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' */ switch (rtb_Saturation4) { case 0: @@ -10537,21 +13527,21 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_y_he = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -10591,7 +13581,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation1' incorporates: * DataStoreRead: '/Data Store Read17' @@ -10606,987 +13596,1083 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation1' */ - /* Gain: '/Gain' incorporates: - * Gain: '/Gain2' + /* Gain: '/Gain' incorporates: + * Gain: '/Gain2' */ rtb_Gain2_tmp_tmp = 52429U * Gain1; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' */ rtb_Gain2_tmp_tmp_0 = rtb_Gain2_tmp_tmp >> 19; - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain3' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain3' */ - rtb_Gain2 = ((int32_t)rtb_Gain2_tmp_tmp_0 + -15) << 14; + i = ((int32_t)rtb_Gain2_tmp_tmp_0 + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain1' */ - rtb_Switch1_j = (uint8_t)((((uint32_t)rtb_Gain2 & 16384U) != 0U) + (rtb_Gain2 >> + rtb_DataTypeConversion3_hs = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation1' */ switch (rtb_Saturation4) { case 0: rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled76, &g_assTG_FRU_LV0[0], 12U); + rtConstP.pooled81, &g_assTG_FRU_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation1' */ rtb_MultiportSwitch_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV0[0], 12U); + rtConstP.pooled52, &g_assINCAR_TG_FR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FU_INC_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled76, &g_assTG_FRU_LV1[0], 12U); + rtConstP.pooled81, &g_assTG_FRU_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation1' */ rtb_MultiportSwitch_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV1[0], 12U); + rtConstP.pooled52, &g_assINCAR_TG_FR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FU_INC_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled76, &g_assTG_FRU_LV2[0], 12U); + rtConstP.pooled81, &g_assTG_FRU_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation1' */ rtb_MultiportSwitch_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV2[0], 12U); + rtConstP.pooled52, &g_assINCAR_TG_FR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FU_INC_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled76, &g_assTG_FRU_LV3[0], 12U); + rtConstP.pooled81, &g_assTG_FRU_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation1' */ rtb_MultiportSwitch_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV3[0], 12U); + rtConstP.pooled52, &g_assINCAR_TG_FR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FU_INC_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled76, &g_assTG_FRU_LV4[0], 12U); + rtConstP.pooled81, &g_assTG_FRU_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation1' */ rtb_MultiportSwitch_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV4[0], 12U); + rtConstP.pooled52, &g_assINCAR_TG_FR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FU_INC_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled76, &g_assTG_FRU_LV5[0], 12U); + rtConstP.pooled81, &g_assTG_FRU_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation1' */ rtb_MultiportSwitch_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV5[0], 12U); + rtConstP.pooled52, &g_assINCAR_TG_FR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FU_INC_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FRU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FRU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read22' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_u5FRU_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) (rtb_MultiportSwitch_oa - rtDW.Incar_FR), rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FU_AMB_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FU_AMB_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FU_AMB_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FU_AMB_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FU_AMB_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FU_AMB_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FU_AMB_X1_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FU_AMB_X1_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FU_AMB_X1_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FU_AMB_X1_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FU_AMB_X1_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FU_AMB_X1_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FRU_tg_amb' */ + /* Lookup_n-D: '/2.6 FRU_tg_amb' */ rtb_u6FRU_tg_amb_f = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FRU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FRU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ rtb_u6FRU_tg_amb = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct1' */ - rtb_MultiportSwitch_cn = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_ks - + rtb_u5FRU_tg_incar) + rtb_u6FRU_tg_amb_f) + rtb_u6FRU_tg_amb); + /* Sum: '/FLU_tg_correct1' */ + rtb_Merge_b = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_ks + + rtb_u5FRU_tg_incar) + rtb_u6FRU_tg_amb_f) + rtb_u6FRU_tg_amb); - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion2' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion2' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_MultiportSwitch_cn > rtb_uDLookupTable7_g[rtb_Switch1_j - 1]) { - rtb_MultiportSwitch_cn = rtb_uDLookupTable7_g[rtb_Switch1_j - 1]; + if (rtb_Merge_b > rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]) { + rtb_Merge_b = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -11626,61 +14712,61 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_Switch1_j - 1]; + /* Selector: '/Selector' */ + rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_MultiportSwitch_cn < rtb_Switch2_nb) { - rtb_MultiportSwitch_cn = rtb_Switch2_nb; + if (rtb_Merge_b < rtb_Switch2_nb) { + rtb_Merge_b = rtb_Switch2_nb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/dtg from Start Control' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/dtg from Start Control' */ - rtb_MultiportSwitch_cn = (int16_t)rtDW.Dtg_FUR; + rtb_Merge_b = (int16_t)rtDW.Dtg_FUR; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_MultiportSwitch_cn <= rtb_y_he) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' + if (rtb_Merge_b <= rtb_y_he) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' */ switch (rtb_Saturation4) { case 0: @@ -11720,93 +14806,92 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_y_he = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector1' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' */ - if (rtb_MultiportSwitch_cn >= rtb_y_he) { - rtb_y_he = rtb_MultiportSwitch_cn; + if (rtb_Merge_b >= rtb_y_he) { + rtb_y_he = rtb_Merge_b; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 5; + i = 5; } else { - rtb_Gain2 = rtDW.CCU_AUTOMODE_FR; + i = rtDW.CCU_AUTOMODE_FR; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_U' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_U' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' */ - funcg_assAUTO_STEP_DUCT_TG_U(rtDW.LEVEL, (double)rtb_Gain2, - &rtb_MultiportSwitch_cn); + funcg_assAUTO_STEP_DUCT_TG_U(rtDW.LEVEL, (double)i, &rtb_Merge_b); - /* Switch: '/Switch1' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* Switch: '/Switch1' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read44' * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/Equal1' - * Switch: '/Switch' - * Switch: '/Switch15' + * RelationalOperator: '/Equal1' + * Switch: '/Switch' + * Switch: '/Switch15' */ if (rtDW.Max_def_algo_active) { Duct_FRU_Tg = rtDW.Max_def_FLU_duct_tg; } else if (rtDW.LO_HI_MODE_FR > 1) { - /* Switch: '/Switch15' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch15' incorporates: + * Constant: '/Constant' * DataStoreWrite: '/Data Store Write3' */ Duct_FRU_Tg = 600; } else if (rtDW.CCU_MODE_FR == 0) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write3' - * Sum: '/Add' - * Switch: '/Switch15' + * Sum: '/Add' + * Switch: '/Switch15' */ Duct_FRU_Tg = (int16_t)(rtb_y_he + rtDW.FRU_duct_target_offset_autodemist); } else { /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read' - * Sum: '/Add' - * Sum: '/Add' - * Switch: '/Switch' - * Switch: '/Switch15' + * DataStoreRead: '/Data Store Read' + * Sum: '/Add' + * Sum: '/Add' + * Switch: '/Switch' + * Switch: '/Switch15' */ Duct_FRU_Tg = (int16_t)((int16_t)(rtb_y_he + - rtDW.FRU_duct_target_offset_autodemist) + rtb_MultiportSwitch_cn); + rtDW.FRU_duct_target_offset_autodemist) + rtb_Merge_b); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -11846,992 +14931,991 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation2' incorporates: * DataStoreRead: '/Data Store Read18' */ if (rtDW.CCU_SET_RL > 290) { - rtb_Saturation2_a = 290U; + rtb_Saturation2 = 290U; } else if (rtDW.CCU_SET_RL < 170) { - rtb_Saturation2_a = 170U; + rtb_Saturation2 = 170U; } else { - rtb_Saturation2_a = rtDW.CCU_SET_RL; + rtb_Saturation2 = rtDW.CCU_SET_RL; } /* End of Saturate: '/Saturation2' */ - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain' - * Gain: '/Gain2' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain2' + * Gain: '/Gain' */ - rtb_Gain2 = ((int32_t)((52429U * rtb_Saturation2_a) >> 19) + -15) << 14; + i = ((int32_t)((52429U * rtb_Saturation2) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation' */ - rtb_DataTypeConversion1_gy = (uint8_t)((((uint32_t)rtb_Gain2 & 16384U) != 0U) - + (rtb_Gain2 >> 15)); + rtb_DataTypeConversion1_gy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + 15)); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation2' */ switch (rtb_Saturation4) { case 0: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RL_LV0[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation2' */ rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RL_LV0[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RL_LV1[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation2' */ rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RL_LV1[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RL_LV2[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RL_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation2' */ rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RL_LV2[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RL_LV3[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation2' */ rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RL_LV3[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RL_LV4[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation2' */ rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RL_LV4[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RL_LV5[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation2' */ rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RL_LV5[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 R_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 R_tg_incar' incorporates: * DataStoreRead: '/Data Store Read23' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_u5R_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) (rtb_MultiportSwitch_np - rtDW.Incar_RL), rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ rtb_u6FLU_tg_amb_d = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ rtb_u6FLU_tg_amb_n = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct_p = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_cn + + /* Sum: '/FLU_tg_correct' */ + rtb_Merge_b = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_cn + rtb_u5R_tg_incar) + rtb_u6FLU_tg_amb_d) + rtb_u6FLU_tg_amb_n); - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write2' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_p > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]) - { - rtb_FLU_tg_correct_p = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; + if (rtb_Merge_b > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]) { + rtb_Merge_b = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -12871,119 +15955,119 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ + /* Selector: '/Selector' */ rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write2' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_p < rtb_Switch2_nb) { - rtb_FLU_tg_correct_p = rtb_Switch2_nb; + if (rtb_Merge_b < rtb_Switch2_nb) { + rtb_Merge_b = rtb_Switch2_nb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 5; + i = 5; } else { - rtb_Gain2 = rtDW.CCU_AUTOMODE_RL; + i = rtDW.CCU_AUTOMODE_RL; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_R' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_R' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' */ - funcg_assAUTO_STEP_DUCT_TG_R(rtDW.LEVEL, (double)rtb_Gain2, &rtb_y_hg); + funcg_assAUTO_STEP_DUCT_TG_R(rtDW.LEVEL, (double)i, &rtb_y_hg); - /* Switch: '/Switch15' incorporates: - * Constant: '/manual' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch15' incorporates: + * Constant: '/manual' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write4' - * If: '/If' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Switch: '/Switch' + * If: '/If' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Switch: '/Switch' */ if (rtDW.LO_HI_MODE_RL > 1) { - rtb_FLU_tg_correct_p = 800; + rtb_Merge_b = 800; } else if (rtDW.CCU_MODE_RL == 0) { - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/dtg from Start Control' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch' + * DataStoreRead: '/dtg from Start Control' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch' */ - rtb_FLU_tg_correct_p = (int16_t)rtDW.Dtg_RL; + rtb_Merge_b = (int16_t)rtDW.Dtg_RL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } } else { if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/dtg from Start Control' - * DataTypeConversion: '/Data Type Conversion' + /* If: '/If' incorporates: + * DataStoreRead: '/dtg from Start Control' + * DataTypeConversion: '/Data Type Conversion' */ - rtb_FLU_tg_correct_p = (int16_t)rtDW.Dtg_RL; + rtb_Merge_b = (int16_t)rtDW.Dtg_RL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* If: '/If' incorporates: + /* If: '/If' incorporates: * DataStoreWrite: '/Data Store Write4' - * Sum: '/Add' - * Switch: '/Switch' + * Sum: '/Add' + * Switch: '/Switch' */ - rtb_FLU_tg_correct_p += rtb_y_hg; + rtb_Merge_b += rtb_y_hg; } - /* End of Switch: '/Switch15' */ + /* End of Switch: '/Switch15' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -13023,990 +16107,989 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation3' incorporates: * DataStoreRead: '/Data Store Read19' */ if (rtDW.CCU_SET_RR > 290) { - rtb_Saturation2_a = 290U; + rtb_Saturation2 = 290U; } else if (rtDW.CCU_SET_RR < 170) { - rtb_Saturation2_a = 170U; + rtb_Saturation2 = 170U; } else { - rtb_Saturation2_a = rtDW.CCU_SET_RR; + rtb_Saturation2 = rtDW.CCU_SET_RR; } /* End of Saturate: '/Saturation3' */ - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain' - * Gain: '/Gain2' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain2' + * Gain: '/Gain' */ - rtb_Gain2 = ((int32_t)((52429U * rtb_Saturation2_a) >> 19) + -15) << 14; + i = ((int32_t)((52429U * rtb_Saturation2) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation' */ - rtb_DataTypeConversion1_gy = (uint8_t)((((uint32_t)rtb_Gain2 & 16384U) != 0U) - + (rtb_Gain2 >> 15)); + rtb_DataTypeConversion1_gy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + 15)); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation3' */ switch (rtb_Saturation4) { case 0: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RR_LV0[0], 12U); + rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RR_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation3' */ rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RR_LV0[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RR_LV1[0], 12U); + rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation3' */ rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RR_LV1[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RR_LV2[0], 12U); + rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RR_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation3' */ rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RR_LV2[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RR_LV3[0], 12U); + rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RR_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation3' */ rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RR_LV3[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RR_LV4[0], 12U); + rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RR_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation3' */ rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RR_LV4[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assTG_RR_LV5[0], 12U); + rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assTG_RR_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation3' */ rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled49, &g_assINCAR_TG_RR_LV5[0], 12U); + (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ rtb_VectorConcatenate_by[0] = g_assDTG_R_INC_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ rtb_VectorConcatenate_by[3] = g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_by[4] = g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[0] = g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[1] = g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ rtb_VectorConcatenate_kz[3] = g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ rtb_VectorConcatenate_kz[4] = g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read24' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_X = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_MultiportSwitch_cq - rtDW.Incar_RR), rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ rtb_VectorConcatenate_dw[0] = g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ rtb_VectorConcatenate_dw[2] = g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_pg[0] = g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ rtb_VectorConcatenate_pg[2] = g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ rtb_MultiportSwitch_if = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ rtb_VectorConcatenate_gn[1] = g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_gy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_gy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_gy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_gy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_gy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_gy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_gy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_y_hg = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_np, - rtb_VectorConcatenate_gn, 2U); + rtb_u6FLU_tg_amb_a3 = look1_bs16ts16Dd_binlc(rtDW.Sun_R, + rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ - rtDW.Duct_RR_Tg = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_az + rtb_X) - + rtb_MultiportSwitch_if) + rtb_y_hg); + /* Sum: '/FLU_tg_correct' */ + rtb_y_hg = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_az + rtb_X) + + rtb_MultiportSwitch_if) + rtb_u6FLU_tg_amb_a3); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtDW.Duct_RR_Tg > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]) { - /* Sum: '/FLU_tg_correct' */ - rtDW.Duct_RR_Tg = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; + if (rtb_y_hg > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]) { + rtb_y_hg = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -14046,97 +17129,104 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ + /* Selector: '/Selector' */ rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtDW.Duct_RR_Tg < rtb_Switch2_nb) { - /* Sum: '/FLU_tg_correct' */ - rtDW.Duct_RR_Tg = rtb_Switch2_nb; + if (rtb_y_hg < rtb_Switch2_nb) { + rtb_y_hg = rtb_Switch2_nb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 5; + i = 5; } else { - rtb_Gain2 = rtDW.CCU_AUTOMODE_RR; + i = rtDW.CCU_AUTOMODE_RR; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_R' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_R' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' */ - funcg_assAUTO_STEP_DUCT_TG_R(rtDW.LEVEL, (double)rtb_Gain2, &rtb_y_n); + funcg_assAUTO_STEP_DUCT_TG_R(rtDW.LEVEL, (double)i, &rtb_y_n); - /* Switch: '/Switch15' incorporates: - * Constant: '/manual' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read' - * If: '/If' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + if (rtDW.CCU_MODE_RR != 0) { + rtb_y_hg += rtb_y_n; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch15' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write3' + * If: '/If' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * SignalConversion generated from: '/dtg' */ if (rtDW.LO_HI_MODE_RR > 1) { - /* Sum: '/FLU_tg_correct' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write5' - */ rtDW.Duct_RR_Tg = 800; } else if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/dtg from Start Control' + /* If: '/If' incorporates: + * DataStoreRead: '/dtg from Start Control' * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/FLU_tg_correct' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Duct_RR_Tg = (int16_t)rtDW.Dtg_RR; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else if (rtDW.CCU_MODE_RR != 0) { - /* Sum: '/FLU_tg_correct' incorporates: - * DataStoreWrite: '/Data Store Write5' - * Sum: '/Add' - * Switch: '/Switch' + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - rtDW.Duct_RR_Tg += rtb_y_n; + rtDW.Duct_RR_Tg = rtb_y_hg; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of Switch: '/Switch15' */ + /* End of Switch: '/Switch15' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -14144,38 +17234,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV0[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation' */ - rtb_u6FLU_tg_amb_ie = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled49, &g_assTG_FLL_LV0[0], 12U); + rtb_u6FLU_tg_amb_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled52, &g_assTG_FLL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation' */ rtb_u5FLU_tg_incar_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV0[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[0] = - g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: @@ -14183,38 +17273,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV1[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation' */ - rtb_u6FLU_tg_amb_ie = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled49, &g_assTG_FLL_LV1[0], 12U); + rtb_u6FLU_tg_amb_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled52, &g_assTG_FLL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation' */ rtb_u5FLU_tg_incar_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV1[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[0] = - g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: @@ -14222,38 +17312,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV2[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation' */ - rtb_u6FLU_tg_amb_ie = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled49, &g_assTG_FLL_LV2[0], 12U); + rtb_u6FLU_tg_amb_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled52, &g_assTG_FLL_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation' */ rtb_u5FLU_tg_incar_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV2[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[0] = - g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: @@ -14261,38 +17351,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV3[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation' */ - rtb_u6FLU_tg_amb_ie = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled49, &g_assTG_FLL_LV3[0], 12U); + rtb_u6FLU_tg_amb_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled52, &g_assTG_FLL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation' */ rtb_u5FLU_tg_incar_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV3[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[0] = - g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: @@ -14300,38 +17390,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV4[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation' */ - rtb_u6FLU_tg_amb_ie = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled49, &g_assTG_FLL_LV4[0], 12U); + rtb_u6FLU_tg_amb_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled52, &g_assTG_FLL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation' */ rtb_u5FLU_tg_incar_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV4[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[0] = - g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: @@ -14339,945 +17429,944 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV5[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation' */ - rtb_u6FLU_tg_amb_ie = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled49, &g_assTG_FLL_LV5[0], 12U); + rtb_u6FLU_tg_amb_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled52, &g_assTG_FLL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation' */ rtb_u5FLU_tg_incar_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled49, &g_assINCAR_TG_FL_LV5[0], 12U); + (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[0] = - g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[1] = - g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: * DataStoreRead: '/Data Store Read21' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_MultiportSwitch_ac = look1_is16lu64n32Ds32_binlcn((int16_t) (rtb_u5FLU_tg_incar_i - rtDW.Incar_FL), rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' */ + /* Lookup_n-D: '/2.6 FLL_tg_amb' */ rtb_MultiportSwitch1_g = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; + g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_y_n = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, + rtb_Bias3 = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct_b = (int16_t)((int16_t)((int16_t)(rtb_u6FLU_tg_amb_ie + - rtb_MultiportSwitch_ac) + rtb_MultiportSwitch1_g) + rtb_y_n); + /* Sum: '/FLU_tg_correct' */ + rtb_y_n = (int16_t)((int16_t)((int16_t)(rtb_u6FLU_tg_amb_g + + rtb_MultiportSwitch_ac) + rtb_MultiportSwitch1_g) + rtb_Bias3); - /* Switch: '/Switch2' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_b > rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]) - { - rtb_FLU_tg_correct_b = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; + if (rtb_y_n > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]) { + rtb_y_n = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -15317,99 +18406,109 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; + /* Selector: '/Selector' */ + rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_b < rtb_Switch2_nb) { - rtb_FLU_tg_correct_b = rtb_Switch2_nb; + if (rtb_y_n < rtb_Switch2_nb) { + rtb_y_n = rtb_Switch2_nb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 5; + i = 5; } else { - rtb_Gain2 = rtDW.CCU_AUTOMODE_FL; + i = rtDW.CCU_AUTOMODE_FL; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_L' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_L' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' */ - funcg_assAUTO_STEP_DUCT_TG_L(rtDW.LEVEL, (double)rtb_Gain2, &rtb_y_ds); + funcg_assAUTO_STEP_DUCT_TG_L(rtDW.LEVEL, (double)i, &rtb_y_ds); - /* Switch: '/Switch15' incorporates: - * Constant: '/manual' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + if (rtDW.CCU_MODE_FL != 0) { + rtb_y_n += rtb_y_ds; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch15' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write6' - * If: '/If' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Switch: '/Switch' + * If: '/If' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if (rtDW.LO_HI_MODE_FL > 1) { - rtb_FLU_tg_correct_b = 800; + rtb_y_ds = 800; } else { if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/mode from Start Control' - * DataTypeConversion: '/Data Type Conversion' + /* If: '/If' incorporates: + * DataStoreRead: '/mode from Start Control' + * DataTypeConversion: '/Data Type Conversion' */ - rtb_FLU_tg_correct_b = (int16_t)rtDW.Dtg_FLL; + rtb_Switch2_nb = (int16_t)rtDW.Dtg_FLL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else if (rtDW.CCU_MODE_FL != 0) { - /* If: '/If' incorporates: - * Sum: '/Add' - * Switch: '/Switch' + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - rtb_FLU_tg_correct_b += rtb_y_ds; + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write4' + * SignalConversion generated from: '/FXU' + */ + rtb_Switch2_nb = rtb_y_n; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* If: '/If' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read2' - * RelationalOperator: '/Equal1' - * Sum: '/Sum' - * Switch: '/Switch' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read2' + * Sum: '/Sum' */ - rtb_FLU_tg_correct_b += rtDW.Dtg_individual_foot_FL; + rtb_y_ds = (int16_t)(rtb_Switch2_nb + rtDW.Dtg_individual_foot_FL); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant16' - * Constant: '/Constant17' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' */ switch (rtb_Saturation4) { case 0: @@ -15449,29 +18548,29 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_Switch2_nb = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_b > rtb_Switch2_nb) { + if (rtb_y_ds > rtb_Switch2_nb) { /* DataStoreWrite: '/Data Store Write6' */ - rtb_FLU_tg_correct_b = rtb_Switch2_nb; + rtb_y_ds = rtb_Switch2_nb; } else { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' */ switch (rtb_Saturation4) { case 0: @@ -15511,36 +18610,36 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_Switch2_nb = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector1' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' */ - if (rtb_FLU_tg_correct_b < rtb_Switch2_nb) { + if (rtb_y_ds < rtb_Switch2_nb) { /* DataStoreWrite: '/Data Store Write6' */ - rtb_FLU_tg_correct_b = rtb_Switch2_nb; + rtb_y_ds = rtb_Switch2_nb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -15580,1017 +18679,1113 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_y_he = rtb_uDLookupTable7_g[rtb_Switch1_j - 1]; + rtb_y_he = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation1' */ switch (rtb_Saturation4) { case 0: - rtb_y_ds = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assTG_FRL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assINCAR_TG_FR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - rtb_y_ds = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assTG_FRL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assINCAR_TG_FR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - rtb_y_ds = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assTG_FRL_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assINCAR_TG_FR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - rtb_y_ds = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assTG_FRL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assINCAR_TG_FR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - rtb_y_ds = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assTG_FRL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assINCAR_TG_FR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - rtb_y_ds = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assTG_FRL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled49, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, &g_assINCAR_TG_FR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FRL_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FRL_tg_incar' incorporates: * DataStoreRead: '/Data Store Read22' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_Bias1_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias4 - rtDW.Incar_FR), rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' */ + /* Lookup_n-D: '/2.6 FLL_tg_amb' */ rtb_Bias_ct = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV0[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion3_hs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV1[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion3_hs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV2[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion3_hs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV3[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion3_hs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV4[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion3_hs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion3_hs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV5[rtb_Switch1_j - 1]; + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion3_hs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ rtb_DataTypeConversion1_oq = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct_cz = (int16_t)((int16_t)((int16_t)(rtb_y_ds + rtb_Bias1_h) - + rtb_Bias_ct) + rtb_DataTypeConversion1_oq); + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_ot = (int16_t)((int16_t)((int16_t)(rtb_Bias2_n + + rtb_Bias1_h) + rtb_Bias_ct) + rtb_DataTypeConversion1_oq); - /* Switch: '/Switch2' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_cz > rtb_y_he) { - rtb_FLU_tg_correct_cz = rtb_uDLookupTable7_g[rtb_Switch1_j - 1]; + if (rtb_FLU_tg_correct_ot > rtb_y_he) { + rtb_FLU_tg_correct_ot = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -16630,102 +19825,102 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_Switch1_j - 1]; + rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_cz < rtb_Switch2_nb) { - rtb_FLU_tg_correct_cz = rtb_Switch2_nb; + if (rtb_FLU_tg_correct_ot < rtb_Switch2_nb) { + rtb_FLU_tg_correct_ot = rtb_Switch2_nb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 5; + i = 5; } else { - rtb_Gain2 = rtDW.CCU_AUTOMODE_FR; + i = rtDW.CCU_AUTOMODE_FR; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_L' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_L' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' */ - funcg_assAUTO_STEP_DUCT_TG_L(rtDW.LEVEL, (double)rtb_Gain2, &rtb_y_he); + funcg_assAUTO_STEP_DUCT_TG_L(rtDW.LEVEL, (double)i, &rtb_y_he); - /* Switch: '/Switch15' incorporates: - * Constant: '/manual' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch15' incorporates: + * Constant: '/manual' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write7' - * If: '/If' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Switch: '/Switch' + * If: '/If' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Switch: '/Switch' */ if (rtDW.LO_HI_MODE_FR > 1) { rtb_y_he = 800; } else { if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/mode from Start Control' - * DataTypeConversion: '/Data Type Conversion' + /* If: '/If' incorporates: + * DataStoreRead: '/mode from Start Control' + * DataTypeConversion: '/Data Type Conversion' */ - rtb_FLU_tg_correct_cz = (int16_t)rtDW.Dtg_FLR; + rtb_FLU_tg_correct_ot = (int16_t)rtDW.Dtg_FLR; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else if (rtDW.CCU_MODE_FR != 0) { - /* If: '/If' incorporates: - * Sum: '/Add' - * Switch: '/Switch' + /* If: '/If' incorporates: + * Sum: '/Add' + * Switch: '/Switch' */ - rtb_FLU_tg_correct_cz += rtb_y_he; + rtb_FLU_tg_correct_ot += rtb_y_he; } - /* If: '/If' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read2' - * RelationalOperator: '/Equal1' - * Sum: '/Sum' - * Switch: '/Switch' + /* If: '/If' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read2' + * RelationalOperator: '/Equal1' + * Sum: '/Sum' + * Switch: '/Switch' */ - rtb_y_he = (int16_t)(rtb_FLU_tg_correct_cz + rtDW.Dtg_individual_foot_FR); + rtb_y_he = (int16_t)(rtb_FLU_tg_correct_ot + rtDW.Dtg_individual_foot_FR); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant16' - * Constant: '/Constant17' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' */ switch (rtb_Saturation4) { case 0: @@ -16765,29 +19960,29 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_Switch2_nb = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ if (rtb_y_he > rtb_Switch2_nb) { /* DataStoreWrite: '/Data Store Write7' */ rtb_y_he = rtb_Switch2_nb; } else { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' */ switch (rtb_Saturation4) { case 0: @@ -16827,264 +20022,483 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_Switch2_nb = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector1' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' */ if (rtb_y_he < rtb_Switch2_nb) { /* DataStoreWrite: '/Data Store Write7' */ rtb_y_he = rtb_Switch2_nb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_kz[0] = rtb_u6FLU_tg_amb_ie; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[0] = rtb_u6FLU_tg_amb_g; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_kz[1] = rtb_MultiportSwitch_ac; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_kz[2] = rtb_MultiportSwitch1_g; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_kz[3] = rtb_y_n; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[3] = rtb_Bias3; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_kz[4] = rtb_u5FLU_tg_incar_i; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_by[0] = rtb_y_ds; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[0] = rtb_Bias2_n; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_by[1] = rtb_Bias1_h; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_by[2] = rtb_Bias_ct; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_by[3] = rtb_DataTypeConversion1_oq; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_by[4] = rtb_Bias4; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_jn[0] = rtb_MultiportSwitch_az; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_jn[1] = rtb_X; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_jn[2] = rtb_MultiportSwitch_if; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[3] = rtb_y_hg; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_jn[3] = rtb_u6FLU_tg_amb_a3; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_jn[4] = rtb_MultiportSwitch_cq; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_lb[0] = rtb_MultiportSwitch_ks; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_lb[1] = rtb_u5FRU_tg_incar; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_lb[2] = rtb_u6FRU_tg_amb_f; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_lb[3] = rtb_u6FRU_tg_amb; - /* SignalConversion generated from: '/Vector Concatenate' */ + /* SignalConversion generated from: '/Vector Concatenate' */ rtb_VectorConcatenate_lb[4] = rtb_MultiportSwitch_oa; for (i = 0; i < 5; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ Duct_RR_Tg_DBG[i] = rtb_VectorConcatenate_jn[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ Duct_FRU_Tg_DBG[i] = rtb_VectorConcatenate_lb[i]; } - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator6_f); - /* MATLAB Function: '/correction rate' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/correction rate' incorporates: + * Gain: '/Gain2' */ /* : correct_after_time = [g_assCORRECT_DUCT_MAX_LV0; g_assCORRECT_DUCT_MAX_LV1; g_assCORRECT_DUCT_MAX_LV2; g_assCORRECT_DUCT_MAX_LV3; g_assCORRECT_DUCT_MAX_LV4; g_assCORRECT_DUCT_MAX_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ correctionrate((int16_t)(rtb_dt_nx + (uint32_t)((rtb_Subtract & 262144U) != 0U)), - rtb_Saturation4, &rtb_y_hg); + rtb_Saturation4, &rtb_u6FLU_tg_amb_a3); - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ /* : correct_after_time = [g_assCORRECT_DUCT_TIME_FL_LV0; g_assCORRECT_DUCT_TIME_FL_LV1; g_assCORRECT_DUCT_TIME_FL_LV2; g_assCORRECT_DUCT_TIME_FL_LV3; g_assCORRECT_DUCT_TIME_FL_LV4; g_assCORRECT_DUCT_TIME_FL_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ is_ending_with_5(Gain1, &rtb_RelationalOperator6_f); - /* MATLAB Function: '/correction rate' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/correction rate' incorporates: + * Gain: '/Gain2' */ /* : correct_after_time = [g_assCORRECT_DUCT_MAX_LV0; g_assCORRECT_DUCT_MAX_LV1; g_assCORRECT_DUCT_MAX_LV2; g_assCORRECT_DUCT_MAX_LV3; g_assCORRECT_DUCT_MAX_LV4; g_assCORRECT_DUCT_MAX_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ correctionrate((int16_t)(rtb_Gain2_tmp_tmp_0 + (uint32_t)((rtb_Gain2_tmp_tmp & - 262144U) != 0U)), rtb_Saturation4, &rtb_y_hg); + 262144U) != 0U)), rtb_Saturation4, &rtb_u6FLU_tg_amb_a3); - /* Switch: '/Switch5' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read76' - */ + /* MATLAB Function: '/AF VENT' */ /* : correct_after_time = [g_assCORRECT_DUCT_TIME_FR_LV0; g_assCORRECT_DUCT_TIME_FR_LV1; g_assCORRECT_DUCT_TIME_FR_LV2; g_assCORRECT_DUCT_TIME_FR_LV3; g_assCORRECT_DUCT_TIME_FR_LV4; g_assCORRECT_DUCT_TIME_FR_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ - if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 7; - } else { - rtb_Gain2 = rtDW.CCU_BLOWERS_FL; + AFVENT(rtb_out_fzy); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_fzy[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_nz4[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_ovc[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_gkh[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_d23[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_c5x[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_jh3[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_bjx[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_pha[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_gr4[i]; + } + break; } - /* End of Switch: '/Switch5' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Outputs for Enabled SubSystem: '/Front Left AF - manual directions' incorporates: - * EnablePort: '/Enable' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' + * DataStoreRead: '/3 way valve' + * RelationalOperator: '/Equal' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' + if (LowTempValve == 2) { + i = 6; + } else { + i = 2; + } + + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' + */ + AFforspeed(rtb_out_ake, (double)i, &rtb_Saturation_as); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_fzy[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_nz4[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_ovc[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_gkh[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_d23[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_c5x[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_jh3[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_bjx[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_pha[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_gr4[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_ake, 7.0, &Gain1); + + /* Switch: '/Switch5' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read76' + */ + if (rtDW.CCU_AC_MAX > 0) { + i = 7; + } else { + i = rtDW.CCU_BLOWERS_FL; + } + + /* End of Switch: '/Switch5' */ + + /* Outputs for Enabled SubSystem: '/Front Left AF - manual directions' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' */ if (rtDW.CCU_MODE_FL == 0) { - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforBiLevel((uint8_t)rtb_Gain2, &rtb_Saturation_as); + AFforBiLevel((uint8_t)i, &rtb_Saturation2); - /* MATLAB Function: '/AF for Def' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforDef((uint8_t)rtb_Gain2, &Gain1); + AFforDef((uint8_t)i, &rtb_out_fhd); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoorDef((uint8_t)rtb_Gain2, &rtb_Saturation2_a); + AFforFoorDef((uint8_t)i, &rtb_out_fr3); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoot((uint8_t)rtb_Gain2, &rtb_out_g1d); + AFforFoot((uint8_t)i, &rtb_out_crw); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforHi_Level((uint8_t)rtb_Gain2, &rtb_out_hiu); + AFforHi_Level((uint8_t)i, &rtb_out_fze); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforTriLevel((uint8_t)rtb_Gain2, &rtB.MultiportSwitch_cy); + AFforTriLevel((uint8_t)i, &rtB.MultiportSwitch_cy); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforVentmode((uint8_t)rtb_Gain2, &rtb_out_d1n); + AFforVentmode((uint8_t)i, &rtb_out_fm3); - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read9' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read9' */ rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_FL == 1); - /* DataTypeConversion: '/Data Type Conversion5' */ - rtb_DataTypeConversion_gj = rtb_RelationalOperator6_f; - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read8' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + (uint32_t) (rtDW.CCU_DEF_FL == 1)) + (uint32_t) (rtb_RelationalOperator6_f << 2))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' */ rtB.MultiportSwitch_cy = 0U; break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = Gain1; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_out_fhd; break; case 2: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_out_d1n; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_out_fm3; break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_out_hiu; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_out_fze; break; case 4: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_out_g1d; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_out_crw; break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_Saturation2_a; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_out_fr3; break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_Saturation_as; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_Saturation2; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal2' */ - /* End of Outputs for SubSystem: '/Front Left AF - manual directions' */ + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Front Left AF - manual directions' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 5; + i = 5; } else { - rtb_Gain2 = rtDW.CCU_AUTOMODE_FL; + i = rtDW.CCU_AUTOMODE_FL; } - /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: - * Switch: '/Switch2' + /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: + * Switch: '/Switch2' */ - funcg_ascAUTO_STEP_AF_F((double)rtb_Gain2, &rtb_y_cb); + funcg_ascAUTO_STEP_AF_F((double)i, &rtb_y_cb); - /* Saturate: '/Saturation9' incorporates: - * DataStoreRead: '/Data Store Read42' + /* Saturate: '/Saturation9' incorporates: + * DataStoreRead: '/Data Store Read42' */ if (rtDW.LEVEL <= 5) { rtb_Saturation4 = rtDW.LEVEL; @@ -17092,15 +20506,15 @@ void HVAC_model_step(void) rtb_Saturation4 = 5U; } - /* End of Saturate: '/Saturation9' */ + /* End of Saturate: '/Saturation9' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -17140,1051 +20554,1051 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Saturate: '/Saturation5' incorporates: - * DataStoreRead: '/Data Store Read30' + /* Saturate: '/Saturation5' incorporates: + * DataStoreRead: '/Data Store Read30' */ if (rtDW.CCU_SET_FL > 290) { - rtb_Saturation2_a = 290U; + rtb_Saturation2 = 290U; } else if (rtDW.CCU_SET_FL < 170) { - rtb_Saturation2_a = 170U; + rtb_Saturation2 = 170U; } else { - rtb_Saturation2_a = rtDW.CCU_SET_FL; + rtb_Saturation2 = rtDW.CCU_SET_FL; } - /* End of Saturate: '/Saturation5' */ + /* End of Saturate: '/Saturation5' */ - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain3' + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain2' + * Gain: '/Gain3' */ - rtb_Gain2 = ((int32_t)((52429U * rtb_Saturation2_a) >> 19) + -15) << 14; + i = ((int32_t)((52429U * rtb_Saturation2) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation1' */ - rtb_DataTypeConversion3_c1 = (uint8_t)((((uint32_t)rtb_Gain2 & 16384U) != 0U) - + (rtb_Gain2 >> 15)); + rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + 15)); - /* Selector: '/Selector' */ - rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - + /* Selector: '/Selector' */ + rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table9' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table9' + * Saturate: '/Saturation5' */ switch (rtb_Saturation4) { case 0: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assVTG_FL_LV0[0], 12U); + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assVTG_FL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled49, &g_assINCAR_TG_FL_LV0[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled52, &g_assINCAR_TG_FL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assVTG_FL_LV1[0], 12U); + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assVTG_FL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled49, &g_assINCAR_TG_FL_LV1[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled52, &g_assINCAR_TG_FL_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assVTG_FL_LV1[0], 12U); + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assVTG_FL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled49, &g_assINCAR_TG_FL_LV2[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled52, &g_assINCAR_TG_FL_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assVTG_FL_LV3[0], 12U); + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assVTG_FL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table9' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table9' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled49, &g_assINCAR_TG_FL_LV3[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled52, &g_assINCAR_TG_FL_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assVTG_FL_LV4[0], 12U); + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assVTG_FL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled49, &g_assINCAR_TG_FL_LV4[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled52, &g_assINCAR_TG_FL_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled76, &g_assVTG_FL_LV5[0], 12U); + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled81, &g_assVTG_FL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled49, &g_assINCAR_TG_FL_LV5[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled52, &g_assINCAR_TG_FL_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_lb[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_jn[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 Vtg_Fx_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read35' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 Vtg_Fx_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read35' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' */ rtb_Bias4 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias1_h - rtDW.Incar_FL), rtb_VectorConcatenate_jn, rtb_VectorConcatenate_lb, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Sum: '/2.6. X = Amb_Tg - Amb_Fb' incorporates: - * Bias: '/Bias1' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read34' - * Selector: '/Selector2' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Sum: '/2.6. X = Amb_Tg - Amb_Fb' incorporates: + * Bias: '/Bias1' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read34' + * Selector: '/Selector2' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ rtb_MultiportSwitch_az = (int16_t)(g_assAMB_LV_TG[rtb_Saturation4] - rtDW.AMB); - /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_y_ds = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, + rtb_Bias2_n = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read39' + /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read39' */ - rtb_y_n = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, + rtb_Bias3 = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/2.8. Vtg_FX_plus' */ - rtb_y_hg = (int16_t)((int16_t)((int16_t)(rtb_Bias_ct + rtb_Bias4) + rtb_y_ds) - + rtb_y_n); + /* Sum: '/2.8. Vtg_FX_plus' */ + rtb_u6FLU_tg_amb_a3 = (int16_t)((int16_t)((int16_t)(rtb_Bias_ct + rtb_Bias4) + + rtb_Bias2_n) + rtb_Bias3); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_y_hg <= rtb_DataTypeConversion1_oq) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtb_u6FLU_tg_amb_a3 <= rtb_DataTypeConversion1_oq) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -18224,1516 +21638,1291 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' */ - rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 + rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_y_hg >= rtb_DataTypeConversion1_oq) { - rtb_DataTypeConversion1_oq = rtb_y_hg; + if (rtb_u6FLU_tg_amb_a3 >= rtb_DataTypeConversion1_oq) { + rtb_DataTypeConversion1_oq = rtb_u6FLU_tg_amb_a3; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * Constant: '/manual' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/Equal1' - * UnitDelay: '/Unit Delay' + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/Equal1' + * UnitDelay: '/Unit Delay' */ - if (rtDW.UnitDelay_DSTATE_n == 0) { - Blower_AF_FR_for_DiffBlower = rtB.MultiportSwitch_cy; + if (rtDW.UnitDelay_DSTATE_ne == 0) { + rtb_out_fhd = rtB.MultiportSwitch_cy; } else { - /* Sum: '/Add' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain' - * Product: '/Product' + /* Sum: '/Add' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain' + * Product: '/Product' */ index_start = 0.01 * (double)rtb_y_cb * (double)(uint16_t) rtb_DataTypeConversion1_oq + (double)(uint16_t)rtb_DataTypeConversion1_oq; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write' */ if (fabs(index_start) >= 0.5) { - Blower_AF_FR_for_DiffBlower = (uint16_t)floor(index_start + 0.5); + rtb_out_fhd = (uint16_t)floor(index_start + 0.5); } else { - Blower_AF_FR_for_DiffBlower = 0U; + rtb_out_fhd = 0U; } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of DataTypeConversion: '/Data Type Conversion1' */ } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' - * DataStoreRead: '/3 way valve' - * RelationalOperator: '/Equal' - */ - if (LowTempValve == 2) { - rtb_Gain2 = 6; - } else { - rtb_Gain2 = 2; - } - - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' - */ - AFforspeed(rtb_out_fjl, (double)rtb_Gain2, &rtb_Saturation_as); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_g1d); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/AF from Start Control' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - rtb_out_ic3 = rtDW.Blower_FL; - } else { - rtb_out_ic3 = Blower_AF_FR_for_DiffBlower; + rtb_out_fhd = rtDW.Blower_FL; } - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * Sum: '/Add' - * Switch: '/Switch' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * Sum: '/Add' + * Switch: '/Switch' */ - Gain1 = (uint16_t)((uint16_t)((uint32_t)rtb_out_ic3 + + rtb_out_fhd = (uint16_t)((uint16_t)((uint32_t)rtb_out_fhd + rtDW.FL_blower_AF_offset_autodemist) + rtDW.Blower_individual_foot_FL); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_hiu); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_fr3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_d1n); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_crw); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_e2e); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_fze); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_bab); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_ic3); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: - Gain1 = rtb_out_g1d; + rtb_out_fhd = Gain1; break; case 2: break; case 3: - Gain1 = rtb_out_hiu; + rtb_out_fhd = rtb_out_fr3; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: - Gain1 = rtb_out_d1n; + rtb_out_fhd = rtb_out_crw; break; case 2: break; case 3: - Gain1 = rtb_out_e2e; + rtb_out_fhd = rtb_out_fze; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: - Gain1 = rtb_out_bab; + rtb_out_fhd = rtb_out_fm3; break; case 2: break; case 3: - Gain1 = rtb_out_ic3; + rtb_out_fhd = rtb_out_mxq; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_g1d); + AFforspeed(rtb_out_ake, 6.0, &Gain1); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_hiu); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_fr3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_d1n); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_crw); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_e2e); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_fze); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_bab); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && @@ -19741,53 +22930,53 @@ void HVAC_model_step(void) 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) { case 1: - Gain1 = rtb_Saturation_as; + rtb_out_fhd = rtb_Saturation_as; break; case 2: break; case 3: - Gain1 = rtb_out_g1d; + rtb_out_fhd = Gain1; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && @@ -19795,52 +22984,52 @@ void HVAC_model_step(void) 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) { case 1: - Gain1 = rtb_out_hiu; + rtb_out_fhd = rtb_out_fr3; break; case 2: break; case 3: - Gain1 = rtb_out_d1n; + rtb_out_fhd = rtb_out_crw; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && @@ -19848,114 +23037,98 @@ void HVAC_model_step(void) 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) { case 1: - Gain1 = rtb_out_e2e; + rtb_out_fhd = rtb_out_fze; break; case 2: break; case 3: - Gain1 = rtb_out_bab; + rtb_out_fhd = rtb_out_fm3; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' */ if (rtDW.CCU_MODE_FL > 0) { - rtb_DataTypeConversion1_hy = rtDW.Index_mode_FL_auto; + center_percent = rtDW.Index_mode_FL_auto; } else { - rtb_DataTypeConversion1_hy = rtDW.Index_mode_FL_manual; + center_percent = rtDW.Index_mode_FL_manual; } - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' + /* MATLAB Function: '/param index for mode' incorporates: + * Switch: '/Switch' */ - paramindexformode(rtb_DataTypeConversion1_hy, &rtb_duct_select_index_dbg_c); + paramindexformode(center_percent, &rtb_duct_select_index_dbg_c); - /* Switch: '/Switch8' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read2' - * Switch: '/Switch1' + /* MATLAB Function: '/FL AF * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ - if (rtDW.Max_def_algo_active) { - rtb_DataTypeConversion3_c1 = 3U; - rtb_Switch1_j = 3U; - } else { - rtb_DataTypeConversion3_c1 = rtDW.DRS_SFL; - rtb_Switch1_j = rtDW.DRS_CFL; - } - - /* End of Switch: '/Switch8' */ - - /* MATLAB Function: '/FL AF * percent DRS' */ /* : index_start = (param_index - 1) * 3 + 1; */ index_start = (rtb_duct_select_index_dbg_c - 1.0) * 3.0 + 1.0; /* : if DRS_side == 0 */ - if (rtb_DataTypeConversion3_c1 == 0) { + if (rtDW.DRS_SFL == 0) { /* : side_percent = uint8(0); */ rtb_DataTypeConversion1_gy = 0U; } else { /* : else */ /* : side_percent = g_aucFRONT_SIDE_DRS_PERCENT_AF(index_start + 3 - DRS_side); */ - rtb_I_od = rt_roundd((index_start + 3.0) - (double) - rtb_DataTypeConversion3_c1); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) + rtDW.DRS_SFL); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + center_percent = (uint8_t)rtb_duct_select_index_dbg_c; } else { - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } } else { - rtb_DataTypeConversion1_hy = UINT8_MAX; + center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_gy = - g_aucFRONT_SIDE_DRS_PERCENT_AF[rtb_DataTypeConversion1_hy - 1]; + rtb_DataTypeConversion1_gy = g_aucFRONT_SIDE_DRS_PERCENT_AF[center_percent - + 1]; } /* : if DRS_center == 0 */ - if (rtb_Switch1_j == 0) { + if (rtDW.DRS_CFL == 0) { /* : center_percent = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } else { /* : else */ /* : center_percent = g_aucFRONT_CENT_DRS_PERCENT_AF(index_start + 3 - DRS_center); */ - rtb_I_od = rt_roundd((index_start + 3.0) - (double)rtb_Switch1_j); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) + rtDW.DRS_CFL); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + center_percent = (uint8_t)rtb_duct_select_index_dbg_c; } else { - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } } else { - rtb_DataTypeConversion1_hy = UINT8_MAX; + center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_hy = - g_aucFRONT_CENT_DRS_PERCENT_AF[rtb_DataTypeConversion1_hy - 1]; + center_percent = g_aucFRONT_CENT_DRS_PERCENT_AF[center_percent - 1]; } /* : percent = double(side_percent + center_percent) / 2 / 100; */ - rtb_Gain2 = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + - rtb_DataTypeConversion1_hy); - if ((uint32_t)rtb_Gain2 > 255U) { - rtb_Gain2 = 255; + i = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + center_percent); + if ((uint32_t)i > 255U) { + i = 255; } - index_start = (double)rtb_Gain2 / 2.0 / 100.0; + index_start = (double)i / 2.0 / 100.0; /* : fprintf('!!!!!----------DRS FL--------!!!!!') */ printf("!!!!!----------DRS FL--------!!!!!"); @@ -19966,7 +23139,7 @@ void HVAC_model_step(void) fflush(stdout); /* : fprintf('%u', AF_in); */ - printf("%u", Gain1); + printf("%u", rtb_out_fhd); fflush(stdout); /* : fprintf('DRS_side (AF FL):'); */ @@ -19974,7 +23147,7 @@ void HVAC_model_step(void) fflush(stdout); /* : fprintf('%u', DRS_side); */ - printf("%u", rtb_DataTypeConversion3_c1); + printf("%u", rtDW.DRS_SFL); fflush(stdout); /* : fprintf('side_percent (AF FL):'); */ @@ -19990,7 +23163,7 @@ void HVAC_model_step(void) fflush(stdout); /* : fprintf('%u', DRS_center); */ - printf("%u", rtb_Switch1_j); + printf("%u", rtDW.DRS_CFL); fflush(stdout); /* : fprintf('center_percent (AF FL):'); */ @@ -19998,7 +23171,7 @@ void HVAC_model_step(void) fflush(stdout); /* : fprintf('%u', center_percent); */ - printf("%u", rtb_DataTypeConversion1_hy); + printf("%u", center_percent); fflush(stdout); /* : fprintf('percent (AF FL):'); */ @@ -20010,9 +23183,9 @@ void HVAC_model_step(void) fflush(stdout); /* : y = uint16(double(AF_in) * percent); */ - rtb_Gain2 = (int32_t)rt_roundd((double)Gain1 * index_start); - if (rtb_Gain2 < 65536) { - rtb_Saturation_as = (uint16_t)rtb_Gain2; + i = (int32_t)rt_roundd((double)rtb_out_fhd * index_start); + if (i < 65536) { + rtb_Saturation_as = (uint16_t)i; } else { rtb_Saturation_as = UINT16_MAX; } @@ -20025,182 +23198,166 @@ void HVAC_model_step(void) printf("%u", rtb_Saturation_as); fflush(stdout); - /* Switch: '/Switch8' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read4' - * Switch: '/Switch6' + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant12' + * Constant: '/Max Speed for VENT valve index' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/FL AF * percent DRS' + * Sum: '/Add' + * Switch: '/Switch4' */ - if (rtDW.Max_def_algo_active) { - Blower_AF_FR_for_DiffBlower = rtDW.Max_def_FL_blower_AF; - } else if (rtDW.CCU_AC_MAX <= 0) { - /* Switch: '/Switch6' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/FL AF * percent DRS' - * Sum: '/Add' - */ - Blower_AF_FR_for_DiffBlower = (uint8_t)(rtb_Saturation_as + - rtDW.GlassPosition_AF_plus_L); + if (rtDW.CCU_AC_MAX > 0) { + rtb_out_mxq = g_ausFLOW_FR_VE2BLR_AF[7]; + i = 7; + } else { + rtb_out_mxq = (uint8_t)(rtb_Saturation_as + rtDW.GlassPosition_AF_plus_L); + i = rtDW.CCU_BLOWERS_FR; } - /* End of Switch: '/Switch8' */ + /* End of Switch: '/Switch6' */ - /* Saturate: '/Saturation' */ - if (Blower_AF_FR_for_DiffBlower <= 160) { - rtb_Saturation_as = Blower_AF_FR_for_DiffBlower; + /* Saturate: '/Saturation' */ + if (rtb_out_mxq <= 160) { + rtb_Saturation_as = rtb_out_mxq; } else { rtb_Saturation_as = 160U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read76' + /* Outputs for Enabled SubSystem: '/Front Right AF - manual directions' incorporates: + * EnablePort: '/Enable' */ - if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 7; - } else { - rtb_Gain2 = rtDW.CCU_BLOWERS_FR; - } - - /* End of Switch: '/Switch4' */ - - /* Outputs for Enabled SubSystem: '/Front Right AF - manual directions' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read45' + /* RelationalOperator: '/Equal3' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read45' */ if (rtDW.CCU_MODE_FR == 0) { - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforBiLevel((uint8_t)rtb_Gain2, &Gain1); + AFforBiLevel((uint8_t)i, &Gain1); - /* MATLAB Function: '/AF for Def' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforDef((uint8_t)rtb_Gain2, &rtb_out_g1d); + AFforDef((uint8_t)i, &rtb_out_fhd); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoorDef((uint8_t)rtb_Gain2, &rtb_out_hiu); + AFforFoorDef((uint8_t)i, &rtb_out_fr3); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoot((uint8_t)rtb_Gain2, &rtb_out_d1n); + AFforFoot((uint8_t)i, &rtb_out_crw); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforHi_Level((uint8_t)rtb_Gain2, &rtb_out_e2e); + AFforHi_Level((uint8_t)i, &rtb_out_fze); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforTriLevel((uint8_t)rtb_Gain2, &rtB.MultiportSwitch_a); + AFforTriLevel((uint8_t)i, &rtB.MultiportSwitch_a); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforVentmode((uint8_t)rtb_Gain2, &rtb_out_bab); + AFforVentmode((uint8_t)i, &rtb_out_fm3); - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read14' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read14' */ rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_FR == 1); - /* DataTypeConversion: '/Data Type Conversion5' */ - rtb_DataTypeConversion_gj = rtb_RelationalOperator6_f; - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FR == 1) << 1) + (uint32_t) (rtDW.CCU_DEF_FR == 1)) + (uint32_t) (rtb_RelationalOperator6_f << 2))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' */ rtB.MultiportSwitch_a = 0U; break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_g1d; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_fhd; break; case 2: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_bab; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_fm3; break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_e2e; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_fze; break; case 4: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_d1n; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_crw; break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_hiu; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_fr3; break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_a = Gain1; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal3' */ - /* End of Outputs for SubSystem: '/Front Right AF - manual directions' */ + /* End of RelationalOperator: '/Equal3' */ + /* End of Outputs for SubSystem: '/Front Right AF - manual directions' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { - rtb_Gain2 = 5; + i = 5; } else { - rtb_Gain2 = rtDW.CCU_AUTOMODE_FR; + i = rtDW.CCU_AUTOMODE_FR; } - /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: - * Switch: '/Switch2' + /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: + * Switch: '/Switch2' */ - funcg_ascAUTO_STEP_AF_F((double)rtb_Gain2, &rtb_y_cb); + funcg_ascAUTO_STEP_AF_F((double)i, &rtb_y_cb); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -20240,1039 +23397,1039 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Saturate: '/Saturation6' incorporates: - * DataStoreRead: '/Data Store Read31' + /* Saturate: '/Saturation6' incorporates: + * DataStoreRead: '/Data Store Read31' */ if (rtDW.CCU_SET_FR > 290) { - rtb_out_d1n = 290U; + rtb_out_crw = 290U; } else if (rtDW.CCU_SET_FR < 170) { - rtb_out_d1n = 170U; + rtb_out_crw = 170U; } else { - rtb_out_d1n = rtDW.CCU_SET_FR; + rtb_out_crw = rtDW.CCU_SET_FR; } - /* End of Saturate: '/Saturation6' */ + /* End of Saturate: '/Saturation6' */ - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain3' + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain2' + * Gain: '/Gain3' */ - rtb_Gain2 = ((int32_t)((52429U * rtb_out_d1n) >> 19) + -15) << 14; + i = ((int32_t)((52429U * rtb_out_crw) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation1' */ - rtb_DataTypeConversion3_c1 = (uint8_t)((((uint32_t)rtb_Gain2 & 16384U) != 0U) - + (rtb_Gain2 >> 15)); + rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + 15)); - /* Selector: '/Selector' */ - rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - + /* Selector: '/Selector' */ + rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table9' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table9' + * Saturate: '/Saturation6' */ switch (rtb_Saturation4) { case 0: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled76, &g_assVTG_FR_LV0[0], 12U); + rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled81, &g_assVTG_FR_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV0[0], 12U); + rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled52, &g_assINCAR_TG_FR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled76, &g_assVTG_FR_LV1[0], 12U); + rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled81, &g_assVTG_FR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV1[0], 12U); + rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled52, &g_assINCAR_TG_FR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled76, &g_assVTG_FR_LV1[0], 12U); + rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled81, &g_assVTG_FR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV2[0], 12U); + rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled52, &g_assINCAR_TG_FR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled76, &g_assVTG_FR_LV3[0], 12U); + rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled81, &g_assVTG_FR_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table9' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table9' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV3[0], 12U); + rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled52, &g_assINCAR_TG_FR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled76, &g_assVTG_FR_LV4[0], 12U); + rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled81, &g_assVTG_FR_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV4[0], 12U); + rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled52, &g_assINCAR_TG_FR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled76, &g_assVTG_FR_LV5[0], 12U); + rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled81, &g_assVTG_FR_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled49, &g_assINCAR_TG_FR_LV5[0], 12U); + rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled52, &g_assINCAR_TG_FR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_lb[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_jn[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read36' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read36' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_u5FLU_tg_incar_i = look1_is16lu64n32Ds32_binlcn((int16_t) (rtb_MultiportSwitch_ac - rtDW.Incar_FR), rtb_VectorConcatenate_jn, rtb_VectorConcatenate_lb, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_u6FLU_tg_amb_ie = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_u6FLU_tg_amb_g = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read41' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read41' */ - rtb_y_hg = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_np, - rtb_VectorConcatenate_gn, 2U); + rtb_u6FLU_tg_amb_a3 = look1_bs16ts16Dd_binlc(rtDW.Sun_R, + rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ + /* Sum: '/FLU_tg_correct' */ rtb_MultiportSwitch_ks = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch1_g - + rtb_u5FLU_tg_incar_i) + rtb_u6FLU_tg_amb_ie) + rtb_y_hg); + + rtb_u5FLU_tg_incar_i) + rtb_u6FLU_tg_amb_g) + rtb_u6FLU_tg_amb_a3); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_MultiportSwitch_ks <= rtb_DataTypeConversion1_oq) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -21312,740 +24469,737 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' */ - rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 + rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ if (rtb_MultiportSwitch_ks >= rtb_DataTypeConversion1_oq) { rtb_DataTypeConversion1_oq = rtb_MultiportSwitch_ks; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/manual1' - * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/Equal2' - * UnitDelay: '/Unit Delay1' + /* Switch: '/Switch1' incorporates: + * Constant: '/manual1' + * DataStoreWrite: '/Data Store Write2' + * RelationalOperator: '/Equal2' + * UnitDelay: '/Unit Delay1' */ if (rtDW.UnitDelay1_DSTATE_j == 0) { - Blower_AF_FR_for_DiffBlower = rtB.MultiportSwitch_a; + Gain1 = rtB.MultiportSwitch_a; } else { - /* Sum: '/Add' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Product: '/Product' + /* Sum: '/Add' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Product: '/Product' */ index_start = 0.01 * (double)rtb_y_cb * (double)(uint16_t) rtb_DataTypeConversion1_oq + (double)(uint16_t)rtb_DataTypeConversion1_oq; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ if (fabs(index_start) >= 0.5) { - Blower_AF_FR_for_DiffBlower = (uint16_t)floor(index_start + 0.5); + Gain1 = (uint16_t)floor(index_start + 0.5); } else { - Blower_AF_FR_for_DiffBlower = 0U; + Gain1 = 0U; } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of DataTypeConversion: '/Data Type Conversion1' */ } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write2' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/AF from Start Control' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - rtb_out_ic3 = rtDW.Blower_FR; - } else { - rtb_out_ic3 = Blower_AF_FR_for_DiffBlower; + Gain1 = rtDW.Blower_FR; } - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * Sum: '/Add' - * Switch: '/Switch' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * Sum: '/Add' + * Switch: '/Switch' */ - Gain1 = (uint16_t)((uint16_t)((uint32_t)rtb_out_ic3 + + Gain1 = (uint16_t)((uint16_t)((uint32_t)Gain1 + rtDW.FR_blower_AF_offset_autodemist) + rtDW.Blower_individual_foot_FR); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_g1d); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_fhd); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_hiu); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_fr3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_e2e); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_fze); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_bab); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_fm3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_ic3); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_new); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_a2e); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && @@ -22054,36 +25208,36 @@ void HVAC_model_step(void) break; case 2: - Gain1 = rtb_out_g1d; + Gain1 = rtb_out_fhd; break; case 3: - Gain1 = rtb_out_hiu; + Gain1 = rtb_out_fr3; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && @@ -22092,35 +25246,35 @@ void HVAC_model_step(void) break; case 2: - Gain1 = rtb_out_e2e; + Gain1 = rtb_out_fze; break; case 3: - Gain1 = rtb_out_bab; + Gain1 = rtb_out_fm3; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && @@ -22129,685 +25283,685 @@ void HVAC_model_step(void) break; case 2: - Gain1 = rtb_out_ic3; + Gain1 = rtb_out_mxq; break; case 3: - Gain1 = rtb_out_new; + Gain1 = rtb_out_a2e; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' - * DataStoreRead: '/3 way valve' - * RelationalOperator: '/Equal' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' + * DataStoreRead: '/3 way valve' + * RelationalOperator: '/Equal' */ if (LowTempValve == 2) { - rtb_Gain2 = 6; + i = 6; } else { - rtb_Gain2 = 2; + i = 2; } - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' */ - AFforspeed(rtb_out_fjl, (double)rtb_Gain2, &rtb_out_g1d); + AFforspeed(rtb_out_ake, (double)i, &rtb_out_fhd); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_hiu); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_fr3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_e2e); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_fze); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_bab); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_ic3); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_new); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_a2e); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && @@ -22816,36 +25970,36 @@ void HVAC_model_step(void) break; case 2: - Gain1 = rtb_out_g1d; + Gain1 = rtb_out_fhd; break; case 3: - Gain1 = rtb_out_hiu; + Gain1 = rtb_out_fr3; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && @@ -22854,35 +26008,35 @@ void HVAC_model_step(void) break; case 2: - Gain1 = rtb_out_e2e; + Gain1 = rtb_out_fze; break; case 3: - Gain1 = rtb_out_bab; + Gain1 = rtb_out_fm3; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && @@ -22891,1369 +26045,1347 @@ void HVAC_model_step(void) break; case 2: - Gain1 = rtb_out_ic3; + Gain1 = rtb_out_mxq; break; case 3: - Gain1 = rtb_out_new; + Gain1 = rtb_out_a2e; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' */ if (rtDW.CCU_MODE_FR > 0) { rtDW.Index_mode_FR_manual = rtDW.Index_mode_FR_auto; } - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' + /* MATLAB Function: '/param index for mode' incorporates: + * Switch: '/Switch' */ paramindexformode(rtDW.Index_mode_FR_manual, &rtb_duct_select_index_dbg_c); - /* Switch: '/Switch8' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read2' - * Switch: '/Switch1' + /* MATLAB Function: '/FL AF * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ - if (rtDW.Max_def_algo_active) { - rtb_Switch1_j = 3U; - rtb_DataTypeConversion3_c1 = 3U; - } else { - rtb_Switch1_j = rtDW.DRS_SFR; - rtb_DataTypeConversion3_c1 = rtDW.DRS_CFR; - } - - /* End of Switch: '/Switch8' */ - - /* MATLAB Function: '/FL AF * percent DRS' */ /* : index_start = (param_index - 1) * 3 + 1; */ index_start = (rtb_duct_select_index_dbg_c - 1.0) * 3.0 + 1.0; /* : if DRS_side == 0 */ - if (rtb_Switch1_j == 0) { + if (rtDW.DRS_SFR == 0) { /* : side_percent = uint8(0); */ rtb_DataTypeConversion1_gy = 0U; } else { /* : else */ /* : side_percent = g_aucFRONT_SIDE_DRS_PERCENT_AF(index_start + 3 - DRS_side); */ - rtb_I_od = rt_roundd((index_start + 3.0) - (double)rtb_Switch1_j); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) + rtDW.DRS_SFR); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + center_percent = (uint8_t)rtb_duct_select_index_dbg_c; } else { - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } } else { - rtb_DataTypeConversion1_hy = UINT8_MAX; + center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_gy = - g_aucFRONT_SIDE_DRS_PERCENT_AF[rtb_DataTypeConversion1_hy - 1]; + rtb_DataTypeConversion1_gy = g_aucFRONT_SIDE_DRS_PERCENT_AF[center_percent - + 1]; } /* : if DRS_center == 0 */ - if (rtb_DataTypeConversion3_c1 == 0) { + if (rtDW.DRS_CFR == 0) { /* : center_percent = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } else { /* : else */ /* : center_percent = g_aucFRONT_CENT_DRS_PERCENT_AF(index_start + 3 - DRS_center); */ - rtb_I_od = rt_roundd((index_start + 3.0) - (double) - rtb_DataTypeConversion3_c1); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) + rtDW.DRS_CFR); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + center_percent = (uint8_t)rtb_duct_select_index_dbg_c; } else { - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } } else { - rtb_DataTypeConversion1_hy = UINT8_MAX; + center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_hy = - g_aucFRONT_CENT_DRS_PERCENT_AF[rtb_DataTypeConversion1_hy - 1]; + center_percent = g_aucFRONT_CENT_DRS_PERCENT_AF[center_percent - 1]; } - /* Switch: '/Switch9' incorporates: - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * DataStoreRead: '/Data Store Read5' - * Switch: '/Switch7' + /* Switch: '/Switch7' incorporates: + * Constant: '/Max Speed for VENT valve index' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/FL AF * percent DRS' + * Sum: '/Add' */ /* : percent = double(side_percent + center_percent) / 2 / 100; */ /* : y = uint16(double(AF_in) * percent); */ - if (rtDW.Max_def_algo_active) { - Blower_AF_FR_for_DiffBlower = rtDW.Max_def_FR_blower_AF; - } else if (rtDW.CCU_AC_MAX <= 0) { - /* MATLAB Function: '/FL AF * percent DRS' */ - rtb_Gain2 = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + - rtb_DataTypeConversion1_hy); - if ((uint32_t)rtb_Gain2 > 255U) { - rtb_Gain2 = 255; + if (rtDW.CCU_AC_MAX > 0) { + rtb_out_mxq = g_ausFLOW_FR_VE2BLR_AF[7]; + } else { + /* MATLAB Function: '/FL AF * percent DRS' */ + i = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + center_percent); + if ((uint32_t)i > 255U) { + i = 255; } - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_Gain2 / 2.0 / 100.0 * (double) - Gain1); - if (rtb_Gain2 < 65536) { - rtb_out_ic3 = (uint16_t)rtb_Gain2; + i = (int32_t)rt_roundd((double)i / 2.0 / 100.0 * (double)Gain1); + if (i < 65536) { + rtb_out_mxq = (uint16_t)i; } else { - rtb_out_ic3 = UINT16_MAX; + rtb_out_mxq = UINT16_MAX; } - /* Switch: '/Switch7' incorporates: - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/FL AF * percent DRS' - * Sum: '/Add' - */ - Blower_AF_FR_for_DiffBlower = (uint8_t)(rtb_out_ic3 + - rtDW.GlassPosition_AF_plus_R); + rtb_out_mxq = (uint8_t)(rtb_out_mxq + rtDW.GlassPosition_AF_plus_R); } - /* End of Switch: '/Switch9' */ + /* End of Switch: '/Switch7' */ - /* Saturate: '/Saturation1' */ - if (Blower_AF_FR_for_DiffBlower <= 160) { - Gain1 = Blower_AF_FR_for_DiffBlower; + /* Saturate: '/Saturation1' */ + if (rtb_out_mxq <= 160) { + Gain1 = rtb_out_mxq; } else { Gain1 = 160U; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' - * DataStoreRead: '/3 way valve' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' + * DataStoreRead: '/3 way valve' * DataStoreWrite: '/Data Store Write27' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal' - * RelationalOperator: '/Equal1' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' */ if ((LowTempValve == 2) && (rtB.Cmd_2Way == 1)) { - rtb_Gain2 = 6; + i = 6; } else { - rtb_Gain2 = 2; + i = 2; } - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' */ - AFforspeed(rtb_out_fjl, (double)rtb_Gain2, &rtb_out_hiu); + AFforspeed(rtb_out_ake, (double)i, &rtb_out_fr3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_bab); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); - /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read18' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read20' - * DataStoreRead: '/Data Store Read44' + /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' */ + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read18' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' + * DataStoreRead: '/Data Store Read44' */ RearLeftAFmanualdirections((rtDW.CCU_MODE_RL == 0), rtDW.CCU_BLOWERS_RL, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, &rtB.MultiportSwitch_m); - /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ - /* Saturate: '/Saturation7' incorporates: - * DataStoreRead: '/Data Store Read32' + /* Saturate: '/Saturation7' incorporates: + * DataStoreRead: '/Data Store Read32' */ /* : y = g_ascAUTO_STEP_AF_R(AF_STEP); */ if (rtDW.CCU_SET_RL > 290) { - rtb_out_g1d = 290U; + rtb_out_fhd = 290U; } else if (rtDW.CCU_SET_RL < 170) { - rtb_out_g1d = 170U; + rtb_out_fhd = 170U; } else { - rtb_out_g1d = rtDW.CCU_SET_RL; + rtb_out_fhd = rtDW.CCU_SET_RL; } - /* End of Saturate: '/Saturation7' */ + /* End of Saturate: '/Saturation7' */ - /* Gain: '/Gain2' incorporates: - * Bias: '/Bias2' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain2' - * Gain: '/Gain1' + /* Gain: '/Gain2' incorporates: + * Bias: '/Bias2' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain2' + * Gain: '/Gain1' */ - rtb_Gain2 = ((int32_t)((52429U * rtb_out_g1d) >> 19) + -15) << 14; + i = ((int32_t)((52429U * rtb_out_fhd) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation2' */ - rtb_DataTypeConversion3_c1 = (uint8_t)((((uint32_t)rtb_Gain2 & 16384U) != 0U) - + (rtb_Gain2 >> 15)); + rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + 15)); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table9' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table9' + * Saturate: '/Saturation7' */ switch (rtb_Saturation4) { case 0: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_g1d, - rtConstP.pooled76, &g_assVTG_RL_LV0[0], 12U); + rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, + rtConstP.pooled81, &g_assVTG_RL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation7' */ rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_g1d, rtConstP.pooled49, &g_assINCAR_TG_RL_LV0[0], 12U); + (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_g1d, - rtConstP.pooled76, &g_assVTG_RL_LV1[0], 12U); + rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, + rtConstP.pooled81, &g_assVTG_RL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation7' */ rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_g1d, rtConstP.pooled49, &g_assINCAR_TG_RL_LV1[0], 12U); + (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_g1d, - rtConstP.pooled76, &g_assVTG_RL_LV1[0], 12U); + rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, + rtConstP.pooled81, &g_assVTG_RL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation7' */ rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_g1d, rtConstP.pooled49, &g_assINCAR_TG_RL_LV2[0], 12U); + (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_g1d, - rtConstP.pooled76, &g_assVTG_RL_LV3[0], 12U); + rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, + rtConstP.pooled81, &g_assVTG_RL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table9' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table9' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation7' */ rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_g1d, rtConstP.pooled49, &g_assINCAR_TG_RL_LV3[0], 12U); + (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_g1d, - rtConstP.pooled76, &g_assVTG_RL_LV4[0], 12U); + rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, + rtConstP.pooled81, &g_assVTG_RL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation7' */ rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_g1d, rtConstP.pooled49, &g_assINCAR_TG_RL_LV4[0], 12U); + (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_g1d, - rtConstP.pooled76, &g_assVTG_RL_LV5[0], 12U); + rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, + rtConstP.pooled81, &g_assVTG_RL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation7' */ rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_g1d, rtConstP.pooled49, &g_assINCAR_TG_RL_LV5[0], 12U); + (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_lb[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_jn[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read37' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read37' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' */ rtb_MultiportSwitch_oa = look1_is16lu64n32Ds32_binlcn((int16_t) (rtb_DataTypeConversion1_oq - rtDW.Incar_RL), rtb_VectorConcatenate_jn, rtb_VectorConcatenate_lb, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ rtb_u5FRU_tg_incar = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read39' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read39' */ rtb_u6FRU_tg_amb_f = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Switch: '/Switch2' incorporates: - * Constant: '/manual2' - * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/Equal3' - * UnitDelay: '/Unit Delay2' + /* Switch: '/Switch2' incorporates: + * Constant: '/manual2' + * DataStoreWrite: '/Data Store Write1' + * RelationalOperator: '/Equal3' + * UnitDelay: '/Unit Delay2' */ if (rtDW.UnitDelay2_DSTATE == 0) { - rtb_out_g1d = rtB.MultiportSwitch_m; + rtb_out_fhd = rtB.MultiportSwitch_m; } else { - /* Sum: '/2.8. Vtg_FX_plus' */ + /* Sum: '/2.8. Vtg_FX_plus' */ rtb_u6FRU_tg_amb = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_ks + rtb_MultiportSwitch_oa) + rtb_u5FRU_tg_incar) + rtb_u6FRU_tg_amb_f); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -24293,22 +27425,22 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_MultiportSwitch_if = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; + /* Selector: '/Selector' */ + rtb_MultiportSwitch_if = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_u6FRU_tg_amb <= rtb_MultiportSwitch_if) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -24348,1723 +27480,1723 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' */ - rtb_MultiportSwitch_if = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - + rtb_MultiportSwitch_if = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ if (rtb_u6FRU_tg_amb >= rtb_MultiportSwitch_if) { rtb_MultiportSwitch_if = rtb_u6FRU_tg_amb; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain' - * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' - * Product: '/Product' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain' + * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' + * Product: '/Product' */ index_start = (double)g_ascAUTO_STEP_AF_R[(int8_t)rtDW.CCU_AUTOMODE_RL - 1] * 0.01 * (double)(uint16_t)rtb_MultiportSwitch_if + (double)(uint16_t) rtb_MultiportSwitch_if; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write1' */ if (fabs(index_start) >= 0.5) { - rtb_out_g1d = (uint16_t)floor(index_start + 0.5); + rtb_out_fhd = (uint16_t)floor(index_start + 0.5); } else { - rtb_out_g1d = 0U; + rtb_out_fhd = 0U; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/AF from Start Control' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - rtb_out_e2e = rtDW.Blower_RL; + rtb_out_fze = rtDW.Blower_RL; } else { - rtb_out_e2e = rtb_out_g1d; + rtb_out_fze = rtb_out_fhd; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &Blower_AF_FR_for_DiffBlower); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 5.0, &rtb_out_ic3); + AFforspeed(rtb_out_ake, 5.0, &rtb_out_a2e); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_ic3); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_a2e); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_new); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_dam); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_hrq); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_hf5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_hrq); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_hf5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_gr); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_o1n); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_p5d); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_mug); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - rtb_out_e2e = rtb_out_bab; + rtb_out_fze = rtb_out_fm3; break; case 2: break; case 3: - rtb_out_e2e = Blower_AF_FR_for_DiffBlower; + rtb_out_fze = rtb_out_mxq; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - rtb_out_e2e = rtb_out_ic3; + rtb_out_fze = rtb_out_a2e; break; case 2: break; case 3: - rtb_out_e2e = rtb_out_new; + rtb_out_fze = rtb_out_dam; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - rtb_out_e2e = rtb_out_hrq; + rtb_out_fze = rtb_out_hf5; break; case 2: break; case 3: - rtb_out_e2e = rtb_out_gr; + rtb_out_fze = rtb_out_o1n; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_bab); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' - * DataStoreRead: '/3 way valve' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' + * DataStoreRead: '/3 way valve' * DataStoreWrite: '/Data Store Write27' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal' - * RelationalOperator: '/Equal1' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' */ if ((LowTempValve == 2) && (rtB.Cmd_2Way == 1)) { - rtb_Gain2 = 6; + i = 6; } else { - rtb_Gain2 = 2; + i = 2; } - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' */ - AFforspeed(rtb_out_fjl, (double)rtb_Gain2, &Blower_AF_FR_for_DiffBlower); + AFforspeed(rtb_out_ake, (double)i, &rtb_out_mxq); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_ic3); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_a2e); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' * DataStoreWrite: '/Data Store Write27' - * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' */ if (rtB.Cmd_2Way == 1) { - rtb_Gain2 = 6; + i = 6; } else { - rtb_Gain2 = 2; + i = 2; } - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' */ - AFforspeed(rtb_out_fjl, (double)rtb_Gain2, &rtb_out_new); + AFforspeed(rtb_out_ake, (double)i, &rtb_out_dam); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_hrq); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_hf5); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - rtb_out_e2e = rtb_out_hiu; + rtb_out_fze = rtb_out_fr3; break; case 2: break; case 3: - rtb_out_e2e = rtb_out_bab; + rtb_out_fze = rtb_out_fm3; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - rtb_out_e2e = Blower_AF_FR_for_DiffBlower; + rtb_out_fze = rtb_out_mxq; break; case 2: break; case 3: - rtb_out_e2e = rtb_out_ic3; + rtb_out_fze = rtb_out_a2e; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - rtb_out_e2e = rtb_out_new; + rtb_out_fze = rtb_out_dam; break; case 2: break; case 3: - rtb_out_e2e = rtb_out_hrq; + rtb_out_fze = rtb_out_hf5; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' */ if (rtDW.CCU_MODE_RL <= 0) { rtDW.Index_mode_RL_auto = rtDW.Index_mode_RL_manual; } - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' + /* MATLAB Function: '/param index for mode' incorporates: + * Switch: '/Switch' */ paramindexformode_h(rtDW.Index_mode_RL_auto, &rtb_duct_select_index_dbg_c); - /* MATLAB Function: '/RL AF * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/RL AF * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ /* : index_start = (param_index - 1) * 3 + 1; */ index_start = (rtb_duct_select_index_dbg_c - 1.0) * 3.0 + 1.0; @@ -26076,1119 +29208,1108 @@ void HVAC_model_step(void) } else { /* : else */ /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start + 3 - DRS_RLS); */ - rtb_I_od = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_SRL); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) + rtDW.DRS_SRL); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + center_percent = (uint8_t)rtb_duct_select_index_dbg_c; } else { - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } } else { - rtb_DataTypeConversion1_hy = UINT8_MAX; + center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_gy = - g_aucREAR_SIDE_DRS_PERCENT_AF[rtb_DataTypeConversion1_hy - 1]; + rtb_DataTypeConversion1_gy = g_aucREAR_SIDE_DRS_PERCENT_AF[center_percent - + 1]; } /* : if DRS_RLC == 0 */ if (rtDW.DRS_CRL == 0) { /* : center_percent = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } else { /* : else */ /* : center_percent = g_aucREAR_CENT_DRS_PERCENT_AF(index_start + 3 - DRS_RLC); */ - rtb_I_od = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_CRL); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) + rtDW.DRS_CRL); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + center_percent = (uint8_t)rtb_duct_select_index_dbg_c; } else { - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } } else { - rtb_DataTypeConversion1_hy = UINT8_MAX; + center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_hy = - g_aucREAR_CENT_DRS_PERCENT_AF[rtb_DataTypeConversion1_hy - 1]; + center_percent = g_aucREAR_CENT_DRS_PERCENT_AF[center_percent - 1]; } /* : percent = double(side_percent + center_percent) / 2 / 100; */ /* : y = uint16(double(AF_in) * percent); */ - rtb_Gain2 = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + - rtb_DataTypeConversion1_hy); - if ((uint32_t)rtb_Gain2 > 255U) { - rtb_Gain2 = 255; + i = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + center_percent); + if ((uint32_t)i > 255U) { + i = 255; } - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_Gain2 / 2.0 / 100.0 * (double) - rtb_out_e2e); - if (rtb_Gain2 < 65536) { - rtb_out_hiu = (uint16_t)rtb_Gain2; + i = (int32_t)rt_roundd((double)i / 2.0 / 100.0 * (double)rtb_out_fze); + if (i < 65536) { + rtb_out_fr3 = (uint16_t)i; } else { - rtb_out_hiu = UINT16_MAX; + rtb_out_fr3 = UINT16_MAX; } - /* Saturate: '/Saturation2' incorporates: - * MATLAB Function: '/RL AF * percent DRS' + /* Saturate: '/Saturation2' incorporates: + * MATLAB Function: '/RL AF * percent DRS' */ - if (rtb_out_hiu > 160) { - rtb_out_hiu = 160U; + if (rtb_out_fr3 > 160) { + rtb_out_fr3 = 160U; } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ - /* Outputs for Enabled SubSystem: '/Rear Right AF - manual directions' */ - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read16' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read45' + /* Outputs for Enabled SubSystem: '/Rear Right AF - manual directions' */ + /* RelationalOperator: '/Equal1' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read45' */ RearLeftAFmanualdirections((rtDW.CCU_MODE_RR == 0), rtDW.CCU_BLOWERS_RR, rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, &rtB.MultiportSwitch_c); - /* End of Outputs for SubSystem: '/Rear Right AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Right AF - manual directions' */ - /* Saturate: '/Saturation8' incorporates: - * DataStoreRead: '/Data Store Read33' + /* Saturate: '/Saturation8' incorporates: + * DataStoreRead: '/Data Store Read33' */ /* : y = g_ascAUTO_STEP_AF_F(AF_STEP); */ if (rtDW.CCU_SET_RR > 290) { - rtb_out_e2e = 290U; + rtb_out_fze = 290U; } else if (rtDW.CCU_SET_RR < 170) { - rtb_out_e2e = 170U; + rtb_out_fze = 170U; } else { - rtb_out_e2e = rtDW.CCU_SET_RR; + rtb_out_fze = rtDW.CCU_SET_RR; } - /* End of Saturate: '/Saturation8' */ + /* End of Saturate: '/Saturation8' */ - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain2' + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain2' + * Gain: '/Gain2' */ - rtb_Gain2 = ((int32_t)((52429U * rtb_out_e2e) >> 19) + -15) << 14; + i = ((int32_t)((52429U * rtb_out_fze) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation1' */ - rtb_DataTypeConversion3_c1 = (uint8_t)((((uint32_t)rtb_Gain2 & 16384U) != 0U) - + (rtb_Gain2 >> 15)); + rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + 15)); - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table12' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table12' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation8' */ switch (rtb_Saturation4) { case 0: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled76, &g_assVTG_RR_LV0[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled81, &g_assVTG_RR_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled49, &g_assINCAR_TG_RR_LV0[0], 12U); + rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled52, &g_assINCAR_TG_RR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled76, &g_assVTG_RR_LV1[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled81, &g_assVTG_RR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled49, &g_assINCAR_TG_RR_LV1[0], 12U); + rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled52, &g_assINCAR_TG_RR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled76, &g_assVTG_RR_LV1[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled81, &g_assVTG_RR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled49, &g_assINCAR_TG_RR_LV2[0], 12U); + rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled52, &g_assINCAR_TG_RR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled76, &g_assVTG_RR_LV3[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled81, &g_assVTG_RR_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table12' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table12' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled49, &g_assINCAR_TG_RR_LV3[0], 12U); + rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled52, &g_assINCAR_TG_RR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled76, &g_assVTG_RR_LV4[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled81, &g_assVTG_RR_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled49, &g_assINCAR_TG_RR_LV4[0], 12U); + rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled52, &g_assINCAR_TG_RR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled76, &g_assVTG_RR_LV5[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled81, &g_assVTG_RR_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_e2e, - rtConstP.pooled49, &g_assINCAR_TG_RR_LV5[0], 12U); + rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, + rtConstP.pooled52, &g_assINCAR_TG_RR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_lb[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_jn[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_jn[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read38' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read38' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_MultiportSwitch_if = look1_is16lu64n32Ds32_binlcn((int16_t) (rtb_MultiportSwitch_if - rtDW.Incar_RR), rtb_VectorConcatenate_jn, rtb_VectorConcatenate_lb, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV0[i]; - } - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion1_hy - 1]; break; case 1: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV1[i]; - } - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion1_hy - 1]; break; case 2: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV2[i]; - } - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion1_hy - 1]; break; case 3: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV3[i]; - } - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion1_hy - 1]; break; case 4: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV4[i]; - } - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion1_hy - 1]; break; default: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV5[i]; - } - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion3_c1 + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion1_hy - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ rtb_MultiportSwitch_az = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* Switch: '/Switch3' incorporates: - * Constant: '/manual3' - * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/Equal4' - * UnitDelay: '/Unit Delay3' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_pg[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion1_hy + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion1_hy + - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion1_hy + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion1_hy + - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion1_hy + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion1_hy + - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion1_hy + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion1_hy + - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion1_hy + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion1_hy + - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion1_hy + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion1_hy + - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_dw[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion1_hy + - 1]; + + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant6' + */ + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV0[i]; + } + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion1_hy + - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion1_hy + - 1]; + + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant7' + */ + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV1[i]; + } + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion1_hy + - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion1_hy + - 1]; + + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant8' + */ + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV2[i]; + } + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion1_hy + - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion1_hy + - 1]; + + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant9' + */ + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV3[i]; + } + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion1_hy + - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion1_hy + - 1]; + + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant10' + */ + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV4[i]; + } + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion1_hy + - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion1_hy + - 1]; + + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant11' + */ + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV5[i]; + } + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion1_hy + - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read41' + */ + rtb_MultiportSwitch_cq = look1_bs16ts16Dd_binlc(rtDW.Sun_R, + rtb_VectorConcatenate_dw, rtb_VectorConcatenate_pg, 2U); + + /* Switch: '/Switch3' incorporates: + * Constant: '/manual3' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/Equal4' + * UnitDelay: '/Unit Delay3' */ if (rtDW.UnitDelay3_DSTATE == 0) { - rtb_out_e2e = rtB.MultiportSwitch_c; + rtb_out_fze = rtB.MultiportSwitch_c; } else { - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - */ - switch (rtb_Saturation4) { - case 0: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_X2_LV0[i]; - } - break; + /* Sum: '/FLU_tg_correct' */ + rtb_DataTypeConversion1_oq = (int16_t)((int16_t)((int16_t)(rtb_u6FRU_tg_amb + + rtb_MultiportSwitch_if) + rtb_MultiportSwitch_az) + + rtb_MultiportSwitch_cq); - case 1: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_X2_LV1[i]; - } - break; - - case 2: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_X2_LV2[i]; - } - break; - - case 3: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_X2_LV3[i]; - } - break; - - case 4: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_X2_LV4[i]; - } - break; - - default: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_X2_LV5[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[2] = - rtb_MultiportSwitch1_d[rtb_DataTypeConversion3_c1 - 1]; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[1] = - g_assVR_SUN_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[1] = - g_assVR_SUN_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[1] = - g_assVR_SUN_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[1] = - g_assVR_SUN_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[1] = - g_assVR_SUN_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[1] = - g_assVR_SUN_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_pg[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - */ - switch (rtb_Saturation4) { - case 0: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_Y2_LV0[i]; - } - break; - - case 1: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_Y2_LV1[i]; - } - break; - - case 2: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_Y2_LV2[i]; - } - break; - - case 3: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_Y2_LV3[i]; - } - break; - - case 4: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_Y2_LV4[i]; - } - break; - - default: - for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_SUN_Y2_LV5[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* Selector: '/Selector1' incorporates: - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_dw[2] = - rtb_MultiportSwitch1_d[rtb_DataTypeConversion3_c1 - 1]; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_dw[1] = - g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_dw[1] = - g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_dw[1] = - g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_dw[1] = - g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_dw[1] = - g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_dw[1] = - g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_dw[0] = 0; - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read41' - */ - index_start = look1_bs16ts16DdId_binlc(rtDW.Sun_R, rtb_VectorConcatenate_pg, - rtb_VectorConcatenate_dw, 2U); - - /* Sum: '/FLU_tg_correct' */ - rtb_DataTypeConversion1_oq = (int16_t)floor((double)((rtb_u6FRU_tg_amb + - rtb_MultiportSwitch_if) + rtb_MultiportSwitch_az) + index_start); - - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -27228,25 +30349,22 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector1' - */ - rtb_MultiportSwitch_cq = rtb_MultiportSwitch1_d[rtb_DataTypeConversion3_c1 - - 1]; + /* Selector: '/Selector' */ + rtb_X = rtb_MultiportSwitch1_d[rtb_DataTypeConversion1_hy - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_DataTypeConversion1_oq <= rtb_MultiportSwitch_cq) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtb_DataTypeConversion1_oq <= rtb_X) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -27286,1043 +30404,1041 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' */ - rtb_MultiportSwitch_cq = rtb_MultiportSwitch1_d[rtb_DataTypeConversion3_c1 - - 1]; + rtb_X = rtb_MultiportSwitch1_d[rtb_DataTypeConversion1_hy - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_DataTypeConversion1_oq >= rtb_MultiportSwitch_cq) { - rtb_MultiportSwitch_cq = rtb_DataTypeConversion1_oq; + if (rtb_DataTypeConversion1_oq >= rtb_X) { + rtb_X = rtb_DataTypeConversion1_oq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion1' - * Gain: '/Gain' - * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' - * Product: '/Product' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' + * Product: '/Product' */ index_start = (double)g_ascAUTO_STEP_AF_F[(int8_t)rtDW.CCU_AUTOMODE_RR - 1] * - 0.01 * (double)(uint16_t)rtb_MultiportSwitch_cq + (double)(uint16_t) - rtb_MultiportSwitch_cq; + 0.01 * (double)(uint16_t)rtb_X + (double)(uint16_t)rtb_X; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' */ if (fabs(index_start) >= 0.5) { - rtb_out_e2e = (uint16_t)floor(index_start + 0.5); + rtb_out_fze = (uint16_t)floor(index_start + 0.5); } else { - rtb_out_e2e = 0U; + rtb_out_fze = 0U; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/AF from Start Control' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - rtb_out_bab = rtDW.Blower_RR; + rtb_out_fm3 = rtDW.Blower_RR; } else { - rtb_out_bab = rtb_out_e2e; + rtb_out_fm3 = rtb_out_fze; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &Blower_AF_FR_for_DiffBlower); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_mxq); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_ic3); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_a2e); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_new); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_dam); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_new); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_dam); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 7.0, &rtb_out_hrq); + AFforspeed(rtb_out_ake, 7.0, &rtb_out_hf5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_gr); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_o1n); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_gr); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_o1n); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_p5d); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_mug); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 5.0, &rtb_out_m2x); + AFforspeed(rtb_out_ake, 5.0, &rtb_out_ilx); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -28331,36 +31447,36 @@ void HVAC_model_step(void) break; case 2: - rtb_out_bab = Blower_AF_FR_for_DiffBlower; + rtb_out_fm3 = rtb_out_mxq; break; case 3: - rtb_out_bab = rtb_out_ic3; + rtb_out_fm3 = rtb_out_a2e; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -28369,35 +31485,35 @@ void HVAC_model_step(void) break; case 2: - rtb_out_bab = rtb_out_new; + rtb_out_fm3 = rtb_out_dam; break; case 3: - rtb_out_bab = rtb_out_hrq; + rtb_out_fm3 = rtb_out_hf5; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -28406,673 +31522,673 @@ void HVAC_model_step(void) break; case 2: - rtb_out_bab = rtb_out_gr; + rtb_out_fm3 = rtb_out_o1n; break; case 3: - rtb_out_bab = rtb_out_p5d; + rtb_out_fm3 = rtb_out_mug; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_fjl, 6.0, &Blower_AF_FR_for_DiffBlower); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_ic3); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_a2e); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_new); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_dam); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_hrq); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_hf5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_gr); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_o1n); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; + rtb_out_ake[i] = rtb_out_fzy[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; + rtb_out_ake[i] = rtb_out_nz4[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; + rtb_out_ake[i] = rtb_out_ovc[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; + rtb_out_ake[i] = rtb_out_gkh[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; + rtb_out_ake[i] = rtb_out_d23[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; + rtb_out_ake[i] = rtb_out_c5x[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; + rtb_out_ake[i] = rtb_out_jh3[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; + rtb_out_ake[i] = rtb_out_bjx[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; + rtb_out_ake[i] = rtb_out_pha[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; + rtb_out_ake[i] = rtb_out_gr4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_fjl, 6.0, &rtb_out_p5d); + AFforspeed(rtb_out_ake, 6.0, &rtb_out_mug); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -29081,36 +32197,36 @@ void HVAC_model_step(void) break; case 2: - rtb_out_bab = Blower_AF_FR_for_DiffBlower; + rtb_out_fm3 = rtb_out_mxq; break; case 3: - rtb_out_bab = rtb_out_ic3; + rtb_out_fm3 = rtb_out_a2e; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -29119,35 +32235,35 @@ void HVAC_model_step(void) break; case 2: - rtb_out_bab = rtb_out_new; + rtb_out_fm3 = rtb_out_dam; break; case 3: - rtb_out_bab = rtb_out_hrq; + rtb_out_fm3 = rtb_out_hf5; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -29156,39 +32272,39 @@ void HVAC_model_step(void) break; case 2: - rtb_out_bab = rtb_out_gr; + rtb_out_fm3 = rtb_out_o1n; break; case 3: - rtb_out_bab = rtb_out_p5d; + rtb_out_fm3 = rtb_out_mug; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' */ if (rtDW.CCU_MODE_RR > 0) { - rtb_out_ic3 = rtDW.Index_mode_RR_auto; + rtb_out_mxq = rtDW.Index_mode_RR_auto; } else { - rtb_out_ic3 = rtDW.Index_mode_RR_manual; + rtb_out_mxq = rtDW.Index_mode_RR_manual; } - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' + /* MATLAB Function: '/param index for mode' incorporates: + * Switch: '/Switch' */ - paramindexformode_h(rtb_out_ic3, &rtb_duct_select_index_dbg_c); + paramindexformode_h(rtb_out_mxq, &rtb_duct_select_index_dbg_c); - /* MATLAB Function: '/RR AF * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/RR AF * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ /* : index_start = (param_index - 1) * 3 + 1; */ index_start = (rtb_duct_select_index_dbg_c - 1.0) * 3.0 + 1.0; @@ -29200,72 +32316,71 @@ void HVAC_model_step(void) } else { /* : else */ /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start + 3 - DRS_side); */ - rtb_I_od = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_SRR); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) + rtDW.DRS_SRR); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + center_percent = (uint8_t)rtb_duct_select_index_dbg_c; } else { - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } } else { - rtb_DataTypeConversion1_hy = UINT8_MAX; + center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_gy = - g_aucREAR_SIDE_DRS_PERCENT_AF[rtb_DataTypeConversion1_hy - 1]; + rtb_DataTypeConversion1_gy = g_aucREAR_SIDE_DRS_PERCENT_AF[center_percent - + 1]; } /* : if DRS_center == 0 */ if (rtDW.DRS_CRR == 0) { /* : center_percent = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } else { /* : else */ /* : center_percent = g_aucREAR_CENT_DRS_PERCENT_AF(index_start + 3 - DRS_center); */ - rtb_I_od = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_CRR); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_I_od; + rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) + rtDW.DRS_CRR); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + center_percent = (uint8_t)rtb_duct_select_index_dbg_c; } else { - rtb_DataTypeConversion1_hy = 0U; + center_percent = 0U; } } else { - rtb_DataTypeConversion1_hy = UINT8_MAX; + center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_hy = - g_aucREAR_CENT_DRS_PERCENT_AF[rtb_DataTypeConversion1_hy - 1]; + center_percent = g_aucREAR_CENT_DRS_PERCENT_AF[center_percent - 1]; } /* : percent = double(side_percent + center_percent) / 2 / 100; */ /* : y = uint16(double(AF_in) * percent); */ - rtb_Gain2 = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + - rtb_DataTypeConversion1_hy); - if ((uint32_t)rtb_Gain2 > 255U) { - rtb_Gain2 = 255; + i = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + center_percent); + if ((uint32_t)i > 255U) { + i = 255; } - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_Gain2 / 2.0 / 100.0 * (double) - rtb_out_bab); - if (rtb_Gain2 < 65536) { - rtb_out_bab = (uint16_t)rtb_Gain2; + i = (int32_t)rt_roundd((double)i / 2.0 / 100.0 * (double)rtb_out_fm3); + if (i < 65536) { + rtb_out_fm3 = (uint16_t)i; } else { - rtb_out_bab = UINT16_MAX; + rtb_out_fm3 = UINT16_MAX; } - /* Saturate: '/Saturation3' incorporates: - * MATLAB Function: '/RR AF * percent DRS' + /* Saturate: '/Saturation3' incorporates: + * MATLAB Function: '/RR AF * percent DRS' */ - if (rtb_out_bab > 160) { - rtb_out_bab = 160U; + if (rtb_out_fm3 > 160) { + rtb_out_fm3 = 160U; } - /* End of Saturate: '/Saturation3' */ + /* End of Saturate: '/Saturation3' */ - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation2_a, &rtb_RelationalOperator6_f); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_Saturation2, &rtb_RelationalOperator6_f); - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ /* : correct_after_time = [g_assCORRECT_AF_MAX_LV0; g_assCORRECT_AF_MAX_LV1; g_assCORRECT_AF_MAX_LV2; g_assCORRECT_AF_MAX_LV3; g_assCORRECT_AF_MAX_LV4; g_assCORRECT_AF_MAX_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ /* : correct_rate = [g_assCORRECT_AF_RATE_LV0; g_assCORRECT_AF_RATE_LV1; g_assCORRECT_AF_RATE_LV2; g_assCORRECT_AF_RATE_LV3; g_assCORRECT_AF_RATE_LV4; g_assCORRECT_AF_RATE_LV5]; */ @@ -29276,10 +32391,10 @@ void HVAC_model_step(void) /* : disp(y) */ /* : correct_after_time = [g_assCORRECT_AF_TIME_FL_LV0; g_assCORRECT_AF_TIME_FL_LV1; g_assCORRECT_AF_TIME_FL_LV2; g_assCORRECT_AF_TIME_FL_LV3; g_assCORRECT_AF_TIME_FL_LV4; g_assCORRECT_AF_TIME_FL_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ - is_ending_with_5(rtb_out_d1n, &rtb_RelationalOperator6_f); + is_ending_with_5(rtb_out_crw, &rtb_RelationalOperator6_f); - /* DataStoreRead: '/Data Store Read1' incorporates: - * UnitDelay: '/Unit Delay1' + /* DataStoreRead: '/Data Store Read1' incorporates: + * UnitDelay: '/Unit Delay1' */ /* : correct_after_time = [g_assCORRECT_AF_MAX_LV0; g_assCORRECT_AF_MAX_LV1; g_assCORRECT_AF_MAX_LV2; g_assCORRECT_AF_MAX_LV3; g_assCORRECT_AF_MAX_LV4; g_assCORRECT_AF_MAX_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ @@ -29289,63 +32404,25556 @@ void HVAC_model_step(void) /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ rtDW.UnitDelay1_DSTATE_j = rtDW.CCU_MODE_FR; - /* DataStoreRead: '/Data Store Read2' incorporates: - * UnitDelay: '/Unit Delay2' + /* DataStoreRead: '/Data Store Read2' incorporates: + * UnitDelay: '/Unit Delay2' */ rtDW.UnitDelay2_DSTATE = rtDW.CCU_MODE_RL; - /* DataStoreRead: '/Data Store Read3' incorporates: - * UnitDelay: '/Unit Delay3' + /* DataStoreRead: '/Data Store Read3' incorporates: + * UnitDelay: '/Unit Delay3' */ rtDW.UnitDelay3_DSTATE = rtDW.CCU_MODE_RR; - /* DataStoreRead: '/Data Store Read46' incorporates: - * UnitDelay: '/Unit Delay' + /* DataStoreRead: '/Data Store Read46' incorporates: + * UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_n = rtDW.CCU_MODE_FL; + rtDW.UnitDelay_DSTATE_ne = rtDW.CCU_MODE_FL; - /* Chart: '/MAX AC define condition' incorporates: - * DataStoreRead: '/Data Store Read75' - * DataStoreRead: '/Data Store Read78' + /* Outputs for Enabled SubSystem: '/Front Left Valves - manual directions' incorporates: + * EnablePort: '/Enable' */ - if (rtDW.is_active_c248_HVAC_model == 0U) { - rtDW.is_active_c248_HVAC_model = 1U; - rtDW.is_c248_HVAC_model = IN_MAX_AC_OFF; + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' + */ + if (rtDW.CCU_MODE_FL == 0) { + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read10' + */ + rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_FL == 1); - /* : MaxAC_Active = false; */ - /* : condition=0; */ - rtB.condition = 0.0; - } else if (rtDW.is_c248_HVAC_model == IN_MAX_AC_OFF) { - /* : sf_internal_predicateOutput = CCU_AC_MAX==1; */ - if (rtDW.CCU_AC_MAX == 1) { - rtDW.is_c248_HVAC_model = IN_MAX_AC_ON; + /* Sum: '/Add' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + */ + rtb_Saturation2 = (uint16_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + + (uint32_t)(rtDW.CCU_DEF_FL == 1)) + (uint32_t)(rtb_RelationalOperator6_f << + 2)); + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write' + */ + switch (rtb_Saturation2) { + case 0: + rtDW.Index_mode_FL_manual = 0U; + break; + + case 1: + rtDW.Index_mode_FL_manual = 80U; + break; + + case 2: + rtDW.Index_mode_FL_manual = 10U; + break; + + case 3: + rtDW.Index_mode_FL_manual = 100U; + break; + + case 4: + rtDW.Index_mode_FL_manual = 60U; + break; + + case 5: + rtDW.Index_mode_FL_manual = 70U; + break; + + case 6: + rtDW.Index_mode_FL_manual = 20U; + break; + + default: + rtDW.Index_mode_FL_manual = 90U; + break; } - /* case IN_MAX_AC_ON: */ - /* : sf_internal_predicateOutput = CCU_AC_MAX==0; */ - } else if (rtDW.CCU_AC_MAX == 0) { - rtDW.is_c248_HVAC_model = IN_MAX_AC_OFF; + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* : MaxAC_Active = false; */ - /* : condition=0; */ - rtB.condition = 0.0; + /* MATLAB Function: '/Valves for Hi_Level' */ + /* : out = g_ausFLOW_FR_DE2VALVE; */ + /* : out = g_ausFLOW_FR_VE2VALVE; */ + ValvesforHi_Level(rtb_out_cj); - /* : if amb > g_assAC_CUT_OFF_AMB_F(1) */ - } else if (rtDW.AMB > g_assAC_CUT_OFF_AMB_F[0]) { - /* : condition = 1; */ - rtB.condition = 1.0; - } else { - /* : else */ - /* : condition = 2; */ - rtB.condition = 2.0; + /* MATLAB Function: '/Valves for Foot + Def' */ + /* : out = g_ausFLOW_FR_FO2VALVE; */ + ValvesforFootDef(rtb_out_cej); + + /* MATLAB Function: '/Valves for Bi Level' */ + ValvesforBiLevel(rtb_out_pdp); + + /* MATLAB Function: '/Valves for Tri-Level' */ + ValvesforTriLevel(rtB.MultiportSwitch_j); + + /* MultiPortSwitch: '/Multiport Switch' */ + switch (rtb_Saturation2) { + case 0: + /* MultiPortSwitch: '/Multiport Switch' */ + for (i = 0; i < 9; i++) { + rtB.MultiportSwitch_j[i] = 0U; + } + break; + + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/Valves for Def' + */ + for (i = 0; i < 9; i++) { + rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_DE2VALVE[i]; + } + break; + + case 2: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/Valves for Vent mode' + */ + for (i = 0; i < 9; i++) { + rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_VE2VALVE[i]; + } + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' */ + for (i = 0; i < 9; i++) { + rtB.MultiportSwitch_j[i] = rtb_out_cj[i]; + } + break; + + case 4: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/Valves for Foot' + */ + for (i = 0; i < 9; i++) { + rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_FO2VALVE[i]; + } + break; + + case 5: + /* MultiPortSwitch: '/Multiport Switch' */ + for (i = 0; i < 9; i++) { + rtB.MultiportSwitch_j[i] = rtb_out_cej[i]; + } + break; + + case 6: + /* MultiPortSwitch: '/Multiport Switch' */ + for (i = 0; i < 9; i++) { + rtB.MultiportSwitch_j[i] = rtb_out_pdp[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of Chart: '/MAX AC define condition' */ + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Front Left Valves - manual directions' */ - /* DataStoreWrite: '/Data Store Write34' */ - rtDW.condition_ac_max = rtB.condition; + /* RelationalOperator: '/Equal1' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + */ + rtb_LogicalOperator1 = (rtDW.CCU_MODE_FL == 0); - /* Chart: '/Synchronization stateflow chart' */ + /* Saturate: '/Saturation4' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.LEVEL <= 5) { + rtb_Saturation4 = rtDW.LEVEL; + } else { + rtb_Saturation4 = 5U; + } + + /* End of Saturate: '/Saturation4' */ + + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' + */ + if (rtDW.CCU_SET_FL > 290) { + rtb_out_mxq = 290U; + } else if (rtDW.CCU_SET_FL < 170) { + rtb_out_mxq = 170U; + } else { + rtb_out_mxq = rtDW.CCU_SET_FL; + } + + /* MATLAB Function: '/MODE_for_set_and_lvl' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation' + */ + MODE_for_set_and_lvl(rtb_Saturation4, (int16_t)((52429U * rtb_out_mxq) >> 19), + &rtb_DataTypeConversion1_hy); + + /* MATLAB Function: '/valves_front_left' */ + /* : modes_array = [ */ + /* : g_ausFLOW_FR_VE2VALVE; */ + /* : g_ausFLOW_FR_BIVALVE; */ + /* : g_ausFLOW_FR_BI2VALVE; */ + /* : g_ausFLOW_FR_AF2VALVE; */ + /* : g_ausFLOW_FR_AF2VALVE_SUMMER]; */ + /* : index = idivide(MODE, 10); */ + /* : get_valves = modes_array(index, :); */ + i = (int32_t)trunc((double)rtb_DataTypeConversion1_hy / 10.0); + for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 9; rtb_Cmd_3Way++) { + tmp[5 * rtb_Cmd_3Way] = g_ausFLOW_FR_VE2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 1] = g_ausFLOW_FR_BIVALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 2] = g_ausFLOW_FR_BI2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 3] = g_ausFLOW_FR_AF2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Cmd_3Way]; + + /* Switch: '/Switch' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * MultiPortSwitch: '/Multiport Switch' + */ + if (rtb_LogicalOperator1) { + rtb_out_cej[rtb_Cmd_3Way] = rtB.MultiportSwitch_j[rtb_Cmd_3Way]; + } else { + rtb_out_cej[rtb_Cmd_3Way] = tmp[(5 * rtb_Cmd_3Way + i) - 1]; + } + + /* End of Switch: '/Switch' */ + } + + /* End of MATLAB Function: '/valves_front_left' */ + + /* Assignment: '/set valves[5]' incorporates: + * DataStoreRead: '/Data Store Read1' + * Sum: '/Add' + */ + rtb_out_cej[4] += rtDW.Valve_individual_foot_FL; + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/manual' + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read1' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 1) && (rtDW.CCU_MODE_FR == + 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && + (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[5] = 0U; + break; + + case 2: + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[7] = 0U; + break; + + case 3: + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[7] = 0U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW' + * Constant: '/LOW3' + * Constant: '/manual' + * Constant: '/manual' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == + 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && + (rtDW.LO_HI_MODE_RL == 1)))) { + case 1: + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[5] = 0U; + break; + + case 2: + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[7] = 0U; + break; + + case 3: + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[7] = 0U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/manual' + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read1' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MultiPortSwitch: '/Multiport Switch' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 2) && (rtDW.CCU_MODE_FR == + 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && + (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + for (i = 0; i < 9; i++) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' + */ + rtb_out_cj[i] = rtb_out_cej[i]; + } + + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[7] = 0U; + break; + + case 2: + for (i = 0; i < 9; i++) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' + */ + rtb_out_cj[i] = rtb_out_cej[i]; + } + + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[7] = 0U; + break; + + case 3: + for (i = 0; i < 9; i++) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' + */ + rtb_out_cj[i] = rtb_out_cej[i]; + } + + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[7] = 0U; + break; + + default: + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtb_out_cej[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.LO_HI_MODE_FL != 2) || (rtDW.LO_HI_MODE_FR != 2) || + (rtDW.LO_HI_MODE_RL != 2) || (rtDW.LO_HI_MODE_RR != 2)) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/manual' + * Constant: '/manual' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR + == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && + (rtDW.LO_HI_MODE_RL == 2)))) { + case 1: + for (i = 0; i < 9; i++) { + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[6]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' + */ + rtb_out_cej[i] = rtb_out_cj[i]; + } + + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch2' + */ + rtb_out_cej[5] = 0U; + break; + + case 2: + for (i = 0; i < 9; i++) { + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[8]' + */ + rtb_out_cej[i] = rtb_out_cj[i]; + } + break; + + case 3: + for (i = 0; i < 9; i++) { + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[8]' + */ + rtb_out_cej[i] = rtb_out_cj[i]; + } + break; + + default: + /* Switch: '/Switch2' incorporates: + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 9; i++) { + rtb_out_cej[i] = rtb_out_cj[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + } + + /* End of Switch: '/Switch2' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + case 5: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[0] = 100U; + rtb_out_cej[1] = 100U; + rtb_out_cej[4] = 20U; + break; + + case 2: + case 6: + break; + + case 3: + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 6; i++) { + rtb_out_cej[tmp_5[i]] = rtConstP.pooled105[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + break; + + case 7: + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 8; i++) { + rtb_out_cej[i] = rtConstP.pooled104[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + case 5: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[0] = 100U; + rtb_out_cej[1] = 100U; + rtb_out_cej[4] = 20U; + break; + + case 2: + case 6: + break; + + case 3: + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 6; i++) { + rtb_out_cej[tmp_5[i]] = rtConstP.pooled105[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + break; + + case 7: + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 8; i++) { + rtb_out_cej[i] = rtConstP.pooled104[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + case 5: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cej[0] = 100U; + rtb_out_cej[1] = 100U; + rtb_out_cej[4] = 20U; + break; + + case 2: + case 6: + break; + + case 3: + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 6; i++) { + rtb_out_cej[tmp_5[i]] = rtConstP.pooled105[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + break; + + case 7: + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 8; i++) { + rtb_out_cej[i] = rtConstP.pooled104[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + case 5: + /* Assignment: '/valves[1,2,5]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' + * Constant: '/Constant' + */ + rtb_out_cej[0] = 60U; + rtb_out_cej[1] = 60U; + rtb_out_cej[4] = 100U; + break; + + case 2: + case 6: + break; + + case 3: + for (i = 0; i < 9; i++) { + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' + */ + rtb_out_cej[i] = rtConstP.pooled99[i]; + } + break; + + case 7: + for (i = 0; i < 9; i++) { + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' + */ + rtb_out_cej[i] = rtConstP.pooled98[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + case 5: + /* Assignment: '/valves[1,2,5]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' + * Constant: '/Constant' + */ + rtb_out_cej[0] = 60U; + rtb_out_cej[1] = 60U; + rtb_out_cej[4] = 100U; + break; + + case 2: + case 6: + break; + + case 3: + for (i = 0; i < 9; i++) { + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' + */ + rtb_out_cej[i] = rtConstP.pooled102[i]; + } + break; + + case 7: + for (i = 0; i < 9; i++) { + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' + */ + rtb_out_cej[i] = rtConstP.pooled101[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + case 5: + /* Assignment: '/valves[1,2,5]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' + * Constant: '/Constant' + */ + rtb_out_cej[0] = 60U; + rtb_out_cej[1] = 60U; + rtb_out_cej[4] = 100U; + break; + + case 2: + case 6: + break; + + case 3: + for (i = 0; i < 9; i++) { + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' + */ + rtb_out_cej[i] = rtConstP.pooled103[i]; + } + break; + + case 7: + for (i = 0; i < 9; i++) { + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' + */ + rtb_out_cej[i] = rtConstP.pooled101[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Sum: '/Add' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + */ + rtb_Saturation2 = (uint16_t)(((uint32_t)((rtDW.CCU_FACE_FR == 1) << 1) + + (uint32_t)(rtDW.CCU_DEF_FR == 1)) + (uint32_t)((rtDW.CCU_FOOT_FR == 1) << 2)); + + /* MATLAB Function: '/Valves for Hi_Level' */ + /* : out = g_ausFLOW_FR_DE2VALVE; */ + /* : out = g_ausFLOW_FR_VE2VALVE; */ + ValvesforHi_Level(rtb_out_pdp); + + /* MATLAB Function: '/Valves for Foot + Def' */ + /* : out = g_ausFLOW_FR_FO2VALVE; */ + ValvesforFootDef(rtb_out_gta); + + /* MATLAB Function: '/Valves for Bi Level' */ + ValvesforBiLevel(rtb_out_c); + + /* MATLAB Function: '/Valves for Tri-Level' */ + ValvesforTriLevel(rtb_out_cj); + + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read17' + */ + if (rtDW.CCU_SET_FR > 290) { + rtb_out_mxq = 290U; + } else if (rtDW.CCU_SET_FR < 170) { + rtb_out_mxq = 170U; + } else { + rtb_out_mxq = rtDW.CCU_SET_FR; + } + + /* MATLAB Function: '/MODE_for_set_and_lvl1' incorporates: + * Gain: '/Gain1' + * Saturate: '/Saturation1' + */ + MODE_for_set_and_lvl(rtb_Saturation4, (int16_t)((52429U * rtb_out_mxq) >> 19), + &rtb_DataTypeConversion3_hs); + + /* Switch: '/Switch1' incorporates: + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read8' + * RelationalOperator: '/Equal2' + */ + /* : modes_array = [ */ + /* : g_ausFLOW_FR_VE2VALVE; */ + /* : g_ausFLOW_FR_BIVALVE; */ + /* : g_ausFLOW_FR_BI2VALVE; */ + /* : g_ausFLOW_FR_AF2VALVE; */ + /* : g_ausFLOW_FR_AF2VALVE_SUMMER]; */ + /* : index = idivide(MODE, 10); */ + /* : get_valves = modes_array(index, :); */ + if (rtDW.CCU_MODE_FR == 0) { + /* MultiPortSwitch: '/Multiport Switch' */ + switch (rtb_Saturation2) { + case 0: + /* Switch: '/Switch5' */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = 0U; + } + break; + + case 1: + /* Switch: '/Switch5' incorporates: + * MATLAB Function: '/Valves for Def' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = g_ausFLOW_FR_DE2VALVE[i]; + } + break; + + case 2: + /* Switch: '/Switch5' incorporates: + * MATLAB Function: '/Valves for Vent mode' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = g_ausFLOW_FR_VE2VALVE[i]; + } + break; + + case 3: + /* Switch: '/Switch5' */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtb_out_pdp[i]; + } + break; + + case 4: + /* Switch: '/Switch5' incorporates: + * MATLAB Function: '/Valves for Foot' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = g_ausFLOW_FR_FO2VALVE[i]; + } + break; + + case 5: + /* Switch: '/Switch5' */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtb_out_gta[i]; + } + break; + + case 6: + /* Switch: '/Switch5' */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtb_out_c[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + } else { + /* MATLAB Function: '/valves_front_right' incorporates: + * Switch: '/Switch5' + */ + i = (int32_t)trunc((double)rtb_DataTypeConversion3_hs / 10.0); + for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 9; rtb_Cmd_3Way++) { + tmp[5 * rtb_Cmd_3Way] = g_ausFLOW_FR_VE2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 1] = g_ausFLOW_FR_BIVALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 2] = g_ausFLOW_FR_BI2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 3] = g_ausFLOW_FR_AF2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Cmd_3Way]; + rtb_out_cj[rtb_Cmd_3Way] = tmp[(5 * rtb_Cmd_3Way + i) - 1]; + } + + /* End of MATLAB Function: '/valves_front_right' */ + } + + /* End of Switch: '/Switch1' */ + + /* Assignment: '/set valves[7]' incorporates: + * DataStoreRead: '/Data Store Read2' + * Sum: '/Add' + */ + rtb_out_cj[6] += rtDW.Valve_individual_foot_FR; + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/manual' + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read1' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 1) && (rtDW.CCU_MODE_FR == + 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && + (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[5] = 0U; + break; + + case 2: + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[7] = 0U; + break; + + case 3: + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[7] = 0U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW' + * Constant: '/LOW3' + * Constant: '/manual' + * Constant: '/manual' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == + 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && + (rtDW.LO_HI_MODE_RL == 1)))) { + case 1: + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[5] = 0U; + break; + + case 2: + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[7] = 0U; + break; + + case 3: + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[7] = 0U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/manual' + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read1' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MultiPortSwitch: '/Multiport Switch' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 2) && (rtDW.CCU_MODE_FR == + 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && + (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + for (i = 0; i < 9; i++) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' + */ + rtb_out_pdp[i] = rtb_out_cj[i]; + } + + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_pdp[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_pdp[7] = 0U; + break; + + case 2: + for (i = 0; i < 9; i++) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' + */ + rtb_out_pdp[i] = rtb_out_cj[i]; + } + + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_pdp[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_pdp[7] = 0U; + break; + + case 3: + for (i = 0; i < 9; i++) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' + */ + rtb_out_pdp[i] = rtb_out_cj[i]; + } + + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_pdp[5] = 0U; + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_pdp[7] = 0U; + break; + + default: + for (i = 0; i < 9; i++) { + rtb_out_pdp[i] = rtb_out_cj[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.LO_HI_MODE_FL != 2) || (rtDW.LO_HI_MODE_FR != 2) || + (rtDW.LO_HI_MODE_RL != 2) || (rtDW.LO_HI_MODE_RR != 2)) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/manual' + * Constant: '/manual' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR + == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && + (rtDW.LO_HI_MODE_RL == 2)))) { + case 1: + for (i = 0; i < 9; i++) { + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[6]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' + */ + rtb_out_cj[i] = rtb_out_pdp[i]; + } + break; + + case 2: + for (i = 0; i < 9; i++) { + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[8]' + */ + rtb_out_cj[i] = rtb_out_pdp[i]; + } + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch2' + */ + rtb_out_cj[7] = 0U; + break; + + case 3: + for (i = 0; i < 9; i++) { + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[8]' + */ + rtb_out_cj[i] = rtb_out_pdp[i]; + } + + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch2' + */ + rtb_out_cj[7] = 0U; + break; + + default: + /* Switch: '/Switch2' incorporates: + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtb_out_pdp[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + } + + /* End of Switch: '/Switch2' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + case 5: + break; + + case 2: + case 6: + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[2] = 100U; + rtb_out_cj[3] = 100U; + rtb_out_cj[6] = 20U; + break; + + case 3: + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 6; i++) { + rtb_out_cj[tmp_5[i]] = rtConstP.pooled105[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + break; + + case 7: + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 8; i++) { + rtb_out_cj[i] = rtConstP.pooled104[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + case 5: + break; + + case 2: + case 6: + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[2] = 100U; + rtb_out_cj[3] = 100U; + rtb_out_cj[6] = 20U; + break; + + case 3: + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 6; i++) { + rtb_out_cj[tmp_5[i]] = rtConstP.pooled105[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + break; + + case 7: + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 8; i++) { + rtb_out_cj[i] = rtConstP.pooled104[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + case 5: + break; + + case 2: + case 6: + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out_cj[2] = 100U; + rtb_out_cj[3] = 100U; + rtb_out_cj[6] = 20U; + break; + + case 3: + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 6; i++) { + rtb_out_cj[tmp_5[i]] = rtConstP.pooled105[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + break; + + case 7: + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 8; i++) { + rtb_out_cj[i] = rtConstP.pooled104[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + case 5: + break; + + case 2: + case 6: + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch5' + */ + rtb_out_cj[2] = 60U; + rtb_out_cj[3] = 60U; + rtb_out_cj[6] = 100U; + break; + + case 3: + /* Switch: '/Switch5' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtConstP.pooled99[i]; + } + break; + + case 7: + /* Switch: '/Switch5' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtConstP.pooled98[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + case 5: + break; + + case 2: + case 6: + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch5' + */ + rtb_out_cj[2] = 60U; + rtb_out_cj[3] = 60U; + rtb_out_cj[6] = 100U; + break; + + case 3: + /* Switch: '/Switch5' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtConstP.pooled102[i]; + } + break; + + case 7: + /* Switch: '/Switch5' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtConstP.pooled101[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + case 5: + break; + + case 2: + case 6: + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch5' + */ + rtb_out_cj[2] = 60U; + rtb_out_cj[3] = 60U; + rtb_out_cj[6] = 100U; + break; + + case 3: + /* Switch: '/Switch5' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtConstP.pooled103[i]; + } + break; + + case 7: + /* Switch: '/Switch5' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtConstP.pooled101[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' + */ + rtb_out_cej[2] = rtb_out_cj[2]; + + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' */ + rtb_out_cej[6] = rtb_out_cj[6]; + + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' + */ + rtb_out_cej[3] = rtb_out_cj[3]; + + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' */ + rtb_out_cej[7] = rtb_out_cj[7]; + + /* Switch: '/Switch5' incorporates: + * DataStoreRead: '/Data Store Read15' + */ + if (rtDW.Foot2_control_FL_is_active) { + /* Assignment: '/â [6] (foot2 FL valve)' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch5' + */ + rtb_out_cej[5] = rtDW.Foot2_control_FL; + } + + /* End of Switch: '/Switch5' */ + + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + if (rtDW.Foot2_control_FR_is_active) { + /* Assignment: '/â [8] (foot2 FR valve)' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch1' + */ + rtb_out_cej[7] = rtDW.Foot2_control_FR; + } + + /* End of Switch: '/Switch1' */ + + /* Switch: '/Switch6' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.def_valve_100_req) { + /* Assignment: '/â [9] (Def valve)' incorporates: + * Constant: '/Constant' + * Switch: '/Switch6' + */ + rtb_out_cej[8] = 100U; + } + + /* End of Switch: '/Switch6' */ + + /* Switch: '/Switch5' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read15' + * Logic: '/Logical Operator' + * Switch: '/Switch6' + */ + if (rtDW.Max_def_algo_active || rtDW.Max_AC_algo_active) { + for (i = 0; i < 9; i++) { + /* Switch: '/Switch5' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [6]' + * Assignment: '/Ïðèñâàèâàíèå â [8]' + * Switch: '/Switch6' + */ + rtb_out_cj[i] = rtb_out_cej[i]; + } + + /* Assignment: '/Ïðèñâàèâàíèå â [6]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [8]' + * Constant: '/Constant' + * Switch: '/Switch5' + */ + rtb_out_cj[5] = 0U; + + /* Assignment: '/Ïðèñâàèâàíèå â [8]' incorporates: + * Constant: '/Constant1' + * Switch: '/Switch5' + */ + rtb_out_cj[7] = 0U; + } else { + for (i = 0; i < 9; i++) { + rtb_out_cj[i] = rtb_out_cej[i]; + } + } + + /* End of Switch: '/Switch5' */ + + /* Outputs for Enabled SubSystem: '/Rear valves left - manual directions' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' + */ + if (rtDW.CCU_MODE_RL == 0) { + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read24' + */ + rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_RL == 1); + + /* Sum: '/Add' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read23' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' + */ + rtb_out_crw = (uint16_t)((uint32_t)(rtDW.CCU_FACE_RL == 1) + (uint32_t) + (rtb_RelationalOperator6_f << 1)); + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreWrite: '/Data Store Write' + */ + switch (rtb_out_crw) { + case 0: + rtDW.Index_mode_RL_manual = 0U; + break; + + case 1: + rtDW.Index_mode_RL_manual = 120U; + break; + + case 2: + rtDW.Index_mode_RL_manual = 140U; + break; + + default: + rtDW.Index_mode_RL_manual = 130U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* MATLAB Function: '/AF for Bi Level' */ + AFforBiLevel_i(rtB.MultiportSwitch_h); + + /* MATLAB Function: '/valves for Vent mode' */ + /* : out = g_ausFLOW_RE_FO2VALVE; */ + valvesforVentmode(rtb_Gain1_o3); + + /* MultiPortSwitch: '/Multiport Switch' */ + switch (rtb_out_crw) { + case 0: + /* MultiPortSwitch: '/Multiport Switch' */ + for (i = 0; i < 6; i++) { + rtB.MultiportSwitch_h[i] = 0U; + } + break; + + case 1: + /* MultiPortSwitch: '/Multiport Switch' */ + for (i = 0; i < 6; i++) { + rtB.MultiportSwitch_h[i] = rtb_Gain1_o3[i]; + } + break; + + case 2: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/AF for Foot' + */ + for (i = 0; i < 6; i++) { + rtB.MultiportSwitch_h[i] = g_ausFLOW_RE_FO2VALVE[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + } + + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Rear valves left - manual directions' */ + + /* MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ + /* : modes_array = [ */ + /* : g_ausMODE_BY_DUCT_TG_R_LV0; */ + /* : g_ausMODE_BY_DUCT_TG_R_LV1; */ + /* : g_ausMODE_BY_DUCT_TG_R_LV2; */ + /* : g_ausMODE_BY_DUCT_TG_R_LV3; */ + /* : g_ausMODE_BY_DUCT_TG_R_LV4; */ + /* : g_ausMODE_BY_DUCT_TG_R_LV5]; */ + /* : get_mode = modes_array(LVL + 1, :); */ + for (i = 0; i < 7; i++) { + tmp_0[6 * i] = g_ausMODE_BY_DUCT_TG_R_LV0[i]; + tmp_0[6 * i + 1] = g_ausMODE_BY_DUCT_TG_R_LV1[i]; + tmp_0[6 * i + 2] = g_ausMODE_BY_DUCT_TG_R_LV2[i]; + tmp_0[6 * i + 3] = g_ausMODE_BY_DUCT_TG_R_LV3[i]; + tmp_0[6 * i + 4] = g_ausMODE_BY_DUCT_TG_R_LV4[i]; + tmp_0[6 * i + 5] = g_ausMODE_BY_DUCT_TG_R_LV5[i]; + rtb_get_mode[i] = tmp_0[6 * i + rtb_Saturation4]; + } + + /* End of MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ + + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read6' + * Sum: '/Subtract' + * UnitDelay: '/Unit Delay' + */ + if ((int16_t)(rtb_Merge_b - rtDW.UnitDelay_DSTATE_fq) >= 0) { + /* Outputs for IfAction SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RL' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rear_mode_index' incorporates: + * MATLAB Function: '/increase' + */ + increase(rtb_Merge_b, rtb_get_mode, &rtDW.Index_mode_RL_auto); + + /* End of Outputs for SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RL' */ + } else { + /* Outputs for IfAction SubSystem: '/duct_tg óìåíüøàåòñÿ RL' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/y' incorporates: + * MATLAB Function: '/decrease' + */ + decrease(rtb_Merge_b, rtb_get_mode, &rtDW.Index_mode_RL_auto); + + /* End of Outputs for SubSystem: '/duct_tg óìåíüøàåòñÿ RL' */ + } + + /* End of If: '/If2' */ + + /* MATLAB Function: '/valves_rear_left' */ + valves_rear_left(rtDW.Index_mode_RL_auto, rtb_Gain1_o3); + + /* Switch: '/Switch2' incorporates: + * Constant: '/manual2' + * DataStoreRead: '/Data Store Read9' + * MultiPortSwitch: '/Multiport Switch' + * RelationalOperator: '/Equal3' + */ + if (rtDW.CCU_MODE_RL == 0) { + for (i = 0; i < 6; i++) { + rtb_Gain1_o3[i] = rtB.MultiportSwitch_h[i]; + } + } + + /* End of Switch: '/Switch2' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1)))) { + case 1: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_Gain1_o3[0] = 100U; + rtb_Gain1_o3[1] = 100U; + rtb_Gain1_o3[4] = 0U; + break; + + case 2: + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_Gain1_o3[i] = rtConstP.pooled110[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1)))) { + case 1: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_Gain1_o3[0] = 100U; + rtb_Gain1_o3[1] = 100U; + rtb_Gain1_o3[4] = 0U; + break; + + case 2: + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_Gain1_o3[i] = rtConstP.pooled110[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1)))) { + case 1: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_Gain1_o3[0] = 100U; + rtb_Gain1_o3[1] = 100U; + rtb_Gain1_o3[4] = 0U; + break; + + case 2: + /* Assignment: '/valves[1, 2, 3, 4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 5; i++) { + rtb_Gain1_o3[tmp_6[i]] = rtConstP.pooled112[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4,6]' */ + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_Gain1_o3[i] = rtConstP.pooled110[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2)))) { + case 1: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_Gain1_o3[0] = 70U; + rtb_Gain1_o3[1] = 40U; + rtb_Gain1_o3[4] = 100U; + break; + + case 2: + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_Gain1_o3[i] = rtConstP.pooled107[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2)))) { + case 1: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_Gain1_o3[0] = 70U; + rtb_Gain1_o3[1] = 40U; + rtb_Gain1_o3[4] = 100U; + break; + + case 2: + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_Gain1_o3[i] = rtConstP.pooled107[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2)))) { + case 1: + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_Gain1_o3[0] = 70U; + rtb_Gain1_o3[1] = 40U; + rtb_Gain1_o3[4] = 100U; + break; + + case 2: + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_Gain1_o3[i] = rtConstP.pooled107[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/param index for mode' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : switch index_mode */ + switch (rtDW.Index_mode_RL) { + case 0U: + /* : case 0 */ + /* : Y = 1; */ + i = 1; + break; + + case 120U: + /* : case 120 */ + /* : Y = 1; */ + i = 1; + break; + + case 130U: + /* : case 130 */ + /* : Y = 2; */ + i = 2; + break; + + case 140U: + /* : case 140 */ + /* : Y = 2; */ + i = 2; + break; + + case 150U: + /* : case 150 */ + /* : Y = 1; */ + i = 1; + break; + + case 160U: + /* : case 160 */ + /* : Y = 3; */ + i = 3; + break; + + case 170U: + /* : case 170 */ + /* : Y = 1; */ + i = 1; + break; + + case 180U: + /* : case 180 */ + /* : Y = 3; */ + i = 3; + break; + + case 190U: + /* : case 190 */ + /* : Y = 1; */ + i = 1; + break; + + case 200U: + /* : case 200 */ + /* : Y = 2; */ + i = 2; + break; + + default: + /* : otherwise */ + /* : Y = 1; */ + i = 1; + break; + } + + /* End of MATLAB Function: '/param index for mode' */ + + /* MATLAB Function: '/RL valves * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + */ + /* : index_start = (param_index - 1) * 3 + 1; */ + rtb_Cmd_3Way = (i - 1) * 3 + 1; + + /* : if DRS_RLS == 0 */ + if (rtDW.DRS_SRL == 0) { + /* : side_percent = uint8(0); */ + rtb_DataTypeConversion1_gy = 0U; + } else { + /* : else */ + /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start + 3 - DRS_RLS); */ + i = (rtb_Cmd_3Way - rtDW.DRS_SRL) + 3; + if (i >= 0) { + center_percent = (uint8_t)i; + } else { + center_percent = 0U; + } + + rtb_DataTypeConversion1_gy = g_aucREAR_SIDE_DRS_PERCENT_VALVE[center_percent + - 1]; + } + + /* : if DRS_RLC == 0 */ + if (rtDW.DRS_CRL == 0) { + /* : center_percent = uint8(0); */ + center_percent = 0U; + } else { + /* : else */ + /* : center_percent = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start + 3 - DRS_RLC); */ + i = (rtb_Cmd_3Way - rtDW.DRS_CRL) + 3; + if (i >= 0) { + center_percent = (uint8_t)i; + } else { + center_percent = 0U; + } + + center_percent = g_aucREAR_CENT_DRS_PERCENT_VALVE[center_percent - 1]; + } + + /* : y = valves; */ + /* : y(1) = uint8(double(valves(1)) * (double(side_percent) / 100)); */ + i = (int32_t)rt_roundd((double)rtb_DataTypeConversion1_gy / 100.0 * (double) + rtb_Gain1_o3[0]); + if (i < 256) { + rtb_Gain1_o3[0] = (uint16_t)i; + } else { + rtb_Gain1_o3[0] = 255U; + } + + /* : y(2) = uint8(double(valves(2)) * (double(center_percent) / 100)); */ + i = (int32_t)rt_roundd((double)center_percent / 100.0 * (double)rtb_Gain1_o3[1]); + if (i < 256) { + rtb_Gain1_o3[1] = (uint16_t)i; + } else { + rtb_Gain1_o3[1] = 255U; + } + + /* End of MATLAB Function: '/RL valves * percent DRS' */ + + /* Outputs for Enabled SubSystem: '/Rear valves right - manual directions' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/Equal3' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read45' + */ + if (rtDW.CCU_MODE_RR == 0) { + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read22' + */ + rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_RR == 1); + + /* Sum: '/Add' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read21' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' + */ + rtb_out_crw = (uint16_t)((uint32_t)(rtDW.CCU_FACE_RR == 1) + (uint32_t) + (rtb_RelationalOperator6_f << 1)); + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreWrite: '/Data Store Write' + */ + switch (rtb_out_crw) { + case 0: + rtDW.Index_mode_RR_manual = 0U; + break; + + case 1: + rtDW.Index_mode_RR_manual = 120U; + break; + + case 2: + rtDW.Index_mode_RR_manual = 140U; + break; + + default: + rtDW.Index_mode_RR_manual = 130U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* MATLAB Function: '/AF for Bi Level' */ + AFforBiLevel_i(rtB.MultiportSwitch); + + /* MATLAB Function: '/valves for Vent mode' */ + /* : out = g_ausFLOW_RE_FO2VALVE; */ + valvesforVentmode(rtb_out); + + /* MultiPortSwitch: '/Multiport Switch' */ + switch (rtb_out_crw) { + case 0: + /* MultiPortSwitch: '/Multiport Switch' */ + for (i = 0; i < 6; i++) { + rtB.MultiportSwitch[i] = 0U; + } + break; + + case 1: + /* MultiPortSwitch: '/Multiport Switch' */ + for (i = 0; i < 6; i++) { + rtB.MultiportSwitch[i] = rtb_out[i]; + } + break; + + case 2: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/AF for Foot' + */ + for (i = 0; i < 6; i++) { + rtB.MultiportSwitch[i] = g_ausFLOW_RE_FO2VALVE[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + } + + /* End of RelationalOperator: '/Equal3' */ + /* End of Outputs for SubSystem: '/Rear valves right - manual directions' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read7' + * Sum: '/Subtract1' + * UnitDelay: '/Unit Delay1' + */ + if ((int16_t)(rtDW.Duct_RR_Tg - rtDW.UnitDelay1_DSTATE) >= 0) { + /* Outputs for IfAction SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RR' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/y' incorporates: + * MATLAB Function: '/increase' + */ + increase(rtDW.Duct_RR_Tg, rtb_get_mode, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RR' */ + } else { + /* Outputs for IfAction SubSystem: '/duct_tg óìåíüøàåòñÿ RR' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/y' incorporates: + * MATLAB Function: '/decrease' + */ + decrease(rtDW.Duct_RR_Tg, rtb_get_mode, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/duct_tg óìåíüøàåòñÿ RR' */ + } + + /* End of If: '/If1' */ + + /* MATLAB Function: '/valves_rear_right' */ + valves_rear_left(rtb_out_crw, rtb_out); + + /* Switch: '/Switch3' incorporates: + * Constant: '/manual3' + * DataStoreRead: '/Data Store Read11' + * MultiPortSwitch: '/Multiport Switch' + * RelationalOperator: '/Equal4' + */ + if (rtDW.CCU_MODE_RR == 0) { + for (i = 0; i < 6; i++) { + rtb_out[i] = rtB.MultiportSwitch[i]; + } + } + + /* End of Switch: '/Switch3' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1)))) { + case 1: + break; + + case 2: + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out[2] = 100U; + rtb_out[3] = 100U; + rtb_out[5] = 0U; + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_out[i] = rtConstP.pooled110[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1)))) { + case 1: + break; + + case 2: + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out[2] = 100U; + rtb_out[3] = 100U; + rtb_out[5] = 0U; + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_out[i] = rtConstP.pooled110[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 1)))) { + case 1: + break; + + case 2: + /* Assignment: '/valves[1, 2, 3, 4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + for (i = 0; i < 5; i++) { + rtb_out[tmp_6[i]] = rtConstP.pooled112[i]; + } + + /* End of Assignment: '/valves[1, 2, 3, 4,6]' */ + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_out[i] = rtConstP.pooled110[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2)))) { + case 1: + break; + + case 2: + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out[2] = 40U; + rtb_out[3] = 70U; + rtb_out[5] = 100U; + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_out[i] = rtConstP.pooled107[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2)))) { + case 1: + break; + + case 2: + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out[2] = 40U; + rtb_out[3] = 70U; + rtb_out[5] = 100U; + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_out[i] = rtConstP.pooled107[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2)))) { + case 1: + break; + + case 2: + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' + */ + rtb_out[2] = 40U; + rtb_out[3] = 70U; + rtb_out[5] = 100U; + break; + + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 6; i++) { + rtb_out[i] = rtConstP.pooled107[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + */ + /* : switch index_mode */ + if (rtDW.CCU_MODE_RR <= 0) { + rtDW.Index_mode_RR_auto = rtDW.Index_mode_RR_manual; + } + + /* MATLAB Function: '/param index for mode' incorporates: + * Switch: '/Switch' + */ + switch (rtDW.Index_mode_RR_auto) { + case 0U: + /* : case 0 */ + /* : Y = 1; */ + i = 1; + break; + + case 120U: + /* : case 120 */ + /* : Y = 1; */ + i = 1; + break; + + case 130U: + /* : case 130 */ + /* : Y = 2; */ + i = 2; + break; + + case 140U: + /* : case 140 */ + /* : Y = 2; */ + i = 2; + break; + + case 150U: + /* : case 150 */ + /* : Y = 1; */ + i = 1; + break; + + case 160U: + /* : case 160 */ + /* : Y = 3; */ + i = 3; + break; + + case 170U: + /* : case 170 */ + /* : Y = 1; */ + i = 1; + break; + + case 180U: + /* : case 180 */ + /* : Y = 3; */ + i = 3; + break; + + case 190U: + /* : case 190 */ + /* : Y = 1; */ + i = 1; + break; + + case 200U: + /* : case 200 */ + /* : Y = 2; */ + i = 2; + break; + + default: + /* : otherwise */ + /* : Y = 1; */ + i = 1; + break; + } + + /* End of MATLAB Function: '/param index for mode' */ + + /* MATLAB Function: '/RR valves * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + */ + /* : index_start = (param_index - 1) * 3 + 1; */ + rtb_Cmd_3Way = (i - 1) * 3 + 1; + + /* : disp("index_start (rear):") */ + printf("%s\n", "index_start (rear):"); + fflush(stdout); + + /* : disp(index_start) */ + /* : if DRS_RRS == 0 */ + if (rtDW.DRS_SRR == 0) { + /* : side_percent = uint8(0); */ + rtb_DataTypeConversion1_gy = 0U; + } else { + /* : else */ + /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start + 3 - DRS_RRS); */ + i = (rtb_Cmd_3Way - rtDW.DRS_SRR) + 3; + if (i >= 0) { + center_percent = (uint8_t)i; + } else { + center_percent = 0U; + } + + rtb_DataTypeConversion1_gy = g_aucREAR_SIDE_DRS_PERCENT_VALVE[center_percent + - 1]; + } + + /* : if DRS_RRC == 0 */ + if (rtDW.DRS_CRR == 0) { + /* : center_percent = uint8(0); */ + center_percent = 0U; + } else { + /* : else */ + /* : center_percent = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start + 3 - DRS_RRC); */ + i = (rtb_Cmd_3Way - rtDW.DRS_CRR) + 3; + if (i >= 0) { + center_percent = (uint8_t)i; + } else { + center_percent = 0U; + } + + center_percent = g_aucREAR_CENT_DRS_PERCENT_VALVE[center_percent - 1]; + } + + /* : disp("side_percent (rear):") */ + printf("%s\n", "side_percent (rear):"); + fflush(stdout); + + /* : disp(side_percent) */ + /* : disp("center_percent (rear):") */ + printf("%s\n", "center_percent (rear):"); + fflush(stdout); + + /* : disp(center_percent) */ + /* : y = valves; */ + /* : y(3) = uint8(double(valves(3)) * (double(center_percent) / 100)); */ + i = (int32_t)rt_roundd((double)center_percent / 100.0 * (double)rtb_out[2]); + + /* : y(4) = uint8(double(valves(4)) * (double(side_percent) / 100)); */ + rtb_Cmd_3Way = (int32_t)rt_roundd((double)rtb_DataTypeConversion1_gy / 100.0 * + (double)rtb_out[3]); + + /* Switch: '/Switch6' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/RR valves * percent DRS' + */ + if (rtDW.DifferentBlower_Rear_isActive) { + /* DataStoreWrite: '/Data Store Write24' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + for (i = 0; i < 6; i++) { + rtb_Gain1_o3[i] = rtDW.DifferentBlower_Rear_valves[i]; + } + } else { + if (i < 256) { + /* MATLAB Function: '/RR valves * percent DRS' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' + * DataStoreWrite: '/Data Store Write24' + */ + rtb_Gain1_o3[2] = (uint16_t)i; + } else { + /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' + * DataStoreWrite: '/Data Store Write24' + * MATLAB Function: '/RR valves * percent DRS' + */ + rtb_Gain1_o3[2] = 255U; + } + + /* MATLAB Function: '/RR valves * percent DRS' */ + if (rtb_Cmd_3Way < 256) { + /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' + * DataStoreWrite: '/Data Store Write24' + */ + rtb_Gain1_o3[3] = (uint16_t)rtb_Cmd_3Way; + } else { + /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' + * DataStoreWrite: '/Data Store Write24' + */ + rtb_Gain1_o3[3] = 255U; + } + + /* Assignment: '/Ïðèñâàèâàíèå â [6] rear' incorporates: + * DataStoreWrite: '/Data Store Write24' + */ + rtb_Gain1_o3[5] = rtb_out[5]; + } + + /* End of Switch: '/Switch6' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.Index_mode_FL_auto = rtb_DataTypeConversion1_hy; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Index_mode_FR_auto = rtb_DataTypeConversion3_hs; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Index_mode_RR_auto = rtb_out_crw; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation2) { + case 0: + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + */ + rtDW.Index_mode_FR_manual = 0U; + break; + + case 1: + /* Switch: '/Switch' incorporates: + * Constant: '/Constant5' + */ + rtDW.Index_mode_FR_manual = 80U; + break; + + case 2: + /* Switch: '/Switch' incorporates: + * Constant: '/Constant6' + */ + rtDW.Index_mode_FR_manual = 10U; + break; + + case 3: + /* Switch: '/Switch' incorporates: + * Constant: '/Constant7' + */ + rtDW.Index_mode_FR_manual = 100U; + break; + + case 4: + /* Switch: '/Switch' incorporates: + * Constant: '/Constant8' + */ + rtDW.Index_mode_FR_manual = 60U; + break; + + case 5: + /* Switch: '/Switch' incorporates: + * Constant: '/Constant9' + */ + rtDW.Index_mode_FR_manual = 70U; + break; + + case 6: + /* Switch: '/Switch' incorporates: + * Constant: '/Constant10' + */ + rtDW.Index_mode_FR_manual = 20U; + break; + + default: + /* Switch: '/Switch' incorporates: + * Constant: '/Constant11' + */ + rtDW.Index_mode_FR_manual = 90U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.AMB > 1000) { + rtb_DataTypeConversion1_oq = 1000; + } else if (rtDW.AMB < -1000) { + rtb_DataTypeConversion1_oq = -1000; + } else { + rtb_DataTypeConversion1_oq = rtDW.AMB; + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.Amb_Level_was_set) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/In1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtb_DataTypeConversion1_hy = rtDW.LEVEL; + + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/set level for the first time' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.Amb_Level_was_set = true; + + /* MATLAB Function: '/select AMB Level' */ + /* : for k = 1:5 */ + i = 0; + do { + exitg1 = 0; + if (i < 5) { + /* : if amb_temp > g_assAMB_LV_DN(k) */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[i]) { + /* : LVL = k - 1; */ + exitg1 = 1; + } else { + i++; + } + } else { + /* : LVL = 5; */ + i = 5; + exitg1 = 1; + } + } while (exitg1 == 0); + + /* DataTypeConversion: '/Data Type Conversion' */ + rtb_DataTypeConversion1_hy = (uint8_t)i; + + /* End of Outputs for SubSystem: '/set level for the first time' */ + } + + /* End of If: '/If' */ + + /* SwitchCase: '/Switch Case' */ + switch (rtb_DataTypeConversion1_hy) { + case 0: + /* Outputs for IfAction SubSystem: '/Current Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + rtB.LEVEL = (uint8_t)(rtb_DataTypeConversion1_oq <= g_assAMB_LV_UP[0]); + + /* End of Outputs for SubSystem: '/Current Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Current Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_2' + * RelationalOperator: '/Relational Operator' + */ + /* : c_g_assAMB_LV_DN_1 = g_assAMB_LV_DN(1); */ + /* : c_g_assAMB_LV_UP_2 = g_assAMB_LV_UP(2); */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_UP[1]) { + /* Merge: '/Merge' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' + * RelationalOperator: '/Relational Operator1' + */ + rtB.LEVEL = (uint8_t)(rtb_DataTypeConversion1_oq <= g_assAMB_LV_DN[0]); + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' + */ + rtB.LEVEL = 2U; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Current Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Current Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_3' + * RelationalOperator: '/Relational Operator' + */ + /* : c_g_assAMB_LV_DN_2 = g_assAMB_LV_DN(2); */ + /* : c_g_assAMB_LV_UP_3 = g_assAMB_LV_UP(3); */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_UP[2]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[1]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv1' + */ + rtB.LEVEL = 1U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' + */ + rtB.LEVEL = 2U; + } + + /* End of Switch: '/Switch3' */ + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' + */ + rtB.LEVEL = 3U; + } + + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Current Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Current Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' + * RelationalOperator: '/Relational Operator' + */ + /* : c_g_assAMB_LV_DN_3 = g_assAMB_LV_DN(3); */ + /* : c_g_assAMB_LV_UP_4 = g_assAMB_LV_UP(4); */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_UP[3]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[2]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' + */ + rtB.LEVEL = 2U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' + */ + rtB.LEVEL = 3U; + } + + /* End of Switch: '/Switch3' */ + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' + */ + rtB.LEVEL = 4U; + } + + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Current Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Current Level 4' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' + * RelationalOperator: '/Relational Operator' + */ + /* : c_g_assAMB_LV_DN_4 = g_assAMB_LV_DN(4); */ + /* : c_g_assAMB_LV_UP_5 = g_assAMB_LV_UP(5); */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_UP[4]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' + * RelationalOperator: '/Relational Operator1' + */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[3]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' + */ + rtB.LEVEL = 3U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' + */ + rtB.LEVEL = 4U; + } + + /* End of Switch: '/Switch3' */ + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' + */ + rtB.LEVEL = 5U; + } + + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Current Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Current Level 5' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' + * RelationalOperator: '/Relational Operator' + */ + /* : c_g_assAMB_LV_DN_5 = g_assAMB_LV_DN(5); */ + if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[4]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' + */ + rtB.LEVEL = 4U; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' + */ + rtB.LEVEL = 5U; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Current Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + if (rtDW.CCU_SET_FL > 290) { + i = 290; + } else if (rtDW.CCU_SET_FL < 170) { + i = 170; + } else { + i = rtDW.CCU_SET_FL; + } + + /* Gain: '/Gain' incorporates: + * Saturate: '/Saturation' + */ + i *= 13107; + rtb_Saturation4 = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); + + /* 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; */ + /* : g_aucMODE_BY_SET_F_LV3; */ + /* : g_aucMODE_BY_SET_F_LV4; */ + /* : g_aucMODE_BY_SET_F_LV5; */ + /* : ]; */ + for (i = 0; i < 13; i++) { + rtb_get_modes_for_levels[6 * i] = g_aucMODE_BY_SET_F_LV0[i]; + rtb_get_modes_for_levels[6 * i + 1] = g_aucMODE_BY_SET_F_LV1[i]; + rtb_get_modes_for_levels[6 * i + 2] = g_aucMODE_BY_SET_F_LV2[i]; + rtb_get_modes_for_levels[6 * i + 3] = g_aucMODE_BY_SET_F_LV3[i]; + rtb_get_modes_for_levels[6 * i + 4] = g_aucMODE_BY_SET_F_LV4[i]; + rtb_get_modes_for_levels[6 * i + 5] = g_aucMODE_BY_SET_F_LV5[i]; + } + + /* End of MATLAB Function: '/Modes for levels' */ + + /* Lookup_n-D: '/Âûáîð ðåæèìà Left' incorporates: + * Gain: '/Gain' + * Merge: '/Merge' + */ + rtb_DataTypeConversion3_hs = look2_iu8bu8s16lu64n32_binlcse(rtB.LEVEL, + rtb_Saturation4, rtConstP.pooled157, rtConstP.pooled68, + rtb_get_modes_for_levels, rtConstP.pooled49, 6U); + + /* MATLAB Function: '/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê left' */ + left(rtb_DataTypeConversion3_hs, rtb_out_cej); + + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + if (rtDW.CCU_SET_FR > 290) { + rtb_DataTypeConversion1_oq = 290; + } else if (rtDW.CCU_SET_FR < 170) { + rtb_DataTypeConversion1_oq = 170; + } else { + rtb_DataTypeConversion1_oq = (int16_t)rtDW.CCU_SET_FR; + } + + if (rtDW.CCU_SET_FR > 290) { + i = 290; + } else if (rtDW.CCU_SET_FR < 170) { + i = 170; + } else { + i = rtDW.CCU_SET_FR; + } + + /* Gain: '/Gain2' incorporates: + * Saturate: '/Saturation1' + */ + i = 13107 * (int16_t)i; + rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> + 17)); + + /* SwitchCase: '/Switch for Left ' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtb_DataTypeConversion3_hs) { + case 10: + break; + + case 20: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' + */ + rtb_out_pdp[i] = rtb_out_cej[i]; + + /* End of Outputs for SubSystem: '/Bilevel' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, + rtb_DataTypeConversion1_hy); + + /* End of Outputs for SubSystem: '/Bilevel' */ + break; + + case 30: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + rtb_out_pdp[i] = rtb_out_cej[i]; + + /* End of Outputs for SubSystem: '/Bilevel2' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel2(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, + rtb_DataTypeConversion1_hy); + + /* End of Outputs for SubSystem: '/Bilevel2' */ + break; + + case 40: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' + */ + rtb_out_pdp[i] = rtb_out_cej[i]; + + /* End of Outputs for SubSystem: '/Afoot' */ + } + + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' + */ + Afoot(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, + rtb_DataTypeConversion1_hy); + + /* End of Outputs for SubSystem: '/Afoot' */ + break; + + case 50: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' + */ + rtb_out_pdp[i] = rtb_out_cej[i]; + + /* End of Outputs for SubSystem: '/Afoot_Summer' */ + } + + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' + */ + Afoot_Summer(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, + rtb_DataTypeConversion1_hy); + + /* End of Outputs for SubSystem: '/Afoot_Summer' */ + break; + } + + /* End of SwitchCase: '/Switch for Left ' */ + + /* Lookup_n-D: '/Âûáîð ðåæèìà Right' incorporates: + * Gain: '/Gain2' + * Merge: '/Merge' + */ + rtb_DataTypeConversion3_hs = look2_iu8bu8s16lu64n32_binlcse(rtB.LEVEL, + rtb_DataTypeConversion1_hy, rtConstP.pooled157, rtConstP.pooled68, + rtb_get_modes_for_levels, rtConstP.pooled49, 6U); + + /* MATLAB Function: '/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê right' */ + left(rtb_DataTypeConversion3_hs, rtb_out_cej); + + /* SwitchCase: '/Switch for Left ' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtb_DataTypeConversion3_hs) { + case 10: + break; + + case 20: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' + */ + rtb_out_pdp[i] = rtb_out_cej[i]; + + /* End of Outputs for SubSystem: '/Bilevel' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, + rtb_DataTypeConversion1_hy); + + /* End of Outputs for SubSystem: '/Bilevel' */ + break; + + case 30: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + rtb_out_pdp[i] = rtb_out_cej[i]; + + /* End of Outputs for SubSystem: '/Bilevel2' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel2(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, + rtb_DataTypeConversion1_hy); + + /* End of Outputs for SubSystem: '/Bilevel2' */ + break; + + case 40: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' + */ + rtb_out_pdp[i] = rtb_out_cej[i]; + + /* End of Outputs for SubSystem: '/Afoot' */ + } + + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' + */ + Afoot(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, + rtb_DataTypeConversion1_hy); + + /* End of Outputs for SubSystem: '/Afoot' */ + break; + + case 50: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' + */ + rtb_out_pdp[i] = rtb_out_cej[i]; + + /* End of Outputs for SubSystem: '/Afoot_Summer' */ + } + + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' + */ + Afoot_Summer(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, + rtb_DataTypeConversion1_hy); + + /* End of Outputs for SubSystem: '/Afoot_Summer' */ + break; + } + + /* End of SwitchCase: '/Switch for Left ' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.LEVEL = rtB.LEVEL; + + /* Chart: '/Spd_OSA_Trigger' */ + if (rtDW.is_active_c834_HVAC_model == 0U) { + rtDW.is_active_c834_HVAC_model = 1U; + rtDW.is_c834_HVAC_model = IN_OSA_OFF; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : is_OSA_Active = 0; */ + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + rtb_DataTypeConversion1_hy = 100U; + } else if (rtDW.is_c834_HVAC_model == IN_OSA_OFF) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; + + /* : sf_internal_predicateOutput = VehicleSpeed > 20 && Full_Rec_Active == 0; */ + if ((rtDW.VehicleSpeed > 20) && (rtDW.Full_Rec == 0)) { + rtDW.is_c834_HVAC_model = IN_OSA_ON; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : is_OSA_Active = 1; */ + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read6' + * Lookup_n-D: '/1-D Lookup Table2' + */ + rtb_DataTypeConversion1_hy = look1_iu16lu64n48tu8_binlcse + (rtDW.VehicleSpeed, &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], + 12U); + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + rtb_DataTypeConversion1_hy = 100U; + } + } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* case IN_OSA_ON: */ + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; + + /* : sf_internal_predicateOutput = VehicleSpeed == 0 || Full_Rec_Active == 1; */ + if ((rtDW.VehicleSpeed == 0) || (rtDW.Full_Rec == 1)) { + rtDW.is_c834_HVAC_model = IN_OSA_OFF; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : is_OSA_Active = 0; */ + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + rtb_DataTypeConversion1_hy = 100U; + } else { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read6' + * Lookup_n-D: '/1-D Lookup Table2' + */ + rtb_DataTypeConversion1_hy = look1_iu16lu64n48tu8_binlcse + (rtDW.VehicleSpeed, &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], + 12U); + } + } + + /* End of Chart: '/Spd_OSA_Trigger' */ + + /* Chart: '/Partial REC' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * Gain: '/Gain' + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * MATLAB Function: '/MATLAB Function' + */ + if (rtDW.is_active_c776_HVAC_model == 0U) { + rtDW.is_active_c776_HVAC_model = 1U; + rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; + + /* : Comp_Active = 0; */ + rtb_Saturation4 = 0U; + } else if (rtDW.is_c776_HVAC_model == IN_PARTIAL_REC_OFF) { + rtb_Saturation4 = 0U; + + /* : sf_internal_predicateOutput = Amb_temp >= g_ssPREC_REC_ON_AMB && Full_Rec_Active == 0; */ + if ((rtDW.AMB >= g_ssPREC_REC_ON_AMB) && (rtDW.Full_Rec == 0)) { + rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_ON; + + /* : sf_internal_predicateOutput = Evap_F_Fb >= g_aucPREC_EVA_DIFF(1) && Evap_R_Fb >= g_aucPREC_EVA_DIFF(3) &&E_comp_speed >= g_ausPREC_ENTRY_RPM(3); */ + if ((rtDW.Eva_F >= g_aucPREC_EVA_DIFF[0]) && ((rtDW.Eva_R >= + g_aucPREC_EVA_DIFF[2]) && (min_side_L >= g_ausPREC_ENTRY_RPM[2]))) { + rtDW.is_PARTIAL_REC_ON = IN_COND_3; + + /* : Comp_Active = 3; */ + rtb_Saturation4 = 3U; + + /* : sf_internal_predicateOutput = E_comp_speed >= g_ausPREC_ENTRY_RPM(2); */ + } else if (min_side_L >= g_ausPREC_ENTRY_RPM[1]) { + rtDW.is_PARTIAL_REC_ON = IN_COND_2; + + /* : Comp_Active = 2; */ + rtb_Saturation4 = 2U; + rtDW.is_COND_2 = IN_TRACKING; + } else { + rtDW.is_PARTIAL_REC_ON = IN_COND_1; + + /* : Comp_Active = 1; */ + rtb_Saturation4 = 1U; + } + } + + /* case IN_PARTIAL_REC_ON: */ + /* : sf_internal_predicateOutput = Amb_temp < g_ssPREC_REC_ON_AMB || Full_Rec_Active == 1; */ + } else if ((rtDW.AMB < g_ssPREC_REC_ON_AMB) || (rtDW.Full_Rec == 1)) { + rtDW.is_COND_2 = IN_NO_ACTIVE_CHILD_c; + rtDW.is_PARTIAL_REC_ON = IN_NO_ACTIVE_CHILD_c; + rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; + + /* : Comp_Active = 0; */ + rtb_Saturation4 = 0U; + } else { + switch (rtDW.is_PARTIAL_REC_ON) { + case IN_COND_1: + rtb_Saturation4 = 1U; + + /* Gain: '/Gain' incorporates: + * Gain: '/Gain1' + * MATLAB Function: '/MATLAB Function' + */ + /* : req_OSA =PREC_OSA_SUMMER_1; */ + rtb_Saturation2 = (uint16_t)(5U * min_side_L); + rtB.req_OSA = look1_iu16lu64n48tu8_binlcse(rtb_Saturation2, + &g_ausPREC_COMP_SPD_1[0], &g_aucPREC_OSA_SUMMER_1[0], 2U); + + /* : req_REC =PREC_REC_SUMMER_1; */ + rtB.req_REC = look1_iu16lu64n48tu8_binlcse(rtb_Saturation2, + &g_ausPREC_COMP_SPD_1[0], &g_aucPREC_REC_SUMMER_1[0], 2U); + break; + + case IN_COND_2: + rtb_Saturation4 = 2U; + + /* : sf_internal_predicateOutput = E_comp_speed 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + index_start = find_index((int16_t)i); + + /* : X=g_assPREC_EVA_DIFF_FB_TG_F(x_idx); */ + if (rtDW.is_COND_2 == IN_HOLDING) { + /* : sf_internal_predicateOutput = X <= 0; */ + rtb_Switch2_nb = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)index_start - 1]; + if (rtb_Switch2_nb <= 0) { + rtDW.is_COND_2 = IN_TRACKING; + + /* : sf_internal_predicateOutput = X > X_prev; */ + } else if (rtb_Switch2_nb > rtDW.X_prev) { + rtDW.is_COND_2 = IN_TRACKING; + } else { + /* : X_prev = X; */ + rtDW.X_prev = rtb_Switch2_nb; + } + } else { + /* case IN_TRACKING: */ + /* : sf_internal_predicateOutput = X < X_prev && X > 0; */ + i = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)index_start - 1]; + if ((i < rtDW.X_prev) && (i > 0)) { + rtDW.is_COND_2 = IN_HOLDING; + } else { + /* : req_OSA = g_aucPREC_OSA_SUMMER_2(x_idx); */ + rtB.req_OSA = g_aucPREC_OSA_SUMMER_2[(int32_t)index_start - 1]; + + /* : req_REC = g_aucPREC_REC_SUMMER_2(x_idx); */ + rtB.req_REC = g_aucPREC_REC_SUMMER_2[(int32_t)index_start - 1]; + + /* : X_prev = X; */ + rtDW.X_prev = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)index_start - 1]; + } + } + } + break; + + default: + /* case IN_COND_3: */ + rtb_Saturation4 = 3U; + + /* : sf_internal_predicateOutput = Evap_F_Fb < g_aucPREC_EVA_DIFF(2) && Evap_R_Fb < g_aucPREC_EVA_DIFF(4)&&E_comp_speed < g_ausPREC_EXIT_RPM(3); */ + if ((rtDW.Eva_F < g_aucPREC_EVA_DIFF[1]) && ((rtDW.Eva_R < + g_aucPREC_EVA_DIFF[3]) && (min_side_L < g_ausPREC_EXIT_RPM[2]))) { + rtDW.is_PARTIAL_REC_ON = IN_COND_2; + + /* : Comp_Active = 2; */ + rtb_Saturation4 = 2U; + rtDW.is_COND_2 = IN_TRACKING; + } else { + /* : req_OSA = g_ucPREC_OSA_SUMMER_3; */ + rtB.req_OSA = g_ucPREC_OSA_SUMMER_3; + + /* : req_REC = g_ucPREC_REC_SUMMER_3; */ + rtB.req_REC = g_ucPREC_REC_SUMMER_3; + } + break; + } + } + + /* End of Chart: '/Partial REC' */ + + /* Switch: '/Switch10' incorporates: + * Constant: '/MODE_ACTIVE_CONDITIONS2' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read9' + * RelationalOperator: '/Equal' + * Switch: '/Switch11' + * Switch: '/Switch12' + * Switch: '/Switch7' + * Switch: '/Switch8' + * Switch: '/Switch9' + */ + if (rtDW.Door_ajar_is_active) { + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant10' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.Max_def_OSA_valve = 0U; + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant9' + */ + rtDW.Max_def_Rec_valve = 100U; + } else if (rtDW.Max_AC_mode == 11) { + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read18' + * DataStoreWrite: '/Data Store Write' + * Switch: '/Switch11' + */ + rtDW.Max_def_OSA_valve = rtDW.Max_AC_OSA_valve; + + /* Switch: '/Switch2' incorporates: + * DataStoreRead: '/Data Store Read19' + * DataStoreWrite: '/Data Store Write1' + * Switch: '/Switch12' + */ + rtDW.Max_def_Rec_valve = rtDW.Max_AC_REC_valve; + } else if (!rtDW.Max_def_algo_active) { + /* Switch: '/Switch3' incorporates: + * Constant: '/Auto recirc' + * Constant: '/MODE_ACTIVE_CONDITIONS1_MAX_AC' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read74' + * Logic: '/OR1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch1' + * Switch: '/Switch11' + * Switch: '/Switch12' + * Switch: '/Switch2' + * Switch: '/Switch4' + * Switch: '/Switch5' + * Switch: '/Switch6' + * Switch: '/Switch7' + * Switch: '/Switch8' + */ + if (rtDW.Full_Rec > 0) { + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant4' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.Max_def_OSA_valve = 0U; + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.Max_def_Rec_valve = 100U; + } else if ((rtDW.Max_AC_mode == 10) || (rtDW.CCU_RECIRC == 2) || + rtDW.recirc_auto_request_from_autodemist) { + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant1' + */ + if (rtb_Saturation4 > 0) { + rtDW.Max_def_OSA_valve = rtB.req_OSA; + } else { + rtDW.Max_def_OSA_valve = 100U; + } + + /* Lookup_n-D: '/1-D Lookup Table3' incorporates: + * DataStoreRead: '/Data Store Read3' + * Switch: '/Switch5' + */ + rtb_DataTypeConversion1_gy = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, + rtConstP.pooled135, &g_aucAQS_OSA_LV_CO[0], 6U); + + /* Lookup_n-D: '/1-D Lookup Table4' incorporates: + * DataStoreRead: '/Data Store Read4' + * Switch: '/Switch5' + */ + rtb_DataTypeConversion3_hs = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, + rtConstP.pooled135, &g_aucAQS_OSA_LV_NOX[0], 6U); + + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch5' + */ + if (rtb_DataTypeConversion1_gy >= rtb_DataTypeConversion3_hs) { + rtb_DataTypeConversion3_hs = rtb_DataTypeConversion1_gy; + } + + /* Lookup_n-D: '/1-D Lookup Table5' incorporates: + * DataStoreRead: '/Data Store Read5' + * Switch: '/Switch5' + */ + rtb_DataTypeConversion1_gy = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, + rtConstP.pooled135, &g_aucAQS_OSA_LV_NH3[0], 6U); + + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch5' + */ + if (rtb_DataTypeConversion3_hs >= rtb_DataTypeConversion1_gy) { + rtb_DataTypeConversion1_gy = rtb_DataTypeConversion3_hs; + } + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch1' + */ + if (rtb_DataTypeConversion1_hy <= rtDW.Max_def_OSA_valve) { + rtDW.Max_def_OSA_valve = rtb_DataTypeConversion1_hy; + } + + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch5' + */ + if (rtb_DataTypeConversion1_gy <= rtDW.Max_def_OSA_valve) { + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.Max_def_OSA_valve = rtb_DataTypeConversion1_gy; + } + + /* End of MinMax: '/MinMax1' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant2' + */ + if (rtb_Saturation4 > 0) { + rtDW.Max_def_Rec_valve = rtB.req_REC; + } else { + rtDW.Max_def_Rec_valve = 0U; + } + + /* Lookup_n-D: '/1-D Lookup Table' incorporates: + * DataStoreRead: '/Data Store Read' + * Switch: '/Switch6' + */ + rtb_DataTypeConversion1_gy = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, + rtConstP.pooled136, &g_aucAQS_REC_LV_CO[0], 7U); + + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch6' + */ + rtb_DataTypeConversion3_hs = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, + rtConstP.pooled136, &g_aucAQS_REC_LV_NOX[0], 7U); + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch6' + */ + if (rtb_DataTypeConversion1_gy >= rtb_DataTypeConversion3_hs) { + rtb_DataTypeConversion3_hs = rtb_DataTypeConversion1_gy; + } + + /* Lookup_n-D: '/1-D Lookup Table2' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch6' + */ + rtb_DataTypeConversion1_gy = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, + rtConstP.pooled136, &g_aucAQS_REC_LV_NH3[0], 7U); + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch6' + */ + if (rtb_DataTypeConversion3_hs >= rtb_DataTypeConversion1_gy) { + rtb_DataTypeConversion1_gy = rtb_DataTypeConversion3_hs; + } + + /* MinMax: '/MinMax2' incorporates: + * Switch: '/Switch2' + * Switch: '/Switch6' + */ + if (rtb_DataTypeConversion1_gy <= rtDW.Max_def_Rec_valve) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Max_def_Rec_valve = rtb_DataTypeConversion1_gy; + } + + /* End of MinMax: '/MinMax2' */ + } else { + if (rtb_Saturation4 > 0) { + /* Switch: '/Switch1' */ + rtDW.Max_def_OSA_valve = rtB.req_OSA; + + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Switch: '/Switch6' + */ + rtDW.Max_def_Rec_valve = rtB.req_REC; + } else { + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant1' + */ + rtDW.Max_def_OSA_valve = 100U; + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant2' + * DataStoreWrite: '/Data Store Write1' + * Switch: '/Switch6' + */ + rtDW.Max_def_Rec_valve = 0U; + } + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch1' + */ + if (rtb_DataTypeConversion1_hy <= rtDW.Max_def_OSA_valve) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Switch: '/Switch5' + */ + rtDW.Max_def_OSA_valve = rtb_DataTypeConversion1_hy; + } + } + + /* End of Switch: '/Switch3' */ + } + + /* End of Switch: '/Switch10' */ + + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/auto recirc' + * DataStoreRead: '/Data Store Read9' + */ + rtb_RelationalOperator2_p = (rtDW.CCU_RECIRC == 2); + + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.CCU_FootTempCorr_FL) { + case 0: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem1(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem2(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem3(&rtB.Merge_j, &rtB.Merge1); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem4(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem5(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ + break; + + case 6: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem6' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem6(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem6' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.Valve_individual_foot_FL = rtB.Merge_j; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Blower_individual_foot_FL = rtB.Merge1; + + /* Lookup_n-D: '/1-D Lookup Table' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.Dtg_individual_foot_FL = look1_iu8lu64n48ts16Ds32_binlcs + (rtDW.CCU_FootTempCorr_FL, rtConstP.pooled158, &g_assFOOT_STEP_DUCT_TGT[0], + 6U); + + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.CCU_SET_FOOT_FR) { + case 0: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem1(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem2(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem3(&rtB.Merge_g, &rtB.Merge1_m); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem4(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem5(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ + break; + + case 6: + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem6' incorporates: + * ActionPort: '/Action Port' + */ + SwitchCaseActionSubsystem6(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem6' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.Valve_individual_foot_FR = rtB.Merge_g; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Blower_individual_foot_FR = rtB.Merge1_m; + + /* Lookup_n-D: '/1-D Lookup Table' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.Dtg_individual_foot_FR = look1_iu8lu64n48ts16Ds32_binlcs + (rtDW.CCU_SET_FOOT_FR, rtConstP.pooled158, &g_assFOOT_STEP_DUCT_TGT[0], 6U); + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write2' + */ + Status_Sensor_Model.Battery = 0; + Status_Sensor_Model.AMB = rtDW.AMB; + Status_Sensor_Model.Incar_FL = rtDW.Incar_FL; + Status_Sensor_Model.Incar_FR = rtDW.Incar_FR; + Status_Sensor_Model.Incar_RL = rtDW.Incar_RL; + Status_Sensor_Model.Incar_RR = rtDW.Incar_RR; + Status_Sensor_Model.Eva_F = rtDW.Eva_F; + Status_Sensor_Model.Eva_R = rtDW.Eva_R; + Status_Sensor_Model.Pressure = rtDW.Pressure; + Status_Sensor_Model.Duct_FL_Upper = 0; + Status_Sensor_Model.Duct_FL_Lower = 0; + Status_Sensor_Model.Duct_FR_Upper = 0; + Status_Sensor_Model.Duct_FR_Lower = 0; + Status_Sensor_Model.Duct_RL = 0; + Status_Sensor_Model.Duct_RR = 0; + Status_Sensor_Model.Duct_Side_FL = 0; + Status_Sensor_Model.Duct_Side_FR = 0; + Status_Sensor_Model.Duct_Side_RL = 0; + 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' + */ + index_start = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_AND2_b = (index_start < 0.1); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_byy = (index_start > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1 = (rtb_AND2_b || rtb_Compare_byy); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator1_f1 = (rtb_LogicalOperator1 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE >= 3000U)); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.CCU_EvaTempSenErrF_Stat = rtb_LogicalOperator1_f1; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Lookup_n-D: '/1-D Lookup Table' + */ + if (rtb_LogicalOperator1_f1) { + rtb_X = -100; + } else { + rtb_X = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Evap_Temp, rtConstP.pooled82, + rtConstP.pooled55, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed); + + /* MATLAB Function: '/filter AC Pressure' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterACPressure(rtb_X, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_oq, &rtDW.sf_filterACPressure); + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Eva_F = rtb_DataTypeConversion1_oq; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[12] = rtb_LogicalOperator1_f1; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator1_f1) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[13] = rtb_AND2_b; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[12] = rtb_Compare_byy; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[13] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_f1) { + /* : if(EvapFErr) */ + /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n',Sensor_Evap_Temp); */ + printf("CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n", + index_start); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR' */ + + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Eva_F = %d * 0.1 C\n',Eva_F); */ + printf("Eva_F = %d * 0.1 C\n", rtb_X); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write Eva_F' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE)) { + rtDW.t_start_delay_private_DSTATE = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + index_start = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_byy = (index_start < 0.1); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_LogicalOperator1_f1 = (index_start > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_AND2_b = (rtb_Compare_byy || rtb_LogicalOperator1_f1); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator1_f = (rtb_AND2_b && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_c >= 3000U)); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.CCU_EvaTempSenErrR_Stat = rtb_LogicalOperator1_f; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Lookup_n-D: '/1-D Lookup Table' + */ + if (rtb_LogicalOperator1_f) { + rtb_X = -100; + } else { + rtb_X = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled82, + rtConstP.pooled55, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_a); + + /* MATLAB Function: '/filter AC Pressure' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterACPressure(rtb_X, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_oq, &rtDW.sf_filterACPressure_p); + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Eva_R = rtb_DataTypeConversion1_oq; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_f; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator1_f) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[15] = rtb_Compare_byy; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_f1; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[15] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_f) { + /* : if(EvapRErr) */ + /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n',Sensor_Rear_Evap_Temp); */ + printf("CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n", + index_start); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR' */ + + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Eva_R = %d * 0.1 C\n',Eva_R); */ + printf("Eva_R = %d * 0.1 C\n", rtb_X); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write Eva_F' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_AND2_b && (!rtDW.Cond_prev_private_DSTATE_p)) { + rtDW.t_start_delay_private_DSTATE_c = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide' + */ + IGN_voltage = (double)rtDW.ADC_Data_Model.IGN_ANS / 4095.0 * 27.75; + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('IGN_ANS = %f V\n',data); */ + printf("IGN_ANS = %f V\n", IGN_voltage); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide' + */ + index_start = (double)rtDW.ADC_Data_Model.PBATT_CHECK / 4095.0 * 33.4375; + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('PBATT_CHECK V = %f\n',U); */ + printf("PBATT_CHECK V = %f\n", index_start); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_LogicalOperator1_f1 = (rtb_Divide1_jg < 0.1); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_LogicalOperator1_f = (rtb_Divide1_jg > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_Compare_byy = (rtb_LogicalOperator1_f1 || rtb_LogicalOperator1_f); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_LogicalOperator1_nf = (rtb_Compare_byy && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_h >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Bias: '/Add Constant' + * Constant: '/Constant2' + * Gain: '/Gain' + * Gain: '/Gain3' + * Gain: '/Åäèíèöû èçìåðåíèÿ - â 0.1 àòì' + * Saturate: '/Saturation' + */ + if (rtb_LogicalOperator1_nf) { + rtb_DataTypeConversion1_oq = 320; + } else { + if (rtb_Divide1_jg > 4.5) { + /* Saturate: '/Saturation' */ + rtb_duct_select_index_dbg_c = 4.5; + } else if (rtb_Divide1_jg < 0.5) { + /* Saturate: '/Saturation' */ + rtb_duct_select_index_dbg_c = 0.5; + } else { + /* Saturate: '/Saturation' */ + rtb_duct_select_index_dbg_c = rtb_Divide1_jg; + } + + rtb_DataTypeConversion1_oq = (int16_t)floor((8.0 * + rtb_duct_select_index_dbg_c - 4.0) * 0.96784 * 10.0); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_d); + + /* MATLAB Function: '/filter AC Pressure' incorporates: + * DataStoreRead: '/Data Store Read44' + * DataStoreWrite: '/Data Store Write' + */ + /* : MAX_SPEED_RISING = 10; */ + /* : MAX_SPEED_FALLING = 10; */ + /* : if isempty(prev_value) */ + if (!rtDW.prev_value_not_empty) { + /* : prev_value = double(pressure_in); */ + rtDW.prev_value = rtb_DataTypeConversion1_oq; + rtDW.prev_value_not_empty = true; + + /* : prev_time = double(t_now); */ + rtDW.prev_time = rtDW.t_now; + } + + /* : if is_filter_active */ + if (rtb_RelationalOperator6_f) { + /* : dt = (double(t_now) - prev_time) / 1000; */ + /* : max_up = MAX_SPEED_RISING * dt * 10; */ + /* : max_down = MAX_SPEED_FALLING * dt * 10; */ + /* : value_filtered = int16(min(max(double(pressure_in), prev_value - max_down), prev_value + max_up)); */ + rtb_duct_select_index_dbg_c = ((double)rtDW.t_now - rtDW.prev_time) / 1000.0 + * 10.0 * 10.0; + rtb_duct_select_index_dbg_c = rt_roundd(fmin(fmax(rtb_DataTypeConversion1_oq, + rtDW.prev_value - rtb_duct_select_index_dbg_c), + rtb_duct_select_index_dbg_c + rtDW.prev_value)); + if (rtb_duct_select_index_dbg_c < 32768.0) { + if (rtb_duct_select_index_dbg_c >= -32768.0) { + rtDW.Pressure = (int16_t)rtb_duct_select_index_dbg_c; + } else { + rtDW.Pressure = INT16_MIN; + } + } else { + rtDW.Pressure = INT16_MAX; + } + } else { + /* : else */ + /* : value_filtered = pressure_in; */ + rtDW.Pressure = rtb_DataTypeConversion1_oq; + } + + /* : prev_value = double(value_filtered); */ + rtDW.prev_value = rtDW.Pressure; + + /* : prev_time = double(t_now); */ + rtDW.prev_time = rtDW.t_now; + + /* End of MATLAB Function: '/filter AC Pressure' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_PressSenErr_Stat = rtb_LogicalOperator1_nf; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_nf; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_LogicalOperator1_nf) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[50] = rtb_LogicalOperator1_f1; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_f; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[50] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('AC_Pressure = %d ATM\n',AC_Pressure); */ + printf("AC_Pressure = %d ATM\n", rtb_DataTypeConversion1_oq); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_nf) { + /* : if(AC_PressureErr) */ + /* : fprintf('CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n',Sensor_AC_Pressure); */ + printf("CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n", + rtb_Divide1_jg); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_byy && (!rtDW.Cond_prev_private_DSTATE_a)) { + rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_pw3 = (rtb_Divide1_jg < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_nh = (rtb_Divide1_jg > 4.9); + + /* Logic: '/Logical Operator' */ + rtb_LogicalOperator1_f1 = (rtb_Compare_pw3 || rtb_Compare_nh); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct1_R_error = (rtb_LogicalOperator1_f1 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_o >= 3000U)); + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' + */ + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_ee = (rtb_Divide3 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_n4 = (rtb_Divide3 > 4.9); + + /* Logic: '/Logical Operator2' */ + rtb_LogicalOperator1_f = (rtb_Compare_ee || rtb_Compare_n4); + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write6' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct2_R_error = (rtb_LogicalOperator1_f && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_oy >= 3000U)); + + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide4' + */ + rtb_duct_select_index_dbg_c = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / + 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_cp = (rtb_duct_select_index_dbg_c < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_ca = (rtb_duct_select_index_dbg_c > 4.9); + + /* Logic: '/Logical Operator5' */ + rtb_LogicalOperator1_nf = (rtb_Compare_cp || rtb_Compare_ca); + + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write7' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct3_R_error = (rtb_LogicalOperator1_nf && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); + + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' + */ + rtb_D = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_kp = (rtb_D < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_jj = (rtb_D > 4.9); + + /* Logic: '/Logical Operator7' */ + rtb_FailCond_of = (rtb_Compare_kp || rtb_Compare_jj); + + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write8' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct4_R_error = (rtb_FailCond_of && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_or >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write5' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' + */ + if (Duct1_R_error) { + rtb_X = 230; + } else { + rtb_X = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled70, + rtConstP.pooled69, 1023U); + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write6' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' + */ + if (Duct2_R_error) { + rtb_MultiportSwitch_ac = 230; + } else { + rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled70, + rtConstP.pooled69, 1023U); + } + + /* End of Switch: '/Switch1' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write7' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' + */ + if (Duct3_R_error) { + rtb_Bias1_h = 230; + } else { + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled70, + rtConstP.pooled69, 1023U); + } + + /* End of Switch: '/Switch2' */ + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write8' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' + */ + if (Duct4_R_error) { + rtb_FLU_tg_correct_ot = 230; + } else { + rtb_FLU_tg_correct_ot = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled70, + rtConstP.pooled69, 1023U); + } + + /* End of Switch: '/Switch3' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[29] = Duct1_R_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct1_R_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[30] = rtb_Compare_pw3; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[29] = rtb_Compare_nh; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[30] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write6' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[31] = Duct2_R_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write6' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct2_R_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[32] = rtb_Compare_ee; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[31] = rtb_Compare_n4; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[32] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write7' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[33] = Duct3_R_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write7' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct3_R_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[34] = rtb_Compare_cp; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[33] = rtb_Compare_ca; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[34] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write8' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[35] = Duct4_R_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write8' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct4_R_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[36] = rtb_Compare_kp; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[35] = rtb_Compare_jj; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[36] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct1_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ + rtb_out_mxq = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; + if (rtDW.ADC_Data_Model.Sensor_Rear_Duct1 > 32767) { + rtb_out_mxq = 32767U; + } + + printf("Duct1_R = %d * 0.1 C %d V\n", rtb_X, (int16_t)rtb_out_mxq); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ' */ + + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct2_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ + rtb_out_mxq = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; + if (rtDW.ADC_Data_Model.Sensor_Rear_Duct2 > 32767) { + rtb_out_mxq = 32767U; + } + + printf("Duct2_R = %d * 0.1 C %d V\n", rtb_MultiportSwitch_ac, (int16_t) + rtb_out_mxq); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 1' */ + + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct3_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ + rtb_out_mxq = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; + if (rtDW.ADC_Data_Model.Sensor_Rear_Duct3 > 32767) { + rtb_out_mxq = 32767U; + } + + printf("Duct3_R = %d * 0.1 C %d V\n", rtb_Bias1_h, (int16_t)rtb_out_mxq); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 2' */ + + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct4_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ + rtb_out_mxq = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; + if (rtDW.ADC_Data_Model.Sensor_Rear_Duct4 > 32767) { + rtb_out_mxq = 32767U; + } + + printf("Duct4_R = %d * 0.1 C %d V\n", rtb_FLU_tg_correct_ot, (int16_t) + rtb_out_mxq); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 3' */ + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct1_R_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n", + rtb_Divide1_jg); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR' */ + + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write6' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct2_R_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n", + rtb_Divide3); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR1' */ + + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct3_R_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct3_R = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct3_R = %f V\n", + rtb_duct_select_index_dbg_c); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR2' */ + + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write8' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct4_R_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct4_R = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct4_R = %f V\n", + rtb_D); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR3' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_LogicalOperator1_f1 && (!rtDW.Cond_prev_private_DSTATE_l)) { + rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_LogicalOperator1_f && (!rtDW.Cond_prev_private_DSTATE_j)) { + rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_LogicalOperator1_nf && (!rtDW.Cond_prev_private_DSTATE_g)) { + rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_FailCond_of && (!rtDW.Cond_prev_private_DSTATE_c)) { + rtDW.t_start_delay_private_DSTATE_or = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_kp = (rtb_Divide1_jg < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_jj = (rtb_Divide1_jg > 4.9); + + /* Logic: '/Logical Operator2' */ + rtb_Compare_pw3 = (rtb_Compare_kp || rtb_Compare_jj); + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write7' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct1_F_error = (rtb_Compare_pw3 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_k >= 3000U)); + + /* Product: '/Divide4' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide1' + */ + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_f4 = (rtb_Divide3 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_k2 = (rtb_Divide3 > 4.9); + + /* Logic: '/Logical Operator1' */ + rtb_Compare_nh = (rtb_Compare_f4 || rtb_Compare_k2); + + /* Logic: '/Logical Operator4' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write8' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct2_F_error = (rtb_Compare_nh && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_m >= 3000U)); + + /* Product: '/Divide6' incorporates: + * Constant: '/Constant7' + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide5' + */ + rtb_duct_select_index_dbg_c = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / + 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_e = (rtb_duct_select_index_dbg_c < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_pnq = (rtb_duct_select_index_dbg_c > 4.9); + + /* Logic: '/Logical Operator5' */ + rtb_Compare_ee = (rtb_Compare_e || rtb_Compare_pnq); + + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write9' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct3_F_error = (rtb_Compare_ee && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_p >= 3000U)); + + /* Product: '/Divide8' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide7' + */ + rtb_D = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_ff = (rtb_D < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_mg = (rtb_D > 4.9); + + /* Logic: '/Logical Operator7' */ + rtb_Compare_n4 = (rtb_Compare_ff || rtb_Compare_mg); + + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write10' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct4_F_error = (rtb_Compare_n4 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_hb >= 3000U)); + + /* Product: '/Divide10' incorporates: + * Constant: '/Constant13' + * Constant: '/Constant14' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide9' + */ + rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_gq = (rtb_Divide10 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_de = (rtb_Divide10 > 4.9); + + /* Logic: '/Logical Operator9' */ + rtb_Compare_cp = (rtb_Compare_gq || rtb_Compare_de); + + /* Logic: '/Logical Operator10' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write11' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct5_F_error = (rtb_Compare_cp && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_i >= 3000U)); + + /* Product: '/Divide11' incorporates: + * Constant: '/Constant16' + * Constant: '/Constant17' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide12' + */ + rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_dw = (rtb_Divide11 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_pm = (rtb_Divide11 > 4.9); + + /* Logic: '/Logical Operator12' */ + rtb_Compare_ca = (rtb_Compare_dw || rtb_Compare_pm); + + /* Logic: '/Logical Operator11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write12' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + Duct6_F_error = (rtb_Compare_ca && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_cc >= 3000U)); + + /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_out[0] = rtDW.ADC_Data_Model.Sensor_Front_Duct1; + rtb_out[1] = rtDW.ADC_Data_Model.Sensor_Front_Duct2; + rtb_out[2] = rtDW.ADC_Data_Model.Sensor_Front_Duct3; + rtb_out[3] = rtDW.ADC_Data_Model.Sensor_Front_Duct4; + rtb_out[4] = rtDW.ADC_Data_Model.Sensor_Front_Duct5; + rtb_out[5] = rtDW.ADC_Data_Model.Sensor_Front_Duct6; + + /* Lookup_n-D: '/1-D Lookup Table7' */ + for (i = 0; i < 6; i++) { + rtb_uDLookupTable7_g[i] = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out[i], + rtConstP.pooled70, rtConstP.pooled69, 1023U); + } + + /* End of Lookup_n-D: '/1-D Lookup Table7' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * DataStoreWrite: '/Data Store Write8' + */ + if (Duct2_F_error) { + rtb_Switch2_nb = 230; + } else { + rtb_Switch2_nb = rtb_uDLookupTable7_g[1]; + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_m); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch2_nb, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_k); + + /* DataStoreWrite: '/Data Store Write1' */ + Duct2_F = rtb_DataTypeConversion1_oq; + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write7' + */ + if (Duct1_F_error) { + rtb_Switch1_pd = 230; + } else { + rtb_Switch1_pd = rtb_uDLookupTable7_g[0]; + } + + /* End of Switch: '/Switch1' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_f); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch1_pd, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct); + + /* DataStoreWrite: '/Data Store Write2' */ + Duct1_F = rtb_DataTypeConversion1_oq; + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write9' + */ + if (Duct3_F_error) { + rtb_Switch3_no = 230; + } else { + rtb_Switch3_no = rtb_uDLookupTable7_g[2]; + } + + /* End of Switch: '/Switch3' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_o); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch3_no, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_c); + + /* DataStoreWrite: '/Data Store Write3' */ + Duct3_F = rtb_DataTypeConversion1_oq; + + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant12' + * DataStoreWrite: '/Data Store Write10' + */ + if (Duct4_F_error) { + rtb_Switch4_f5 = 230; + } else { + rtb_Switch4_f5 = rtb_uDLookupTable7_g[3]; + } + + /* End of Switch: '/Switch4' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_h); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch4_f5, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_o); + + /* DataStoreWrite: '/Data Store Write4' */ + Duct4_F = rtb_DataTypeConversion1_oq; + + /* Switch: '/Switch5' incorporates: + * Constant: '/Constant15' + * DataStoreWrite: '/Data Store Write11' + */ + if (Duct5_F_error) { + rtb_Switch5_l = 230; + } else { + rtb_Switch5_l = rtb_uDLookupTable7_g[4]; + } + + /* End of Switch: '/Switch5' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_e); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch5_l, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_h); + + /* DataStoreWrite: '/Data Store Write5' */ + Duct5_F = rtb_DataTypeConversion1_oq; + + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant18' + * DataStoreWrite: '/Data Store Write12' + */ + if (Duct6_F_error) { + rtb_Switch6_c = 230; + } else { + rtb_Switch6_c = rtb_uDLookupTable7_g[5]; + } + + /* End of Switch: '/Switch6' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_c); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch6_c, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_j); + + /* DataStoreWrite: '/Data Store Write6' */ + Duct6_F = rtb_DataTypeConversion1_oq; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write7' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[17] = Duct1_F_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write7' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct1_F_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[18] = rtb_Compare_kp; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[17] = rtb_Compare_jj; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[18] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write8' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[19] = Duct2_F_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write8' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct2_F_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[20] = rtb_Compare_f4; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[19] = rtb_Compare_k2; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[20] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write9' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[21] = Duct3_F_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write9' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct3_F_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[22] = rtb_Compare_e; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[21] = rtb_Compare_pnq; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[22] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write10' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[23] = Duct4_F_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write10' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct4_F_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[24] = rtb_Compare_ff; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[23] = rtb_Compare_mg; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[24] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write11' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[25] = Duct5_F_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write11' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct5_F_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[26] = rtb_Compare_gq; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[25] = rtb_Compare_de; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[26] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write12' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[27] = Duct6_F_error; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write12' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (Duct6_F_error) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[28] = rtb_Compare_dw; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[27] = rtb_Compare_pm; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[28] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct1_F = %d * 0.1 C\n',Sensor); */ + printf("Duct1_F = %d * 0.1 C\n", rtb_Switch1_pd); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 1' */ + + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct2_F = %d * 0.1 C\n',Sensor); */ + printf("Duct2_F = %d * 0.1 C\n", rtb_Switch2_nb); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 2' */ + + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct3_F = %d * 0.1 C\n',Sensor); */ + printf("Duct3_F = %d * 0.1 C\n", rtb_Switch3_no); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 3' */ + + /* MATLAB Function: '/Write 4' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct4_F = %d * 0.1 C\n',Sensor); */ + printf("Duct4_F = %d * 0.1 C\n", rtb_Switch4_f5); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 4' */ + + /* MATLAB Function: '/Write 5' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct5_F = %d * 0.1 C\n',Sensor); */ + printf("Duct5_F = %d * 0.1 C\n", rtb_Switch5_l); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 5' */ + + /* MATLAB Function: '/Write 6' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Duct6_F = %d * 0.1 C\n',Sensor); */ + printf("Duct6_F = %d * 0.1 C\n", rtb_Switch6_c); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write 6' */ + + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write7' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct1_F_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct1_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct1_F = %f V\n", + rtb_Divide1_jg); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR1' */ + + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write8' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct2_F_error) { + /* : if(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_Divide3); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR2' */ + + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write9' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct3_F_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n", + rtb_duct_select_index_dbg_c); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR3' */ + + /* MATLAB Function: '/Write ERROR4' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write10' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct4_F_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n", + rtb_D); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR4' */ + + /* MATLAB Function: '/Write ERROR5' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write11' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct5_F_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n", + rtb_Divide10); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR5' */ + + /* MATLAB Function: '/Write ERROR6' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write12' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && Duct6_F_error) { + /* : if(Err) */ + /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n',Sensor); */ + printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n", + rtb_Divide11); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR6' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_pw3 && (!rtDW.Cond_prev_private_DSTATE_h)) { + rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_nh && (!rtDW.Cond_prev_private_DSTATE_cr)) { + rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_ee && (!rtDW.Cond_prev_private_DSTATE_m)) { + rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_n4 && (!rtDW.Cond_prev_private_DSTATE_jr)) { + rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_cp && (!rtDW.Cond_prev_private_DSTATE_f)) { + rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_ca && (!rtDW.Cond_prev_private_DSTATE_cn)) { + rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / 4095.0 * + 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_de = (rtb_Divide1_jg < 0.05); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_dw = (rtb_Divide1_jg > 4.8); + + /* Logic: '/Logical Operator' */ + rtb_Compare_kp = (rtb_Compare_de || rtb_Compare_dw); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_Compare_pnq = (rtb_Compare_kp && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_f >= 3000U)); + + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide4' + */ + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_pm = (rtb_Divide3 < 0.05); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_le = (rtb_Divide3 > 4.8); + + /* Logic: '/Logical Operator5' */ + rtb_Compare_jj = (rtb_Compare_pm || rtb_Compare_le); + + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_Compare_ff = (rtb_Compare_jj && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_il >= 3000U)); + + /* Lookup_n-D: '/1-D Lookup Table4' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_Switch1_pd = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled70, + rtConstP.pooled71, 1023U); + + /* Lookup_n-D: '/1-D Lookup Table2' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_DataTypeConversion1_oq = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled82, + rtConstP.pooled71, 1023U); + + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator2' + */ + rtb_Compare_e = (rtb_Compare_pnq && rtb_Compare_ff); + + /* Switch: '/Switch' incorporates: + * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator1' + * Switch: '/Switch1' + */ + if (rtb_Compare_e) { + rtb_Switch3_no = 200; + } else if (rtb_Compare_pnq) { + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtb_Switch3_no = rtb_Switch1_pd; + } else { + rtb_Switch3_no = rtb_DataTypeConversion1_oq; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read12' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_mv); + + /* If: '/If' */ + if (rtb_RelationalOperator6_f) { + /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ FL òåìïåðàòóðû' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_RISING_FL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' */ + g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch3_no - rtDW.Temp_FL_store) <= rtb_Saturation2) + { + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_FL_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + */ + u_h(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' + */ + u_lz(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' */ + INCARRATE_RISING_DIFF_F7(&rtb_Saturation2); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch3_no - rtDW.Temp_FL_store) > rtb_Saturation2) { + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_FL_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + */ + u_k(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' + */ + u_f(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_c(rtb_Switch3_no, rtDW.LEVEL, &rtb_out_crw, + &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); + + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_l(rtb_Switch3_no, rtDW.LEVEL, &rtb_out_crw, + &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write1' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if (fabs((double)rtb_Switch3_no - rtDW.Temp_FL_store) <= 0.01) { + /* SignalConversion generated from: '/temp_out' */ + rtb_D = rtDW.Temp_FL_store; + } else { + if (rtb_Switch3_no > rtDW.Temp_FL_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_Switch2_nb = (int16_t)rtb_Saturation2; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_crw; + } + + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtb_D = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_o) / 60000.0 * (double) + rtb_Switch2_nb + rtDW.Temp_FL_store; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtDW.UnitDelay_DSTATE_o = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ FL òåìïåðàòóðû' */ + } else { + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ FL' incorporates: + * ActionPort: '/Action Port' + */ + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtb_D = rtb_Switch3_no; + + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ FL' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Incar_FL = (int16_t)floor(rtb_D); + + /* Switch: '/Switch2' incorporates: + * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè1' + * DataStoreWrite: '/Data Store Write3' + * Switch: '/Switch3' + */ + if (rtb_Compare_e) { + rtb_Switch1_pd = 200; + } else if (rtb_Compare_ff) { + /* Switch: '/Switch3' incorporates: + * DataStoreWrite: '/Data Store Write3' + */ + rtb_Switch1_pd = rtb_DataTypeConversion1_oq; + } + + /* End of Switch: '/Switch2' */ + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' + */ + rtb_duct_select_index_dbg_c = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL + / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_e = (rtb_duct_select_index_dbg_c < 0.05); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_a = (rtb_duct_select_index_dbg_c > 4.8); + + /* Logic: '/Logical Operator2' */ + rtb_Compare_f4 = (rtb_Compare_e || rtb_Compare_a); + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_Compare_mg = (rtb_Compare_f4 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_k1 >= 3000U)); + + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' + */ + rtb_Divide7_d = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * + 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_ds = (rtb_Divide7_d < 0.05); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_ls = (rtb_Divide7_d > 4.8); + + /* Logic: '/Logical Operator7' */ + rtb_Compare_k2 = (rtb_Compare_ds || rtb_Compare_ls); + + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' + */ + rtb_Compare_gq = (rtb_Compare_k2 && (rtDW.t_now - + rtDW.t_start_delay_private_DSTATE_pe >= 3000U)); + + /* Lookup_n-D: '/1-D Lookup Table3' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_Switch4_f5 = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled82, + rtConstP.pooled71, 1023U); + + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_DataTypeConversion1_oq = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled82, + rtConstP.pooled71, 1023U); + + /* Switch: '/Switch' incorporates: + * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè' + * DataStoreWrite: '/Data Store Write4' + * Logic: '/Logical Operator1' + * Switch: '/Switch1' + */ + if (rtb_Compare_mg && rtb_Compare_gq) { + rtb_Switch5_l = 200; + } else if (rtb_Compare_mg) { + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write4' + */ + rtb_Switch5_l = rtb_Switch4_f5; + } else { + rtb_Switch5_l = rtb_DataTypeConversion1_oq; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè1' + * DataStoreWrite: '/Data Store Write5' + * Logic: '/Logical Operator2' + * Switch: '/Switch3' + */ + if (rtb_Compare_mg && (rtb_Switch4_f5 != 0)) { + rtb_Switch4_f5 = 200; + } else if (rtb_Compare_gq) { + /* Switch: '/Switch3' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtb_Switch4_f5 = rtb_DataTypeConversion1_oq; + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read12' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_fq); + + /* If: '/If' */ + if (rtb_RelationalOperator6_f) { + /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ FR òåìïåðàòóðû' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_RISING_FR_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' */ + g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FR_store) <= rtb_Saturation2) + { + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_FR_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + */ + u_h(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' + */ + u_lz(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' */ + INCARRATE_RISING_DIFF_F7(&rtb_Saturation2); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FR_store) > rtb_Saturation2) { + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_FR_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + */ + u_k(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' + */ + u_f(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + */ + if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_c(rtb_Switch1_pd, rtDW.LEVEL, &rtb_out_crw, + &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); + + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_l(rtb_Switch1_pd, rtDW.LEVEL, &rtb_out_crw, + &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FR_store) <= 0.01) { + /* SignalConversion generated from: '/temp_out' */ + rtb_Divide10 = rtDW.Temp_FR_store; + } else { + if (rtb_Switch1_pd > rtDW.Temp_FR_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_Switch2_nb = (int16_t)rtb_Saturation2; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_crw; + } + + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtb_Divide10 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_cr) / 60000.0 * + (double)rtb_Switch2_nb + rtDW.Temp_FR_store; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtDW.UnitDelay_DSTATE_cr = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ FR òåìïåðàòóðû' */ + } else { + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ FR' incorporates: + * ActionPort: '/Action Port' + */ + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write3' + */ + rtb_Divide10 = rtb_Switch1_pd; + + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ FR' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write6' + */ + rtDW.Incar_FR = (int16_t)floor(rtb_Divide10); + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read12' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_n); + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write4' + */ + if (rtb_RelationalOperator6_f) { + /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ RL òåìïåðàòóðû' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_RISING_RL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' */ + g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) <= rtb_Saturation2) { + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_RL_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + */ + u_m(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' + */ + u_gq(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' */ + INCARRATE_RISING_DIFF_R7(&rtb_Saturation2); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) > rtb_Saturation2) { + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_RL_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + */ + u_o(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' + */ + u_b3(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_FALLING_RL_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8(&rtb_out_crw); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read temp' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) <= rtb_out_crw) { + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_RL_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' + */ + u_kk(rtDW.LEVEL, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_hr(rtDW.LEVEL, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ + AMBRATE_FALLING_DIFF7(&rtb_out_crw); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) > rtb_out_crw) { + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_RL_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + */ + u_b(rtDW.LEVEL, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_g(rtDW.LEVEL, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) <= 0.01) { + /* SignalConversion generated from: '/temp_out' */ + rtb_Divide11 = rtDW.Temp_RL_store; + } else { + if (rtb_Switch5_l > rtDW.Temp_RL_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_Switch2_nb = (int16_t)rtb_Saturation2; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_crw; + } + + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtb_Divide11 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_lf) / 60000.0 * + (double)rtb_Switch2_nb + rtDW.Temp_RL_store; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtDW.UnitDelay_DSTATE_lf = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ RL òåìïåðàòóðû' */ + } else { + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ RL' incorporates: + * ActionPort: '/Action Port' + */ + RL(rtb_Switch5_l, &rtb_Divide11); + + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ RL' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write7' + */ + rtDW.Incar_RL = (int16_t)floor(rtb_Divide11); + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read12' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_mt); + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + if (rtb_RelationalOperator6_f) { + /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ RR òåìïåðàòóðû' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_RISING_RR_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' */ + g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) <= rtb_Saturation2) + { + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_RR_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' + */ + u_m(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' + */ + u_gq(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' */ + INCARRATE_RISING_DIFF_R7(&rtb_Saturation2); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) > rtb_Saturation2) { + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_RISING_RR_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + */ + u_o(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' + */ + u_b3(rtDW.LEVEL, &rtb_Saturation2); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.KEEP_FALLING_RR_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8(&rtb_out_crw); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read temp' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) <= rtb_out_crw) { + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_RR_UNTIL_LIMIT = 0.0; + + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' + */ + u_kk(rtDW.LEVEL, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_hr(rtDW.LEVEL, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ + AMBRATE_FALLING_DIFF7(&rtb_out_crw); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) > rtb_out_crw) { + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_FALLING_RR_UNTIL_LIMIT = 1.0; + + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' + */ + u_b(rtDW.LEVEL, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_g(rtDW.LEVEL, &rtb_out_crw); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) <= 0.01) { + /* SignalConversion generated from: '/temp_out' */ + rtb_Add_p4 = rtDW.Temp_RR_store; + } else { + if (rtb_Switch4_f5 > rtDW.Temp_RR_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_Switch2_nb = (int16_t)rtb_Saturation2; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_crw; + } + + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtb_Add_p4 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_m) / 60000.0 * + (double)rtb_Switch2_nb + rtDW.Temp_RR_store; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtDW.UnitDelay_DSTATE_m = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ RR òåìïåðàòóðû' */ + } else { + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ RR' incorporates: + * ActionPort: '/Action Port' + */ + RL(rtb_Switch4_f5, &rtb_Add_p4); + + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ RR' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write8' + */ + rtDW.Incar_RR = (int16_t)floor(rtb_Add_p4); + + /* DataStoreWrite: '/Write new FL' */ + rtDW.Temp_FL_store = rtb_D; + + /* DataStoreWrite: '/Write new FR' */ + rtDW.Temp_FR_store = rtb_Divide10; + + /* DataStoreWrite: '/Write new FL' */ + rtDW.Temp_RL_store = rtb_Divide11; + + /* DataStoreWrite: '/Write new FL' */ + rtDW.Temp_RR_store = rtb_Add_p4; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[2] = rtb_Compare_pnq; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_Compare_pnq) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[3] = rtb_Compare_de; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[2] = rtb_Compare_dw; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[3] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_pnq) { + /* : if(IncarFLErr) */ + /* : fprintf('CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_FL = %f V\n',Sensor_Incar_Temp_FL); */ + printf("CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_FL = %f V\n", + rtb_Divide1_jg); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_kp && (!rtDW.Cond_prev_private_DSTATE_k)) { + rtDW.t_start_delay_private_DSTATE_f = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[4] = rtb_Compare_ff; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_Compare_ff) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[5] = rtb_Compare_pm; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[4] = rtb_Compare_le; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[5] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_ff) { + /* : 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_Divide3); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR2' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_jj && (!rtDW.Cond_prev_private_DSTATE_d)) { + rtDW.t_start_delay_private_DSTATE_il = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[6] = rtb_Compare_mg; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_Compare_mg) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[7] = rtb_Compare_e; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[6] = rtb_Compare_a; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[7] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_mg) { + /* : if(IncarRLErr) */ + /* : fprintf('CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_RL = %f V\n',Sensor_Incar_Temp_RL); */ + printf("CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_RL = %f V\n", + rtb_duct_select_index_dbg_c); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR1' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_f4 && (!rtDW.Cond_prev_private_DSTATE_hw)) { + rtDW.t_start_delay_private_DSTATE_k1 = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[8] = rtb_Compare_gq; + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_Compare_gq) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[9] = rtb_Compare_ds; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[8] = rtb_Compare_ls; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[9] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER) */ + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_gq) { + /* : if(IncarRLErr) */ + /* : fprintf('CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_RR = %f V\n',Sensor_Incar_Temp_RR); */ + printf("CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_RR = %f V\n", + rtb_Divide7_d); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write ERROR3' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' + */ + if (rtb_Compare_k2 && (!rtDW.Cond_prev_private_DSTATE_i)) { + rtDW.t_start_delay_private_DSTATE_pe = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/Write IncarFL' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('IncarFL = %d * 0.1 C\n',IncarFL); */ + printf("IncarFL = %d * 0.1 C\n", rtb_Switch3_no); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write IncarFL' */ + + /* MATLAB Function: '/Write IncarFR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('IncarFR = %d * 0.1 C\n',IncarFR); */ + printf("IncarFR = %d * 0.1 C\n", rtb_Switch1_pd); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write IncarFR' */ + + /* MATLAB Function: '/Write IncarRL' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('IncarRL = %d * 0.1 C\n',IncarRL); */ + printf("IncarRL = %d * 0.1 C\n", rtb_Switch5_l); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write IncarRL' */ + + /* MATLAB Function: '/Write IncarRR' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write5' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('IncarRR = %d * 0.1 C\n',IncarRR); */ + printf("IncarRR = %d * 0.1 C\n", rtb_Switch4_f5); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write IncarRR' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.LOGGER_ACP = 0.0; + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double) + rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n',U,I); */ + printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", + rtb_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double) + rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n',U,I); */ + printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", + rtb_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / + 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / + 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / + 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / + 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / + 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / + 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / + 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 + * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Pressure_DIAG V = %f\n',U); */ + printf("Pressure_DIAG V = %f\n", (double)rtDW.ADC_Data_Model.Pressure_DIAG / + 4095.0 * 6.0638); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Reserve_Sensor_Duct_Temp_1 V = %f\n',U); */ + printf("Reserve_Sensor_Duct_Temp_1 V = %f\n", (double) + rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_1 / 4095.0 * 5.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Reserve_Sensor_Duct_Temp_2 V = %f\n',U); */ + printf("Reserve_Sensor_Duct_Temp_2 V = %f\n", (double) + rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_2 / 4095.0 * 5.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Sensor_Front_Duct5 V = %f\n',U); */ + printf("Sensor_Front_Duct5 V = %f\n", (double) + rtDW.ADC_Data_Model.Sensor_Rear_Duct5 / 4095.0 * 5.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Sensor_Front_Duct V = %f\n',U); */ + printf("Sensor_Front_Duct V = %f\n", (double) + rtDW.ADC_Data_Model.Sensor_Rear_Duct6 / 4095.0 * 5.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n',U); */ + printf("VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n", (double) + rtDW.ADC_Data_Model.VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB / + 4095.0 * 17.5); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('VN7008AJ_DIAG_RearLINActuatorPowerDriverC V = %f\n',U); */ + printf("VN7008AJ_DIAG_RearLINActuatorPowerDriverC V = %f\n", (double) + rtDW.ADC_Data_Model.VN7008AJ_DIAG_RearLINActuatorPowerDriverC / + 4095.0 * 17.5); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double) + rtDW.ADC_Data_Model.VN7008AJ_FrontLINActuatorPowerDriverAB / 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n',U,I); */ + printf("VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n", + rtb_Divide1_jg, rtb_Divide1_jg / 2490.0 * 5890.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (double) + rtDW.ADC_Data_Model.VN7008AJ_RearLINActuatorPowerDriverC / 4095.0 * 5.0; + + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n',U,I); */ + printf("VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n", + rtb_Divide1_jg, rtb_Divide1_jg / 2490.0 * 5890.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('ST_ReservePower = %u \n',data); */ + printf("ST_ReservePower = %u \n", rtDW.ADC_Key_Data_Model.ST_ReservePower); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* MATLAB Function: '/Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('ST_BATTChiller = %u \n',data); */ + printf("ST_BATTChiller = %u \n", rtDW.ADC_Key_Data_Model.ST_BATTChiller); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write1' */ + + /* MATLAB Function: '/Write2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('EmergencyAirCleanSwitch = %u \n',data); */ + printf("EmergencyAirCleanSwitch = %u \n", + rtDW.ADC_Key_Data_Model.EmergencyAirCleanSwitch); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write2' */ + + /* MATLAB Function: '/Write3' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('FireExtinguishSwitch = %u \n',data); */ + printf("FireExtinguishSwitch = %u \n", + rtDW.ADC_Key_Data_Model.FireExtinguishSwitch); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write3' */ + + /* MATLAB Function: '/Write4' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Ign_Wakeup = %u \n',data); */ + printf("Ign_Wakeup = %u \n", rtDW.ADC_Key_Data_Model.Ign_Wakeup); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write4' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Chart: '/Zone_Climate_Logic_Auto_RL' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write1' + */ + Zone_Climate_Logic_Auto_RL(0, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, + rtDW.CCU_MODE_RL, &rtb_DataTypeConversion1_hy, &rtDW.CCU_FACE_RL, + &rtDW.CCU_FOOT_RL, &rtB.out_auto_b, &rtDW.sf_Zone_Climate_Logic_Auto_RL); + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.CCU_MODE_RL = rtB.out_auto_b; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Chart: '/Zone_Climate_Logic_Auto_RR' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write4' + */ + Zone_Climate_Logic_Auto_RL(0, rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, + rtDW.CCU_MODE_RR, &rtb_DataTypeConversion1_hy, &rtDW.CCU_FACE_RR, + &rtDW.CCU_FOOT_RR, &rtB.out_auto, &rtDW.sf_Zone_Climate_Logic_Auto_RR); + + /* DataStoreWrite: '/Data Store Write6' */ + rtDW.CCU_MODE_RR = rtB.out_auto; + + /* DataStoreWrite: '/Data Store Write29' incorporates: + * Chart: '/Zone_Climate_Logic_Auto_FL' + * DataStoreRead: '/Data Store Read38' + * DataStoreRead: '/Data Store Read39' + * DataStoreRead: '/Data Store Read40' + * DataStoreRead: '/Data Store Read41' + * DataStoreWrite: '/Data Store Write28' + */ + Zone_Climate_Logic_Auto_FL(rtDW.CCU_DEF_FL, rtDW.CCU_FACE_FL, rtDW.CCU_FOOT_FL, + rtDW.CCU_MODE_FL, &rtDW.CCU_DEF_FR, &rtDW.CCU_FACE_FL, &rtDW.CCU_FOOT_FL, + &rtB.out_auto_l, &rtDW.sf_Zone_Climate_Logic_Auto_FL); + + /* DataStoreWrite: '/Data Store Write30' */ + rtDW.CCU_MODE_FL = rtB.out_auto_l; + + /* DataStoreWrite: '/Data Store Write37' */ + rtDW.CCU_DEF_FL = rtDW.CCU_DEF_FR; + + /* DataStoreWrite: '/Data Store Write33' incorporates: + * Chart: '/Zone_Climate_Logic_Auto_FR' + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read62' + * DataStoreRead: '/Data Store Read63' + * DataStoreWrite: '/Data Store Write32' + */ + Zone_Climate_Logic_Auto_FL(rtDW.CCU_DEF_FR, rtDW.CCU_FACE_FR, rtDW.CCU_FOOT_FR, + rtDW.CCU_MODE_FR, &rtDW.CCU_DEF_FL, &rtDW.CCU_FACE_FR, &rtDW.CCU_FOOT_FR, + &rtB.out_auto_bb, &rtDW.sf_Zone_Climate_Logic_Auto_FR); + + /* DataStoreWrite: '/Data Store Write34' */ + rtDW.CCU_MODE_FR = rtB.out_auto_bb; + + /* DataStoreWrite: '/Data Store Write35' */ + rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; + + /* Outputs for Enabled SubSystem: '/Determine directions RL' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if (rtB.out_auto_b < rtDW.DelayInput1_DSTATE) { + /* MATLAB Function: '/direction for REAR index mode' incorporates: + * DataStoreRead: '/Data Store Read' + */ + directionforREARindexmode(rtDW.Index_mode_RL_auto, &rtb_y_hu[0]); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FACE_RL = (uint8_t)rtb_y_hu[1]; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FOOT_RL = (uint8_t)rtb_y_hu[2]; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Index_mode_RL_manual = (uint8_t)rtb_y_hu[3]; + + /* MATLAB Function: '/AF REAR VENT AUTO' */ + AFREARVENTAUTO(rtb_out_fzy); + + /* MATLAB Function: '/AF REAR Bi Level' */ + AFREARBiLevel(rtb_out_nz4); + + /* MATLAB Function: '/AF REAR Foot' */ + AFREARFoot(rtb_out_ovc); + + /* MATLAB Function: '/AF REAR VENT AUTO1' */ + AFREARVENTAUTO(rtb_out_gkh); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.Index_mode_RL_auto) { + case 120: + case 150: + case 170: + for (i = 0; i < 8; i++) { + rtb_out_gkh[i] = rtb_out_fzy[i]; + } + break; + + case 130: + case 160: + case 180: + for (i = 0; i < 8; i++) { + rtb_out_gkh[i] = rtb_out_nz4[i]; + } + break; + + case 140: + for (i = 0; i < 8; i++) { + rtb_out_gkh[i] = rtb_out_ovc[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/closest speed' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + closestspeed(rtb_out_gkh, rtb_out_fr3, &rtb_DataTypeConversion1_hy); + + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_BLOWERS_RL = rtb_DataTypeConversion1_hy; + } + + /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of Outputs for SubSystem: '/Determine directions RL' */ + + /* Outputs for Enabled SubSystem: '/Determine directions RR' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if (rtB.out_auto < rtDW.DelayInput1_DSTATE_f) { + /* MATLAB Function: '/direction for REAR index mode1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + directionforREARindexmode(rtDW.Index_mode_RR_auto, &rtb_y_hu[0]); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FACE_RR = (uint8_t)rtb_y_hu[1]; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FOOT_RR = (uint8_t)rtb_y_hu[2]; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Index_mode_RR_manual = (uint8_t)rtb_y_hu[3]; + + /* MATLAB Function: '/AF REAR VENT AUTO' */ + AFREARVENTAUTO(rtb_out_fzy); + + /* MATLAB Function: '/AF REAR Bi Level' */ + AFREARBiLevel(rtb_out_nz4); + + /* MATLAB Function: '/AF REAR Foot' */ + AFREARFoot(rtb_out_ovc); + + /* MATLAB Function: '/AF REAR VENT AUTO1' */ + AFREARVENTAUTO(rtb_out_gkh); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.Index_mode_RR_auto) { + case 120: + case 150: + case 170: + for (i = 0; i < 8; i++) { + rtb_out_gkh[i] = rtb_out_fzy[i]; + } + break; + + case 130: + case 160: + case 180: + for (i = 0; i < 8; i++) { + rtb_out_gkh[i] = rtb_out_nz4[i]; + } + break; + + case 140: + for (i = 0; i < 8; i++) { + rtb_out_gkh[i] = rtb_out_ovc[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/closest speed' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + closestspeed(rtb_out_gkh, rtb_out_fm3, &rtb_DataTypeConversion1_hy); + + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_BLOWERS_RR = rtb_DataTypeConversion1_hy; + } + + /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of Outputs for SubSystem: '/Determine directions RR' */ + + /* Outputs for Enabled SubSystem: '/Determine directions FL' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if (rtB.out_auto_l < rtDW.DelayInput1_DSTATE_e) { + /* MATLAB Function: '/direction for front index mode' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : switch index_mode */ + switch (rtDW.Index_mode_FL_auto) { + case 0U: + /* : case 0 */ + /* : Y = [0; 0; 0; 0]; */ + i = 0; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 0; + break; + + case 10U: + /* : case 10 */ + /* : Y = [0; 1; 0; 10]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 10; + break; + + case 20U: + /* : case 20 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + case 30U: + /* : case 30 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + case 40U: + /* : case 40 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + case 50U: + /* : case 50 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + case 60U: + /* : case 60 */ + /* : Y = [0; 0; 1; 60]; */ + i = 0; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 60; + break; + + case 70U: + /* : case 70 */ + /* : Y = [1; 0; 1; 70]; */ + i = 1; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 70; + break; + + case 80U: + /* : case 80 */ + /* : Y = [1; 0; 0; 80]; */ + i = 1; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 80; + break; + + case 90U: + /* : case 90 */ + /* : Y = [1; 1; 1; 90]; */ + i = 1; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 90; + break; + + case 100U: + /* : case 100 */ + /* : Y = [1; 1; 0; 100]; */ + i = 1; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 100; + break; + + case 110U: + /* : case 110 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + default: + /* : otherwise */ + /* : Y = [0; 0; 0; 0]; */ + i = 0; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 0; + break; + } + + /* End of MATLAB Function: '/direction for front index mode' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_DEF_FL = (uint8_t)i; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_DEF_FR = (uint8_t)i; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FACE_FL = (uint8_t)rtb_Cmd_3Way; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FOOT_FL = (uint8_t)rtb_Y_o_idx_2; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Index_mode_FL_manual = (uint8_t)rtb_Y_o_idx_3; + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_fzy[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_nz4[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_ovc[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_gkh[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_d23[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_c5x[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_jh3[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_bjx[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_pha[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_gr4[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/closest speed' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + closestspeed(rtb_out_ake, rtb_Saturation_as, &rtb_DataTypeConversion1_hy); + + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_BLOWERS_FL = rtb_DataTypeConversion1_hy; + } + + /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of Outputs for SubSystem: '/Determine directions FL' */ + + /* Outputs for Enabled SubSystem: '/Determine directions FR' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if (rtB.out_auto_bb < rtDW.DelayInput1_DSTATE_ee) { + /* MATLAB Function: '/direction for front index mode' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : switch index_mode */ + switch (rtDW.Index_mode_FR_auto) { + case 0U: + /* : case 0 */ + /* : Y = [0; 0; 0; 0]; */ + i = 0; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 0; + break; + + case 10U: + /* : case 10 */ + /* : Y = [0; 1; 0; 10]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 10; + break; + + case 20U: + /* : case 20 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + case 30U: + /* : case 30 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + case 40U: + /* : case 40 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + case 50U: + /* : case 50 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + case 60U: + /* : case 60 */ + /* : Y = [0; 0; 1; 60]; */ + i = 0; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 60; + break; + + case 70U: + /* : case 70 */ + /* : Y = [1; 0; 1; 70]; */ + i = 1; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 70; + break; + + case 80U: + /* : case 80 */ + /* : Y = [1; 0; 0; 80]; */ + i = 1; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 80; + break; + + case 90U: + /* : case 90 */ + /* : Y = [1; 1; 1; 90]; */ + i = 1; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 90; + break; + + case 100U: + /* : case 100 */ + /* : Y = [1; 1; 0; 100]; */ + i = 1; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 100; + break; + + case 110U: + /* : case 110 */ + /* : Y = [0; 1; 1; 110]; */ + i = 0; + rtb_Cmd_3Way = 1; + rtb_Y_o_idx_2 = 1; + rtb_Y_o_idx_3 = 110; + break; + + default: + /* : otherwise */ + /* : Y = [0; 0; 0; 0]; */ + i = 0; + rtb_Cmd_3Way = 0; + rtb_Y_o_idx_2 = 0; + rtb_Y_o_idx_3 = 0; + break; + } + + /* End of MATLAB Function: '/direction for front index mode' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_DEF_FL = (uint8_t)i; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_DEF_FR = (uint8_t)i; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FACE_FR = (uint8_t)rtb_Cmd_3Way; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FOOT_FR = (uint8_t)rtb_Y_o_idx_2; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write4' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Index_mode_FR_manual = (uint8_t)rtb_Y_o_idx_3; + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_fzy); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_nz4); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_ovc); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_gkh); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_d23); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_c5x); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_jh3); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_bjx); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_pha); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_gr4); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_ake); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.Index_mode_FR_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_fzy[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_nz4[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_ovc[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_gkh[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_d23[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_c5x[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_jh3[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_bjx[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_pha[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_ake[i] = rtb_out_gr4[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/closest speed' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + closestspeed(rtb_out_ake, Gain1, &rtb_DataTypeConversion1_hy); + + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_BLOWERS_FR = rtb_DataTypeConversion1_hy; + } + + /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of Outputs for SubSystem: '/Determine directions FR' */ + + /* Outputs for Atomic SubSystem: '/AromaLogic' */ + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' + * MATLAB Function: '/ccuAromaLogic' + */ + /* : AROMA_CFG_PRESENT = 0x01; */ + /* : ALGO_CFG_STANDARD = 0x00; */ + /* : ALGO_CFG_LIMOUSINE = 0x01; */ + /* : CAL_VARIANT_SEDANL = 1; */ + /* : CAL_VARIANT_LIMO = 3; */ + /* : CAL_VARIANT_MPV = 5; */ + /* : FIU_AROMA_REQ_ON = 0x1; */ + /* : FIU_AROMA_REQ_OFF = 0x2; */ + /* : FAULT_NONE = uint8(0x0); */ + /* : FAULT_HVAC_FAN_OFF = uint8(0x1); */ + /* : FAULT_HVAC_FAN_LOW = uint8(0x2); */ + /* : FAULT_HVAC_FAN_HIGH = uint8(0x3); */ + /* : FAULT_CARTRIDGE = uint8(0x4); */ + /* : FAULT_COMM_OR_HW = uint8(0x5); */ + /* : if isempty(savedIntensity) */ + /* : if isempty(prevAromaIntensStat) */ + /* : CCU_GloveBox_Stat = uint8(0); */ + rtDW.LIN4_CCU_Req_Model.CCU_GloveBox_Stat = 0U; + + /* MATLAB Function: '/ccuAromaLogic' */ + /* : CCU_AromaCartridgeFlavor_Stat = uint8(0); */ + /* : CCU_AromaCartridgeCapacity_Stat = uint8(0); */ + /* : CCU_AromaFaultReason_Stat = FAULT_NONE; */ + rtb_DataTypeConversion3_hs = 0U; + + /* : CCU_AromaIntens_Stat = uint8(0); */ + rtb_DataTypeConversion1_hy = 0U; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' + * MATLAB Function: '/ccuAromaLogic' + */ + /* : CCU_AromaIntens_Req = uint8(0); */ + rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; + + /* MATLAB Function: '/ccuAromaLogic' incorporates: + * Constant: '/auto1' + * Constant: '/auto3' + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read57' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read77' + * DataStoreRead: '/Data Store Read8' + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + /* : if (aromaConfig ~= AROMA_CFG_PRESENT) || ... */ + /* : (CAL_VARIANT < CAL_VARIANT_SEDANL) || (CAL_VARIANT > CAL_VARIANT_MPV) */ + if ((rtDW.AromaConfiguration != 1) || (g_ucCAL_VARIANT < 1) || + (g_ucCAL_VARIANT > 5)) { + /* : savedIntensity = uint8(0); */ + rtDW.savedIntensity = 0U; + + /* : prevAromaIntensStat = uint8(0); */ + rtDW.prevAromaIntensStat = 0U; + } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write32' + */ + /* : CCU_GloveBox_Stat = BCM_GloveBox_Stat; */ + rtDW.LIN4_CCU_Req_Model.CCU_GloveBox_Stat = rtDW.BCM_GloveBox_stat; + + /* : CCU_AromaCartridgeFlavor_Stat = Aroma_CartridgeFlavor_Stat; */ + /* : CCU_AromaCartridgeCapacity_Stat = Aroma_CartridgeCapacity_Stat; */ + /* : if (CAL_VARIANT == CAL_VARIANT_SEDANL) || (CAL_VARIANT == CAL_VARIANT_LIMO) */ + if ((g_ucCAL_VARIANT != 1) && (g_ucCAL_VARIANT != 3)) { + /* : else */ + /* : hvacFanPwm = frontHvacFanPwm; */ + rtDW.PWM_rear = rtDW.PWM_front; + } else { + /* : hvacFanPwm = rearHvacFanPwm; */ + } + + /* : if Aroma_CommErr_Flag */ + if (rtDW.CCU_AromaErr_Stat != 0) { + /* : CCU_AromaFaultReason_Stat = FAULT_COMM_OR_HW; */ + rtb_DataTypeConversion3_hs = 5U; + } else if ((rtDW.Aroma_CartridgeSw != 0) || (rtDW.Aroma_CartridgeCapacity == + 0)) { + /* : elseif (Aroma_CartridgeSw_Stat ~= 0) || (Aroma_CartridgeCapacity_Stat == 0) */ + /* : CCU_AromaFaultReason_Stat = FAULT_CARTRIDGE; */ + rtb_DataTypeConversion3_hs = 4U; + } else if (rtDW.PWM_rear == 0) { + /* : elseif hvacFanPwm == 0 */ + /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_OFF; */ + rtb_DataTypeConversion3_hs = 1U; + } else if (rtDW.PWM_rear < (uint8_t)((52429U * g_usAromaPwm_Min) >> 19)) { + /* : elseif hvacFanPwm < aromaPWMmin */ + /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_LOW; */ + rtb_DataTypeConversion3_hs = 2U; + } else if (rtDW.PWM_rear > (uint8_t)((52429U * g_usAromaPwm_Max) >> 19)) { + /* : elseif hvacFanPwm > aromaPWMmax */ + /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_HIGH; */ + rtb_DataTypeConversion3_hs = 3U; + } else { + /* : else */ + /* : CCU_AromaFaultReason_Stat = FAULT_NONE; */ + } + + /* : if FIU_AromaIntens_Req ~= 0 */ + if (rtDW.CCU_AromaIntens_stat != 0) { + /* : savedIntensity = FIU_AromaIntens_Req; */ + rtDW.savedIntensity = rtDW.CCU_AromaIntens_stat; + } + + /* : if T15_On */ + if (rtDW.BCM_T15_Stat != 0) { + /* : CCU_AromaIntens_Stat = prevAromaIntensStat; */ + rtb_DataTypeConversion1_hy = rtDW.prevAromaIntensStat; + } else { + /* : else */ + /* : CCU_AromaIntens_Stat = uint8(0); */ + } + + /* : if (CCU_AromaFaultReason_Stat == FAULT_COMM_OR_HW) || (FIU_Aroma_Req == FIU_AROMA_REQ_OFF) */ + if ((rtb_DataTypeConversion3_hs == 5) || (rtDW.CCU_Aroma == 2)) { + /* : CCU_AromaIntens_Stat = uint8(0); */ + rtb_DataTypeConversion1_hy = 0U; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' + */ + /* : CCU_AromaIntens_Req = uint8(0); */ + rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; + } else { + /* : else */ + /* : if (CCU_AromaFaultReason_Stat ~= FAULT_COMM_OR_HW) && (FIU_Aroma_Req == FIU_AROMA_REQ_ON) */ + if (rtDW.CCU_Aroma == 1) { + /* : CCU_AromaIntens_Stat = savedIntensity; */ + rtb_DataTypeConversion1_hy = rtDW.savedIntensity; + } + + /* : if (CCU_AromaFaultReason_Stat == FAULT_NONE) && ... */ + /* : (CCU_AromaIntens_Stat ~= 0) && T15_On */ + if ((rtb_DataTypeConversion3_hs == 0) && (rtb_DataTypeConversion1_hy != 0) + && (rtDW.BCM_T15_Stat != 0)) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' + */ + /* : CCU_AromaIntens_Req = CCU_AromaIntens_Stat; */ + rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = rtb_DataTypeConversion1_hy; + } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' + */ + /* : else */ + /* : CCU_AromaIntens_Req = uint8(0); */ + rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; + } + } + + /* : if T15_On */ + if (rtDW.BCM_T15_Stat != 0) { + /* : prevAromaIntensStat = CCU_AromaIntens_Stat; */ + rtDW.prevAromaIntensStat = rtb_DataTypeConversion1_hy; + } + } + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * MATLAB Function: '/ccuAromaLogic' + */ + rtDW.CCU_AromaIntens_stat = rtb_DataTypeConversion1_hy; + + /* End of Outputs for SubSystem: '/AromaLogic' */ + + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' + */ + if (rtDW.CCU_SET_FL > 290) { + rtb_out_crw = 290U; + } else if (rtDW.CCU_SET_FL < 170) { + rtb_out_crw = 170U; + } else { + rtb_out_crw = rtDW.CCU_SET_FL; + } + + /* End of Saturate: '/Saturation' */ + + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read17' + */ + if (rtDW.CCU_SET_FR > 290) { + rtb_Saturation2 = 290U; + } else if (rtDW.CCU_SET_FR < 170) { + rtb_Saturation2 = 170U; + } else { + rtb_Saturation2 = rtDW.CCU_SET_FR; + } + + /* End of Saturate: '/Saturation1' */ + + /* Outputs for Atomic SubSystem: '/Autodemist (all-season mode and winter mode)' */ + /* MATLAB Function: '/Calculate_Autodemist_Level' incorporates: + * Constant: '/auto10' + * Constant: '/auto11' + * Constant: '/auto12' + * Constant: '/auto4' + * Constant: '/auto5' + * Constant: '/auto6' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * Gain: '/Gain2' + * Logic: '/AND2' + * Logic: '/AND3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator6' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' + */ + /* : if isempty(current_level_FL) */ + /* : if isempty(current_level_FR) */ + /* : if isempty(active_mode) */ + /* : if active_mode == 2 && exit_conditions_winter == 1 */ + if ((rtDW.active_mode == 2.0) && ((rtDW.CCU_MODE_FL != 1) || (rtDW.AMB > 10 * + g_assAUTODEMIST_WINTER[1]))) { + /* : current_level_FL = 0; */ + rtDW.current_level_FL = 0.0; + + /* : current_level_FR = 0; */ + rtDW.current_level_FR = 0.0; + + /* : active_mode = 0; */ + rtDW.active_mode = 0.0; + } + + /* : if active_mode == 1 && exit_conditions_all_season == 1 */ + if ((rtDW.active_mode == 1.0) && ((rtDW.CCU_MODE_FL != 1) || (rtDW.Dew_point > + g_assAUTODEMIST_STEP_UP[0]))) { + /* : current_level_FL = 0; */ + rtDW.current_level_FL = 0.0; + + /* : current_level_FR = 0; */ + rtDW.current_level_FR = 0.0; + + /* : active_mode = 0; */ + rtDW.active_mode = 0.0; + } + + /* : if active_mode == 0 */ + guard1 = false; + if (rtDW.active_mode == 0.0) { + /* Logic: '/AND1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Auto' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + */ + /* : if entry_conditions_winter == 1 */ + rtb_Compare_e = ((rtDW.CCU_MODE_FL == 1) && ((rtDW.step_start_controle_front + > 1) || (rtDW.step_start_controle_front == -1)) && (rtDW.ECT > 45)); + if (rtb_Compare_e && (rtDW.AMB <= 10 * g_assAUTODEMIST_WINTER[0])) { + /* : active_mode = 2; */ + rtDW.active_mode = 2.0; + guard1 = true; + } else if (rtb_Compare_e && (rtDW.Dew_point <= g_assAUTODEMIST_STEP_UP[0])) + { + /* : elseif entry_conditions_all_season == 1 */ + /* : active_mode = 1; */ + rtDW.active_mode = 1.0; + guard1 = true; + } else { + /* : else */ + /* : new_level_FL = 0; */ + rtb_Divide1_jg = 0.0; + + /* : new_level_FR = 0; */ + rtb_Divide3 = 0.0; + + /* : new_active_mode = 0; */ + rtb_duct_select_index_dbg_c = 0.0; + } + } else { + guard1 = true; + } + + if (guard1) { + /* : if active_mode == 2 */ + if (rtDW.active_mode == 2.0) { + /* : if dew_point > STEP_UP(2) */ + if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[1]) { + /* : target_level = 0; */ + i = 0; + } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[2]) { + /* : elseif dew_point > STEP_UP(3) */ + /* : target_level = 2; */ + i = 2; + } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[3]) { + /* : elseif dew_point > STEP_UP(4) */ + /* : target_level = 3; */ + i = 3; + } else { + /* : else */ + /* : target_level = 4; */ + i = 4; + } + } else if (rtDW.active_mode == 1.0) { + /* : elseif active_mode == 1 */ + /* : if dew_point > STEP_UP(1) */ + if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[0]) { + /* : target_level = 0; */ + i = 0; + } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[1]) { + /* : elseif dew_point > STEP_UP(2) */ + /* : target_level = 1; */ + i = 1; + } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[2]) { + /* : elseif dew_point > STEP_UP(3) */ + /* : target_level = 2; */ + i = 2; + } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[3]) { + /* : elseif dew_point > STEP_UP(4) */ + /* : target_level = 3; */ + i = 3; + } else { + /* : else */ + /* : target_level = 4; */ + i = 4; + } + } else { + /* : else */ + /* : target_level = 0; */ + i = 0; + } + + /* : new_level_FL = current_level_FL; */ + rtb_Divide1_jg = rtDW.current_level_FL; + + /* : if target_level > current_level_FL */ + if (i > rtDW.current_level_FL) { + /* : new_level_FL = target_level; */ + rtb_Divide1_jg = i; + } else if (i < rtDW.current_level_FL) { + /* : elseif target_level < current_level_FL */ + /* : if current_level_FL == 4 && dew_point > STEP_DN(4) */ + if ((rtDW.current_level_FL == 4.0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_DN[3])) { + /* : new_level_FL = 3; */ + rtb_Divide1_jg = 3.0; + } else if ((rtDW.current_level_FL == 3.0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_DN[2])) { + /* : elseif current_level_FL == 3 && dew_point > STEP_DN(3) */ + /* : new_level_FL = 2; */ + rtb_Divide1_jg = 2.0; + } else if ((rtDW.current_level_FL == 2.0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_DN[1])) { + /* : elseif current_level_FL == 2 && dew_point > STEP_DN(2) */ + /* : new_level_FL = 1; */ + rtb_Divide1_jg = 1.0; + } else if ((rtDW.current_level_FL == 1.0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_DN[0])) { + /* : elseif current_level_FL == 1 && dew_point > STEP_DN(1) */ + /* : new_level_FL = 0; */ + rtb_Divide1_jg = 0.0; + } else { + /* : else */ + /* : new_level_FL = current_level_FL; */ + /* : else */ + /* : new_level_FL = current_level_FL; */ + } + } + + /* : if (FL_blower_automode == 4 || FL_blower_automode == 5) && new_level_FL > 2 */ + if (((rtDW.CCU_AUTOMODE_FL == 4) || (rtDW.CCU_AUTOMODE_FL == 5)) && + (rtb_Divide1_jg > 2.0)) { + /* : new_level_FL = 2; */ + rtb_Divide1_jg = 2.0; + } + + /* : new_level_FR = current_level_FR; */ + rtb_Divide3 = rtDW.current_level_FR; + + /* : if target_level > current_level_FR */ + if (i > rtDW.current_level_FR) { + /* : new_level_FR = target_level; */ + rtb_Divide3 = i; + } else if (i < rtDW.current_level_FR) { + /* : elseif target_level < current_level_FR */ + /* : if current_level_FR == 4 && dew_point > STEP_DN(4) */ + if ((rtDW.current_level_FR == 4.0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_DN[3])) { + /* : new_level_FR = 3; */ + rtb_Divide3 = 3.0; + } else if ((rtDW.current_level_FR == 3.0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_DN[2])) { + /* : elseif current_level_FR == 3 && dew_point > STEP_DN(3) */ + /* : new_level_FR = 2; */ + rtb_Divide3 = 2.0; + } else if ((rtDW.current_level_FR == 2.0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_DN[1])) { + /* : elseif current_level_FR == 2 && dew_point > STEP_DN(2) */ + /* : new_level_FR = 1; */ + rtb_Divide3 = 1.0; + } else if ((rtDW.current_level_FR == 1.0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_DN[0])) { + /* : elseif current_level_FR == 1 && dew_point > STEP_DN(1) */ + /* : new_level_FR = 0; */ + rtb_Divide3 = 0.0; + } else { + /* : else */ + /* : new_level_FR = current_level_FR; */ + /* : else */ + /* : new_level_FR = current_level_FR; */ + } + } + + /* : if (FR_blower_automode == 4 || FR_blower_automode == 5) && new_level_FR > 2 */ + if (((rtDW.CCU_AUTOMODE_FR == 4) || (rtDW.CCU_AUTOMODE_FR == 5)) && + (rtb_Divide3 > 2.0)) { + /* : new_level_FR = 2; */ + rtb_Divide3 = 2.0; + } + + /* : current_level_FL = new_level_FL; */ + rtDW.current_level_FL = rtb_Divide1_jg; + + /* : current_level_FR = new_level_FR; */ + rtDW.current_level_FR = rtb_Divide3; + + /* : new_active_mode = active_mode; */ + rtb_duct_select_index_dbg_c = rtDW.active_mode; + } + + /* MATLAB Function: '/MATLAB Function' incorporates: + * MATLAB Function: '/Calculate_Autodemist_Level' + */ + /* : if active_mode == 2 */ + if (rtb_duct_select_index_dbg_c == 2.0) { + /* : lvl_winter = uint8(autodemist_lvl_FL); */ + rtb_duct_select_index_dbg_c = rt_roundd(rtb_Divide1_jg); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = (uint8_t) + rtb_duct_select_index_dbg_c; + } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = 0U; + } + } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = UINT8_MAX; + } + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * MATLAB Function: '/Calculate_Autodemist_Level' + */ + /* : lvl_summer = uint8(0); */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; + } else if (rtb_duct_select_index_dbg_c == 1.0) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif active_mode == 1 */ + /* : lvl_winter = uint8(0); */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = 0U; + + /* : lvl_summer = uint8(autodemist_lvl_FL); */ + rtb_duct_select_index_dbg_c = rt_roundd(rtb_Divide1_jg); + if (rtb_duct_select_index_dbg_c < 256.0) { + if (rtb_duct_select_index_dbg_c >= 0.0) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = (uint8_t) + rtb_duct_select_index_dbg_c; + } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; + } + } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = UINT8_MAX; + } + } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : else */ + /* : lvl_winter = uint8(0); */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = 0U; + + /* : lvl_summer = uint8(0); */ + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; + } + + /* End of MATLAB Function: '/MATLAB Function' */ + + /* Logic: '/AND5' incorporates: + * Constant: '/auto13' + * Constant: '/auto14' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write23' + * Logic: '/AND4' + * RelationalOperator: '/Relational Operator10' + * RelationalOperator: '/Relational Operator11' + * RelationalOperator: '/Relational Operator9' + */ + rtb_RelationalOperator6_f = (((rtDW.CCU_MODE_FL == 0) || (rtDW.CCU_MODE_FL == + 2)) && (rtb_out_cj[8] == 100)); + + /* Gain: '/Gain4' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + rtb_DataTypeConversion1_oq = (int16_t)((13107 * rtDW.AMB) >> 17); + + /* Gain: '/Gain' incorporates: + * Gain: '/Gain4' + * Lookup_n-D: '/AUTODEMIST_OFFSET_VENT_TEMP' + */ + rtb_Switch2_nb = (int16_t)(10 * look1_is16lu64n32Ds32_binlcs + (rtb_DataTypeConversion1_oq, &g_assAUTODEMIST_OFFSET_AMB_TEMP[0], + &g_assAUTODEMIST_OFFSET_VENT_TEMP[0], 8U)); + + /* Lookup_n-D: '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' incorporates: + * Saturate: '/Saturation' + */ + rtb_Switch6_c = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, + rtConstP.pooled58, rtConstP.pooled57, 3U); + + /* MATLAB Function: '/Autodemist_Actions_FL' incorporates: + * Constant: '/auto7' + * Constant: '/auto8' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * MATLAB Function: '/Calculate_Autodemist_Level' + */ + /* : recirculation_auto = false; */ + rtb_Compare_le = false; + + /* : ac_on = false; */ + /* : fl_blower_af = uint16(0); */ + rtDW.FL_blower_AF_offset_autodemist = 0U; + + /* : def_valve = false; */ + rtb_Compare_e = false; + + /* : flu_duct_target = int16(0); */ + rtDW.FLU_duct_target_offset_autodemist = 0; + + /* : max_def_active_and_rate_15 = false; */ + rtb_Compare_dw = false; + + /* : if new_level_FL >= 1 && new_level_FL <= 3 */ + if ((rtb_Divide1_jg >= 1.0) && (rtb_Divide1_jg <= 3.0)) { + /* : recirculation_auto = true; */ + rtb_Compare_le = true; + + /* : ac_on = true; */ + /* : if new_level_FL >= 2 */ + if (rtb_Divide1_jg >= 2.0) { + /* : def_valve = true; */ + rtb_Compare_e = true; + } + } + + /* : if new_level_FL == 2 */ + if (rtb_Divide1_jg == 2.0) { + /* : fl_blower_af = uint16(pct_of(fl_blower_current, AUTODEMIST_LV2_BLR_PLUS)); */ + /* : result = int16(round(double(number) * (double(percent) / 100))); */ + i = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV2_BLR_PLUS / 100.0 * (double) + rtb_Saturation_as); + if (i < 32768) { + rtDW.FL_blower_AF_offset_autodemist = (uint16_t)i; + } else { + rtDW.FL_blower_AF_offset_autodemist = 32767U; + } + + /* : if (fl_temperature_set > 200) */ + if (rtb_out_crw > 200) { + /* : flu_duct_target = total_offset_vent; */ + rtDW.FLU_duct_target_offset_autodemist = rtb_Switch2_nb; + } else { + /* : else */ + /* : flu_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ + /* : result = int16(round(double(number) * (double(percent) / 100))); */ + i = (int32_t)rt_roundd((double)rtb_Switch6_c / 100.0 * (double) + rtb_Switch2_nb); + if (i < 32768) { + if (i >= -32768) { + rtDW.FLU_duct_target_offset_autodemist = (int16_t)i; + } else { + rtDW.FLU_duct_target_offset_autodemist = INT16_MIN; + } + } else { + rtDW.FLU_duct_target_offset_autodemist = INT16_MAX; + } + } + } + + /* : if new_level_FL == 3 */ + if (rtb_Divide1_jg == 3.0) { + /* : fl_blower_af = uint16(pct_of(fl_blower_current, AUTODEMIST_LV3_BLR_PLUS)); */ + /* : result = int16(round(double(number) * (double(percent) / 100))); */ + i = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV3_BLR_PLUS / 100.0 * (double) + rtb_Saturation_as); + if (i < 32768) { + rtDW.FL_blower_AF_offset_autodemist = (uint16_t)i; + } else { + rtDW.FL_blower_AF_offset_autodemist = 32767U; + } + + /* : if (fl_temperature_set > 200) */ + if (rtb_out_crw > 200) { + /* : flu_duct_target = total_offset_vent; */ + rtDW.FLU_duct_target_offset_autodemist = rtb_Switch2_nb; + } else { + /* : else */ + /* : flu_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ + /* : result = int16(round(double(number) * (double(percent) / 100))); */ + i = (int32_t)rt_roundd((double)rtb_Switch6_c / 100.0 * (double) + rtb_Switch2_nb); + if (i < 32768) { + if (i >= -32768) { + rtDW.FLU_duct_target_offset_autodemist = (int16_t)i; + } else { + rtDW.FLU_duct_target_offset_autodemist = INT16_MIN; + } + } else { + rtDW.FLU_duct_target_offset_autodemist = INT16_MAX; + } + } + } + + /* : if new_level_FL == 4 */ + if (rtb_Divide1_jg == 4.0) { + /* : flu_duct_target = int16(0); */ + rtDW.FLU_duct_target_offset_autodemist = 0; + + /* : fl_blower_af = uint16(0); */ + rtDW.FL_blower_AF_offset_autodemist = 0U; + + /* : max_def_active_and_rate_15 = true; */ + rtb_Compare_dw = true; + } + + /* End of MATLAB Function: '/Autodemist_Actions_FL' */ + + /* Lookup_n-D: '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' incorporates: + * Saturate: '/Saturation1' + */ + rtb_Switch6_c = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled58, rtConstP.pooled57, 3U); + + /* MATLAB Function: '/Autodemist_Actions_FR' incorporates: + * Constant: '/auto7' + * Constant: '/auto8' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * MATLAB Function: '/Calculate_Autodemist_Level' + */ + /* : recirculation_auto = false; */ + rtb_Compare_a = false; + + /* : ac_on = false; */ + /* : fr_blower_af = uint16(0); */ + rtDW.FR_blower_AF_offset_autodemist = 0U; + + /* : def_valve = false; */ + rtb_Compare_de = false; + + /* : fru_duct_target = int16(0); */ + rtDW.FRU_duct_target_offset_autodemist = 0; + + /* : max_def_active_and_rate_15 = false; */ + rtb_Compare_pm = false; + + /* : if new_level_FR >= 1 && new_level_FR <= 3 */ + if ((rtb_Divide3 >= 1.0) && (rtb_Divide3 <= 3.0)) { + /* : recirculation_auto = true; */ + rtb_Compare_a = true; + + /* : ac_on = true; */ + /* : if new_level_FR >= 2 */ + if (rtb_Divide3 >= 2.0) { + /* : def_valve = true; */ + rtb_Compare_de = true; + } + } + + /* : if new_level_FR == 2 */ + if (rtb_Divide3 == 2.0) { + /* : fr_blower_af = uint16(pct_of(fr_blower_current, AUTODEMIST_LV2_BLR_PLUS)); */ + /* : result = int16(round(double(number) * (double(percent) / 100))); */ + i = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV2_BLR_PLUS / 100.0 * (double) + Gain1); + if (i < 32768) { + rtDW.FR_blower_AF_offset_autodemist = (uint16_t)i; + } else { + rtDW.FR_blower_AF_offset_autodemist = 32767U; + } + + /* : if (fr_temperature_set > 200) */ + if (rtb_Saturation2 > 200) { + /* : fru_duct_target = total_offset_vent; */ + rtDW.FRU_duct_target_offset_autodemist = rtb_Switch2_nb; + } else { + /* : else */ + /* : fru_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ + /* : result = int16(round(double(number) * (double(percent) / 100))); */ + i = (int32_t)rt_roundd((double)rtb_Switch6_c / 100.0 * (double) + rtb_Switch2_nb); + if (i < 32768) { + if (i >= -32768) { + rtDW.FRU_duct_target_offset_autodemist = (int16_t)i; + } else { + rtDW.FRU_duct_target_offset_autodemist = INT16_MIN; + } + } else { + rtDW.FRU_duct_target_offset_autodemist = INT16_MAX; + } + } + } + + /* : if new_level_FR == 3 */ + if (rtb_Divide3 == 3.0) { + /* : fr_blower_af = uint16(pct_of(fr_blower_current, AUTODEMIST_LV3_BLR_PLUS)); */ + /* : result = int16(round(double(number) * (double(percent) / 100))); */ + i = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV3_BLR_PLUS / 100.0 * (double) + Gain1); + if (i < 32768) { + rtDW.FR_blower_AF_offset_autodemist = (uint16_t)i; + } else { + rtDW.FR_blower_AF_offset_autodemist = 32767U; + } + + /* : if (fr_temperature_set > 200) */ + if (rtb_Saturation2 > 200) { + /* : fru_duct_target = total_offset_vent; */ + rtDW.FRU_duct_target_offset_autodemist = rtb_Switch2_nb; + } else { + /* : else */ + /* : fru_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ + /* : result = int16(round(double(number) * (double(percent) / 100))); */ + i = (int32_t)rt_roundd((double)rtb_Switch6_c / 100.0 * (double) + rtb_Switch2_nb); + if (i < 32768) { + if (i >= -32768) { + rtDW.FRU_duct_target_offset_autodemist = (int16_t)i; + } else { + rtDW.FRU_duct_target_offset_autodemist = INT16_MIN; + } + } else { + rtDW.FRU_duct_target_offset_autodemist = INT16_MAX; + } + } + } + + /* : if new_level_FR == 4 */ + if (rtb_Divide3 == 4.0) { + /* : fru_duct_target = int16(0); */ + rtDW.FRU_duct_target_offset_autodemist = 0; + + /* : fr_blower_af = uint16(0); */ + rtDW.FR_blower_AF_offset_autodemist = 0U; + + /* : max_def_active_and_rate_15 = true; */ + rtb_Compare_pm = true; + } + + /* End of MATLAB Function: '/Autodemist_Actions_FR' */ + + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator1' + */ + rtDW.recirc_auto_request_from_autodemist = (rtb_Compare_le || rtb_Compare_a); + + /* Logic: '/Logical Operator1' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.AC_front_on_req_from_autodemist = + rtDW.recirc_auto_request_from_autodemist; + + /* Logic: '/Logical Operator2' */ + rtb_Compare_dw = (rtb_Compare_dw || rtb_Compare_pm); + + /* Logic: '/Logical Operator3' incorporates: + * DataStoreWrite: '/Data Store Write7' + */ + rtDW.def_valve_100_req = (rtb_Compare_e || rtb_Compare_de); + + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreWrite: '/Data Store Write6' + */ + /* : REQ_NONE = uint8(0); */ + /* : REQ_ON = uint8(1); */ + /* : REQ_OFF = uint8(2); */ + /* : if isempty(req_prev) */ + if (!rtDW.req_prev_not_empty) { + /* : req_prev = current_req; */ + rtDW.req_prev = rtb_Compare_dw; + rtDW.req_prev_not_empty = true; + } + + /* : if current_req ~= req_prev && current_req == true */ + if ((rtb_Compare_dw != rtDW.req_prev) && rtb_Compare_dw) { + /* : maxdef_req = REQ_ON; */ + rtb_DataTypeConversion1_hy = 1U; + } else if ((rtb_Compare_dw != rtDW.req_prev) && (!rtb_Compare_dw)) { + /* : elseif current_req ~= req_prev && current_req == false */ + /* : maxdef_req = REQ_OFF; */ + rtb_DataTypeConversion1_hy = 2U; + } else { + /* : else */ + /* : maxdef_req = REQ_NONE; */ + rtb_DataTypeConversion1_hy = 0U; + } + + /* : req_prev = current_req; */ + rtDW.req_prev = rtb_Compare_dw; + + /* End of MATLAB Function: '/MATLAB Function' */ + + /* Switch: '/Switch' incorporates: + * Gain: '/Gain4' + * Lookup_n-D: '/AUTODEMIST_OFFSET_LEFT' + * Lookup_n-D: '/AUTODEMIST_OFFSET_RIGHT' + * Switch: '/Switch1' + */ + if (rtb_RelationalOperator6_f) { + rtDW.FLU_duct_target_offset_autodemist = look1_is16lu64n32Ds32_binlcs + (rtb_DataTypeConversion1_oq, rtConstP.pooled56, + &g_assDUCT_TGT_DEF_VALVE_L[0], 10U); + rtDW.FRU_duct_target_offset_autodemist = look1_is16lu64n32Ds32_binlcs + (rtb_DataTypeConversion1_oq, rtConstP.pooled56, + &g_assDUCT_TGT_DEF_VALVE_R[0], 10U); + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Autodemist (all-season mode and winter mode)' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_Switch6_c = (int16_t)floor(0.5 * (double) + rtDW.CCUCAN_EMS_Veh_02_model.BMS_ActualTemp_Val_ro - 40.0); + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.eCompChiller_Err = 0.0; + + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.eComp_InputC = (uint16_t) + (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInputC_Val_ro << 7); + + /* Bias: '/Bias' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.eComp_Temp = (int16_t) + (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInvTemp_Val_ro - 50); + + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read17' + */ + rtDW.AromaConfiguration = + rtDW.CCUCAN_tStatus_CCU_Configuration_model.AromaConfiguration; + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + * RelationalOperator: '/Relational Operator' + * SignalConversion generated from: '/Bus Selector3' + */ + if (rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro == 65534) { + /* Outputs for IfAction SubSystem: '/sensor error' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AmbTempSensErr_Stat = 1U; + + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/failsafe = 10C after factor and offset' + */ + rtb_out_mxq = 5000U; + + /* End of Outputs for SubSystem: '/sensor error' */ + } else { + /* Outputs for IfAction SubSystem: '/sensor OK' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/In1' */ + rtb_out_mxq = rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro; + + /* End of Outputs for SubSystem: '/sensor OK' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain1' + * Gain: '/Gain2' + */ + AMB_RAW = (int16_t)floor((0.01 * (double)rtb_out_mxq - 40.0) * 10.0); + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read1' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_k3); + + /* If: '/If' */ + if (rtb_RelationalOperator6_f) { + /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ òåìïåðàòóðû' incorporates: + * ActionPort: '/Action Port' + */ + /* Lookup_n-D: '/Get LVL for temp' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtb_DataTypeConversion1_oq = + rtConstP.GetLVLfortemp_tableData[plook_u32s16_bincka(AMB_RAW, + rtConstP.GetLVLfortemp_bp01Data, 5U)]; + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_p(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_DataTypeConversion1_gy, + &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_g2(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_DataTypeConversion1_gy, + &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_kb(AMB_RAW, rtb_DataTypeConversion1_oq, ¢er_percent, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_my(AMB_RAW, rtb_DataTypeConversion1_oq, ¢er_percent, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read15' + * UnitDelay: '/Unit Delay' + */ + rtb_Subtract = rtDW.t_now - rtDW.UnitDelay_DSTATE_c; + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read' + */ + /* : f_g_ssAMBFILT_WATER = g_ssAMBFILT_WATER; */ + if ((rtDW.VehicleSpeed > 45) && (rtDW.KEEP_UNTIL_SPEED_DROPS > 0)) { + /* Outputs for IfAction SubSystem: '/Áûñòðî èç-çà ôëàãà' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_p(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_c5, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_g2(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_c5, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_kb(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_m4, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_my(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_m4, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if (fabs((double)AMB_RAW - rtDW.AMB_store) <= 0.01) { + /* SignalConversion generated from: '/AMB_new' */ + rtb_Divide1_jg = rtDW.AMB_store; + } else { + if (AMB_RAW > rtDW.AMB_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_Switch2_nb = rtb_Merge_c5; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Switch2_nb = (int16_t)-rtb_Merge_m4; + } + + /* SignalConversion generated from: '/AMB_new' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' + */ + rtb_Divide1_jg = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch2_nb + + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Áûñòðî èç-çà ôëàãà' */ + } else if (rtDW.VehicleSpeed > 50) { + /* Outputs for IfAction SubSystem: '/Áûñòðî èç-çà ñêîðîñòè' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.KEEP_UNTIL_SPEED_DROPS = 1U; + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_p(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_c5, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_g2(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_c5, &rtDW.AMB_store, + &rtDW.KEEP_RISING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_kb(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_m4, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ + } else { + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: + * ActionPort: '/Action Port' + */ + u_my(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_m4, &rtDW.AMB_store, + &rtDW.KEEP_FALLING_UNTIL_LIMIT); + + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ + } + + /* End of If: '/If1' */ + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if (fabs((double)AMB_RAW - rtDW.AMB_store) <= 0.01) { + /* SignalConversion generated from: '/AMB_new' */ + rtb_Divide1_jg = rtDW.AMB_store; + } else { + if (AMB_RAW > rtDW.AMB_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_Switch2_nb = rtb_Merge_c5; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' + */ + rtb_Switch2_nb = (int16_t)-rtb_Merge_m4; + } + + /* SignalConversion generated from: '/AMB_new' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' + */ + rtb_Divide1_jg = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch2_nb + + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Áûñòðî èç-çà ñêîðîñòè' */ + } else { + /* Outputs for IfAction SubSystem: '/Ìåäëåííî' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' + */ + rtDW.KEEP_UNTIL_SPEED_DROPS = 0U; + + /* MATLAB Function: '/ãðàíèöû' */ + /* : rate_at_10 = 0.5; */ + /* : rate_at_50 = double(g_aucAMBRATE_RISING(lvl + 1)) ; */ + /* : f_lower_upper_bounds = [rate_at_10, rate_at_50]; */ + rtb_f_lower_upper_bounds[0] = 0.5; + i = rtb_DataTypeConversion1_oq + 1; + if (rtb_DataTypeConversion1_oq + 1 > 32767) { + i = 32767; + } + + rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[i - 1]; + + /* MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' */ + /* : fprintf("lvl = %d\n", lvl); */ + printf("lvl = %d\n", rtb_DataTypeConversion1_oq); + fflush(stdout); + + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide' + * Product: '/Product' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Switch: '/Switch' + */ + /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ + if (fabs((double)AMB_RAW - rtDW.AMB_store) <= 0.01) { + rtb_Divide1_jg = AMB_RAW; + } else { + if (AMB_RAW > rtDW.AMB_store) { + /* Switch: '/Ñêîðîñòü >10' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' + */ + if (rtDW.VehicleSpeed > 10) { + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read12' + */ + rtb_Divide1_jg = look1_iu16td_binlc(rtDW.VehicleSpeed, + rtConstP.uDLookupTable1_bp01Data, rtb_f_lower_upper_bounds, 1U); + } else { + rtb_Divide1_jg = 0.5; + } + + /* End of Switch: '/Ñêîðîñòü >10' */ + } else { + /* MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' incorporates: + * MATLAB Function: '/ãðàíèöû' + */ + i = rtb_DataTypeConversion1_oq + 1; + if (rtb_DataTypeConversion1_oq + 1 > 32767) { + i = 32767; + } + + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' + * UnaryMinus: '/Unary Minus' + */ + rtb_Divide1_jg = -(double)g_aucAMBRATE_FALLING[i - 1]; + } + + rtb_Divide1_jg = (double)rtb_Subtract / 60000.0 * rtb_Divide1_jg + + rtDW.AMB_store; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Ìåäëåííî' */ + } + + /* End of If: '/If' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Gain: '/Gain' + * MATLAB Function: '/Coolant temp threshold' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + if (10 * rtDW.ECT <= g_ssAMBFILT_WATER) { + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)AMB_RAW - rtDW.AMB_store) > 0.01) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/AMBraw > AMB' + * UnaryMinus: '/Unary Minus' + */ + if (AMB_RAW > rtDW.AMB_store) { + rtb_Switch2_nb = rtb_DataTypeConversion1_gy; + } else { + rtb_Switch2_nb = (int16_t)-center_percent; + } + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' + */ + rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double) + rtb_Switch2_nb; + } + + /* End of Switch: '/Switch1' */ + } else if (rtDW.VehicleSpeed != 0) { + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Write new AMB' + * Switch: '/Switch' + */ + rtDW.AMB_store = rtb_Divide1_jg; + } + + /* End of Switch: '/Switch' */ + + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Write new AMB' + */ + rtb_Add_p4 = rtDW.AMB_store; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read15' + */ + rtDW.UnitDelay_DSTATE_c = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ òåìïåðàòóðû' */ + } else { + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ òåìïåðàòóðû' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.AMB_store = AMB_RAW; + + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtb_Add_p4 = rtDW.AMB_store; + + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ òåìïåðàòóðû' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.AMB = (int16_t)floor(rtb_Add_p4); + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_k); + + /* MATLAB Function: '/filter sensor' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read44' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + filtersensor(4.01575 * (double) + rtDW.CCUCAN_BCM_Climatic_model.SolarSensLeftVal_ro, + rtb_RelationalOperator6_f, rtDW.t_now, rtDW.LEVEL, + &rtb_duct_select_index_dbg_c, &rtDW.sf_filtersensor); + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.Sun_L = rtb_duct_select_index_dbg_c; + + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_Divide1_jg = (0.5 * (double) + rtDW.CCUCAN_BCM_Climatic_model.WindshieldTemp_ro - 40.0) * + 10.0; + + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_Divide3 = 0.5 * (double) + rtDW.CCUCAN_BCM_Climatic_model.WindshieldHumidity_ro; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + rtDW.BCM_GloveBox_stat = rtDW.CCUCAN_BCM_Climatic_model.BCM_GloveBox_Stat; + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_p); + + /* MATLAB Function: '/filter sensor' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read44' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + filtersensor(4.01575 * (double) + rtDW.CCUCAN_BCM_Climatic_model.SolarSensRightVal_ro, + rtb_RelationalOperator6_f, rtDW.t_now, rtDW.LEVEL, + &rtb_duct_select_index_dbg_c, &rtDW.sf_filtersensor_a); + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.Sun_R = rtb_duct_select_index_dbg_c; + + /* Bias: '/Bias' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.ECT = (int16_t)(rtDW.CCUCAN_EMS_Veh_model.EMS_EngCoolTemp_Val_ro - 40); + + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Engine_speed = 0.25 * (double) + rtDW.CCUCAN_EMS_Veh_model.EMS_nICEngineSpeed3_Val_ro; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write2' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtDW.VehicleSpeed = (uint16_t)(0.01 * (double) + rtDW.CCUCAN_ESC_04_model.ESC_VehicleSpeed_ro); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtDW.BCM_T15_Stat = rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T15_Stat; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + rtDW.eCompChiller_Req = rtDW.CCUCAN_EMS_HVC_REQ_MSG_MODEL.EMS_eCompChiller_Req; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + rtDW.SeatOccupiedRL = rtDW.CCUCAN_OCURL_MSG_model.OCURL_SeatOccupied_Stat; + + /* Outputs for Enabled SubSystem: '/Subsystem45' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read11' */ + if (rtDW.FIU_CCU3_MODEL.FIU_Defrost_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.CCU_Defrost = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_Defrost_Req <= 1); + } + + /* End of Outputs for SubSystem: '/Subsystem45' */ + + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU3_MODEL.FIU_RLfootBlowDis_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_foot_blower_dis_RL = (uint8_t) + (rtDW.FIU_CCU3_MODEL.FIU_RLfootBlowDis_Req <= 1); + } + + /* End of Outputs for SubSystem: '/Subsystem5' */ + + /* Outputs for Enabled SubSystem: '/Subsystem51' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU3_MODEL.FIU_Aroma_Req > 0) { + /* DataStoreWrite: '/Data Store Write13' */ + rtDW.CCU_Aroma = rtDW.FIU_CCU3_MODEL.FIU_Aroma_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem51' */ + + /* Outputs for Enabled SubSystem: '/Subsystem52' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU3_MODEL.FIU_Ionization_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_Ionization = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_Ionization_Req <= 1); + } + + /* End of Outputs for SubSystem: '/Subsystem52' */ + + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU3_MODEL.FIU_RRfootBlowDis_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_foot_blower_dis_RR = (uint8_t) + (rtDW.FIU_CCU3_MODEL.FIU_RRfootBlowDis_Req <= 1); + } + + /* End of Outputs for SubSystem: '/Subsystem6' */ + + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU3_MODEL.FIU_AromaIntens_Req > 0) { + /* DataStoreWrite: '/Data Store Write13' */ + rtDW.CCU_AromaIntens_stat = rtDW.FIU_CCU3_MODEL.FIU_AromaIntens_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem7' */ + + /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU3_MODEL.FIU_ACmax_Req > 0) { + /* DataStoreWrite: '/Data Store Write' */ + rtDW.CCU_AC_MAX = rtDW.FIU_CCU3_MODEL.FIU_ACmax_Req; + } + + /* End of DataStoreRead: '/Data Store Read11' */ + /* End of Outputs for SubSystem: '/Subsystem9' */ + + /* Outputs for Enabled SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read1' incorporates: + * Switch: '/Switch' + * Switch: '/Switch' + */ + if (rtDW.BCM_T15_Stat > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * Switch: '/Switch' + * Switch: '/Switch' + */ + if (rtDW.EAC_OR_FIRE_is_active) { + rtb_DataTypeConversion1_gy = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_TargetTempFL_Val_ro; + center_percent = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FootTempCorFL_Req; + rtb_Merge_c5 = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_TargetTempFR_Val_ro; + rtb_Merge_m4 = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FootTempCorFR_Req; + rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req; + rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Def_Req; + rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Face_Req; + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Foot_Req; + rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFR_Req; + rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Def_Req; + rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Face_Req; + min_center_L = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Foot_Req; + max_center_L = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFL_Req; + min_center_R = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFR_Req; + max_center_R = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCautoModeFL_Req; + min_foot_L = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCautoModeFR_Req; + max_foot_L = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_Recirculation_Req; + min_foot_R = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwDL_Req; + max_foot_R = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwDR_Req; + rtb_Switch_f_FIU_ACfrontOFF_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_ACfrontOFF_Req; + rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwFPL_Req; + rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwFPR_Req; + rtb_Switch_f_FIU_FrontZoneSync_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FrontZoneSync_Req; + } else if (rtDW.Max_AC_algo_active) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + */ + rtb_DataTypeConversion1_gy = rtDW.FIU_CCU1_MaxAC.FIU_TargetTempFL_Val_ro; + center_percent = rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFL_Req; + rtb_Merge_c5 = rtDW.FIU_CCU1_MaxAC.FIU_TargetTempFR_Val_ro; + rtb_Merge_m4 = rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFR_Req; + rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFL_Req; + rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Def_Req; + rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Face_Req; + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Foot_Req; + rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFR_Req; + rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Def_Req; + rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Face_Req; + min_center_L = rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Foot_Req; + max_center_L = rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFL_Req; + min_center_R = rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFR_Req; + max_center_R = rtDW.FIU_CCU1_MaxAC.FIU_CCautoModeFL_Req; + min_foot_L = rtDW.FIU_CCU1_MaxAC.FIU_CCautoModeFR_Req; + max_foot_L = rtDW.FIU_CCU1_MaxAC.FIU_Recirculation_Req; + min_foot_R = rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDL_Req; + max_foot_R = rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDR_Req; + rtb_Switch_f_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MaxAC.FIU_ACfrontOFF_Req; + rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPL_Req; + rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPR_Req; + rtb_Switch_f_FIU_FrontZoneSync_Req = + rtDW.FIU_CCU1_MaxAC.FIU_FrontZoneSync_Req; + } else if (rtDW.Max_def_algo_active) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + * Switch: '/Switch' + */ + rtb_DataTypeConversion1_gy = rtDW.FIU_CCU1_MaxDef.FIU_TargetTempFL_Val_ro; + center_percent = rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFL_Req; + rtb_Merge_c5 = rtDW.FIU_CCU1_MaxDef.FIU_TargetTempFR_Val_ro; + rtb_Merge_m4 = rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFR_Req; + rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req; + rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Def_Req; + rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req; + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Foot_Req; + rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req; + rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Def_Req; + rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req; + min_center_L = rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Foot_Req; + max_center_L = rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req; + min_center_R = rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req; + max_center_R = rtDW.FIU_CCU1_MaxDef.FIU_CCautoModeFL_Req; + min_foot_L = rtDW.FIU_CCU1_MaxDef.FIU_CCautoModeFR_Req; + max_foot_L = rtDW.FIU_CCU1_MaxDef.FIU_Recirculation_Req; + min_foot_R = rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDL_Req; + max_foot_R = rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDR_Req; + rtb_Switch_f_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MaxDef.FIU_ACfrontOFF_Req; + rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPL_Req; + rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPR_Req; + rtb_Switch_f_FIU_FrontZoneSync_Req = + rtDW.FIU_CCU1_MaxDef.FIU_FrontZoneSync_Req; + } else { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch' + * Switch: '/Switch' + */ + rtb_DataTypeConversion1_gy = rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro; + center_percent = rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req; + rtb_Merge_c5 = rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro; + rtb_Merge_m4 = rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req; + rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req; + rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req; + rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req; + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req; + rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req; + rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req; + rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req; + min_center_L = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req; + max_center_L = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; + min_center_R = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; + max_center_R = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; + min_foot_L = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; + max_foot_L = rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req; + min_foot_R = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req; + max_foot_R = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req; + rtb_Switch_f_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req; + rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req; + rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req; + rtb_Switch_f_FIU_FrontZoneSync_Req = + rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req; + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: + * EnablePort: '/Enable' + */ + if (center_percent > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write4' + */ + rtDW.CCU_FootTempCorr_FL = (uint8_t)(center_percent - 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem' */ + + /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_CCmodeFL_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write6' + */ + rtDW.CCU_MODE_FL = (uint8_t)(rtb_Switch_f_FIU_CCmodeFL_Req > 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* If: '/If' incorporates: + * Constant: '/Constant2' + * DataStoreWrite: '/Data Store Write6' + * RelationalOperator: '/Relational Operator1' + */ + if (rtDW.CCU_MODE_FL == 1) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_RECIRC = 2U; + + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } + + /* End of If: '/If' */ + } + + /* End of Outputs for SubSystem: '/Subsystem1' */ + + /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_CCmodeFR_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.CCU_MODE_FR = (uint8_t)(rtb_Switch_f_FIU_CCmodeFR_Req > 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem10' */ + + /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFR_Def_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_DEF_FL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFR_Def_Req <= 1); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem11' */ + + /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFR_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.CCU_FACE_FR = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFR_Face_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem12' */ + + /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: + * EnablePort: '/Enable' + */ + if (min_center_L > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_FOOT_FR = (uint8_t)(min_center_L <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem13' */ + + /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: + * EnablePort: '/Enable' + */ + if (max_center_L > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write14' + */ + if (max_center_L > 7) { + rtDW.CCU_BLOWERS_FL = 0U; + } else { + rtDW.CCU_BLOWERS_FL = max_center_L; + } + + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem14' */ + + /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: + * EnablePort: '/Enable' + */ + if (min_center_R > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write15' + */ + if (min_center_R > 7) { + rtDW.CCU_BLOWERS_FR = 0U; + } else { + rtDW.CCU_BLOWERS_FR = min_center_R; + } + + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem15' */ + + /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: + * EnablePort: '/Enable' + */ + if (max_center_R > 0) { + /* Saturate: '/Saturation' */ + if (max_center_R <= 5) { + rtDW.CCU_AUTOMODE_FL = max_center_R; + } else { + rtDW.CCU_AUTOMODE_FL = 5U; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem16' */ + + /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: + * EnablePort: '/Enable' + */ + if (min_foot_L > 0) { + /* Saturate: '/Saturation' */ + if (min_foot_L <= 5) { + rtDW.CCU_AUTOMODE_FR = min_foot_L; + } else { + rtDW.CCU_AUTOMODE_FR = 5U; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem17' */ + + /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: + * EnablePort: '/Enable' + */ + if (max_foot_L > 0) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreWrite: '/Data Store Write19' + */ + switch (max_foot_L) { + case 1: + rtDW.CCU_RECIRC = 1U; + break; + + case 2: + rtDW.CCU_RECIRC = 0U; + break; + + default: + rtDW.CCU_RECIRC = 2U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant3' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem18' */ + + /* Outputs for Enabled SubSystem: '/Subsystem19' incorporates: + * EnablePort: '/Enable' + */ + if (min_foot_R > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write1' + */ + if (min_foot_R > 3) { + rtDW.DRS_SFL = 0U; + } else { + rtDW.DRS_SFL = min_foot_R; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem19' */ + + /* Outputs for Enabled SubSystem: '/Subsystem20' incorporates: + * EnablePort: '/Enable' + */ + if (max_foot_R > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write1' + */ + if (max_foot_R > 3) { + rtDW.DRS_SFR = 0U; + } else { + rtDW.DRS_SFR = max_foot_R; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem20' */ + + /* Outputs for Enabled SubSystem: '/Subsystem21' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_ACfrontOFF_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write22' + */ + rtDW.CCU_AC_FRONT = (uint8_t)(rtb_Switch_f_FIU_ACfrontOFF_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem21' */ + + /* Outputs for Enabled SubSystem: '/Subsystem22' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_DeflectorSwFPL_Req > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write23' + */ + if (rtb_Switch_f_FIU_DeflectorSwFPL_Req > 3) { + rtDW.DRS_CFL = 0U; + } else { + rtDW.DRS_CFL = rtb_Switch_f_FIU_DeflectorSwFPL_Req; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem22' */ + + /* Outputs for Enabled SubSystem: '/Subsystem23' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_DeflectorSwFPR_Req > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write24' + */ + if (rtb_Switch_f_FIU_DeflectorSwFPR_Req > 3) { + rtDW.DRS_CFR = 0U; + } else { + rtDW.DRS_CFR = rtb_Switch_f_FIU_DeflectorSwFPR_Req; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem23' */ + + /* Outputs for Enabled SubSystem: '/Subsystem24' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_FrontZoneSync_Req > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* If: '/If' */ + if (rtb_Switch_f_FIU_FrontZoneSync_Req == 1) { + /* Outputs for IfAction SubSystem: '/sync front action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.enable_front_sync = 1U; + + /* End of Outputs for SubSystem: '/sync front action' */ + } else if (rtb_Switch_f_FIU_FrontZoneSync_Req == 2) { + /* Outputs for IfAction SubSystem: '/full sync action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.enable_full_sync = 1U; + + /* End of Outputs for SubSystem: '/full sync action' */ + } else if (rtb_Switch_f_FIU_FrontZoneSync_Req == 3) { + /* Outputs for IfAction SubSystem: '/sync off action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.disable_front_sync = 1U; + + /* End of Outputs for SubSystem: '/sync off action' */ + } + + /* End of If: '/If' */ + } + + /* End of Outputs for SubSystem: '/Subsystem24' */ + + /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Merge_m4 > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.CCU_SET_FOOT_FR = (uint8_t)(rtb_Merge_m4 - 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem4' */ + + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_DataTypeConversion1_gy > 0) { + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_duct_select_index_dbg_c = (0.5 * (double)rtb_DataTypeConversion1_gy + + 15.5) * 10.0; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_duct_select_index_dbg_c > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 300U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = (uint16_t)rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem5' */ + + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Merge_c5 > 0) { + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_duct_select_index_dbg_c = (0.5 * (double)rtb_Merge_c5 + 15.5) * 10.0; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_duct_select_index_dbg_c > 300) { + rtDW.CCU_SET_FR = 300U; + } else { + rtDW.CCU_SET_FR = (uint16_t)rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem6' */ + + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFL_Def_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_DEF_FR = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_Def_Req <= 1); + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_DEF_FL = rtDW.CCU_DEF_FR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem7' */ + + /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFL_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write8' + */ + rtDW.CCU_FACE_FL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_Face_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem8' */ + + /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFL_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write9' + */ + rtDW.CCU_FOOT_FL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_Foot_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem9' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * Switch: '/Switch' + */ + rtb_RelationalOperator6_f = (rtDW.TM_CP_model.CCPF_DefButton_Stat > 0); + + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_e = ((int32_t)rtb_RelationalOperator6_f > (int32_t) + rtDW.DelayInput1_DSTATE_m); + + /* Chart: '/Defrost_Active' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read7' + */ + if (rtDW.is_active_c837_HVAC_model == 0U) { + rtDW.is_active_c837_HVAC_model = 1U; + rtDW.is_c837_HVAC_model = IN_REC_OFF; + + /* : Defrost_Active = 0; */ + rtb_DataTypeConversion1_gy = 0U; + } else if (rtDW.is_c837_HVAC_model == IN_REC_OFF) { + rtb_DataTypeConversion1_gy = 0U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || Defrost == 1; */ + if (rtb_Compare_e || (rtDW.CCU_Defrost == 1)) { + rtDW.is_c837_HVAC_model = IN_REC_ON; + + /* : Defrost_Active = 1; */ + rtb_DataTypeConversion1_gy = 1U; + } + } else { + /* case IN_REC_ON: */ + rtb_DataTypeConversion1_gy = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || Defrost == 0 || max_AC == 1; */ + if (rtb_Compare_e || (rtDW.CCU_Defrost == 0) || (rtDW.CCU_AC_MAX == 1)) { + rtDW.is_c837_HVAC_model = IN_REC_OFF; + + /* : Defrost_Active = 0; */ + rtb_DataTypeConversion1_gy = 0U; + } + } + + /* End of Chart: '/Defrost_Active' */ + + /* DataStoreWrite: '/(MAX DEFrost mode request)' */ + rtDW.CCU_Defrost = rtb_DataTypeConversion1_gy; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + rtDW.CCPF_RecButton_Stat = rtDW.TM_CP_model.CCPF_RecButton_Stat; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_e = (rtDW.TM_CP_model.CCPF_FWindowHeatSw_Stat > 0); + + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_de = ((int32_t)rtb_Compare_e > (int32_t) + rtDW.DelayInput1_DSTATE_g); + + /* Chart: '/Front Window Heating' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + if (rtDW.is_active_c262_HVAC_model == 0U) { + rtDW.is_active_c262_HVAC_model = 1U; + rtDW.is_c262_HVAC_model = IN_REC_OFF; + + /* : Front_w_heating_out = 0; */ + rtDW.FrontWindowHeating_manual_on = 0U; + } else if (rtDW.is_c262_HVAC_model == IN_REC_OFF) { + rtDW.FrontWindowHeating_manual_on = 0U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1; */ + if (rtb_Compare_de) { + rtDW.is_c262_HVAC_model = IN_REC_ON; + + /* : Front_w_heating_out = 1; */ + rtDW.FrontWindowHeating_manual_on = 1U; + } + } else { + /* case IN_REC_ON: */ + rtDW.FrontWindowHeating_manual_on = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1; */ + if (rtb_Compare_de) { + rtDW.is_c262_HVAC_model = IN_REC_OFF; + + /* : Front_w_heating_out = 0; */ + rtDW.FrontWindowHeating_manual_on = 0U; + } + } + + /* End of Chart: '/Front Window Heating' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_de = (rtDW.TM_CP_model.CCPF_AcMaxButton_Stat > 0); + + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_dw = ((int32_t)rtb_Compare_de > (int32_t) + rtDW.DelayInput1_DSTATE_c); + + /* Chart: '/AC_Max_Active' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read3' + */ + if (rtDW.is_active_c782_HVAC_model == 0U) { + rtDW.is_active_c782_HVAC_model = 1U; + + /* : sf_internal_predicateOutput = AC_MAX==1; */ + if (rtDW.CCU_AC_MAX == 1) { + rtDW.is_c782_HVAC_model = IN_AC_MAX_ON; + + /* : AC_Max_Active = 1; */ + rtb_DataTypeConversion1_gy = 1U; + } else { + rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; + + /* : AC_Max_Active = 0; */ + rtb_DataTypeConversion1_gy = 0U; + } + } else if (rtDW.is_c782_HVAC_model == IN_AC_MAX_OFF) { + rtb_DataTypeConversion1_gy = 0U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || AC_MAX==1; */ + if (rtb_Compare_dw || (rtDW.CCU_AC_MAX == 1)) { + rtDW.is_c782_HVAC_model = IN_AC_MAX_ON; + + /* : AC_Max_Active = 1; */ + rtb_DataTypeConversion1_gy = 1U; + } + } else { + /* case IN_AC_MAX_ON: */ + rtb_DataTypeConversion1_gy = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || AC_MAX==0 || max_Def == 1; */ + if (rtb_Compare_dw || (rtDW.CCU_AC_MAX == 0) || (rtDW.CCU_Defrost == 1)) { + rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; + + /* : AC_Max_Active = 0; */ + rtb_DataTypeConversion1_gy = 0U; + } + } + + /* End of Chart: '/AC_Max_Active' */ + + /* DataStoreWrite: '/Data Store Write10' */ + rtDW.CCU_AC_MAX = rtb_DataTypeConversion1_gy; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_dw = (rtDW.TM_CP_model.CCPF_RecButton_Stat > 0); + + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_pm = ((int32_t)rtb_Compare_dw > (int32_t) + rtDW.DelayInput1_DSTATE_ic); + + /* Chart: '/Full_Rec_Active' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + if (rtDW.is_active_c836_HVAC_model == 0U) { + rtDW.is_active_c836_HVAC_model = 1U; + rtDW.is_c836_HVAC_model = IN_REC_OFF; + + /* : Full_Rec_Active = 0; */ + rtb_DataTypeConversion1_gy = 0U; + } else if (rtDW.is_c836_HVAC_model == IN_REC_OFF) { + rtb_DataTypeConversion1_gy = 0U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || Full_Rec==1; */ + if (rtb_Compare_pm || (rtDW.Full_Rec == 1)) { + rtDW.is_c836_HVAC_model = IN_REC_ON; + + /* : Full_Rec_Active = 1; */ + rtb_DataTypeConversion1_gy = 1U; + } + } else { + /* case IN_REC_ON: */ + rtb_DataTypeConversion1_gy = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || Full_Rec==0; */ + if (rtb_Compare_pm || (rtDW.Full_Rec == 0)) { + rtDW.is_c836_HVAC_model = IN_REC_OFF; + + /* : Full_Rec_Active = 0; */ + rtb_DataTypeConversion1_gy = 0U; + } + } + + /* End of Chart: '/Full_Rec_Active' */ + + /* DataStoreWrite: '/Data Store Write9' */ + rtDW.Full_Rec = rtb_DataTypeConversion1_gy; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_pm = (rtDW.TM_CP_model.CCPF_AutoButtonL_Stat > 0); + + /* If: '/If' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_pm > (int32_t)rtDW.DelayInput1_DSTATE_n) { + /* Outputs for IfAction SubSystem: '/if action' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_MODE_FL = (uint8_t)(rtDW.CCU_MODE_FL == 0); + + /* End of Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action' */ + } + + /* End of If: '/If' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_le = (rtDW.TM_CP_model.CCPF_AutoButtonR_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_le > (int32_t)rtDW.DelayInput1_DSTATE_my) { + /* Outputs for IfAction SubSystem: '/if action1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_MODE_FR = (uint8_t)(rtDW.CCU_MODE_FR == 0); + + /* End of Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action1' */ + } + + /* End of If: '/If1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_a = (rtDW.TM_CP_model.CCPR_AutoButtonL_Stat > 0); + + /* If: '/If2' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_a > (int32_t)rtDW.DelayInput1_DSTATE_a) { + /* Outputs for IfAction SubSystem: '/if action2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_MODE_RL = (uint8_t)(rtDW.CCU_MODE_RL == 0); + + /* End of Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action2' */ + } + + /* End of If: '/If2' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_ds = (rtDW.TM_CP_model.CCPR_AutoButtonR_Stat > 0); + + /* If: '/If4' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_ds > (int32_t)rtDW.DelayInput1_DSTATE_o) { + /* Outputs for IfAction SubSystem: '/if action4' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_MODE_RR = (uint8_t)(rtDW.CCU_MODE_RR == 0); + + /* End of Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action4' */ + } + + /* End of If: '/If4' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_ls = (rtDW.TM_CP_model.CCPF_TempToggleL_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_ls > (int32_t)rtDW.DelayInput1_DSTATE_od) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If5' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + if ((rtDW.TM_CP_model.CCPF_TempToggleL_Stat == 1) || + (rtDW.TM_CP_model.CCPF_TempToggleL_Stat == 3)) { + /* Outputs for IfAction SubSystem: '/temp up' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Add' + */ + if ((uint16_t)(rtDW.CCU_SET_FL + 5U) > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 300U; + } else if ((uint16_t)(rtDW.CCU_SET_FL + 5U) < 160) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 160U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL + 5U); + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCU_SET_FL < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FL > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp up' */ + } else { + /* Outputs for IfAction SubSystem: '/temp down' incorporates: + * ActionPort: '/Action Port' + */ + if ((uint16_t)(rtDW.CCU_SET_FL - 5) > 300) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation' + */ + rtDW.CCU_SET_FL = 300U; + } else if ((uint16_t)(rtDW.CCU_SET_FL - 5) < 160) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation' + */ + rtDW.CCU_SET_FL = 160U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL - 5); + } + + /* If: '/If' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + if (rtDW.CCU_SET_FL < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FL > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp down' */ + } + + /* End of If: '/If5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } + + /* End of If: '/If1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_bt = (rtDW.TM_CP_model.CCPF_TempToggleR_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_bt > (int32_t)rtDW.DelayInput1_DSTATE_j) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + + /* If: '/If5' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + if ((rtDW.TM_CP_model.CCPF_TempToggleR_Stat == 1) || + (rtDW.TM_CP_model.CCPF_TempToggleR_Stat == 3)) { + /* Outputs for IfAction SubSystem: '/temp up' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Add' + */ + if ((uint16_t)(rtDW.CCU_SET_FR + 5U) > 300) { + rtDW.CCU_SET_FR = 300U; + } else if ((uint16_t)(rtDW.CCU_SET_FR + 5U) < 160) { + rtDW.CCU_SET_FR = 160U; + } else { + rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR + 5U); + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCU_SET_FR < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FR > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp up' */ + } else { + /* Outputs for IfAction SubSystem: '/temp down' incorporates: + * ActionPort: '/Action Port' + */ + if ((uint16_t)(rtDW.CCU_SET_FR - 5) > 300) { + /* Saturate: '/Saturation' */ + rtDW.CCU_SET_FR = 300U; + } else if ((uint16_t)(rtDW.CCU_SET_FR - 5) < 160) { + /* Saturate: '/Saturation' */ + rtDW.CCU_SET_FR = 160U; + } else { + /* Saturate: '/Saturation' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Sum' + */ + rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR - 5); + } + + /* If: '/If' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + if (rtDW.CCU_SET_FR < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FR > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp down' */ + } + + /* End of If: '/If5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } + + /* End of If: '/If1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_dq = (rtDW.TM_CP_model.CCPR_TempToggleL_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_dq > (int32_t)rtDW.DelayInput1_DSTATE_f3) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + + /* If: '/If5' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + if ((rtDW.TM_CP_model.CCPR_TempToggleL_Stat == 1) || + (rtDW.TM_CP_model.CCPR_TempToggleL_Stat == 3)) { + /* Outputs for IfAction SubSystem: '/temp up' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Add' + */ + if ((uint16_t)(rtDW.CCU_SET_RL + 5U) > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 300U; + } else if ((uint16_t)(rtDW.CCU_SET_RL + 5U) < 160) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 160U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL + 5U); + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCU_SET_RL < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RL > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp up' */ + } else { + /* Outputs for IfAction SubSystem: '/temp down' incorporates: + * ActionPort: '/Action Port' + */ + if ((uint16_t)(rtDW.CCU_SET_RL - 5) > 300) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation' + */ + rtDW.CCU_SET_RL = 300U; + } else if ((uint16_t)(rtDW.CCU_SET_RL - 5) < 160) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation' + */ + rtDW.CCU_SET_RL = 160U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL - 5); + } + + /* If: '/If' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + if (rtDW.CCU_SET_RL < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RL > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp down' */ + } + + /* End of If: '/If5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } + + /* End of If: '/If1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_i4 = (rtDW.TM_CP_model.CCPR_TempToggleR_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_i4 > (int32_t)rtDW.DelayInput1_DSTATE_kz) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + + /* If: '/If5' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + if ((rtDW.TM_CP_model.CCPR_TempToggleR_Stat == 1) || + (rtDW.TM_CP_model.CCPR_TempToggleR_Stat == 3)) { + /* Outputs for IfAction SubSystem: '/temp up' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Add' + */ + if ((uint16_t)(rtDW.CCU_SET_RR + 5U) > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 300U; + } else if ((uint16_t)(rtDW.CCU_SET_RR + 5U) < 160) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 160U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR + 5U); + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCU_SET_RR < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RR > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp up' */ + } else { + /* Outputs for IfAction SubSystem: '/temp down' incorporates: + * ActionPort: '/Action Port' + */ + if ((uint16_t)(rtDW.CCU_SET_RR - 5) > 300) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation' + */ + rtDW.CCU_SET_RR = 300U; + } else if ((uint16_t)(rtDW.CCU_SET_RR - 5) < 160) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation' + */ + rtDW.CCU_SET_RR = 160U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR - 5); + } + + /* If: '/If' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * Saturate: '/Saturation' + * Sum: '/Sum' + */ + if (rtDW.CCU_SET_RR < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RR > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp down' */ + } + + /* End of If: '/If5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } + + /* End of If: '/If1' */ + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + */ + if (rtDW.EAC_OR_FIRE_is_active) { + rtb_DataTypeConversion1_gy = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_TargetTempRL_Val_ro; + center_percent = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_FootTempCorRL_Req; + rtb_Merge_c5 = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_TargetTempRR_Val_ro; + rtb_Merge_m4 = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_FootTempCorRR_Req; + rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRL_Req; + rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Def_Req; + rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Face_Req; + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Foot_Req; + rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRR_Req; + rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Def_Req; + rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Face_Req; + min_center_L = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Foot_Req; + max_center_L = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRL_Req; + min_center_R = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRR_Req; + max_center_R = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCautoModeRL_Req; + min_foot_L = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCautoModeRR_Req; + max_foot_L = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwRLB_Req; + min_foot_R = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwFCL_Req; + max_foot_R = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_ACrearOFF_Req; + rtb_Switch_f_FIU_ACfrontOFF_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwFCR_Req; + rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwRRB_Req; + rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_RearZoneSync_Req; + } else { + rtb_DataTypeConversion1_gy = rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro; + center_percent = rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req; + rtb_Merge_c5 = rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro; + rtb_Merge_m4 = rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRR_Req; + rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req; + rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Def_Req; + rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req; + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req; + rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req; + rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Def_Req; + rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req; + min_center_L = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req; + max_center_L = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; + min_center_R = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; + max_center_R = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; + min_foot_L = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; + max_foot_L = rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRLB_Req; + min_foot_R = rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCL_Req; + max_foot_R = rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req; + rtb_Switch_f_FIU_ACfrontOFF_Req = + rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCR_Req; + rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRRB_Req; + rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req; + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_DataTypeConversion1_gy > 0) { + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_duct_select_index_dbg_c = (0.5 * (double)rtb_DataTypeConversion1_gy + + 15.5) * 10.0; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_duct_select_index_dbg_c > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 300U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = (uint16_t)rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem2' */ + + /* Outputs for Enabled SubSystem: '/Subsystem25' incorporates: + * EnablePort: '/Enable' + */ + if (center_percent > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_SET_FOOT_RL = (uint8_t)(center_percent - 1); + } + + /* End of Outputs for SubSystem: '/Subsystem25' */ + + /* Outputs for Enabled SubSystem: '/Subsystem26' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Merge_m4 > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_SET_FOOT_RR = (uint8_t)(rtb_Merge_m4 - 1); + } + + /* End of Outputs for SubSystem: '/Subsystem26' */ + + /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_CCmodeFL_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_MODE_RL = (uint8_t)(rtb_Switch_f_FIU_CCmodeFL_Req > 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem27' */ + + /* Outputs for Enabled SubSystem: '/Subsystem28' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFL_Def_Req > 0) { + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem28' */ + + /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFL_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FACE_RL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_Face_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem29' */ + + /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Merge_c5 > 0) { + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_duct_select_index_dbg_c = (0.5 * (double)rtb_Merge_c5 + 15.5) * 10.0; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_duct_select_index_dbg_c > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 300U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = (uint16_t)rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem3' */ + + /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFL_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FOOT_RL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_Foot_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem30' */ + + /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_CCmodeFR_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_MODE_RR = (uint8_t)(rtb_Switch_f_FIU_CCmodeFR_Req > 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem31' */ + + /* Outputs for Enabled SubSystem: '/Subsystem32' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFR_Def_Req > 0) { + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem32' */ + + /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_AirDirectionFR_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FACE_RR = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFR_Face_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem33' */ + + /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: + * EnablePort: '/Enable' + */ + if (min_center_L > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FOOT_RR = (uint8_t)(min_center_L <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem34' */ + + /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: + * EnablePort: '/Enable' + */ + if (max_center_L > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write1' + */ + if (max_center_L > 7) { + rtDW.CCU_BLOWERS_RL = 0U; + } else { + rtDW.CCU_BLOWERS_RL = max_center_L; + } + + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem35' */ + + /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: + * EnablePort: '/Enable' + */ + if (min_center_R > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write1' + */ + if (min_center_R > 7) { + rtDW.CCU_BLOWERS_RR = 0U; + } else { + rtDW.CCU_BLOWERS_RR = min_center_R; + } + + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem36' */ + + /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: + * EnablePort: '/Enable' + */ + if (max_center_R > 0) { + /* Saturate: '/Saturation' */ + if (max_center_R <= 5) { + rtDW.CCU_AUTOMODE_RL = max_center_R; + } else { + rtDW.CCU_AUTOMODE_RL = 5U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of Outputs for SubSystem: '/Subsystem37' */ + + /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: + * EnablePort: '/Enable' + */ + if (min_foot_L > 0) { + /* Saturate: '/Saturation' */ + if (min_foot_L <= 5) { + rtDW.CCU_AUTOMODE_RR = min_foot_L; + } else { + rtDW.CCU_AUTOMODE_RR = 5U; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem38' */ + + /* Outputs for Enabled SubSystem: '/Subsystem39' incorporates: + * EnablePort: '/Enable' + */ + if (max_foot_L > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write1' + */ + if (max_foot_L > 3) { + rtDW.DRS_SRL = 0U; + } else { + rtDW.DRS_SRL = max_foot_L; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem39' */ + + /* Outputs for Enabled SubSystem: '/Subsystem40' incorporates: + * EnablePort: '/Enable' + */ + if (min_foot_R > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write1' + */ + if (min_foot_R > 3) { + rtDW.DRS_CRL = 0U; + } else { + rtDW.DRS_CRL = min_foot_R; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem40' */ + + /* Outputs for Enabled SubSystem: '/Subsystem41' incorporates: + * EnablePort: '/Enable' + */ + if (max_foot_R > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_AC_REAR = (uint8_t)(max_foot_R <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem41' */ + + /* Outputs for Enabled SubSystem: '/Subsystem42' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_ACfrontOFF_Req > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtb_Switch_f_FIU_ACfrontOFF_Req > 3) { + rtDW.DRS_CRR = 0U; + } else { + rtDW.DRS_CRR = rtb_Switch_f_FIU_ACfrontOFF_Req; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem42' */ + + /* Outputs for Enabled SubSystem: '/Subsystem43' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_DeflectorSwFPL_Req > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtb_Switch_f_FIU_DeflectorSwFPL_Req > 3) { + rtDW.DRS_SRR = 0U; + } else { + rtDW.DRS_SRR = rtb_Switch_f_FIU_DeflectorSwFPL_Req; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem43' */ + + /* Outputs for Enabled SubSystem: '/Subsystem44' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_f_FIU_DeflectorSwFPR_Req > 0) { + /* If: '/If' */ + if (rtb_Switch_f_FIU_DeflectorSwFPR_Req == 1) { + /* Outputs for IfAction SubSystem: '/sync rear action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.enable_rear_sync = 1U; + + /* MATLAB Function: '/logger' */ + /* : fprintf('Logger CAN INPUT -> sync rear ON') */ + printf("Logger CAN INPUT -> sync rear ON"); + fflush(stdout); + + /* End of Outputs for SubSystem: '/sync rear action' */ + } else if (rtb_Switch_f_FIU_DeflectorSwFPR_Req == 2) { + /* Outputs for IfAction SubSystem: '/sync off rear action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.disable_rear_sync = 1U; + + /* MATLAB Function: '/logger' */ + /* : fprintf('Logger CAN INPUT -> sync rear OFF') */ + printf("Logger CAN INPUT -> sync rear OFF"); + fflush(stdout); + + /* End of Outputs for SubSystem: '/sync off rear action' */ + } + + /* End of If: '/If' */ + } + + /* End of Outputs for SubSystem: '/Subsystem44' */ + + /* Update for UnitDelay: '/Delay Input1' incorporates: + * Switch: '/Switch' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_m = rtb_RelationalOperator6_f; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_g = rtb_Compare_e; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_c = rtb_Compare_de; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_ic = rtb_Compare_dw; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_n = rtb_Compare_pm; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_my = rtb_Compare_le; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_a = rtb_Compare_a; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_o = rtb_Compare_ds; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_od = rtb_Compare_ls; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_j = rtb_Compare_bt; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_f3 = rtb_Compare_dq; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_kz = rtb_Compare_i4; + } + + /* End of DataStoreRead: '/Data Store Read1' */ + /* End of Outputs for SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' */ + + /* Outputs for Enabled SubSystem: '/Sleep_mode' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read13' */ + if (rtDW.sleep_model > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_MODE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFL_Stat; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_MODE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFR_Stat; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FACE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Face_Stat; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FOOT_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Foot_Stat; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_DEF_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Def_Stat; + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FACE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Face_Stat; + + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FOOT_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Foot_Stat; + + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_DEF_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Def_Stat; + + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FACE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Face_Stat; + + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FOOT_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Foot_Stat; + + /* DataStoreWrite: '/Data Store Write18' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_RECIRC = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_Recirculation_Stat; + + /* DataStoreWrite: '/Data Store Write19' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_BLOWERS_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedFL_Stat; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_MODE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeRL_Stat; + + /* DataStoreWrite: '/Data Store Write21' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_BLOWERS_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedFR_Stat; + + /* DataStoreWrite: '/Data Store Write23' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_BLOWERS_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedRL_Stat; + + /* DataStoreWrite: '/Data Store Write25' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_BLOWERS_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedRR_Stat; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_MODE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeRR_Stat; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_AUTOMODE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeFL_Stat; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_AUTOMODE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeFR_Stat; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FACE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRL_Face_Stat; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FOOT_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRL_Foot_Stat; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_AUTOMODE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeRL_Stat; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_AUTOMODE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeRR_Stat; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_RL = (uint16_t)((0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRL_Stat_ro + 15.5) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_RL > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 305U; + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.CCU_SET_RL < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RL > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_RR = (uint16_t)((0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRR_Stat_ro + 15.5) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_RR > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 305U; + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.CCU_SET_RR < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RR > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_FL = (uint16_t)((0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFL_Stat_ro + 15.5) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_FL > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 305U; + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.CCU_SET_FL < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FL > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_duct_select_index_dbg_c = (0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFR_Stat_ro + 15.5) * 10.0; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_duct_select_index_dbg_c > 305) { + rtDW.CCU_SET_FR = 305U; + } else { + rtDW.CCU_SET_FR = (uint16_t)rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.CCU_SET_FR < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FR > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + + /* DataStoreWrite: '/Data Store Write27' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_FRONT_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FrontZoneSync_Stat; + + /* DataStoreWrite: '/Data Store Write28' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_REAR_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_RearZoneSync_Stat; + + /* DataStoreWrite: '/Data Store Write29' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_ALL_ZONE_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_AllZoneSync_Stat; + + /* DataStoreWrite: '/Data Store Write30' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_AC_FRONT = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_ACfront_Stat; + + /* DataStoreWrite: '/Data Store Write31' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_AC_REAR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_ACrear_Stat; + + /* DataStoreWrite: '/Data Store Write32' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_FootTempCorr_FL = + rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FootTempCorFL_Stat; + + /* DataStoreWrite: '/Data Store Write33' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_SET_FOOT_FR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FootTempCorFR_Stat; + + /* DataStoreWrite: '/Data Store Write34' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_SFL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwDL_Stat; + + /* DataStoreWrite: '/Data Store Write35' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_SFR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwDR_Stat; + + /* DataStoreWrite: '/Data Store Write36' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_CFL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFPL_Stat; + + /* DataStoreWrite: '/Data Store Write37' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_CFR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFPR_Stat; + + /* DataStoreWrite: '/Data Store Write38' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_CRL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFCL_Stat; + + /* DataStoreWrite: '/Data Store Write39' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_CRR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFCR_Stat; + + /* DataStoreWrite: '/Data Store Write40' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_SRL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwRLB_Stat; + + /* DataStoreWrite: '/Data Store Write41' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_SRR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwRRB_Stat; + + /* DataStoreWrite: '/Data Store Write42' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtDW.REST_mode_CCU_stat = rtDW.CCU_STAT3_WAKEUP_MODEL.CCU_RestMode2_Stat; + + /* DataStoreWrite: '/Data Store Write20' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + rtDW.CCU_Defrost = rtDW.CCU_Msg1_WakeUp_model.CCU_DefrostLed_Req; + + /* DataStoreWrite: '/Data Store Write22' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + rtDW.Full_Rec = rtDW.CCU_Msg1_WakeUp_model.CCU_RecirculationLed_Cmd; + + /* DataStoreWrite: '/Data Store Write24' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + rtDW.CCU_AC_MAX = rtDW.CCU_Msg1_WakeUp_model.CCU_AC_MaxLed_Cmd; + } + + /* End of DataStoreRead: '/Data Store Read13' */ + /* End of Outputs for SubSystem: '/Sleep_mode' */ + + /* Outputs for Enabled SubSystem: '/Reset values' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/NOT' incorporates: + * DataStoreRead: '/Data Store Read18' + */ + if (rtDW.BCM_T15_Stat == 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/No start control' + */ + rtDW.step_start_controle_front = -1; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/No start control' + */ + rtDW.step_start_controle_rear = -1; + } + + /* End of Logic: '/NOT' */ + /* End of Outputs for SubSystem: '/Reset values' */ + + /* Switch: '/Switch2' incorporates: + * BusCreator: '/Bus Creator' + * BusCreator: '/Bus Creator1' + * BusCreator: '/Bus Creator2' + * BusCreator: '/Bus Creator6' + * BusCreator: '/Bus Creator7' + * BusCreator: '/Bus Creator8' + * Constant: '/Constant2' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read112' + * DataStoreRead: '/Data Store Read113' + * DataStoreRead: '/Data Store Read117' + * DataStoreRead: '/Data Store Read118' + * DataStoreRead: '/Data Store Read119' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read120' + * DataStoreRead: '/Data Store Read121' + * DataStoreRead: '/Data Store Read122' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read49' + * DataStoreRead: '/Data Store Read50' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read57' + * DataStoreRead: '/Data Store Read58' + * DataStoreRead: '/Data Store Read59' + * DataStoreRead: '/Data Store Read60' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read62' + * DataStoreRead: '/Data Store Read63' + * DataStoreRead: '/Data Store Read64' + * DataStoreRead: '/Data Store Read65' + * DataStoreRead: '/Data Store Read66' + * DataStoreRead: '/Data Store Read67' + * DataStoreRead: '/Data Store Read68' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read81' + * DataStoreRead: '/Data Store Read9' + * DataStoreRead: '/Data Store Read90' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write12' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write9' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write31' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator13' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator9' + * Switch: '/Switch1' + * Switch: '/Switch3' + * Switch: '/Switch4' + * Switch: '/Switch5' + * Switch: '/Switch6' + */ + if (rtDW.BCM_T15_Stat > 0) { + rtb_DataTypeConversion1_gy = rtDW.CCU_MODE_FR; + + /* Outport: '/CCU_Stat1_model' incorporates: + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read18' + * DataStoreWrite: '/Data Store Write' + */ + rtY.CCU_Stat1_model.CCU_ModeRL_Stat = rtDW.CCU_MODE_RL; + rtY.CCU_Stat1_model.CCU_ModeRR_Stat = rtDW.CCU_MODE_RR; + center_percent = rtDW.CCU_AUTOMODE_FR; + + /* Outport: '/CCU_Stat1_model' incorporates: + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' + * DataStoreRead: '/Data Store Read21' + * DataStoreRead: '/Data Store Read22' + * DataStoreRead: '/Data Store Read23' + * DataStoreRead: '/Data Store Read24' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' + */ + rtY.CCU_Stat1_model.CCU_AirDirectionRL_Face_Stat = rtDW.CCU_FACE_RL; + rtY.CCU_Stat1_model.CCU_AirDirectionRL_Foot_Stat = rtDW.CCU_FOOT_RL; + rtY.CCU_Stat1_model.CCU_AutoModeRL_Stat = rtDW.CCU_AUTOMODE_RL; + rtY.CCU_Stat1_model.CCU_AutoModeRR_Stat = rtDW.CCU_AUTOMODE_RR; + rtY.CCU_Stat1_model.CCU_AirDirectionRR_Face_Stat = rtDW.CCU_FACE_RR; + rtY.CCU_Stat1_model.CCU_AirDirectionRR_Foot_Stat = rtDW.CCU_FOOT_RR; + rtb_Merge_c5 = rtDW.CCU_DEF_FR; + rtb_Merge_m4 = rtDW.CCU_FACE_FR; + rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.CCU_FOOT_FR; + + /* Outport: '/CCU_Stat1_model' incorporates: + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' + */ + rtY.CCU_Stat1_model.CCU_Recirculation_Stat = rtDW.CCU_RECIRC; + rtb_Switch_f_FIU_AirDirectionFL_Def_Req = rtDW.CCU_BLOWERS_FL; + + /* Saturate: '/Saturation' incorporates: + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read13' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.CCU_SET_FL > 310) { + rtb_out_mxq = 310U; + } else if (rtDW.CCU_SET_FL < 155) { + rtb_out_mxq = 155U; + } else { + rtb_out_mxq = rtDW.CCU_SET_FL; + } + + /* Outport: '/CCU_Stat1_model' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + rtY.CCU_Stat1_model.CCU_TargetTempFL_Stat_ro = (uint8_t) + ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); + rtb_Switch_f_FIU_AirDirectionFL_Face_Req = rtDW.CCU_BLOWERS_FR; + + /* Saturate: '/Saturation' incorporates: + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read14' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.CCU_SET_FR > 310) { + rtb_out_mxq = 310U; + } else if (rtDW.CCU_SET_FR < 155) { + rtb_out_mxq = 155U; + } else { + rtb_out_mxq = rtDW.CCU_SET_FR; + } + + /* Outport: '/CCU_Stat1_model' incorporates: + * Bias: '/Bias1' + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read26' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + rtY.CCU_Stat1_model.CCU_TargetTempFR_Stat_ro = (uint8_t) + ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); + rtY.CCU_Stat1_model.CCU_BlowerSpeedRL_Stat = rtDW.CCU_BLOWERS_RL; + + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read15' + */ + if (rtDW.CCU_SET_RR > 310) { + rtb_out_mxq = 310U; + } else if (rtDW.CCU_SET_RR < 155) { + rtb_out_mxq = 155U; + } else { + rtb_out_mxq = rtDW.CCU_SET_RR; + } + + /* Outport: '/CCU_Stat1_model' incorporates: + * Bias: '/Bias' + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read25' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + rtY.CCU_Stat1_model.CCU_TargetTempRR_Stat_ro = (uint8_t) + ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); + rtY.CCU_Stat1_model.CCU_BlowerSpeedRR_Stat = rtDW.CCU_BLOWERS_RR; + + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' + */ + if (rtDW.CCU_SET_RL > 310) { + rtb_out_mxq = 310U; + } else if (rtDW.CCU_SET_RL < 155) { + rtb_out_mxq = 155U; + } else { + rtb_out_mxq = rtDW.CCU_SET_RL; + } + + /* Outport: '/CCU_Stat1_model' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + rtY.CCU_Stat1_model.CCU_TargetTempRL_Stat_ro = (uint8_t) + ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); + + /* Outport: '/CCU_Stat2_model' incorporates: + * BusCreator: '/Bus Creator1' + * DataStoreRead: '/Data Store Read131' + * DataStoreRead: '/Data Store Read27' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read29' + * DataStoreRead: '/Data Store Read35' + * DataStoreRead: '/Data Store Read73' + * DataStoreRead: '/Data Store Read74' + * DataStoreRead: '/Data Store Read77' + * DataStoreRead: '/Data Store Read82' + * DataStoreRead: '/Data Store Read86' + * DataStoreRead: '/Data Store Read87' + * DataStoreRead: '/Data Store Read96' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; + rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = rtDW.CCU_FRONT_SYNC; + rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = rtDW.CCU_REAR_SYNC; + rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = rtDW.CCU_ALL_ZONE_SYNC; + rtY.CCU_Stat2_model.CCU_ACfront_Stat = CCU_AC_FRONT_req_summary; + rtY.CCU_Stat2_model.CCU_ACrear_Stat = rtDW.CCU_AC_REAR; + rtY.CCU_Stat2_model.CCU_ACmaxF_Stat = rtDW.CCU_AC_MAX; + rtY.CCU_Stat2_model.CCU_ACmaxR_Stat = 0U; + rtY.CCU_Stat2_model.CCU_Defrost_Stat = rtDW.CCU_Defrost; + rtY.CCU_Stat2_model.CCU_Ionization_Stat = rtDW.CCU_Ionization_algo_active; + rtY.CCU_Stat2_model.CCU_AromaIntens_Stat = rtDW.CCU_AromaIntens_stat; + rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; + rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = rtDW.DRS_SFL; + rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.DRS_SFR; + rtb_Switch_f_FIU_AirDirectionFR_Def_Req = rtDW.DRS_CFL; + rtb_Switch_f_FIU_AirDirectionFR_Face_Req = rtDW.DRS_CFR; + + /* Outport: '/CCU_Stat2_model' incorporates: + * BusCreator: '/Bus Creator1' + * DataStoreRead: '/Data Store Read62' + * DataStoreRead: '/Data Store Read63' + * DataStoreRead: '/Data Store Read67' + * DataStoreRead: '/Data Store Read68' + * DataStoreRead: '/Data Store Read69' + * DataStoreRead: '/Data Store Read70' + * DataStoreRead: '/Data Store Read71' + * DataStoreRead: '/Data Store Read72' + * DataStoreWrite: '/Data Store Write1' + */ + rtY.CCU_Stat2_model.CCU_DeflectorSwFCL_Stat = rtDW.DRS_CRL; + rtY.CCU_Stat2_model.CCU_DeflectorSwFCR_Stat = rtDW.DRS_CRR; + rtY.CCU_Stat2_model.CCU_DeflectorSwRLB_Stat = rtDW.DRS_SRL; + rtY.CCU_Stat2_model.CCU_DeflectorSwRRB_Stat = rtDW.DRS_SRR; + + /* Saturate: '/Saturation' incorporates: + * MATLAB Function: '/MATLAB Function' + */ + if (min_side_L <= 160) { + /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' */ + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = min_side_L; + } else { + /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' */ + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = 160U; + } + + /* End of Saturate: '/Saturation' */ + + /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' incorporates: + * BusCreator: '/Bus Creator3' + * DataStoreRead: '/Data Store Read37' + * DataStoreWrite: '/Data Store Write13' + * DataTypeConversion: '/Data Type Conversion' + */ + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompReq_Stat = Enable_Comp_PID; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = LowTempValve; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_RC = 0U; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_CS = 0U; + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant7' + */ + if (!Enable_Comp_PID) { + max_side_L = 0U; + } + + /* Saturate: '/Saturation5' incorporates: + * Switch: '/Switch1' + */ + if (max_side_L <= 100) { + /* Outport: '/CCU_Msg3_model' */ + rtY.CCU_Msg3_model.CCU_FAN_Req = max_side_L; + } else { + /* Outport: '/CCU_Msg3_model' */ + rtY.CCU_Msg3_model.CCU_FAN_Req = 100U; + } + + /* End of Saturate: '/Saturation5' */ + + /* Outport: '/CCU_Msg3_model' incorporates: + * BusCreator: '/Bus Creator4' + * DataStoreRead: '/Data Store Read79' + */ + rtY.CCU_Msg3_model.CCU_RestMode_Stat = rtDW.REST_mode_CCU_stat; + rtY.CCU_Msg3_model.CCU_IncarTempSum_Val_ro = 0U; + rtY.CCU_Msg3_model.CCU_MSG3_RC = 0U; + rtY.CCU_Msg3_model.CCU_MSG3_CS = 0U; + CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_Compare_pnq || + rtb_Compare_ff); + CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_Compare_mg || + rtb_Compare_gq); + CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = (uint8_t)(Duct1_F_error || + Duct2_F_error || Duct3_F_error || Duct4_F_error || Duct5_F_error || + Duct6_F_error); + CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(Duct1_R_error || + Duct2_R_error || Duct3_R_error || Duct4_R_error); + CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = rtDW.CCU_EvaTempSenErrF_Stat; + CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = rtDW.CCU_EvaTempSenErrR_Stat; + CCU_Errors_Model.CCU_DeflectorSwErrF_Stat = rtDW.CCU_DeflectorSwErrF_Stat; + CCU_Errors_Model.CCU_DeflectorSwErrR_Stat = rtDW.CCU_DeflectorSwErrR_Stat; + CCU_Errors_Model.CCU_PressSenErr_Stat = rtDW.CCU_PressSenErr_Stat; + CCU_Errors_Model.CCU_AmbienTemptSenErr_Stat = rtDW.CCU_AmbTempSensErr_Stat; + CCU_Errors_Model.CCU_SealingValveErr_Stat = 0U; + CCU_Errors_Model.CCU_ETXVerr_Stat = 0U; + CCU_Errors_Model.CCU_HVACfanOrTXVerrF_Stat = 0U; + CCU_Errors_Model.CCU_HVACfanOrTXVerrR_Stat = 0U; + CCU_Errors_Model.CCU_ActuatorErrF_Stat = rtDW.CCU_ActuatorErrF_Stat_private; + CCU_Errors_Model.CCU_ActuatorErrR_Stat = rtDW.CCU_ActuatorErrR_Stat_private; + CCU_Errors_Model.CCU_UltravioletErr_Stat = 0U; + CCU_Errors_Model.CCU_VinRecordErr_Stat = 0U; + CCU_Errors_Model.CCU_AirQualSenErr_Stat = rtDW.CCU_AirQualSenErr_Stat; + CCU_Errors_Model.CCU_CommErr_Stat = 0U; + CCU_Errors_Model.CCU_TWVerr_Stat = 0U; + CCU_Errors_Model.CCU_IonizationErr_Stat = rtDW.CCU_IonizationErr_Stat; + CCU_Errors_Model.CCU_AromaErr_Stat = rtDW.CCU_AromaErr_Stat; + + /* Outport: '/CCU_Msg1_model' incorporates: + * BusCreator: '/Bus Creator2' + * BusCreator: '/Bus Creator5' + * DataStoreRead: '/Data Store Read49' + * DataStoreRead: '/Data Store Read50' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read57' + * DataStoreRead: '/Data Store Read58' + * DataStoreRead: '/Data Store Read59' + * DataStoreRead: '/Data Store Read60' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read65' + * DataStoreRead: '/Data Store Read66' + * DataStoreRead: '/Data Store Read81' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write12' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write9' + * DataStoreWrite: '/Data Store Write31' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator13' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator9' + */ + rtY.CCU_Msg1_model.CCU_MirrorHeating_Req = 0U; + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + if (rtDW.EAC_OR_FIRE_is_active) { + /* Outport: '/CCU_Msg1_model' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = rtDW.Recirc_LED_EAC_or_FIRE; + } else { + /* Outport: '/CCU_Msg1_model' incorporates: + * DataStoreRead: '/Data Store Read38' + */ + rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = rtDW.Full_Rec; + } + + /* End of Switch: '/Switch' */ + + /* Outport: '/CCU_Msg1_model' incorporates: + * BusCreator: '/Bus Creator5' + * DataStoreRead: '/Data Store Read43' + */ + rtY.CCU_Msg1_model.CCU_DefrostLed_Req = rtDW.CCU_Defrost; + rtY.CCU_Msg1_model.CCU_SideWindowHeating_Req = 0U; + rtY.CCU_Msg1_model.CCU_RearWindowHeating_Req = 0U; + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read80' + */ + if (rtDW.FrontWindowHeating_req > 0) { + /* Outport: '/CCU_Msg1_model' incorporates: + * Constant: '/Constant' + */ + rtY.CCU_Msg1_model.CCU_FrontWindowHeating_Req = 1U; + } else { + /* Outport: '/CCU_Msg1_model' incorporates: + * Constant: '/Constant1' + */ + rtY.CCU_Msg1_model.CCU_FrontWindowHeating_Req = 2U; + } + + /* End of Switch: '/Switch' */ + + /* Outport: '/CCU_Msg1_model' incorporates: + * BusCreator: '/Bus Creator5' + * DataStoreRead: '/Data Store Read132' + * DataStoreRead: '/Data Store Read133' + * DataStoreRead: '/Data Store Read39' + * DataStoreRead: '/Data Store Read40' + * DataStoreRead: '/Data Store Read41' + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read44' + */ + rtY.CCU_Msg1_model.CCU_EmergAirCleaning_Stat = + rtDW.CCU_EmergAirCleaning_Stat; + rtY.CCU_Msg1_model.CCU_FireExtinguishSys_Stat = + rtDW.CCU_FireExtinguishSys_Stat; + rtY.CCU_Msg1_model.CCU_FLAutoPsngrLed_Cmd = rtDW.CCU_MODE_FL; + rtY.CCU_Msg1_model.CCU_FRAutoPsngrLed_Cmd = rtDW.CCU_MODE_FR; + rtY.CCU_Msg1_model.CCU_RLAutoPsngrLed_Cmd = rtDW.CCU_MODE_RL; + rtY.CCU_Msg1_model.CCU_RRAutoPsngrLed_Cmd = rtDW.CCU_MODE_RR; + rtY.CCU_Msg1_model.CCU_AC_MaxLed_Cmd = rtDW.CCU_AC_MAX; + rtY.CCU_Msg1_model.CCU_MSG1_RC = 0U; + rtY.CCU_Msg1_model.CCU_MSG1_CS = 0U; + } else { + rtb_DataTypeConversion1_gy = rtDW.CCU_MODE_FR; + + /* Outport: '/CCU_Stat1_model' incorporates: + * BusCreator: '/Bus Creator6' + * DataStoreRead: '/Data Store Read102' + * DataStoreRead: '/Data Store Read103' + * DataStoreRead: '/Data Store Read90' + * DataStoreWrite: '/Data Store Write' + */ + rtY.CCU_Stat1_model.CCU_ModeRL_Stat = rtDW.CCU_MODE_RL; + rtY.CCU_Stat1_model.CCU_ModeRR_Stat = rtDW.CCU_MODE_RR; + center_percent = rtDW.CCU_AUTOMODE_FR; + + /* Outport: '/CCU_Stat1_model' incorporates: + * BusCreator: '/Bus Creator6' + * DataStoreRead: '/Data Store Read104' + * DataStoreRead: '/Data Store Read106' + * DataStoreRead: '/Data Store Read107' + * DataStoreRead: '/Data Store Read108' + * DataStoreRead: '/Data Store Read109' + * DataStoreRead: '/Data Store Read110' + * DataStoreRead: '/Data Store Read113' + * DataStoreWrite: '/Data Store Write' + */ + rtY.CCU_Stat1_model.CCU_AirDirectionRL_Face_Stat = rtDW.CCU_FACE_RL; + rtY.CCU_Stat1_model.CCU_AirDirectionRL_Foot_Stat = rtDW.CCU_FOOT_RL; + rtY.CCU_Stat1_model.CCU_AutoModeRL_Stat = rtDW.CCU_AUTOMODE_RL; + rtY.CCU_Stat1_model.CCU_AutoModeRR_Stat = rtDW.CCU_AUTOMODE_RR; + rtY.CCU_Stat1_model.CCU_AirDirectionRR_Face_Stat = rtDW.CCU_FACE_RR; + rtY.CCU_Stat1_model.CCU_AirDirectionRR_Foot_Stat = rtDW.CCU_FOOT_RR; + rtb_Merge_c5 = rtDW.CCU_DEF_FR; + rtb_Merge_m4 = rtDW.CCU_FACE_FR; + rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.CCU_FOOT_FR; + + /* Outport: '/CCU_Stat1_model' incorporates: + * BusCreator: '/Bus Creator6' + * DataStoreRead: '/Data Store Read117' + * DataStoreRead: '/Data Store Read118' + * DataStoreRead: '/Data Store Read119' + * DataStoreRead: '/Data Store Read91' + * DataStoreWrite: '/Data Store Write' + */ + rtY.CCU_Stat1_model.CCU_Recirculation_Stat = rtDW.CCU_RECIRC; + rtb_Switch_f_FIU_AirDirectionFL_Def_Req = 0U; + + /* Saturate: '/Saturation' incorporates: + * BusCreator: '/Bus Creator6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read98' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.CCU_SET_FL > 310) { + rtb_out_mxq = 310U; + } else if (rtDW.CCU_SET_FL < 155) { + rtb_out_mxq = 155U; + } else { + rtb_out_mxq = rtDW.CCU_SET_FL; + } + + /* Outport: '/CCU_Stat1_model' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + rtY.CCU_Stat1_model.CCU_TargetTempFL_Stat_ro = (uint8_t) + ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); + rtb_Switch_f_FIU_AirDirectionFL_Face_Req = 0U; + + /* Saturate: '/Saturation' incorporates: + * BusCreator: '/Bus Creator6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read99' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.CCU_SET_FR > 310) { + rtb_out_mxq = 310U; + } else if (rtDW.CCU_SET_FR < 155) { + rtb_out_mxq = 155U; + } else { + rtb_out_mxq = rtDW.CCU_SET_FR; + } + + /* Outport: '/CCU_Stat1_model' incorporates: + * Bias: '/Bias1' + * BusCreator: '/Bus Creator6' + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + rtY.CCU_Stat1_model.CCU_TargetTempFR_Stat_ro = (uint8_t) + ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); + rtY.CCU_Stat1_model.CCU_BlowerSpeedRL_Stat = 0U; + + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read100' + */ + if (rtDW.CCU_SET_RR > 310) { + rtb_out_mxq = 310U; + } else if (rtDW.CCU_SET_RR < 155) { + rtb_out_mxq = 155U; + } else { + rtb_out_mxq = rtDW.CCU_SET_RR; + } + + /* Outport: '/CCU_Stat1_model' incorporates: + * Bias: '/Bias' + * BusCreator: '/Bus Creator6' + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + rtY.CCU_Stat1_model.CCU_TargetTempRR_Stat_ro = (uint8_t) + ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); + rtY.CCU_Stat1_model.CCU_BlowerSpeedRR_Stat = 0U; + + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read101' + */ + if (rtDW.CCU_SET_RL > 310) { + rtb_out_mxq = 310U; + } else if (rtDW.CCU_SET_RL < 155) { + rtb_out_mxq = 155U; + } else { + rtb_out_mxq = rtDW.CCU_SET_RL; + } + + /* Outport: '/CCU_Stat1_model' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + rtY.CCU_Stat1_model.CCU_TargetTempRL_Stat_ro = (uint8_t) + ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); + + /* Outport: '/CCU_Stat2_model' incorporates: + * BusCreator: '/Bus Creator7' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read125' + * DataStoreRead: '/Data Store Read126' + * DataStoreRead: '/Data Store Read127' + * DataStoreRead: '/Data Store Read128' + * DataStoreRead: '/Data Store Read129' + * DataStoreRead: '/Data Store Read130' + * DataStoreRead: '/Data Store Read88' + * DataStoreRead: '/Data Store Read92' + * DataStoreRead: '/Data Store Read93' + */ + rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; + rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = rtDW.CCU_FRONT_SYNC; + rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = rtDW.CCU_REAR_SYNC; + rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = rtDW.CCU_ALL_ZONE_SYNC; + rtY.CCU_Stat2_model.CCU_ACfront_Stat = 0U; + rtY.CCU_Stat2_model.CCU_ACrear_Stat = 0U; + rtY.CCU_Stat2_model.CCU_ACmaxF_Stat = 0U; + rtY.CCU_Stat2_model.CCU_ACmaxR_Stat = 0U; + rtY.CCU_Stat2_model.CCU_Defrost_Stat = rtDW.CCU_Defrost; + rtY.CCU_Stat2_model.CCU_Ionization_Stat = rtDW.CCU_Ionization_algo_active; + rtY.CCU_Stat2_model.CCU_AromaIntens_Stat = rtDW.CCU_AromaIntens_stat; + rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; + rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = rtDW.DRS_SFL; + rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.DRS_SFR; + rtb_Switch_f_FIU_AirDirectionFR_Def_Req = rtDW.DRS_CFL; + rtb_Switch_f_FIU_AirDirectionFR_Face_Req = rtDW.DRS_CFR; + + /* Outport: '/CCU_Stat2_model' incorporates: + * BusCreator: '/Bus Creator7' + * DataStoreRead: '/Data Store Read112' + * DataStoreRead: '/Data Store Read120' + * DataStoreRead: '/Data Store Read121' + * DataStoreRead: '/Data Store Read122' + * DataStoreRead: '/Data Store Read123' + * DataStoreRead: '/Data Store Read124' + * DataStoreRead: '/Data Store Read94' + * DataStoreRead: '/Data Store Read95' + * DataStoreWrite: '/Data Store Write1' + */ + rtY.CCU_Stat2_model.CCU_DeflectorSwFCL_Stat = rtDW.DRS_CRL; + rtY.CCU_Stat2_model.CCU_DeflectorSwFCR_Stat = rtDW.DRS_CRR; + rtY.CCU_Stat2_model.CCU_DeflectorSwRLB_Stat = rtDW.DRS_SRL; + rtY.CCU_Stat2_model.CCU_DeflectorSwRRB_Stat = rtDW.DRS_SRR; + + /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' incorporates: + * BusCreator: '/Bus Creator10' + * Constant: '/Constant4' + */ + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = 0U; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompReq_Stat = 0U; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = 0U; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_RC = 0U; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_CS = 0U; + + /* Outport: '/CCU_Msg3_model' incorporates: + * BusCreator: '/Bus Creator11' + * Constant: '/Constant5' + */ + rtY.CCU_Msg3_model.CCU_FAN_Req = 0U; + rtY.CCU_Msg3_model.CCU_RestMode_Stat = 0U; + rtY.CCU_Msg3_model.CCU_IncarTempSum_Val_ro = 0U; + rtY.CCU_Msg3_model.CCU_MSG3_RC = 0U; + rtY.CCU_Msg3_model.CCU_MSG3_CS = 0U; + CCU_Errors_Model.CCU_IncarTempErrF_Stat = 0U; + CCU_Errors_Model.CCU_IncarTempErrR_Stat = 0U; + CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = 0U; + CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = 0U; + CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = 0U; + CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = 0U; + CCU_Errors_Model.CCU_DeflectorSwErrF_Stat = 0U; + CCU_Errors_Model.CCU_DeflectorSwErrR_Stat = 0U; + CCU_Errors_Model.CCU_PressSenErr_Stat = 0U; + CCU_Errors_Model.CCU_AmbienTemptSenErr_Stat = 0U; + CCU_Errors_Model.CCU_SealingValveErr_Stat = 0U; + CCU_Errors_Model.CCU_ETXVerr_Stat = 0U; + CCU_Errors_Model.CCU_HVACfanOrTXVerrF_Stat = 0U; + CCU_Errors_Model.CCU_HVACfanOrTXVerrR_Stat = 0U; + CCU_Errors_Model.CCU_ActuatorErrF_Stat = 0U; + CCU_Errors_Model.CCU_ActuatorErrR_Stat = 0U; + CCU_Errors_Model.CCU_UltravioletErr_Stat = 0U; + CCU_Errors_Model.CCU_VinRecordErr_Stat = 0U; + CCU_Errors_Model.CCU_AirQualSenErr_Stat = 0U; + CCU_Errors_Model.CCU_CommErr_Stat = 0U; + CCU_Errors_Model.CCU_TWVerr_Stat = 0U; + CCU_Errors_Model.CCU_IonizationErr_Stat = 0U; + CCU_Errors_Model.CCU_AromaErr_Stat = 0U; + + /* Outport: '/CCU_Msg1_model' incorporates: + * BusCreator: '/Bus Creator8' + * BusCreator: '/Bus Creator9' + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreWrite: '/Data Store Write31' + */ + rtY.CCU_Msg1_model.CCU_MirrorHeating_Req = 0U; + rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = 0U; + rtY.CCU_Msg1_model.CCU_DefrostLed_Req = 0U; + rtY.CCU_Msg1_model.CCU_SideWindowHeating_Req = 0U; + rtY.CCU_Msg1_model.CCU_RearWindowHeating_Req = 0U; + rtY.CCU_Msg1_model.CCU_FrontWindowHeating_Req = 0U; + rtY.CCU_Msg1_model.CCU_EmergAirCleaning_Stat = 0U; + rtY.CCU_Msg1_model.CCU_FireExtinguishSys_Stat = 0U; + rtY.CCU_Msg1_model.CCU_FLAutoPsngrLed_Cmd = 0U; + rtY.CCU_Msg1_model.CCU_FRAutoPsngrLed_Cmd = 0U; + rtY.CCU_Msg1_model.CCU_RLAutoPsngrLed_Cmd = 0U; + rtY.CCU_Msg1_model.CCU_RRAutoPsngrLed_Cmd = 0U; + rtY.CCU_Msg1_model.CCU_AC_MaxLed_Cmd = 0U; + rtY.CCU_Msg1_model.CCU_MSG1_RC = 0U; + rtY.CCU_Msg1_model.CCU_MSG1_CS = 0U; + } + + /* End of Switch: '/Switch2' */ + + /* BusCreator: '/Bus Creator12' incorporates: + * DataStoreRead: '/Data Store Read75' + * DataStoreRead: '/Data Store Read76' + * DataStoreRead: '/Data Store Read83' + * DataStoreRead: '/Data Store Read84' + * DataStoreWrite: '/Data Store Write2' + * MATLAB Function: '/ccuAromaLogic' + */ + rtDW.CCU_STAT3_MODEL.CCU_AromaCartridgeCapacity_Stat_ro = + rtDW.Aroma_CartridgeCapacity; + rtDW.CCU_STAT3_MODEL.CCU_AromaCartridgeFlavor_Stat = + rtDW.Aroma_CartridgeFlavor; + + /* Outputs for Atomic SubSystem: '/AromaLogic' */ + rtDW.CCU_STAT3_MODEL.CCU_AromaFaultReason_Stat = rtb_DataTypeConversion3_hs; + + /* End of Outputs for SubSystem: '/AromaLogic' */ + rtDW.CCU_STAT3_MODEL.CCU_RLfootBlowDis_Stat = rtDW.CCU_foot_blower_dis_RL; + rtDW.CCU_STAT3_MODEL.CCU_RRfootBlowDis_Stat = rtDW.CCU_foot_blower_dis_RR; + rtDW.CCU_STAT3_MODEL.CCU_RestMode2_Stat = 0U; + + /* Lookup_n-D: '/demist LVL (dew_point_diff)' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.Dew_point = look2_bs16ts16Dddd_binlc(rtb_Divide1_jg, rtb_Divide3, + rtConstP.demistLVLdew_point_diff_bp01Data, + rtConstP.demistLVLdew_point_diff_bp02Data, + rtConstP.demistLVLdew_point_diff_tableData, + rtConstP.demistLVLdew_point_diff_maxIndex, 121U); + + /* MATLAB Function: '/óñëîâèå âõîäà' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' + */ + /* : isActive = false; */ + rtDW.DifferentBlower_Rear_isActive = false; + + /* : if ((IndexMode_RL == 120 || IndexMode_RL == 130 || IndexMode_RL == 140) && (IndexMode_RR == 120 || IndexMode_RR == 130 || IndexMode_RR == 140)) */ + if (((rtDW.Index_mode_RL == 120) || (rtDW.Index_mode_RL == 130) || + (rtDW.Index_mode_RL == 140)) && ((rtDW.Index_mode_RR == 120) || + (rtDW.Index_mode_RR == 130) || (rtDW.Index_mode_RR == 140)) && + ((rtDW.Index_mode_RL != rtDW.Index_mode_RR) || (rtb_out_fhd != rtb_out_fze)) + && (rtb_out_fhd > 0) && (rtb_out_fze > 0)) { + /* : if ((IndexMode_RL ~= IndexMode_RR || AF_RL ~= AF_RR) && (AF_RL > 0 && AF_RR > 0)) */ + /* : isActive = true; */ + rtDW.DifferentBlower_Rear_isActive = true; + } + + /* End of MATLAB Function: '/óñëîâèå âõîäà' */ + + /* MATLAB Function: '/valves_rear' incorporates: + * DataStoreRead: '/Data Store Read' + */ + valves_rear(rtDW.Index_mode_RL, rtb_urear_e); + + /* MATLAB Function: '/valves_rear1' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + valves_rear(rtDW.Index_mode_RR, rtb_out); + + /* Outputs for Enabled SubSystem: '/DIFFERENT BLOWER - Rear' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreWrite: '/Data Store Write' */ + if (rtDW.DifferentBlower_Rear_isActive) { + /* MATLAB Function: '/coefficients for valves' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + /* : min_side_L = uint8(100); */ + min_side_L = 100U; + + /* : max_side_L = uint8(100); */ + max_side_L = 100U; + + /* : min_side_R = uint8(100); */ + LowTempValve = 100U; + + /* : max_side_R = uint8(100); */ + rtb_DataTypeConversion3_hs = 100U; + + /* : min_center_L = uint8(100); */ + min_center_L = 100U; + + /* : max_center_L = uint8(100); */ + max_center_L = 100U; + + /* : min_center_R = uint8(100); */ + min_center_R = 100U; + + /* : max_center_R = uint8(100); */ + max_center_R = 100U; + + /* : min_foot_L = uint8(100); */ + min_foot_L = 100U; + + /* : max_foot_L = uint8(100); */ + max_foot_L = 100U; + + /* : min_foot_R = uint8(100); */ + min_foot_R = 100U; + + /* : max_foot_R = uint8(100); */ + max_foot_R = 100U; + + /* : switch mode_left */ + switch (rtDW.Index_mode_RL) { + case 120U: + /* : case 120 */ + /* : min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(1); */ + min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[0]; + + /* : max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(1); */ + max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[0]; + + /* : min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(1); */ + min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[0]; + + /* : max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(1); */ + max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[0]; + break; + + case 130U: + /* : case 130 */ + /* : min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(8); */ + min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[7]; + + /* : max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(8); */ + max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[7]; + + /* : min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(9); */ + min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[8]; + + /* : max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(9); */ + max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[8]; + + /* : min_foot_L = g_aucBLR_SPD_K2_3_R_FOOT_MIN(5); */ + min_foot_L = g_aucBLR_SPD_K2_3_R_FOOT_MIN[4]; + + /* : max_foot_L = g_aucBLR_SPD_K2_3_R_FOOTR_MAX(5); */ + max_foot_L = g_aucBLR_SPD_K2_3_R_FOOTR_MAX[4]; + break; + + case 140U: + /* : case 140 */ + /* : min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(3); */ + min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[2]; + + /* : max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(3); */ + max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[2]; + + /* : min_foot_L = g_aucBLR_SPD_K2_3_R_FOOT_MIN(2); */ + min_foot_L = g_aucBLR_SPD_K2_3_R_FOOT_MIN[1]; + + /* : max_foot_L = g_aucBLR_SPD_K2_3_R_FOOTR_MAX(2); */ + max_foot_L = g_aucBLR_SPD_K2_3_R_FOOTR_MAX[1]; + break; + } + + /* : switch mode_right */ + switch (rtDW.Index_mode_RR) { + case 120U: + /* : case 120 */ + /* : min_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(1); */ + LowTempValve = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[0]; + + /* : max_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(1); */ + rtb_DataTypeConversion3_hs = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[0]; + + /* : min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(1); */ + min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[0]; + + /* : max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(1); */ + max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[0]; + break; + + case 130U: + /* : case 130 */ + /* : min_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(8); */ + LowTempValve = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[7]; + + /* : max_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(8); */ + rtb_DataTypeConversion3_hs = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[7]; + + /* : min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(9); */ + min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[8]; + + /* : max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(9); */ + max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[8]; + + /* : min_foot_R = g_aucBLR_SPD_K2_3_R_FOOT_MIN(5); */ + min_foot_R = g_aucBLR_SPD_K2_3_R_FOOT_MIN[4]; + + /* : max_foot_R = g_aucBLR_SPD_K2_3_R_FOOTR_MAX(5); */ + max_foot_R = g_aucBLR_SPD_K2_3_R_FOOTR_MAX[4]; + break; + + case 140U: + /* : case 140 */ + /* : min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(3); */ + min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[2]; + + /* : max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(3); */ + max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[2]; + + /* : min_foot_R = g_aucBLR_SPD_K2_3_R_FOOT_MIN(2); */ + min_foot_R = g_aucBLR_SPD_K2_3_R_FOOT_MIN[1]; + + /* : max_foot_R = g_aucBLR_SPD_K2_3_R_FOOTR_MAX(2); */ + max_foot_R = g_aucBLR_SPD_K2_3_R_FOOTR_MAX[1]; + break; + } + + /* : AF_MAX = 160; */ + /* : AF_MIN = 20; */ + /* : coef_min = [min_side_L, min_center_L, min_center_R, min_side_R, min_foot_L, min_foot_R]; */ + /* : coef_max = [max_side_L, max_center_L, max_center_R, max_side_R, max_foot_L, max_foot_R]; */ + coef_max[0] = max_side_L; + coef_max[1] = max_center_L; + coef_max[2] = max_center_R; + coef_max[3] = rtb_DataTypeConversion3_hs; + coef_max[4] = max_foot_L; + coef_max[5] = max_foot_R; + + /* : coeff_left = double(coef_max) - (double(AF_MAX - AF_left)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + rtb_Subtract = 160U - rtb_out_fhd; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if (160U - rtb_out_fhd > 160U) { + rtb_Subtract = 0U; + } + + rtb_duct_select_index_dbg_c = (double)(int32_t)rtb_Subtract / 140.0; + rtb_Subtract = (uint32_t)max_side_L - /*MW:OvSatOk*/ min_side_L; + if (rtb_Subtract > max_side_L) { + rtb_Subtract = 0U; + } + + rtb_u10[0] = rtb_Subtract; + rtb_Subtract = (uint32_t)max_center_L - /*MW:OvSatOk*/ min_center_L; + if (rtb_Subtract > max_center_L) { + rtb_Subtract = 0U; + } + + rtb_u10[1] = rtb_Subtract; + rtb_Subtract = (uint32_t)max_center_R - /*MW:OvSatOk*/ min_center_R; + if (rtb_Subtract > max_center_R) { + rtb_Subtract = 0U; + } + + rtb_u10[2] = rtb_Subtract; + rtb_Subtract = (uint32_t)rtb_DataTypeConversion3_hs - /*MW:OvSatOk*/ + LowTempValve; + if (rtb_Subtract > rtb_DataTypeConversion3_hs) { + rtb_Subtract = 0U; + } + + rtb_u10[3] = rtb_Subtract; + rtb_Subtract = (uint32_t)max_foot_L - /*MW:OvSatOk*/ min_foot_L; + if (rtb_Subtract > max_foot_L) { + rtb_Subtract = 0U; + } + + rtb_u10[4] = rtb_Subtract; + rtb_Subtract = (uint32_t)max_foot_R - /*MW:OvSatOk*/ min_foot_R; + if (rtb_Subtract > max_foot_R) { + rtb_Subtract = 0U; + } + + rtb_u10[5] = rtb_Subtract; + + /* : coeff_right = double(coef_max) - (double(AF_MAX - AF_right)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ + rtb_Subtract = 160U - rtb_out_fze; + if (160U - rtb_out_fze > 160U) { + rtb_Subtract = 0U; + } + + rtb_D = (double)(int32_t)rtb_Subtract / 140.0; + for (i = 0; i < 6; i++) { + rtb_Cmd_3Way = coef_max[i]; + rtb_Y_o_idx_2 = (int32_t)rtb_u10[i]; + coeff_left[i] = (double)rtb_Cmd_3Way - rtb_duct_select_index_dbg_c * + (double)rtb_Y_o_idx_2; + coeff_right[i] = (double)rtb_Cmd_3Way - rtb_D * (double)rtb_Y_o_idx_2; + } + + /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' + */ + /* : coeff = [coeff_left(1), coeff_left(2), coeff_right(3), coeff_right(4), coeff_left(5), coeff_right(6)]; */ + rtb_urear_e[2] = rtb_out[2]; + rtb_urear_e[3] = rtb_out[3]; + + /* Assignment: '/Ïðèñâàèâàíèå â [6] rear' */ + rtb_urear_e[5] = rtb_out[5]; + + /* Gain: '/Gain1' incorporates: + * MATLAB Function: '/coefficients for valves' + */ + tmp_1[0] = 0.01 * coeff_left[0]; + tmp_1[1] = 0.01 * coeff_left[1]; + tmp_1[2] = 0.01 * coeff_right[2]; + tmp_1[3] = 0.01 * coeff_right[3]; + tmp_1[4] = 0.01 * coeff_left[4]; + tmp_1[5] = 0.01 * coeff_right[5]; + + /* : y = ceil(round(u) / 10) * 10; */ + for (i = 0; i < 6; i++) { + /* Gain: '/Gain' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' + */ + rtb_D = 0.0099999904632568359 * (double)rtb_urear_e[i]; + rtb_Saturation_hch[i] = rtb_D; + + /* Product: '/ïóíêòû 8-10' */ + rtb_duct_select_index_dbg_c = tmp_1[i] * rtb_D; + rtb_u10[i] = rtb_duct_select_index_dbg_c; + coeff_right[i] = ceil(rt_roundd(100.0 * rtb_duct_select_index_dbg_c) / + 10.0) * 10.0; + } + + /* MATLAB Function: '/ïëîùàäü ñå÷åíèÿ çàñëîíîê' incorporates: + * Gain: '/Gain1' + * MATLAB Function: '/MATLAB Function1' + * Product: '/ïóíêòû 8-10' + */ + /* : valve_space = [g_ausVALVE_SPACE(4), g_ausVALVE_SPACE(5), g_ausVALVE_SPACE(5), g_ausVALVE_SPACE(4), g_ausVALVE_SPACE(6), g_ausVALVE_SPACE(6)] * 10; */ + rtb_Subtract = g_ausVALVE_SPACE[3] * 10U; + rtb_dt_nx = rtb_Subtract; + if (rtb_Subtract > 65535U) { + rtb_dt_nx = 65535U; + } + + rtb_Gain2_tmp_tmp = g_ausVALVE_SPACE[4] * 10U; + rtb_Gain2_tmp_tmp_0 = rtb_Gain2_tmp_tmp; + if (rtb_Gain2_tmp_tmp > 65535U) { + rtb_Gain2_tmp_tmp_0 = 65535U; + rtb_Gain2_tmp_tmp = 65535U; + } + + if (rtb_Subtract > 65535U) { + rtb_Subtract = 65535U; + } + + tmp_4 = g_ausVALVE_SPACE[5] * 10U; + tmp_2 = tmp_4; + if (tmp_4 > 65535U) { + tmp_2 = 65535U; + tmp_4 = 65535U; + } + + /* MATLAB Function: '/B-Pillar_ - % damper opening' incorporates: + * MATLAB Function: '/ïëîùàäü ñå÷åíèÿ çàñëîíîê' + * Product: '/ïóíêòû 8-10' + */ + /* : b_pillar_100 = double(valve_space(1)); */ + /* : g_aucVALVE_PERC_R_BIPILLAR_with0 = double([0, g_aucVALVE_PERC_R_BIPILLAR]) * 0.01; */ + rtb_valve_space_center_R[0] = 0.0; + for (i = 0; i < 10; i++) { + rtb_valve_space_center_R[i + 1] = (double)g_aucVALVE_PERC_R_BIPILLAR[i] * + 0.01; + } + + /* : b_pillar_all_perc = g_aucVALVE_PERC_R_BIPILLAR_with0 * b_pillar_100; */ + /* : valve_space_b_pillar_L = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + rtb_y_hu[i] = rtb_valve_space_center_R[i] * (double)rtb_dt_nx; + rtb_valve_space_b_pillar_L[i] = 0.0; + } + + /* : for i = 1:10 */ + /* : valve_space_b_pillar_L(1) = 0; */ + /* : valve_space_b_pillar_L(11) = b_pillar_100; */ + rtb_valve_space_b_pillar_L[10] = rtb_dt_nx; + + /* : center_100 = double(valve_space(2)); */ + /* : g_aucVALVE_PERC_R_CENT_VENT_with0 = double([0, g_aucVALVE_PERC_R_CENT_VENT]) * 0.01; */ + rtb_valve_space_foot_R[0] = 0.0; + for (i = 0; i < 10; i++) { + /* : valve_space_b_pillar_L(i) = b_pillar_all_perc(i+1) + ((g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - valves(1)) / (g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - g_aucVALVE_PERC_R_BIPILLAR_with0(i))) * (b_pillar_all_perc(i) - b_pillar_all_perc(i+1)); */ + rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; + rtb_D = rtb_valve_space_center_R[i + 1]; + rtb_valve_space_b_pillar_L[i] = (rtb_D - rtb_u10[0]) / (rtb_D - + rtb_valve_space_center_R[i]) * (rtb_y_hu[i] - + rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; + rtb_valve_space_foot_R[i + 1] = (double)g_aucVALVE_PERC_R_CENT_VENT[i] * + 0.01; + } + + rtb_valve_space_b_pillar_L[0] = 0.0; + + /* : center_all_perc = g_aucVALVE_PERC_R_CENT_VENT_with0 * center_100; */ + /* : valve_space_center_L = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + rtb_y_hu[i] = rtb_valve_space_foot_R[i] * (double)rtb_Gain2_tmp_tmp_0; + rtb_valve_space_center_L[i] = 0.0; + } + + /* : for i = 1:10 */ + /* : valve_space_center_L(1) = 0; */ + /* : valve_space_center_L(11) = center_100; */ + rtb_valve_space_center_L[10] = rtb_Gain2_tmp_tmp_0; + + /* : foot_100 = double(valve_space(5)); */ + /* : g_aucVALVE_PERC_R_FOOT_with0 = double([0, g_aucVALVE_PERC_R_FOOT]) * 0.01; */ + rtb_Saturation_hch[0] = 0.0; + for (i = 0; i < 10; i++) { + /* : valve_space_center_L(i) = center_all_perc(i+1) + ((g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - valves(2)) / (g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - g_aucVALVE_PERC_R_CENT_VENT_with0(i))) * (center_all_perc(i) - center_all_perc(i+1)); */ + rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; + rtb_D = rtb_valve_space_foot_R[i + 1]; + rtb_valve_space_center_L[i] = (rtb_D - rtb_u10[1]) / (rtb_D - + rtb_valve_space_foot_R[i]) * (rtb_y_hu[i] - rtb_duct_select_index_dbg_c) + + rtb_duct_select_index_dbg_c; + rtb_Saturation_hch[i + 1] = (double)g_aucVALVE_PERC_R_FOOT[i] * 0.01; + } + + rtb_valve_space_center_L[0] = 0.0; + + /* : foot_all_perc = g_aucVALVE_PERC_R_FOOT_with0 * foot_100; */ + /* : valve_space_foot_L = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + rtb_y_hu[i] = rtb_Saturation_hch[i] * (double)tmp_2; + rtb_valve_space_foot_L[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_foot_L(i) = foot_all_perc(i+1) + ((g_aucVALVE_PERC_R_FOOT_with0(i+1) - valves(5)) / (g_aucVALVE_PERC_R_FOOT_with0(i+1) - g_aucVALVE_PERC_R_FOOT_with0(i))) * (foot_all_perc(i) - foot_all_perc(i+1)); */ + rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; + rtb_D = rtb_Saturation_hch[i + 1]; + rtb_valve_space_foot_L[i] = (rtb_D - rtb_u10[4]) / (rtb_D - + rtb_Saturation_hch[i]) * (rtb_y_hu[i] - rtb_duct_select_index_dbg_c) + + rtb_duct_select_index_dbg_c; + } + + /* : valve_space_foot_L(1) = 0; */ + rtb_valve_space_foot_L[0] = 0.0; + + /* : valve_space_foot_L(11) = foot_100; */ + rtb_valve_space_foot_L[10] = tmp_2; + + /* : b_pillar_100 = double(valve_space(4)); */ + /* : g_aucVALVE_PERC_R_BIPILLAR_with0 = double([0, g_aucVALVE_PERC_R_BIPILLAR]) * 0.01; */ + /* : b_pillar_all_perc = g_aucVALVE_PERC_R_BIPILLAR_with0 * b_pillar_100; */ + /* : valve_space_b_pillar_R = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + rtb_y_hu[i] = rtb_valve_space_center_R[i] * (double)rtb_Subtract; + rtb_valve_space_b_pillar_R[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_b_pillar_R(i) = b_pillar_all_perc(i+1) + ((g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - valves(4)) / (g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - g_aucVALVE_PERC_R_BIPILLAR_with0(i))) * (b_pillar_all_perc(i) - b_pillar_all_perc(i+1)); */ + rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; + rtb_D = rtb_valve_space_center_R[i + 1]; + rtb_valve_space_b_pillar_R[i] = (rtb_D - rtb_u10[3]) / (rtb_D - + rtb_valve_space_center_R[i]) * (rtb_y_hu[i] - + rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; + } + + /* : valve_space_b_pillar_R(1) = 0; */ + rtb_valve_space_b_pillar_R[0] = 0.0; + + /* : valve_space_b_pillar_R(11) = b_pillar_100; */ + rtb_valve_space_b_pillar_R[10] = rtb_Subtract; + + /* : center_100 = double(valve_space(3)); */ + /* : g_aucVALVE_PERC_R_CENT_VENT_with0 = double([0, g_aucVALVE_PERC_R_CENT_VENT]) * 0.01; */ + /* : center_all_perc = g_aucVALVE_PERC_R_CENT_VENT_with0 * center_100; */ + /* : valve_space_center_R = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + rtb_y_hu[i] = rtb_valve_space_foot_R[i] * (double)rtb_Gain2_tmp_tmp; + rtb_valve_space_center_R[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_center_R(i) = center_all_perc(i+1) + ((g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - valves(3)) / (g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - g_aucVALVE_PERC_R_CENT_VENT_with0(i))) * (center_all_perc(i) - center_all_perc(i+1)); */ + rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; + rtb_D = rtb_valve_space_foot_R[i + 1]; + rtb_valve_space_center_R[i] = (rtb_D - rtb_u10[2]) / (rtb_D - + rtb_valve_space_foot_R[i]) * (rtb_y_hu[i] - rtb_duct_select_index_dbg_c) + + rtb_duct_select_index_dbg_c; + } + + /* : valve_space_center_R(1) = 0; */ + rtb_valve_space_center_R[0] = 0.0; + + /* : valve_space_center_R(11) = center_100; */ + rtb_valve_space_center_R[10] = rtb_Gain2_tmp_tmp; + + /* : foot_100 = double(valve_space(6)); */ + /* : g_aucVALVE_PERC_R_FOOT_with0 = double([0, g_aucVALVE_PERC_R_FOOT]) * 0.01; */ + /* : foot_all_perc = g_aucVALVE_PERC_R_FOOT_with0 * foot_100; */ + /* : valve_space_foot_R = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + rtb_y_hu[i] = rtb_Saturation_hch[i] * (double)tmp_4; + rtb_valve_space_foot_R[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_foot_R(i) = foot_all_perc(i+1) + ((g_aucVALVE_PERC_R_FOOT_with0(i+1) - valves(6)) / (g_aucVALVE_PERC_R_FOOT_with0(i+1) - g_aucVALVE_PERC_R_FOOT_with0(i))) * (foot_all_perc(i) - foot_all_perc(i+1)); */ + rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; + rtb_D = rtb_Saturation_hch[i + 1]; + rtb_valve_space_foot_R[i] = (rtb_D - rtb_u10[5]) / (rtb_D - + rtb_Saturation_hch[i]) * (rtb_y_hu[i] - rtb_duct_select_index_dbg_c) + + rtb_duct_select_index_dbg_c; + } + + /* : valve_space_foot_R(1) = 0; */ + rtb_valve_space_foot_R[0] = 0.0; + + /* : valve_space_foot_R(11) = foot_100; */ + rtb_valve_space_foot_R[10] = tmp_4; + + /* End of MATLAB Function: '/B-Pillar_ - % damper opening' */ + + /* MATLAB Function: '/MATLAB Function2' */ + MATLABFunction2(rtb_y_hu); + + /* MATLAB Function: '/MATLAB Function3' */ + MATLABFunction3(rtb_y_oz); + + /* MATLAB Function: '/MATLAB Function4' */ + MATLABFunction4(rtb_y_ej); + + /* MATLAB Function: '/MATLAB Function5' */ + MATLABFunction2(rtb_y_e); + + /* MATLAB Function: '/MATLAB Function6' */ + MATLABFunction3(rtb_Saturation_hch); + + /* MATLAB Function: '/MATLAB Function7' */ + MATLABFunction4(rtb_y); + + /* MATLAB Function: '/MATLAB Function' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' + * Product: '/ïóíêòû 8-10' + * Saturate: '/Saturation' + */ + /* : area_L = valves(1) * valve_space_b_pillar_L + valves(2) * valve_space_center_L + valves(5) * valve_space_foot_L; */ + rtb_Divide10 = (rtb_u10[0] * rtb_valve_space_b_pillar_L[plook_u32d_bincka + (coeff_right[0], rtb_y_hu, 10U)] + rtb_u10[1] * + rtb_valve_space_center_L[plook_u32d_bincka(coeff_right[1], + rtb_y_oz, 10U)]) + rtb_u10[4] * rtb_valve_space_foot_L[plook_u32d_bincka + (coeff_right[4], rtb_y_ej, 10U)]; + + /* : area_R = valves(3) * valve_space_center_R + valves(4) * valve_space_b_pillar_R + valves(6) * valve_space_foot_R; */ + rtb_Divide11 = (rtb_u10[2] * rtb_valve_space_center_R[plook_u32d_bincka + (coeff_right[2], rtb_Saturation_hch, 10U)] + rtb_u10[3] * + rtb_valve_space_b_pillar_R[plook_u32d_bincka(coeff_right[3], + rtb_y_e, 10U)]) + rtb_u10[5] * rtb_valve_space_foot_R[plook_u32d_binckan + (coeff_right[5], rtb_y, 10U)]; + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + rtb_RelationalOperator6_f = (rtDW.Index_mode_RL == rtDW.Index_mode_RR); + + /* Switch: '/ïóíêò 16 L' incorporates: + * Product: '/ïóíêò 12 (L)' + * Product: '/ïóíêò 14 (L)' + */ + if (rtb_RelationalOperator6_f) { + rtb_duct_select_index_dbg_c = rtb_Divide10 / rtb_Divide11; + } else { + rtb_duct_select_index_dbg_c = rtb_Divide11 / rtb_Divide10; + } + + /* End of Switch: '/ïóíêò 16 L' */ + + /* Saturate: '/ïóíêò 17 L' */ + if (rtb_duct_select_index_dbg_c > 1.0) { + rtb_D = 1.0; + } else if (rtb_duct_select_index_dbg_c < 0.0) { + rtb_D = 0.0; + } else { + rtb_D = rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/ïóíêò 17 L' */ + + /* Switch: '/ïóíêò 16 R' incorporates: + * Product: '/ïóíêò 12 (R)' + * Product: '/ïóíêò 14 (R)' + */ + if (rtb_RelationalOperator6_f) { + rtb_duct_select_index_dbg_c = rtb_Divide11 / rtb_Divide10; + } else { + rtb_duct_select_index_dbg_c = rtb_Divide10 / rtb_Divide11; + } + + /* End of Switch: '/ïóíêò 16 R' */ + + /* Saturate: '/ïóíêò 17 R' */ + if (rtb_duct_select_index_dbg_c > 1.0) { + rtb_Divide10 = 1.0; + } else if (rtb_duct_select_index_dbg_c < 0.0) { + rtb_Divide10 = 0.0; + } else { + rtb_Divide10 = rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/ïóíêò 17 R' */ + + /* Product: '/ïóíêò 13 L' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + rtb_Divide11 = (double)rtb_out_fhd / (double)rtb_out_fze; + + /* Saturate: '/ïóíêò 15 L' */ + if (rtb_Divide11 > 1.0) { + rtb_Divide11 = 1.0; + } + + /* End of Saturate: '/ïóíêò 15 L' */ + + /* Product: '/ïóíêò 13 R' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + rtb_duct_select_index_dbg_c = (double)rtb_out_fze / (double)rtb_out_fhd; + + /* Saturate: '/ïóíêò 15 R' */ + if (rtb_duct_select_index_dbg_c > 1.0) { + rtb_duct_select_index_dbg_c = 1.0; + } + + /* End of Saturate: '/ïóíêò 15 R' */ + + /* MATLAB Function: '/ïóíêòû 18-20' */ + /* : vector = [coef_17_L * coef_15_L, coef_17_L * coef_15_L, coef_17_R * coef_15_R, coef_17_R * coef_15_R, coef_17_L * coef_15_L, coef_17_R * coef_15_R]; */ + rtb_D *= rtb_Divide11; + + /* Product: '/Product2' incorporates: + * MATLAB Function: '/ïóíêòû 18-20' + */ + coeff_left[0] = rtb_D; + coeff_left[1] = rtb_D; + + /* MATLAB Function: '/ïóíêòû 18-20' */ + rtb_duct_select_index_dbg_c *= rtb_Divide10; + + /* Product: '/Product2' incorporates: + * MATLAB Function: '/ïóíêòû 18-20' + * Product: '/ïóíêòû 8-10' + */ + coeff_left[2] = rtb_duct_select_index_dbg_c; + coeff_left[3] = rtb_duct_select_index_dbg_c; + coeff_left[4] = rtb_D; + coeff_left[5] = rtb_duct_select_index_dbg_c; + for (i = 0; i < 6; i++) { + coeff_right[i] = rtb_u10[i] * coeff_left[i]; + } + + /* MATLAB Function: '/ïóíêò 21-23 (DRS for valves)' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * Product: '/Product2' + */ + /* : valves_with_DRS = valves; */ + /* : if (mode_left == 120) */ + if (rtDW.Index_mode_RL == 120) { + /* : param_index_L = 1; */ + i = 0; + } else { + /* : else */ + /* : param_index_L = 2; */ + i = 1; + } + + /* : index_start_L = (param_index_L - 1) * 3 + 1; */ + rtb_Cmd_3Way = i * 3 + 4; + + /* : if DRS_side_L == 0 */ + if (rtDW.DRS_SRL == 0) { + /* : side_percent_L = uint8(0); */ + min_side_L = 0U; + } else { + /* : else */ + /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start_L + 3 - DRS_side_L); */ + i = rtb_Cmd_3Way - rtDW.DRS_SRL; + if (i < 0) { + i = 0; + } + + min_side_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE[i - 1]; + } + + /* : if DRS_center_L == 0 */ + if (rtDW.DRS_CRL == 0) { + /* : center_percent_L = uint8(0); */ + max_side_L = 0U; + } else { + /* : else */ + /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start_L + 3 - DRS_center_L); */ + i = rtb_Cmd_3Way - rtDW.DRS_CRL; + if (i < 0) { + i = 0; + } + + max_side_L = g_aucREAR_CENT_DRS_PERCENT_VALVE[i - 1]; + } + + /* : if (mode_right == 120) */ + if (rtDW.Index_mode_RR == 120) { + /* : param_index_R = 1; */ + i = 0; + } else { + /* : else */ + /* : param_index_R = 2; */ + i = 1; + } + + /* : index_start_R = (param_index_R - 1) * 3 + 1; */ + rtb_Cmd_3Way = i * 3 + 4; + + /* : if DRS_side_R == 0 */ + if (rtDW.DRS_SRR == 0) { + /* : side_percent_R = uint8(0); */ + LowTempValve = 0U; + } else { + /* : else */ + /* : side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start_R + 3 - DRS_side_R); */ + i = rtb_Cmd_3Way - rtDW.DRS_SRR; + if (i < 0) { + i = 0; + } + + LowTempValve = g_aucREAR_SIDE_DRS_PERCENT_VALVE[i - 1]; + } + + /* : if DRS_center_R == 0 */ + if (rtDW.DRS_CRR == 0) { + /* : center_percent_R = uint8(0); */ + rtb_DataTypeConversion3_hs = 0U; + } else { + /* : else */ + /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start_R + 3 - DRS_center_R); */ + i = rtb_Cmd_3Way - rtDW.DRS_CRR; + if (i < 0) { + i = 0; + } + + rtb_DataTypeConversion3_hs = g_aucREAR_CENT_DRS_PERCENT_VALVE[i - 1]; + } + + /* : valves_with_DRS(1) = valves_with_DRS(1) * double(side_percent_L) * 0.01; */ + coeff_right[0] = coeff_right[0] * (double)min_side_L * 0.01; + + /* : valves_with_DRS(2) = valves_with_DRS(2) * double(center_percent_L) * 0.01; */ + coeff_right[1] = coeff_right[1] * (double)max_side_L * 0.01; + + /* : valves_with_DRS(3) = valves_with_DRS(3) * double(center_percent_R) * 0.01; */ + coeff_right[2] = coeff_right[2] * (double)rtb_DataTypeConversion3_hs * 0.01; + + /* : valves_with_DRS(4) = valves_with_DRS(4) * double(side_percent_R) * 0.01; */ + coeff_right[3] = coeff_right[3] * (double)LowTempValve * 0.01; + + /* End of MATLAB Function: '/ïóíêò 21-23 (DRS for valves)' */ + + /* MATLAB Function: '/òàáëèöà D184-E190 (Step 7 Minimum damper opening factor)' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + /* : AF_vector = [0, 20, 40, 80, 100, 120, 140, 160]; */ + /* : valve_pos_min_center_with_0 = double([0, g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO]) * 0.01; */ + valve_pos_min_center_with_0[0] = 0.0; + + /* : min_damper_opening_factor_L = zeros(1, 7); */ + /* : for i = 1:7 */ + /* : min_damper_opening_factor_R = zeros(1, 7); */ + /* : for i = 1:7 */ + for (i = 0; i < 7; i++) { + rtb_duct_select_index_dbg_c = (double) + g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO[i] * 0.01; + valve_pos_min_center_with_0[i + 1] = rtb_duct_select_index_dbg_c; + + /* : min_damper_opening_factor_L(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_L)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ + min_side_L = b[i + 1]; + rtb_D = min_side_L - b[i]; + rtb_Divide10 = valve_pos_min_center_with_0[i] - + rtb_duct_select_index_dbg_c; + min_damper_opening_factor_L[i] = (double)(min_side_L - rtb_out_fhd) / + rtb_D * rtb_Divide10 + rtb_duct_select_index_dbg_c; + + /* : min_damper_opening_factor_R(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_R)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ + min_damper_opening_factor_R[i] = (double)(min_side_L - rtb_out_fze) / + rtb_D * rtb_Divide10 + rtb_duct_select_index_dbg_c; + } + + /* : if AF_L == 0 */ + if (rtb_out_fhd == 0) { + /* : opening_factor_L = 0; */ + rtb_duct_select_index_dbg_c = 0.0; + } else if (rtb_out_fhd <= 20) { + /* : elseif AF_L <= AF_vector(2) */ + /* : opening_factor_L = min_damper_opening_factor_L(2); */ + rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[1]; + } else if (rtb_out_fhd <= 40) { + /* : elseif AF_L <= AF_vector(3) */ + /* : opening_factor_L = min_damper_opening_factor_L(3); */ + rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[2]; + } else if (rtb_out_fhd <= 80) { + /* : elseif AF_L <= AF_vector(4) */ + /* : opening_factor_L = min_damper_opening_factor_L(4); */ + rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[3]; + } else if (rtb_out_fhd <= 100) { + /* : elseif AF_L <= AF_vector(5) */ + /* : opening_factor_L = min_damper_opening_factor_L(5); */ + rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[4]; + } else if (rtb_out_fhd <= 120) { + /* : elseif AF_L <= AF_vector(6) */ + /* : opening_factor_L = min_damper_opening_factor_L(6); */ + rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[5]; + } else if (rtb_out_fhd <= 140) { + /* : elseif AF_L <= AF_vector(7) */ + /* : opening_factor_L = min_damper_opening_factor_L(7); */ + rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[6]; + } else { + /* : else */ + /* : opening_factor_L = min_damper_opening_factor_L(7); */ + rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[6]; + } + + /* : if AF_R == 0 */ + if (rtb_out_fze == 0) { + /* : opening_factor_R = 0; */ + rtb_D = 0.0; + } else if (rtb_out_fze <= 20) { + /* : elseif AF_R <= AF_vector(2) */ + /* : opening_factor_R = min_damper_opening_factor_R(2); */ + rtb_D = min_damper_opening_factor_R[1]; + } else if (rtb_out_fze <= 40) { + /* : elseif AF_R <= AF_vector(3) */ + /* : opening_factor_R = min_damper_opening_factor_R(3); */ + rtb_D = min_damper_opening_factor_R[2]; + } else if (rtb_out_fze <= 80) { + /* : elseif AF_R <= AF_vector(4) */ + /* : opening_factor_R = min_damper_opening_factor_R(4); */ + rtb_D = min_damper_opening_factor_R[3]; + } else if (rtb_out_fze <= 100) { + /* : elseif AF_R <= AF_vector(5) */ + /* : opening_factor_R = min_damper_opening_factor_R(5); */ + rtb_D = min_damper_opening_factor_R[4]; + } else if (rtb_out_fze <= 120) { + /* : elseif AF_R <= AF_vector(6) */ + /* : opening_factor_R = min_damper_opening_factor_R(6); */ + rtb_D = min_damper_opening_factor_R[5]; + } else if (rtb_out_fze <= 140) { + /* : elseif AF_R <= AF_vector(7) */ + /* : opening_factor_R = min_damper_opening_factor_R(7); */ + rtb_D = min_damper_opening_factor_R[6]; + } else { + /* : else */ + /* : opening_factor_R = min_damper_opening_factor_R(7); */ + rtb_D = min_damper_opening_factor_R[6]; + } + + /* End of MATLAB Function: '/òàáëèöà D184-E190 (Step 7 Minimum damper opening factor)' */ + + /* MATLAB Function: '/ïóíêò 25' */ + /* : valves(2) = max(valves(2), opening_factor_L); */ + coeff_right[1] = fmax(coeff_right[1], rtb_duct_select_index_dbg_c); + + /* : valves(3) = max(valves(3), opening_factor_R); */ + coeff_right[2] = fmax(coeff_right[2], rtb_D); + + /* : valves_out = valves; */ + for (i = 0; i < 6; i++) { + /* Saturate: '/ïóíêòû 26-28' */ + rtb_Divide11 = coeff_right[i]; + if (rtb_Divide11 > 1.0) { + rtb_Divide11 = 1.0; + } else if (rtb_Divide11 < 0.0) { + rtb_Divide11 = 0.0; + } + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Gain: '/Gain2' + * Saturate: '/ïóíêòû 26-28' + */ + rtB.DataTypeConversion2[i] = (uint8_t)rt_roundd(100.0 * rtb_Divide11); + } + + /* MATLAB Function: '/ïóíêò 24 (DRS for AF)' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + /* : if (mode_left == 120) */ + if (rtDW.Index_mode_RL == 120) { + /* : param_index_L = 1; */ + i = 0; + } else { + /* : else */ + /* : param_index_L = 2; */ + i = 1; + } + + /* : index_start_L = (param_index_L - 1) * 3 + 1; */ + rtb_Cmd_3Way = i * 3 + 4; + + /* : if DRS_side_L == 0 */ + if (rtDW.DRS_SRL == 0) { + /* : side_percent_L = uint8(0); */ + min_side_L = 0U; + } else { + /* : else */ + /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_L + 3 - DRS_side_L); */ + i = rtb_Cmd_3Way - rtDW.DRS_SRL; + if (i < 0) { + i = 0; + } + + min_side_L = g_aucREAR_SIDE_DRS_PERCENT_AF[i - 1]; + } + + /* : if DRS_center_L == 0 */ + if (rtDW.DRS_CRL == 0) { + /* : center_percent_L = uint8(0); */ + max_side_L = 0U; + } else { + /* : else */ + /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_L + 3 - DRS_center_L); */ + i = rtb_Cmd_3Way - rtDW.DRS_CRL; + if (i < 0) { + i = 0; + } + + max_side_L = g_aucREAR_CENT_DRS_PERCENT_AF[i - 1]; + } + + /* : if (mode_right == 120) */ + if (rtDW.Index_mode_RR == 120) { + /* : param_index_R = 1; */ + i = 0; + } else { + /* : else */ + /* : param_index_R = 2; */ + i = 1; + } + + /* : index_start_R = (param_index_R - 1) * 3 + 1; */ + rtb_Cmd_3Way = i * 3 + 4; + + /* : if DRS_side_R == 0 */ + if (rtDW.DRS_SRR == 0) { + /* : side_percent_R = uint8(0); */ + LowTempValve = 0U; + } else { + /* : else */ + /* : side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_R + 3 - DRS_side_R); */ + i = rtb_Cmd_3Way - rtDW.DRS_SRR; + if (i < 0) { + i = 0; + } + + LowTempValve = g_aucREAR_SIDE_DRS_PERCENT_AF[i - 1]; + } + + /* : if DRS_center_R == 0 */ + if (rtDW.DRS_CRR == 0) { + /* : center_percent_R = uint8(0); */ + rtb_DataTypeConversion3_hs = 0U; + } else { + /* : else */ + /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_R + 3 - DRS_center_R); */ + i = rtb_Cmd_3Way - rtDW.DRS_CRR; + if (i < 0) { + i = 0; + } + + rtb_DataTypeConversion3_hs = g_aucREAR_CENT_DRS_PERCENT_AF[i - 1]; + } + + /* : AF_with_DRS_L = double(side_percent_L + center_percent_L) / 2 * double(AF_L) * 0.01; */ + i = (int32_t)((uint32_t)min_side_L + max_side_L); + if ((uint32_t)i > 255U) { + i = 255; + } + + rtb_duct_select_index_dbg_c = (double)i / 2.0 * (double)rtb_out_fhd * 0.01; + + /* : AF_with_DRS_R = double(side_percent_R + center_percent_R) / 2 * double(AF_R) * 0.01; */ + i = (int32_t)((uint32_t)LowTempValve + rtb_DataTypeConversion3_hs); + if ((uint32_t)i > 255U) { + i = 255; + } + + rtb_D = (double)i / 2.0 * (double)rtb_out_fze * 0.01; + + /* End of MATLAB Function: '/ïóíêò 24 (DRS for AF)' */ + + /* MATLAB Function: '/MATLAB Function' */ + /* : if AF_L > AF_R */ + if (rtb_duct_select_index_dbg_c > rtb_D) { + /* : AF_coef = AF_L / AF_R; */ + rtb_Divide10 = rtb_duct_select_index_dbg_c / rtb_D; + } else { + /* : else */ + /* : AF_coef = AF_R / AF_L; */ + rtb_Divide10 = rtb_D / rtb_duct_select_index_dbg_c; + } + + /* : PWM_ratio = 1.2 - ((7 - AF_coef)/(7 - 1)*(1.2 - 1)); */ + /* : PWM = PWM_ratio * (AF_L + AF_R) / 4; */ + rtB.PWM = (1.2 - (7.0 - rtb_Divide10) / 6.0 * 0.19999999999999996) * + (rtb_duct_select_index_dbg_c + rtb_D) / 4.0; + + /* End of MATLAB Function: '/MATLAB Function' */ + } + + /* End of Outputs for SubSystem: '/DIFFERENT BLOWER - Rear' */ + + /* DataStoreWrite: '/Data Store Write1' */ + for (i = 0; i < 6; i++) { + rtDW.DifferentBlower_Rear_valves[i] = rtB.DataTypeConversion2[i]; + } + + /* End of DataStoreWrite: '/Data Store Write1' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.FrontWindowHeating_req = rtDW.electric_demist_started; + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * Constant: '/const2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator5' + */ + if (rtDW.electric_demist_started) { + i = 1; + } else { + i = (rtDW.AMB <= g_ssAUTODEMIST_ELEC_AMB_ENTRY); + } + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator7' + */ + if (rtb_Divide1_jg <= g_assAUTODEMIST_ELEC_WINDSHELD_TEMP[1]) { + /* Switch: '/Switch1' incorporates: + * Constant: '/const1' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator5' + */ + if (rtDW.electric_demist_started) { + rtb_Cmd_3Way = 1; + } else { + rtb_Cmd_3Way = (rtb_Divide1_jg <= g_assAUTODEMIST_ELEC_WINDSHELD_TEMP[0]); + } + + /* End of Switch: '/Switch1' */ + } else { + rtb_Cmd_3Way = 0; + } + + /* Logic: '/AND' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator6' + * Switch: '/Switch' + * Switch: '/Switch2' + */ + rtDW.electric_demist_started = ((rtDW.FrontWindowHeating_manual_on != 1) && (i + != 0) && (rtDW.CCU_MODE_FL == 1) && (rtb_Cmd_3Way != 0) && + (rtDW.step_start_controle_front == 3)); + + /* Outputs for Atomic SubSystem: '/Emergency_Air_Cleaning' */ + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/auto3' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + */ + /* : if isempty(armed) */ + /* : if FireExtinguish == 1 */ + if (rtDW.ADC_Key_Data_Model.FireExtinguishSwitch == 1) { + /* : if ~armed */ + if (!rtDW.armed_i2) { + /* : armed = true; */ + rtDW.armed_i2 = true; + + /* : deadline = t_now + hold_timeout; */ + rtDW.deadline_c = rtDW.t_now + /*MW:OvSatOk*/ 200U; + if (rtDW.t_now + 200U < rtDW.t_now) { + rtDW.deadline_c = UINT32_MAX; + } + } + + /* : is_active = (t_now >= deadline); */ + CCU_AC_FRONT_req_summary = (rtDW.t_now >= rtDW.deadline_c); + } else { + /* : else */ + /* : armed = false; */ + rtDW.armed_i2 = false; + + /* : is_active = false; */ + CCU_AC_FRONT_req_summary = false; + } + + /* End of MATLAB Function: '/MATLAB Function1' */ + + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/auto2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write6' + */ + /* : if isempty(armed) */ + /* : if EmergencyAirClean == 1 */ + if (rtDW.ADC_Key_Data_Model.EmergencyAirCleanSwitch == 1) { + /* : if ~armed */ + if (!rtDW.armed_g) { + /* : armed = true; */ + rtDW.armed_g = true; + + /* : deadline = t_now + hold_timeout; */ + rtDW.deadline_g0 = rtDW.t_now + /*MW:OvSatOk*/ 200U; + if (rtDW.t_now + 200U < rtDW.t_now) { + rtDW.deadline_g0 = UINT32_MAX; + } + } + + /* : is_active = (t_now >= deadline); */ + Enable_Comp_PID = (rtDW.t_now >= rtDW.deadline_g0); + } else { + /* : else */ + /* : armed = false; */ + rtDW.armed_g = false; + + /* : is_active = false; */ + Enable_Comp_PID = false; + } + + /* End of MATLAB Function: '/MATLAB Function' */ + + /* MATLAB Function: '/MATLAB Function2' incorporates: + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write6' + */ + /* : if isempty(armed) */ + /* : MODE_ACTIVE_EMERGENCY_AIR = uint8(11); */ + /* : if mode_reg_active == MODE_ACTIVE_EMERGENCY_AIR */ + if (rtDW.EAC_OR_FIRE_mode == 11) { + /* : if EmergencyAirClean == 0 */ + if (rtDW.ADC_Key_Data_Model.EmergencyAirCleanSwitch == 0) { + /* : if ~armed */ + if (!rtDW.armed_n) { + /* : armed = true; */ + rtDW.armed_n = true; + + /* : deadline = t_now + hold_timeout; */ + rtDW.deadline_e = rtDW.t_now + /*MW:OvSatOk*/ 200U; + if (rtDW.t_now + 200U < rtDW.t_now) { + rtDW.deadline_e = UINT32_MAX; + } + } + + /* : is_active = (t_now >= deadline); */ + Duct1_R_error = (rtDW.t_now >= rtDW.deadline_e); + } else { + /* : else */ + /* : armed = false; */ + rtDW.armed_n = false; + + /* : is_active = false; */ + Duct1_R_error = false; + } + } else { + /* : else */ + /* : armed = false; */ + rtDW.armed_n = false; + + /* : deadline = uint32(0); */ + rtDW.deadline_e = 0U; + + /* : is_active = false; */ + Duct1_R_error = false; + } + + /* End of MATLAB Function: '/MATLAB Function2' */ + + /* MATLAB Function: '/MATLAB Function3' incorporates: + * Constant: '/auto6' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + */ + /* : if isempty(armed) */ + /* : MODE_ACTIVE_FIRE_EXTINGUISH = uint8(10); */ + /* : if mode_reg_active == MODE_ACTIVE_FIRE_EXTINGUISH */ + if (rtDW.EAC_OR_FIRE_mode == 10) { + /* : if FireExtinguish == 0 */ + if (rtDW.ADC_Key_Data_Model.FireExtinguishSwitch == 0) { + /* : if ~armed */ + if (!rtDW.armed_i) { + /* : armed = true; */ + rtDW.armed_i = true; + + /* : deadline = t_now + hold_timeout; */ + rtDW.deadline_g = rtDW.t_now + /*MW:OvSatOk*/ 200U; + if (rtDW.t_now + 200U < rtDW.t_now) { + rtDW.deadline_g = UINT32_MAX; + } + } + + /* : is_active = (t_now >= deadline); */ + Duct2_R_error = (rtDW.t_now >= rtDW.deadline_g); + } else { + /* : else */ + /* : armed = false; */ + rtDW.armed_i = false; + + /* : is_active = false; */ + Duct2_R_error = false; + } + } else { + /* : else */ + /* : armed = false; */ + rtDW.armed_i = false; + + /* : deadline = uint32(0); */ + rtDW.deadline_g = 0U; + + /* : is_active = false; */ + Duct2_R_error = false; + } + + /* End of MATLAB Function: '/MATLAB Function3' */ + + /* MATLAB Function: '/MATLAB Function4' incorporates: + * Constant: '/auto9' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read4' + */ + /* : if isempty(armed) */ + /* : if ButtonRecirculationToggleState == 2 */ + if (rtDW.CCPF_RecButton_Stat == 2) { + /* : if ~armed */ + if (!rtDW.armed) { + /* : armed = true; */ + rtDW.armed = true; + + /* : deadline = t_now + button_hold_timeout; */ + rtDW.deadline = rtDW.t_now + /*MW:OvSatOk*/ 3000U; + if (rtDW.t_now + 3000U < rtDW.t_now) { + rtDW.deadline = UINT32_MAX; + } + } + + /* : is_active = (t_now >= deadline); */ + rtb_RelationalOperator6_f = (rtDW.t_now >= rtDW.deadline); + } else { + /* : else */ + /* : armed = false; */ + rtDW.armed = false; + + /* : is_active = false; */ + rtb_RelationalOperator6_f = false; + } + + /* End of MATLAB Function: '/MATLAB Function4' */ + + /* MATLAB Function: '/EmergencyAirCleaning' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write9' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + */ + /* : MODE_OFF = uint8(0); */ + /* : MODE_ENTRY_STEP1 = uint8(1); */ + /* : MODE_ENTRY_STEP2 = uint8(2); */ + /* : MODE_ENTRY_STEP3 = uint8(3); */ + /* : MODE_ACTIVE_FIRE_EXTINGUISH = uint8(10); */ + /* : MODE_ACTIVE_EMERGENCY_AIR = uint8(11); */ + /* : MODE_EXIT = uint8(15); */ + /* : CONDITION_NONE = uint8(0); */ + /* : CONDITION_1_FIRE_EXT = uint8(1); */ + /* : CONDITION_2_EMERG_AIR_CLEAN = uint8(2); */ + /* : CCU_FLAG_OFF = uint8(0); */ + /* : CCU_FLAG_ON = uint8(1); */ + /* : if isempty(is_active_persistent) */ + if (!rtDW.is_active_persistent_not_empty_p) { + /* : mode_reg = MODE_OFF; */ + /* : is_active_persistent = false; */ + rtDW.is_active_persistent_not_empty_p = true; + + /* : active_condition_reg = CONDITION_NONE; */ + rtDW.active_condition_reg_m = 0U; + + /* : user_edit_FRONT_FL_blower_speed = false; */ + /* : user_edit_FRONT_FR_blower_speed = false; */ + /* : user_edit_REAR_RL_blower_speed = false; */ + /* : user_edit_REAR_RR_blower_speed = false; */ + } + + /* : CCU_FireExtinguishSys_Stat = CCU_FLAG_OFF; */ + rtDW.CCU_FireExtinguishSys_Stat = 0U; + + /* : CCU_EmergAirCleaning_Stat = CCU_FLAG_OFF; */ + rtDW.CCU_EmergAirCleaning_Stat = 0U; + + /* : sealingValve = uint8(100); */ + min_side_L = 100U; + + /* : FIU_CCU1_model_out = FIU_CCU1_model_in; */ + rtDW.FIU_CCU1_EAC_or_FIRE = rtDW.FIU_CCU1_MODEL; + + /* : FIU_CCU2_model_out = FIU_CCU2_model_in; */ + rtDW.FIU_CCU2_EAC_or_FIRE = rtDW.FIU_CCU2_MODEL; + + /* : if is_active_persistent == false && ... */ + /* : (entry_conditions_Fire_Extinguish_System == true || ... */ + /* : entry_conditions_Emergency_Air_Cleaning == true) */ + if ((!rtDW.is_active_persistent_a) && (CCU_AC_FRONT_req_summary || + Enable_Comp_PID)) { + /* : is_active_persistent = true; */ + rtDW.is_active_persistent_a = true; + + /* : mode_reg = MODE_ENTRY_STEP1; */ + rtDW.mode_reg_i = 1U; + + /* : if entry_conditions_Fire_Extinguish_System == true */ + if (CCU_AC_FRONT_req_summary) { + /* : active_condition_reg = CONDITION_1_FIRE_EXT; */ + rtDW.active_condition_reg_m = 1U; + } else { + /* : else */ + /* : active_condition_reg = CONDITION_2_EMERG_AIR_CLEAN; */ + rtDW.active_condition_reg_m = 2U; + } + } else if ((Duct1_R_error || Duct2_R_error) && rtb_RelationalOperator6_f && + rtDW.is_active_persistent_a) { + /* : elseif exit_conditions == true && is_active_persistent == true */ + /* : is_active_persistent = false; */ + rtDW.is_active_persistent_a = false; + + /* : mode_reg = MODE_EXIT; */ + rtDW.mode_reg_i = 15U; + } + + /* : is_control_valves_FL = user_edit_FRONT_FL_blower_speed; */ + CCU_AC_FRONT_req_summary = rtDW.user_edit_FRONT_FL_blower_speed; + + /* : is_control_valves_FR = user_edit_FRONT_FR_blower_speed; */ + Enable_Comp_PID = rtDW.user_edit_FRONT_FR_blower_speed; + + /* : is_control_valves_RL = user_edit_REAR_RL_blower_speed; */ + Duct1_R_error = rtDW.user_edit_REAR_RL_blower_speed; + + /* : is_control_valves_RR = user_edit_REAR_RR_blower_speed; */ + Duct2_R_error = rtDW.user_edit_REAR_RR_blower_speed; + + /* : mode_reg_active = mode_reg; */ + max_side_L = rtDW.mode_reg_i; + + /* : switch mode_reg */ + switch (rtDW.mode_reg_i) { + case 0U: + /* : case MODE_OFF */ + /* : is_active = is_active_persistent; */ + rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; + break; + + case 1U: + /* : case MODE_ENTRY_STEP1 */ + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(1); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(1); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFR_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = uint8(8); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFL_Req = 8U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = uint8(8); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFR_Req = 8U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = uint8(1); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRL_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = uint8(1); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRR_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRL_Req = uint8(8); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRL_Req = 8U; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRR_Req = uint8(8); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRR_Req = 8U; + + /* : user_edit_FRONT_FL_blower_speed = false; */ + rtDW.user_edit_FRONT_FL_blower_speed = false; + + /* : user_edit_FRONT_FR_blower_speed = false; */ + rtDW.user_edit_FRONT_FR_blower_speed = false; + + /* : user_edit_REAR_RL_blower_speed = false; */ + rtDW.user_edit_REAR_RL_blower_speed = false; + + /* : user_edit_REAR_RR_blower_speed = false; */ + rtDW.user_edit_REAR_RR_blower_speed = false; + + /* : mode_reg = MODE_ENTRY_STEP2; */ + rtDW.mode_reg_i = 2U; + + /* : is_active = is_active_persistent; */ + rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; + break; + + case 2U: + /* : case MODE_ENTRY_STEP2 */ + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFR_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = uint8(8); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFL_Req = 8U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = uint8(8); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFR_Req = 8U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRL_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRR_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRL_Req = uint8(8); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRL_Req = 8U; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRR_Req = uint8(8); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRR_Req = 8U; + + /* : mode_reg = MODE_ENTRY_STEP3; */ + rtDW.mode_reg_i = 3U; + + /* : is_active = is_active_persistent; */ + rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; + break; + + case 3U: + /* : case MODE_ENTRY_STEP3 */ + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFR_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = uint8(8); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFL_Req = 8U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = uint8(8); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFR_Req = 8U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRL_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRR_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRL_Req = uint8(8); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRL_Req = 8U; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRR_Req = uint8(8); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRR_Req = 8U; + + /* : if active_condition_reg == CONDITION_1_FIRE_EXT */ + switch (rtDW.active_condition_reg_m) { + case 1: + /* : mode_reg = MODE_ACTIVE_FIRE_EXTINGUISH; */ + rtDW.mode_reg_i = 10U; + break; + + case 2: + /* : elseif active_condition_reg == CONDITION_2_EMERG_AIR_CLEAN */ + /* : mode_reg = MODE_ACTIVE_EMERGENCY_AIR; */ + rtDW.mode_reg_i = 11U; + break; + + default: + /* : else */ + /* : mode_reg = MODE_EXIT; */ + rtDW.mode_reg_i = 15U; + + /* : is_active_persistent = false; */ + rtDW.is_active_persistent_a = false; + break; + } + + /* : is_active = is_active_persistent; */ + rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; + break; + + case 10U: + /* : case MODE_ACTIVE_FIRE_EXTINGUISH */ + /* : FIU_CCU1_model_out.FIU_Recirculation_Req = uint8(1); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_Recirculation_Req = 1U; + + /* : CCU_FireExtinguishSys_Stat = CCU_FLAG_ON; */ + rtDW.CCU_FireExtinguishSys_Stat = 1U; + + /* : CCU_EmergAirCleaning_Stat = CCU_FLAG_OFF; */ + rtDW.CCU_EmergAirCleaning_Stat = 0U; + + /* : sealingValve = uint8(0); */ + min_side_L = 0U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFR_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRL_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRR_Req = 0U; + + /* : if FIU_CCU1_model_in.FIU_BlowerSpeedFL_Req ~= 0 */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req != 0) { + /* : if FIU_CCU1_model_in.FIU_BlowerSpeedFL_Req == 8 */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req == 8) { + /* : user_edit_FRONT_FL_blower_speed = false; */ + rtDW.user_edit_FRONT_FL_blower_speed = false; + } else { + /* : else */ + /* : user_edit_FRONT_FL_blower_speed = true; */ + rtDW.user_edit_FRONT_FL_blower_speed = true; + } + } + + /* : if FIU_CCU1_model_in.FIU_BlowerSpeedFR_Req ~= 0 */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req != 0) { + /* : if FIU_CCU1_model_in.FIU_BlowerSpeedFR_Req == 8 */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req == 8) { + /* : user_edit_FRONT_FR_blower_speed = false; */ + rtDW.user_edit_FRONT_FR_blower_speed = false; + } else { + /* : else */ + /* : user_edit_FRONT_FR_blower_speed = true; */ + rtDW.user_edit_FRONT_FR_blower_speed = true; + } + } + + /* : if FIU_CCU2_model_in.FIU_BlowerSpeedRL_Req ~= 0 */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req != 0) { + /* : if FIU_CCU2_model_in.FIU_BlowerSpeedRL_Req == 8 */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req == 8) { + /* : user_edit_REAR_RL_blower_speed = false; */ + rtDW.user_edit_REAR_RL_blower_speed = false; + } else { + /* : else */ + /* : user_edit_REAR_RL_blower_speed = true; */ + rtDW.user_edit_REAR_RL_blower_speed = true; + } + } + + /* : if FIU_CCU2_model_in.FIU_BlowerSpeedRR_Req ~= 0 */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req != 0) { + /* : if FIU_CCU2_model_in.FIU_BlowerSpeedRR_Req == 8 */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req == 8) { + /* : user_edit_REAR_RR_blower_speed = false; */ + rtDW.user_edit_REAR_RR_blower_speed = false; + } else { + /* : else */ + /* : user_edit_REAR_RR_blower_speed = true; */ + rtDW.user_edit_REAR_RR_blower_speed = true; + } + } + + /* : if user_edit_FRONT_FL_blower_speed == false */ + if (!rtDW.user_edit_FRONT_FL_blower_speed) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Face_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Foot_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Def_Req = 0U; + } + + /* : if user_edit_FRONT_FR_blower_speed == false */ + if (!rtDW.user_edit_FRONT_FR_blower_speed) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Face_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Foot_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Def_Req = 0U; + } + + /* : if user_edit_REAR_RL_blower_speed == false */ + if (!rtDW.user_edit_REAR_RL_blower_speed) { + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Face_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Foot_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Def_Req = 0U; + } + + /* : if user_edit_REAR_RR_blower_speed == false */ + if (!rtDW.user_edit_REAR_RR_blower_speed) { + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Face_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Foot_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Def_Req = 0U; + } + + /* : is_active = is_active_persistent; */ + rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; + break; + + case 11U: + /* : case MODE_ACTIVE_EMERGENCY_AIR */ + /* : FIU_CCU1_model_out.FIU_Recirculation_Req = uint8(1); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_Recirculation_Req = 1U; + + /* : CCU_FireExtinguishSys_Stat = CCU_FLAG_OFF; */ + rtDW.CCU_FireExtinguishSys_Stat = 0U; + + /* : CCU_EmergAirCleaning_Stat = CCU_FLAG_ON; */ + rtDW.CCU_EmergAirCleaning_Stat = 1U; + + /* : sealingValve = uint8(0); */ + min_side_L = 0U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFR_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRL_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRR_Req = 0U; + + /* : if FIU_CCU1_model_in.FIU_BlowerSpeedFL_Req ~= 0 */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req != 0) { + /* : if FIU_CCU1_model_in.FIU_BlowerSpeedFL_Req == 8 */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req == 8) { + /* : user_edit_FRONT_FL_blower_speed = false; */ + rtDW.user_edit_FRONT_FL_blower_speed = false; + } else { + /* : else */ + /* : user_edit_FRONT_FL_blower_speed = true; */ + rtDW.user_edit_FRONT_FL_blower_speed = true; + } + } + + /* : if FIU_CCU1_model_in.FIU_BlowerSpeedFR_Req ~= 0 */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req != 0) { + /* : if FIU_CCU1_model_in.FIU_BlowerSpeedFR_Req == 8 */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req == 8) { + /* : user_edit_FRONT_FR_blower_speed = false; */ + rtDW.user_edit_FRONT_FR_blower_speed = false; + } else { + /* : else */ + /* : user_edit_FRONT_FR_blower_speed = true; */ + rtDW.user_edit_FRONT_FR_blower_speed = true; + } + } + + /* : if FIU_CCU2_model_in.FIU_BlowerSpeedRL_Req ~= 0 */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req != 0) { + /* : if FIU_CCU2_model_in.FIU_BlowerSpeedRL_Req == 8 */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req == 8) { + /* : user_edit_REAR_RL_blower_speed = false; */ + rtDW.user_edit_REAR_RL_blower_speed = false; + } else { + /* : else */ + /* : user_edit_REAR_RL_blower_speed = true; */ + rtDW.user_edit_REAR_RL_blower_speed = true; + } + } + + /* : if FIU_CCU2_model_in.FIU_BlowerSpeedRR_Req ~= 0 */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req != 0) { + /* : if FIU_CCU2_model_in.FIU_BlowerSpeedRR_Req == 8 */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req == 8) { + /* : user_edit_REAR_RR_blower_speed = false; */ + rtDW.user_edit_REAR_RR_blower_speed = false; + } else { + /* : else */ + /* : user_edit_REAR_RR_blower_speed = true; */ + rtDW.user_edit_REAR_RR_blower_speed = true; + } + } + + /* : if user_edit_FRONT_FL_blower_speed == false */ + if (!rtDW.user_edit_FRONT_FL_blower_speed) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Face_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Foot_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Def_Req = 0U; + } + + /* : if user_edit_FRONT_FR_blower_speed == false */ + if (!rtDW.user_edit_FRONT_FR_blower_speed) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Face_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Foot_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(0); */ + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Def_Req = 0U; + } + + /* : if user_edit_REAR_RL_blower_speed == false */ + if (!rtDW.user_edit_REAR_RL_blower_speed) { + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Face_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Foot_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Def_Req = 0U; + } + + /* : if user_edit_REAR_RR_blower_speed == false */ + if (!rtDW.user_edit_REAR_RR_blower_speed) { + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Face_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Foot_Req = 0U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(0); */ + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Def_Req = 0U; + } + + /* : is_active = is_active_persistent; */ + rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; + break; + + case 15U: + /* : case MODE_EXIT */ + /* : CCU_FireExtinguishSys_Stat = CCU_FLAG_OFF; */ + rtDW.CCU_FireExtinguishSys_Stat = 0U; + + /* : CCU_EmergAirCleaning_Stat = CCU_FLAG_OFF; */ + rtDW.CCU_EmergAirCleaning_Stat = 0U; + + /* : user_edit_FRONT_FL_blower_speed = false; */ + rtDW.user_edit_FRONT_FL_blower_speed = false; + + /* : user_edit_FRONT_FR_blower_speed = false; */ + rtDW.user_edit_FRONT_FR_blower_speed = false; + + /* : user_edit_REAR_RL_blower_speed = false; */ + rtDW.user_edit_REAR_RL_blower_speed = false; + + /* : user_edit_REAR_RR_blower_speed = false; */ + rtDW.user_edit_REAR_RR_blower_speed = false; + + /* : mode_reg = MODE_OFF; */ + rtDW.mode_reg_i = 0U; + + /* : active_condition_reg = CONDITION_NONE; */ + rtDW.active_condition_reg_m = 0U; + + /* : is_active = true; */ + rtDW.EAC_OR_FIRE_is_active = true; + break; + + default: + /* : is_active = is_active_persistent; */ + rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; + break; + } + + /* End of MATLAB Function: '/EmergencyAirCleaning' */ + + /* MATLAB Function: '/MATLAB Function5' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + */ + /* : MODE_ACTIVE_FIRE_EXTINGUISH = uint8(10); */ + /* : MODE_ACTIVE_EMERGENCY_AIR = uint8(11); */ + /* : mode_active = (mode_reg_active == MODE_ACTIVE_EMERGENCY_AIR) || ... */ + /* : (mode_reg_active == MODE_ACTIVE_FIRE_EXTINGUISH); */ + rtb_RelationalOperator6_f = ((rtDW.EAC_OR_FIRE_mode == 11) || + (rtDW.EAC_OR_FIRE_mode == 10)); + + /* : if isempty(wasActive) */ + if (!rtDW.wasActive_not_empty) { + /* : wasActive = false; */ + rtDW.wasActive_not_empty = true; + + /* : tStart = t_now; */ + rtDW.tStart = rtDW.t_now; + } + + /* : if mode_active */ + if (rtb_RelationalOperator6_f) { + /* : if ~wasActive */ + if (!rtDW.wasActive) { + /* : tStart = t_now; */ + rtDW.tStart = rtDW.t_now; + } + + /* : phase = mod(double(t_now) - double(tStart), 2000); */ + rtb_duct_select_index_dbg_c = (double)rtDW.t_now - (double)rtDW.tStart; + if (rtb_duct_select_index_dbg_c == 0.0) { + i = 0; + } else { + i = (int32_t)fmod(rtb_duct_select_index_dbg_c, 2000.0); + if ((i != 0) && (rtb_duct_select_index_dbg_c < 0.0)) { + i += 2000; + } + } + + /* : ledOn = (phase < 1000); */ + rtDW.Recirc_LED_EAC_or_FIRE = (i < 1000); + } else { + /* : else */ + /* : ledOn = false; */ + rtDW.Recirc_LED_EAC_or_FIRE = false; + + /* : tStart = t_now; */ + rtDW.tStart = rtDW.t_now; + } + + /* : wasActive = mode_active; */ + rtDW.wasActive = rtb_RelationalOperator6_f; + + /* End of MATLAB Function: '/MATLAB Function5' */ + /* End of Outputs for SubSystem: '/Emergency_Air_Cleaning' */ + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.EAC_OR_FIRE_mode = max_side_L; + + /* RelationalOperator: '/Equal' incorporates: + * Constant: '/vent_rear' + * DataStoreRead: '/Data Store Read16' + */ + rtb_Compare_mg = (rtDW.Index_mode_RL == 120); + + /* RelationalOperator: '/Equal1' incorporates: + * Constant: '/vent_rear1' + * DataStoreRead: '/Data Store Read17' + */ + rtb_Compare_e = (rtDW.Index_mode_RR == 120); + + /* Outputs for Atomic SubSystem: '/FOOT2_CONTROL' */ + /* Lookup_n-D: '/DuctTgt_Plus_LV3' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_DataTypeConversion1_oq = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, + &g_assFoot2_Lv3_Amb[0], &g_assFoot2_Lv3_DuctTgt_Plus[0], 5U); + + /* Lookup_n-D: '/DuctTgt_Plus_LV4' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_Switch2_nb = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFoot2_Lv4_Amb[0], + &g_assFoot2_Lv4_DuctTgt_Plus[0], 5U); + + /* Lookup_n-D: '/DuctTgt_Plus_LV5' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_DuctTgt_Plus_LV5 = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, + &g_assFoot2_Lv5_Amb[0], &g_assFoot2_Lv5_DuctTgt_Plus[0], 5U); + + /* MATLAB Function: '/Foot2DuctControl_Limo_RL' */ + /* : Foot2Duct_FL = int16(0); */ + rtb_Foot2Duct_FL_n = 0; + + /* : is_active = false; */ + rtb_Compare_pnq = false; + + /* MATLAB Function: '/Foot2DuctControl_Limo_RR' */ + /* : if CAL_VARIANT ~= 3 */ + /* : Foot2Duct_FR = int16(0); */ + rtb_Foot2Duct_FR_j = 0; + + /* : is_active = false; */ + rtb_RelationalOperator6_f = false; + + /* MATLAB Function: '/Foot2DuctControl_Limo_RL' incorporates: + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Foot2DuctControl_Limo_RR' + */ + /* : if CAL_VARIANT ~= 3 */ + if (g_ucCAL_VARIANT == 3) { + /* : if (RL_Mode == 0 || RL_Mode == 2) && (RL_Direction_Vent == 1) */ + if (((rtDW.CCU_MODE_RL == 0) || (rtDW.CCU_MODE_RL == 2)) && rtb_Compare_mg) + { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_pnq = true; + + /* : if FIU_RL_footBlowDis_Req == 1 */ + } else if (rtDW.CCU_foot_blower_dis_RL == 1) { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_pnq = true; + } else { + /* : switch ambLV */ + switch (rtDW.LEVEL) { + case 0U: + case 1U: + /* : case {0, 1} */ + /* : Foot2Duct_FL = int16(100); */ + rtb_Foot2Duct_FL_n = 100; + + /* : is_active = true; */ + rtb_Compare_pnq = true; + break; + + case 2U: + /* : case 2 */ + /* : if RL_Rset < 210 */ + if (rtDW.CCU_SET_RL < 210) { + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL_n = 50; + + /* : is_active = true; */ + rtb_Compare_pnq = true; + } else { + /* : else */ + /* : Foot2Duct_FL = int16(100); */ + rtb_Foot2Duct_FL_n = 100; + + /* : is_active = true; */ + rtb_Compare_pnq = true; + } + break; + + case 3U: + /* : case 3 */ + /* : if RL_Rset < 210 */ + if (rtDW.CCU_SET_RL < 210) { + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL_n = 50; + + /* : is_active = true; */ + rtb_Compare_pnq = true; + } else { + /* : else */ + /* : Foot2Duct_FL = int16(100); */ + rtb_Foot2Duct_FL_n = 100; + + /* : is_active = true; */ + rtb_Compare_pnq = true; + } + break; + + case 4U: + case 5U: + /* : case {4, 5} */ + /* : if RL_Rset < 210 */ + if (rtDW.CCU_SET_RL < 210) { + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL_n = 50; + + /* : is_active = true; */ + rtb_Compare_pnq = true; + } else { + /* : else */ + /* : Foot2Duct_FL = int16(100); */ + rtb_Foot2Duct_FL_n = 100; + + /* : is_active = true; */ + rtb_Compare_pnq = true; + } + break; + + default: + /* : otherwise */ + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_pnq = true; + break; + } + } + + /* : if (RR_Mode == 0 || RR_Mode == 2) && (RR_Direction_Vent == 1) */ + if (((rtDW.CCU_MODE_RR == 0) || (rtDW.CCU_MODE_RR == 2)) && rtb_Compare_e) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + + /* : if FIU_RR_footBlowDis_Req == 1 */ + } else if (rtDW.CCU_foot_blower_dis_RR == 1) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + } else { + /* : switch ambLV */ + switch (rtDW.LEVEL) { + case 0U: + case 1U: + /* : case {0, 1} */ + /* : Foot2Duct_FR = int16(100); */ + rtb_Foot2Duct_FR_j = 100; + + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + break; + + case 2U: + /* : case 2 */ + /* : if RR_Rset < 210 */ + if (rtDW.Duct_RR_Tg < 210) { + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR_j = 50; + + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + } else { + /* : else */ + /* : Foot2Duct_FR = int16(100); */ + rtb_Foot2Duct_FR_j = 100; + + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + } + break; + + case 3U: + /* : case 3 */ + /* : if RR_Rset < 210 */ + if (rtDW.Duct_RR_Tg < 210) { + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR_j = 50; + + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + } else { + /* : else */ + /* : Foot2Duct_FR = int16(100); */ + rtb_Foot2Duct_FR_j = 100; + + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + } + break; + + case 4U: + case 5U: + /* : case {4, 5} */ + /* : if RR_Rset < 210 */ + if (rtDW.Duct_RR_Tg < 210) { + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR_j = 50; + + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + } else { + /* : else */ + /* : Foot2Duct_FR = int16(100); */ + rtb_Foot2Duct_FR_j = 100; + + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + } + break; + + default: + /* : otherwise */ + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_RelationalOperator6_f = true; + break; + } + } + } + + /* Lookup_n-D: '/FrontBlr_LV0' incorporates: + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Lookup_n-D: '/FrontBlr_LV1' + */ + rtb_FrontBlr_LV0_tmp = look1_iu16lu64n48Ds32Is16_binlcs((uint16_t)(10U * + rtDW.PWM_front), &g_ausFoot2_Lv1_Foot2Act_Y[0], &g_ausFoot2_Lv1_FrontBlr_X[0], + 2U); + + /* MATLAB Function: '/Foot2DuctControl_RL' incorporates: + * Constant: '/auto1' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read36' + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * Lookup_n-D: '/FrontBlr_LV0' + */ + /* : if isempty(hystLV2_FL) */ + /* : if isempty(hystLV3_FL) */ + /* : Foot2Duct_FL = int16(0); */ + rtb_Foot2Duct_FL = 0; + + /* : is_active = false; */ + rtb_Compare_ff = false; + + /* : if CAL_VARIANT == 3 */ + if (g_ucCAL_VARIANT != 3) { + /* : if (RL_Mode == 0 || RL_Mode == 2) && (RL_Direction_Vent == 1) */ + if (((rtDW.CCU_MODE_RL == 0) || (rtDW.CCU_MODE_RL == 2)) && rtb_Compare_mg) + { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + + /* : hystLV2_FL = false; */ + rtDW.hystLV2_FL = false; + + /* : hystLV3_FL = false; */ + rtDW.hystLV3_FL = false; + + /* : if FIU_RL_footBlowDis_Req == 1 */ + } else if (rtDW.CCU_foot_blower_dis_RL == 1) { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + + /* : hystLV2_FL = false; */ + rtDW.hystLV2_FL = false; + + /* : hystLV3_FL = false; */ + rtDW.hystLV3_FL = false; + } else { + /* : switch ambLV */ + switch (rtDW.LEVEL) { + case 0U: + /* : case 0 */ + /* : hystLV2_FL = false; */ + rtDW.hystLV2_FL = false; + + /* : hystLV3_FL = false; */ + rtDW.hystLV3_FL = false; + + /* : if RL_Rset >= 250 */ + if (rtDW.CCU_SET_RL >= 250) { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + i = Duct3_F - 120; + if (Duct3_F - 120 < -32768) { + i = -32768; + } + + rtb_Cmd_3Way = Duct3_F + 80; + if (Duct3_F + 80 > 32767) { + rtb_Cmd_3Way = 32767; + } + + if ((i <= rtb_Merge_b) && (rtb_Merge_b <= rtb_Cmd_3Way)) { + /* : elseif (FL_DuctFb - 120 <= RL_Dtg) && (RL_Dtg <= FL_DuctFb + 80) */ + /* : Foot2Duct_FL = int16(FrontBlr_LV0); */ + rtb_Foot2Duct_FL = rtb_FrontBlr_LV0_tmp; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } + } + break; + + case 1U: + /* : case 1 */ + /* : hystLV2_FL = false; */ + rtDW.hystLV2_FL = false; + + /* : hystLV3_FL = false; */ + rtDW.hystLV3_FL = false; + + /* : if RL_Rset >= 250 */ + if (rtDW.CCU_SET_RL >= 250) { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + i = Duct3_F - 120; + if (Duct3_F - 120 < -32768) { + i = -32768; + } + + rtb_Cmd_3Way = Duct3_F + 80; + if (Duct3_F + 80 > 32767) { + rtb_Cmd_3Way = 32767; + } + + if ((i <= rtb_Merge_b) && (rtb_Merge_b <= rtb_Cmd_3Way)) { + /* : elseif (FL_DuctFb - 120 <= RL_Dtg) && (RL_Dtg <= FL_DuctFb + 80) */ + /* : Foot2Duct_FL = int16(FrontBlr_LV1); */ + rtb_Foot2Duct_FL = rtb_FrontBlr_LV0_tmp; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } + } + break; + + case 2U: + /* : case 2 */ + /* : hystLV3_FL = false; */ + rtDW.hystLV3_FL = false; + + /* : diffVal = Sen_Duct_RL_Side_Fb - Sen_Duct_FL_Lower_Tgt; */ + /* : if hystLV2_FL */ + if (rtDW.hystLV2_FL) { + /* : diffActive = diffVal > Threshold_Diff_OFF_LV2; */ + i = Duct5_F - rtb_y_ds; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_Compare_gq = (i > g_assFoot2_Lv2_Threshold_Diff[1]); + } else { + /* : else */ + /* : diffActive = diffVal > Threshold_Diff_ON_LV2; */ + i = Duct5_F - rtb_y_ds; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_Compare_gq = (i > g_assFoot2_Lv2_Threshold_Diff[0]); + } + + /* : hystLV2_FL = diffActive; */ + rtDW.hystLV2_FL = rtb_Compare_gq; + + /* : if FLL_DuctTg < 300 */ + if (rtb_y_ds < 300) { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + i = rtb_Merge_b + 300; + if (rtb_Merge_b + 300 > 32767) { + i = 32767; + } + + if ((rtb_y_ds > i) || (rtDW.CCU_SET_RL < 190)) { + /* : elseif (FLL_DuctTg > RL_Dtg + 300) || (RL_Rset < 190) */ + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + } else if ((rtDW.CCU_SET_RL < 210) && (rtDW.CCU_SET_RL > 190)) { + /* : elseif (RL_Rset < 210) && (RL_Rset > 190) */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else if (rtb_Compare_gq) { + /* : elseif diffActive */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + i = rtb_Merge_b + 200; + if (rtb_Merge_b + 200 > 32767) { + i = 32767; + } + + if (rtb_y_ds >= i) { + /* : elseif FLL_DuctTg >= RL_Dtg + 200 */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + i = rtb_Merge_b + 200; + if (rtb_Merge_b + 200 > 32767) { + i = 32767; + } + + if (rtb_y_ds < i) { + /* : elseif FLL_DuctTg < RL_Dtg + 200 */ + /* : Foot2Duct_FL = int16(100); */ + rtb_Foot2Duct_FL = 100; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } + } + } + } + break; + + case 3U: + /* : case 3 */ + /* : hystLV2_FL = false; */ + rtDW.hystLV2_FL = false; + + /* : diffVal = Sen_Duct_RL_Side_Fb - Sen_Duct_FL_Lower_Tgt; */ + /* : if hystLV3_FL */ + if (rtDW.hystLV3_FL) { + /* : diffActive = diffVal > Threshold_Diff_OFF_LV3; */ + i = Duct5_F - rtb_y_ds; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_Compare_gq = (i > g_assFoot2_Lv3_Threshold_Diff[1]); + } else { + /* : else */ + /* : diffActive = diffVal > Threshold_Diff_ON_LV3; */ + i = Duct5_F - rtb_y_ds; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_Compare_gq = (i > g_assFoot2_Lv3_Threshold_Diff[0]); + } + + /* : hystLV3_FL = diffActive; */ + rtDW.hystLV3_FL = rtb_Compare_gq; + + /* : if FLL_DuctTg < 400 */ + if (rtb_y_ds < 400) { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + } else if (rtDW.CCU_SET_RL < 200) { + /* : elseif RL_Rset < 200 */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else if (rtb_Compare_gq) { + /* : elseif diffActive */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + i = rtb_Merge_b + rtb_DataTypeConversion1_oq; + rtb_Cmd_3Way = i; + if (i > 32767) { + rtb_Cmd_3Way = 32767; + } else if (i < -32768) { + rtb_Cmd_3Way = -32768; + } + + if (rtb_y_ds >= rtb_Cmd_3Way) { + /* : elseif FLL_DuctTg >= RL_Dtg + Dtgplus_LV3 */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + if (rtb_y_ds < i) { + /* : elseif FLL_DuctTg < RL_Dtg + Dtgplus_LV3 */ + /* : Foot2Duct_FL = int16(100); */ + rtb_Foot2Duct_FL = 100; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } + } + } + break; + + case 4U: + /* : case 4 */ + /* : hystLV2_FL = false; */ + rtDW.hystLV2_FL = false; + + /* : hystLV3_FL = false; */ + rtDW.hystLV3_FL = false; + + /* : if FLL_DuctTg < 400 */ + if (rtb_y_ds < 400) { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + } else if (rtDW.CCU_SET_RL < 215) { + /* : elseif RL_Rset < 215 */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + i = rtb_Merge_b + rtb_Switch2_nb; + rtb_Cmd_3Way = i; + if (i > 32767) { + rtb_Cmd_3Way = 32767; + } else if (i < -32768) { + rtb_Cmd_3Way = -32768; + } + + if (rtb_y_ds > rtb_Cmd_3Way) { + /* : elseif FLL_DuctTg > RL_Dtg + Dtgplus_LV4 */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + if (rtb_y_ds < i) { + /* : elseif FLL_DuctTg < RL_Dtg + Dtgplus_LV4 */ + /* : Foot2Duct_FL = int16(100); */ + rtb_Foot2Duct_FL = 100; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } + } + } + break; + + case 5U: + /* : case 5 */ + /* : hystLV2_FL = false; */ + rtDW.hystLV2_FL = false; + + /* : hystLV3_FL = false; */ + rtDW.hystLV3_FL = false; + + /* : if FLL_DuctTg < 400 */ + if (rtb_y_ds < 400) { + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = true; */ + rtb_Compare_ff = true; + } else if (rtDW.CCU_SET_RL < 215) { + /* : elseif RL_Rset < 215 */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + i = rtb_Merge_b + rtb_DuctTgt_Plus_LV5; + rtb_Cmd_3Way = i; + if (i > 32767) { + rtb_Cmd_3Way = 32767; + } else if (i < -32768) { + rtb_Cmd_3Way = -32768; + } + + if (rtb_y_ds > rtb_Cmd_3Way) { + /* : elseif FLL_DuctTg > RL_Dtg + Dtgplus_LV5 */ + /* : Foot2Duct_FL = int16(50); */ + rtb_Foot2Duct_FL = 50; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } else { + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + if (rtb_y_ds < i) { + /* : elseif FLL_DuctTg < RL_Dtg + Dtgplus_LV5 */ + /* : Foot2Duct_FL = int16(100); */ + rtb_Foot2Duct_FL = 100; + + /* : is_active = true; */ + rtb_Compare_ff = true; + } + } + } + break; + + default: + /* : otherwise */ + /* : hystLV2_FL = false; */ + rtDW.hystLV2_FL = false; + + /* : hystLV3_FL = false; */ + rtDW.hystLV3_FL = false; + + /* : Foot2Duct_FL = int16(0); */ + /* : is_active = false; */ + break; + } + } + } + + /* End of MATLAB Function: '/Foot2DuctControl_RL' */ + + /* MATLAB Function: '/Foot2DuctControl_RR' incorporates: + * Constant: '/auto1' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * Lookup_n-D: '/FrontBlr_LV0' + */ + /* : if isempty(hystLV2_FR) */ + /* : if isempty(hystLV3_FR) */ + /* : Foot2Duct_FR = int16(0); */ + rtb_Foot2Duct_FR = 0; + + /* : is_active = false; */ + rtb_Compare_mg = false; + + /* : if CAL_VARIANT == 3 */ + if (g_ucCAL_VARIANT != 3) { + /* : if (RR_Mode == 0 || RR_Mode == 2) && (RR_Direction_Vent == 1) */ + if (((rtDW.CCU_MODE_RR == 0) || (rtDW.CCU_MODE_RR == 2)) && rtb_Compare_e) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + + /* : hystLV2_FR = false; */ + rtDW.hystLV2_FR = false; + + /* : hystLV3_FR = false; */ + rtDW.hystLV3_FR = false; + + /* : if FIU_RR_footBlowDis_Req == 1 */ + } else if (rtDW.CCU_foot_blower_dis_RR == 1) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + + /* : hystLV2_FR = false; */ + rtDW.hystLV2_FR = false; + + /* : hystLV3_FR = false; */ + rtDW.hystLV3_FR = false; + } else { + /* : switch ambLV */ + switch (rtDW.LEVEL) { + case 0U: + /* : case 0 */ + /* : hystLV2_FR = false; */ + rtDW.hystLV2_FR = false; + + /* : hystLV3_FR = false; */ + rtDW.hystLV3_FR = false; + + /* : if RR_Rset >= 250 */ + if (rtDW.CCU_SET_RR >= 250) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + i = Duct4_F - 120; + if (Duct4_F - 120 < -32768) { + i = -32768; + } + + rtb_Cmd_3Way = Duct4_F + 80; + if (Duct4_F + 80 > 32767) { + rtb_Cmd_3Way = 32767; + } + + if ((i <= rtDW.Duct_RR_Tg) && (rtDW.Duct_RR_Tg <= rtb_Cmd_3Way)) { + /* : elseif (FR_DuctFb - 120 <= RR_Dtg) && (RR_Dtg <= FR_DuctFb + 80) */ + /* : Foot2Duct_FR = int16(FrontBlr_LV0); */ + rtb_Foot2Duct_FR = rtb_FrontBlr_LV0_tmp; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } + } + break; + + case 1U: + /* : case 1 */ + /* : hystLV2_FR = false; */ + rtDW.hystLV2_FR = false; + + /* : hystLV3_FR = false; */ + rtDW.hystLV3_FR = false; + + /* : if RR_Rset >= 250 */ + if (rtDW.CCU_SET_RR >= 250) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + i = Duct4_F - 120; + if (Duct4_F - 120 < -32768) { + i = -32768; + } + + rtb_Cmd_3Way = Duct4_F + 80; + if (Duct4_F + 80 > 32767) { + rtb_Cmd_3Way = 32767; + } + + if ((i <= rtDW.Duct_RR_Tg) && (rtDW.Duct_RR_Tg <= rtb_Cmd_3Way)) { + /* : elseif (FR_DuctFb - 120 <= RR_Dtg) && (RR_Dtg <= FR_DuctFb + 80) */ + /* : Foot2Duct_FR = int16(FrontBlr_LV1); */ + rtb_Foot2Duct_FR = rtb_FrontBlr_LV0_tmp; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } + } + break; + + case 2U: + /* : case 2 */ + /* : hystLV3_FR = false; */ + rtDW.hystLV3_FR = false; + + /* : diffVal = Sen_Duct_RR_Side_Fb - Sen_Duct_FR_Lower_Tgt; */ + /* : if hystLV2_FR */ + if (rtDW.hystLV2_FR) { + /* : diffActive = diffVal > Threshold_Diff_OFF_LV2; */ + i = Duct6_F - rtb_y_he; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_Compare_gq = (i > g_assFoot2_Lv2_Threshold_Diff[1]); + } else { + /* : else */ + /* : diffActive = diffVal > Threshold_Diff_ON_LV2; */ + i = Duct6_F - rtb_y_he; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_Compare_gq = (i > g_assFoot2_Lv2_Threshold_Diff[0]); + } + + /* : hystLV2_FR = diffActive; */ + rtDW.hystLV2_FR = rtb_Compare_gq; + + /* : if FLR_DuctTg < 300 */ + if (rtb_y_he < 300) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + i = rtDW.Duct_RR_Tg + 300; + if (rtDW.Duct_RR_Tg + 300 > 32767) { + i = 32767; + } + + if ((rtb_y_he > i) || (rtDW.CCU_SET_RR < 190)) { + /* : elseif (FLR_DuctTg > RR_Dtg + 300) || (RR_Rset < 190) */ + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + } else if ((rtDW.CCU_SET_RR < 210) && (rtDW.CCU_SET_RR > 190)) { + /* : elseif (RR_Rset < 210) && (RR_Rset > 190) */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else if (rtb_Compare_gq) { + /* : elseif diffActive */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + i = rtDW.Duct_RR_Tg + 200; + if (rtDW.Duct_RR_Tg + 200 > 32767) { + i = 32767; + } + + if (rtb_y_he >= i) { + /* : elseif FLR_DuctTg >= RR_Dtg + 200 */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + i = rtDW.Duct_RR_Tg + 200; + if (rtDW.Duct_RR_Tg + 200 > 32767) { + i = 32767; + } + + if (rtb_y_he < i) { + /* : elseif FLR_DuctTg < RR_Dtg + 200 */ + /* : Foot2Duct_FR = int16(100); */ + rtb_Foot2Duct_FR = 100; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } + } + } + } + break; + + case 3U: + /* : case 3 */ + /* : hystLV2_FR = false; */ + rtDW.hystLV2_FR = false; + + /* : diffVal = Sen_Duct_RR_Side_Fb - Sen_Duct_FR_Lower_Tgt; */ + /* : if hystLV3_FR */ + if (rtDW.hystLV3_FR) { + /* : diffActive = diffVal > Threshold_Diff_OFF_LV3; */ + i = Duct6_F - rtb_y_he; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_Compare_gq = (i > g_assFoot2_Lv3_Threshold_Diff[1]); + } else { + /* : else */ + /* : diffActive = diffVal > Threshold_Diff_ON_LV3; */ + i = Duct6_F - rtb_y_he; + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + rtb_Compare_gq = (i > g_assFoot2_Lv3_Threshold_Diff[0]); + } + + /* : hystLV3_FR = diffActive; */ + rtDW.hystLV3_FR = rtb_Compare_gq; + + /* : if FLR_DuctTg < 400 */ + if (rtb_y_he < 400) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + } else if (rtDW.CCU_SET_RR < 200) { + /* : elseif RR_Rset < 200 */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else if (rtb_Compare_gq) { + /* : elseif diffActive */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + i = rtDW.Duct_RR_Tg + rtb_DataTypeConversion1_oq; + rtb_Cmd_3Way = i; + if (i > 32767) { + rtb_Cmd_3Way = 32767; + } else if (i < -32768) { + rtb_Cmd_3Way = -32768; + } + + if (rtb_y_he >= rtb_Cmd_3Way) { + /* : elseif FLR_DuctTg >= RR_Dtg + Dtgplus_LV3 */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + if (rtb_y_he < i) { + /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV3 */ + /* : Foot2Duct_FR = int16(100); */ + rtb_Foot2Duct_FR = 100; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } + } + } + break; + + case 4U: + /* : case 4 */ + /* : hystLV2_FR = false; */ + rtDW.hystLV2_FR = false; + + /* : hystLV3_FR = false; */ + rtDW.hystLV3_FR = false; + + /* : if FLR_DuctTg < 400 */ + if (rtb_y_he < 400) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + } else if (rtDW.CCU_SET_RR < 215) { + /* : elseif RR_Rset < 215 */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + i = rtDW.Duct_RR_Tg + rtb_Switch2_nb; + rtb_Cmd_3Way = i; + if (i > 32767) { + rtb_Cmd_3Way = 32767; + } else if (i < -32768) { + rtb_Cmd_3Way = -32768; + } + + if (rtb_y_he > rtb_Cmd_3Way) { + /* : elseif FLR_DuctTg > RR_Dtg + Dtgplus_LV4 */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + if (rtb_y_he < i) { + /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV4 */ + /* : Foot2Duct_FR = int16(100); */ + rtb_Foot2Duct_FR = 100; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } + } + } + break; + + case 5U: + /* : case 5 */ + /* : hystLV2_FR = false; */ + rtDW.hystLV2_FR = false; + + /* : hystLV3_FR = false; */ + rtDW.hystLV3_FR = false; + + /* : if FLR_DuctTg < 400 */ + if (rtb_y_he < 400) { + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = true; */ + rtb_Compare_mg = true; + } else if (rtDW.CCU_SET_RR < 215) { + /* : elseif RR_Rset < 215 */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + i = rtDW.Duct_RR_Tg + rtb_DuctTgt_Plus_LV5; + rtb_Cmd_3Way = i; + if (i > 32767) { + rtb_Cmd_3Way = 32767; + } else if (i < -32768) { + rtb_Cmd_3Way = -32768; + } + + if (rtb_y_he > rtb_Cmd_3Way) { + /* : elseif FLR_DuctTg > RR_Dtg + Dtgplus_LV5 */ + /* : Foot2Duct_FR = int16(50); */ + rtb_Foot2Duct_FR = 50; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } else { + if (i > 32767) { + i = 32767; + } else if (i < -32768) { + i = -32768; + } + + if (rtb_y_he < i) { + /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV5 */ + /* : Foot2Duct_FR = int16(100); */ + rtb_Foot2Duct_FR = 100; + + /* : is_active = true; */ + rtb_Compare_mg = true; + } + } + } + break; + + default: + /* : otherwise */ + /* : hystLV2_FR = false; */ + rtDW.hystLV2_FR = false; + + /* : hystLV3_FR = false; */ + rtDW.hystLV3_FR = false; + + /* : Foot2Duct_FR = int16(0); */ + /* : is_active = false; */ + break; + } + } + } + + /* End of MATLAB Function: '/Foot2DuctControl_RR' */ + + /* Logic: '/OR' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.Foot2_control_FL_is_active = (rtb_Compare_ff || rtb_Compare_pnq); + + /* Logic: '/OR1' incorporates: + * DataStoreWrite: '/Data Store Write3' + */ + rtDW.Foot2_control_FR_is_active = (rtb_Compare_mg || rtb_RelationalOperator6_f); + + /* Sum: '/Sum' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.Foot2_control_FL = (uint16_t)(rtb_Foot2Duct_FL + rtb_Foot2Duct_FL_n); + + /* Sum: '/Sum1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Foot2_control_FR = (uint16_t)(rtb_Foot2Duct_FR + rtb_Foot2Duct_FR_j); + + /* End of Outputs for SubSystem: '/FOOT2_CONTROL' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read16' + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCUCAN_DW_STATE_model.DW_GlassPosition_Stat == 2) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Lookup_n-D: '/1-D Lookup Table' + * Merge: '/Merge' + * UnaryMinus: '/Unary Minus' + */ + rtDW.GlassPosition_AF_plus_L = (int16_t)-(int16_t)look1_iu16lu64n48_binlcse + (rtDW.CCU_SET_FL, rtConstP.pooled81, &g_ausMinusAF_GlassPos_L[0], 12U); + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' */ + IfActionSubsystem2(&rtDW.GlassPosition_AF_plus_L); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } + + /* End of If: '/If' */ + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read16' + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCUCAN_DW_STATE_model.DW_GlassPosition_Stat == 2) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataTypeConversion: '/Data Type Conversion' + * Lookup_n-D: '/1-D Lookup Table1' + * Merge: '/Merge1' + * UnaryMinus: '/Unary Minus' + */ + rtDW.GlassPosition_AF_plus_R = (int16_t)-(int16_t)look1_iu16lu64n48_binlcse + (rtDW.CCU_SET_FR, rtConstP.pooled81, &g_ausMinusAF_GlassPos_R[0], 12U); + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem5' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' */ + IfActionSubsystem2(&rtDW.GlassPosition_AF_plus_R); + + /* End of Outputs for SubSystem: '/If Action Subsystem5' */ + } + + /* End of If: '/If1' */ + + /* BusCreator: '/Bus Creator2' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write2' + * Sum: '/Add' + * Sum: '/Add1' + * Sum: '/Add10' + * Sum: '/Add11' + * Sum: '/Add12' + * Sum: '/Add13' + * Sum: '/Add14' + * Sum: '/Add15' + * Sum: '/Add16' + * Sum: '/Add17' + * Sum: '/Add2' + * Sum: '/Add3' + * Sum: '/Add4' + * Sum: '/Add5' + * Sum: '/Add6' + * Sum: '/Add7' + * Sum: '/Add8' + * Sum: '/Add9' + */ + rtDW.Status_Sensor_model_IO.Ignition = 0U; + rtDW.Status_Sensor_model_IO.Battery = 0U; + rtDW.Status_Sensor_model_IO.AMB = (uint16_t)(rtDW.AMB + 400); + rtDW.Status_Sensor_model_IO.Incar_FL = (uint16_t)(rtDW.Incar_FL + 400); + rtDW.Status_Sensor_model_IO.Incar_FR = (uint16_t)(rtDW.Incar_FR + 400); + rtDW.Status_Sensor_model_IO.Incar_RL = (uint16_t)(rtDW.Incar_RL + 400); + rtDW.Status_Sensor_model_IO.Incar_RR = (uint16_t)(rtDW.Incar_RR + 400); + rtDW.Status_Sensor_model_IO.Eva_F = (uint16_t)(rtDW.Eva_F + 400); + rtDW.Status_Sensor_model_IO.Eva_R = (uint16_t)(rtDW.Eva_R + 400); + rtDW.Status_Sensor_model_IO.Pressure = (uint16_t)(rtDW.Pressure + 400); + rtDW.Status_Sensor_model_IO.Duct_FL_Upper = (uint16_t)(Duct1_F + 400); + rtDW.Status_Sensor_model_IO.Duct_FL_Lower = (uint16_t)(Duct3_F + 400); + rtDW.Status_Sensor_model_IO.Duct_FR_Upper = (uint16_t)(Duct2_F + 400); + rtDW.Status_Sensor_model_IO.Duct_FR_Lower = (uint16_t)(Duct4_F + 400); + rtDW.Status_Sensor_model_IO.Duct_RL = (uint16_t)(rtb_X + 400); + rtDW.Status_Sensor_model_IO.Duct_RR = (uint16_t)(rtb_MultiportSwitch_ac + 400); + rtDW.Status_Sensor_model_IO.Duct_Side_FL = (uint16_t)(Duct5_F + 400); + rtDW.Status_Sensor_model_IO.Duct_Side_FR = (uint16_t)(Duct6_F + 400); + rtDW.Status_Sensor_model_IO.Duct_Side_RL = (uint16_t)(rtb_Bias1_h + 400); + rtDW.Status_Sensor_model_IO.Duct_Side_RR = (uint16_t)(rtb_FLU_tg_correct_ot + + 400); + rtDW.Status_Sensor_model_IO.AQS = 0U; + + /* BusCreator: '/Bus Creator4' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read21' + * DataStoreRead: '/Data Store Read22' + * DataStoreRead: '/Data Store Read23' + * DataStoreRead: '/Data Store Read24' + * DataStoreRead: '/Data Store Read25' + * DataStoreRead: '/Data Store Read26' + * DataStoreWrite: '/Data Store Write4' + * Sum: '/Add18' + * Sum: '/Add19' + * Sum: '/Add20' + * Sum: '/Add21' + * Sum: '/Add22' + * Sum: '/Add23' + */ + rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Vent_FL = (uint16_t)(Duct_FLU_Tg + 400); + rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Foot_FL = (uint16_t)(rtb_y_ds + 400); + rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Vent_FR = (uint16_t)(Duct_FRU_Tg + 400); + rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Foot_FR = (uint16_t)(rtb_y_he + 400); + rtDW.Status_Duct_Tgt_model_IO.DuctTgt_RL = (uint16_t)(rtb_Merge_b + 400); + rtDW.Status_Duct_Tgt_model_IO.DuctTgt_RR = (uint16_t)(rtDW.Duct_RR_Tg + 400); + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.Status_Duct_Select_model_IO.Duct_FL = 0U; + rtDW.Status_Duct_Select_model_IO.Duct_FR = 0U; + rtDW.Status_Duct_Select_model_IO.Duct_RL = 0U; + rtDW.Status_Duct_Select_model_IO.Duct_RR = 0U; + + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read27' + * DataStoreRead: '/Data Store Read28' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion6' + * DataTypeConversion: '/Data Type Conversion7' + */ + rtDW.Status_Eva_Tgt_model_IO.EvaTgt_F = (uint16_t)Eva_F_tg; + rtDW.Status_Eva_Tgt_model_IO.EvaTgt_R = (uint16_t)Eva_R_tg; + + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreRead: '/Data Store Read18' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' + * DataStoreWrite: '/Data Store Write3' + */ + rtDW.Status_Actuator_model_IO.Motor_Def = rtDW.MaxPositionCh0_private[0]; + rtDW.Status_Actuator_model_IO.Motor_Vent_SFL = rtDW.MaxPositionCh0_private[4]; + rtDW.Status_Actuator_model_IO.Motor_Vent_CFL = rtDW.MaxPositionCh0_private[5]; + rtDW.Status_Actuator_model_IO.Motor_Foot_1FL = rtDW.MaxPositionCh0_private[7]; + rtDW.Status_Actuator_model_IO.Motor_Foot_2FL = rtDW.MaxPositionCh0_private[8]; + rtDW.Status_Actuator_model_IO.Motor_Vent_CFR = rtDW.MaxPositionCh1_private[1]; + rtDW.Status_Actuator_model_IO.Motor_Vent_SFR = rtDW.MaxPositionCh1_private[2]; + rtDW.Status_Actuator_model_IO.Motor_Foot_1FR = rtDW.MaxPositionCh1_private[4]; + rtDW.Status_Actuator_model_IO.Motor_Foot_2FR = rtDW.MaxPositionCh1_private[5]; + rtDW.Status_Actuator_model_IO.Motor_Vent_SRL = rtDW.MaxPositionCh2_private[2]; + rtDW.Status_Actuator_model_IO.Motor_Vent_CRL = rtDW.MaxPositionCh2_private[4]; + rtDW.Status_Actuator_model_IO.Motor_Foot_RL = rtDW.MaxPositionCh2_private[3]; + rtDW.Status_Actuator_model_IO.Motor_Vent_CRR = rtDW.MaxPositionCh2_private[5]; + rtDW.Status_Actuator_model_IO.Motor_Vent_SRR = rtDW.MaxPositionCh2_private[7]; + rtDW.Status_Actuator_model_IO.Motor_Foot_RR = rtDW.MaxPositionCh2_private[6]; + rtDW.Status_Actuator_model_IO.Motor_Temp1_FL = rtDW.MaxPositionCh0_private[3]; + rtDW.Status_Actuator_model_IO.Motor_Temp2_FL = rtDW.MaxPositionCh0_private[6]; + rtDW.Status_Actuator_model_IO.Motor_Temp1_FR = rtDW.MaxPositionCh1_private[0]; + rtDW.Status_Actuator_model_IO.Motor_Temp2_FR = rtDW.MaxPositionCh1_private[3]; + rtDW.Status_Actuator_model_IO.Motor_Temp_RL = rtDW.MaxPositionCh2_private[0]; + rtDW.Status_Actuator_model_IO.Motor_Temp_RR = rtDW.MaxPositionCh2_private[1]; + rtDW.Status_Actuator_model_IO.Motor_REC = rtDW.MaxPositionCh0_private[1]; + rtDW.Status_Actuator_model_IO.Motor_OSA = rtDW.MaxPositionCh0_private[2]; + rtDW.Status_Actuator_model_IO.Motor_SealingValve = + rtDW.MaxPositionCh2_private[8]; + + /* DataStoreRead: '/Data Store Read87' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtY.DRS_output[0] = rtDW.DRS_SFL; + + /* DataStoreRead: '/Data Store Read89' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtY.DRS_output[1] = rtDW.DRS_CFL; + + /* DataStoreRead: '/Data Store Read90' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtY.DRS_output[2] = rtDW.DRS_CFR; + + /* DataStoreRead: '/Data Store Read88' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtY.DRS_output[3] = rtDW.DRS_SFR; + + /* DataStoreRead: '/Data Store Read93' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtY.DRS_output[4] = rtDW.DRS_SRL; + + /* DataStoreRead: '/Data Store Read94' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtY.DRS_output[5] = rtDW.DRS_SRR; + + /* DataStoreRead: '/Data Store Read91' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtY.DRS_output[6] = rtDW.DRS_CRL; + + /* DataStoreRead: '/Data Store Read92' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtY.DRS_output[7] = rtDW.DRS_CRR; + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.CCU_MODE_FL > 0) { + rtDW.Index_mode_FL = rtDW.Index_mode_FL_auto; + } else { + rtDW.Index_mode_FL = rtDW.Index_mode_FL_manual; + } + + /* End of Switch: '/Switch' */ + + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write2' + */ + if (rtDW.CCU_MODE_FR > 0) { + rtDW.Index_mode_FR = rtDW.Index_mode_FR_auto; + } else { + rtDW.Index_mode_FR = rtDW.Index_mode_FR_manual; + } + + /* End of Switch: '/Switch1' */ + + /* Switch: '/Switch2' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write3' + */ + if (rtDW.CCU_MODE_RL > 0) { + rtDW.Index_mode_RL = (uint8_t)rtDW.Index_mode_RL_auto; + } else { + rtDW.Index_mode_RL = rtDW.Index_mode_RL_manual; + } + + /* End of Switch: '/Switch2' */ + + /* Switch: '/Switch3' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write4' + */ + if (rtDW.CCU_MODE_RR > 0) { + rtDW.Index_mode_RR = (uint8_t)rtDW.Index_mode_RR_auto; + } else { + rtDW.Index_mode_RR = rtDW.Index_mode_RR_manual; + } + + /* End of Switch: '/Switch3' */ + + /* Switch: '/Switch5' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.Entry_Button != 0) { + rtDW.CCU_Ionization_algo_active = rtDW.Entry_Button; + } else { + rtDW.CCU_Ionization_algo_active = rtDW.Entry_AirQS; + } + + /* End of Switch: '/Switch5' */ + + /* RelationalOperator: '/Relational Operator14' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write5' + */ + rtb_RelationalOperator6_f = (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTerm_Stat == + 1); + + /* Logic: '/AND2' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Relational Operator16' + * RelationalOperator: '/Relational Operator21' + */ + rtb_Compare_pnq = ((rtb_Saturation_as > 0) && (Gain1 > 0)); + + /* RelationalOperator: '/Relational Operator17' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtb_Compare_ff = (rtDW.Entry_AirQS == 1); + + /* RelationalOperator: '/Relational Operator9' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtb_Compare_mg = (rtDW.CCU_Ionization == 1); + + /* RelationalOperator: '/Relational Operator18' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtb_Compare_gq = (rtDW.CCU_IonizationErr_Stat != 1); + + /* Switch: '/Switch' incorporates: + * Constant: '/CO' + * Constant: '/Constant11' + * Constant: '/Constant17' + * Constant: '/NH3' + * Constant: '/NOX' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * Logic: '/OR2' + * RelationalOperator: '/Relational Operator10' + * RelationalOperator: '/Relational Operator11' + * RelationalOperator: '/Relational Operator12' + * Switch: '/Switch3' + */ + if (rtb_Compare_ff) { + i = 0; + rtb_Compare_e = true; + } else { + i = rtb_Compare_mg; + rtb_Compare_e = ((rtDW.AirQS_COLvl >= g_aucAQS_REC_LV_CO[7]) || + (rtDW.AirQS_NOxLvl >= g_aucAQS_REC_LV_NOX[7]) || + (rtDW.AirQS_NH3Lvl >= g_aucAQS_REC_LV_NH3[7])); + } + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator1' + * Switch: '/Switch' + * Switch: '/Switch1' + */ + rtDW.Entry_Button = (uint8_t)(((rtDW.Entry_Button == 1) || + rtb_RelationalOperator6_f) && rtb_Compare_pnq && (i != 0) && rtb_Compare_gq); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/CO' + * Constant: '/Constant14' + * Constant: '/NH3' + * Constant: '/NOX' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write2' + * Logic: '/AND1' + * Logic: '/AND3' + * Logic: '/NOT' + * Logic: '/NOT2' + * Logic: '/OR' + * RelationalOperator: '/Relational Operator13' + * RelationalOperator: '/Relational Operator15' + * RelationalOperator: '/Relational Operator19' + * Sum: '/Subtract1' + * Sum: '/Subtract2' + * Sum: '/Subtract3' + * Switch: '/Switch2' + * Switch: '/Switch3' + * Switch: '/Switch4' + */ + rtDW.Entry_AirQS = (uint8_t)(rtb_Compare_e && rtb_Compare_pnq && + (rtb_Compare_ff || rtb_RelationalOperator6_f) && (((!rtb_Compare_ff) || + rtb_Compare_mg) && ((rtDW.AirQS_COLvl >= g_aucAQS_REC_LV_CO[7] - 1) || + (rtDW.AirQS_NOxLvl >= g_aucAQS_REC_LV_NOX[7] - 1) || + (rtDW.AirQS_NH3Lvl >= g_aucAQS_REC_LV_NH3[7] - 1)) && + rtb_Compare_gq)); + + /* Outputs for Enabled SubSystem: '/write 1 to ionizer' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreWrite: '/Data Store Write' */ + if (rtDW.CCU_Ionization_algo_active > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.CCU_Ionization = rtDW.CCU_Ionization_algo_active; + } + + /* End of Outputs for SubSystem: '/write 1 to ionizer' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtb_D = 0.0; + + /* 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' + */ + rtb_Saturation2 = rtDW.MaxPositionCh0_private[i]; + if (rtb_Saturation2 != 0) { + rtb_duct_select_index_dbg_c = (double) + Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double)rtb_Saturation2 * + 100.0; + } else { + rtb_duct_select_index_dbg_c = 0.0; + } + + /* End of Switch: '/Switch' */ + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + if (rtb_duct_select_index_dbg_c > 100.0) { + rtb_DataTypeConversion_b4q[i] = 100U; + } else { + rtb_DataTypeConversion_b4q[i] = (uint8_t)rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of DataTypeConversion: '/Data Type Conversion' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + */ + if (rtDW.stepSig_private > 0) { + rtb_y_cb = rtDW.stepSig_private; + } else { + rtb_y_cb = 1; + } + + /* End of Switch: '/Switch' */ + + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_cb) { + case 1: + /* 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 ((Actuator_Ch0_Status_Model.Busy == 0) && + (Actuator_Ch0_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private[i] = 2U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ + break; + + case 2: + /* 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 ((Actuator_Ch0_Status_Model.Busy == 0) && + (Actuator_Ch0_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private[i] = 6000U; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private[i] = 2U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + break; + + case 3: + /* 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 ((Actuator_Ch0_Status_Model.Busy == 0) && + (Actuator_Ch0_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private[i] = 0U; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private[i] = 1U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ + break; + + case 4: + /* 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 ((Actuator_Ch0_Status_Model.Busy == 0) && + (Actuator_Ch0_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Lnoise_private[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private[i] = 3U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private[i] = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' + */ + rtDW.COM_private[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ + break; + + case 5: + /* 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' + */ + for (i = 0; i < 9; i++) { + rtb_LogicalOperator3_n2[i] = + ((Actuator_Ch0_Status_Model.in_Act_Stall_Slave[i] == 1) || + (Actuator_Ch0_Status_Model.in_CPOS_ALL[i] == 0) || + (rtDW.ErrorCalibration_private[i] == 0)); + } + + /* End of Logic: '/Logical Operator3' */ + + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' + */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[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 ((Actuator_Ch0_Status_Model.Busy == 0) && + (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_Compare_e) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' */ + for (i = 0; i < 9; i++) { + /* 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 DataStoreWrite: '/Data Store Write1' */ + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ + break; + + case 6: + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch0_Status_Model.Busy == 0) && + (Actuator_Ch0_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private[i] = 2U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private[i] = 0U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + break; + + case 7: + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch0_Status_Model.Busy == 0) && + (Actuator_Ch0_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Lnoise_private[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private[i] = 3U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private[i] = 6000U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' + */ + rtDW.COM_private[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ + break; + + case 8: + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' + */ + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + */ + for (i = 0; i < 9; i++) { + rtb_LogicalOperator3_n2[i] = + ((Actuator_Ch0_Status_Model.in_Act_Stall_Slave[i] == 1) || + (Actuator_Ch0_Status_Model.in_CPOS_ALL[i] == 6000) || + (rtDW.ErrorCalibration_private[i] == 0)); + } + + /* End of Logic: '/Logical Operator3' */ + + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' + */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch0_Status_Model.Busy == 0) && + (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_Compare_e) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' */ + for (i = 0; i < 9; i++) { + /* 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 DataStoreWrite: '/Data Store Write1' */ + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ + break; + + case 9: + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/MAX ACT1T ' + */ + if (rtDW.act_debug_command > 0.0) { + rtb_Saturation2 = rtConstP.pooled92[i]; + } else { + rtb_Saturation2 = rtDW.MaxPositionCh0_private[i]; + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + */ + rtb_Divide1_pb[i] = (double)rtb_Saturation2 / (double)rtConstP.pooled92[i]; + } + + /* 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' + */ + for (i = 0; i < 9; i++) { + /* RelationalOperator: '/Compare' */ + rtb_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ + rtb_RelationalOperator6_f = ((rtb_duct_select_index_dbg_c >= 0.6) && + (rtb_duct_select_index_dbg_c <= 1.5)); + rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorCalibration_private[i] = (uint8_t)((!rtb_RelationalOperator6_f) + && (rtDW.ErrorCalibration_private[i] != 0)); + } + + /* Logic: '/Logical Operator1' */ + /* : if(LOGGER>0) */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a = 4; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a = 1; + } + + /* 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' + */ + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); + } + + /* End of RelationalOperator: '/Compare' */ + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + } + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + rtDW.CCU_ActuatorErrF_Stat_private = rtb_Compare_e; + for (i = 0; i < 9; i++) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + rtDW.COM_private[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorActuator[i] = (uint8_t)(rtb_RelationalOperator6_f || + (rtDW.ErrorActuator[i] != 0)); + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private[i] = 2U; + } + + /* MATLAB Function: '/Write ERROR' */ + /* : if(LOGGER>=0) */ + /* : for i = 1:numel(ErrCallibration) */ + for (i = 0; i < 9; i++) { + /* : if ErrCallibration(i) == 1 */ + if (rtb_LogicalOperator3_n2[i]) { + /* : fprintf('[LIN 1] Failure with actuator #%d\n', int16(i)); */ + printf("[LIN 1] Failure with actuator #%d\n", (int16_t)(i + 1)); + fflush(stdout); + } + } + + /* End of MATLAB Function: '/Write ERROR' */ + for (i = 0; i < 9; i++) { + /* Logic: '/Logical Operator1' */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorCalibration_private[i] = (uint8_t)((!rtb_RelationalOperator6_f) + && (rtDW.ErrorCalibration_private[i] != 0)); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[i + 54] = rtb_RelationalOperator6_f; + } + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.stepSig_private = 1; + + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : if(LOGGER>0) */ + rtb_Compare_e = (rtDW.ErrorCalibration_private[0] != 0); + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || (rtDW.ErrorCalibration_private[i + 1] + != 0)); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a = 4; + } + + /* 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' + */ + for (i = 0; i < 9; i++) { + /* RelationalOperator: '/Compare' */ + rtb_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ + rtb_RelationalOperator6_f = (((rtb_duct_select_index_dbg_c < 0.97) || + (rtb_duct_select_index_dbg_c > 1.03)) && + (rtDW.ErrorCalibration_private[i] != 0)); + rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.ErrorCalibration_private[i] = rtb_RelationalOperator6_f; + } + + /* Logic: '/Logical Operator2' */ + /* : if(LOGGER>0) */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/õîòÿ áû 1 îøèáêà' + */ + rtB.Merge_a = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/îøèáîê êàëèáðîâêè íåò' + */ + rtB.Merge_a = 4; + } + + /* 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' + */ + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + /* : if(LOGGER>1) */ + if (rtDW.ErrorHomming_private < 10.0) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + MATLABFunction(rtDW.Start_timer_n, rtDW.t_now, &rtb_Subtract, + &rtDW.sf_MATLABFunction_h); + + /* If: '/If' */ + /* : if(LOGGER>1) */ + if (rtb_Subtract > 3600000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' */ + IfActionSubsystem(&rtB.Merge_a, &rtDW.ErrorHomming_private, + &rtDW.Start_timer_n, &rtDW.stepSig_private); + + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' + */ + rtDW.Start_timer_n = 1.0; + + /* DataTypeConversion: '/Data Type Conversion2' */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write23' */ + rtb_Saturation2 = rtb_out_cj[i]; + + /* Saturate: '/Saturation' */ + if (rtb_Saturation2 <= 99) { + rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_Saturation2; + } else { + rtb_DataTypeConversion_mo[i] = 99U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_mo[8]; + + /* DataStoreRead: '/Data Store Read4' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[1] = rtDW.Max_def_Rec_valve; + + /* DataStoreRead: '/Data Store Read3' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[2] = rtDW.Max_def_OSA_valve; + + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[3] = rtDW.PID_TempFUL; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_mo[1]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_mo[0]; + + /* DataStoreRead: '/Data Store Read6' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[6] = rtDW.PID_TempFLL; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_mo[4]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_mo[5]; + for (i = 0; i < 9; i++) { + /* Product: '/Product' */ + max_side_L = rtDW.BUS_ADR_private[i]; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' + */ + rtDW.POS_private[i] = (uint16_t)((double)(max_side_L * + rtDW.MaxPositionCh0_private[i]) / 100.0); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_b4q[i] == + max_side_L); + } + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_Compare_e) { + rtDW.COM_private[i] = 0U; + } else { + rtDW.COM_private[i] = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' + */ + rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_b4q[i] != rtDW.BUS_ADR_private[i]) * + rtConstP.pooled146[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private[i] = 3U; + } + + /* 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 If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + IfActionSubsystem1(&rtB.Merge_a, &rtDW.CCU_ActuatorErrF_Stat_private, + rtDW.COM_private, rtDW.ErrorActuator, + rtDW.ErrorCalibration_private, &rtb_D, + rtDW.MODE_private, rtDW.dtc_state_error_model); + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + } + + /* 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' + */ + /* DataTypeConversion: '/Data Type Conversion2' */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write23' */ + rtb_Saturation2 = rtb_out_cj[i]; + + /* Saturate: '/Saturation' */ + if (rtb_Saturation2 <= 99) { + rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_Saturation2; + } else { + rtb_DataTypeConversion_mo[i] = 99U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_mo[8]; + + /* DataStoreRead: '/Data Store Read4' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[1] = rtDW.Max_def_Rec_valve; + + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[2] = rtDW.Max_def_OSA_valve; + + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[3] = rtDW.PID_TempFUL; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_mo[1]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_mo[0]; + + /* DataStoreRead: '/Data Store Read6' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[6] = rtDW.PID_TempFLL; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_mo[4]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_mo[5]; + for (i = 0; i < 9; i++) { + /* Product: '/Product' */ + max_side_L = rtDW.BUS_ADR_private[i]; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' + */ + rtDW.POS_private[i] = (uint16_t)((double)(max_side_L * + rtDW.MaxPositionCh0_private[i]) / 100.0); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_b4q[i] == + max_side_L); + } + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_Compare_e) { + rtDW.COM_private[i] = 0U; + } else { + rtDW.COM_private[i] = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' + */ + rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_b4q[i] != rtDW.BUS_ADR_private[i]) * + rtConstP.pooled146[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' + */ + rtB.Merge_a = 4; + + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.stepHoming_private = rtB.Merge_a; + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtB.Merge_f1 = rtDW.stepSig_private; + + /* End of Outputs for SubSystem: '/Homing' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* 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' + */ + Actuator_Ch0_Command_Model.POS[i] = rtDW.POS_private[i]; + Actuator_Ch0_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private[i]; + Actuator_Ch0_Command_Model.MODE[i] = rtDW.MODE_private[i]; + Actuator_Ch0_Command_Model.COM[i] = rtDW.COM_private[i]; + Actuator_Ch0_Command_Model.Stall_SET[i] = rtDW.Stall_private[i]; + Actuator_Ch0_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private[i]; + Actuator_Ch0_Command_Model.Autos_SET[i] = rtDW.Autos_private[i]; + 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' + */ + rtb_LogicalOperator3_n2[i] = (rtDW.ErrorCalibration_private[i] == 0); + } + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant3' + * Constant: '/øèðîêîâåùàòåëüíîå' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + * Logic: '/Logical Operator' + * Product: '/Product' + */ + if (rtb_Compare_e) { + rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) + rtDW.ErrorCalibration_private[i] * rtConstP.pooled146[i]); + } else { + rtDW.BUS_ADR_private[i] = 0U; + } + + /* End of Switch: '/Switch1' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.COM_private[i] = 0U; + } + + /* 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' + */ + rtb_Saturation2 = rtDW.MaxPositionCh1_private[i]; + if (rtb_Saturation2 != 0) { + rtb_duct_select_index_dbg_c = (double) + Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double)rtb_Saturation2 * + 100.0; + } else { + rtb_duct_select_index_dbg_c = 0.0; + } + + /* End of Switch: '/Switch' */ + + /* Saturate: '/Saturation' */ + if (rtb_duct_select_index_dbg_c > 100.0) { + rtb_DataTypeConversion_mo[i] = 100U; + } else { + rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of DataTypeConversion: '/Data Type Conversion' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' + */ + rtb_DataTypeConversion_mo[6] = 0U; + rtb_DataTypeConversion_mo[7] = 0U; + rtb_DataTypeConversion_mo[8] = 0U; + + /* DataStoreWrite: '/Data Store Write2' */ + for (i = 0; i < 9; i++) { + Actuator_pos_percent_Ch1[i] = rtb_DataTypeConversion_mo[i]; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + */ + if (rtDW.stepSig_private_h > 0) { + rtb_y_cb = rtDW.stepSig_private_h; + } else { + rtb_y_cb = 1; + } + + /* End of Switch: '/Switch' */ + + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_cb) { + case 1: + /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_g[i] = 1U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_b[i] = 2U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 2] Stop Mode\n'); */ + printf("[LIN 2] Stop Mode\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ + break; + + case 2: + /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_m[i] = 6000U; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_g[i] = 2U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 2] Initial CPOS Min\n'); */ + printf("[LIN 2] Initial CPOS Min\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + break; + + case 3: + /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_b[i] = 0U; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_g[i] = 1U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('LIN 2] Normal Mode\n'); */ + printf("LIN 2] Normal Mode\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ + break; + + case 4: + /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_n[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_l[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Lnoise_private_n[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_j[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_c[i] = 3U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_m[i] = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' + */ + rtDW.COM_private_g[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 2] Move to position Min\n'); */ + printf("[LIN 2] Move to position Min\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ + break; + + case 5: + /* 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' + */ + for (i = 0; i < 6; i++) { + rtb_LogicalOperator3_pw[i] = + ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || + (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 0) || + (rtDW.ErrorCalibration_private_p[i] == 0)); + } + + /* End of Logic: '/Logical Operator3' */ + + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' + */ + rtb_Compare_e = rtb_LogicalOperator3_pw[0]; + for (i = 0; i < 5; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_pw[i + 1]); + } + + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_Compare_e) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' */ + for (i = 0; i < 9; i++) { + /* 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 DataStoreWrite: '/Data Store Write1' */ + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 2] Check Stall Min\n'); */ + printf("[LIN 2] Check Stall Min\n"); + fflush(stdout); + + /* : for i = 1:numel(data) */ + for (i = 0; i < 9; i++) { + /* : fprintf('[LIN 2] MIN = %d ', int16(data(i))); */ + rtb_out_mxq = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 2] MIN = %d ", (int16_t)rtb_out_mxq); + fflush(stdout); + } + + /* : fprintf('\n'); */ + printf("\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ + break; + + case 6: + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_g[i] = 2U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_m[i] = 0U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 2] Initial CPOS Max\n'); */ + printf("[LIN 2] Initial CPOS Max\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + break; + + case 7: + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_n[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_l[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Lnoise_private_n[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_j[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_c[i] = 3U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_m[i] = 6000U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' + */ + rtDW.COM_private_g[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 2] Move to position Max\n'); */ + printf("[LIN 2] Move to position Max\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ + break; + + case 8: + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' + */ + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + */ + for (i = 0; i < 6; i++) { + rtb_LogicalOperator3_pw[i] = + ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || + (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 6000) || + (rtDW.ErrorCalibration_private_p[i] == 0)); + } + + /* End of Logic: '/Logical Operator3' */ + + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' + */ + rtb_Compare_e = rtb_LogicalOperator3_pw[0]; + for (i = 0; i < 5; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_pw[i + 1]); + } + + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_Compare_e) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' */ + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + if (rtDW.ErrorCalibration_private_p[i] != 0) { + rtDW.MaxPositionCh1_private[i] = + Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; + } else { + rtDW.MaxPositionCh1_private[i] = 0U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of DataStoreWrite: '/Data Store Write1' */ + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 2] Check Stall MAX\n'); */ + printf("[LIN 2] Check Stall MAX\n"); + fflush(stdout); + + /* : for i = 1:numel(data) */ + for (i = 0; i < 9; i++) { + /* : fprintf('[LIN 2] MAX = %d ', int16(data(i))); */ + rtb_out_mxq = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 2] MAX = %d ", (int16_t)rtb_out_mxq); + fflush(stdout); + } + + /* : fprintf('\n'); */ + printf("\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ + break; + + case 9: + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/MAX ACT1T 1' + */ + for (i = 0; i < 9; i++) { + if (rtDW.act_debug_command > 0.0) { + rtb_out_cej[i] = rtConstP.pooled93[i]; + } else { + rtb_out_cej[i] = rtDW.MaxPositionCh1_private[i]; + } + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + */ + for (i = 0; i < 6; i++) { + rtb_Divide1_pb[i] = (double)rtb_out_cej[i] / (double)rtConstP.ACT1_Value[i]; + } + + /* End of Product: '/Divide1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' + */ + rtb_Divide1_pb[6] = 1.0; + rtb_Divide1_pb[7] = 1.0; + rtb_Divide1_pb[8] = 1.0; + + /* 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' + */ + for (i = 0; i < 9; i++) { + /* RelationalOperator: '/Compare' */ + rtb_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ + rtb_RelationalOperator6_f = ((rtb_duct_select_index_dbg_c >= 0.6) && + (rtb_duct_select_index_dbg_c <= 1.5)); + rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorCalibration_private_p[i] = (uint8_t) + ((!rtb_RelationalOperator6_f) && (rtDW.ErrorCalibration_private_p[i] + != 0)); + } + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * Logic: '/Logical Operator2' + */ + /* : if(LOGGER>0) */ + if (rtb_D > 0.0) { + /* : fprintf("[LIN 2] Homing 0\n"); */ + printf("[LIN 2] Homing 0\n"); + fflush(stdout); + + /* : for i = 1:numel(MAX) */ + for (i = 0; i < 6; i++) { + /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ + rtb_out_mxq = rtDW.MaxPositionCh1_private[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", + (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], + (int16_t)!rtb_LogicalOperator3_n2[i]); + fflush(stdout); + } + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* Logic: '/Logical Operator1' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_p = 4; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_p = 1; + } + + /* 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' + */ + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); + } + + /* End of RelationalOperator: '/Compare' */ + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + } + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + rtDW.CCU_ActuatorErrF_Stat_private = rtb_Compare_e; + for (i = 0; i < 9; i++) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + rtDW.COM_private_g[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorActuator_o[i] = (uint8_t)(rtb_RelationalOperator6_f || + (rtDW.ErrorActuator_o[i] != 0)); + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_b[i] = 2U; + } + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + /* : if(LOGGER>=0) */ + if (rtb_D >= 0.0) { + /* : for i = 1:numel(ErrCallibration) */ + for (i = 0; i < 9; i++) { + /* : if ErrCallibration(i) == 1 */ + if (rtb_LogicalOperator3_n2[i]) { + /* : fprintf('[LIN 2] Failure with actuator #%d\n', int16(i)); */ + printf("[LIN 2] Failure with actuator #%d\n", (int16_t)(i + 1)); + fflush(stdout); + } + } + } + + /* End of MATLAB Function: '/Write ERROR' */ + for (i = 0; i < 9; i++) { + /* Logic: '/Logical Operator1' */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorCalibration_private_p[i] = (uint8_t) + ((!rtb_RelationalOperator6_f) && (rtDW.ErrorCalibration_private_p[i] + != 0)); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[i + 54] = rtb_RelationalOperator6_f; + } + + /* 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' + */ + /* : if(LOGGER>0) */ + if (rtb_D > 0.0) { + /* : fprintf("[LIN 2] Homing 1. Start Callibration \n"); */ + printf("[LIN 2] Homing 1. Start Callibration \n"); + fflush(stdout); + + /* : for i = 1:numel(MAX) */ + for (i = 0; i < 6; i++) { + /* : if(ERRORS(i)==1) */ + if (rtDW.ErrorCalibration_private_p[i] == 1) { + /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ + rtb_out_mxq = rtDW.MaxPositionCh1_private[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", + (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], + (int16_t)rtDW.ErrorCalibration_private_p[i]); + fflush(stdout); + } + } + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtb_Compare_e = (rtDW.ErrorCalibration_private_p[0] != 0); + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || (rtDW.ErrorCalibration_private_p[i + 1] + != 0)); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_p = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_p = 4; + } + + /* 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' + */ + for (i = 0; i < 9; i++) { + /* RelationalOperator: '/Compare' */ + rtb_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ + rtb_RelationalOperator6_f = (((rtb_duct_select_index_dbg_c < 0.97) || + (rtb_duct_select_index_dbg_c > 1.03)) && + (rtDW.ErrorCalibration_private_p[i] != 0)); + rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.ErrorCalibration_private_p[i] = rtb_RelationalOperator6_f; + } + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + */ + /* : if(LOGGER>0) */ + if (rtb_D > 0.0) { + /* : fprintf("[LIN 2] Homing 3. Callibration \n"); */ + printf("[LIN 2] Homing 3. Callibration \n"); + fflush(stdout); + + /* : for i = 1:numel(MAX) */ + for (i = 0; i < 6; i++) { + /* : if(ERRORS(i)==1) */ + if (rtb_LogicalOperator3_n2[i]) { + /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ + rtb_out_mxq = rtDW.MaxPositionCh1_private[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", + (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], 1); + fflush(stdout); + } + } + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* Logic: '/Logical Operator2' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' + */ + rtB.Merge_p = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_p = 4; + } + + /* 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' + */ + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' + */ + /* : if(LOGGER>1) */ + if (rtb_D > 1.0) { + /* : fprintf("[LIN 2] Homing 3. Start Time on step %d\n",int16(step)); */ + rtb_duct_select_index_dbg_c = rt_roundd(rtDW.ErrorHomming_private_h); + if (rtb_duct_select_index_dbg_c < 32768.0) { + if (rtb_duct_select_index_dbg_c >= -32768.0) { + rtb_Switch2_nb = (int16_t)rtb_duct_select_index_dbg_c; + } else { + rtb_Switch2_nb = INT16_MIN; + } + } else { + rtb_Switch2_nb = INT16_MAX; + } + + printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_Switch2_nb); + fflush(stdout); + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* 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' + */ + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + MATLABFunction(rtDW.Start_timer_j, rtDW.t_now, &rtb_dt_nx, + &rtDW.sf_MATLABFunction_hk); + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + /* : if(LOGGER>1) */ + if (rtb_D > 1.0) { + /* : fprintf("[LIN 2] Homing 3. Start TIme dt = %d \n",int32(data)); */ + rtb_Subtract = rtb_dt_nx; + if (rtb_dt_nx > 2147483647U) { + rtb_Subtract = 2147483647U; + } + + printf("[LIN 2] Homing 3. Start TIme dt = %d \n", (int32_t) + rtb_Subtract); + fflush(stdout); + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* If: '/If' */ + if (rtb_dt_nx > 3600000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* 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' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' + */ + rtDW.Start_timer_j = 1.0; + + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[0] = rtDW.PID_TempFUR; + + /* DataTypeConversion: '/Data Type Conversion2' */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write23' */ + rtb_Saturation2 = rtb_out_cj[i]; + + /* Saturate: '/Saturation' */ + if (rtb_Saturation2 <= 99) { + rtb_DataTypeConversion_kl[i] = (uint8_t)rtb_Saturation2; + } else { + rtb_DataTypeConversion_kl[i] = 99U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_kl[2]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_kl[3]; + + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[3] = rtDW.PID_TempFRL; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_kl[6]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_kl[7]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.BUS_ADR_private_j[6] = 0U; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.BUS_ADR_private_j[7] = 0U; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.BUS_ADR_private_j[8] = 0U; + for (i = 0; i < 9; i++) { + /* Product: '/Product' */ + max_side_L = rtDW.BUS_ADR_private_j[i]; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' + */ + rtDW.POS_private_m[i] = (uint16_t)((double)(max_side_L * + rtDW.MaxPositionCh1_private[i]) / 100.0); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_mo[i] == + max_side_L); + } + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_Compare_e) { + rtDW.COM_private_g[i] = 0U; + } else { + rtDW.COM_private_g[i] = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' + */ + rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_mo[i] != rtDW.BUS_ADR_private_j[i]) * + rtConstP.pooled146[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_n[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_l[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private_n[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_j[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_c[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' + */ + rtB.Merge_p = 3; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + IfActionSubsystem1(&rtB.Merge_p, &rtDW.CCU_ActuatorErrF_Stat_private, + rtDW.COM_private_g, rtDW.ErrorActuator_o, + rtDW.ErrorCalibration_private_p, &rtb_D, + rtDW.MODE_private_b, rtDW.dtc_state_error_model); + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + } + + /* 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' + */ + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[0] = rtDW.PID_TempFUR; + + /* DataTypeConversion: '/Data Type Conversion2' */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write23' */ + rtb_Saturation2 = rtb_out_cj[i]; + + /* Saturate: '/Saturation' */ + if (rtb_Saturation2 <= 99) { + rtb_DataTypeConversion_kl[i] = (uint8_t)rtb_Saturation2; + } else { + rtb_DataTypeConversion_kl[i] = 99U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_kl[2]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_kl[3]; + + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[3] = rtDW.PID_TempFRL; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_kl[6]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_kl[7]; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.BUS_ADR_private_j[6] = 0U; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.BUS_ADR_private_j[7] = 0U; + + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.BUS_ADR_private_j[8] = 0U; + for (i = 0; i < 9; i++) { + /* Product: '/Product' */ + max_side_L = rtDW.BUS_ADR_private_j[i]; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' + */ + rtDW.POS_private_m[i] = (uint16_t)((double)(max_side_L * + rtDW.MaxPositionCh1_private[i]) / 100.0); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_mo[i] == max_side_L); + } + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_Compare_e) { + rtDW.COM_private_g[i] = 0U; + } else { + rtDW.COM_private_g[i] = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' + */ + rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_mo[i] != rtDW.BUS_ADR_private_j[i]) * + rtConstP.pooled146[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_n[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_l[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private_n[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_j[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_c[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' + */ + rtB.Merge_p = 4; + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + /* : if(LOGGER>0) */ + if (rtb_D > 0.0) { + /* : fprintf("[LIN 2] Homing. Callibration successful \n"); */ + printf("[LIN 2] Homing. Callibration successful \n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.stepHoming_private_f = rtB.Merge_p; + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtB.Merge_e = rtDW.stepSig_private_h; + + /* End of Outputs for SubSystem: '/Homing' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* 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' + */ + for (i = 0; i < 9; i++) { + Actuator_Ch1_Command_Model.POS[i] = rtDW.POS_private_m[i]; + Actuator_Ch1_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private_j[i]; + Actuator_Ch1_Command_Model.MODE[i] = rtDW.MODE_private_b[i]; + Actuator_Ch1_Command_Model.COM[i] = rtDW.COM_private_g[i]; + Actuator_Ch1_Command_Model.Stall_SET[i] = rtDW.Stall_private_l[i]; + Actuator_Ch1_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private_n[i]; + Actuator_Ch1_Command_Model.Autos_SET[i] = rtDW.Autos_private_n[i]; + Actuator_Ch1_Command_Model.Speed_SET[i] = rtDW.Speed_private_j[i]; + Actuator_Ch1_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_c[i]; + } + + /* End of BusCreator: '/Bus Creator' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' + */ + for (i = 0; i < 6; i++) { + rtb_Compare_ad[i] = (rtDW.ErrorCalibration_private_p[i] == 0); + } + + /* End of RelationalOperator: '/Compare' */ + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_Compare_ad[0]; + for (i = 0; i < 5; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_Compare_ad[i + 1]); + } + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Product: '/Product' + */ + for (i = 0; i < 6; i++) { + if (rtb_Compare_e) { + rtb_DataTypeConversion_mo[i] = (uint8_t)((uint32_t) + rtDW.ErrorCalibration_private_p[i] * rtConstP.Constant3_Value[i]); + } else { + rtb_DataTypeConversion_mo[i] = 0U; + } + } + + /* End of Switch: '/Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' + */ + rtb_DataTypeConversion_mo[6] = 0U; + rtb_DataTypeConversion_mo[7] = 0U; + rtb_DataTypeConversion_mo[8] = 0U; + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Concatenate: '/LIN1' + */ + rtDW.BUS_ADR_private_j[i] = rtb_DataTypeConversion_mo[i]; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.COM_private_g[i] = 0U; + } + + for (i = 0; i < 8; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Product: '/Divide' + */ + rtb_Saturation2 = rtDW.MaxPositionCh2_private[i]; + if (rtb_Saturation2 != 0) { + rtb_duct_select_index_dbg_c = (double) + Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double)rtb_Saturation2 * + 100.0; + } else { + rtb_duct_select_index_dbg_c = 0.0; + } + + /* End of Switch: '/Switch' */ + + /* Saturate: '/Saturation' */ + if (rtb_duct_select_index_dbg_c > 100.0) { + /* DataTypeConversion: '/Data Type Conversion' */ + rtb_DataTypeConversion_mo[i] = 100U; + } else { + /* DataTypeConversion: '/Data Type Conversion' */ + rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_duct_select_index_dbg_c; + } + + /* End of Saturate: '/Saturation' */ + } + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' + */ + rtb_DataTypeConversion_mo[8] = 0U; + + /* DataStoreWrite: '/Data Store Write2' */ + for (i = 0; i < 9; i++) { + rtb_DataTypeConversion_kl[i] = rtb_DataTypeConversion_mo[i]; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + */ + if (rtDW.stepSig_private_g > 0) { + rtb_y_cb = rtDW.stepSig_private_g; + } else { + rtb_y_cb = 1; + } + + /* End of Switch: '/Switch' */ + + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_cb) { + case 1: + /* 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 ((Actuator_Ch2_Status_Model.Busy == 0) && + (Actuator_Ch2_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_k[i] = 1U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_c[i] = 2U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_b = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 3] Stop Mode\n'); */ + printf("[LIN 3] Stop Mode\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_b = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* 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' + */ + /* 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' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_h[i] = 6000U; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_k[i] = 2U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' + */ + rtB.Merge_b = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 3] Initial CPOS Min\n'); */ + printf("[LIN 3] Initial CPOS Min\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' + */ + rtB.Merge_b = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + break; + + case 3: + /* 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 ((Actuator_Ch2_Status_Model.Busy == 0) && + (Actuator_Ch2_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_c[i] = 0U; + + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_k[i] = 1U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_b = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 3] Normal Mode\n'); */ + printf("[LIN 3] Normal Mode\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_b = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* 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' + */ + /* 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' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_g[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_f[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Lnoise_private_g[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_b[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_l[i] = 3U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_h[i] = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' + */ + rtDW.COM_private_k[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_b = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 3] Move to position Min\n'); */ + printf("[LIN 3] Move to position Min\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_b = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* 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' + */ + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + */ + for (i = 0; i < 8; i++) { + rtb_Compare_ad[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) + || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 0) || + (rtDW.ErrorCalibration_private_b[i] == 0)); + } + + /* End of Logic: '/Logical Operator3' */ + + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' + */ + rtb_Compare_e = rtb_Compare_ad[0]; + for (i = 0; i < 7; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_Compare_ad[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 ((Actuator_Ch2_Status_Model.Busy == 0) && + (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_Compare_e) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' */ + for (i = 0; i < 9; i++) { + /* 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 DataStoreWrite: '/Data Store Write1' */ + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_b = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 3] Check Stall Min\n'); */ + printf("[LIN 3] Check Stall Min\n"); + fflush(stdout); + + /* : for i = 1:numel(data) */ + for (i = 0; i < 9; i++) { + /* : fprintf('[LIN 3] MIN = %d ', int16(data(i))); */ + rtb_out_mxq = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 3] MIN = %d ", (int16_t)rtb_out_mxq); + fflush(stdout); + } + + /* : fprintf('\n'); */ + printf("\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_b = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ + break; + + case 6: + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch2_Status_Model.Busy == 0) && + (Actuator_Ch2_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_k[i] = 2U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_h[i] = 0U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_b = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 3] Initial CPOS Max\n'); */ + printf("[LIN 3] Initial CPOS Max\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_b = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + break; + + case 7: + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch2_Status_Model.Busy == 0) && + (Actuator_Ch2_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_g[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_f[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Lnoise_private_g[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_b[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_l[i] = 3U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_h[i] = 6000U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' + */ + rtDW.COM_private_k[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_b = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 3] Move to position Max\n'); */ + printf("[LIN 3] Move to position Max\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_b = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ + break; + + case 8: + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' + */ + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + */ + for (i = 0; i < 8; i++) { + rtb_Compare_ad[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) + || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 6000) + || (rtDW.ErrorCalibration_private_b[i] == 0)); + } + + /* End of Logic: '/Logical Operator3' */ + + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' + */ + rtb_Compare_e = rtb_Compare_ad[0]; + for (i = 0; i < 7; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_Compare_ad[i + 1]); + } + + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' + */ + if ((Actuator_Ch2_Status_Model.Busy == 0) && + (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_Compare_e) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' */ + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + if (rtDW.ErrorCalibration_private_b[i] != 0) { + rtDW.MaxPositionCh2_private[i] = + Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; + } else { + rtDW.MaxPositionCh2_private[i] = 0U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of DataStoreWrite: '/Data Store Write1' */ + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_b = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_D == 2.0) { + /* : fprintf('[LIN 3] Check Stall MAX\n'); */ + printf("[LIN 3] Check Stall MAX\n"); + fflush(stdout); + + /* : for i = 1:numel(data) */ + for (i = 0; i < 9; i++) { + /* : fprintf('[LIN 3] MAX = %d ', int16(data(i))); */ + rtb_out_mxq = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 3] MAX = %d ", (int16_t)rtb_out_mxq); + fflush(stdout); + } + + /* : fprintf('\n'); */ + printf("\n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_b = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ + break; + + case 9: + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' + */ + /* Switch: '/Switch' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/MAX ACT1T ' + */ + for (i = 0; i < 9; i++) { + if (rtDW.act_debug_command > 0.0) { + rtb_out_cej[i] = rtConstP.pooled94[i]; + } else { + rtb_out_cej[i] = rtDW.MaxPositionCh2_private[i]; + } + } + + /* End of Switch: '/Switch' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + */ + for (i = 0; i < 8; i++) { + rtb_Divide1_pb[i] = (double)rtb_out_cej[i] / (double) + rtConstP.ACT1_Value_m[i]; + } + + /* End of Product: '/Divide1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/koef for special actuator' + */ + rtb_Divide1_pb[8] = 1.0; + + /* 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' + */ + for (i = 0; i < 9; i++) { + /* RelationalOperator: '/Compare' */ + rtb_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ + rtb_RelationalOperator6_f = ((rtb_duct_select_index_dbg_c >= 0.6) && + (rtb_duct_select_index_dbg_c <= 1.5)); + rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorCalibration_private_b[i] = (uint8_t) + ((!rtb_RelationalOperator6_f) && (rtDW.ErrorCalibration_private_b[i] + != 0)); + } + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * Logic: '/Logical Operator2' + */ + /* : if(LOGGER>0) */ + if (rtb_D > 0.0) { + /* : fprintf("[LIN 3] Homing 0\n"); */ + printf("[LIN 3] Homing 0\n"); + fflush(stdout); + + /* : for i = 1:numel(MAX) */ + for (i = 0; i < 6; i++) { + /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ + rtb_out_mxq = rtDW.MaxPositionCh2_private[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", + (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], + (int16_t)!rtb_LogicalOperator3_n2[i]); + fflush(stdout); + } + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* Logic: '/Logical Operator1' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_h3 = 4; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_h3 = 1; + } + + /* 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' + */ + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); + } + + /* End of RelationalOperator: '/Compare' */ + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + } + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + rtDW.CCU_ActuatorErrF_Stat_private = rtb_Compare_e; + for (i = 0; i < 9; i++) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + rtDW.COM_private_k[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorActuator_a[i] = (uint8_t)(rtb_RelationalOperator6_f || + (rtDW.ErrorActuator_a[i] != 0)); + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.MODE_private_c[i] = 2U; + } + + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + /* : if(LOGGER>=0) */ + if (rtb_D >= 0.0) { + /* : for i = 1:numel(ErrCallibration) */ + for (i = 0; i < 9; i++) { + /* : if ErrCallibration(i) == 1 */ + if (rtb_LogicalOperator3_n2[i]) { + /* : fprintf('[LIN 3] Failure with actuator #%d\n', int16(i)); */ + printf("[LIN 3] Failure with actuator #%d\n", (int16_t)(i + 1)); + fflush(stdout); + } + } + } + + /* End of MATLAB Function: '/Write ERROR' */ + for (i = 0; i < 9; i++) { + /* Logic: '/Logical Operator1' */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + */ + rtDW.ErrorCalibration_private_b[i] = (uint8_t) + ((!rtb_RelationalOperator6_f) && (rtDW.ErrorCalibration_private_b[i] + != 0)); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[i + 54] = rtb_RelationalOperator6_f; + } + + /* 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' + */ + /* : if(LOGGER>0) */ + if (rtb_D > 0.0) { + /* : fprintf("[LIN 3] Homing 1. Start Callibration \n"); */ + printf("[LIN 3] Homing 1. Start Callibration \n"); + fflush(stdout); + + /* : for i = 1:numel(MAX) */ + for (i = 0; i < 6; i++) { + /* : if(ERRORS(i)==1) */ + if (rtDW.ErrorCalibration_private_b[i] == 1) { + /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ + rtb_out_mxq = rtDW.MaxPositionCh2_private[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", + (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], + (int16_t)rtDW.ErrorCalibration_private_b[i]); + fflush(stdout); + } + } + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtb_Compare_e = (rtDW.ErrorCalibration_private_b[0] != 0); + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || (rtDW.ErrorCalibration_private_b[i + 1] + != 0)); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_h3 = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_h3 = 4; + } + + /* 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' + */ + for (i = 0; i < 9; i++) { + /* RelationalOperator: '/Compare' */ + rtb_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ + rtb_RelationalOperator6_f = (((rtb_duct_select_index_dbg_c < 0.97) || + (rtb_duct_select_index_dbg_c > 1.03)) && + (rtDW.ErrorCalibration_private_b[i] != 0)); + rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.ErrorCalibration_private_b[i] = rtb_RelationalOperator6_f; + } + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + */ + /* : if(LOGGER>0) */ + if (rtb_D > 0.0) { + /* : fprintf("[LIN 3] Homing 3. Callibration \n"); */ + printf("[LIN 3] Homing 3. Callibration \n"); + fflush(stdout); + + /* : for i = 1:numel(MAX) */ + for (i = 0; i < 6; i++) { + /* : if(ERRORS(i)==1) */ + if (rtb_LogicalOperator3_n2[i]) { + /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ + rtb_out_mxq = rtDW.MaxPositionCh2_private[i]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", + (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], 1); + fflush(stdout); + } + } + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* Logic: '/Logical Operator2' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + } + + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' + */ + if (rtb_Compare_e) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' + */ + rtB.Merge_h3 = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_h3 = 4; + } + + /* 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' + */ + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' + */ + /* : if(LOGGER>1) */ + if (rtb_D > 1.0) { + /* : fprintf("[LIN 3] Homing 3. Start Time on step %d\n",int16(step)); */ + rtb_duct_select_index_dbg_c = rt_roundd(rtDW.ErrorHomming_private_m); + if (rtb_duct_select_index_dbg_c < 32768.0) { + if (rtb_duct_select_index_dbg_c >= -32768.0) { + rtb_Switch2_nb = (int16_t)rtb_duct_select_index_dbg_c; + } else { + rtb_Switch2_nb = INT16_MIN; + } + } else { + rtb_Switch2_nb = INT16_MAX; + } + + printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_Switch2_nb); + fflush(stdout); + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* 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' + */ + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + MATLABFunction(rtDW.Start_timer, rtDW.t_now, &rtb_dt_nx, + &rtDW.sf_MATLABFunction_g); + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + /* : if(LOGGER>1) */ + if (rtb_D > 1.0) { + /* : fprintf("[LIN 3] Homing 3. Start TIme dt = %d \n",int32(data)); */ + rtb_Subtract = rtb_dt_nx; + if (rtb_dt_nx > 2147483647U) { + rtb_Subtract = 2147483647U; + } + + printf("[LIN 3] Homing 3. Start TIme dt = %d \n", (int32_t) + rtb_Subtract); + fflush(stdout); + } + + /* End of MATLAB Function: '/MAX POSITION' */ + + /* If: '/If' */ + if (rtb_dt_nx > 3600000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* 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' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' + */ + rtDW.Start_timer = 1.0; + + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[0] = rtDW.PID_TempRR; + + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[1] = rtDW.PID_TempRL; + + /* DataTypeConversion: '/Data Type Conversion2' */ + for (i = 0; i < 6; i++) { + /* Saturate: '/Saturation' */ + rtb_Saturation2 = rtb_Gain1_o3[i]; + if (rtb_Saturation2 <= 99) { + coef_max[i] = (uint8_t)rtb_Saturation2; + } else { + coef_max[i] = 99U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[2] = coef_max[0]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[3] = coef_max[4]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[4] = coef_max[1]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[5] = coef_max[2]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[6] = coef_max[5]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[7] = coef_max[3]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant1' + * SignalConversion generated from: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[8] = 0U; + for (i = 0; i < 9; i++) { + /* Product: '/Product' */ + min_side_L = rtDW.BUS_ADR_private_a[i]; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' + */ + rtDW.POS_private_h[i] = (uint16_t)((double)(min_side_L * + rtDW.MaxPositionCh2_private[i]) / 100.0); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_mo[i] == + min_side_L); + } + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_Compare_e) { + rtDW.COM_private_k[i] = 0U; + } else { + rtDW.COM_private_k[i] = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' + */ + rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_mo[i] != rtDW.BUS_ADR_private_a[i]) * + rtConstP.pooled146[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_g[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_f[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private_g[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_b[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_l[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' + */ + rtB.Merge_h3 = 3; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + IfActionSubsystem1(&rtB.Merge_h3, &rtDW.CCU_ActuatorErrF_Stat_private, + rtDW.COM_private_k, rtDW.ErrorActuator_a, + rtDW.ErrorCalibration_private_b, &rtb_D, + rtDW.MODE_private_c, rtDW.dtc_state_error_model); + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + } + + /* 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' + */ + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[0] = rtDW.PID_TempRR; + + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[1] = rtDW.PID_TempRL; + + /* DataTypeConversion: '/Data Type Conversion2' */ + for (i = 0; i < 6; i++) { + /* Saturate: '/Saturation' */ + rtb_Saturation2 = rtb_Gain1_o3[i]; + if (rtb_Saturation2 <= 99) { + coef_max[i] = (uint8_t)rtb_Saturation2; + } else { + coef_max[i] = 99U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[2] = coef_max[0]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[3] = coef_max[4]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[4] = coef_max[1]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[5] = coef_max[2]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[6] = coef_max[5]; + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[7] = coef_max[3]; + + /* DataStoreRead: '/valves target in percent1' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[8] = min_side_L; + for (i = 0; i < 9; i++) { + /* Product: '/Product' */ + min_side_L = rtDW.BUS_ADR_private_a[i]; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' + */ + rtDW.POS_private_h[i] = (uint16_t)((double)(min_side_L * + rtDW.MaxPositionCh2_private[i]) / 100.0); + + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_mo[i] == min_side_L); + } + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + for (i = 0; i < 8; i++) { + rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + } + + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' + */ + if (rtb_Compare_e) { + rtDW.COM_private_k[i] = 0U; + } else { + rtDW.COM_private_k[i] = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' + */ + rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) + (rtb_DataTypeConversion_mo[i] != rtDW.BUS_ADR_private_a[i]) * + rtConstP.pooled146[i]); + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_g[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_f[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' + */ + rtDW.Lnoise_private_g[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_b[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_l[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' + */ + rtB.Merge_h3 = 4; + + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + /* : if(LOGGER>0) */ + if (rtb_D > 0.0) { + /* : fprintf("[LIN 3] Homing. Callibration successful \n"); */ + printf("[LIN 3] Homing. Callibration successful \n"); + fflush(stdout); + } + + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.stepHoming_private_a = rtB.Merge_h3; + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtB.Merge_b = rtDW.stepSig_private_g; + + /* End of Outputs for SubSystem: '/Homing' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Finish write stepSig' */ + rtDW.stepSig_private_g = rtB.Merge_b; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' + */ + for (i = 0; i < 9; i++) { + Actuator_Ch2_Command_Model.POS[i] = rtDW.POS_private_h[i]; + Actuator_Ch2_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private_a[i]; + Actuator_Ch2_Command_Model.MODE[i] = rtDW.MODE_private_c[i]; + Actuator_Ch2_Command_Model.COM[i] = rtDW.COM_private_k[i]; + Actuator_Ch2_Command_Model.Stall_SET[i] = rtDW.Stall_private_f[i]; + Actuator_Ch2_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private_g[i]; + Actuator_Ch2_Command_Model.Autos_SET[i] = rtDW.Autos_private_g[i]; + Actuator_Ch2_Command_Model.Speed_SET[i] = rtDW.Speed_private_b[i]; + Actuator_Ch2_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_l[i]; + } + + /* End of BusCreator: '/Bus Creator' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' + */ + for (i = 0; i < 8; i++) { + rtb_Compare_ad[i] = (rtDW.ErrorCalibration_private_b[i] == 0); + } + + /* End of RelationalOperator: '/Compare' */ + + /* Logic: '/Logical Operator' */ + rtb_Compare_e = rtb_Compare_ad[0]; + for (i = 0; i < 7; i++) { + rtb_Compare_e = (rtb_Compare_e || rtb_Compare_ad[i + 1]); + } + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Product: '/Product' + */ + for (i = 0; i < 8; i++) { + if (rtb_Compare_e) { + rtb_DataTypeConversion_mo[i] = (uint8_t)((uint32_t) + rtDW.ErrorCalibration_private_b[i] * rtConstP.Constant3_Value_d[i]); + } else { + rtb_DataTypeConversion_mo[i] = 0U; + } + } + + /* End of Switch: '/Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' + */ + rtb_DataTypeConversion_mo[8] = 0U; + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Concatenate: '/Vector Concatenate' + */ + rtDW.BUS_ADR_private_a[i] = rtb_DataTypeConversion_mo[i]; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.COM_private_k[i] = 0U; + } + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/OR2' + */ + rtDW.CCU_AirQualSenErr_Stat = (uint8_t) + ((rtDW.LIN4_ERROR_model.in_error_connect[0] != 0) || + (rtDW.LIN4_ERROR_model.Error_Connect != 0) || + (rtDW.LIN4_AirQS_Stat_Model.AirQS_LinRespErr_Stat != 0) || + (rtDW.LIN4_AirQS_Stat_Model.AirQS_Err_Stat != 0)); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtDW.Aroma_CartridgeFlavor = + rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeFlavor_Stat; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtDW.Aroma_CartridgeCapacity = + rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeCapacity_Stat; + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write13' + * Logic: '/OR' + */ + rtDW.CCU_IonizationErr_Stat = (uint8_t) + ((rtDW.LIN4_ERROR_model.in_error_connect[2] != 0) || + (rtDW.LIN4_ERROR_model.Error_Connect != 0) || + (rtDW.LIN4_Ionizer_Stat_Model.Ionizer_LinRespErr_Stat != 0) || + (rtDW.LIN4_Ionizer_Stat_Model.Ionizer_Err_Stat != 0)); + + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.dtc_state_error_model[41] = rtDW.LIN4_ERROR_model.Error_Connect; + + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.dtc_state_error_model[44] = rtDW.LIN4_ERROR_model.Error_Connect; + + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.dtc_state_error_model[42] = rtDW.CCU_IonizationErr_Stat; + + /* DataStoreWrite: '/Data Store Write18' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.dtc_state_error_model[43] = rtDW.CCU_IonizationErr_Stat; + + /* DataStoreWrite: '/Data Store Write19' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.dtc_state_error_model[49] = rtDW.LIN4_ERROR_model.Error_Connect; + + /* DataStoreWrite: '/Data Store Write20' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dtc_state_error_model[47] = rtDW.CCU_AirQualSenErr_Stat; + + /* DataStoreWrite: '/Data Store Write21' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dtc_state_error_model[48] = rtDW.CCU_AirQualSenErr_Stat; + + /* DataStoreWrite: '/Data Store Write22' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dtc_state_error_model[117] = rtDW.CCU_AirQualSenErr_Stat; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + * Logic: '/OR1' + */ + rtDW.CCU_AromaErr_Stat = (uint8_t)((rtDW.LIN4_ERROR_model.in_error_connect[1] + != 0) || (rtDW.LIN4_ERROR_model.Error_Connect != 0) || + (rtDW.LIN4_Aroma_Stat_Model.Aroma_LinRespErr_Stat != 0) || + (rtDW.LIN4_Aroma_Stat_Model.Aroma_Err_Stat != 0)); + + /* DataStoreWrite: '/Data Store Write23' incorporates: + * DataStoreWrite: '/Data Store Write7' + */ + rtDW.dtc_state_error_model[119] = rtDW.CCU_AromaErr_Stat; + + /* DataStoreWrite: '/Data Store Write24' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.dtc_state_error_model[118] = rtDW.CCU_IonizationErr_Stat; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write7' + */ + rtDW.dtc_state_error_model[39] = rtDW.CCU_AromaErr_Stat; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.AirQS_COLvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_COLvl_Stat; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.AirQS_NOxLvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_NOxLvl_Stat; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.AirQS_NH3Lvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_NH3Lvl_Stat; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtDW.Aroma_CartridgeSw = rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeSw_Stat; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreWrite: '/Data Store Write7' + */ + rtDW.dtc_state_error_model[40] = rtDW.CCU_AromaErr_Stat; + + /* Outputs for Enabled SubSystem: '/CHANEL4' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if (rtDW.BCM_T15_Stat > 0) { + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write8' + * Logic: '/OR' + * Logic: '/OR2' + * Logic: '/OR4' + * Logic: '/OR6' + */ + rtDW.CCU_DeflectorSwErrF_Stat = (uint8_t) + ((rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[0] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[1] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[2] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[3] != 0) || + ((rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[0] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[1] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[2] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[3] != 0)) || + ((rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[0] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[1] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[2] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[3] != 0)) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect != 0)); + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreWrite: '/Data Store Write8' + */ + rtDW.dtc_state_error_model[45] = rtDW.CCU_DeflectorSwErrF_Stat; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtDW.dtc_state_error_model[125] = + rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write9' + * Logic: '/OR1' + * Logic: '/OR3' + * Logic: '/OR5' + * Logic: '/OR7' + */ + rtDW.CCU_DeflectorSwErrR_Stat = (uint8_t) + ((rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[4] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[5] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[6] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[7] != 0) || + ((rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[4] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[5] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[6] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[7] != 0)) || + ((rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[4] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[5] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[6] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[7] != 0)) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect != 0)); + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreWrite: '/Data Store Write9' + */ + rtDW.dtc_state_error_model[46] = rtDW.CCU_DeflectorSwErrR_Stat; + + /* DataStoreWrite: '/Data Store Write23' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtDW.dtc_state_error_model[119] = + rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + */ + rtb_RelationalOperator6_f = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[0] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_RelationalOperator6_f > (int32_t)rtDW.DelayInput1_DSTATE_e5) + { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_SFL - 1) >= 0) { + rtDW.DRS_SFL = (uint8_t)((int8_t)rtDW.DRS_SFL - 1); + } else { + rtDW.DRS_SFL = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_e = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[1] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_Compare_e > (int32_t)rtDW.DelayInput1_DSTATE_k) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_CFL - 1) >= 0) { + rtDW.DRS_CFL = (uint8_t)((int8_t)rtDW.DRS_CFL - 1); + } else { + rtDW.DRS_CFL = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_pnq = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[2] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_Compare_pnq > (int32_t)rtDW.DelayInput1_DSTATE_l) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_CFR - 1) >= 0) { + rtDW.DRS_CFR = (uint8_t)((int8_t)rtDW.DRS_CFR - 1); + } else { + rtDW.DRS_CFR = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem2' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_ff = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[3] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_Compare_ff > (int32_t)rtDW.DelayInput1_DSTATE_kb) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_SFR - 1) >= 0) { + rtDW.DRS_SFR = (uint8_t)((int8_t)rtDW.DRS_SFR - 1); + } else { + rtDW.DRS_SFR = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem3' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_mg = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[4] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_Compare_mg > (int32_t)rtDW.DelayInput1_DSTATE_kk) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_SRL - 1) >= 0) { + rtDW.DRS_SRL = (uint8_t)((int8_t)rtDW.DRS_SRL - 1); + } else { + rtDW.DRS_SRL = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem4' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_gq = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[5] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_Compare_gq > (int32_t)rtDW.DelayInput1_DSTATE_d) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_SRR - 1) >= 0) { + rtDW.DRS_SRR = (uint8_t)((int8_t)rtDW.DRS_SRR - 1); + } else { + rtDW.DRS_SRR = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem5' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_de = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[6] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_Compare_de > (int32_t)rtDW.DelayInput1_DSTATE_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_CRL - 1) >= 0) { + rtDW.DRS_CRL = (uint8_t)((int8_t)rtDW.DRS_CRL - 1); + } else { + rtDW.DRS_CRL = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem6' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_dw = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[7] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_Compare_dw > (int32_t)rtDW.DelayInput1_DSTATE_i) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_CRR - 1) >= 0) { + rtDW.DRS_CRR = (uint8_t)((int8_t)rtDW.DRS_CRR - 1); + } else { + rtDW.DRS_CRR = 3U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem7' */ + + /* Update for UnitDelay: '/Delay Input1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_e5 = rtb_RelationalOperator6_f; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_k = rtb_Compare_e; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_l = rtb_Compare_pnq; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_kb = rtb_Compare_ff; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_kk = rtb_Compare_mg; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_d = rtb_Compare_gq; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_b = rtb_Compare_de; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_i = rtb_Compare_dw; + } + + /* End of DataStoreRead: '/Data Store Read1' */ + /* End of Outputs for SubSystem: '/CHANEL4' */ + + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/MODE_ACTIVE_CONDITIONS1_MAX_AC' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read82' + * DataStoreWrite: '/Data Store Write32' + * DataTypeConversion: '/Data Type Conversion2' + * Logic: '/OR' + * RelationalOperator: '/Relational Operator3' + */ + rtDW.LIN4_CCU_Req_Model.CCU_Ionization_Req = rtDW.CCU_Ionization_algo_active; + rtDW.LIN4_CCU_Req_Model.CCU_AirQS_Req = (uint8_t)((rtDW.Max_AC_mode == 10) || + rtb_RelationalOperator2_p); + rtDW.LIN4_CCU_Req_Model.CCU_fHVAC_Pos_Val = 0U; + rtDW.LIN4_CCU_Req_Model.CCU_rHVAC_Pos_Val = 0U; + rtDW.LIN4_CCU_Req_Model.CCU_batChiller_Pos_Val = 0U; + rtDW.LIN4_CCU_Req_Model.CCU_eeChiller_Pos_Val = 0U; + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreWrite: '/Data Store Write29' + */ + /* : IDLE = uint8(0); */ + /* : LO_RIGHT = uint8(1); */ + /* : HI_RIGHT = uint8(8); */ + /* : LO_LEFT = uint8(10); */ + /* : LO_BOTH = uint8(11); */ + /* : LO_4ZONE = uint8(22); */ + /* : HI_LEFT = uint8(80); */ + /* : HI_BOTH = uint8(88); */ + /* : HI_4ZONE = uint8(99); */ + /* : CAN_LoHi_Front = IDLE; */ + rtDW.CAN_LoHi_Front = 0U; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * MATLAB Function: '/MATLAB Function1' + */ + /* : CAN_LoHi_Rear = IDLE; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 0U; + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read40' + * DataStoreRead: '/Data Store Read41' + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read61' + * DataStoreWrite: '/Data Store Write29' + */ + /* : is_HI_4zone = (FL == 2 && FR == 2 && RL == 2 && RR == 2); */ + /* : is_LO_4zone = (FL == 1 && FR == 1 && RL == 1 && RR == 1); */ + rtb_RelationalOperator6_f = ((rtDW.LO_HI_MODE_FL == 1) && (rtDW.LO_HI_MODE_FR == + 1) && (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1)); + + /* : if is_HI_4zone */ + if ((rtDW.LO_HI_MODE_FL == 2) && (rtDW.LO_HI_MODE_FR == 2) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2)) { + /* : CAN_LoHi_Front = HI_4ZONE; */ + rtDW.CAN_LoHi_Front = 99U; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write29' + * DataStoreWrite: '/Data Store Write' + */ + /* : CAN_LoHi_Rear = HI_4ZONE; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 99U; + } else { + if ((rtDW.LO_HI_MODE_FL == 2) && (rtDW.LO_HI_MODE_FR == 2)) { + /* : elseif FL == 2 && FR == 2 */ + /* : CAN_LoHi_Front = HI_BOTH; */ + rtDW.CAN_LoHi_Front = 88U; + } else if (rtDW.LO_HI_MODE_FL == 2) { + /* : elseif FL == 2 */ + /* : CAN_LoHi_Front = HI_LEFT; */ + rtDW.CAN_LoHi_Front = 80U; + } else if (rtDW.LO_HI_MODE_FR == 2) { + /* : elseif FR == 2 */ + /* : CAN_LoHi_Front = HI_RIGHT; */ + rtDW.CAN_LoHi_Front = 8U; + } else if (rtb_RelationalOperator6_f) { + /* : elseif is_LO_4zone */ + /* : CAN_LoHi_Front = LO_4ZONE; */ + rtDW.CAN_LoHi_Front = 22U; + } else if ((rtDW.LO_HI_MODE_FL == 1) && (rtDW.LO_HI_MODE_FR == 1)) { + /* : elseif FL == 1 && FR == 1 */ + /* : CAN_LoHi_Front = LO_BOTH; */ + rtDW.CAN_LoHi_Front = 11U; + } else if (rtDW.LO_HI_MODE_FL == 1) { + /* : elseif FL == 1 */ + /* : CAN_LoHi_Front = LO_LEFT; */ + rtDW.CAN_LoHi_Front = 10U; + } else if (rtDW.LO_HI_MODE_FR == 1) { + /* : elseif FR == 1 */ + /* : CAN_LoHi_Front = LO_RIGHT; */ + rtDW.CAN_LoHi_Front = 1U; + } + + if ((rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2)) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif RL == 2 && RR == 2 */ + /* : CAN_LoHi_Rear = HI_BOTH; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 88U; + } else if (rtDW.LO_HI_MODE_RL == 2) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif RL == 2 */ + /* : CAN_LoHi_Rear = HI_LEFT; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 80U; + } else if (rtDW.LO_HI_MODE_RR == 2) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif RR == 2 */ + /* : CAN_LoHi_Rear = HI_RIGHT; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 8U; + } else if (rtb_RelationalOperator6_f) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif is_LO_4zone */ + /* : CAN_LoHi_Rear = LO_4ZONE; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 22U; + } else if ((rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1)) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif RL == 1 && RR == 1 */ + /* : CAN_LoHi_Rear = LO_BOTH; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 11U; + } else if (rtDW.LO_HI_MODE_RL == 1) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif RL == 1 */ + /* : CAN_LoHi_Rear = LO_LEFT; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 10U; + } else if (rtDW.LO_HI_MODE_RR == 1) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif RR == 1 */ + /* : CAN_LoHi_Rear = LO_RIGHT; */ + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 1U; + } + } + + /* Switch: '/Switch7' incorporates: + * Constant: '/Constant17' + * Constant: '/Constant18' + * Constant: '/Constant19' + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator16' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator5' + * Sum: '/Subtract' + * Switch: '/Switch4' + * Switch: '/Switch5' + * Switch: '/Switch6' + */ + /* : if is_HI_4zone */ + if (rtDW.leaving == 2.0) { + rtb_Add_p4 = 1.0; + rtb_Divide11 = 1.0; + rtb_Divide10 = 1.0; + rtb_D = 1.0; + } else { + rtb_Add_p4 = (rtDW.CCU_AmbTempSensErr_Stat == 0); + rtb_Divide11 = (AMB_RAW < 50); + rtb_Divide10 = ((int16_t)(rtDW.AMB - AMB_RAW) > 150); + rtb_D = (rtb_Divide1_jg > 50.0); + } + + /* End of Switch: '/Switch7' */ + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant12' + * Constant: '/Constant13' + * Constant: '/Constant14' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read76' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator10' + * RelationalOperator: '/Relational Operator11' + * RelationalOperator: '/Relational Operator13' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator6' + * RelationalOperator: '/Relational Operator9' + * Sum: '/Subtract1' + * Switch: '/Switch1' + */ + if ((rtb_Add_p4 != 0.0) && (rtDW.BCM_T15_Stat == 1) && (rtDW.Mode_FL == 1) && + (rtb_Divide11 != 0.0) && (rtb_Divide10 != 0.0) && (rtb_D != 0.0) && + (rtDW.CCU_AC_MAX != 1) && (rtDW.t_now - rtDW.timer < 600000U) && + (rtDW.start_control_finished_front == 0) && (g_assAUTODEMIST_STEP_UP[0] < + 0)) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator12' + * RelationalOperator: '/Compare' + */ + if (rtDW.timer <= 0U) { + /* DataStoreWrite: '/Data Store Write' */ + rtDW.timer = rtDW.t_now; + } + + /* End of Switch: '/Switch' */ + rtDW.leaving = 2.0; + } else { + rtDW.timer = 0U; + rtDW.leaving = 0.0; + } + + /* End of Switch: '/Switch3' */ + + /* Outputs for Atomic SubSystem: '/MAX AC' */ + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read8' + * RelationalOperator: '/Equal' + */ + rtb_Compare_e = ((rtDW.AMB >= g_assAC_CUT_OFF_AMB_F[0]) && (rtDW.CCU_AC_MAX != + 0)); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/FIU_CCU! null' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write33' + */ + /* : MODE_ACTIVE_CONDITIONS1_MAX_AC = uint8(10); */ + /* : MODE_ACTIVE_CONDITIONS2_MAX_AC = uint8(11); */ + /* : exit_condition = false; */ + rtb_Compare_pnq = false; + + /* : DRS_array_trunc = DRS_array(1:4); */ + /* : if isempty(DRS_array_persistent) */ + if (!rtDW.DRS_array_persistent_not_empty_e) { + /* : DRS_array_persistent = DRS_array_trunc; */ + rtDW.DRS_array_persistent_i[0] = rtY.DRS_output[0]; + rtDW.DRS_array_persistent_i[1] = rtY.DRS_output[1]; + rtDW.DRS_array_persistent_i[2] = rtY.DRS_output[2]; + rtDW.DRS_array_persistent_i[3] = rtY.DRS_output[3]; + rtDW.DRS_array_persistent_not_empty_e = true; + } + + /* : if max_ac_mode == MODE_ACTIVE_CONDITIONS1_MAX_AC || max_ac_mode == MODE_ACTIVE_CONDITIONS2_MAX_AC */ + if ((rtDW.Max_AC_mode == 10) || (rtDW.Max_AC_mode == 11)) { + /* : if ~isequal(DRS_array_trunc, DRS_array_persistent) */ + rtb_RelationalOperator2_p = false; + rtb_RelationalOperator6_f = true; + i = 0; + exitg2 = false; + while ((!exitg2) && (i < 4)) { + if (rtY.DRS_output[i] != rtDW.DRS_array_persistent_i[i]) { + rtb_RelationalOperator6_f = false; + exitg2 = true; + } else { + i++; + } + } + + if (rtb_RelationalOperator6_f) { + rtb_RelationalOperator2_p = true; + } + + if (!rtb_RelationalOperator2_p) { + /* : exit_condition = true; */ + rtb_Compare_pnq = true; + } + + /* : if ~isequal(FIU_CCU1_model, FIU_CCU1_model_null) */ + if (!isequal(rtDW.FIU_CCU1_MODEL, HVAC_model_rtZCmdCAN_FIU_CCU1_Bus)) { + /* : exit_condition = true; */ + rtb_Compare_pnq = true; + } + + /* : if AcButton == 0 */ + if (rtDW.CCU_AC_MAX == 0) { + /* : exit_condition = true; */ + rtb_Compare_pnq = true; + } + } + + /* : DRS_array_persistent = DRS_array_trunc; */ + rtDW.DRS_array_persistent_i[0] = rtY.DRS_output[0]; + rtDW.DRS_array_persistent_i[1] = rtY.DRS_output[1]; + rtDW.DRS_array_persistent_i[2] = rtY.DRS_output[2]; + rtDW.DRS_array_persistent_i[3] = rtY.DRS_output[3]; + + /* End of MATLAB Function: '/MATLAB Function1' */ + + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/Blower step' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read43' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write12' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write8' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Equal1' + */ + /* : MODE_OFF = uint8(0); */ + /* : MODE_ENTRY_STEP1_MAX_AC = uint8(1); */ + /* : MODE_ENTRY_STEP2_MAX_AC = uint8(2); */ + /* : MODE_ENTRY_STEP3_MAX_AC = uint8(3); */ + /* : MODE_ACTIVE_CONDITIONS1_MAX_AC = uint8(10); */ + /* : MODE_ACTIVE_CONDITIONS2_MAX_AC = uint8(11); */ + /* : MODE_EXIT_MAX_AC = uint8(15); */ + /* : CONDITION_NONE = uint8(0); */ + /* : CONDITION_1 = uint8(1); */ + /* : CONDITION_2 = uint8(2); */ + /* : if isempty(is_active_persistent) */ + if (!rtDW.is_active_persistent_not_empty) { + /* : mode_reg = MODE_OFF; */ + /* : is_active_persistent = false; */ + rtDW.is_active_persistent_not_empty = true; + + /* : active_condition_reg = CONDITION_NONE; */ + rtDW.active_condition_reg = 0U; + + /* : FIU_CCmodeFL_Req = uint8(0); */ + /* : FIU_BlowerSpeedFL_Req = uint8(0); */ + /* : FIU_AirDirectionFL_Face_Req = uint8(0); */ + /* : FIU_AirDirectionFL_Foot_Req = uint8(0); */ + /* : FIU_AirDirectionFL_Def_Req = uint8(0); */ + /* : FIU_FootTempCorFL_Req = uint8(0); */ + /* : FIU_CCautoModeFL_Req = uint8(0); */ + /* : FIU_CCmodeFR_Req = uint8(0); */ + /* : FIU_BlowerSpeedFR_Req = uint8(0); */ + /* : FIU_AirDirectionFR_Face_Req = uint8(0); */ + /* : FIU_AirDirectionFR_Foot_Req = uint8(0); */ + /* : FIU_AirDirectionFR_Def_Req = uint8(0); */ + /* : FIU_FootTempCorFR_Req = uint8(0); */ + /* : FIU_CCautoModeFR_Req = uint8(0); */ + /* : FIU_DeflectorSwDL_Req = uint8(0); */ + /* : FIU_DeflectorSwDR_Req = uint8(0); */ + /* : FIU_DeflectorSwFPL_Req = uint8(0); */ + /* : FIU_DeflectorSwFPR_Req = uint8(0); */ + } + + /* : OSA_valve = uint8(0); */ + rtDW.Max_AC_OSA_valve = 0U; + + /* : REC_valve = uint8(0); */ + rtDW.Max_AC_REC_valve = 0U; + + /* : three_way_valve_close_request = false; */ + rtDW.Max_AC_3_way_valve_close_req = false; + + /* : ac_front_on_request = false; */ + rtDW.Max_AC_front_AC_req = false; + + /* : FIU_CCU1_model_out = FIU_CCU1_model_in; */ + rtDW.FIU_CCU1_MaxAC = rtDW.FIU_CCU1_MODEL; + + /* : if is_active_persistent == false && ... */ + /* : (entry_conditions1_max_ac == true || entry_conditions2_max_ac == true) */ + if ((!rtDW.is_active_persistent_i) && (rtb_Compare_e || ((rtDW.AMB < + g_assAC_CUT_OFF_AMB_F[0]) && (rtDW.CCU_AC_MAX != 0)))) { + /* : is_active_persistent = true; */ + rtDW.is_active_persistent_i = true; + + /* : mode_reg = MODE_ENTRY_STEP1_MAX_AC; */ + rtDW.mode_reg_o = 1U; + + /* : if entry_conditions1_max_ac == true */ + if (rtb_Compare_e) { + /* : active_condition_reg = CONDITION_1; */ + rtDW.active_condition_reg = 1U; + } else { + /* : else */ + /* : active_condition_reg = CONDITION_2; */ + rtDW.active_condition_reg = 2U; + } + } else if (rtb_Compare_pnq && rtDW.is_active_persistent_i) { + /* : elseif exit_conditions_max_ac == true && is_active_persistent == true */ + /* : is_active_persistent = false; */ + rtDW.is_active_persistent_i = false; + + /* : mode_reg = MODE_EXIT_MAX_AC; */ + rtDW.mode_reg_o = 15U; + } + + /* : mode_reg_active = mode_reg; */ + rtDW.Max_AC_mode = rtDW.mode_reg_o; + + /* : switch mode_reg */ + switch (rtDW.mode_reg_o) { + case 0U: + /* : case MODE_OFF */ + /* : is_active = is_active_persistent; */ + rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; + break; + + case 1U: + /* : case MODE_ENTRY_STEP1_MAX_AC */ + /* : if (CCU_STAT1_model_in.CCU_ModeFL_Stat == 0) */ + if (rtDW.CCU_MODE_FL == 0) { + /* : FIU_CCmodeFL_Req = uint8(1); */ + rtDW.FIU_CCmodeFL_Req_j = 1U; + } else { + /* : else */ + /* : FIU_CCmodeFL_Req = uint8(2); */ + rtDW.FIU_CCmodeFL_Req_j = 2U; + } + + /* : FIU_CCautoModeFL_Req = CCU_STAT1_model_in.CCU_AutoModeFL_Stat; */ + rtDW.FIU_CCautoModeFL_Req_n = rtDW.CCU_AUTOMODE_FL; + + /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFL_Def_Req == 0) { + /* : FIU_BlowerSpeedFL_Req = uint8(8); */ + rtDW.FIU_BlowerSpeedFL_Req_k = 8U; + } else { + /* : else */ + /* : FIU_BlowerSpeedFL_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat; */ + rtDW.FIU_BlowerSpeedFL_Req_k = rtb_Switch_f_FIU_AirDirectionFL_Def_Req; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Face_Stat == 0) */ + if (rtDW.CCU_FACE_FL == 0) { + /* : FIU_AirDirectionFL_Face_Req = uint8(2); */ + rtDW.FIU_AirDirectionFL_Face_Req_e = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Face_Req = uint8(1); */ + rtDW.FIU_AirDirectionFL_Face_Req_e = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Foot_Stat == 0) */ + if (rtDW.CCU_FOOT_FL == 0) { + /* : FIU_AirDirectionFL_Foot_Req = uint8(2); */ + rtDW.FIU_AirDirectionFL_Foot_Req_k = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Foot_Req = uint8(1); */ + rtDW.FIU_AirDirectionFL_Foot_Req_k = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Def_Stat == 0) */ + if (rtDW.CCU_DEF_FL == 0) { + /* : FIU_AirDirectionFL_Def_Req = uint8(2); */ + rtDW.FIU_AirDirectionFL_Def_Req_b = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Def_Req = uint8(1); */ + rtDW.FIU_AirDirectionFL_Def_Req_b = 1U; + } + + /* : FIU_FootTempCorFL_Req = CCU_STAT2_model_in.CCU_FootTempCorFL_Stat + 1; */ + i = (int32_t)(rtDW.CCU_FootTempCorr_FL + 1U); + if (rtDW.CCU_FootTempCorr_FL + 1U > 255U) { + i = 255; + } + + rtDW.FIU_FootTempCorFL_Req_e = (uint8_t)i; + + /* : if (CCU_STAT1_model_in.CCU_ModeFR_Stat == 0) */ + if (rtb_DataTypeConversion1_gy == 0) { + /* : FIU_CCmodeFR_Req = uint8(1); */ + rtDW.FIU_CCmodeFR_Req_p = 1U; + } else { + /* : else */ + /* : FIU_CCmodeFR_Req = uint8(2); */ + rtDW.FIU_CCmodeFR_Req_p = 2U; + } + + /* : FIU_CCautoModeFR_Req = CCU_STAT1_model_in.CCU_AutoModeFR_Stat; */ + rtDW.FIU_CCautoModeFR_Req_g = center_percent; + + /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFL_Face_Req == 0) { + /* : FIU_BlowerSpeedFR_Req = uint8(8); */ + rtDW.FIU_BlowerSpeedFR_Req_a = 8U; + } else { + /* : else */ + /* : FIU_BlowerSpeedFR_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat; */ + rtDW.FIU_BlowerSpeedFR_Req_a = rtb_Switch_f_FIU_AirDirectionFL_Face_Req; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Face_Stat == 0) */ + if (rtb_Merge_m4 == 0) { + /* : FIU_AirDirectionFR_Face_Req = uint8(2); */ + rtDW.FIU_AirDirectionFR_Face_Req_b = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Face_Req = uint8(1); */ + rtDW.FIU_AirDirectionFR_Face_Req_b = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Foot_Stat == 0) */ + if (rtb_Switch_f_FIU_CCmodeFL_Req == 0) { + /* : FIU_AirDirectionFR_Foot_Req = uint8(2); */ + rtDW.FIU_AirDirectionFR_Foot_Req_j = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Foot_Req = uint8(1); */ + rtDW.FIU_AirDirectionFR_Foot_Req_j = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Def_Stat == 0) */ + if (rtb_Merge_c5 == 0) { + /* : FIU_AirDirectionFR_Def_Req = uint8(2); */ + rtDW.FIU_AirDirectionFR_Def_Req_b = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Def_Req = uint8(1); */ + rtDW.FIU_AirDirectionFR_Def_Req_b = 1U; + } + + /* : FIU_FootTempCorFR_Req = CCU_STAT2_model_in.CCU_FootTempCorFR_Stat + 1; */ + i = (int32_t)(rtDW.CCU_SET_FOOT_FR + 1U); + if (rtDW.CCU_SET_FOOT_FR + 1U > 255U) { + i = 255; + } + + rtDW.FIU_FootTempCorFR_Req_a = (uint8_t)i; + + /* : if (CCU_STAT2_model_in.CCU_DeflectorSwDL_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFL_Foot_Req == 0) { + /* : FIU_DeflectorSwDL_Req = uint8(4); */ + rtDW.FIU_DeflectorSwDL_Req_i = 4U; + } else { + /* : else */ + /* : FIU_DeflectorSwDL_Req = CCU_STAT2_model_in.CCU_DeflectorSwDL_Stat; */ + rtDW.FIU_DeflectorSwDL_Req_i = rtb_Switch_f_FIU_AirDirectionFL_Foot_Req; + } + + /* : if (CCU_STAT2_model_in.CCU_DeflectorSwDR_Stat == 0) */ + if (rtb_Switch_f_FIU_CCmodeFR_Req == 0) { + /* : FIU_DeflectorSwDR_Req = uint8(4); */ + rtDW.FIU_DeflectorSwDR_Req_i = 4U; + } else { + /* : else */ + /* : FIU_DeflectorSwDR_Req = CCU_STAT2_model_in.CCU_DeflectorSwDR_Stat; */ + rtDW.FIU_DeflectorSwDR_Req_i = rtb_Switch_f_FIU_CCmodeFR_Req; + } + + /* : if (CCU_STAT2_model_in.CCU_DeflectorSwFPL_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFR_Def_Req == 0) { + /* : FIU_DeflectorSwFPL_Req = uint8(4); */ + rtDW.FIU_DeflectorSwFPL_Req_m = 4U; + } else { + /* : else */ + /* : FIU_DeflectorSwFPL_Req = CCU_STAT2_model_in.CCU_DeflectorSwFPL_Stat; */ + rtDW.FIU_DeflectorSwFPL_Req_m = rtb_Switch_f_FIU_AirDirectionFR_Def_Req; + } + + /* : if (CCU_STAT2_model_in.CCU_DeflectorSwFPR_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFR_Face_Req == 0) { + /* : FIU_DeflectorSwFPR_Req = uint8(4); */ + rtDW.FIU_DeflectorSwFPR_Req_i = 4U; + } else { + /* : else */ + /* : FIU_DeflectorSwFPR_Req = CCU_STAT2_model_in.CCU_DeflectorSwFPR_Stat; */ + rtDW.FIU_DeflectorSwFPR_Req_i = rtb_Switch_f_FIU_AirDirectionFR_Face_Req; + } + + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFL_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_AC_blower_speed_step; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFL_Req = 7U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = uint8(4); */ + rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFL_Req = 4U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFR_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_AC_blower_speed_step; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFR_Req = 7U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = uint8(4); */ + rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFR_Req = 4U; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwDL_Req = uint8(3); */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDL_Req = 3U; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwDR_Req = uint8(3); */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDR_Req = 3U; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPL_Req = uint8(3); */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPL_Req = 3U; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPR_Req = uint8(3); */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPR_Req = 3U; + + /* : mode_reg = MODE_ENTRY_STEP2_MAX_AC; */ + rtDW.mode_reg_o = 2U; + + /* : is_active = is_active_persistent; */ + rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; + break; + + case 2U: + /* : case MODE_ENTRY_STEP2_MAX_AC */ + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ + rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFL_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_AC_blower_speed_step; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFL_Req = 7U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = uint8(4); */ + rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFL_Req = 4U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(0); */ + rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFR_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_AC_blower_speed_step; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFR_Req = 7U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = uint8(4); */ + rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFR_Req = 4U; + + /* : mode_reg = MODE_ENTRY_STEP3_MAX_AC; */ + rtDW.mode_reg_o = 3U; + + /* : is_active = is_active_persistent; */ + rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; + break; + + case 3U: + /* : case MODE_ENTRY_STEP3_MAX_AC */ + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_AC_blower_speed_step; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFL_Req = 7U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_AC_blower_speed_step; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFR_Req = 7U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Def_Req = 2U; + + /* : if active_condition_reg == CONDITION_1 */ + switch (rtDW.active_condition_reg) { + case 1: + /* : mode_reg = MODE_ACTIVE_CONDITIONS1_MAX_AC; */ + rtDW.mode_reg_o = 10U; + break; + + case 2: + /* : elseif active_condition_reg == CONDITION_2 */ + /* : mode_reg = MODE_ACTIVE_CONDITIONS2_MAX_AC; */ + rtDW.mode_reg_o = 11U; + break; + + default: + /* : else */ + /* : mode_reg = MODE_EXIT_MAX_AC; */ + rtDW.mode_reg_o = 15U; + + /* : is_active_persistent = false; */ + rtDW.is_active_persistent_i = false; + break; + } + + /* : is_active = is_active_persistent; */ + rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; + break; + + case 10U: + /* : case MODE_ACTIVE_CONDITIONS1_MAX_AC */ + /* : ac_front_on_request = true; */ + rtDW.Max_AC_front_AC_req = true; + + /* : if (CCUCAN_missing_OCUFL_MSG ~= 0) || (CCUCAN_missing_OCUFR_MSG ~= 0) */ + if ((rtDW.CCUCAN_ccu_candb_error_missing_rx_model.OCUFL_MSG != 0) || + (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.OCUFR_MSG != 0)) { + /* : three_way_valve_close_request = false; */ + rtDW.Max_AC_3_way_valve_close_req = false; + + /* : else */ + /* : if (OCURL_SeatOccupied_Stat == 0 && OCURR_SeatOccupied_Stat == 0) */ + } else if ((rtDW.SeatOccupiedRL == 0) && + (rtDW.CCUCAN_OCURR_MSG_model.OCURR_SeatOccupied_Stat == 0)) { + /* : three_way_valve_close_request = true; */ + rtDW.Max_AC_3_way_valve_close_req = true; + } else { + /* : else */ + /* : three_way_valve_close_request = false; */ + rtDW.Max_AC_3_way_valve_close_req = false; + } + + /* : is_active = is_active_persistent; */ + rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; + break; + + case 11U: + /* : case MODE_ACTIVE_CONDITIONS2_MAX_AC */ + /* : OSA_valve = uint8(100); */ + rtDW.Max_AC_OSA_valve = 100U; + + /* : REC_valve = uint8(0); */ + rtDW.Max_AC_REC_valve = 0U; + + /* : ac_front_on_request = false; */ + rtDW.Max_AC_front_AC_req = false; + + /* : three_way_valve_close_request = false; */ + rtDW.Max_AC_3_way_valve_close_req = false; + + /* : is_active = is_active_persistent; */ + rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; + break; + + case 15U: + /* : case MODE_EXIT_MAX_AC */ + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = FIU_CCmodeFL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFL_Req = rtDW.FIU_CCmodeFL_Req_j; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = FIU_BlowerSpeedFL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFL_Req = rtDW.FIU_BlowerSpeedFL_Req_k; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = FIU_AirDirectionFL_Face_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Face_Req = + rtDW.FIU_AirDirectionFL_Face_Req_e; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = FIU_AirDirectionFL_Foot_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_AirDirectionFL_Foot_Req_k; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = FIU_AirDirectionFL_Def_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Def_Req = + rtDW.FIU_AirDirectionFL_Def_Req_b; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = FIU_FootTempCorFL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFL_Req = rtDW.FIU_FootTempCorFL_Req_e; + + /* : FIU_CCU1_model_out.FIU_CCautoModeFL_Req = FIU_CCautoModeFL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_CCautoModeFL_Req = rtDW.FIU_CCautoModeFL_Req_n; + + /* : if (FIU_CCU1_model_in.FIU_CCmodeFL_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = FIU_CCU1_model_in.FIU_CCmodeFL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFL_Req = + rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_BlowerSpeedFL_Req ~=0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = FIU_CCU1_model_in.FIU_BlowerSpeedFL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFL_Face_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = FIU_CCU1_model_in.FIU_AirDirectionFL_Face_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFL_Foot_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = FIU_CCU1_model_in.FIU_AirDirectionFL_Foot_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFL_Def_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = FIU_CCU1_model_in.FIU_AirDirectionFL_Def_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_FootTempCorFL_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = FIU_CCU1_model_in.FIU_FootTempCorFL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFL_Req = + rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req; + } + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = FIU_CCmodeFR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFR_Req = rtDW.FIU_CCmodeFR_Req_p; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = FIU_BlowerSpeedFR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFR_Req = rtDW.FIU_BlowerSpeedFR_Req_a; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = FIU_AirDirectionFR_Face_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Face_Req = + rtDW.FIU_AirDirectionFR_Face_Req_b; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = FIU_AirDirectionFR_Foot_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_AirDirectionFR_Foot_Req_j; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = FIU_AirDirectionFR_Def_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Def_Req = + rtDW.FIU_AirDirectionFR_Def_Req_b; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = FIU_FootTempCorFR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFR_Req = rtDW.FIU_FootTempCorFR_Req_a; + + /* : FIU_CCU1_model_out.FIU_CCautoModeFR_Req = FIU_CCautoModeFR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_CCautoModeFR_Req = rtDW.FIU_CCautoModeFR_Req_g; + + /* : if (FIU_CCU1_model_in.FIU_CCmodeFR_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = FIU_CCU1_model_in.FIU_CCmodeFR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFR_Req = + rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_BlowerSpeedFR_Req ~=0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = FIU_CCU1_model_in.FIU_BlowerSpeedFR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFR_Face_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = FIU_CCU1_model_in.FIU_AirDirectionFR_Face_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFR_Foot_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = FIU_CCU1_model_in.FIU_AirDirectionFR_Foot_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFR_Def_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = FIU_CCU1_model_in.FIU_AirDirectionFR_Def_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_FootTempCorFR_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = FIU_CCU1_model_in.FIU_FootTempCorFR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFR_Req = + rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req; + } + + /* : FIU_CCU1_model_out.FIU_DeflectorSwDL_Req = FIU_DeflectorSwDL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDL_Req = rtDW.FIU_DeflectorSwDL_Req_i; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwDR_Req = FIU_DeflectorSwDR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDR_Req = rtDW.FIU_DeflectorSwDR_Req_i; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPL_Req = FIU_DeflectorSwFPL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPL_Req = rtDW.FIU_DeflectorSwFPL_Req_m; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPR_Req = FIU_DeflectorSwFPR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPR_Req = rtDW.FIU_DeflectorSwFPR_Req_i; + + /* : if (FIU_CCU1_model_in.FIU_DeflectorSwDL_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_DeflectorSwDL_Req = FIU_CCU1_model_in.FIU_DeflectorSwDL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_DeflectorSwDR_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_DeflectorSwDR_Req = FIU_CCU1_model_in.FIU_DeflectorSwDR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDR_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_DeflectorSwFPL_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPL_Req = FIU_CCU1_model_in.FIU_DeflectorSwFPL_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_DeflectorSwFPR_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPR_Req = FIU_CCU1_model_in.FIU_DeflectorSwFPR_Req; */ + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req; + } + + /* : mode_reg = MODE_OFF; */ + rtDW.mode_reg_o = 0U; + + /* : active_condition_reg = CONDITION_NONE; */ + rtDW.active_condition_reg = 0U; + + /* : is_active = true; */ + rtDW.Max_AC_algo_active = true; + break; + + default: + /* : is_active = is_active_persistent; */ + rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; + break; + } + + /* End of MATLAB Function: '/MATLAB Function' */ + /* End of Outputs for SubSystem: '/MAX AC' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_AC_MAX = rtDW.Max_AC_algo_active; + + /* Outputs for Atomic SubSystem: '/MAX DEF1' */ + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/Constant1' + * Constant: '/FIU_CCU! null' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write33' + * RelationalOperator: '/Equal1' + */ + /* : MODE_ACTIVE_MAX_DEF = uint8(10); */ + /* : exit_condition = false; */ + rtb_Compare_e = false; + + /* : DRS_array_trunc = DRS_array(1:4); */ + /* : if isempty(DRS_array_persistent) */ + if (!rtDW.DRS_array_persistent_not_empty) { + /* : DRS_array_persistent = DRS_array_trunc; */ + rtDW.DRS_array_persistent[0] = rtY.DRS_output[0]; + rtDW.DRS_array_persistent[1] = rtY.DRS_output[1]; + rtDW.DRS_array_persistent[2] = rtY.DRS_output[2]; + rtDW.DRS_array_persistent[3] = rtY.DRS_output[3]; + rtDW.DRS_array_persistent_not_empty = true; + } + + /* : if max_def_mode == MODE_ACTIVE_MAX_DEF */ + if (rtDW.Max_def_mode == 10) { + /* : if ~isequal(DRS_array_trunc, DRS_array_persistent) */ + rtb_RelationalOperator2_p = false; + rtb_RelationalOperator6_f = true; + i = 0; + exitg2 = false; + while ((!exitg2) && (i < 4)) { + if (rtY.DRS_output[i] != rtDW.DRS_array_persistent[i]) { + rtb_RelationalOperator6_f = false; + exitg2 = true; + } else { + i++; + } + } + + if (rtb_RelationalOperator6_f) { + rtb_RelationalOperator2_p = true; + } + + if (!rtb_RelationalOperator2_p) { + /* : exit_condition = true; */ + rtb_Compare_e = true; + } + + /* : if ~isequal(FIU_CCU1_model, FIU_CCU1_model_null) */ + if (!isequal(rtDW.FIU_CCU1_MODEL, HVAC_model_rtZCmdCAN_FIU_CCU1_Bus)) { + /* : exit_condition = true; */ + rtb_Compare_e = true; + } + + /* : if defButton == 0 */ + if (rtDW.CCU_Defrost == 0) { + /* : exit_condition = true; */ + rtb_Compare_e = true; + } + + /* : if Req_Autodemist */ + if (rtb_DataTypeConversion1_hy == 2) { + /* : exit_condition = true; */ + rtb_Compare_e = true; + } + } + + /* : DRS_array_persistent = DRS_array_trunc; */ + rtDW.DRS_array_persistent[0] = rtY.DRS_output[0]; + rtDW.DRS_array_persistent[1] = rtY.DRS_output[1]; + rtDW.DRS_array_persistent[2] = rtY.DRS_output[2]; + rtDW.DRS_array_persistent[3] = rtY.DRS_output[3]; + + /* End of MATLAB Function: '/MATLAB Function1' */ + + /* Lookup_n-D: '/Max_blower_speed_for_ui_step' incorporates: + * DataStoreRead: '/Data Store Read2' + * Lookup_n-D: '/Max_blower_speed' + */ + min_side_L = rtConstP.pooled136[plook_u32u16_binckan + (look1_is16lu64n32tu16_binlcse(rtDW.ECT, rtConstP.Max_blower_speed_bp01Data, + &g_ausMAX_BLR_SPD[0], 5U), &g_ausFLOW_FR_DE2BLR_AF[0], 7U)]; + + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreWrite: '/Data Store Write3' + */ + /* : MODE_OFF = uint8(0); */ + /* : MODE_ENTRY_STEP1_MAX_DEF = uint8(1); */ + /* : MODE_ENTRY_STEP2_MAX_DEF = uint8(2); */ + /* : MODE_ENTRY_STEP3_MAX_DEF = uint8(3); */ + /* : MODE_ACTIVE_MAX_DEF = uint8(10); */ + /* : MODE_EXIT_MAX_DEF = uint8(15); */ + /* : if isempty(is_active_persistent) */ + /* : flu_duct_target = int16(0); */ + rtDW.Max_def_FLU_duct_tg = 0; + + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write7' + * MATLAB Function: '/MATLAB Function' + */ + /* : fru_duct_target = int16(0); */ + /* : OSA_valve = uint8(0); */ + rtDW.Max_def_OSA_valve = 0U; + + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/MATLAB Function' + */ + /* : REC_valve = uint8(0); */ + rtDW.Max_def_Rec_valve = 0U; + + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read43' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write5' + * Logic: '/Logical Operator' + * Lookup_n-D: '/Max_Def_U_Dtg' + * RelationalOperator: '/Equal' + */ + /* : FIU_CCU1_model_out = FIU_CCU1_model_in; */ + rtDW.FIU_CCU1_MaxDef = rtDW.FIU_CCU1_MODEL; + + /* : if entry_conditions_max_defrost == true && is_active_persistent == false */ + if (((rtb_DataTypeConversion1_hy == 1) || (rtDW.CCU_Defrost != 0)) && + (!rtDW.is_active_persistent)) { + /* : is_active_persistent = true; */ + rtDW.is_active_persistent = true; + + /* : mode_reg = MODE_ENTRY_STEP1_MAX_DEF; */ + rtDW.mode_reg = 1U; + } else if (rtb_Compare_e && rtDW.is_active_persistent) { + /* : elseif exit_conditions_max_defrost == true && is_active_persistent == true */ + /* : is_active_persistent = false; */ + rtDW.is_active_persistent = false; + + /* : mode_reg = MODE_EXIT_MAX_DEF; */ + rtDW.mode_reg = 15U; + } + + /* : mode_reg_active = mode_reg; */ + rtDW.Max_def_mode = rtDW.mode_reg; + + /* : switch mode_reg */ + switch (rtDW.mode_reg) { + case 0U: + /* : case MODE_OFF */ + break; + + case 1U: + /* : case MODE_ENTRY_STEP1_MAX_DEF */ + /* : if (CCU_STAT1_model_in.CCU_ModeFL_Stat == 0) */ + if (rtDW.CCU_MODE_FL == 0) { + /* : FIU_CCmodeFL_Req = uint8(1); */ + rtDW.FIU_CCmodeFL_Req = 1U; + } else { + /* : else */ + /* : FIU_CCmodeFL_Req = uint8(2); */ + rtDW.FIU_CCmodeFL_Req = 2U; + } + + /* : FIU_CCautoModeFL_Req = CCU_STAT1_model_in.CCU_AutoModeFL_Stat; */ + rtDW.FIU_CCautoModeFL_Req = rtDW.CCU_AUTOMODE_FL; + + /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFL_Def_Req == 0) { + /* : FIU_BlowerSpeedFL_Req = uint8(8); */ + rtDW.FIU_BlowerSpeedFL_Req = 8U; + } else { + /* : else */ + /* : FIU_BlowerSpeedFL_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat; */ + rtDW.FIU_BlowerSpeedFL_Req = rtb_Switch_f_FIU_AirDirectionFL_Def_Req; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Face_Stat == 0) */ + if (rtDW.CCU_FACE_FL == 0) { + /* : FIU_AirDirectionFL_Face_Req = uint8(2); */ + rtDW.FIU_AirDirectionFL_Face_Req = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Face_Req = uint8(1); */ + rtDW.FIU_AirDirectionFL_Face_Req = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Foot_Stat == 0) */ + if (rtDW.CCU_FOOT_FL == 0) { + /* : FIU_AirDirectionFL_Foot_Req = uint8(2); */ + rtDW.FIU_AirDirectionFL_Foot_Req = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Foot_Req = uint8(1); */ + rtDW.FIU_AirDirectionFL_Foot_Req = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Def_Stat == 0) */ + if (rtDW.CCU_DEF_FL == 0) { + /* : FIU_AirDirectionFL_Def_Req = uint8(2); */ + rtDW.FIU_AirDirectionFL_Def_Req = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Def_Req = uint8(1); */ + rtDW.FIU_AirDirectionFL_Def_Req = 1U; + } + + /* : FIU_FootTempCorFL_Req = CCU_STAT2_model_in.CCU_FootTempCorFL_Stat + 1; */ + i = (int32_t)(rtDW.CCU_FootTempCorr_FL + 1U); + if (rtDW.CCU_FootTempCorr_FL + 1U > 255U) { + i = 255; + } + + rtDW.FIU_FootTempCorFL_Req = (uint8_t)i; + + /* : if (CCU_STAT1_model_in.CCU_ModeFR_Stat == 0) */ + if (rtb_DataTypeConversion1_gy == 0) { + /* : FIU_CCmodeFR_Req = uint8(1); */ + rtDW.FIU_CCmodeFR_Req = 1U; + } else { + /* : else */ + /* : FIU_CCmodeFR_Req = uint8(2); */ + rtDW.FIU_CCmodeFR_Req = 2U; + } + + /* : FIU_CCautoModeFR_Req = CCU_STAT1_model_in.CCU_AutoModeFR_Stat; */ + rtDW.FIU_CCautoModeFR_Req = center_percent; + + /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFL_Face_Req == 0) { + /* : FIU_BlowerSpeedFR_Req = uint8(8); */ + rtDW.FIU_BlowerSpeedFR_Req = 8U; + } else { + /* : else */ + /* : FIU_BlowerSpeedFR_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat; */ + rtDW.FIU_BlowerSpeedFR_Req = rtb_Switch_f_FIU_AirDirectionFL_Face_Req; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Face_Stat == 0) */ + if (rtb_Merge_m4 == 0) { + /* : FIU_AirDirectionFR_Face_Req = uint8(2); */ + rtDW.FIU_AirDirectionFR_Face_Req = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Face_Req = uint8(1); */ + rtDW.FIU_AirDirectionFR_Face_Req = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Foot_Stat == 0) */ + if (rtb_Switch_f_FIU_CCmodeFL_Req == 0) { + /* : FIU_AirDirectionFR_Foot_Req = uint8(2); */ + rtDW.FIU_AirDirectionFR_Foot_Req = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Foot_Req = uint8(1); */ + rtDW.FIU_AirDirectionFR_Foot_Req = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Def_Stat == 0) */ + if (rtb_Merge_c5 == 0) { + /* : FIU_AirDirectionFR_Def_Req = uint8(2); */ + rtDW.FIU_AirDirectionFR_Def_Req = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Def_Req = uint8(1); */ + rtDW.FIU_AirDirectionFR_Def_Req = 1U; + } + + /* : FIU_FootTempCorFR_Req = CCU_STAT2_model_in.CCU_FootTempCorFR_Stat + 1; */ + i = (int32_t)(rtDW.CCU_SET_FOOT_FR + 1U); + if (rtDW.CCU_SET_FOOT_FR + 1U > 255U) { + i = 255; + } + + rtDW.FIU_FootTempCorFR_Req = (uint8_t)i; + + /* : if (CCU_STAT2_model_in.CCU_DeflectorSwDL_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFL_Foot_Req == 0) { + /* : FIU_DeflectorSwDL_Req = uint8(4); */ + rtDW.FIU_DeflectorSwDL_Req = 4U; + } else { + /* : else */ + /* : FIU_DeflectorSwDL_Req = CCU_STAT2_model_in.CCU_DeflectorSwDL_Stat; */ + rtDW.FIU_DeflectorSwDL_Req = rtb_Switch_f_FIU_AirDirectionFL_Foot_Req; + } + + /* : if (CCU_STAT2_model_in.CCU_DeflectorSwDR_Stat == 0) */ + if (rtb_Switch_f_FIU_CCmodeFR_Req == 0) { + /* : FIU_DeflectorSwDR_Req = uint8(4); */ + rtDW.FIU_DeflectorSwDR_Req = 4U; + } else { + /* : else */ + /* : FIU_DeflectorSwDR_Req = CCU_STAT2_model_in.CCU_DeflectorSwDR_Stat; */ + rtDW.FIU_DeflectorSwDR_Req = rtb_Switch_f_FIU_CCmodeFR_Req; + } + + /* : if (CCU_STAT2_model_in.CCU_DeflectorSwFPL_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFR_Def_Req == 0) { + /* : FIU_DeflectorSwFPL_Req = uint8(4); */ + rtDW.FIU_DeflectorSwFPL_Req = 4U; + } else { + /* : else */ + /* : FIU_DeflectorSwFPL_Req = CCU_STAT2_model_in.CCU_DeflectorSwFPL_Stat; */ + rtDW.FIU_DeflectorSwFPL_Req = rtb_Switch_f_FIU_AirDirectionFR_Def_Req; + } + + /* : if (CCU_STAT2_model_in.CCU_DeflectorSwFPR_Stat == 0) */ + if (rtb_Switch_f_FIU_AirDirectionFR_Face_Req == 0) { + /* : FIU_DeflectorSwFPR_Req = uint8(4); */ + rtDW.FIU_DeflectorSwFPR_Req = 4U; + } else { + /* : else */ + /* : FIU_DeflectorSwFPR_Req = CCU_STAT2_model_in.CCU_DeflectorSwFPR_Stat; */ + rtDW.FIU_DeflectorSwFPR_Req = rtb_Switch_f_FIU_AirDirectionFR_Face_Req; + } + + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_blower_speed_step; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = min_side_L; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = uint8(4); */ + rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFL_Req = 4U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_blower_speed_step; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = min_side_L; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = uint8(4); */ + rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFR_Req = 4U; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwDL_Req = uint8(3); */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDL_Req = 3U; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwDR_Req = uint8(3); */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDR_Req = 3U; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPL_Req = uint8(3); */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPL_Req = 3U; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPR_Req = uint8(3); */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPR_Req = 3U; + + /* : mode_reg = MODE_ENTRY_STEP2_MAX_DEF; */ + rtDW.mode_reg = 2U; + break; + + case 2U: + /* : case MODE_ENTRY_STEP2_MAX_DEF */ + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ + rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_blower_speed_step; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = min_side_L; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = uint8(4); */ + rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFL_Req = 4U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(0); */ + rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_blower_speed_step; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = min_side_L; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = uint8(4); */ + rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFR_Req = 4U; + + /* : mode_reg = MODE_ENTRY_STEP3_MAX_DEF; */ + rtDW.mode_reg = 3U; + break; + + case 3U: + /* : case MODE_ENTRY_STEP3_MAX_DEF */ + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_blower_speed_step; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = min_side_L; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_blower_speed_step; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = min_side_L; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Def_Req = 1U; + + /* : mode_reg = MODE_ACTIVE_MAX_DEF; */ + rtDW.mode_reg = 10U; + break; + + case 10U: + /* : case MODE_ACTIVE_MAX_DEF */ + /* : flu_duct_target = Max_Def_U_Dtg; */ + rtDW.Max_def_FLU_duct_tg = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, + rtConstP.Max_Def_U_Dtg_bp01Data, &g_assMAX_DEF_U_DTG[0], 9U); + + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write7' + * Lookup_n-D: '/Max_Def_U_Dtg' + */ + /* : fru_duct_target = Max_Def_U_Dtg; */ + /* : OSA_valve = uint8(100); */ + rtDW.Max_def_OSA_valve = 100U; + + /* Switch: '/Switch2' */ + /* : REC_valve = uint8(0); */ + rtDW.Max_def_Rec_valve = 0U; + break; + + case 15U: + /* : case MODE_EXIT_MAX_DEF */ + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = FIU_CCmodeFL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req = rtDW.FIU_CCmodeFL_Req; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = FIU_BlowerSpeedFL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = rtDW.FIU_BlowerSpeedFL_Req; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = FIU_AirDirectionFL_Face_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req = + rtDW.FIU_AirDirectionFL_Face_Req; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = FIU_AirDirectionFL_Foot_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_AirDirectionFL_Foot_Req; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = FIU_AirDirectionFL_Def_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Def_Req = + rtDW.FIU_AirDirectionFL_Def_Req; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = FIU_FootTempCorFL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFL_Req = rtDW.FIU_FootTempCorFL_Req; + + /* : FIU_CCU1_model_out.FIU_CCautoModeFL_Req = FIU_CCautoModeFL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_CCautoModeFL_Req = rtDW.FIU_CCautoModeFL_Req; + + /* : if (FIU_CCU1_model_in.FIU_CCmodeFL_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = FIU_CCU1_model_in.FIU_CCmodeFL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req = + rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_BlowerSpeedFL_Req ~=0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = FIU_CCU1_model_in.FIU_BlowerSpeedFL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFL_Face_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = FIU_CCU1_model_in.FIU_AirDirectionFL_Face_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFL_Foot_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = FIU_CCU1_model_in.FIU_AirDirectionFL_Foot_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFL_Def_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = FIU_CCU1_model_in.FIU_AirDirectionFL_Def_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_FootTempCorFL_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = FIU_CCU1_model_in.FIU_FootTempCorFL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFL_Req = + rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req; + } + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = FIU_CCmodeFR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req = rtDW.FIU_CCmodeFR_Req; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = FIU_BlowerSpeedFR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = rtDW.FIU_BlowerSpeedFR_Req; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = FIU_AirDirectionFR_Face_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req = + rtDW.FIU_AirDirectionFR_Face_Req; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = FIU_AirDirectionFR_Foot_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_AirDirectionFR_Foot_Req; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = FIU_AirDirectionFR_Def_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Def_Req = + rtDW.FIU_AirDirectionFR_Def_Req; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = FIU_FootTempCorFR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFR_Req = rtDW.FIU_FootTempCorFR_Req; + + /* : FIU_CCU1_model_out.FIU_CCautoModeFR_Req = FIU_CCautoModeFR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_CCautoModeFR_Req = rtDW.FIU_CCautoModeFR_Req; + + /* : if (FIU_CCU1_model_in.FIU_CCmodeFR_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = FIU_CCU1_model_in.FIU_CCmodeFR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req = + rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_BlowerSpeedFR_Req ~=0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = FIU_CCU1_model_in.FIU_BlowerSpeedFR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFR_Face_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = FIU_CCU1_model_in.FIU_AirDirectionFR_Face_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFR_Foot_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = FIU_CCU1_model_in.FIU_AirDirectionFR_Foot_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_AirDirectionFR_Def_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req != 0) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = FIU_CCU1_model_in.FIU_AirDirectionFR_Def_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_FootTempCorFR_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = FIU_CCU1_model_in.FIU_FootTempCorFR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFR_Req = + rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req; + } + + /* : FIU_CCU1_model_out.FIU_DeflectorSwDL_Req = FIU_DeflectorSwDL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDL_Req = rtDW.FIU_DeflectorSwDL_Req; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwDR_Req = FIU_DeflectorSwDR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDR_Req = rtDW.FIU_DeflectorSwDR_Req; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPL_Req = FIU_DeflectorSwFPL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPL_Req = rtDW.FIU_DeflectorSwFPL_Req; + + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPR_Req = FIU_DeflectorSwFPR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPR_Req = rtDW.FIU_DeflectorSwFPR_Req; + + /* : if (FIU_CCU1_model_in.FIU_DeflectorSwDL_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_DeflectorSwDL_Req = FIU_CCU1_model_in.FIU_DeflectorSwDL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_DeflectorSwDR_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_DeflectorSwDR_Req = FIU_CCU1_model_in.FIU_DeflectorSwDR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDR_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_DeflectorSwFPL_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req != 0) { + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPL_Req = FIU_CCU1_model_in.FIU_DeflectorSwFPL_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req; + } + + /* : if (FIU_CCU1_model_in.FIU_DeflectorSwFPR_Req ~= 0) */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req != 0) { + /* : FIU_CCU1_model_out.FIU_DeflectorSwFPR_Req = FIU_CCU1_model_in.FIU_DeflectorSwFPR_Req; */ + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req; + } + + /* : mode_reg = MODE_OFF; */ + rtDW.mode_reg = 0U; + break; + } + + /* : is_active = is_active_persistent; */ + rtDW.Max_def_algo_active = rtDW.is_active_persistent; + + /* End of Outputs for SubSystem: '/MAX DEF1' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_Defrost = rtDW.Max_def_algo_active; + + /* MATLAB Function: '/any message from FIU or TM_CP' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read4' + */ + /* : exit_condition = false; */ + /* : if isempty(FIU_CCU1_model_persistent) */ + if (!rtDW.FIU_CCU1_model_persistent_not_empty) { + /* : FIU_CCU1_model_persistent = FIU_CCU1_model; */ + rtDW.FIU_CCU1_model_persistent = rtDW.FIU_CCU1_MODEL; + rtDW.FIU_CCU1_model_persistent_not_empty = true; + } + + /* : if isempty(TM_CP_model_persistent) */ + if (!rtDW.TM_CP_model_persistent_not_empty) { + /* : TM_CP_model_persistent = TM_CP_model; */ + rtDW.TM_CP_model_persistent = rtDW.TM_CP_model; + rtDW.TM_CP_model_persistent_not_empty = true; + } + + /* : if ~isequal(FIU_CCU1_model, FIU_CCU1_model_persistent) */ + /* : if ~isequal(TM_CP_model, TM_CP_model_persistent) */ + /* : FIU_CCU1_model_persistent = FIU_CCU1_model; */ + rtDW.FIU_CCU1_model_persistent = rtDW.FIU_CCU1_MODEL; + + /* : TM_CP_model_persistent = TM_CP_model; */ + rtDW.TM_CP_model_persistent = rtDW.TM_CP_model; + + /* End of MATLAB Function: '/any message from FIU or TM_CP' */ + + /* Chart: '/Operation mode' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.is_active_c1511_HVAC_model == 0U) { + rtDW.is_active_c1511_HVAC_model = 1U; + rtDW.is_c1511_HVAC_model = IN_OFF; + + /* : operation_mode = 0; */ + i = 0; + } else { + switch (rtDW.is_c1511_HVAC_model) { + case IN_FULL: + i = 3; + + /* : sf_internal_predicateOutput = REST_mode_state == 1; */ + /* : sf_internal_predicateOutput = T15_state == 0; */ + if (rtDW.BCM_T15_Stat == 0) { + rtDW.is_c1511_HVAC_model = IN_REDUCED; + + /* : operation_mode = 1; */ + i = 1; + } + break; + + case IN_OFF: + i = 0; + + /* : sf_internal_predicateOutput = T30d_state== 1 & BCM_CCTerm_state == 1 && IGN_voltage > 6; */ + if ((rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T30d_Stat == 1) && + (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTerm_Stat == 1) && (IGN_voltage + > 6.0)) { + rtDW.is_c1511_HVAC_model = IN_REDUCED; + + /* : operation_mode = 1; */ + i = 1; + } else { + /* : sf_internal_predicateOutput = T15_state == 0 && T30d_state== 1 & remote_start_state == 1; */ + } + break; + + case IN_REDUCED: + i = 1; + + /* : sf_internal_predicateOutput = T15_state == 1; */ + if (rtDW.BCM_T15_Stat == 1) { + rtDW.is_c1511_HVAC_model = IN_FULL; + + /* : operation_mode = 3; */ + i = 3; + + /* : sf_internal_predicateOutput = T30d_state~= 1 || BCM_CCTerm_state ~= 1 || IGN_voltage <= 6; */ + } else if ((rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T30d_Stat != 1) || + (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTerm_Stat != 1) || + (IGN_voltage <= 6.0)) { + rtDW.is_c1511_HVAC_model = IN_OFF; + + /* : operation_mode = 0; */ + i = 0; + } + break; + + case IN_REMOTE_START: + /* : sf_internal_predicateOutput = T15_state == 0 && T30d_state == 0; */ + if ((rtDW.BCM_T15_Stat == 0) && + (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T30d_Stat == 0)) { + rtDW.is_c1511_HVAC_model = IN_OFF; + + /* : operation_mode = 0; */ + i = 0; + } else { + /* : sf_internal_predicateOutput = remote_start_state ~= 1 || any_TM_CP_message == 1; */ + rtDW.is_c1511_HVAC_model = IN_FULL; + + /* : operation_mode = 3; */ + i = 3; + } + break; + + default: + /* case IN_REST: */ + i = 2; + + /* : sf_internal_predicateOutput = REST_mode_state == 0 && T15_state == 1; */ + if (rtDW.BCM_T15_Stat == 1) { + rtDW.is_c1511_HVAC_model = IN_FULL; + + /* : operation_mode = 3; */ + i = 3; + } + break; + } + } + + /* End of Chart: '/Operation mode' */ + + /* MATLAB Function: '/choose sensor FRU' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read33' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write23' + * DataStoreWrite: '/Data Store Write' + */ + /* : if duct_center_error || duct_side_error */ + if (Duct2_F_error || Duct6_F_error) { + /* : if duct_side_error */ + if (Duct6_F_error) { + /* : sensor = duct_center; */ + Eva_F_tg = Duct2_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Cmd_3Way = 0; + } else { + /* : else */ + /* : sensor = duct_side; */ + Eva_F_tg = Duct6_F; + + /* : duct_select_index_dbg = 1; */ + rtb_Cmd_3Way = 1; + } + + /* : else */ + /* : if SFR_valve > 0 */ + } else if (rtb_out_cj[3] > 0) { + /* : sensor = duct_side; */ + Eva_F_tg = Duct6_F; + + /* : duct_select_index_dbg = 1; */ + rtb_Cmd_3Way = 1; + } else { + /* : else */ + /* : sensor = duct_center; */ + Eva_F_tg = Duct2_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Cmd_3Way = 0; + } + + /* End of MATLAB Function: '/choose sensor FRU' */ + + /* Gain: '/Gain17' incorporates: + * DataStoreRead: '/Data Store Read44' + * Sum: '/Minus' + * UnitDelay: '/Unit Delay' + */ + rtb_Gain17 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_l) * + 0.0010000000002037268; + + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/Constant27' + * Constant: '/Constant28' + * Constant: '/Constant94' + * Constant: '/Constant95' + * Constant: '/Constant96' + * DataStoreRead: '/Data Store Read42' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion29' + */ + MATLABFunction_m((double)Duct_FRU_Tg, (double)Eva_F_tg, rtb_Gain17, (double) + g_assPID_VALVE_FRONT_UP[0] / 100.0, (double) + g_assPID_VALVE_FRONT_UP[1] / 1000.0, (double) + g_assPID_VALVE_FRONT_UP[2] / 100.0, (double) + g_assPID_VALVE_FRONT_UP[3] / 10.0, (double) + g_assPID_VALVE_FRONT_UP[4] / 10.0, &rtb_output, &rtb_P, + &rtb_output_a, &rtb_output_f, &rtDW.sf_MATLABFunction_m); + + /* Gain: '/Gain16' */ + rtb_Divide7_d = 10.0 * rtb_output_a; + + /* Gain: '/Gain17' */ + rtb_Gain17_h = 10.0 * rtb_output_f; + + /* MATLAB Function: '/choose sensor FRU' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read33' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write23' + */ + /* : if duct_center_error || duct_side_error */ + if (Duct1_F_error || Duct5_F_error) { + /* : if duct_side_error */ + if (Duct5_F_error) { + /* : sensor = duct_center; */ + Eva_F_tg = Duct1_F; + + /* : duct_select_index_dbg = 0; */ + } else { + /* : else */ + /* : sensor = duct_side; */ + Eva_F_tg = Duct5_F; + + /* : duct_select_index_dbg = 1; */ + } + + /* : else */ + /* : if SFL_valve > 0 */ + } else if (rtb_out_cj[3] > 0) { + /* : sensor = duct_side; */ + Eva_F_tg = Duct5_F; + + /* : duct_select_index_dbg = 1; */ + } else { + /* : else */ + /* : sensor = duct_center; */ + Eva_F_tg = Duct1_F; + + /* : duct_select_index_dbg = 0; */ + } + + /* End of MATLAB Function: '/choose sensor FRU' */ + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/Constant26' + * Constant: '/Constant29' + * Constant: '/Constant36' + * Constant: '/Constant41' + * Constant: '/Constant98' + * DataStoreRead: '/Data Store Read17' + * DataTypeConversion: '/Data Type Conversion32' + * DataTypeConversion: '/Data Type Conversion33' + */ + MATLABFunction_m((double)Duct_FLU_Tg, (double)Eva_F_tg, rtb_Gain17, (double) + g_assPID_VALVE_FRONT_UP[0] / 100.0, (double) + g_assPID_VALVE_FRONT_UP[1] / 1000.0, (double) + g_assPID_VALVE_FRONT_UP[2] / 100.0, (double) + g_assPID_VALVE_FRONT_UP[3] / 10.0, (double) + g_assPID_VALVE_FRONT_UP[4] / 10.0, &rtb_output_a, + &rtb_output_f, &rtb_output_n, &rtb_output_e, + &rtDW.sf_MATLABFunction1_l); + + /* Gain: '/Gain19' */ + rtb_Gain19 = 10.0 * rtb_output_n; + + /* Gain: '/Gain20' */ + rtb_Gain20 = 10.0 * rtb_output_e; + + /* Gain: '/Gain18' */ + rtb_Gain18 = 10.0 * rtb_output_f; + + /* MATLAB Function: '/choose sensor FLL' incorporates: + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read33' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write23' + * DataStoreWrite: '/Data Store Write15' + */ + choosesensorFLL(Duct3_F, rtb_Bias1_h, Duct3_F_error, Duct3_R_error, + rtDW.CCUCAN_tStatus_CCU_Configuration_model.AlgorithmConfiguration, + rtb_out_cj[4], rtb_out_cj[5], &rtb_DataTypeConversion1_oq, + &rtb_duct_select_index_dbg_c); + + /* MATLAB Function: '/MATLAB Function2' incorporates: + * Constant: '/Constant100' + * Constant: '/Constant43' + * Constant: '/Constant55' + * Constant: '/Constant85' + * Constant: '/Constant99' + * DataStoreRead: '/Data Store Read35' + * DataTypeConversion: '/Data Type Conversion35' + * DataTypeConversion: '/Data Type Conversion36' + */ + MATLABFunction_m((double)rtb_y_ds, (double)rtb_DataTypeConversion1_oq, + rtb_Gain17, (double)g_assPID_VALVE_FRONT_LOW[0] / 100.0, + (double)g_assPID_VALVE_FRONT_LOW[1] / 1000.0, (double) + g_assPID_VALVE_FRONT_LOW[2] / 100.0, (double) + g_assPID_VALVE_FRONT_LOW[3] / 10.0, (double) + g_assPID_VALVE_FRONT_LOW[4] / 10.0, &rtb_output_f, + &rtb_output_n, &rtb_output_e, &rtb_Divide11, + &rtDW.sf_MATLABFunction2); + + /* Gain: '/Gain22' */ + rtb_Gain22 = 10.0 * rtb_output_e; + + /* Gain: '/Gain23' */ + rtb_Gain23 = 10.0 * rtb_Divide11; + + /* Bias: '/Add Constant6' incorporates: + * Gain: '/Gain21' + */ + rtb_Add_p4 = 10.0 * rtb_output_n + 2048.0; + + /* Saturate: '/Saturation22' */ + if (rtb_Add_p4 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_FLL = 4095U; + } else if (rtb_Add_p4 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_FLL = 0U; + } else { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_FLL = (uint16_t)rtb_Add_p4; + } + + /* End of Saturate: '/Saturation22' */ + + /* MATLAB Function: '/choose sensor FRightLower' incorporates: + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read33' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write23' + * DataStoreWrite: '/Data Store Write15' + */ + choosesensorFLL(Duct4_F, rtb_FLU_tg_correct_ot, Duct4_F_error, Duct4_R_error, + rtDW.CCUCAN_tStatus_CCU_Configuration_model.AlgorithmConfiguration, + rtb_out_cj[6], rtb_out_cj[7], &rtb_DataTypeConversion1_oq, + &IGN_voltage); + + /* MATLAB Function: '/MATLAB Function3' incorporates: + * Constant: '/Constant101' + * Constant: '/Constant102' + * Constant: '/Constant42' + * Constant: '/Constant86' + * Constant: '/Constant87' + * DataStoreRead: '/Data Store Read34' + * DataTypeConversion: '/Data Type Conversion37' + * DataTypeConversion: '/Data Type Conversion38' + */ + MATLABFunction_m((double)rtb_y_he, (double)rtb_DataTypeConversion1_oq, + rtb_Gain17, (double)g_assPID_VALVE_FRONT_LOW[0] / 100.0, + (double)g_assPID_VALVE_FRONT_LOW[1] / 1000.0, (double) + g_assPID_VALVE_FRONT_LOW[2] / 100.0, (double) + g_assPID_VALVE_FRONT_LOW[3] / 10.0, (double) + g_assPID_VALVE_FRONT_LOW[4] / 10.0, &rtb_output_n, + &rtb_output_e, &rtb_Add_p4, &rtb_Divide11, + &rtDW.sf_MATLABFunction3); + + /* Gain: '/Gain25' */ + rtb_Gain25 = 10.0 * rtb_Add_p4; + + /* Gain: '/Gain26' */ + rtb_Gain26 = 10.0 * rtb_Divide11; + + /* Bias: '/Add Constant9' incorporates: + * Gain: '/Gain24' + */ + rtb_Add_p4 = 10.0 * rtb_output_e + 2048.0; + + /* Saturate: '/Saturation25' */ + if (rtb_Add_p4 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_FRL = 4095U; + } else if (rtb_Add_p4 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_FRL = 0U; + } else { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_FRL = (uint16_t)rtb_Add_p4; + } + + /* End of Saturate: '/Saturation25' */ + + /* MATLAB Function: '/MATLAB Function4' incorporates: + * Constant: '/Constant103' + * Constant: '/Constant104' + * Constant: '/Constant89' + * Constant: '/Constant90' + * Constant: '/Constant91' + * DataStoreRead: '/Data Store Read39' + * DataStoreRead: '/Data Store Read40' + * DataTypeConversion: '/Data Type Conversion39' + * DataTypeConversion: '/Data Type Conversion40' + */ + MATLABFunction_m((double)rtb_Merge_b, (double)rtb_X, rtb_Gain17, (double) + g_assPID_VALVE_REAR[0] / 100.0, (double)g_assPID_VALVE_REAR[1] + / 1000.0, (double)g_assPID_VALVE_REAR[2] / 100.0, (double) + g_assPID_VALVE_REAR[3] / 10.0, (double)g_assPID_VALVE_REAR[4] + / 10.0, &rtb_output_e, &rtb_Divide11, &rtb_Add_p4, + &rtb_Divide10, &rtDW.sf_MATLABFunction4); + + /* Gain: '/Gain28' */ + rtb_Gain28 = 10.0 * rtb_Add_p4; + + /* Gain: '/Gain29' */ + rtb_Gain29 = 10.0 * rtb_Divide10; + + /* Bias: '/Add Constant14' incorporates: + * Gain: '/Gain27' + */ + rtb_Add_p4 = 10.0 * rtb_Divide11 + 2048.0; + + /* Saturate: '/Saturation28' */ + if (rtb_Add_p4 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_RL = 4095U; + } else if (rtb_Add_p4 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_RL = 0U; + } else { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_RL = (uint16_t)rtb_Add_p4; + } + + /* End of Saturate: '/Saturation28' */ + + /* MATLAB Function: '/MATLAB Function5' incorporates: + * Constant: '/Constant105' + * Constant: '/Constant106' + * Constant: '/Constant88' + * Constant: '/Constant92' + * Constant: '/Constant93' + * DataStoreRead: '/Data Store Read38' + * DataStoreRead: '/Data Store Read41' + * DataTypeConversion: '/Data Type Conversion41' + * DataTypeConversion: '/Data Type Conversion42' + */ + MATLABFunction_m((double)rtDW.Duct_RR_Tg, (double)rtb_MultiportSwitch_ac, + rtb_Gain17, (double)g_assPID_VALVE_REAR[0] / 100.0, (double) + g_assPID_VALVE_REAR[1] / 1000.0, (double)g_assPID_VALVE_REAR + [2] / 100.0, (double)g_assPID_VALVE_REAR[3] / 10.0, (double) + g_assPID_VALVE_REAR[4] / 10.0, &rtb_Divide11, &rtb_Divide10, + &rtb_Add_p4, &rtb_D, &rtDW.sf_MATLABFunction5); + + /* Gain: '/Gain31' */ + rtb_Gain17 = 10.0 * rtb_Add_p4; + + /* Switch: '/Switch13' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant97' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read76' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch' + */ + if (rtDW.CCU_AC_MAX > 0) { + min_side_L = 0U; + } else if (rtDW.LO_HI_MODE_FL == 1) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + min_side_L = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion28' incorporates: + * Switch: '/Switch' + */ + rtb_Add_p4 = fabs(rtb_output_f); + if (rtb_Add_p4 < 4.503599627370496E+15) { + if (rtb_Add_p4 >= 0.5) { + rtb_output_f = floor(rtb_output_f + 0.5); + } else { + rtb_output_f = 0.0; + } + } + + /* Saturate: '/Saturation10' incorporates: + * DataTypeConversion: '/Data Type Conversion28' + * Switch: '/Switch' + */ + if ((uint8_t)rtb_output_f <= 100) { + min_side_L = (uint8_t)rtb_output_f; + } else { + min_side_L = 100U; + } + + /* End of Saturate: '/Saturation10' */ + } + + /* End of Switch: '/Switch13' */ + + /* Logic: '/Logical Operator1' incorporates: + * DataStoreRead: '/Data Store Read1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator1' + */ + rtb_Compare_e = !rtDW.EAC_OR_FIRE_is_active; + + /* Outputs for Enabled SubSystem: '/PID_TempFLL' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + */ + if (rtb_Compare_e || CCU_AC_FRONT_req_summary) { + /* DataStoreWrite: '/Data Store Write14' */ + rtDW.PID_TempFLL = min_side_L; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempFLL' */ + + /* Switch: '/Switch14' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant97' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read76' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch' + */ + if (rtDW.CCU_AC_MAX > 0) { + min_side_L = 0U; + } else if (rtDW.LO_HI_MODE_FR == 1) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + min_side_L = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion27' incorporates: + * Switch: '/Switch' + */ + rtb_Add_p4 = fabs(rtb_output_n); + if (rtb_Add_p4 < 4.503599627370496E+15) { + if (rtb_Add_p4 >= 0.5) { + rtb_output_n = floor(rtb_output_n + 0.5); + } else { + rtb_output_n = 0.0; + } + } + + /* Saturate: '/Saturation11' incorporates: + * DataTypeConversion: '/Data Type Conversion27' + * Switch: '/Switch' + */ + if ((uint8_t)rtb_output_n <= 100) { + min_side_L = (uint8_t)rtb_output_n; + } else { + min_side_L = 100U; + } + + /* End of Saturate: '/Saturation11' */ + } + + /* End of Switch: '/Switch14' */ + + /* Outputs for Enabled SubSystem: '/PID_TempFRL' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e || Enable_Comp_PID) { + /* DataStoreWrite: '/Data Store Write13' */ + rtDW.PID_TempFRL = min_side_L; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempFRL' */ + + /* Switch: '/Switch12' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant97' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read76' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch' + */ + if (rtDW.CCU_AC_MAX > 0) { + min_side_L = 0U; + } else if (rtDW.LO_HI_MODE_FL == 1) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + min_side_L = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion26' incorporates: + * Switch: '/Switch' + */ + rtb_Add_p4 = fabs(rtb_output_a); + if (rtb_Add_p4 < 4.503599627370496E+15) { + if (rtb_Add_p4 >= 0.5) { + rtb_output_a = floor(rtb_output_a + 0.5); + } else { + rtb_output_a = 0.0; + } + } + + /* Saturate: '/Saturation9' incorporates: + * DataTypeConversion: '/Data Type Conversion26' + * Switch: '/Switch' + */ + if ((uint8_t)rtb_output_a <= 100) { + min_side_L = (uint8_t)rtb_output_a; + } else { + min_side_L = 100U; + } + + /* End of Saturate: '/Saturation9' */ + } + + /* End of Switch: '/Switch12' */ + + /* Outputs for Enabled SubSystem: '/PID_TempFUL' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e || CCU_AC_FRONT_req_summary) { + /* DataStoreWrite: '/Data Store Write12' */ + rtDW.PID_TempFUL = min_side_L; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempFUL' */ + + /* Switch: '/Switch11' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant97' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read76' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch' + */ + if (rtDW.CCU_AC_MAX > 0) { + min_side_L = 0U; + } else if (rtDW.LO_HI_MODE_FR == 1) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + min_side_L = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion34' incorporates: + * Switch: '/Switch' + */ + rtb_Add_p4 = fabs(rtb_output); + if (rtb_Add_p4 < 4.503599627370496E+15) { + if (rtb_Add_p4 >= 0.5) { + rtb_output = floor(rtb_output + 0.5); + } else { + rtb_output = 0.0; + } + } + + /* Saturate: '/Saturation14' incorporates: + * DataTypeConversion: '/Data Type Conversion34' + * Switch: '/Switch' + */ + if ((uint8_t)rtb_output <= 100) { + min_side_L = (uint8_t)rtb_output; + } else { + min_side_L = 100U; + } + + /* End of Saturate: '/Saturation14' */ + } + + /* End of Switch: '/Switch11' */ + + /* Outputs for Enabled SubSystem: '/PID_TempFUR' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e || Enable_Comp_PID) { + /* DataStoreWrite: '/Data Store Write17' */ + rtDW.PID_TempFUR = min_side_L; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempFUR' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator2' + */ + if (rtDW.LO_HI_MODE_RL == 1) { + min_side_L = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion31' */ + rtb_Add_p4 = fabs(rtb_output_e); + if (rtb_Add_p4 < 4.503599627370496E+15) { + if (rtb_Add_p4 >= 0.5) { + rtb_output_e = floor(rtb_output_e + 0.5); + } else { + rtb_output_e = 0.0; + } + } + + /* Saturate: '/Saturation12' incorporates: + * DataTypeConversion: '/Data Type Conversion31' + */ + if ((uint8_t)rtb_output_e <= 100) { + min_side_L = (uint8_t)rtb_output_e; + } else { + min_side_L = 100U; + } + + /* End of Saturate: '/Saturation12' */ + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Enabled SubSystem: '/PID_TempRL' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e || Duct1_R_error) { + /* DataStoreWrite: '/Data Store Write16' */ + rtDW.PID_TempRL = min_side_L; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempRL' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator2' + */ + if (rtDW.LO_HI_MODE_RR == 1) { + min_side_L = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion30' */ + rtb_Add_p4 = fabs(rtb_Divide11); + if (rtb_Add_p4 < 4.503599627370496E+15) { + if (rtb_Add_p4 >= 0.5) { + rtb_Divide11 = floor(rtb_Divide11 + 0.5); + } else { + rtb_Divide11 = 0.0; + } + } + + /* Saturate: '/Saturation13' incorporates: + * DataTypeConversion: '/Data Type Conversion30' + */ + if ((uint8_t)rtb_Divide11 <= 100) { + min_side_L = (uint8_t)rtb_Divide11; + } else { + min_side_L = 100U; + } + + /* End of Saturate: '/Saturation13' */ + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Enabled SubSystem: '/PID_TempRR' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e || Duct2_R_error) { + /* DataStoreWrite: '/Data Store Write15' */ + rtDW.PID_TempRR = min_side_L; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempRR' */ + + /* RelationalOperator: '/Equal' incorporates: + * Constant: '/Full mode' + * DataStoreRead: '/Data Store Read64' + */ + rtb_RelationalOperator2_p = (i == 3); + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read5' + * Product: '/Divide' + * Sum: '/Add' + * Switch: '/Åñëè âêëþ÷åí ðåæèì REST' + */ + if (rtb_RelationalOperator2_p) { + rtb_Add_p4 = (double)(rtb_Saturation_as + Gain1) / 4.0; + } else if (rtDW.REST_is_active > 0.0) { + /* Switch: '/Åñëè âêëþ÷åí ðåæèì REST' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + rtb_Add_p4 = rtDW.REST_blower_PWM_F; + } else { + rtb_Add_p4 = 0.0; + } + + /* End of Switch: '/Switch2' */ + + /* DataTypeConversion: '/Data Type Conversion1' */ + min_side_L = (uint8_t)rtb_Add_p4; + + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant7' + */ + if (rtb_RelationalOperator2_p) { + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Divide1' + * Sum: '/Add1' + */ + if (rtDW.DifferentBlower_Rear_isActive) { + rtb_Add_p4 = rtB.PWM; + } else { + rtb_Add_p4 = (double)(rtb_out_fr3 + rtb_out_fm3) / 4.0; + } + + /* End of Switch: '/Switch6' */ + } else { + rtb_Add_p4 = 0.0; + } + + /* End of Switch: '/Switch4' */ + + /* Outputs for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* Gain: '/Gain' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_Saturation2 = (uint16_t)(10U * (uint8_t)rtb_Add_p4); + + /* Gain: '/Gain1' */ + rtb_out_fhd = (uint16_t)(10U * min_side_L); + + /* MATLAB Function: '/blowerControlBySOC' incorporates: + * Constant: '/auto1' + * Constant: '/auto12' + * Constant: '/auto2' + * Constant: '/auto3' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write9' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + */ + /* : frontPWM_out = FrontPWM_in; */ + rtb_out_crw = rtb_out_fhd; + + /* : rearPWM_out = RearPWM_in; */ + rtb_out_fze = rtb_Saturation2; + + /* : if entry_conditions */ + if (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn > 1) { + /* Lookup_n-D: '/FRONT_HVAC_LIMITED' */ + /* : frontPWM_out = min(FrontPWM_in, Front_limitedPWM); */ + rtb_out_crw = look1_iu8bu16lu64n32tu16_binlcse + (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn, rtConstP.pooled96, + rtConstP.FRONT_HVAC_LIMITED_tableData, 5U); + if (rtb_out_fhd <= rtb_out_crw) { + rtb_out_crw = rtb_out_fhd; + } + + /* Lookup_n-D: '/REAR_HVAC_LIMITED' */ + /* : rearPWM_out = min(RearPWM_in, Rear_limitedPWM); */ + rtb_out_fze = look1_iu8bu16lu64n32tu16_binlcse + (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn, rtConstP.pooled96, + rtConstP.REAR_HVAC_LIMITED_tableData, 5U); + if (rtb_Saturation2 <= rtb_out_fze) { + rtb_out_fze = rtb_Saturation2; + } + + /* : if frontPWM_out > 0 */ + if ((rtb_out_crw > 0) && (rtb_out_crw < g_ausMIN_PWM[0])) { + /* : frontPWM_out = max(frontPWM_out, Front_minPWM); */ + rtb_out_crw = g_ausMIN_PWM[0]; + } + + /* : if rearPWM_out > 0 */ + if ((rtb_out_fze > 0) && (rtb_out_fze < g_ausMIN_PWM[1])) { + /* : rearPWM_out = max(rearPWM_out, Rear_minPWM); */ + rtb_out_fze = g_ausMIN_PWM[1]; + } + } + + /* : if exit_conditions */ + if (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn <= 1) { + /* : frontPWM_out = FrontPWM_in; */ + rtb_out_crw = rtb_out_fhd; + + /* : rearPWM_out = RearPWM_in; */ + rtb_out_fze = rtb_Saturation2; + } + + /* RelationalOperator: '/Relational Operator3' incorporates: + * Constant: '/auto6' + * DataStoreRead: '/Data Store Read3' + */ + Duct3_R_error = (rtb_Switch6_c < 43); + + /* MATLAB Function: '/blowerLimitByBattTemp' incorporates: + * Constant: '/auto10' + * Constant: '/auto11' + * Constant: '/auto7' + * Constant: '/auto8' + * DataStoreRead: '/Data Store Read3' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MATLAB Function: '/blowerControlBySOC' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator5' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' + */ + /* : if isempty(is_active_persistent_front) */ + /* : frontPWM_out = FrontPWM_in; */ + /* : rearPWM_out = RearPWM_in; */ + /* : if entry_conditions_front && is_active_persistent_front == false */ + if (rtb_RelationalOperator2_p && (rtb_out_crw > 400) && (rtb_Switch6_c >= 45) && + (!rtDW.is_active_persistent_front)) { + /* : is_active_persistent_front = true; */ + rtDW.is_active_persistent_front = true; + } + + /* : if entry_conditions_rear && is_active_persistent_rear == false */ + if (rtb_RelationalOperator2_p && (rtb_out_fze > 400) && (rtb_Switch6_c >= 45) && + (!rtDW.is_active_persistent_rear)) { + /* : is_active_persistent_rear = true; */ + rtDW.is_active_persistent_rear = true; + } + + /* : if exit_conditions && is_active_persistent_front == true */ + if (Duct3_R_error && rtDW.is_active_persistent_front) { + /* : is_active_persistent_front = false; */ + rtDW.is_active_persistent_front = false; + } + + /* : if exit_conditions && is_active_persistent_rear == true */ + if (Duct3_R_error && rtDW.is_active_persistent_rear) { + /* : is_active_persistent_rear = false; */ + rtDW.is_active_persistent_rear = false; + } + + /* : if is_active_persistent_front */ + if (rtDW.is_active_persistent_front && (rtb_out_crw > 400)) { + /* : frontPWM_out = min(FrontPWM_in, Front_maxPWM); */ + rtb_out_crw = 400U; + } + + /* : if is_active_persistent_rear */ + if (rtDW.is_active_persistent_rear && (rtb_out_fze > 400)) { + /* : rearPWM_out = min(RearPWM_in, Rear_maxPWM); */ + rtb_out_fze = 400U; + } + + /* End of MATLAB Function: '/blowerLimitByBattTemp' */ + + /* MATLAB Function: '/filter PWM front' incorporates: + * DataStoreRead: '/Data Store Read44' + * Gain: '/Gain2' + * Sum: '/Minus' + * UnitDelay: '/Unit Delay' + */ + filterPWMfront((uint8_t)((52429U * rtb_out_crw) >> 19), rtDW.t_now - + rtDW.UnitDelay_DSTATE_bp, &rtb_DataTypeConversion1_hy, + &rtDW.sf_filterPWMfront); + + /* End of Outputs for SubSystem: '/BlowerLimit - by battery status and battery temp' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreWrite: '/Data Store Write2' + */ + if (rtb_DataTypeConversion1_hy > 0) { + /* Saturate: '/Saturation2' */ + if (rtb_DataTypeConversion1_hy > 80) { + rtDW.PWM_front = 80U; + } else if (rtb_DataTypeConversion1_hy < 15) { + rtDW.PWM_front = 15U; + } else { + rtDW.PWM_front = rtb_DataTypeConversion1_hy; + } + + /* End of Saturate: '/Saturation2' */ + } else { + rtDW.PWM_front = 0U; + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* MATLAB Function: '/filter PWM front1' incorporates: + * DataStoreRead: '/Data Store Read44' + * Gain: '/Gain3' + * Sum: '/Minus' + * UnitDelay: '/Unit Delay' + */ + filterPWMfront((uint8_t)((52429U * rtb_out_fze) >> 19), rtDW.t_now - + rtDW.UnitDelay_DSTATE_li, &rtDW.PWM_rear, + &rtDW.sf_filterPWMfront1); + + /* End of Outputs for SubSystem: '/BlowerLimit - by battery status and battery temp' */ + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant3' + * DataStoreWrite: '/Data Store Write3' + */ + if (rtDW.PWM_rear > 0) { + /* Saturate: '/Saturation1' */ + if (rtDW.PWM_rear > 80) { + rtDW.PWM_rear = 80U; + } else if (rtDW.PWM_rear < 15) { + rtDW.PWM_rear = 15U; + } + + /* End of Saturate: '/Saturation1' */ + } else { + rtDW.PWM_rear = 0U; + } + + /* End of Switch: '/Switch1' */ + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + */ + PWM_Get.pwmPercentFront = rtDW.PWM_front; + PWM_Get.pwmPercentRear = rtDW.PWM_rear; + PWM_Get.pwmPercentFrontReserved = 0U; + PWM_Get.pwmPercentRearReserved = 0U; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + */ + /* : if(LOGGER) */ + rtDW.ModelPowerDown_model.PowerDownStatus = + rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTermDisableWarning; + + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read52' + * DataStoreRead: '/Data Store Read53' + * DataStoreRead: '/Data Store Read54' + * DataStoreRead: '/Data Store Read56' + * DataStoreRead: '/Data Store Read57' + * DataStoreRead: '/Data Store Read58' + * DataStoreRead: '/Data Store Read59' + * DataStoreRead: '/Data Store Read60' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read62' + * DataStoreRead: '/Data Store Read63' + * DataStoreRead: '/Data Store Read64' + * DataStoreRead: '/Data Store Read65' + * DataStoreRead: '/Data Store Read66' + * DataStoreRead: '/Data Store Read67' + * DataStoreWrite: '/Data Store Write27' + * DataStoreWrite: '/Data Store Write8' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion3' + * DataTypeConversion: '/Data Type Conversion4' + * Logic: '/Logical Operator2' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator5' + */ + rtDW.PowerEnable_Model.SW5V_EN = rtDW.SW5V_EN; + rtDW.PowerEnable_Model.PBATT_CK_EN = rtDW.PBATT_CK_EN; + rtDW.PowerEnable_Model.Incar_Motor_Front_EN = rtDW.Incar_Motor_Front_EN; + rtDW.PowerEnable_Model.Incar_Motor_Rear_EN = rtDW.Incar_Motor_Rear_EN; + rtDW.PowerEnable_Model.TwoWayValve_EN = (uint8_t)(rtB.Cmd_2Way == 0); + rtDW.PowerEnable_Model.ReservePower_EN = rtDW.ReservePower_EN; + rtDW.PowerEnable_Model.PtcRelayDriver1_EN = rtDW.PtcRelayDriver1_EN; + rtDW.PowerEnable_Model.PtcRelayDriver2_EN = rtDW.PtcRelayDriver2_EN; + rtDW.PowerEnable_Model.ShutOffFront_EN = (uint8_t)(rtb_timer_out == 0); + rtDW.PowerEnable_Model.ShutOffRear_EN = (uint8_t)(ShutOffRear_EN == 0); + rtDW.PowerEnable_Model.EN_ReservePower = rtDW.EN_ReservePower; + rtDW.PowerEnable_Model.LIN_ActPower_AB = rtDW.LIN_ActPower_AB; + rtDW.PowerEnable_Model.LIN_ActPower_C = rtDW.LIN_ActPower_C; + rtDW.PowerEnable_Model.ShutOffTXV1_EN = rtDW.ShutOffTXV1_EN; + rtDW.PowerEnable_Model.ShutOffTXV2_EN = rtDW.ShutOffTXV2_EN; + rtDW.PowerEnable_Model.EN_BATTChiller = (uint8_t)(EN_BATTChiller == 0); + rtDW.PowerEnable_Model.EN_PowerReserve = rtDW.EN_PowerReserve; + + /* SwitchCase: '/Incar Motors' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ + if ((rtDW.BCM_T15_Stat != 0) && ((rtDW.CCU_BLOWERS_RL != 0) || + (rtDW.CCU_BLOWERS_RR != 0))) { + /* Outputs for IfAction SubSystem: '/incar motors ON' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' + */ + rtDW.Incar_Motor_Front_EN = 1U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + */ + rtDW.Incar_Motor_Rear_EN = 1U; + + /* End of Outputs for SubSystem: '/incar motors ON' */ + } else { + /* Outputs for IfAction SubSystem: '/incar motors OFF' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' + */ + rtDW.Incar_Motor_Front_EN = 0U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + */ + rtDW.Incar_Motor_Rear_EN = 0U; + + /* End of Outputs for SubSystem: '/incar motors OFF' */ + } + + /* End of SwitchCase: '/Incar Motors' */ + + /* Outputs for Atomic SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + /* Switch: '/Switch' incorporates: + * Constant: '/auto1' + * Constant: '/auto11' + * Constant: '/auto12' + * Constant: '/auto13' + * Constant: '/auto14' + * Constant: '/auto15' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * Constant: '/auto5' + * Constant: '/auto6' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * Logic: '/OR1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator12' + * RelationalOperator: '/Relational Operator13' + * RelationalOperator: '/Relational Operator14' + * RelationalOperator: '/Relational Operator15' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator5' + */ + /* : if isempty(is_active_state) */ + /* : if entry_conditions && (FullRecirculation ~= 1) */ + if ((rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFL_Msg1 != 0) || + (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFR_Msg1 != 0) || + (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFL_Msg1 != 0) || + (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFR_Msg1 != 0)) { + rtb_Compare_e = false; + } else { + rtb_Compare_e = ((((int32_t)(10U * rtDW.PWM_front) >= g_ausMIN_PWM[0]) || + ((int32_t)(10U * rtDW.PWM_rear) >= g_ausMIN_PWM[1])) && + ((rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 0) || + (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 0) || + (rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 0) || + (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 0))); + } + + /* MATLAB Function: '/recirc_by_door_ajar' incorporates: + * Constant: '/auto1' + * Constant: '/auto10' + * Constant: '/auto6' + * Constant: '/auto7' + * Constant: '/auto8' + * Constant: '/auto9' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator5' + * RelationalOperator: '/Relational Operator10' + * RelationalOperator: '/Relational Operator11' + * RelationalOperator: '/Relational Operator6' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' + * RelationalOperator: '/Relational Operator9' + * Switch: '/Switch' + */ + if (rtb_Compare_e && (rtDW.Full_Rec != 1)) { + /* : is_active_state = true; */ + rtDW.is_active_state = true; + } else if (((rtDW.PWM_front < g_ausMIN_PWM[0]) && (rtDW.PWM_rear < + g_ausMIN_PWM[1])) || + ((rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 1) && + (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 1) && + (rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 1) && + (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 1))) { + /* : elseif exit_conditions */ + /* : is_active_state = false; */ + rtDW.is_active_state = false; + } + + /* : is_active = is_active_state; */ + rtDW.Door_ajar_is_active = rtDW.is_active_state; + + /* End of MATLAB Function: '/recirc_by_door_ajar' */ + /* End of Outputs for SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + + /* Chart: '/Synchronization stateflow chart' */ if (rtDW.is_active_c618_HVAC_model == 0U) { rtDW.is_active_c618_HVAC_model = 1U; rtDW.is_c618_HVAC_model = IN_NO_SYNC; @@ -29491,23733 +58099,217 @@ void HVAC_model_step(void) } } - /* End of Chart: '/Synchronization stateflow chart' */ + /* End of Chart: '/Synchronization stateflow chart' */ - /* DataStoreWrite: '/Data Store Write15' */ - rtb_Saturation4 = rtB.sync_rear; + /* DataStoreWrite: '/Data Store Write16' */ + rtDW.CCU_ALL_ZONE_SYNC = rtB.sync_all; - /* DataStoreWrite: '/Data Store Write16' */ - rtb_DataTypeConversion3_c1 = rtB.sync_all; - - /* DataStoreWrite: '/Data Store Write17' */ - rtb_Switch1_j = rtB.sync_front; - - /* : out = g_ausFLOW_FR_VE2VALVE; */ - /* : out(6) = int16(0); */ - /* : out(8) = int16(0); */ - for (i = 0; i < 9; i++) { - /* MATLAB Function: '/Valves for Ve2Valve + foot2 = 0' */ - rtb_out_gk22[i] = g_ausFLOW_FR_VE2VALVE[i]; - - /* MATLAB Function: '/Valves for Def (DE2Valve) + Foot2=0' */ - rtb_out_b[i] = g_ausFLOW_FR_DE2VALVE[i]; - } - - /* MATLAB Function: '/Valves for Ve2Valve + foot2 = 0' */ - rtb_out_gk22[5] = 0U; - rtb_out_gk22[7] = 0U; - - /* MATLAB Function: '/Valves for Def (DE2Valve) + Foot2=0' */ - /* : out = g_ausFLOW_FR_DE2VALVE; */ - /* : out(6) = int16(0); */ - rtb_out_b[5] = 0U; - - /* : out(8) = int16(0); */ - rtb_out_b[7] = 0U; - - /* Outputs for Enabled SubSystem: '/Front Left Valves - manual directions' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' - */ - if (rtDW.CCU_MODE_FL == 0) { - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read10' - */ - rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_FL == 1); - - /* DataTypeConversion: '/Data Type Conversion5' */ - rtb_DataTypeConversion_gj = rtb_RelationalOperator6_f; - - /* Sum: '/Add' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - */ - rtb_Saturation2_a = (uint16_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + - (uint32_t)(rtDW.CCU_DEF_FL == 1)) + (uint32_t)(rtb_RelationalOperator6_f << - 2)); - - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write' - */ - switch (rtb_Saturation2_a) { - case 0: - rtDW.Index_mode_FL_manual = 0U; - break; - - case 1: - rtDW.Index_mode_FL_manual = 80U; - break; - - case 2: - rtDW.Index_mode_FL_manual = 10U; - break; - - case 3: - rtDW.Index_mode_FL_manual = 100U; - break; - - case 4: - rtDW.Index_mode_FL_manual = 60U; - break; - - case 5: - rtDW.Index_mode_FL_manual = 70U; - break; - - case 6: - rtDW.Index_mode_FL_manual = 20U; - break; - - default: - rtDW.Index_mode_FL_manual = 90U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* MATLAB Function: '/Valves for Hi_Level' */ - /* : out = g_ausFLOW_FR_DE2VALVE; */ - /* : out = g_ausFLOW_FR_VE2VALVE; */ - ValvesforHi_Level(rtb_out_cok); - - /* MATLAB Function: '/Valves for Foot + Def' */ - /* : out = g_ausFLOW_FR_FO2VALVE; */ - ValvesforFootDef(rtb_out_a3); - - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_j4f); - - /* MATLAB Function: '/Valves for Tri-Level' */ - ValvesforTriLevel(rtB.MultiportSwitch_j); - - /* MultiPortSwitch: '/Multiport Switch' */ - switch (rtb_Saturation2_a) { - case 0: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = 0U; - } - break; - - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Def' - */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_DE2VALVE[i]; - } - break; - - case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Vent mode' - */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_VE2VALVE[i]; - } - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = rtb_out_cok[i]; - } - break; - - case 4: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Foot' - */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_FO2VALVE[i]; - } - break; - - case 5: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = rtb_out_a3[i]; - } - break; - - case 6: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = rtb_out_j4f[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } - - /* End of RelationalOperator: '/Equal2' */ - /* End of Outputs for SubSystem: '/Front Left Valves - manual directions' */ - - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' - */ - rtb_Compare_i5 = (rtDW.CCU_MODE_FL == 0); - - /* Saturate: '/Saturation4' incorporates: - * DataStoreRead: '/Data Store Read' - */ - if (rtDW.LEVEL <= 5) { - rtb_DataTypeConversion1_gy = rtDW.LEVEL; - } else { - rtb_DataTypeConversion1_gy = 5U; - } - - /* End of Saturate: '/Saturation4' */ - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read16' - */ - if (rtDW.CCU_SET_FL > 290) { - rtb_out_ic3 = 290U; - } else if (rtDW.CCU_SET_FL < 170) { - rtb_out_ic3 = 170U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_FL; - } - - /* MATLAB Function: '/MODE_for_set_and_lvl' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' - */ - MODE_for_set_and_lvl(rtb_DataTypeConversion1_gy, (int16_t)((52429U * - rtb_out_ic3) >> 19), &rtb_DataTypeConversion2_e1); - - /* MATLAB Function: '/valves_front_left' */ - /* : modes_array = [ */ - /* : g_ausFLOW_FR_VE2VALVE; */ - /* : g_ausFLOW_FR_BIVALVE; */ - /* : g_ausFLOW_FR_BI2VALVE; */ - /* : g_ausFLOW_FR_AF2VALVE; */ - /* : g_ausFLOW_FR_AF2VALVE_SUMMER]; */ - /* : index = idivide(MODE, 10); */ - /* : get_valves = modes_array(index, :); */ - rtb_Gain2 = (int32_t)trunc((double)rtb_DataTypeConversion2_e1 / 10.0); - for (i = 0; i < 9; i++) { - tmp[5 * i] = g_ausFLOW_FR_VE2VALVE[i]; - tmp[5 * i + 1] = g_ausFLOW_FR_BIVALVE[i]; - tmp[5 * i + 2] = g_ausFLOW_FR_BI2VALVE[i]; - tmp[5 * i + 3] = g_ausFLOW_FR_AF2VALVE[i]; - tmp[5 * i + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[i]; - - /* Switch: '/Switch' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * MultiPortSwitch: '/Multiport Switch' - */ - if (rtb_Compare_i5) { - rtb_Saturation2_a = rtB.MultiportSwitch_j[i]; - } else { - rtb_Saturation2_a = tmp[(5 * i + rtb_Gain2) - 1]; - } - - rtb_out_cok[i] = rtb_Saturation2_a; - - /* End of Switch: '/Switch' */ - - /* Assignment: '/set valves[5]' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * SignalConversion generated from: '/set valves[5]' - */ - rtb_out_a3[i] = rtb_Saturation2_a; - } - - /* End of MATLAB Function: '/valves_front_left' */ - - /* Assignment: '/set valves[5]' incorporates: - * DataStoreRead: '/Data Store Read1' - * Sum: '/Add' - */ - rtb_out_a3[4] = (uint16_t)(rtb_out_cok[4] + rtDW.Valve_individual_foot_FL); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/manual' - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 1) && (rtDW.CCU_MODE_FR == - 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && - (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[5] = 0U; - break; - - case 2: - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[7] = 0U; - break; - - case 3: - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[7] = 0U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW' - * Constant: '/LOW3' - * Constant: '/manual' - * Constant: '/manual' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == - 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && - (rtDW.LO_HI_MODE_RL == 1)))) { - case 1: - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[5] = 0U; - break; - - case 2: - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[7] = 0U; - break; - - case 3: - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[7] = 0U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/manual' - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * MultiPortSwitch: '/Multiport Switch' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 2) && (rtDW.CCU_MODE_FR == - 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && - (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' - */ - rtb_out_j4f[i] = rtb_out_a3[i]; - } - - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[7] = 0U; - break; - - case 2: - for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' - */ - rtb_out_j4f[i] = rtb_out_a3[i]; - } - - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[7] = 0U; - break; - - case 3: - for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' - */ - rtb_out_j4f[i] = rtb_out_a3[i]; - } - - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[7] = 0U; - break; - - default: - for (i = 0; i < 9; i++) { - rtb_out_j4f[i] = rtb_out_a3[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Switch: '/Switch2' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - */ - if ((rtDW.LO_HI_MODE_FL != 2) || (rtDW.LO_HI_MODE_FR != 2) || - (rtDW.LO_HI_MODE_RL != 2) || (rtDW.LO_HI_MODE_RR != 2)) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/manual' - * Constant: '/manual' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR - == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && - (rtDW.LO_HI_MODE_RL == 2)))) { - case 1: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[6]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' - */ - rtb_out_a3[5] = 0U; - break; - - case 2: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[8]' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' - */ - rtb_out_a3[7] = 0U; - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[8]' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' - */ - rtb_out_a3[7] = 0U; - break; - - default: - /* Switch: '/Switch2' incorporates: - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 9; i++) { - rtb_out_a3[i] = rtb_out_j4f[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } - - /* End of Switch: '/Switch2' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[0] = 100U; - rtb_out_a3[1] = 100U; - rtb_out_a3[4] = 20U; - break; - - case 2: - case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[2] = 100U; - rtb_out_a3[3] = 100U; - rtb_out_a3[6] = 20U; - break; - - case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 6; i++) { - rtb_out_a3[tmp_6[i]] = rtConstP.pooled96[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ - break; - - case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 8; i++) { - rtb_out_a3[i] = rtConstP.pooled95[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[0] = 100U; - rtb_out_a3[1] = 100U; - rtb_out_a3[4] = 20U; - break; - - case 2: - case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[2] = 100U; - rtb_out_a3[3] = 100U; - rtb_out_a3[6] = 20U; - break; - - case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 6; i++) { - rtb_out_a3[tmp_6[i]] = rtConstP.pooled96[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ - break; - - case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 8; i++) { - rtb_out_a3[i] = rtConstP.pooled95[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[0] = 100U; - rtb_out_a3[1] = 100U; - rtb_out_a3[4] = 20U; - break; - - case 2: - case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[2] = 100U; - rtb_out_a3[3] = 100U; - rtb_out_a3[6] = 20U; - break; - - case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 6; i++) { - rtb_out_a3[tmp_6[i]] = rtConstP.pooled96[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ - break; - - case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 8; i++) { - rtb_out_a3[i] = rtConstP.pooled95[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Switch: '/Switch6' incorporates: - * DataStoreRead: '/Data Store Read12' - */ - if (rtDW.CCU_AC_MAX <= 0) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR - == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) - ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) - { - case 1: - case 5: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves[1,2,5]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - - /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * Constant: '/Constant' - */ - rtb_out_cok[0] = 60U; - rtb_out_cok[1] = 60U; - rtb_out_cok[4] = 100U; - break; - - case 2: - case 6: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves[3,4,7]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtConstP.pooled90[i]; - } - break; - - case 7: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtConstP.pooled89[i]; - } - break; - - default: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * MultiPortSwitch: '/Multiport Switch' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR - == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) - ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) - { - case 1: - case 5: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves[1,2,5]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - - /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * Constant: '/Constant' - */ - rtb_out_cok[0] = 60U; - rtb_out_cok[1] = 60U; - rtb_out_cok[4] = 100U; - break; - - case 2: - case 6: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves[3,4,7]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtConstP.pooled93[i]; - } - break; - - case 7: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtConstP.pooled92[i]; - } - break; - - default: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * MultiPortSwitch: '/Multiport Switch' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR - == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) - ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) - { - case 1: - case 5: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves[1,2,5]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - - /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4]' - * Constant: '/Constant' - */ - rtb_out_cok[0] = 60U; - rtb_out_cok[1] = 60U; - rtb_out_cok[4] = 100U; - break; - - case 2: - case 6: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves[3,4,7]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtConstP.pooled94[i]; - } - break; - - case 7: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtConstP.pooled92[i]; - } - break; - - default: - for (i = 0; i < 9; i++) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: - * MultiPortSwitch: '/Multiport Switch' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_cok[i] = rtb_out_a3[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } - - /* End of Switch: '/Switch6' */ - - /* Sum: '/Add' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - */ - rtb_Saturation2_a = (uint16_t)(((uint32_t)((rtDW.CCU_FACE_FR == 1) << 1) + - (uint32_t)(rtDW.CCU_DEF_FR == 1)) + (uint32_t)((rtDW.CCU_FOOT_FR == 1) << 2)); - - /* MATLAB Function: '/Valves for Hi_Level' */ - /* : out = g_ausFLOW_FR_DE2VALVE; */ - /* : out = g_ausFLOW_FR_VE2VALVE; */ - ValvesforHi_Level(rtb_out_j4f); - - /* MATLAB Function: '/Valves for Foot + Def' */ - /* : out = g_ausFLOW_FR_FO2VALVE; */ - ValvesforFootDef(rtb_out_azb); - - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_dh); - - /* MATLAB Function: '/Valves for Tri-Level' */ - ValvesforTriLevel(rtb_out_a3); - - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read17' - */ - if (rtDW.CCU_SET_FR > 290) { - rtb_out_ic3 = 290U; - } else if (rtDW.CCU_SET_FR < 170) { - rtb_out_ic3 = 170U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_FR; - } - - /* MATLAB Function: '/MODE_for_set_and_lvl1' incorporates: - * Gain: '/Gain1' - * Saturate: '/Saturation1' - */ - MODE_for_set_and_lvl(rtb_DataTypeConversion1_gy, (int16_t)((52429U * - rtb_out_ic3) >> 19), &rtb_DataTypeConversion3_em); - - /* Switch: '/Switch1' incorporates: - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read8' - * RelationalOperator: '/Equal2' - */ - /* : modes_array = [ */ - /* : g_ausFLOW_FR_VE2VALVE; */ - /* : g_ausFLOW_FR_BIVALVE; */ - /* : g_ausFLOW_FR_BI2VALVE; */ - /* : g_ausFLOW_FR_AF2VALVE; */ - /* : g_ausFLOW_FR_AF2VALVE_SUMMER]; */ - /* : index = idivide(MODE, 10); */ - /* : get_valves = modes_array(index, :); */ - if (rtDW.CCU_MODE_FR == 0) { - /* MultiPortSwitch: '/Multiport Switch' */ - switch (rtb_Saturation2_a) { - case 0: - /* Switch: '/Switch4' */ - for (i = 0; i < 9; i++) { - rtb_out_a3[i] = 0U; - } - break; - - case 1: - /* Switch: '/Switch4' incorporates: - * MATLAB Function: '/Valves for Def' - */ - for (i = 0; i < 9; i++) { - rtb_out_a3[i] = g_ausFLOW_FR_DE2VALVE[i]; - } - break; - - case 2: - /* Switch: '/Switch4' incorporates: - * MATLAB Function: '/Valves for Vent mode' - */ - for (i = 0; i < 9; i++) { - rtb_out_a3[i] = g_ausFLOW_FR_VE2VALVE[i]; - } - break; - - case 3: - /* Switch: '/Switch4' */ - for (i = 0; i < 9; i++) { - rtb_out_a3[i] = rtb_out_j4f[i]; - } - break; - - case 4: - /* Switch: '/Switch4' incorporates: - * MATLAB Function: '/Valves for Foot' - */ - for (i = 0; i < 9; i++) { - rtb_out_a3[i] = g_ausFLOW_FR_FO2VALVE[i]; - } - break; - - case 5: - /* Switch: '/Switch4' */ - for (i = 0; i < 9; i++) { - rtb_out_a3[i] = rtb_out_azb[i]; - } - break; - - case 6: - /* Switch: '/Switch4' */ - for (i = 0; i < 9; i++) { - rtb_out_a3[i] = rtb_out_dh[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } else { - /* MATLAB Function: '/valves_front_right' incorporates: - * Switch: '/Switch4' - */ - rtb_Gain2 = (int32_t)trunc((double)rtb_DataTypeConversion3_em / 10.0); - for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 9; rtb_Cmd_3Way++) { - tmp[5 * rtb_Cmd_3Way] = g_ausFLOW_FR_VE2VALVE[rtb_Cmd_3Way]; - tmp[5 * rtb_Cmd_3Way + 1] = g_ausFLOW_FR_BIVALVE[rtb_Cmd_3Way]; - tmp[5 * rtb_Cmd_3Way + 2] = g_ausFLOW_FR_BI2VALVE[rtb_Cmd_3Way]; - tmp[5 * rtb_Cmd_3Way + 3] = g_ausFLOW_FR_AF2VALVE[rtb_Cmd_3Way]; - tmp[5 * rtb_Cmd_3Way + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Cmd_3Way]; - rtb_out_a3[rtb_Cmd_3Way] = tmp[(5 * rtb_Cmd_3Way + rtb_Gain2) - 1]; - } - - /* End of MATLAB Function: '/valves_front_right' */ - } - - /* End of Switch: '/Switch1' */ - - /* Assignment: '/set valves[7]' incorporates: - * DataStoreRead: '/Data Store Read2' - * SignalConversion generated from: '/set valves[7]' - * Sum: '/Add' - * Switch: '/Switch4' - */ - for (i = 0; i < 9; i++) { - rtb_out_j4f[i] = rtb_out_a3[i]; - } - - rtb_out_j4f[6] = (uint16_t)(rtb_out_a3[6] + rtDW.Valve_individual_foot_FR); - - /* End of Assignment: '/set valves[7]' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/manual' - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 1) && (rtDW.CCU_MODE_FR == - 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && - (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[5] = 0U; - break; - - case 2: - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[7] = 0U; - break; - - case 3: - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[7] = 0U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW' - * Constant: '/LOW3' - * Constant: '/manual' - * Constant: '/manual' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == - 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && - (rtDW.LO_HI_MODE_RL == 1)))) { - case 1: - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[5] = 0U; - break; - - case 2: - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[7] = 0U; - break; - - case 3: - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[7] = 0U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/manual' - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * MultiPortSwitch: '/Multiport Switch' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 2) && (rtDW.CCU_MODE_FR == - 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && - (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' - */ - rtb_out_azb[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_azb[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_azb[7] = 0U; - break; - - case 2: - for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' - */ - rtb_out_azb[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_azb[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_azb[7] = 0U; - break; - - case 3: - for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' - */ - rtb_out_azb[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_azb[5] = 0U; - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_azb[7] = 0U; - break; - - default: - for (i = 0; i < 9; i++) { - rtb_out_azb[i] = rtb_out_j4f[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Switch: '/Switch2' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - */ - if ((rtDW.LO_HI_MODE_FL != 2) || (rtDW.LO_HI_MODE_FR != 2) || - (rtDW.LO_HI_MODE_RL != 2) || (rtDW.LO_HI_MODE_RR != 2)) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/manual' - * Constant: '/manual' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR - == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && - (rtDW.LO_HI_MODE_RL == 2)))) { - case 1: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[6]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' - */ - rtb_out_j4f[i] = rtb_out_azb[i]; - } - - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' - */ - rtb_out_j4f[5] = 0U; - break; - - case 2: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[8]' - */ - rtb_out_j4f[i] = rtb_out_azb[i]; - } - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' - */ - rtb_out_j4f[7] = 0U; - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[8]' - */ - rtb_out_j4f[i] = rtb_out_azb[i]; - } - - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' - */ - rtb_out_j4f[7] = 0U; - break; - - default: - /* Switch: '/Switch2' incorporates: - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 9; i++) { - rtb_out_j4f[i] = rtb_out_azb[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } - - /* End of Switch: '/Switch2' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[0] = 100U; - rtb_out_j4f[1] = 100U; - rtb_out_j4f[4] = 20U; - break; - - case 2: - case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[2] = 100U; - rtb_out_j4f[3] = 100U; - rtb_out_j4f[6] = 20U; - break; - - case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 6; i++) { - rtb_out_j4f[tmp_6[i]] = rtConstP.pooled96[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ - break; - - case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 8; i++) { - rtb_out_j4f[i] = rtConstP.pooled95[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[0] = 100U; - rtb_out_j4f[1] = 100U; - rtb_out_j4f[4] = 20U; - break; - - case 2: - case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[2] = 100U; - rtb_out_j4f[3] = 100U; - rtb_out_j4f[6] = 20U; - break; - - case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 6; i++) { - rtb_out_j4f[tmp_6[i]] = rtConstP.pooled96[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ - break; - - case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 8; i++) { - rtb_out_j4f[i] = rtConstP.pooled95[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[0] = 100U; - rtb_out_j4f[1] = 100U; - rtb_out_j4f[4] = 20U; - break; - - case 2: - case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_j4f[2] = 100U; - rtb_out_j4f[3] = 100U; - rtb_out_j4f[6] = 20U; - break; - - case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 6; i++) { - rtb_out_j4f[tmp_6[i]] = rtConstP.pooled96[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ - break; - - case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 8; i++) { - rtb_out_j4f[i] = rtConstP.pooled95[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Switch: '/Switch4' incorporates: - * DataStoreRead: '/Data Store Read13' - */ - if (rtDW.CCU_AC_MAX <= 0) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR - == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) - ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) - { - case 1: - case 5: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves[1,2,5]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - break; - - case 2: - case 6: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves[3,4,7]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch4' - */ - rtb_out_a3[2] = 60U; - rtb_out_a3[3] = 60U; - rtb_out_a3[6] = 100U; - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtConstP.pooled90[i]; - } - break; - - case 7: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtConstP.pooled89[i]; - } - break; - - default: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * MultiPortSwitch: '/Multiport Switch' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR - == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) - ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) - { - case 1: - case 5: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves[1,2,5]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - break; - - case 2: - case 6: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves[3,4,7]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch4' - */ - rtb_out_a3[2] = 60U; - rtb_out_a3[3] = 60U; - rtb_out_a3[6] = 100U; - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtConstP.pooled93[i]; - } - break; - - case 7: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtConstP.pooled92[i]; - } - break; - - default: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * MultiPortSwitch: '/Multiport Switch' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR - == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) - ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) - { - case 1: - case 5: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves[1,2,5]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - break; - - case 2: - case 6: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves[3,4,7]' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch4' - */ - rtb_out_a3[2] = 60U; - rtb_out_a3[3] = 60U; - rtb_out_a3[6] = 100U; - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtConstP.pooled94[i]; - } - break; - - case 7: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtConstP.pooled92[i]; - } - break; - - default: - for (i = 0; i < 9; i++) { - /* Switch: '/Switch4' incorporates: - * MultiPortSwitch: '/Multiport Switch' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_a3[i] = rtb_out_j4f[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } - - /* End of Switch: '/Switch4' */ - - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' */ - rtb_out_cok[2] = rtb_out_a3[2]; - - /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' */ - rtb_out_cok[6] = rtb_out_a3[6]; - - /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' */ - rtb_out_cok[3] = rtb_out_a3[3]; - - /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' */ - rtb_out_cok[7] = rtb_out_a3[7]; - - /* Switch: '/Switch5' incorporates: - * DataStoreRead: '/Data Store Read15' - */ - if (rtDW.Foot2_control_FL_is_active) { - /* Assignment: '/â [6] (foot2 FL valve)' incorporates: - * DataStoreRead: '/Data Store Read1' - * Switch: '/Switch5' - */ - rtb_out_cok[5] = rtDW.Foot2_control_FL; - } - - /* End of Switch: '/Switch5' */ - - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - if (rtDW.Foot2_control_FR_is_active) { - /* Assignment: '/â [8] (foot2 FR valve)' incorporates: - * DataStoreRead: '/Data Store Read2' - * Switch: '/Switch1' - */ - rtb_out_cok[7] = rtDW.Foot2_control_FR; - } - - /* End of Switch: '/Switch1' */ - - /* Switch: '/Switch5' incorporates: - * DataStoreRead: '/Data Store Read15' - */ - if (rtDW.CCU_AC_MAX <= 0) { - /* Switch: '/Switch5' incorporates: - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read' - * Switch: '/Switch6' - */ - if (rtDW.Max_def_algo_active) { - /* Switch: '/Switch5' */ - for (i = 0; i < 9; i++) { - rtb_out_gk22[i] = rtb_out_b[i]; - } - } else if (rtDW.def_valve_100_req) { - for (i = 0; i < 9; i++) { - /* Switch: '/Switch5' incorporates: - * Assignment: '/â [9] (Def valve)' - * Switch: '/Switch6' - * Switch: '/Switch1' - */ - rtb_out_gk22[i] = rtb_out_cok[i]; - } - - /* Assignment: '/â [9] (Def valve)' incorporates: - * Constant: '/Constant' - * Switch: '/Switch5' - * Switch: '/Switch6' - */ - rtb_out_gk22[8] = 100U; - } else { - for (i = 0; i < 9; i++) { - /* Switch: '/Switch5' incorporates: - * Switch: '/Switch6' - * Switch: '/Switch1' - */ - rtb_out_gk22[i] = rtb_out_cok[i]; - } - } - - /* End of Switch: '/Switch5' */ - } - - /* End of Switch: '/Switch5' */ - - /* Outputs for Enabled SubSystem: '/Rear valves left - manual directions' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' - */ - if (rtDW.CCU_MODE_RL == 0) { - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read24' - */ - rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_RL == 1); - - /* DataTypeConversion: '/Data Type Conversion5' */ - rtb_DataTypeConversion_gj = rtb_RelationalOperator6_f; - - /* Sum: '/Add' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read23' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - */ - rtb_out_d1n = (uint16_t)((uint32_t)(rtDW.CCU_FACE_RL == 1) + (uint32_t) - (rtb_RelationalOperator6_f << 1)); - - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreWrite: '/Data Store Write' - */ - switch (rtb_out_d1n) { - case 0: - rtDW.Index_mode_RL_manual = 0U; - break; - - case 1: - rtDW.Index_mode_RL_manual = 120U; - break; - - case 2: - rtDW.Index_mode_RL_manual = 140U; - break; - - default: - rtDW.Index_mode_RL_manual = 130U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* MATLAB Function: '/AF for Bi Level' */ - AFforBiLevel_i(rtB.MultiportSwitch_h); - - /* MATLAB Function: '/valves for Vent mode' */ - /* : out = g_ausFLOW_RE_FO2VALVE; */ - valvesforVentmode(rtb_Gain1_h); - - /* MultiPortSwitch: '/Multiport Switch' */ - switch (rtb_out_d1n) { - case 0: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 6; i++) { - rtB.MultiportSwitch_h[i] = 0U; - } - break; - - case 1: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 6; i++) { - rtB.MultiportSwitch_h[i] = rtb_Gain1_h[i]; - } - break; - - case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/AF for Foot' - */ - for (i = 0; i < 6; i++) { - rtB.MultiportSwitch_h[i] = g_ausFLOW_RE_FO2VALVE[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } - - /* End of RelationalOperator: '/Equal2' */ - /* End of Outputs for SubSystem: '/Rear valves left - manual directions' */ - - /* MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ - /* : modes_array = [ */ - /* : g_ausMODE_BY_DUCT_TG_R_LV0; */ - /* : g_ausMODE_BY_DUCT_TG_R_LV1; */ - /* : g_ausMODE_BY_DUCT_TG_R_LV2; */ - /* : g_ausMODE_BY_DUCT_TG_R_LV3; */ - /* : g_ausMODE_BY_DUCT_TG_R_LV4; */ - /* : g_ausMODE_BY_DUCT_TG_R_LV5]; */ - /* : get_mode = modes_array(LVL + 1, :); */ - for (rtb_Gain2 = 0; rtb_Gain2 < 7; rtb_Gain2++) { - tmp_0[6 * rtb_Gain2] = g_ausMODE_BY_DUCT_TG_R_LV0[rtb_Gain2]; - tmp_0[6 * rtb_Gain2 + 1] = g_ausMODE_BY_DUCT_TG_R_LV1[rtb_Gain2]; - tmp_0[6 * rtb_Gain2 + 2] = g_ausMODE_BY_DUCT_TG_R_LV2[rtb_Gain2]; - tmp_0[6 * rtb_Gain2 + 3] = g_ausMODE_BY_DUCT_TG_R_LV3[rtb_Gain2]; - tmp_0[6 * rtb_Gain2 + 4] = g_ausMODE_BY_DUCT_TG_R_LV4[rtb_Gain2]; - tmp_0[6 * rtb_Gain2 + 5] = g_ausMODE_BY_DUCT_TG_R_LV5[rtb_Gain2]; - rtb_get_mode[rtb_Gain2] = tmp_0[6 * rtb_Gain2 + rtb_DataTypeConversion1_gy]; - } - - /* End of MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ - - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read6' - * Sum: '/Subtract' - * UnitDelay: '/Unit Delay' - */ - if ((int16_t)(rtb_FLU_tg_correct_p - rtDW.UnitDelay_DSTATE_f) >= 0) { - /* Outputs for IfAction SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RL' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/rear_mode_index' incorporates: - * MATLAB Function: '/increase' - */ - increase(rtb_FLU_tg_correct_p, rtb_get_mode, &rtDW.Index_mode_RL_auto); - - /* End of Outputs for SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RL' */ - } else { - /* Outputs for IfAction SubSystem: '/duct_tg óìåíüøàåòñÿ RL' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/y' incorporates: - * MATLAB Function: '/decrease' - */ - decrease(rtb_FLU_tg_correct_p, rtb_get_mode, &rtDW.Index_mode_RL_auto); - - /* End of Outputs for SubSystem: '/duct_tg óìåíüøàåòñÿ RL' */ - } - - /* End of If: '/If2' */ - - /* MATLAB Function: '/valves_rear_left' */ - valves_rear_left(rtDW.Index_mode_RL_auto, rtb_Gain1_h); - - /* Switch: '/Switch2' incorporates: - * Constant: '/manual2' - * DataStoreRead: '/Data Store Read9' - * MultiPortSwitch: '/Multiport Switch' - * RelationalOperator: '/Equal3' - */ - if (rtDW.CCU_MODE_RL == 0) { - for (rtb_Gain2 = 0; rtb_Gain2 < 6; rtb_Gain2++) { - rtb_Gain1_h[rtb_Gain2] = rtB.MultiportSwitch_h[rtb_Gain2]; - } - } - - /* End of Switch: '/Switch2' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1)))) { - case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_Gain1_h[0] = 100U; - rtb_Gain1_h[1] = 100U; - rtb_Gain1_h[4] = 0U; - break; - - case 2: - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = rtConstP.pooled101[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1)))) { - case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_Gain1_h[0] = 100U; - rtb_Gain1_h[1] = 100U; - rtb_Gain1_h[4] = 0U; - break; - - case 2: - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = rtConstP.pooled101[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1)))) { - case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_Gain1_h[0] = 100U; - rtb_Gain1_h[1] = 100U; - rtb_Gain1_h[4] = 0U; - break; - - case 2: - /* Assignment: '/valves[1, 2, 3, 4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 5; i++) { - rtb_Gain1_h[tmp_7[i]] = rtConstP.pooled103[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4,6]' */ - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = rtConstP.pooled101[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2)))) { - case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_Gain1_h[0] = 70U; - rtb_Gain1_h[1] = 40U; - rtb_Gain1_h[4] = 100U; - break; - - case 2: - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = rtConstP.pooled98[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2)))) { - case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_Gain1_h[0] = 70U; - rtb_Gain1_h[1] = 40U; - rtb_Gain1_h[4] = 100U; - break; - - case 2: - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = rtConstP.pooled98[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2)))) { - case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_Gain1_h[0] = 70U; - rtb_Gain1_h[1] = 40U; - rtb_Gain1_h[4] = 100U; - break; - - case 2: - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = rtConstP.pooled98[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/param index for mode' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : switch index_mode */ - switch (rtDW.Index_mode_RL) { - case 0U: - /* : case 0 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 120U: - /* : case 120 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 130U: - /* : case 130 */ - /* : Y = 2; */ - rtb_Gain2 = 2; - break; - - case 140U: - /* : case 140 */ - /* : Y = 2; */ - rtb_Gain2 = 2; - break; - - case 150U: - /* : case 150 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 160U: - /* : case 160 */ - /* : Y = 3; */ - rtb_Gain2 = 3; - break; - - case 170U: - /* : case 170 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 180U: - /* : case 180 */ - /* : Y = 3; */ - rtb_Gain2 = 3; - break; - - case 190U: - /* : case 190 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 200U: - /* : case 200 */ - /* : Y = 2; */ - rtb_Gain2 = 2; - break; - - default: - /* : otherwise */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - } - - /* End of MATLAB Function: '/param index for mode' */ - - /* MATLAB Function: '/RL valves * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - */ - /* : index_start = (param_index - 1) * 3 + 1; */ - rtb_Cmd_3Way = (rtb_Gain2 - 1) * 3 + 1; - - /* : if DRS_RLS == 0 */ - if (rtDW.DRS_SRL == 0) { - /* : side_percent = uint8(0); */ - rtb_DataTypeConversion1_gy = 0U; - } else { - /* : else */ - /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start + 3 - DRS_RLS); */ - rtb_Gain2 = (rtb_Cmd_3Way - rtDW.DRS_SRL) + 3; - if (rtb_Gain2 >= 0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_Gain2; - } else { - rtb_DataTypeConversion1_hy = 0U; - } - - rtb_DataTypeConversion1_gy = - g_aucREAR_SIDE_DRS_PERCENT_VALVE[rtb_DataTypeConversion1_hy - 1]; - } - - /* : if DRS_RLC == 0 */ - if (rtDW.DRS_CRL == 0) { - /* : center_percent = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; - } else { - /* : else */ - /* : center_percent = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start + 3 - DRS_RLC); */ - rtb_Gain2 = (rtb_Cmd_3Way - rtDW.DRS_CRL) + 3; - if (rtb_Gain2 >= 0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_Gain2; - } else { - rtb_DataTypeConversion1_hy = 0U; - } - - rtb_DataTypeConversion1_hy = - g_aucREAR_CENT_DRS_PERCENT_VALVE[rtb_DataTypeConversion1_hy - 1]; - } - - /* : y = valves; */ - /* : y(1) = uint8(double(valves(1)) * (double(side_percent) / 100)); */ - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_DataTypeConversion1_gy / 100.0 * - (double)rtb_Gain1_h[0]); - if (rtb_Gain2 < 256) { - rtb_Gain1_h[0] = (uint16_t)rtb_Gain2; - } else { - rtb_Gain1_h[0] = 255U; - } - - /* : y(2) = uint8(double(valves(2)) * (double(center_percent) / 100)); */ - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_DataTypeConversion1_hy / 100.0 * - (double)rtb_Gain1_h[1]); - if (rtb_Gain2 < 256) { - rtb_Gain1_h[1] = (uint16_t)rtb_Gain2; - } else { - rtb_Gain1_h[1] = 255U; - } - - /* End of MATLAB Function: '/RL valves * percent DRS' */ - - /* Outputs for Enabled SubSystem: '/Rear valves right - manual directions' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read45' - */ - if (rtDW.CCU_MODE_RR == 0) { - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read22' - */ - rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_RR == 1); - - /* DataTypeConversion: '/Data Type Conversion5' */ - rtb_DataTypeConversion_gj = rtb_RelationalOperator6_f; - - /* Sum: '/Add' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read21' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - */ - rtb_out_d1n = (uint16_t)((uint32_t)(rtDW.CCU_FACE_RR == 1) + (uint32_t) - (rtb_RelationalOperator6_f << 1)); - - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreWrite: '/Data Store Write' - */ - switch (rtb_out_d1n) { - case 0: - rtDW.Index_mode_RR_manual = 0U; - break; - - case 1: - rtDW.Index_mode_RR_manual = 120U; - break; - - case 2: - rtDW.Index_mode_RR_manual = 140U; - break; - - default: - rtDW.Index_mode_RR_manual = 130U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* MATLAB Function: '/AF for Bi Level' */ - AFforBiLevel_i(rtB.MultiportSwitch); - - /* MATLAB Function: '/valves for Vent mode' */ - /* : out = g_ausFLOW_RE_FO2VALVE; */ - valvesforVentmode(rtb_out); - - /* MultiPortSwitch: '/Multiport Switch' */ - switch (rtb_out_d1n) { - case 0: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 6; i++) { - rtB.MultiportSwitch[i] = 0U; - } - break; - - case 1: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 6; i++) { - rtB.MultiportSwitch[i] = rtb_out[i]; - } - break; - - case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/AF for Foot' - */ - for (i = 0; i < 6; i++) { - rtB.MultiportSwitch[i] = g_ausFLOW_RE_FO2VALVE[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } - - /* End of RelationalOperator: '/Equal3' */ - /* End of Outputs for SubSystem: '/Rear valves right - manual directions' */ - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read7' - * Sum: '/Subtract1' - * UnitDelay: '/Unit Delay1' - */ - if ((int16_t)(rtDW.Duct_RR_Tg - rtDW.UnitDelay1_DSTATE) >= 0) { - /* Outputs for IfAction SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RR' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/y' incorporates: - * MATLAB Function: '/increase' - */ - increase(rtDW.Duct_RR_Tg, rtb_get_mode, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RR' */ - } else { - /* Outputs for IfAction SubSystem: '/duct_tg óìåíüøàåòñÿ RR' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/y' incorporates: - * MATLAB Function: '/decrease' - */ - decrease(rtDW.Duct_RR_Tg, rtb_get_mode, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/duct_tg óìåíüøàåòñÿ RR' */ - } - - /* End of If: '/If1' */ - - /* MATLAB Function: '/valves_rear_right' */ - valves_rear_left(rtb_out_d1n, rtb_out); - - /* Switch: '/Switch3' incorporates: - * Constant: '/manual3' - * DataStoreRead: '/Data Store Read11' - * MultiPortSwitch: '/Multiport Switch' - * RelationalOperator: '/Equal4' - */ - if (rtDW.CCU_MODE_RR == 0) { - for (rtb_Gain2 = 0; rtb_Gain2 < 6; rtb_Gain2++) { - rtb_out[rtb_Gain2] = rtB.MultiportSwitch[rtb_Gain2]; - } - } - - /* End of Switch: '/Switch3' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1)))) { - case 1: - break; - - case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out[2] = 100U; - rtb_out[3] = 100U; - rtb_out[5] = 0U; - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled101[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1)))) { - case 1: - break; - - case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out[2] = 100U; - rtb_out[3] = 100U; - rtb_out[5] = 0U; - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled101[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 1)))) { - case 1: - break; - - case 2: - /* Assignment: '/valves[1, 2, 3, 4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - for (i = 0; i < 5; i++) { - rtb_out[tmp_7[i]] = rtConstP.pooled103[i]; - } - - /* End of Assignment: '/valves[1, 2, 3, 4,6]' */ - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled101[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2)))) { - case 1: - break; - - case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out[2] = 40U; - rtb_out[3] = 70U; - rtb_out[5] = 100U; - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled98[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2)))) { - case 1: - break; - - case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out[2] = 40U; - rtb_out[3] = 70U; - rtb_out[5] = 100U; - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled98[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2)))) { - case 1: - break; - - case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out[2] = 40U; - rtb_out[3] = 70U; - rtb_out[5] = 100U; - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled98[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' - */ - /* : switch index_mode */ - if (rtDW.CCU_MODE_RR <= 0) { - rtDW.Index_mode_RR_auto = rtDW.Index_mode_RR_manual; - } - - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' - */ - switch (rtDW.Index_mode_RR_auto) { - case 0U: - /* : case 0 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 120U: - /* : case 120 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 130U: - /* : case 130 */ - /* : Y = 2; */ - rtb_Gain2 = 2; - break; - - case 140U: - /* : case 140 */ - /* : Y = 2; */ - rtb_Gain2 = 2; - break; - - case 150U: - /* : case 150 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 160U: - /* : case 160 */ - /* : Y = 3; */ - rtb_Gain2 = 3; - break; - - case 170U: - /* : case 170 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 180U: - /* : case 180 */ - /* : Y = 3; */ - rtb_Gain2 = 3; - break; - - case 190U: - /* : case 190 */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - - case 200U: - /* : case 200 */ - /* : Y = 2; */ - rtb_Gain2 = 2; - break; - - default: - /* : otherwise */ - /* : Y = 1; */ - rtb_Gain2 = 1; - break; - } - - /* End of MATLAB Function: '/param index for mode' */ - - /* MATLAB Function: '/RR valves * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - */ - /* : index_start = (param_index - 1) * 3 + 1; */ - rtb_Cmd_3Way = (rtb_Gain2 - 1) * 3 + 1; - - /* : disp("index_start (rear):") */ - printf("%s\n", "index_start (rear):"); - fflush(stdout); - - /* : disp(index_start) */ - /* : if DRS_RRS == 0 */ - if (rtDW.DRS_SRR == 0) { - /* : side_percent = uint8(0); */ - rtb_DataTypeConversion1_gy = 0U; - } else { - /* : else */ - /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start + 3 - DRS_RRS); */ - rtb_Gain2 = (rtb_Cmd_3Way - rtDW.DRS_SRR) + 3; - if (rtb_Gain2 >= 0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_Gain2; - } else { - rtb_DataTypeConversion1_hy = 0U; - } - - rtb_DataTypeConversion1_gy = - g_aucREAR_SIDE_DRS_PERCENT_VALVE[rtb_DataTypeConversion1_hy - 1]; - } - - /* : if DRS_RRC == 0 */ - if (rtDW.DRS_CRR == 0) { - /* : center_percent = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; - } else { - /* : else */ - /* : center_percent = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start + 3 - DRS_RRC); */ - rtb_Gain2 = (rtb_Cmd_3Way - rtDW.DRS_CRR) + 3; - if (rtb_Gain2 >= 0) { - rtb_DataTypeConversion1_hy = (uint8_t)rtb_Gain2; - } else { - rtb_DataTypeConversion1_hy = 0U; - } - - rtb_DataTypeConversion1_hy = - g_aucREAR_CENT_DRS_PERCENT_VALVE[rtb_DataTypeConversion1_hy - 1]; - } - - /* : disp("side_percent (rear):") */ - printf("%s\n", "side_percent (rear):"); - fflush(stdout); - - /* : disp(side_percent) */ - /* : disp("center_percent (rear):") */ - printf("%s\n", "center_percent (rear):"); - fflush(stdout); - - /* : disp(center_percent) */ - /* : y = valves; */ - /* : y(3) = uint8(double(valves(3)) * (double(center_percent) / 100)); */ - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_DataTypeConversion1_hy / 100.0 * - (double)rtb_out[2]); - - /* : y(4) = uint8(double(valves(4)) * (double(side_percent) / 100)); */ - rtb_Cmd_3Way = (int32_t)rt_roundd((double)rtb_DataTypeConversion1_gy / 100.0 * - (double)rtb_out[3]); - - /* Switch: '/Switch6' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/RR valves * percent DRS' - */ - if (rtDW.DifferentBlower_Rear_isActive) { - /* DataStoreWrite: '/Data Store Write24' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = rtDW.DifferentBlower_Rear_valves[i]; - } - } else { - if (rtb_Gain2 < 256) { - /* MATLAB Function: '/RR valves * percent DRS' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' - * Assignment: '/Ïðèñâàèâàíèå â [6] rear' - * DataStoreWrite: '/Data Store Write24' - */ - rtb_Gain1_h[2] = (uint16_t)rtb_Gain2; - } else { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [6] rear' - * DataStoreWrite: '/Data Store Write24' - * MATLAB Function: '/RR valves * percent DRS' - */ - rtb_Gain1_h[2] = 255U; - } - - /* MATLAB Function: '/RR valves * percent DRS' */ - if (rtb_Cmd_3Way < 256) { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [6] rear' - * DataStoreWrite: '/Data Store Write24' - */ - rtb_Gain1_h[3] = (uint16_t)rtb_Cmd_3Way; - } else { - /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [6] rear' - * DataStoreWrite: '/Data Store Write24' - */ - rtb_Gain1_h[3] = 255U; - } - - /* Assignment: '/Ïðèñâàèâàíèå â [6] rear' incorporates: - * DataStoreWrite: '/Data Store Write24' - */ - rtb_Gain1_h[5] = rtb_out[5]; - } - - /* End of Switch: '/Switch6' */ - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.Index_mode_FL_auto = rtb_DataTypeConversion2_e1; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Index_mode_FR_auto = rtb_DataTypeConversion3_em; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.Index_mode_RR_auto = rtb_out_d1n; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation2_a) { - case 0: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - */ - rtDW.Index_mode_FR_manual = 0U; - break; - - case 1: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant5' - */ - rtDW.Index_mode_FR_manual = 80U; - break; - - case 2: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant6' - */ - rtDW.Index_mode_FR_manual = 10U; - break; - - case 3: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant7' - */ - rtDW.Index_mode_FR_manual = 100U; - break; - - case 4: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant8' - */ - rtDW.Index_mode_FR_manual = 60U; - break; - - case 5: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant9' - */ - rtDW.Index_mode_FR_manual = 70U; - break; - - case 6: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant10' - */ - rtDW.Index_mode_FR_manual = 20U; - break; - - default: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant11' - */ - rtDW.Index_mode_FR_manual = 90U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* DataStoreWrite: '/Data Store Write31' */ - rtDW.enable_rear_sync = 0U; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read' - */ - if (rtDW.AMB > 1000) { - rtb_MultiportSwitch_cq = 1000; - } else if (rtDW.AMB < -1000) { - rtb_MultiportSwitch_cq = -1000; - } else { - rtb_MultiportSwitch_cq = rtDW.AMB; - } - - /* End of Saturate: '/Saturation' */ - - /* MATLAB Function: '/Convert_g_assAMB_LV_UP' */ - /* : c_g_assAMB_LV_UP = [-1000, g_assAMB_LV_UP(5), g_assAMB_LV_UP(4), g_assAMB_LV_UP(3), g_assAMB_LV_UP(2), g_assAMB_LV_UP(1)]; */ - tmp_1[0] = -1000; - tmp_1[1] = g_assAMB_LV_UP[4]; - tmp_1[2] = g_assAMB_LV_UP[3]; - tmp_1[3] = g_assAMB_LV_UP[2]; - tmp_1[4] = g_assAMB_LV_UP[1]; - tmp_1[5] = g_assAMB_LV_UP[0]; - - /* SwitchCase: '/Switch Case' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation' - */ - switch ((int8_t)rtConstP.pooled56[plook_u32s16_bincka(rtb_MultiportSwitch_cq, - tmp_1, 5U)]) { - case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' - */ - rtB.Merge_b = (uint8_t)(rtb_MultiportSwitch_cq <= g_assAMB_LV_UP[0]); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ - break; - - case 1: - /* 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' - */ - /* : c_g_assAMB_LV_DN_1 = g_assAMB_LV_DN(1); */ - /* : c_g_assAMB_LV_UP_2 = g_assAMB_LV_UP(2); */ - if (rtb_MultiportSwitch_cq > 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_MultiportSwitch_cq <= g_assAMB_LV_DN[0]); - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' - */ - rtB.Merge_b = 2U; - } - - /* 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_MultiportSwitch_cq > g_assAMB_LV_UP[2]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_MultiportSwitch_cq > 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: - * ActionPort: '/Action Port' - */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' - * RelationalOperator: '/Relational Operator' - */ - /* : c_g_assAMB_LV_DN_3 = g_assAMB_LV_DN(3); */ - /* : c_g_assAMB_LV_UP_4 = g_assAMB_LV_UP(4); */ - if (rtb_MultiportSwitch_cq > g_assAMB_LV_UP[3]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_MultiportSwitch_cq > g_assAMB_LV_DN[2]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' - */ - rtB.Merge_b = 2U; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' - */ - rtB.Merge_b = 3U; - } - - /* End of Switch: '/Switch3' */ - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' - */ - rtB.Merge_b = 4U; - } - - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ - break; - - case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' - */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' - * RelationalOperator: '/Relational Operator' - */ - /* : c_g_assAMB_LV_DN_4 = g_assAMB_LV_DN(4); */ - /* : c_g_assAMB_LV_UP_5 = g_assAMB_LV_UP(5); */ - if (rtb_MultiportSwitch_cq > g_assAMB_LV_UP[4]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' - * RelationalOperator: '/Relational Operator1' - */ - if (rtb_MultiportSwitch_cq > g_assAMB_LV_DN[3]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' - */ - rtB.Merge_b = 3U; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' - */ - rtB.Merge_b = 4U; - } - - /* End of Switch: '/Switch3' */ - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' - */ - rtB.Merge_b = 5U; - } - - /* 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_MultiportSwitch_cq > 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' */ - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.CCU_SET_FL > 290) { - rtb_Gain2 = 290; - } else if (rtDW.CCU_SET_FL < 170) { - rtb_Gain2 = 170; - } else { - rtb_Gain2 = rtDW.CCU_SET_FL; - } - - /* Gain: '/Gain' incorporates: - * Saturate: '/Saturation' - */ - rtb_Gain2 *= 13107; - rtb_DataTypeConversion1_gy = (uint8_t)((((uint32_t)rtb_Gain2 & 65536U) != 0U) - + (rtb_Gain2 >> 17)); - - /* 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; */ - /* : g_aucMODE_BY_SET_F_LV3; */ - /* : g_aucMODE_BY_SET_F_LV4; */ - /* : g_aucMODE_BY_SET_F_LV5; */ - /* : ]; */ - for (rtb_Gain2 = 0; rtb_Gain2 < 13; rtb_Gain2++) { - rtb_get_modes_for_levels[6 * rtb_Gain2] = g_aucMODE_BY_SET_F_LV0[rtb_Gain2]; - rtb_get_modes_for_levels[6 * rtb_Gain2 + 1] = - g_aucMODE_BY_SET_F_LV1[rtb_Gain2]; - rtb_get_modes_for_levels[6 * rtb_Gain2 + 2] = - g_aucMODE_BY_SET_F_LV2[rtb_Gain2]; - rtb_get_modes_for_levels[6 * rtb_Gain2 + 3] = - g_aucMODE_BY_SET_F_LV3[rtb_Gain2]; - rtb_get_modes_for_levels[6 * rtb_Gain2 + 4] = - g_aucMODE_BY_SET_F_LV4[rtb_Gain2]; - rtb_get_modes_for_levels[6 * rtb_Gain2 + 5] = - g_aucMODE_BY_SET_F_LV5[rtb_Gain2]; - } - - /* End of MATLAB Function: '/Modes for levels' */ - - /* Lookup_n-D: '/Âûáîð ðåæèìà Left' incorporates: - * Gain: '/Gain' - * Merge: '/Merge' - */ - rtb_DataTypeConversion3_em = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, - rtb_DataTypeConversion1_gy, rtConstP.pooled148, rtConstP.pooled66, - rtb_get_modes_for_levels, rtConstP.pooled47, 6U); - - /* MATLAB Function: '/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê left' */ - left(rtb_DataTypeConversion3_em, rtb_out_b); - - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - if (rtDW.CCU_SET_FR > 290) { - rtb_Gain2 = 290; - } else if (rtDW.CCU_SET_FR < 170) { - rtb_Gain2 = 170; - } else { - rtb_Gain2 = rtDW.CCU_SET_FR; - } - - /* Gain: '/Gain2' incorporates: - * Saturate: '/Saturation1' - */ - rtb_Gain2 = 13107 * (int16_t)rtb_Gain2; - rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)rtb_Gain2 & 65536U) != 0U) - + (rtb_Gain2 >> 17)); - - /* SwitchCase: '/Switch for Left ' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtb_DataTypeConversion3_em) { - case 10: - break; - - case 20: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' - */ - rtb_out_cok[i] = rtb_out_b[i]; - - /* End of Outputs for SubSystem: '/Bilevel' */ - } - - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' - */ - Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_cok, rtb_DataTypeConversion1_gy, - rtb_DataTypeConversion1_hy); - - /* End of Outputs for SubSystem: '/Bilevel' */ - break; - - case 30: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' - */ - rtb_out_cok[i] = rtb_out_b[i]; - - /* End of Outputs for SubSystem: '/Bilevel2' */ - } - - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' - */ - Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_cok, rtb_DataTypeConversion1_gy, - rtb_DataTypeConversion1_hy); - - /* End of Outputs for SubSystem: '/Bilevel2' */ - break; - - case 40: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - rtb_out_cok[i] = rtb_out_b[i]; - - /* End of Outputs for SubSystem: '/Afoot' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_cok, rtb_DataTypeConversion1_gy, - rtb_DataTypeConversion1_hy); - - /* 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' - */ - rtb_out_cok[i] = rtb_out_b[i]; - - /* End of Outputs for SubSystem: '/Afoot_Summer' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' - */ - Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_cok, rtb_DataTypeConversion1_gy, - rtb_DataTypeConversion1_hy); - - /* End of Outputs for SubSystem: '/Afoot_Summer' */ - break; - } - - /* End of SwitchCase: '/Switch for Left ' */ - - /* Lookup_n-D: '/Âûáîð ðåæèìà Right' incorporates: - * Gain: '/Gain2' - * Merge: '/Merge' - */ - rtb_DataTypeConversion3_em = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, - rtb_DataTypeConversion1_hy, rtConstP.pooled148, rtConstP.pooled66, - rtb_get_modes_for_levels, rtConstP.pooled47, 6U); - - /* MATLAB Function: '/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê right' */ - left(rtb_DataTypeConversion3_em, rtb_out_b); - - /* SwitchCase: '/Switch for Left ' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtb_DataTypeConversion3_em) { - case 10: - break; - - case 20: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' - */ - rtb_out_cok[i] = rtb_out_b[i]; - - /* End of Outputs for SubSystem: '/Bilevel' */ - } - - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' - */ - Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_cok, rtb_DataTypeConversion1_gy, - rtb_DataTypeConversion1_hy); - - /* End of Outputs for SubSystem: '/Bilevel' */ - break; - - case 30: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' - */ - rtb_out_cok[i] = rtb_out_b[i]; - - /* End of Outputs for SubSystem: '/Bilevel2' */ - } - - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' - */ - Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_cok, rtb_DataTypeConversion1_gy, - rtb_DataTypeConversion1_hy); - - /* End of Outputs for SubSystem: '/Bilevel2' */ - break; - - case 40: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - rtb_out_cok[i] = rtb_out_b[i]; - - /* End of Outputs for SubSystem: '/Afoot' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_cok, rtb_DataTypeConversion1_gy, - rtb_DataTypeConversion1_hy); - - /* 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' - */ - rtb_out_cok[i] = rtb_out_b[i]; - - /* End of Outputs for SubSystem: '/Afoot_Summer' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' - */ - Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_cok, rtb_DataTypeConversion1_gy, - rtb_DataTypeConversion1_hy); - - /* 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; */ - rtDW.current_Ambient_Lv = rtB.Merge_b; - rtDW.current_Ambient_Lv_not_empty = true; - - /* : 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_MultiportSwitch_cq, rtB.Merge_b); - fflush(stdout); - - /* : else */ - /* : if (current_Ambient_Lv ~= Ambient_Lv) */ - } else if (rtDW.current_Ambient_Lv != rtB.Merge_b) { - /* : current_Ambient_Lv = Ambient_Lv; */ - rtDW.current_Ambient_Lv = rtB.Merge_b; - - /* : 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_MultiportSwitch_cq, rtB.Merge_b); - fflush(stdout); - } - - /* End of MATLAB Function: '/Log Ambient Lv' */ - - /* Chart: '/Spd_OSA_Trigger' */ - if (rtDW.is_active_c834_HVAC_model == 0U) { - rtDW.is_active_c834_HVAC_model = 1U; - rtDW.is_c834_HVAC_model = IN_OSA_OFF; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : is_OSA_Active = 0; */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - rtb_DataTypeConversion1_hy = 100U; - } else if (rtDW.is_c834_HVAC_model == IN_OSA_OFF) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; - - /* : sf_internal_predicateOutput = VehicleSpeed > 20 && Full_Rec_Active == 0; */ - if ((rtDW.VehicleSpeed > 20) && (rtDW.Full_Rec == 0)) { - rtDW.is_c834_HVAC_model = IN_OSA_ON; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : is_OSA_Active = 1; */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read6' - * Lookup_n-D: '/1-D Lookup Table2' - */ - rtb_DataTypeConversion1_hy = look1_iu16lu64n48tu8_binlcse - (rtDW.VehicleSpeed, &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], - 12U); - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - rtb_DataTypeConversion1_hy = 100U; - } - } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* case IN_OSA_ON: */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; - - /* : sf_internal_predicateOutput = VehicleSpeed == 0 || Full_Rec_Active == 1; */ - if ((rtDW.VehicleSpeed == 0) || (rtDW.Full_Rec == 1)) { - rtDW.is_c834_HVAC_model = IN_OSA_OFF; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : is_OSA_Active = 0; */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - rtb_DataTypeConversion1_hy = 100U; - } else { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read6' - * Lookup_n-D: '/1-D Lookup Table2' - */ - rtb_DataTypeConversion1_hy = look1_iu16lu64n48tu8_binlcse - (rtDW.VehicleSpeed, &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], - 12U); - } - } - - /* End of Chart: '/Spd_OSA_Trigger' */ - - /* Chart: '/Partial REC' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * Gain: '/Gain' - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * MATLAB Function: '/MATLAB Function' - */ - if (rtDW.is_active_c776_HVAC_model == 0U) { - rtDW.is_active_c776_HVAC_model = 1U; - rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; - - /* : Comp_Active = 0; */ - rtb_DataTypeConversion1_gy = 0U; - } else if (rtDW.is_c776_HVAC_model == IN_PARTIAL_REC_OFF) { - rtb_DataTypeConversion1_gy = 0U; - - /* : sf_internal_predicateOutput = Amb_temp >= g_ssPREC_REC_ON_AMB && Full_Rec_Active == 0; */ - if ((rtDW.AMB >= g_ssPREC_REC_ON_AMB) && (rtDW.Full_Rec == 0)) { - rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_ON; - - /* : sf_internal_predicateOutput = Evap_F_Fb >= g_aucPREC_EVA_DIFF(1) && Evap_R_Fb >= g_aucPREC_EVA_DIFF(3) &&E_comp_speed >= g_ausPREC_ENTRY_RPM(3); */ - if ((rtDW.Eva_F >= g_aucPREC_EVA_DIFF[0]) && ((rtDW.Eva_R >= - g_aucPREC_EVA_DIFF[2]) && (min_side_L >= g_ausPREC_ENTRY_RPM[2]))) { - rtDW.is_PARTIAL_REC_ON = IN_COND_3; - - /* : Comp_Active = 3; */ - rtb_DataTypeConversion1_gy = 3U; - - /* : sf_internal_predicateOutput = E_comp_speed >= g_ausPREC_ENTRY_RPM(2); */ - } else if (min_side_L >= g_ausPREC_ENTRY_RPM[1]) { - rtDW.is_PARTIAL_REC_ON = IN_COND_2; - - /* : Comp_Active = 2; */ - rtb_DataTypeConversion1_gy = 2U; - rtDW.is_COND_2 = IN_TRACKING; - } else { - rtDW.is_PARTIAL_REC_ON = IN_COND_1; - - /* : Comp_Active = 1; */ - rtb_DataTypeConversion1_gy = 1U; - } - } - - /* case IN_PARTIAL_REC_ON: */ - /* : sf_internal_predicateOutput = Amb_temp < g_ssPREC_REC_ON_AMB || Full_Rec_Active == 1; */ - } else if ((rtDW.AMB < g_ssPREC_REC_ON_AMB) || (rtDW.Full_Rec == 1)) { - rtDW.is_COND_2 = IN_NO_ACTIVE_CHILD_c; - rtDW.is_PARTIAL_REC_ON = IN_NO_ACTIVE_CHILD_c; - rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; - - /* : Comp_Active = 0; */ - rtb_DataTypeConversion1_gy = 0U; - } else { - switch (rtDW.is_PARTIAL_REC_ON) { - case IN_COND_1: - rtb_DataTypeConversion1_gy = 1U; - - /* Gain: '/Gain' incorporates: - * Gain: '/Gain1' - * MATLAB Function: '/MATLAB Function' - */ - /* : req_OSA =PREC_OSA_SUMMER_1; */ - rtb_Saturation2_a = (uint16_t)(5U * min_side_L); - rtB.req_OSA = look1_iu16lu64n48tu8_binlcse(rtb_Saturation2_a, - &g_ausPREC_COMP_SPD_1[0], &g_aucPREC_OSA_SUMMER_1[0], 2U); - - /* : req_REC =PREC_REC_SUMMER_1; */ - rtB.req_REC = look1_iu16lu64n48tu8_binlcse(rtb_Saturation2_a, - &g_ausPREC_COMP_SPD_1[0], &g_aucPREC_REC_SUMMER_1[0], 2U); - break; - - case IN_COND_2: - rtb_DataTypeConversion1_gy = 2U; - - /* : sf_internal_predicateOutput = E_comp_speed 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - index_start = find_index((int16_t)rtb_Gain2); - - /* : X=g_assPREC_EVA_DIFF_FB_TG_F(x_idx); */ - if (rtDW.is_COND_2 == IN_HOLDING) { - /* : sf_internal_predicateOutput = X <= 0; */ - rtb_Switch2_nb = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)index_start - 1]; - if (rtb_Switch2_nb <= 0) { - rtDW.is_COND_2 = IN_TRACKING; - - /* : sf_internal_predicateOutput = X > X_prev; */ - } else if (rtb_Switch2_nb > rtDW.X_prev) { - rtDW.is_COND_2 = IN_TRACKING; - } else { - /* : X_prev = X; */ - rtDW.X_prev = rtb_Switch2_nb; - } - } else { - /* case IN_TRACKING: */ - /* : sf_internal_predicateOutput = X < X_prev && X > 0; */ - rtb_Gain2 = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)index_start - 1]; - if ((rtb_Gain2 < rtDW.X_prev) && (rtb_Gain2 > 0)) { - rtDW.is_COND_2 = IN_HOLDING; - } else { - /* : req_OSA = g_aucPREC_OSA_SUMMER_2(x_idx); */ - rtB.req_OSA = g_aucPREC_OSA_SUMMER_2[(int32_t)index_start - 1]; - - /* : req_REC = g_aucPREC_REC_SUMMER_2(x_idx); */ - rtB.req_REC = g_aucPREC_REC_SUMMER_2[(int32_t)index_start - 1]; - - /* : X_prev = X; */ - rtDW.X_prev = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)index_start - 1]; - } - } - } - break; - - default: - /* case IN_COND_3: */ - rtb_DataTypeConversion1_gy = 3U; - - /* : sf_internal_predicateOutput = Evap_F_Fb < g_aucPREC_EVA_DIFF(2) && Evap_R_Fb < g_aucPREC_EVA_DIFF(4)&&E_comp_speed < g_ausPREC_EXIT_RPM(3); */ - if ((rtDW.Eva_F < g_aucPREC_EVA_DIFF[1]) && ((rtDW.Eva_R < - g_aucPREC_EVA_DIFF[3]) && (min_side_L < g_ausPREC_EXIT_RPM[2]))) { - rtDW.is_PARTIAL_REC_ON = IN_COND_2; - - /* : Comp_Active = 2; */ - rtb_DataTypeConversion1_gy = 2U; - rtDW.is_COND_2 = IN_TRACKING; - } else { - /* : req_OSA = g_ucPREC_OSA_SUMMER_3; */ - rtB.req_OSA = g_ucPREC_OSA_SUMMER_3; - - /* : req_REC = g_ucPREC_REC_SUMMER_3; */ - rtB.req_REC = g_ucPREC_REC_SUMMER_3; - } - break; - } - } - - /* End of Chart: '/Partial REC' */ - - /* Logic: '/OR1' incorporates: - * Constant: '/Auto recirc' - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read74' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator3' - */ - rtb_Compare_i5 = ((rtDW.condition_ac_max == 1.0) || (rtDW.CCU_RECIRC == 2) || - rtDW.recirc_auto_request_from_autodemist); - - /* Switch: '/Switch10' incorporates: - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read16' - * Switch: '/Switch7' - * Switch: '/Switch8' - * Switch: '/Switch9' - */ - if (rtDW.Door_ajar_is_active) { - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant10' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Max_def_OSA_valve = 0U; - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant9' - */ - rtDW.Max_def_Rec_valve = 100U; - } else if (!rtDW.Max_def_algo_active) { - /* Switch: '/Switch3' incorporates: - * DataStoreRead: '/Data Store Read7' - * Switch: '/Switch1' - * Switch: '/Switch5' - * Switch: '/Switch8' - */ - if (rtDW.Full_Rec > 0) { - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant4' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Max_def_OSA_valve = 0U; - } else if (rtb_Compare_i5) { - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant1' - */ - if (rtb_DataTypeConversion1_gy > 0) { - rtDW.Max_def_OSA_valve = rtB.req_OSA; - } else { - rtDW.Max_def_OSA_valve = 100U; - } - - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: - * DataStoreRead: '/Data Store Read3' - * Switch: '/Switch5' - */ - rtb_DataTypeConversion2_e1 = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, - rtConstP.pooled127, &g_aucAQS_OSA_LV_CO[0], 6U); - - /* Lookup_n-D: '/1-D Lookup Table4' incorporates: - * DataStoreRead: '/Data Store Read4' - * Switch: '/Switch5' - */ - rtb_DataTypeConversion3_em = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, - rtConstP.pooled127, &g_aucAQS_OSA_LV_NOX[0], 6U); - - /* MinMax: '/MinMax1' incorporates: - * Switch: '/Switch5' - */ - if (rtb_DataTypeConversion2_e1 >= rtb_DataTypeConversion3_em) { - rtb_DataTypeConversion3_em = rtb_DataTypeConversion2_e1; - } - - /* Lookup_n-D: '/1-D Lookup Table5' incorporates: - * DataStoreRead: '/Data Store Read5' - * Switch: '/Switch5' - */ - rtb_DataTypeConversion2_e1 = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, - rtConstP.pooled127, &g_aucAQS_OSA_LV_NH3[0], 6U); - - /* MinMax: '/MinMax1' incorporates: - * Switch: '/Switch5' - */ - if (rtb_DataTypeConversion3_em >= rtb_DataTypeConversion2_e1) { - rtb_DataTypeConversion2_e1 = rtb_DataTypeConversion3_em; - } - - /* MinMax: '/MinMax' incorporates: - * Switch: '/Switch1' - */ - if (rtb_DataTypeConversion1_hy <= rtDW.Max_def_OSA_valve) { - rtDW.Max_def_OSA_valve = rtb_DataTypeConversion1_hy; - } - - /* MinMax: '/MinMax1' incorporates: - * Switch: '/Switch5' - */ - if (rtb_DataTypeConversion2_e1 <= rtDW.Max_def_OSA_valve) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Max_def_OSA_valve = rtb_DataTypeConversion2_e1; - } - - /* End of MinMax: '/MinMax1' */ - } else { - if (rtb_DataTypeConversion1_gy > 0) { - /* Switch: '/Switch1' */ - rtDW.Max_def_OSA_valve = rtB.req_OSA; - } else { - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant1' - */ - rtDW.Max_def_OSA_valve = 100U; - } - - /* MinMax: '/MinMax' incorporates: - * Switch: '/Switch1' - */ - if (rtb_DataTypeConversion1_hy <= rtDW.Max_def_OSA_valve) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Switch: '/Switch5' - */ - rtDW.Max_def_OSA_valve = rtb_DataTypeConversion1_hy; - } - } - - /* End of Switch: '/Switch3' */ - - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * Logic: '/OR' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch2' - * Switch: '/Switch6' - * Switch: '/Switch7' - */ - if ((rtDW.Full_Rec != 0) || (rtDW.condition_ac_max == 2.0)) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.Max_def_Rec_valve = 100U; - } else if (rtb_Compare_i5) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - */ - if (rtb_DataTypeConversion1_gy > 0) { - rtDW.Max_def_Rec_valve = rtB.req_REC; - } else { - rtDW.Max_def_Rec_valve = 0U; - } - - /* Lookup_n-D: '/1-D Lookup Table' incorporates: - * DataStoreRead: '/Data Store Read' - * Switch: '/Switch6' - */ - rtb_DataTypeConversion2_e1 = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, - rtConstP.pooled128, &g_aucAQS_REC_LV_CO[0], 7U); - - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: - * DataStoreRead: '/Data Store Read1' - * Switch: '/Switch6' - */ - rtb_DataTypeConversion3_em = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, - rtConstP.pooled128, &g_aucAQS_REC_LV_NOX[0], 7U); - - /* MinMax: '/MinMax' incorporates: - * Switch: '/Switch6' - */ - if (rtb_DataTypeConversion2_e1 >= rtb_DataTypeConversion3_em) { - rtb_DataTypeConversion3_em = rtb_DataTypeConversion2_e1; - } - - /* Lookup_n-D: '/1-D Lookup Table2' incorporates: - * DataStoreRead: '/Data Store Read2' - * Switch: '/Switch6' - */ - rtb_DataTypeConversion2_e1 = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, - rtConstP.pooled128, &g_aucAQS_REC_LV_NH3[0], 7U); - - /* MinMax: '/MinMax' incorporates: - * Switch: '/Switch6' - */ - if (rtb_DataTypeConversion3_em >= rtb_DataTypeConversion2_e1) { - rtb_DataTypeConversion2_e1 = rtb_DataTypeConversion3_em; - } - - /* MinMax: '/MinMax2' incorporates: - * Switch: '/Switch2' - * Switch: '/Switch6' - */ - if (rtb_DataTypeConversion2_e1 <= rtDW.Max_def_Rec_valve) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Max_def_Rec_valve = rtb_DataTypeConversion2_e1; - } - - /* End of MinMax: '/MinMax2' */ - } else if (rtb_DataTypeConversion1_gy > 0) { - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Switch: '/Switch6' - */ - rtDW.Max_def_Rec_valve = rtB.req_REC; - } else { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write1' - * Switch: '/Switch6' - */ - rtDW.Max_def_Rec_valve = 0U; - } - - /* End of Switch: '/Switch4' */ - } - - /* End of Switch: '/Switch10' */ - - /* Logic: '/OR' incorporates: - * Constant: '/Constant7' - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read9' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - */ - rtb_AND2_d = ((rtDW.condition_ac_max == 1.0) || (rtDW.CCU_RECIRC == 2)); - - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - */ - switch (rtDW.CCU_SET_FOOT_FL) { - case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem(rtDW.ModeIndex[0], &rtB.Merge_j, &rtB.Merge1); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ - break; - - case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem1(rtDW.ModeIndex[0], &rtB.Merge_j, &rtB.Merge1); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ - break; - - case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem2(rtDW.ModeIndex[0], &rtB.Merge_j, &rtB.Merge1); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ - break; - - case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem3(&rtB.Merge_j, &rtB.Merge1); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ - break; - - case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem4(rtDW.ModeIndex[0], &rtB.Merge_j, &rtB.Merge1); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ - break; - - case 5: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem5(rtDW.ModeIndex[0], &rtB.Merge_j, &rtB.Merge1); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ - break; - - case 6: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem6' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem6(rtDW.ModeIndex[0], &rtB.Merge_j, &rtB.Merge1); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem6' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.Valve_individual_foot_FL = rtB.Merge_j; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Blower_individual_foot_FL = rtB.Merge1; - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtDW.Max_def_algo_active) { - rtDW.Dtg_individual_foot_FL = rtDW.Max_def_ind_foot_corr_FL; - } else { - rtDW.Dtg_individual_foot_FL = look1_iu8lu64n48ts16Ds32_binlcs - (rtDW.CCU_SET_FOOT_FL, rtConstP.pooled129, &g_assFOOT_STEP_DUCT_TGT[0], 6U); - } - - /* End of Switch: '/Switch' */ - - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - */ - switch (rtDW.CCU_SET_FOOT_FR) { - case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem(rtDW.ModeIndex[1], &rtB.Merge_g, &rtB.Merge1_m); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ - break; - - case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem1(rtDW.ModeIndex[1], &rtB.Merge_g, &rtB.Merge1_m); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ - break; - - case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem2(rtDW.ModeIndex[1], &rtB.Merge_g, &rtB.Merge1_m); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ - break; - - case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem3(&rtB.Merge_g, &rtB.Merge1_m); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ - break; - - case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem4(rtDW.ModeIndex[1], &rtB.Merge_g, &rtB.Merge1_m); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ - break; - - case 5: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem5(rtDW.ModeIndex[1], &rtB.Merge_g, &rtB.Merge1_m); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ - break; - - case 6: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem6' incorporates: - * ActionPort: '/Action Port' - */ - SwitchCaseActionSubsystem6(rtDW.ModeIndex[1], &rtB.Merge_g, &rtB.Merge1_m); - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem6' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.Valve_individual_foot_FR = rtB.Merge_g; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Blower_individual_foot_FR = rtB.Merge1_m; - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtDW.Max_def_algo_active) { - rtDW.Dtg_individual_foot_FR = rtDW.Max_def_ind_foot_corr_FL; - } else { - rtDW.Dtg_individual_foot_FR = look1_iu8lu64n48ts16Ds32_binlcs - (rtDW.CCU_SET_FOOT_FR, rtConstP.pooled129, &g_assFOOT_STEP_DUCT_TGT[0], 6U); - } - - /* End of Switch: '/Switch' */ - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write2' - */ - Status_Sensor_Model.Battery = 0; - Status_Sensor_Model.AMB = rtDW.AMB; - Status_Sensor_Model.Incar_FL = rtDW.Incar_FL; - Status_Sensor_Model.Incar_FR = rtDW.Incar_FR; - Status_Sensor_Model.Incar_RL = rtDW.Incar_RL; - Status_Sensor_Model.Incar_RR = rtDW.Incar_RR; - Status_Sensor_Model.Eva_F = rtDW.Eva_F; - Status_Sensor_Model.Eva_R = rtDW.Eva_R; - Status_Sensor_Model.Pressure = rtDW.Pressure; - Status_Sensor_Model.Duct_FL_Upper = 0; - Status_Sensor_Model.Duct_FL_Lower = 0; - Status_Sensor_Model.Duct_FR_Upper = 0; - Status_Sensor_Model.Duct_FR_Lower = 0; - Status_Sensor_Model.Duct_RL = 0; - Status_Sensor_Model.Duct_RR = 0; - Status_Sensor_Model.Duct_Side_FL = 0; - Status_Sensor_Model.Duct_Side_FR = 0; - Status_Sensor_Model.Duct_Side_RL = 0; - Status_Sensor_Model.Duct_Side_RR = 0; - Status_Sensor_Model.AQS = 0; - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_hv = (rtb_Divide1 < 0.05); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_df = (rtb_Divide1 > 4.8); - - /* Logic: '/Logical Operator' */ - rtb_Compare_i5 = (rtb_Compare_hv || rtb_Compare_df); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_err = (rtb_Compare_i5 && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE >= - 3000U)); - - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' - */ - rtb_Divide5 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ls = (rtb_Divide5 < 0.05); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ne = (rtb_Divide5 > 4.8); - - /* Logic: '/Logical Operator5' */ - rtb_FailCond_jb = (rtb_Compare_ls || rtb_Compare_ne); - - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator6 = (rtb_FailCond_jb && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_i >= 3000U)); - - /* Lookup_n-D: '/1-D Lookup Table4' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.Incar_FR = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled68, - rtConstP.pooled67, 1023U); - - /* Lookup_n-D: '/1-D Lookup Table2' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_DataTypeConversion1_oq = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled77, - rtConstP.pooled67, 1023U); - - /* Switch: '/Switch' incorporates: - * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator1' - * Switch: '/Switch1' - * Switch: '/Switch2' - */ - if (rtb_err && rtb_LogicalOperator6) { - rtDW.Incar_FL = 200; - - /* Lookup_n-D: '/1-D Lookup Table4' incorporates: - * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè' - * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè1' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.Incar_FR = 200; - } else { - if (rtb_err) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.Incar_FL = rtDW.Incar_FR; - } else { - rtDW.Incar_FL = rtb_DataTypeConversion1_oq; - } - - /* Switch: '/Switch3' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator6) { - /* Lookup_n-D: '/1-D Lookup Table4' */ - rtDW.Incar_FR = rtb_DataTypeConversion1_oq; - } - - /* End of Switch: '/Switch3' */ - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' - */ - rtb_duct_select_index_dbg_c = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL - / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_kb = (rtb_duct_select_index_dbg_c < 0.05); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_l = (rtb_duct_select_index_dbg_c > 4.8); - - /* Logic: '/Logical Operator2' */ - rtb_FailCond_e = (rtb_Compare_kb || rtb_Compare_l); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator3 = (rtb_FailCond_e && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_k >= 3000U)); - - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' - */ - rtb_Divide7 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_g1 = (rtb_Divide7 < 0.05); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_il = (rtb_Divide7 > 4.8); - - /* Logic: '/Logical Operator7' */ - rtb_FailCond_l = (rtb_Compare_g1 || rtb_Compare_il); - - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator8 = (rtb_FailCond_l && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_p >= 3000U)); - - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.Incar_RR = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled77, - rtConstP.pooled67, 1023U); - - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_DataTypeConversion1_oq = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled77, - rtConstP.pooled67, 1023U); - - /* Switch: '/Switch' incorporates: - * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè' - * DataStoreWrite: '/Data Store Write4' - * Logic: '/Logical Operator1' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator3 && rtb_LogicalOperator8) { - rtDW.Incar_RL = 200; - } else if (rtb_LogicalOperator3) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write4' - */ - rtDW.Incar_RL = rtDW.Incar_RR; - } else { - rtDW.Incar_RL = rtb_DataTypeConversion1_oq; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch2' incorporates: - * Logic: '/Logical Operator2' - * Switch: '/Switch3' - */ - if (rtb_LogicalOperator3 && (rtDW.Incar_RR != 0)) { - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: - * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè1' - */ - rtDW.Incar_RR = 200; - } else if (rtb_LogicalOperator8) { - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: - * Switch: '/Switch3' - */ - rtDW.Incar_RR = rtb_DataTypeConversion1_oq; - } - - /* End of Switch: '/Switch2' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - index_start = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_edx = (index_start < 0.1); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_e1 = (index_start > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_FailCond_a = (rtb_Compare_edx || rtb_Compare_e1); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1_f1 = (rtb_FailCond_a && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_g >= 3000U)); - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.CCU_EvaTempSenErrF_Stat = rtb_LogicalOperator1_f1; - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtb_LogicalOperator1_f1) { - rtb_MultiportSwitch_cq = -100; - } else { - rtb_MultiportSwitch_cq = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Evap_Temp, rtConstP.pooled77, - rtConstP.pooled52, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed); - - /* MATLAB Function: '/filter AC Pressure' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterACPressure(rtb_MultiportSwitch_cq, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterACPressure); - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Eva_F = rtb_DataTypeConversion1_oq; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[12] = rtb_LogicalOperator1_f1; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1_f1) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[13] = rtb_Compare_edx; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[12] = rtb_Compare_e1; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[13] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_f1) { - /* : if(EvapFErr) */ - /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n',Sensor_Evap_Temp); */ - printf("CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n", - index_start); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Eva_F = %d * 0.1 C\n',Eva_F); */ - printf("Eva_F = %d * 0.1 C\n", rtb_MultiportSwitch_cq); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write Eva_F' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_a && (!rtDW.Cond_prev_private_DSTATE)) { - rtDW.t_start_delay_private_DSTATE_g = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - index_start = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_e1 = (index_start < 0.1); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_LogicalOperator1_f1 = (index_start > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_edx = (rtb_Compare_e1 || rtb_LogicalOperator1_f1); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1_f = (rtb_Compare_edx && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_c >= 3000U)); - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.CCU_EvaTempSenErrR_Stat = rtb_LogicalOperator1_f; - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Lookup_n-D: '/1-D Lookup Table' - */ - if (rtb_LogicalOperator1_f) { - rtb_MultiportSwitch_cq = -100; - } else { - rtb_MultiportSwitch_cq = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled77, - rtConstP.pooled52, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_a); - - /* MATLAB Function: '/filter AC Pressure' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterACPressure(rtb_MultiportSwitch_cq, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterACPressure_p); - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Eva_R = rtb_DataTypeConversion1_oq; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_f; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1_f) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[15] = rtb_Compare_e1; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_f1; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[15] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_f) { - /* : if(EvapRErr) */ - /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n',Sensor_Rear_Evap_Temp); */ - printf("CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n", - index_start); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Eva_R = %d * 0.1 C\n',Eva_R); */ - printf("Eva_R = %d * 0.1 C\n", rtb_MultiportSwitch_cq); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write Eva_F' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_edx && (!rtDW.Cond_prev_private_DSTATE_p)) { - rtDW.t_start_delay_private_DSTATE_c = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide' - */ - IGN_voltage = (double)rtDW.ADC_Data_Model.IGN_ANS / 4095.0 * 27.75; - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('IGN_ANS = %f V\n',data); */ - printf("IGN_ANS = %f V\n", IGN_voltage); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide' - */ - index_start = (double)rtDW.ADC_Data_Model.PBATT_CHECK / 4095.0 * 33.4375; - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('PBATT_CHECK V = %f\n',U); */ - printf("PBATT_CHECK V = %f\n", index_start); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_LogicalOperator1_f1 = (rtb_Divide1_jg < 0.1); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_LogicalOperator1_f = (rtb_Divide1_jg > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_Compare_e1 = (rtb_LogicalOperator1_f1 || rtb_LogicalOperator1_f); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_LogicalOperator1_nf = (rtb_Compare_e1 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_h >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Bias: '/Add Constant' - * Constant: '/Constant2' - * Gain: '/Gain' - * Gain: '/Gain3' - * Gain: '/Åäèíèöû èçìåðåíèÿ - â 0.1 àòì' - * Saturate: '/Saturation' - */ - if (rtb_LogicalOperator1_nf) { - rtb_DataTypeConversion1_oq = 320; - } else { - if (rtb_Divide1_jg > 4.5) { - /* Saturate: '/Saturation' */ - rtb_I_od = 4.5; - } else if (rtb_Divide1_jg < 0.5) { - /* Saturate: '/Saturation' */ - rtb_I_od = 0.5; - } else { - /* Saturate: '/Saturation' */ - rtb_I_od = rtb_Divide1_jg; - } - - rtb_DataTypeConversion1_oq = (int16_t)floor((8.0 * rtb_I_od - 4.0) * 0.96784 - * 10.0); - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_d); - - /* MATLAB Function: '/filter AC Pressure' incorporates: - * DataStoreRead: '/Data Store Read44' - * DataStoreWrite: '/Data Store Write' - */ - /* : MAX_SPEED_RISING = 10; */ - /* : MAX_SPEED_FALLING = 10; */ - /* : if isempty(prev_value) */ - if (!rtDW.prev_value_not_empty) { - /* : prev_value = double(pressure_in); */ - rtDW.prev_value = rtb_DataTypeConversion1_oq; - rtDW.prev_value_not_empty = true; - - /* : prev_time = double(t_now); */ - rtDW.prev_time = rtDW.t_now; - } - - /* : if is_filter_active */ - if (rtb_RelationalOperator6_f) { - /* : dt = (double(t_now) - prev_time) / 1000; */ - /* : max_up = MAX_SPEED_RISING * dt * 10; */ - /* : max_down = MAX_SPEED_FALLING * dt * 10; */ - /* : value_filtered = int16(min(max(double(pressure_in), prev_value - max_down), prev_value + max_up)); */ - rtb_I_od = ((double)rtDW.t_now - rtDW.prev_time) / 1000.0 * 10.0 * 10.0; - rtb_I_od = rt_roundd(fmin(fmax(rtb_DataTypeConversion1_oq, rtDW.prev_value - - rtb_I_od), rtb_I_od + rtDW.prev_value)); - if (rtb_I_od < 32768.0) { - if (rtb_I_od >= -32768.0) { - rtDW.Pressure = (int16_t)rtb_I_od; - } else { - rtDW.Pressure = INT16_MIN; - } - } else { - rtDW.Pressure = INT16_MAX; - } - } else { - /* : else */ - /* : value_filtered = pressure_in; */ - rtDW.Pressure = rtb_DataTypeConversion1_oq; - } - - /* : prev_value = double(value_filtered); */ - rtDW.prev_value = rtDW.Pressure; - - /* : prev_time = double(t_now); */ - rtDW.prev_time = rtDW.t_now; - - /* End of MATLAB Function: '/filter AC Pressure' */ - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_PressSenErr_Stat = rtb_LogicalOperator1_nf; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_nf; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator1_nf) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[50] = rtb_LogicalOperator1_f1; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_f; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[50] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('AC_Pressure = %d ATM\n',AC_Pressure); */ - printf("AC_Pressure = %d ATM\n", rtb_DataTypeConversion1_oq); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_nf) { - /* : if(AC_PressureErr) */ - /* : fprintf('CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n',Sensor_AC_Pressure); */ - printf("CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n", - rtb_Divide1_jg); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_e1 && (!rtDW.Cond_prev_private_DSTATE_a)) { - rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_I_od = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_e = (rtb_I_od < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_pf = (rtb_I_od > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1_f1 = (rtb_Compare_e || rtb_Compare_pf); - - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct1_R_error = (rtb_LogicalOperator1_f1 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_o >= 3000U)); - - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' - */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_kc = (rtb_Divide1_jg < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_oy3 = (rtb_Divide1_jg > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_LogicalOperator1_f = (rtb_Compare_kc || rtb_Compare_oy3); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write6' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct2_R_error = (rtb_LogicalOperator1_f && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_oy >= 3000U)); - - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' - */ - rtb_Divide5_m = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_lt = (rtb_Divide5_m < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_cw = (rtb_Divide5_m > 4.9); - - /* Logic: '/Logical Operator5' */ - rtb_LogicalOperator1_nf = (rtb_Compare_lt || rtb_Compare_cw); - - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write7' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct3_R_error = (rtb_LogicalOperator1_nf && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); - - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' - */ - rtb_Divide7_g = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ac = (rtb_Divide7_g < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_aek = (rtb_Divide7_g > 4.9); - - /* Logic: '/Logical Operator7' */ - rtb_FailCond_iq = (rtb_Compare_ac || rtb_Compare_aek); - - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write8' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct4_R_error = (rtb_FailCond_iq && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_or >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write5' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' - */ - if (Duct1_R_error) { - rtb_MultiportSwitch_cq = 230; - } else { - rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled68, - rtConstP.pooled69, 1023U); - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write6' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' - */ - if (Duct2_R_error) { - rtb_X = 230; - } else { - rtb_X = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled68, - rtConstP.pooled69, 1023U); - } - - /* End of Switch: '/Switch1' */ - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write7' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' - */ - if (Duct3_R_error) { - rtb_MultiportSwitch_ac = 230; - } else { - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled68, - rtConstP.pooled69, 1023U); - } - - /* End of Switch: '/Switch2' */ - - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - * DataStoreWrite: '/Data Store Write8' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' - */ - if (Duct4_R_error) { - rtb_Bias1_h = 230; - } else { - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled68, - rtConstP.pooled69, 1023U); - } - - /* End of Switch: '/Switch3' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[29] = Duct1_R_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct1_R_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[30] = rtb_Compare_e; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[29] = rtb_Compare_pf; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[30] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write6' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[31] = Duct2_R_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write6' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct2_R_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[32] = rtb_Compare_kc; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[31] = rtb_Compare_oy3; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[32] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write7' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[33] = Duct3_R_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write7' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct3_R_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[34] = rtb_Compare_lt; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[33] = rtb_Compare_cw; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[34] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write8' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[35] = Duct4_R_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write8' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct4_R_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[36] = rtb_Compare_ac; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[35] = rtb_Compare_aek; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[36] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct1_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_ic3 = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; - if (rtDW.ADC_Data_Model.Sensor_Rear_Duct1 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("Duct1_R = %d * 0.1 C %d V\n", rtb_MultiportSwitch_cq, (int16_t) - rtb_out_ic3); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ' */ - - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct2_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_ic3 = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; - if (rtDW.ADC_Data_Model.Sensor_Rear_Duct2 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("Duct2_R = %d * 0.1 C %d V\n", rtb_X, (int16_t)rtb_out_ic3); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 1' */ - - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct3_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_ic3 = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; - if (rtDW.ADC_Data_Model.Sensor_Rear_Duct3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("Duct3_R = %d * 0.1 C %d V\n", rtb_MultiportSwitch_ac, (int16_t) - rtb_out_ic3); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 2' */ - - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct4_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_ic3 = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; - if (rtDW.ADC_Data_Model.Sensor_Rear_Duct4 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("Duct4_R = %d * 0.1 C %d V\n", rtb_Bias1_h, (int16_t)rtb_out_ic3); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 3' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct1_R_error) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n", - rtb_I_od); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write6' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct2_R_error) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n", - rtb_Divide1_jg); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR1' */ - - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write7' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct3_R_error) { - /* : if(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_Divide5_m); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR2' */ - - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write8' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct4_R_error) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct4_R = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct4_R = %f V\n", - rtb_Divide7_g); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR3' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_LogicalOperator1_f1 && (!rtDW.Cond_prev_private_DSTATE_l)) { - rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_LogicalOperator1_f && (!rtDW.Cond_prev_private_DSTATE_j)) { - rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_LogicalOperator1_nf && (!rtDW.Cond_prev_private_DSTATE_g)) { - rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_iq && (!rtDW.Cond_prev_private_DSTATE_c)) { - rtDW.t_start_delay_private_DSTATE_or = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' - */ - rtb_I_od = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_gf = (rtb_I_od < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_dlh = (rtb_I_od > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_e = (rtb_Compare_gf || rtb_Compare_dlh); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write7' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_ac = (rtb_Compare_e && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_kc >= 3000U)); - - /* Product: '/Divide4' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide1' - */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_eb = (rtb_Divide1_jg < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ib = (rtb_Divide1_jg > 4.9); - - /* Logic: '/Logical Operator1' */ - rtb_Compare_pf = (rtb_Compare_eb || rtb_Compare_ib); - - /* Logic: '/Logical Operator4' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write8' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - rtb_Compare_aek = (rtb_Compare_pf && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_m >= 3000U)); - - /* Product: '/Divide6' incorporates: - * Constant: '/Constant7' - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide5' - */ - rtb_Divide5_m = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_i2 = (rtb_Divide5_m < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ce = (rtb_Divide5_m > 4.9); - - /* Logic: '/Logical Operator5' */ - rtb_Compare_kc = (rtb_Compare_i2 || rtb_Compare_ce); - - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write9' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct3_F_error = (rtb_Compare_kc && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_pn >= 3000U)); - - /* Product: '/Divide8' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide7' - */ - rtb_Divide7_g = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_h = (rtb_Divide7_g < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_bw = (rtb_Divide7_g > 4.9); - - /* Logic: '/Logical Operator7' */ - rtb_Compare_oy3 = (rtb_Compare_h || rtb_Compare_bw); - - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write10' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct4_F_error = (rtb_Compare_oy3 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_hb >= 3000U)); - - /* Product: '/Divide10' incorporates: - * Constant: '/Constant13' - * Constant: '/Constant14' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide9' - */ - rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_jf = (rtb_Divide10 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ja = (rtb_Divide10 > 4.9); - - /* Logic: '/Logical Operator9' */ - rtb_Compare_lt = (rtb_Compare_jf || rtb_Compare_ja); - - /* Logic: '/Logical Operator10' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write11' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct5_F_error = (rtb_Compare_lt && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_i3 >= 3000U)); - - /* Product: '/Divide11' incorporates: - * Constant: '/Constant16' - * Constant: '/Constant17' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide12' - */ - rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_f2 = (rtb_Divide11 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_olu = (rtb_Divide11 > 4.9); - - /* Logic: '/Logical Operator12' */ - rtb_Compare_cw = (rtb_Compare_f2 || rtb_Compare_olu); - - /* Logic: '/Logical Operator11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write12' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct6_F_error = (rtb_Compare_cw && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_cc >= 3000U)); - - /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_out[0] = rtDW.ADC_Data_Model.Sensor_Front_Duct1; - rtb_out[1] = rtDW.ADC_Data_Model.Sensor_Front_Duct2; - rtb_out[2] = rtDW.ADC_Data_Model.Sensor_Front_Duct3; - rtb_out[3] = rtDW.ADC_Data_Model.Sensor_Front_Duct4; - rtb_out[4] = rtDW.ADC_Data_Model.Sensor_Front_Duct5; - rtb_out[5] = rtDW.ADC_Data_Model.Sensor_Front_Duct6; - - /* Lookup_n-D: '/1-D Lookup Table7' */ - for (rtb_Gain2 = 0; rtb_Gain2 < 6; rtb_Gain2++) { - rtb_uDLookupTable7_g[rtb_Gain2] = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out[rtb_Gain2], rtConstP.pooled68, rtConstP.pooled69, 1023U); - } - - /* End of Lookup_n-D: '/1-D Lookup Table7' */ - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant6' - * DataStoreWrite: '/Data Store Write8' - */ - if (rtb_Compare_aek) { - rtb_Switch2_nb = 230; - } else { - rtb_Switch2_nb = rtb_uDLookupTable7_g[1]; - } - - /* End of Switch: '/Switch2' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_m); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch2_nb, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_k); - - /* DataStoreWrite: '/Data Store Write1' */ - rtb_FLU_tg_correct_cz = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write7' - */ - if (rtb_Compare_ac) { - rtb_Switch1_f = 230; - } else { - rtb_Switch1_f = rtb_uDLookupTable7_g[0]; - } - - /* End of Switch: '/Switch1' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_f); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch1_f, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct); - - /* DataStoreWrite: '/Data Store Write2' */ - Duct1_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write9' - */ - if (Duct3_F_error) { - rtb_Switch3_no = 230; - } else { - rtb_Switch3_no = rtb_uDLookupTable7_g[2]; - } - - /* End of Switch: '/Switch3' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_o); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch3_no, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_c); - - /* DataStoreWrite: '/Data Store Write3' */ - Duct3_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant12' - * DataStoreWrite: '/Data Store Write10' - */ - if (Duct4_F_error) { - rtb_Switch4_f5 = 230; - } else { - rtb_Switch4_f5 = rtb_uDLookupTable7_g[3]; - } - - /* End of Switch: '/Switch4' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_h); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch4_f5, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_o); - - /* DataStoreWrite: '/Data Store Write4' */ - Duct4_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch5' incorporates: - * Constant: '/Constant15' - * DataStoreWrite: '/Data Store Write11' - */ - if (Duct5_F_error) { - rtb_Switch5_l = 230; - } else { - rtb_Switch5_l = rtb_uDLookupTable7_g[4]; - } - - /* End of Switch: '/Switch5' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_e); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch5_l, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_h); - - /* DataStoreWrite: '/Data Store Write5' */ - Duct5_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch6' incorporates: - * Constant: '/Constant18' - * DataStoreWrite: '/Data Store Write12' - */ - if (Duct6_F_error) { - rtb_Switch6_c = 230; - } else { - rtb_Switch6_c = rtb_uDLookupTable7_g[5]; - } - - /* End of Switch: '/Switch6' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_c); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch6_c, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_j); - - /* DataStoreWrite: '/Data Store Write6' */ - Duct6_F = rtb_DataTypeConversion1_oq; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write7' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[17] = rtb_Compare_ac; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write7' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_ac) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[18] = rtb_Compare_gf; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[17] = rtb_Compare_dlh; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[18] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write8' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[19] = rtb_Compare_aek; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write8' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_aek) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[20] = rtb_Compare_eb; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[19] = rtb_Compare_ib; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[20] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write9' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[21] = Duct3_F_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write9' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct3_F_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[22] = rtb_Compare_i2; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[21] = rtb_Compare_ce; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[22] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write10' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[23] = Duct4_F_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write10' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct4_F_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[24] = rtb_Compare_h; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[23] = rtb_Compare_bw; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[24] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write11' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[25] = Duct5_F_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write11' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct5_F_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[26] = rtb_Compare_jf; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[25] = rtb_Compare_ja; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[26] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write12' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[27] = Duct6_F_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write12' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct6_F_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[28] = rtb_Compare_f2; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[27] = rtb_Compare_olu; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[28] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct1_F = %d * 0.1 C\n',Sensor); */ - printf("Duct1_F = %d * 0.1 C\n", rtb_Switch1_f); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 1' */ - - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct2_F = %d * 0.1 C\n',Sensor); */ - printf("Duct2_F = %d * 0.1 C\n", rtb_Switch2_nb); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 2' */ - - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct3_F = %d * 0.1 C\n',Sensor); */ - printf("Duct3_F = %d * 0.1 C\n", rtb_Switch3_no); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 3' */ - - /* MATLAB Function: '/Write 4' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct4_F = %d * 0.1 C\n',Sensor); */ - printf("Duct4_F = %d * 0.1 C\n", rtb_Switch4_f5); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 4' */ - - /* MATLAB Function: '/Write 5' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct5_F = %d * 0.1 C\n',Sensor); */ - printf("Duct5_F = %d * 0.1 C\n", rtb_Switch5_l); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 5' */ - - /* MATLAB Function: '/Write 6' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Duct6_F = %d * 0.1 C\n',Sensor); */ - printf("Duct6_F = %d * 0.1 C\n", rtb_Switch6_c); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write 6' */ - - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write7' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_ac) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct1_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct1_F = %f V\n", - rtb_I_od); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR1' */ - - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write8' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_aek) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct2_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct2_F = %f V\n", - rtb_Divide1_jg); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR2' */ - - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write9' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct3_F_error) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n", - rtb_Divide5_m); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR3' */ - - /* MATLAB Function: '/Write ERROR4' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write10' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct4_F_error) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n", - rtb_Divide7_g); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR4' */ - - /* MATLAB Function: '/Write ERROR5' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write11' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct5_F_error) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n", - rtb_Divide10); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR5' */ - - /* MATLAB Function: '/Write ERROR6' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write12' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct6_F_error) { - /* : if(Err) */ - /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n',Sensor); */ - printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n", - rtb_Divide11); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR6' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_e && (!rtDW.Cond_prev_private_DSTATE_h)) { - rtDW.t_start_delay_private_DSTATE_kc = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_pf && (!rtDW.Cond_prev_private_DSTATE_cr)) { - rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_kc && (!rtDW.Cond_prev_private_DSTATE_m)) { - rtDW.t_start_delay_private_DSTATE_pn = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_oy3 && (!rtDW.Cond_prev_private_DSTATE_jr)) { - rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_lt && (!rtDW.Cond_prev_private_DSTATE_f)) { - rtDW.t_start_delay_private_DSTATE_i3 = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_Compare_cw && (!rtDW.Cond_prev_private_DSTATE_cn)) { - rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write4' - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_MultMsg_Idx = 0U; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FL_ro = rtDW.Incar_FL; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_FL_ro = rtDW.Incar_FL; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FR_ro = rtDW.Incar_FR; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_FR_ro = rtDW.Incar_FR; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RL_ro = rtDW.Incar_RL; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RL_ro = rtDW.Incar_RL; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RR_ro = rtDW.Incar_RR; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RR_ro = rtDW.Incar_RR; - - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * If: '/If1' - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.UnitDelay_DSTATE_cb < -9000) { - /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ FL' incorporates: - * ActionPort: '/Action Port' - */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtb_I_od = rtDW.Incar_FL; - - /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ FL' */ - } else { - /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ FL òåìïåðàòóðû' incorporates: - * ActionPort: '/Action Port' - */ - if (rtDW.KEEP_RISING_FL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - * If: '/If' - * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2_a); - if (fabs((double)rtDW.Incar_FL - rtDW.Temp_FL_store) <= rtb_Saturation2_a) - { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_RISING_FL_UNTIL_LIMIT = 0.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' - */ - u_h(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' - */ - u_lz(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ - } - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - * If: '/If' - * MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - INCARRATE_RISING_DIFF_F7(&rtb_Saturation2_a); - if (fabs((double)rtDW.Incar_FL - rtDW.Temp_FL_store) > rtb_Saturation2_a) - { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_RISING_FL_UNTIL_LIMIT = 1.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - */ - u_k(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' - */ - u_f(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ - } - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_c(rtDW.Incar_FL, rtDW.LEVEL, &rtb_out_d1n, - &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_l(rtDW.Incar_FL, rtDW.LEVEL, &rtb_out_d1n, - &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - */ - if (fabs((double)rtDW.Incar_FL - rtDW.Temp_FL_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_I_od = rtDW.Temp_FL_store; - } else { - if (rtDW.Incar_FL > rtDW.Temp_FL_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_Switch2_nb = (int16_t)rtb_Saturation2_a; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_d1n; - } - - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - rtb_I_od = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_o) / 60000.0 * - (double)rtb_Switch2_nb + rtDW.Temp_FL_store; - } - - /* End of Switch: '/Switch1' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read12' - */ - rtDW.UnitDelay_DSTATE_o = rtDW.t_now; - - /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ FL òåìïåðàòóðû' */ - } - - /* End of If: '/If' */ - - /* DataStoreWrite: '/Write new FL' */ - rtDW.Temp_FL_store = rtb_I_od; - - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * If: '/If1' - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.UnitDelay_DSTATE_j < -9000) { - /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ FR' incorporates: - * ActionPort: '/Action Port' - */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write3' - */ - rtb_I_od = rtDW.Incar_FR; - - /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ FR' */ - } else { - /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ FR òåìïåðàòóðû' incorporates: - * ActionPort: '/Action Port' - */ - if (rtDW.KEEP_RISING_FR_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * If: '/If' - * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2_a); - if (fabs((double)rtDW.Incar_FR - rtDW.Temp_FR_store) <= rtb_Saturation2_a) - { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_RISING_FR_UNTIL_LIMIT = 0.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' - */ - u_h(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' - */ - u_lz(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ - } - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * If: '/If' - * MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - INCARRATE_RISING_DIFF_F7(&rtb_Saturation2_a); - if (fabs((double)rtDW.Incar_FR - rtDW.Temp_FR_store) > rtb_Saturation2_a) - { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_RISING_FR_UNTIL_LIMIT = 1.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - */ - u_k(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' - */ - u_f(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ - } - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - */ - if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_c(rtDW.Incar_FR, rtDW.LEVEL, &rtb_out_d1n, - &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_l(rtDW.Incar_FR, rtDW.LEVEL, &rtb_out_d1n, - &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - */ - if (fabs((double)rtDW.Incar_FR - rtDW.Temp_FR_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_I_od = rtDW.Temp_FR_store; - } else { - if (rtDW.Incar_FR > rtDW.Temp_FR_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_Switch2_nb = (int16_t)rtb_Saturation2_a; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_d1n; - } - - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - rtb_I_od = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_cr) / 60000.0 * - (double)rtb_Switch2_nb + rtDW.Temp_FR_store; - } - - /* End of Switch: '/Switch1' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read12' - */ - rtDW.UnitDelay_DSTATE_cr = rtDW.t_now; - - /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ FR òåìïåðàòóðû' */ - } - - /* End of If: '/If' */ - - /* DataStoreWrite: '/Write new FR' */ - rtDW.Temp_FR_store = rtb_I_od; - - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' - * If: '/If1' - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.UnitDelay_DSTATE_cs < -9000) { - /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ RL' incorporates: - * ActionPort: '/Action Port' - */ - RL(rtDW.Incar_RL, &rtb_I_od); - - /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ RL' */ - } else { - /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ RL òåìïåðàòóðû' incorporates: - * ActionPort: '/Action Port' - */ - if (rtDW.KEEP_RISING_RL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' - * If: '/If' - * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2_a); - if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) <= rtb_Saturation2_a) - { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_RISING_RL_UNTIL_LIMIT = 0.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' - */ - u_m(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' - */ - u_gq(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ - } - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' - * If: '/If' - * MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - INCARRATE_RISING_DIFF_R7(&rtb_Saturation2_a); - if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) > rtb_Saturation2_a) - { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_RISING_RL_UNTIL_LIMIT = 1.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - */ - u_o(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' - */ - u_b3(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ - } - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - */ - if (rtDW.KEEP_FALLING_RL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ - AMBRATE_RISING_DIFF8(&rtb_out_d1n); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read temp' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) <= rtb_out_d1n) { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_FALLING_RL_UNTIL_LIMIT = 0.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' - */ - u_kk(rtDW.LEVEL, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - */ - u_hr(rtDW.LEVEL, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ - AMBRATE_FALLING_DIFF7(&rtb_out_d1n); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) > rtb_out_d1n) { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_FALLING_RL_UNTIL_LIMIT = 1.0; - - /* SignalConversion generated from: '/rise per minute' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - */ - u_b(rtDW.LEVEL, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * DataStoreRead: '/Data Store Read' - */ - u_g(rtDW.LEVEL, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - */ - if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_I_od = rtDW.Temp_RL_store; - } else { - if (rtDW.Incar_RL > rtDW.Temp_RL_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_Switch2_nb = (int16_t)rtb_Saturation2_a; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_d1n; - } - - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - rtb_I_od = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_lf) / 60000.0 * - (double)rtb_Switch2_nb + rtDW.Temp_RL_store; - } - - /* End of Switch: '/Switch1' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read12' - */ - rtDW.UnitDelay_DSTATE_lf = rtDW.t_now; - - /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ RL òåìïåðàòóðû' */ - } - - /* End of If: '/If' */ - - /* DataStoreWrite: '/Write new FL' */ - rtDW.Temp_RL_store = rtb_I_od; - - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - * If: '/If1' - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' - */ - if (rtDW.UnitDelay_DSTATE_k < -9000) { - /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ RR' incorporates: - * ActionPort: '/Action Port' - */ - RL(rtDW.Incar_RR, &rtb_I_od); - - /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ RR' */ - } else { - /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ RR òåìïåðàòóðû' incorporates: - * ActionPort: '/Action Port' - */ - if (rtDW.KEEP_RISING_RR_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - * If: '/If' - * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2_a); - if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) <= rtb_Saturation2_a) - { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_RISING_RR_UNTIL_LIMIT = 0.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' - */ - u_m(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' - */ - u_gq(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ - } - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - * If: '/If' - * MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - INCARRATE_RISING_DIFF_R7(&rtb_Saturation2_a); - if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) > rtb_Saturation2_a) - { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_RISING_RR_UNTIL_LIMIT = 1.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - */ - u_o(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' - */ - u_b3(rtDW.LEVEL, &rtb_Saturation2_a); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ - } - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - */ - if (rtDW.KEEP_FALLING_RR_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ - AMBRATE_RISING_DIFF8(&rtb_out_d1n); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read temp' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) <= rtb_out_d1n) { - /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_FALLING_RR_UNTIL_LIMIT = 0.0; - - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' - */ - u_kk(rtDW.LEVEL, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - */ - u_hr(rtDW.LEVEL, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ - AMBRATE_FALLING_DIFF7(&rtb_out_d1n); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) > rtb_out_d1n) { - /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_FALLING_RR_UNTIL_LIMIT = 1.0; - - /* SignalConversion generated from: '/rise per minute' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' - */ - u_b(rtDW.LEVEL, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * DataStoreRead: '/Data Store Read' - */ - u_g(rtDW.LEVEL, &rtb_out_d1n); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - */ - if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_I_od = rtDW.Temp_RR_store; - } else { - if (rtDW.Incar_RR > rtDW.Temp_RR_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_Switch2_nb = (int16_t)rtb_Saturation2_a; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_d1n; - } - - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' - */ - rtb_I_od = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_m) / 60000.0 * - (double)rtb_Switch2_nb + rtDW.Temp_RR_store; - } - - /* End of Switch: '/Switch1' */ - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read12' - */ - rtDW.UnitDelay_DSTATE_m = rtDW.t_now; - - /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ RR òåìïåðàòóðû' */ - } - - /* End of If: '/If' */ - - /* DataStoreWrite: '/Write new FL' */ - rtDW.Temp_RR_store = rtb_I_od; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[2] = rtb_err; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_err) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[3] = rtb_Compare_hv; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[2] = rtb_Compare_df; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[3] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_err) { - /* : if(IncarFLErr) */ - /* : fprintf('CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_FL = %f V\n',Sensor_Incar_Temp_FL); */ - printf("CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_FL = %f V\n", - rtb_Divide1); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR' */ - - /* 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_i5 && (!rtDW.Cond_prev_private_DSTATE_k)) { - rtDW.t_start_delay_private_DSTATE = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[4] = rtb_LogicalOperator6; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator6) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[5] = rtb_Compare_ls; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[4] = rtb_Compare_ne; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[5] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator6) { - /* : 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_Divide5); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR2' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_jb && (!rtDW.Cond_prev_private_DSTATE_d)) { - rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[6] = rtb_LogicalOperator3; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator3) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[7] = rtb_Compare_kb; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[6] = rtb_Compare_l; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[7] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3) { - /* : if(IncarRLErr) */ - /* : fprintf('CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_RL = %f V\n',Sensor_Incar_Temp_RL); */ - printf("CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_RL = %f V\n", - rtb_duct_select_index_dbg_c); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR1' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_e && (!rtDW.Cond_prev_private_DSTATE_hw)) { - rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[8] = rtb_LogicalOperator8; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_LogicalOperator8) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[9] = rtb_Compare_g1; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[8] = rtb_Compare_il; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[9] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator8) { - /* : if(IncarRLErr) */ - /* : fprintf('CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_RR = %f V\n',Sensor_Incar_Temp_RR); */ - printf("CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_RR = %f V\n", - rtb_Divide7); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write ERROR3' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' - */ - if (rtb_FailCond_l && (!rtDW.Cond_prev_private_DSTATE_i)) { - rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write IncarFL' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('IncarFL = %d * 0.1 C\n',IncarFL); */ - printf("IncarFL = %d * 0.1 C\n", rtDW.Incar_FL); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write IncarFL' */ - - /* MATLAB Function: '/Write IncarFR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('IncarFR = %d * 0.1 C\n',IncarFR); */ - printf("IncarFR = %d * 0.1 C\n", rtDW.Incar_FR); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write IncarFR' */ - - /* MATLAB Function: '/Write IncarRL' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('IncarRL = %d * 0.1 C\n',IncarRL); */ - printf("IncarRL = %d * 0.1 C\n", rtDW.Incar_RL); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write IncarRL' */ - - /* MATLAB Function: '/Write IncarRR' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write5' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('IncarRR = %d * 0.1 C\n',IncarRR); */ - printf("IncarRR = %d * 0.1 C\n", rtDW.Incar_RR); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write IncarRR' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.LOGGER_ACP = 0.0; - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / - 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n',U,I); */ - printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / - 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n',U,I); */ - printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / - 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / - 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (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' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / 4095.0 - * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / - 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / - 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / - 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 * - 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_Divide1, - rtb_Divide1 / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Pressure_DIAG V = %f\n',U); */ - printf("Pressure_DIAG V = %f\n", (double)rtDW.ADC_Data_Model.Pressure_DIAG / - 4095.0 * 6.0638); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Reserve_Sensor_Duct_Temp_1 V = %f\n',U); */ - printf("Reserve_Sensor_Duct_Temp_1 V = %f\n", (double) - rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_1 / 4095.0 * 5.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Reserve_Sensor_Duct_Temp_2 V = %f\n',U); */ - printf("Reserve_Sensor_Duct_Temp_2 V = %f\n", (double) - rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_2 / 4095.0 * 5.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Sensor_Front_Duct5 V = %f\n',U); */ - printf("Sensor_Front_Duct5 V = %f\n", (double) - rtDW.ADC_Data_Model.Sensor_Rear_Duct5 / 4095.0 * 5.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Sensor_Front_Duct V = %f\n',U); */ - printf("Sensor_Front_Duct V = %f\n", (double) - rtDW.ADC_Data_Model.Sensor_Rear_Duct6 / 4095.0 * 5.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n',U); */ - printf("VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n", (double) - rtDW.ADC_Data_Model.VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB / - 4095.0 * 17.5); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('VN7008AJ_DIAG_RearLINActuatorPowerDriverC V = %f\n',U); */ - printf("VN7008AJ_DIAG_RearLINActuatorPowerDriverC V = %f\n", (double) - rtDW.ADC_Data_Model.VN7008AJ_DIAG_RearLINActuatorPowerDriverC / - 4095.0 * 17.5); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double) - rtDW.ADC_Data_Model.VN7008AJ_FrontLINActuatorPowerDriverAB / 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n',U,I); */ - printf("VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n", - rtb_Divide1, rtb_Divide1 / 2490.0 * 5890.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1 = (double)rtDW.ADC_Data_Model.VN7008AJ_RearLINActuatorPowerDriverC - / 4095.0 * 5.0; - - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n',U,I); */ - printf("VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n", - rtb_Divide1, rtb_Divide1 / 2490.0 * 5890.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('ST_ReservePower = %u \n',data); */ - printf("ST_ReservePower = %u \n", rtDW.ADC_Key_Data_Model.ST_ReservePower); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* MATLAB Function: '/Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('ST_BATTChiller = %u \n',data); */ - printf("ST_BATTChiller = %u \n", rtDW.ADC_Key_Data_Model.ST_BATTChiller); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write1' */ - - /* MATLAB Function: '/Write2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('EmergencyAirCleanSwitch = %u \n',data); */ - printf("EmergencyAirCleanSwitch = %u \n", - rtDW.ADC_Key_Data_Model.EmergencyAirCleanSwitch); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write2' */ - - /* MATLAB Function: '/Write3' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('FireExtinguishSwitch = %u \n',data); */ - printf("FireExtinguishSwitch = %u \n", - rtDW.ADC_Key_Data_Model.FireExtinguishSwitch); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write3' */ - - /* MATLAB Function: '/Write4' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Ign_Wakeup = %u \n',data); */ - printf("Ign_Wakeup = %u \n", rtDW.ADC_Key_Data_Model.Ign_Wakeup); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write4' */ - - /* Chart: '/Zone_Climate_Logic_Auto_FL2' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read8' - */ - Zone_Climate_Logic_Auto_FL2(0.0, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, - rtDW.CCU_MODE_RL, rtDW.CCU_AC_REAR, &rtB.out_def_i, &rtB.out_face_c, - &rtB.out_foot_f, &rtB.out_auto_h, &rtB.out_ac_ed, - &rtDW.sf_Zone_Climate_Logic_Auto_FL2); - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_FACE_RL = rtB.out_face_c; - - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.CCU_FOOT_RL = rtB.out_foot_f; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.CCU_MODE_RL = rtB.out_auto_h; - - /* Chart: '/Zone_Climate_Logic_Auto_FL3' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read9' - */ - Zone_Climate_Logic_Auto_FL2(0.0, rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, - rtDW.CCU_MODE_RR, rtDW.CCU_AC_REAR, &rtB.out_def_n, &rtB.out_face_f, - &rtB.out_foot_p, &rtB.out_auto_e, &rtB.out_ac_e, - &rtDW.sf_Zone_Climate_Logic_Auto_FL3); - - /* DataStoreWrite: '/Data Store Write4' */ - rtDW.CCU_FACE_RR = rtB.out_face_f; - - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_FOOT_RR = rtB.out_foot_p; - - /* DataStoreWrite: '/Data Store Write6' */ - rtDW.CCU_MODE_RR = rtB.out_auto_e; - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write7' - * Logic: '/Logical Operator1' - */ - rtDW.CCU_AC_REAR = (uint8_t)((rtB.out_ac_ed != 0.0) || (rtB.out_ac_e != 0.0)); - - /* Chart: '/Zone_Climate_Logic_Auto_FL1' incorporates: - * DataStoreRead: '/Data Store Read38' - * DataStoreRead: '/Data Store Read39' - * DataStoreRead: '/Data Store Read40' - * DataStoreRead: '/Data Store Read41' - * DataStoreRead: '/Data Store Read6' - */ - if (rtDW.is_active_c681_HVAC_model == 0U) { - rtDW.is_active_c681_HVAC_model = 1U; - rtDW.is_c681_HVAC_model = IN_MANUAL_MODE_k; - - /* : out_def = 0; */ - rtB.out_def_m = 0U; - - /* : out_face = 1; */ - rtB.out_face_m = 1U; - - /* : out_foot = 1; */ - rtB.out_foot_ps = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - rtDW.is_DEF_SUB_i = IN_Def_Off_p; - rtDW.is_FACE_SUB_o = IN_Face_Off_i; - rtDW.is_FOOT_SUB_f = IN_Foot_Off_n; - rtDW.is_AC_SUB_co = IN_AC_Off_m; - } else if (rtDW.is_c681_HVAC_model == IN_AUTO_MODE_p) { - /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ - if ((rtDW.CCU_MODE_FL == 0) || (rtDW.CCU_DEF_FL == 1) || (rtDW.CCU_FACE_FL == - 1) || (rtDW.CCU_FOOT_FL == 1)) { - /* : out_auto=0; */ - rtB.out_auto_hx = 0U; - rtDW.is_AC_SUB_c = IN_NO_ACTIVE_CHILD_c; - rtDW.is_c681_HVAC_model = IN_MANUAL_MODE_k; - - /* : out_def = 0; */ - rtB.out_def_m = 0U; - - /* : out_face = 1; */ - rtB.out_face_m = 1U; - - /* : out_foot = 1; */ - rtB.out_foot_ps = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - rtDW.is_DEF_SUB_i = IN_Def_Off_p; - rtDW.is_FACE_SUB_o = IN_Face_Off_i; - rtDW.is_FOOT_SUB_f = IN_Foot_Off_n; - rtDW.is_AC_SUB_co = IN_AC_Off_m; - } else if (rtDW.is_AC_SUB_c == IN_AC_Off_m) { - /* : sf_internal_predicateOutput = btn_ac == 1; */ - if (rtDW.CCU_AC_FRONT == 1) { - /* : out_ac=1 */ - rtDW.is_AC_SUB_c = IN_AC_On_d; - - /* : out_ac = 1; */ - rtB.out_ac_m = 1.0; - } - - /* case IN_AC_On: */ - /* : sf_internal_predicateOutput = btn_ac == 0; */ - } else if (rtDW.CCU_AC_FRONT == 0) { - /* : out_ac=0 */ - rtB.out_ac_m = 0.0; - rtDW.is_AC_SUB_c = IN_AC_Off_m; - } - - /* case IN_MANUAL_MODE: */ - /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ - } else if ((rtDW.CCU_MODE_FL == 1) || ((rtB.out_def_m == 0) && (rtB.out_face_m - == 0) && (rtB.out_foot_ps == 0))) { - /* : out_auto=1; */ - rtDW.is_AC_SUB_co = IN_NO_ACTIVE_CHILD_c; - rtDW.is_FOOT_SUB_f = IN_NO_ACTIVE_CHILD_c; - rtDW.is_FACE_SUB_o = IN_NO_ACTIVE_CHILD_c; - rtDW.is_DEF_SUB_i = IN_NO_ACTIVE_CHILD_c; - rtDW.is_c681_HVAC_model = IN_AUTO_MODE_p; - - /* : out_auto = 1; */ - rtB.out_auto_hx = 1U; - - /* : out_def = 0; */ - rtB.out_def_m = 0U; - - /* : out_face = 0; */ - rtB.out_face_m = 0U; - - /* : out_foot = 0; */ - rtB.out_foot_ps = 0U; - rtDW.is_AC_SUB_c = IN_AC_On_d; - - /* : out_ac = 1; */ - rtB.out_ac_m = 1.0; - } else { - if (rtDW.is_DEF_SUB_i == IN_Def_Off_p) { - /* : sf_internal_predicateOutput = btn_def == 1; */ - if (rtDW.CCU_DEF_FL == 1) { - /* : out_def=1 */ - rtB.out_def_m = 1U; - rtDW.is_DEF_SUB_i = IN_Def_On_c; - } - - /* case IN_Def_On: */ - /* : sf_internal_predicateOutput = btn_def == 0; */ - } else if (rtDW.CCU_DEF_FL == 0) { - /* : out_def=0 */ - rtB.out_def_m = 0U; - rtDW.is_DEF_SUB_i = IN_Def_Off_p; - } - - if (rtDW.is_FACE_SUB_o == IN_Face_Off_i) { - /* : sf_internal_predicateOutput = btn_face == 1; */ - if (rtDW.CCU_FACE_FL == 1) { - /* : out_face=1 */ - rtB.out_face_m = 1U; - rtDW.is_FACE_SUB_o = IN_Face_On_k; - } - - /* case IN_Face_On: */ - /* : sf_internal_predicateOutput = btn_face == 0; */ - } else if (rtDW.CCU_FACE_FL == 0) { - /* : out_face=0 */ - rtB.out_face_m = 0U; - rtDW.is_FACE_SUB_o = IN_Face_Off_i; - } - - if (rtDW.is_FOOT_SUB_f == IN_Foot_Off_n) { - /* : sf_internal_predicateOutput = btn_foot == 1; */ - if (rtDW.CCU_FOOT_FL == 1) { - /* : out_foot=1 */ - rtB.out_foot_ps = 1U; - rtDW.is_FOOT_SUB_f = IN_Foot_On_m; - } - - /* case IN_Foot_On: */ - /* : sf_internal_predicateOutput = btn_foot == 0; */ - } else if (rtDW.CCU_FOOT_FL == 0) { - /* : out_foot=0 */ - rtB.out_foot_ps = 0U; - rtDW.is_FOOT_SUB_f = IN_Foot_Off_n; - } - - if (rtDW.is_AC_SUB_co == IN_AC_Off_m) { - /* : sf_internal_predicateOutput = btn_ac == 1; */ - if (rtDW.CCU_AC_FRONT == 1) { - /* : out_ac=1 */ - rtB.out_ac_m = 1.0; - rtDW.is_AC_SUB_co = IN_AC_On_d; - } - - /* case IN_AC_On: */ - /* : sf_internal_predicateOutput = btn_ac == 0; */ - } else if (rtDW.CCU_AC_FRONT == 0) { - /* : out_ac=0 */ - rtB.out_ac_m = 0.0; - rtDW.is_AC_SUB_co = IN_AC_Off_m; - } - } - - /* End of Chart: '/Zone_Climate_Logic_Auto_FL1' */ - - /* Chart: '/Zone_Climate_Logic_Auto_FL4' incorporates: - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read61' - * DataStoreRead: '/Data Store Read62' - * DataStoreRead: '/Data Store Read63' - * DataStoreRead: '/Data Store Read7' - */ - if (rtDW.is_active_c777_HVAC_model == 0U) { - rtDW.is_active_c777_HVAC_model = 1U; - rtDW.is_c777_HVAC_model = IN_MANUAL_MODE_k; - - /* : out_def = 0; */ - rtB.out_def = 0U; - - /* : out_face = 1; */ - rtB.out_face = 1U; - - /* : out_foot = 1; */ - rtB.out_foot = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - rtDW.is_DEF_SUB = IN_Def_Off_p; - rtDW.is_FACE_SUB = IN_Face_Off_i; - rtDW.is_FOOT_SUB = IN_Foot_Off_n; - rtDW.is_AC_SUB_a = IN_AC_Off_m; - } else if (rtDW.is_c777_HVAC_model == IN_AUTO_MODE_p) { - /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ - if ((rtDW.CCU_MODE_FR == 0) || (rtDW.CCU_DEF_FR == 1) || (rtDW.CCU_FACE_FR == - 1) || (rtDW.CCU_FOOT_FR == 1)) { - /* : out_auto=0; */ - rtB.out_auto = 0U; - rtDW.is_AC_SUB = IN_NO_ACTIVE_CHILD_c; - rtDW.is_c777_HVAC_model = IN_MANUAL_MODE_k; - - /* : out_def = 0; */ - rtB.out_def = 0U; - - /* : out_face = 1; */ - rtB.out_face = 1U; - - /* : out_foot = 1; */ - rtB.out_foot = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - rtDW.is_DEF_SUB = IN_Def_Off_p; - rtDW.is_FACE_SUB = IN_Face_Off_i; - rtDW.is_FOOT_SUB = IN_Foot_Off_n; - rtDW.is_AC_SUB_a = IN_AC_Off_m; - } else if (rtDW.is_AC_SUB == IN_AC_Off_m) { - /* : sf_internal_predicateOutput = btn_ac == 1; */ - if (rtDW.CCU_AC_FRONT == 1) { - /* : out_ac=1 */ - rtDW.is_AC_SUB = IN_AC_On_d; - - /* : out_ac = 1; */ - rtB.out_ac = 1.0; - } - - /* case IN_AC_On: */ - /* : sf_internal_predicateOutput = btn_ac == 0; */ - } else if (rtDW.CCU_AC_FRONT == 0) { - /* : out_ac=0 */ - rtB.out_ac = 0.0; - rtDW.is_AC_SUB = IN_AC_Off_m; - } - - /* case IN_MANUAL_MODE: */ - /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ - } else if ((rtDW.CCU_MODE_FR == 1) || ((rtB.out_def == 0) && (rtB.out_face == - 0) && (rtB.out_foot == 0))) { - /* : out_auto=1; */ - rtDW.is_AC_SUB_a = IN_NO_ACTIVE_CHILD_c; - rtDW.is_FOOT_SUB = IN_NO_ACTIVE_CHILD_c; - rtDW.is_FACE_SUB = IN_NO_ACTIVE_CHILD_c; - rtDW.is_DEF_SUB = IN_NO_ACTIVE_CHILD_c; - rtDW.is_c777_HVAC_model = IN_AUTO_MODE_p; - - /* : out_auto = 1; */ - rtB.out_auto = 1U; - - /* : out_def = 0; */ - rtB.out_def = 0U; - - /* : out_face = 0; */ - rtB.out_face = 0U; - - /* : out_foot = 0; */ - rtB.out_foot = 0U; - rtDW.is_AC_SUB = IN_AC_On_d; - - /* : out_ac = 1; */ - rtB.out_ac = 1.0; - } else { - if (rtDW.is_DEF_SUB == IN_Def_Off_p) { - /* : sf_internal_predicateOutput = btn_def == 1; */ - if (rtDW.CCU_DEF_FR == 1) { - /* : out_def=1 */ - rtB.out_def = 1U; - rtDW.is_DEF_SUB = IN_Def_On_c; - } - - /* case IN_Def_On: */ - /* : sf_internal_predicateOutput = btn_def == 0; */ - } else if (rtDW.CCU_DEF_FR == 0) { - /* : out_def=0 */ - rtB.out_def = 0U; - rtDW.is_DEF_SUB = IN_Def_Off_p; - } - - if (rtDW.is_FACE_SUB == IN_Face_Off_i) { - /* : sf_internal_predicateOutput = btn_face == 1; */ - if (rtDW.CCU_FACE_FR == 1) { - /* : out_face=1 */ - rtB.out_face = 1U; - rtDW.is_FACE_SUB = IN_Face_On_k; - } - - /* case IN_Face_On: */ - /* : sf_internal_predicateOutput = btn_face == 0; */ - } else if (rtDW.CCU_FACE_FR == 0) { - /* : out_face=0 */ - rtB.out_face = 0U; - rtDW.is_FACE_SUB = IN_Face_Off_i; - } - - if (rtDW.is_FOOT_SUB == IN_Foot_Off_n) { - /* : sf_internal_predicateOutput = btn_foot == 1; */ - if (rtDW.CCU_FOOT_FR == 1) { - /* : out_foot=1 */ - rtB.out_foot = 1U; - rtDW.is_FOOT_SUB = IN_Foot_On_m; - } - - /* case IN_Foot_On: */ - /* : sf_internal_predicateOutput = btn_foot == 0; */ - } else if (rtDW.CCU_FOOT_FR == 0) { - /* : out_foot=0 */ - rtB.out_foot = 0U; - rtDW.is_FOOT_SUB = IN_Foot_Off_n; - } - - if (rtDW.is_AC_SUB_a == IN_AC_Off_m) { - /* : sf_internal_predicateOutput = btn_ac == 1; */ - if (rtDW.CCU_AC_FRONT == 1) { - /* : out_ac=1 */ - rtB.out_ac = 1.0; - rtDW.is_AC_SUB_a = IN_AC_On_d; - } - - /* case IN_AC_On: */ - /* : sf_internal_predicateOutput = btn_ac == 0; */ - } else if (rtDW.CCU_AC_FRONT == 0) { - /* : out_ac=0 */ - rtB.out_ac = 0.0; - rtDW.is_AC_SUB_a = IN_AC_Off_m; - } - } - - /* End of Chart: '/Zone_Climate_Logic_Auto_FL4' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - */ - rtDW.CCU_AC_FRONT = (uint8_t)((rtB.out_ac_m != 0.0) || (rtB.out_ac != 0.0)); - - /* DataStoreWrite: '/Data Store Write28' */ - rtDW.CCU_FACE_FL = rtB.out_face_m; - - /* DataStoreWrite: '/Data Store Write29' */ - rtDW.CCU_FOOT_FL = rtB.out_foot_ps; - - /* DataStoreWrite: '/Data Store Write30' */ - rtDW.CCU_MODE_FL = rtB.out_auto_hx; - - /* DataStoreWrite: '/Data Store Write32' */ - rtDW.CCU_FACE_FR = rtB.out_face; - - /* DataStoreWrite: '/Data Store Write33' */ - rtDW.CCU_FOOT_FR = rtB.out_foot; - - /* DataStoreWrite: '/Data Store Write34' */ - rtDW.CCU_MODE_FR = rtB.out_auto; - - /* DataStoreWrite: '/Data Store Write35' */ - rtDW.CCU_DEF_FR = rtB.out_def; - - /* DataStoreWrite: '/Data Store Write37' */ - rtDW.CCU_DEF_FL = rtB.out_def_m; - - /* Outputs for Enabled SubSystem: '/Determine directions RL' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if (rtB.out_auto_h < rtDW.DelayInput1_DSTATE) { - /* MATLAB Function: '/direction for REAR index mode' incorporates: - * DataStoreRead: '/Data Store Read' - */ - directionforREARindexmode(rtDW.Index_mode_RL_auto, &rtb_y_hu[0]); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_FACE_RL = (uint8_t)rtb_y_hu[1]; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_FOOT_RL = (uint8_t)rtb_y_hu[2]; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.Index_mode_RL_manual = (uint8_t)rtb_y_hu[3]; - - /* MATLAB Function: '/AF REAR VENT AUTO' */ - AFREARVENTAUTO(rtb_out_i2t); - - /* MATLAB Function: '/AF REAR Bi Level' */ - AFREARBiLevel(rtb_out_aru); - - /* MATLAB Function: '/AF REAR Foot' */ - AFREARFoot(rtb_out_k2); - - /* MATLAB Function: '/AF REAR VENT AUTO1' */ - AFREARVENTAUTO(rtb_out_lfs); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtDW.Index_mode_RL_auto) { - case 120: - case 150: - case 170: - for (i = 0; i < 8; i++) { - rtb_out_lfs[i] = rtb_out_i2t[i]; - } - break; - - case 130: - case 160: - case 180: - for (i = 0; i < 8; i++) { - rtb_out_lfs[i] = rtb_out_aru[i]; - } - break; - - case 140: - for (i = 0; i < 8; i++) { - rtb_out_lfs[i] = rtb_out_k2[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/closest speed' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - closestspeed(rtb_out_lfs, rtb_out_hiu, &rtb_DataTypeConversion_gj); - - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_BLOWERS_RL = rtb_DataTypeConversion_gj; - } - - /* End of RelationalOperator: '/FixPt Relational Operator' */ - /* End of Outputs for SubSystem: '/Determine directions RL' */ - - /* Outputs for Enabled SubSystem: '/Determine directions RR' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if (rtB.out_auto_e < rtDW.DelayInput1_DSTATE_e) { - /* MATLAB Function: '/direction for REAR index mode1' incorporates: - * DataStoreRead: '/Data Store Read' - */ - directionforREARindexmode(rtDW.Index_mode_RR_auto, &rtb_y_hu[0]); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_FACE_RR = (uint8_t)rtb_y_hu[1]; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_FOOT_RR = (uint8_t)rtb_y_hu[2]; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.Index_mode_RR_manual = (uint8_t)rtb_y_hu[3]; - - /* MATLAB Function: '/AF REAR VENT AUTO' */ - AFREARVENTAUTO(rtb_out_i2t); - - /* MATLAB Function: '/AF REAR Bi Level' */ - AFREARBiLevel(rtb_out_aru); - - /* MATLAB Function: '/AF REAR Foot' */ - AFREARFoot(rtb_out_k2); - - /* MATLAB Function: '/AF REAR VENT AUTO1' */ - AFREARVENTAUTO(rtb_out_lfs); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtDW.Index_mode_RR_auto) { - case 120: - case 150: - case 170: - for (i = 0; i < 8; i++) { - rtb_out_lfs[i] = rtb_out_i2t[i]; - } - break; - - case 130: - case 160: - case 180: - for (i = 0; i < 8; i++) { - rtb_out_lfs[i] = rtb_out_aru[i]; - } - break; - - case 140: - for (i = 0; i < 8; i++) { - rtb_out_lfs[i] = rtb_out_k2[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/closest speed' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - closestspeed(rtb_out_lfs, rtb_out_bab, &rtb_DataTypeConversion_gj); - - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_BLOWERS_RR = rtb_DataTypeConversion_gj; - } - - /* End of RelationalOperator: '/FixPt Relational Operator' */ - /* End of Outputs for SubSystem: '/Determine directions RR' */ - - /* Outputs for Enabled SubSystem: '/Determine directions FL' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if (rtB.out_auto_hx < rtDW.DelayInput1_DSTATE_d) { - /* MATLAB Function: '/direction for front index mode' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : switch index_mode */ - switch (rtDW.Index_mode_FL_auto) { - case 0U: - /* : case 0 */ - /* : Y = [0; 0; 0; 0]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 0; - i = 0; - rtb_Y_l_idx_3 = 0; - break; - - case 10U: - /* : case 10 */ - /* : Y = [0; 1; 0; 10]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 0; - rtb_Y_l_idx_3 = 10; - break; - - case 20U: - /* : case 20 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - case 30U: - /* : case 30 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - case 40U: - /* : case 40 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - case 50U: - /* : case 50 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - case 60U: - /* : case 60 */ - /* : Y = [0; 0; 1; 60]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 0; - i = 1; - rtb_Y_l_idx_3 = 60; - break; - - case 70U: - /* : case 70 */ - /* : Y = [1; 0; 1; 70]; */ - rtb_Gain2 = 1; - rtb_Cmd_3Way = 0; - i = 1; - rtb_Y_l_idx_3 = 70; - break; - - case 80U: - /* : case 80 */ - /* : Y = [1; 0; 0; 80]; */ - rtb_Gain2 = 1; - rtb_Cmd_3Way = 0; - i = 0; - rtb_Y_l_idx_3 = 80; - break; - - case 90U: - /* : case 90 */ - /* : Y = [1; 1; 1; 90]; */ - rtb_Gain2 = 1; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 90; - break; - - case 100U: - /* : case 100 */ - /* : Y = [1; 1; 0; 100]; */ - rtb_Gain2 = 1; - rtb_Cmd_3Way = 1; - i = 0; - rtb_Y_l_idx_3 = 100; - break; - - case 110U: - /* : case 110 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - default: - /* : otherwise */ - /* : Y = [0; 0; 0; 0]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 0; - i = 0; - rtb_Y_l_idx_3 = 0; - break; - } - - /* End of MATLAB Function: '/direction for front index mode' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_DEF_FL = (uint8_t)rtb_Gain2; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_DEF_FR = (uint8_t)rtb_Gain2; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_FACE_FL = (uint8_t)rtb_Cmd_3Way; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_FOOT_FL = (uint8_t)i; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.Index_mode_FL_manual = (uint8_t)rtb_Y_l_idx_3; - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/closest speed' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - closestspeed(rtb_out_fjl, rtb_Saturation_as, &rtb_DataTypeConversion_gj); - - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_BLOWERS_FL = rtb_DataTypeConversion_gj; - } - - /* End of RelationalOperator: '/FixPt Relational Operator' */ - /* End of Outputs for SubSystem: '/Determine directions FL' */ - - /* Outputs for Enabled SubSystem: '/Determine directions FR' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if (rtB.out_auto < rtDW.DelayInput1_DSTATE_d3) { - /* MATLAB Function: '/direction for front index mode' incorporates: - * DataStoreRead: '/Data Store Read' - */ - /* : switch index_mode */ - switch (rtDW.Index_mode_FR_auto) { - case 0U: - /* : case 0 */ - /* : Y = [0; 0; 0; 0]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 0; - i = 0; - rtb_Y_l_idx_3 = 0; - break; - - case 10U: - /* : case 10 */ - /* : Y = [0; 1; 0; 10]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 0; - rtb_Y_l_idx_3 = 10; - break; - - case 20U: - /* : case 20 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - case 30U: - /* : case 30 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - case 40U: - /* : case 40 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - case 50U: - /* : case 50 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - case 60U: - /* : case 60 */ - /* : Y = [0; 0; 1; 60]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 0; - i = 1; - rtb_Y_l_idx_3 = 60; - break; - - case 70U: - /* : case 70 */ - /* : Y = [1; 0; 1; 70]; */ - rtb_Gain2 = 1; - rtb_Cmd_3Way = 0; - i = 1; - rtb_Y_l_idx_3 = 70; - break; - - case 80U: - /* : case 80 */ - /* : Y = [1; 0; 0; 80]; */ - rtb_Gain2 = 1; - rtb_Cmd_3Way = 0; - i = 0; - rtb_Y_l_idx_3 = 80; - break; - - case 90U: - /* : case 90 */ - /* : Y = [1; 1; 1; 90]; */ - rtb_Gain2 = 1; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 90; - break; - - case 100U: - /* : case 100 */ - /* : Y = [1; 1; 0; 100]; */ - rtb_Gain2 = 1; - rtb_Cmd_3Way = 1; - i = 0; - rtb_Y_l_idx_3 = 100; - break; - - case 110U: - /* : case 110 */ - /* : Y = [0; 1; 1; 110]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 1; - i = 1; - rtb_Y_l_idx_3 = 110; - break; - - default: - /* : otherwise */ - /* : Y = [0; 0; 0; 0]; */ - rtb_Gain2 = 0; - rtb_Cmd_3Way = 0; - i = 0; - rtb_Y_l_idx_3 = 0; - break; - } - - /* End of MATLAB Function: '/direction for front index mode' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_DEF_FL = (uint8_t)rtb_Gain2; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_DEF_FR = (uint8_t)rtb_Gain2; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_FACE_FR = (uint8_t)rtb_Cmd_3Way; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.CCU_FOOT_FR = (uint8_t)i; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write4' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.Index_mode_FR_manual = (uint8_t)rtb_Y_l_idx_3; - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_i2t); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_aru); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_k2); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_lfs); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_mfe); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_fo4); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_fo); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_ju); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_agk); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_kmk); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_fjl); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read' - */ - switch (rtDW.Index_mode_FR_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_i2t[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_aru[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_k2[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_lfs[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_mfe[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo4[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_fo[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_ju[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_agk[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_fjl[i] = rtb_out_kmk[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/closest speed' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - closestspeed(rtb_out_fjl, Gain1, &rtb_DataTypeConversion_gj); - - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_BLOWERS_FR = rtb_DataTypeConversion_gj; - } - - /* End of RelationalOperator: '/FixPt Relational Operator' */ - /* End of Outputs for SubSystem: '/Determine directions FR' */ - - /* Outputs for Atomic SubSystem: '/AromaLogic' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' - * MATLAB Function: '/ccuAromaLogic' - */ - /* : AROMA_CFG_PRESENT = 0x01; */ - /* : ALGO_CFG_STANDARD = 0x00; */ - /* : ALGO_CFG_LIMOUSINE = 0x01; */ - /* : CAL_VARIANT_SEDANL = 1; */ - /* : CAL_VARIANT_LIMO = 3; */ - /* : CAL_VARIANT_MPV = 5; */ - /* : FIU_AROMA_REQ_ON = 0x1; */ - /* : FIU_AROMA_REQ_OFF = 0x2; */ - /* : FAULT_NONE = uint8(0x0); */ - /* : FAULT_HVAC_FAN_OFF = uint8(0x1); */ - /* : FAULT_HVAC_FAN_LOW = uint8(0x2); */ - /* : FAULT_HVAC_FAN_HIGH = uint8(0x3); */ - /* : FAULT_CARTRIDGE = uint8(0x4); */ - /* : FAULT_COMM_OR_HW = uint8(0x5); */ - /* : if isempty(savedIntensity) */ - /* : if isempty(prevAromaIntensStat) */ - /* : CCU_GloveBox_Stat = uint8(0); */ - rtDW.LIN4_CCU_Req_Model.CCU_GloveBox_Stat = 0U; - - /* MATLAB Function: '/ccuAromaLogic' */ - /* : CCU_AromaCartridgeFlavor_Stat = uint8(0); */ - /* : CCU_AromaCartridgeCapacity_Stat = uint8(0); */ - /* : CCU_AromaFaultReason_Stat = FAULT_NONE; */ - rtb_DataTypeConversion1_hy = 0U; - - /* : CCU_AromaIntens_Stat = uint8(0); */ - rtb_DataTypeConversion3_em = 0U; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' - * MATLAB Function: '/ccuAromaLogic' - */ - /* : CCU_AromaIntens_Req = uint8(0); */ - rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; - - /* MATLAB Function: '/ccuAromaLogic' incorporates: - * Constant: '/auto1' - * Constant: '/auto3' - * Constant: '/auto5' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read57' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read77' - * DataStoreRead: '/Data Store Read8' - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - /* : if (aromaConfig ~= AROMA_CFG_PRESENT) || ... */ - /* : (CAL_VARIANT < CAL_VARIANT_SEDANL) || (CAL_VARIANT > CAL_VARIANT_MPV) */ - if ((rtDW.AromaConfiguration != 1) || (g_ucCAL_VARIANT < 1) || - (g_ucCAL_VARIANT > 5)) { - /* : savedIntensity = uint8(0); */ - rtDW.savedIntensity = 0U; - - /* : prevAromaIntensStat = uint8(0); */ - rtDW.prevAromaIntensStat = 0U; - } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write32' - */ - /* : CCU_GloveBox_Stat = BCM_GloveBox_Stat; */ - rtDW.LIN4_CCU_Req_Model.CCU_GloveBox_Stat = rtDW.BCM_GloveBox_stat; - - /* : CCU_AromaCartridgeFlavor_Stat = Aroma_CartridgeFlavor_Stat; */ - /* : CCU_AromaCartridgeCapacity_Stat = Aroma_CartridgeCapacity_Stat; */ - /* : if (CAL_VARIANT == CAL_VARIANT_SEDANL) || (CAL_VARIANT == CAL_VARIANT_LIMO) */ - if ((g_ucCAL_VARIANT != 1) && (g_ucCAL_VARIANT != 3)) { - /* : else */ - /* : hvacFanPwm = frontHvacFanPwm; */ - rtDW.PWM_rear = rtDW.PWM_front; - } else { - /* : hvacFanPwm = rearHvacFanPwm; */ - } - - /* : if Aroma_CommErr_Flag */ - if (rtDW.CCU_AromaErr_Stat != 0) { - /* : CCU_AromaFaultReason_Stat = FAULT_COMM_OR_HW; */ - rtb_DataTypeConversion1_hy = 5U; - } else if ((rtDW.Aroma_CartridgeSw != 0) || (rtDW.Aroma_CartridgeCapacity == - 0)) { - /* : elseif (Aroma_CartridgeSw_Stat ~= 0) || (Aroma_CartridgeCapacity_Stat == 0) */ - /* : CCU_AromaFaultReason_Stat = FAULT_CARTRIDGE; */ - rtb_DataTypeConversion1_hy = 4U; - } else if (rtDW.PWM_rear == 0) { - /* : elseif hvacFanPwm == 0 */ - /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_OFF; */ - rtb_DataTypeConversion1_hy = 1U; - } else if (rtDW.PWM_rear < (uint8_t)((52429U * g_usAromaPwm_Min) >> 19)) { - /* : elseif hvacFanPwm < aromaPWMmin */ - /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_LOW; */ - rtb_DataTypeConversion1_hy = 2U; - } else if (rtDW.PWM_rear > (uint8_t)((52429U * g_usAromaPwm_Max) >> 19)) { - /* : elseif hvacFanPwm > aromaPWMmax */ - /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_HIGH; */ - rtb_DataTypeConversion1_hy = 3U; - } else { - /* : else */ - /* : CCU_AromaFaultReason_Stat = FAULT_NONE; */ - } - - /* : if FIU_AromaIntens_Req ~= 0 */ - if (rtDW.CCU_AromaIntens_stat != 0) { - /* : savedIntensity = FIU_AromaIntens_Req; */ - rtDW.savedIntensity = rtDW.CCU_AromaIntens_stat; - } - - /* : if T15_On */ - if (rtDW.BCM_T15_Stat != 0) { - /* : CCU_AromaIntens_Stat = prevAromaIntensStat; */ - rtb_DataTypeConversion3_em = rtDW.prevAromaIntensStat; - } else { - /* : else */ - /* : CCU_AromaIntens_Stat = uint8(0); */ - } - - /* : if (CCU_AromaFaultReason_Stat == FAULT_COMM_OR_HW) || (FIU_Aroma_Req == FIU_AROMA_REQ_OFF) */ - if ((rtb_DataTypeConversion1_hy == 5) || (rtDW.CCU_Aroma == 2)) { - /* : CCU_AromaIntens_Stat = uint8(0); */ - rtb_DataTypeConversion3_em = 0U; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' - */ - /* : CCU_AromaIntens_Req = uint8(0); */ - rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; - } else { - /* : else */ - /* : if (CCU_AromaFaultReason_Stat ~= FAULT_COMM_OR_HW) && (FIU_Aroma_Req == FIU_AROMA_REQ_ON) */ - if (rtDW.CCU_Aroma == 1) { - /* : CCU_AromaIntens_Stat = savedIntensity; */ - rtb_DataTypeConversion3_em = rtDW.savedIntensity; - } - - /* : if (CCU_AromaFaultReason_Stat == FAULT_NONE) && ... */ - /* : (CCU_AromaIntens_Stat ~= 0) && T15_On */ - if ((rtb_DataTypeConversion1_hy == 0) && (rtb_DataTypeConversion3_em != 0) - && (rtDW.BCM_T15_Stat != 0)) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' - */ - /* : CCU_AromaIntens_Req = CCU_AromaIntens_Stat; */ - rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = rtb_DataTypeConversion3_em; - } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' - */ - /* : else */ - /* : CCU_AromaIntens_Req = uint8(0); */ - rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; - } - } - - /* : if T15_On */ - if (rtDW.BCM_T15_Stat != 0) { - /* : prevAromaIntensStat = CCU_AromaIntens_Stat; */ - rtDW.prevAromaIntensStat = rtb_DataTypeConversion3_em; - } - } - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/ccuAromaLogic' - */ - rtDW.CCU_AromaIntens_stat = rtb_DataTypeConversion3_em; - - /* End of Outputs for SubSystem: '/AromaLogic' */ - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read16' - */ - if (rtDW.CCU_SET_FL > 290) { - rtb_out_d1n = 290U; - } else if (rtDW.CCU_SET_FL < 170) { - rtb_out_d1n = 170U; - } else { - rtb_out_d1n = rtDW.CCU_SET_FL; - } - - /* End of Saturate: '/Saturation' */ - - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read17' - */ - if (rtDW.CCU_SET_FR > 290) { - rtb_Saturation2_a = 290U; - } else if (rtDW.CCU_SET_FR < 170) { - rtb_Saturation2_a = 170U; - } else { - rtb_Saturation2_a = rtDW.CCU_SET_FR; - } - - /* End of Saturate: '/Saturation1' */ - - /* Outputs for Atomic SubSystem: '/Autodemist (all-season mode and winter mode)' */ - /* MATLAB Function: '/Calculate_Autodemist_Level' incorporates: - * Constant: '/auto10' - * Constant: '/auto11' - * Constant: '/auto12' - * Constant: '/auto4' - * Constant: '/auto5' - * Constant: '/auto6' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * Gain: '/Gain2' - * Logic: '/AND2' - * Logic: '/AND3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator6' - * RelationalOperator: '/Relational Operator7' - * RelationalOperator: '/Relational Operator8' - */ - /* : if isempty(current_level_FL) */ - /* : if isempty(current_level_FR) */ - /* : if isempty(active_mode) */ - /* : if active_mode == 2 && exit_conditions_winter == 1 */ - if ((rtDW.active_mode == 2.0) && ((rtDW.CCU_MODE_FL != 1) || (rtDW.AMB > 10 * - g_assAUTODEMIST_WINTER[1]))) { - /* : current_level_FL = 0; */ - rtDW.current_level_FL = 0.0; - - /* : current_level_FR = 0; */ - rtDW.current_level_FR = 0.0; - - /* : active_mode = 0; */ - rtDW.active_mode = 0.0; - } - - /* : if active_mode == 1 && exit_conditions_all_season == 1 */ - if ((rtDW.active_mode == 1.0) && ((rtDW.CCU_MODE_FL != 1) || (rtDW.Dew_point > - g_assAUTODEMIST_STEP_UP[0]))) { - /* : current_level_FL = 0; */ - rtDW.current_level_FL = 0.0; - - /* : current_level_FR = 0; */ - rtDW.current_level_FR = 0.0; - - /* : active_mode = 0; */ - rtDW.active_mode = 0.0; - } - - /* : if active_mode == 0 */ - guard1 = false; - if (rtDW.active_mode == 0.0) { - /* Logic: '/AND1' incorporates: - * Constant: '/Auto' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read2' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator2' - */ - /* : if entry_conditions_winter == 1 */ - rtb_RelationalOperator6_f = ((rtDW.CCU_MODE_FL == 1) && - (rtDW.step_start_controle_front > 1) && (rtDW.ECT > 45)); - if (rtb_RelationalOperator6_f && (rtDW.AMB <= 10 * g_assAUTODEMIST_WINTER[0])) - { - /* : active_mode = 2; */ - rtDW.active_mode = 2.0; - guard1 = true; - } else if (rtb_RelationalOperator6_f && (rtDW.Dew_point <= - g_assAUTODEMIST_STEP_UP[0])) { - /* : elseif entry_conditions_all_season == 1 */ - /* : active_mode = 1; */ - rtDW.active_mode = 1.0; - guard1 = true; - } else { - /* : else */ - /* : new_level_FL = 0; */ - rtb_Divide1 = 0.0; - - /* : new_level_FR = 0; */ - rtb_Divide5 = 0.0; - - /* : new_active_mode = 0; */ - rtb_duct_select_index_dbg_c = 0.0; - } - } else { - guard1 = true; - } - - if (guard1) { - /* : if active_mode == 2 */ - if (rtDW.active_mode == 2.0) { - /* : if dew_point > STEP_UP(2) */ - if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[1]) { - /* : target_level = 0; */ - rtb_Gain2 = 0; - } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[2]) { - /* : elseif dew_point > STEP_UP(3) */ - /* : target_level = 2; */ - rtb_Gain2 = 2; - } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[3]) { - /* : elseif dew_point > STEP_UP(4) */ - /* : target_level = 3; */ - rtb_Gain2 = 3; - } else { - /* : else */ - /* : target_level = 4; */ - rtb_Gain2 = 4; - } - } else if (rtDW.active_mode == 1.0) { - /* : elseif active_mode == 1 */ - /* : if dew_point > STEP_UP(1) */ - if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[0]) { - /* : target_level = 0; */ - rtb_Gain2 = 0; - } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[1]) { - /* : elseif dew_point > STEP_UP(2) */ - /* : target_level = 1; */ - rtb_Gain2 = 1; - } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[2]) { - /* : elseif dew_point > STEP_UP(3) */ - /* : target_level = 2; */ - rtb_Gain2 = 2; - } else if (rtDW.Dew_point > g_assAUTODEMIST_STEP_UP[3]) { - /* : elseif dew_point > STEP_UP(4) */ - /* : target_level = 3; */ - rtb_Gain2 = 3; - } else { - /* : else */ - /* : target_level = 4; */ - rtb_Gain2 = 4; - } - } else { - /* : else */ - /* : target_level = 0; */ - rtb_Gain2 = 0; - } - - /* : new_level_FL = current_level_FL; */ - rtb_Divide1 = rtDW.current_level_FL; - - /* : if target_level > current_level_FL */ - if (rtb_Gain2 > rtDW.current_level_FL) { - /* : new_level_FL = target_level; */ - rtb_Divide1 = rtb_Gain2; - } else if (rtb_Gain2 < rtDW.current_level_FL) { - /* : elseif target_level < current_level_FL */ - /* : if current_level_FL == 4 && dew_point > STEP_DN(4) */ - if ((rtDW.current_level_FL == 4.0) && (rtDW.Dew_point > - g_assAUTODEMIST_STEP_DN[3])) { - /* : new_level_FL = 3; */ - rtb_Divide1 = 3.0; - } else if ((rtDW.current_level_FL == 3.0) && (rtDW.Dew_point > - g_assAUTODEMIST_STEP_DN[2])) { - /* : elseif current_level_FL == 3 && dew_point > STEP_DN(3) */ - /* : new_level_FL = 2; */ - rtb_Divide1 = 2.0; - } else if ((rtDW.current_level_FL == 2.0) && (rtDW.Dew_point > - g_assAUTODEMIST_STEP_DN[1])) { - /* : elseif current_level_FL == 2 && dew_point > STEP_DN(2) */ - /* : new_level_FL = 1; */ - rtb_Divide1 = 1.0; - } else if ((rtDW.current_level_FL == 1.0) && (rtDW.Dew_point > - g_assAUTODEMIST_STEP_DN[0])) { - /* : elseif current_level_FL == 1 && dew_point > STEP_DN(1) */ - /* : new_level_FL = 0; */ - rtb_Divide1 = 0.0; - } else { - /* : else */ - /* : new_level_FL = current_level_FL; */ - /* : else */ - /* : new_level_FL = current_level_FL; */ - } - } - - /* : if (FL_blower_automode == 4 || FL_blower_automode == 5) && new_level_FL > 2 */ - if (((rtDW.CCU_AUTOMODE_FL == 4) || (rtDW.CCU_AUTOMODE_FL == 5)) && - (rtb_Divide1 > 2.0)) { - /* : new_level_FL = 2; */ - rtb_Divide1 = 2.0; - } - - /* : new_level_FR = current_level_FR; */ - rtb_Divide5 = rtDW.current_level_FR; - - /* : if target_level > current_level_FR */ - if (rtb_Gain2 > rtDW.current_level_FR) { - /* : new_level_FR = target_level; */ - rtb_Divide5 = rtb_Gain2; - } else if (rtb_Gain2 < rtDW.current_level_FR) { - /* : elseif target_level < current_level_FR */ - /* : if current_level_FR == 4 && dew_point > STEP_DN(4) */ - if ((rtDW.current_level_FR == 4.0) && (rtDW.Dew_point > - g_assAUTODEMIST_STEP_DN[3])) { - /* : new_level_FR = 3; */ - rtb_Divide5 = 3.0; - } else if ((rtDW.current_level_FR == 3.0) && (rtDW.Dew_point > - g_assAUTODEMIST_STEP_DN[2])) { - /* : elseif current_level_FR == 3 && dew_point > STEP_DN(3) */ - /* : new_level_FR = 2; */ - rtb_Divide5 = 2.0; - } else if ((rtDW.current_level_FR == 2.0) && (rtDW.Dew_point > - g_assAUTODEMIST_STEP_DN[1])) { - /* : elseif current_level_FR == 2 && dew_point > STEP_DN(2) */ - /* : new_level_FR = 1; */ - rtb_Divide5 = 1.0; - } else if ((rtDW.current_level_FR == 1.0) && (rtDW.Dew_point > - g_assAUTODEMIST_STEP_DN[0])) { - /* : elseif current_level_FR == 1 && dew_point > STEP_DN(1) */ - /* : new_level_FR = 0; */ - rtb_Divide5 = 0.0; - } else { - /* : else */ - /* : new_level_FR = current_level_FR; */ - /* : else */ - /* : new_level_FR = current_level_FR; */ - } - } - - /* : if (FR_blower_automode == 4 || FR_blower_automode == 5) && new_level_FR > 2 */ - if (((rtDW.CCU_AUTOMODE_FR == 4) || (rtDW.CCU_AUTOMODE_FR == 5)) && - (rtb_Divide5 > 2.0)) { - /* : new_level_FR = 2; */ - rtb_Divide5 = 2.0; - } - - /* : current_level_FL = new_level_FL; */ - rtDW.current_level_FL = rtb_Divide1; - - /* : current_level_FR = new_level_FR; */ - rtDW.current_level_FR = rtb_Divide5; - - /* : new_active_mode = active_mode; */ - rtb_duct_select_index_dbg_c = rtDW.active_mode; - } - - /* MATLAB Function: '/MATLAB Function' incorporates: - * MATLAB Function: '/Calculate_Autodemist_Level' - */ - /* : if active_mode == 2 */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : lvl_winter = uint8(autodemist_lvl_FL); */ - rtb_I_od = rt_roundd(rtb_Divide1); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = (uint8_t) - rtb_I_od; - } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = 0U; - } - } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = UINT8_MAX; - } - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - * MATLAB Function: '/Calculate_Autodemist_Level' - */ - /* : lvl_summer = uint8(0); */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; - } else if (rtb_duct_select_index_dbg_c == 1.0) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : elseif active_mode == 1 */ - /* : lvl_winter = uint8(0); */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = 0U; - - /* : lvl_summer = uint8(autodemist_lvl_FL); */ - rtb_I_od = rt_roundd(rtb_Divide1); - if (rtb_I_od < 256.0) { - if (rtb_I_od >= 0.0) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = (uint8_t) - rtb_I_od; - } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; - } - } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = UINT8_MAX; - } - } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : else */ - /* : lvl_winter = uint8(0); */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = 0U; - - /* : lvl_summer = uint8(0); */ - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; - } - - /* End of MATLAB Function: '/MATLAB Function' */ - - /* Logic: '/AND5' incorporates: - * Constant: '/auto13' - * Constant: '/auto14' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write23' - * Logic: '/AND4' - * RelationalOperator: '/Relational Operator10' - * RelationalOperator: '/Relational Operator11' - * RelationalOperator: '/Relational Operator9' - */ - rtb_RelationalOperator6_f = (((rtDW.CCU_MODE_FL == 0) || (rtDW.CCU_MODE_FL == - 2)) && (rtb_out_gk22[8] == 100)); - - /* Gain: '/Gain4' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - rtb_DataTypeConversion1_oq = (int16_t)((13107 * rtDW.AMB) >> 17); - - /* Gain: '/Gain' incorporates: - * Gain: '/Gain4' - * Lookup_n-D: '/AUTODEMIST_OFFSET_VENT_TEMP' - */ - rtb_Switch2_nb = (int16_t)(10 * look1_is16lu64n32Ds32_binlcs - (rtb_DataTypeConversion1_oq, &g_assAUTODEMIST_OFFSET_AMB_TEMP[0], - &g_assAUTODEMIST_OFFSET_VENT_TEMP[0], 8U)); - - /* Lookup_n-D: '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' incorporates: - * Saturate: '/Saturation' - */ - rtb_Switch1_f = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_d1n, - rtConstP.pooled55, rtConstP.pooled54, 3U); - - /* MATLAB Function: '/Autodemist_Actions_FL' incorporates: - * Constant: '/auto7' - * Constant: '/auto8' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * MATLAB Function: '/Calculate_Autodemist_Level' - */ - /* : recirculation_auto = false; */ - rtb_Compare_kb = false; - - /* : ac_on = false; */ - /* : fl_blower_af = uint16(0); */ - rtDW.FL_blower_AF_offset_autodemist = 0U; - - /* : def_valve = false; */ - rtb_Compare_ls = false; - - /* : flu_duct_target = int16(0); */ - rtDW.FLU_duct_target_offset_autodemist = 0; - - /* : max_def_active_and_rate_15 = false; */ - rtb_Compare_hv = false; - - /* : if new_level_FL >= 1 && new_level_FL <= 3 */ - if ((rtb_Divide1 >= 1.0) && (rtb_Divide1 <= 3.0)) { - /* : recirculation_auto = true; */ - rtb_Compare_kb = true; - - /* : ac_on = true; */ - /* : if new_level_FL >= 2 */ - if (rtb_Divide1 >= 2.0) { - /* : def_valve = true; */ - rtb_Compare_ls = true; - } - } - - /* : if new_level_FL == 2 */ - if (rtb_Divide1 == 2.0) { - /* : fl_blower_af = uint16(pct_of(fl_blower_current, AUTODEMIST_LV2_BLR_PLUS)); */ - /* : result = int16(round(double(number) * (double(percent) / 100))); */ - rtb_Gain2 = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV2_BLR_PLUS / 100.0 * - (double)rtb_Saturation_as); - if (rtb_Gain2 < 32768) { - rtDW.FL_blower_AF_offset_autodemist = (uint16_t)rtb_Gain2; - } else { - rtDW.FL_blower_AF_offset_autodemist = 32767U; - } - - /* : if (fl_temperature_set > 200) */ - if (rtb_out_d1n > 200) { - /* : flu_duct_target = total_offset_vent; */ - rtDW.FLU_duct_target_offset_autodemist = rtb_Switch2_nb; - } else { - /* : else */ - /* : flu_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ - /* : result = int16(round(double(number) * (double(percent) / 100))); */ - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_Switch1_f / 100.0 * (double) - rtb_Switch2_nb); - if (rtb_Gain2 < 32768) { - if (rtb_Gain2 >= -32768) { - rtDW.FLU_duct_target_offset_autodemist = (int16_t)rtb_Gain2; - } else { - rtDW.FLU_duct_target_offset_autodemist = INT16_MIN; - } - } else { - rtDW.FLU_duct_target_offset_autodemist = INT16_MAX; - } - } - } - - /* : if new_level_FL == 3 */ - if (rtb_Divide1 == 3.0) { - /* : fl_blower_af = uint16(pct_of(fl_blower_current, AUTODEMIST_LV3_BLR_PLUS)); */ - /* : result = int16(round(double(number) * (double(percent) / 100))); */ - rtb_Gain2 = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV3_BLR_PLUS / 100.0 * - (double)rtb_Saturation_as); - if (rtb_Gain2 < 32768) { - rtDW.FL_blower_AF_offset_autodemist = (uint16_t)rtb_Gain2; - } else { - rtDW.FL_blower_AF_offset_autodemist = 32767U; - } - - /* : if (fl_temperature_set > 200) */ - if (rtb_out_d1n > 200) { - /* : flu_duct_target = total_offset_vent; */ - rtDW.FLU_duct_target_offset_autodemist = rtb_Switch2_nb; - } else { - /* : else */ - /* : flu_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ - /* : result = int16(round(double(number) * (double(percent) / 100))); */ - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_Switch1_f / 100.0 * (double) - rtb_Switch2_nb); - if (rtb_Gain2 < 32768) { - if (rtb_Gain2 >= -32768) { - rtDW.FLU_duct_target_offset_autodemist = (int16_t)rtb_Gain2; - } else { - rtDW.FLU_duct_target_offset_autodemist = INT16_MIN; - } - } else { - rtDW.FLU_duct_target_offset_autodemist = INT16_MAX; - } - } - } - - /* : if new_level_FL == 4 */ - if (rtb_Divide1 == 4.0) { - /* : flu_duct_target = int16(0); */ - rtDW.FLU_duct_target_offset_autodemist = 0; - - /* : fl_blower_af = uint16(0); */ - rtDW.FL_blower_AF_offset_autodemist = 0U; - - /* : max_def_active_and_rate_15 = true; */ - rtb_Compare_hv = true; - } - - /* End of MATLAB Function: '/Autodemist_Actions_FL' */ - - /* Lookup_n-D: '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' incorporates: - * Saturate: '/Saturation1' - */ - rtb_Switch1_f = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled55, rtConstP.pooled54, 3U); - - /* MATLAB Function: '/Autodemist_Actions_FR' incorporates: - * Constant: '/auto7' - * Constant: '/auto8' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * MATLAB Function: '/Calculate_Autodemist_Level' - */ - /* : recirculation_auto = false; */ - rtb_Compare_l = false; - - /* : ac_on = false; */ - /* : fr_blower_af = uint16(0); */ - rtDW.FR_blower_AF_offset_autodemist = 0U; - - /* : def_valve = false; */ - rtb_Compare_ne = false; - - /* : fru_duct_target = int16(0); */ - rtDW.FRU_duct_target_offset_autodemist = 0; - - /* : max_def_active_and_rate_15 = false; */ - rtb_Compare_df = false; - - /* : if new_level_FR >= 1 && new_level_FR <= 3 */ - if ((rtb_Divide5 >= 1.0) && (rtb_Divide5 <= 3.0)) { - /* : recirculation_auto = true; */ - rtb_Compare_l = true; - - /* : ac_on = true; */ - /* : if new_level_FR >= 2 */ - if (rtb_Divide5 >= 2.0) { - /* : def_valve = true; */ - rtb_Compare_ne = true; - } - } - - /* : if new_level_FR == 2 */ - if (rtb_Divide5 == 2.0) { - /* : fr_blower_af = uint16(pct_of(fr_blower_current, AUTODEMIST_LV2_BLR_PLUS)); */ - /* : result = int16(round(double(number) * (double(percent) / 100))); */ - rtb_Gain2 = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV2_BLR_PLUS / 100.0 * - (double)Gain1); - if (rtb_Gain2 < 32768) { - rtDW.FR_blower_AF_offset_autodemist = (uint16_t)rtb_Gain2; - } else { - rtDW.FR_blower_AF_offset_autodemist = 32767U; - } - - /* : if (fr_temperature_set > 200) */ - if (rtb_Saturation2_a > 200) { - /* : fru_duct_target = total_offset_vent; */ - rtDW.FRU_duct_target_offset_autodemist = rtb_Switch2_nb; - } else { - /* : else */ - /* : fru_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ - /* : result = int16(round(double(number) * (double(percent) / 100))); */ - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_Switch1_f / 100.0 * (double) - rtb_Switch2_nb); - if (rtb_Gain2 < 32768) { - if (rtb_Gain2 >= -32768) { - rtDW.FRU_duct_target_offset_autodemist = (int16_t)rtb_Gain2; - } else { - rtDW.FRU_duct_target_offset_autodemist = INT16_MIN; - } - } else { - rtDW.FRU_duct_target_offset_autodemist = INT16_MAX; - } - } - } - - /* : if new_level_FR == 3 */ - if (rtb_Divide5 == 3.0) { - /* : fr_blower_af = uint16(pct_of(fr_blower_current, AUTODEMIST_LV3_BLR_PLUS)); */ - /* : result = int16(round(double(number) * (double(percent) / 100))); */ - rtb_Gain2 = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV3_BLR_PLUS / 100.0 * - (double)Gain1); - if (rtb_Gain2 < 32768) { - rtDW.FR_blower_AF_offset_autodemist = (uint16_t)rtb_Gain2; - } else { - rtDW.FR_blower_AF_offset_autodemist = 32767U; - } - - /* : if (fr_temperature_set > 200) */ - if (rtb_Saturation2_a > 200) { - /* : fru_duct_target = total_offset_vent; */ - rtDW.FRU_duct_target_offset_autodemist = rtb_Switch2_nb; - } else { - /* : else */ - /* : fru_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ - /* : result = int16(round(double(number) * (double(percent) / 100))); */ - rtb_Gain2 = (int32_t)rt_roundd((double)rtb_Switch1_f / 100.0 * (double) - rtb_Switch2_nb); - if (rtb_Gain2 < 32768) { - if (rtb_Gain2 >= -32768) { - rtDW.FRU_duct_target_offset_autodemist = (int16_t)rtb_Gain2; - } else { - rtDW.FRU_duct_target_offset_autodemist = INT16_MIN; - } - } else { - rtDW.FRU_duct_target_offset_autodemist = INT16_MAX; - } - } - } - - /* : if new_level_FR == 4 */ - if (rtb_Divide5 == 4.0) { - /* : fru_duct_target = int16(0); */ - rtDW.FRU_duct_target_offset_autodemist = 0; - - /* : fr_blower_af = uint16(0); */ - rtDW.FR_blower_AF_offset_autodemist = 0U; - - /* : max_def_active_and_rate_15 = true; */ - rtb_Compare_df = true; - } - - /* End of MATLAB Function: '/Autodemist_Actions_FR' */ - - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator1' - */ - rtDW.recirc_auto_request_from_autodemist = (rtb_Compare_kb || rtb_Compare_l); - - /* Logic: '/Logical Operator1' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.AC_front_on_req_from_autodemist = - rtDW.recirc_auto_request_from_autodemist; - - /* Logic: '/Logical Operator3' incorporates: - * DataStoreWrite: '/Data Store Write7' - */ - rtDW.def_valve_100_req = (rtb_Compare_ls || rtb_Compare_ne); - - /* Switch: '/Switch' incorporates: - * Gain: '/Gain4' - * Lookup_n-D: '/AUTODEMIST_OFFSET_LEFT' - * Lookup_n-D: '/AUTODEMIST_OFFSET_RIGHT' - * Switch: '/Switch1' - */ - if (rtb_RelationalOperator6_f) { - rtDW.FLU_duct_target_offset_autodemist = look1_is16lu64n32Ds32_binlcs - (rtb_DataTypeConversion1_oq, rtConstP.pooled53, - &g_assDUCT_TGT_DEF_VALVE_L[0], 10U); - rtDW.FRU_duct_target_offset_autodemist = look1_is16lu64n32Ds32_binlcs - (rtb_DataTypeConversion1_oq, rtConstP.pooled53, - &g_assDUCT_TGT_DEF_VALVE_R[0], 10U); - } - - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Autodemist (all-season mode and winter mode)' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_Switch1_f = (int16_t)floor(0.5 * (double) - rtDW.CCUCAN_EMS_Veh_02_model.BMS_ActualTemp_Val_ro - 40.0); - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.eCompChiller_Err = 0.0; - - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.eComp_InputC = (uint16_t) - (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInputC_Val_ro << 7); - - /* Bias: '/Bias' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.eComp_Temp = (int16_t) - (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInvTemp_Val_ro - 50); - - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read12' - */ - rtDW.SeatOccupiedRR = rtDW.CCUCAN_OCURR_MSG_model.OCURR_SeatOccupied_Stat; - - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read17' - */ - rtDW.AromaConfiguration = - rtDW.CCUCAN_tStatus_CCU_Configuration_model.AromaConfiguration; - - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * RelationalOperator: '/Relational Operator' - * SignalConversion generated from: '/Bus Selector3' - */ - if (rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro == 65534) { - /* Outputs for IfAction SubSystem: '/sensor error' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AmbTempSensErr_Stat = 1U; - - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/failsafe = 10C after factor and offset' - */ - Blower_AF_FR_for_DiffBlower = 5000U; - - /* End of Outputs for SubSystem: '/sensor error' */ - } else { - /* Outputs for IfAction SubSystem: '/sensor OK' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/In1' */ - Blower_AF_FR_for_DiffBlower = - rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro; - - /* End of Outputs for SubSystem: '/sensor OK' */ - } - - /* End of If: '/If' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain1' - * Gain: '/Gain2' - */ - rtb_Switch3_no = (int16_t)floor((0.01 * (double)Blower_AF_FR_for_DiffBlower - - 40.0) * 10.0); - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read1' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_k3); - - /* If: '/If' */ - if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ òåìïåðàòóðû' incorporates: - * ActionPort: '/Action Port' - */ - /* Lookup_n-D: '/Get LVL for temp' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion1' - */ - rtb_DataTypeConversion1_oq = rtConstP.pooled56[plook_u32s16_bincka - (rtb_Switch3_no, rtConstP.GetLVLfortemp_bp01Data, 5U)]; - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_p(rtb_Switch3_no, rtb_DataTypeConversion1_oq, - &rtb_DataTypeConversion3_em, &rtDW.AMB_store, - &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_g2(rtb_Switch3_no, rtb_DataTypeConversion1_oq, - &rtb_DataTypeConversion3_em, &rtDW.AMB_store, - &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_kb(rtb_Switch3_no, rtb_DataTypeConversion1_oq, - &rtb_DataTypeConversion2_e1, &rtDW.AMB_store, - &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_my(rtb_Switch3_no, rtb_DataTypeConversion1_oq, - &rtb_DataTypeConversion2_e1, &rtDW.AMB_store, - &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read15' - * UnitDelay: '/Unit Delay' - */ - rtb_Subtract = rtDW.t_now - rtDW.UnitDelay_DSTATE_c; - - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read' - */ - /* : f_g_ssAMBFILT_WATER = g_ssAMBFILT_WATER; */ - if ((rtDW.VehicleSpeed > 45) && (rtDW.KEEP_UNTIL_SPEED_DROPS > 0)) { - /* Outputs for IfAction SubSystem: '/Áûñòðî èç-çà ôëàãà' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_p(rtb_Switch3_no, rtb_DataTypeConversion1_oq, - &rtb_DataTypeConversion_gj, &rtDW.AMB_store, - &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_g2(rtb_Switch3_no, rtb_DataTypeConversion1_oq, - &rtb_DataTypeConversion_gj, &rtDW.AMB_store, - &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_kb(rtb_Switch3_no, rtb_DataTypeConversion1_oq, &rtb_Merge_gt, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_my(rtb_Switch3_no, rtb_DataTypeConversion1_oq, &rtb_Merge_gt, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - */ - if (fabs((double)rtb_Switch3_no - rtDW.AMB_store) <= 0.01) { - /* SignalConversion generated from: '/AMB_new' */ - rtb_Divide1 = rtDW.AMB_store; - } else { - if (rtb_Switch3_no > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_Switch2_nb = rtb_DataTypeConversion_gj; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_Switch2_nb = (int16_t)-rtb_Merge_gt; - } - - /* SignalConversion generated from: '/AMB_new' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' - */ - rtb_Divide1 = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch2_nb + - rtDW.AMB_store; - } - - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Áûñòðî èç-çà ôëàãà' */ - } else if (rtDW.VehicleSpeed > 50) { - /* Outputs for IfAction SubSystem: '/Áûñòðî èç-çà ñêîðîñòè' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.KEEP_UNTIL_SPEED_DROPS = 1U; - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_p(rtb_Switch3_no, rtb_DataTypeConversion1_oq, - &rtb_DataTypeConversion_gj, &rtDW.AMB_store, - &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_g2(rtb_Switch3_no, rtb_DataTypeConversion1_oq, - &rtb_DataTypeConversion_gj, &rtDW.AMB_store, - &rtDW.KEEP_RISING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_kb(rtb_Switch3_no, rtb_DataTypeConversion1_oq, &rtb_Merge_gt, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ - } else { - /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: - * ActionPort: '/Action Port' - */ - u_my(rtb_Switch3_no, rtb_DataTypeConversion1_oq, &rtb_Merge_gt, - &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - - /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ - } - - /* End of If: '/If1' */ - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' - */ - if (fabs((double)rtb_Switch3_no - rtDW.AMB_store) <= 0.01) { - /* SignalConversion generated from: '/AMB_new' */ - rtb_Divide1 = rtDW.AMB_store; - } else { - if (rtb_Switch3_no > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_Switch2_nb = rtb_DataTypeConversion_gj; - } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' - */ - rtb_Switch2_nb = (int16_t)-rtb_Merge_gt; - } - - /* SignalConversion generated from: '/AMB_new' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' - */ - rtb_Divide1 = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch2_nb + - rtDW.AMB_store; - } - - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Áûñòðî èç-çà ñêîðîñòè' */ - } else { - /* Outputs for IfAction SubSystem: '/Ìåäëåííî' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant1' - */ - rtDW.KEEP_UNTIL_SPEED_DROPS = 0U; - - /* MATLAB Function: '/ãðàíèöû' */ - /* : rate_at_10 = 0.5; */ - /* : rate_at_50 = double(g_aucAMBRATE_RISING(lvl + 1)) ; */ - /* : f_lower_upper_bounds = [rate_at_10, rate_at_50]; */ - rtb_f_lower_upper_bounds[0] = 0.5; - rtb_Gain2 = rtb_DataTypeConversion1_oq + 1; - if (rtb_DataTypeConversion1_oq + 1 > 32767) { - rtb_Gain2 = 32767; - } - - rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[rtb_Gain2 - 1]; - - /* MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' */ - /* : fprintf("lvl = %d\n", lvl); */ - printf("lvl = %d\n", rtb_DataTypeConversion1_oq); - fflush(stdout); - - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/Constant' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide' - * Product: '/Product' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Sum: '/Add' - * Switch: '/Switch' - */ - /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ - if (fabs((double)rtb_Switch3_no - rtDW.AMB_store) <= 0.01) { - rtb_Divide1 = rtb_Switch3_no; - } else { - if (rtb_Switch3_no > rtDW.AMB_store) { - /* Switch: '/Ñêîðîñòü >10' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' - */ - if (rtDW.VehicleSpeed > 10) { - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: - * DataStoreRead: '/Data Store Read12' - */ - rtb_Divide1 = look1_iu16td_binlc(rtDW.VehicleSpeed, - rtConstP.uDLookupTable1_bp01Data, rtb_f_lower_upper_bounds, 1U); - } else { - rtb_Divide1 = 0.5; - } - - /* End of Switch: '/Ñêîðîñòü >10' */ - } else { - /* MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' incorporates: - * MATLAB Function: '/ãðàíèöû' - */ - rtb_Gain2 = rtb_DataTypeConversion1_oq + 1; - if (rtb_DataTypeConversion1_oq + 1 > 32767) { - rtb_Gain2 = 32767; - } - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' - * UnaryMinus: '/Unary Minus' - */ - rtb_Divide1 = -(double)g_aucAMBRATE_FALLING[rtb_Gain2 - 1]; - } - - rtb_Divide1 = (double)rtb_Subtract / 60000.0 * rtb_Divide1 + - rtDW.AMB_store; - } - - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Ìåäëåííî' */ - } - - /* End of If: '/If' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * MATLAB Function: '/Coolant temp threshold' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' - */ - if (rtDW.ECT <= g_ssAMBFILT_WATER) { - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtb_Switch3_no - rtDW.AMB_store) > 0.01) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * RelationalOperator: '/AMBraw > AMB' - * UnaryMinus: '/Unary Minus' - */ - if (rtb_Switch3_no > rtDW.AMB_store) { - rtb_Switch2_nb = rtb_DataTypeConversion3_em; - } else { - rtb_Switch2_nb = (int16_t)-rtb_DataTypeConversion2_e1; - } - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' - */ - rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double) - rtb_Switch2_nb; - } - - /* End of Switch: '/Switch1' */ - } else if (rtDW.VehicleSpeed != 0) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Write new AMB' - * Switch: '/Switch' - */ - rtDW.AMB_store = rtb_Divide1; - } - - /* End of Switch: '/Switch' */ - - /* SignalConversion generated from: '/AMB_out' incorporates: - * DataStoreWrite: '/Write new AMB' - */ - rtb_I_od = rtDW.AMB_store; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read15' - */ - rtDW.UnitDelay_DSTATE_c = rtDW.t_now; - - /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ òåìïåðàòóðû' */ - } else { - /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ òåìïåðàòóðû' incorporates: - * ActionPort: '/Action Port' - */ - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.AMB_store = rtb_Switch3_no; - - /* SignalConversion generated from: '/AMB_out' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtb_I_od = rtDW.AMB_store; - - /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ òåìïåðàòóðû' */ - } - - /* End of If: '/If' */ - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.AMB = (int16_t)floor(rtb_I_od); - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_k); - - /* MATLAB Function: '/filter sensor' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read44' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - filtersensor(4.01575 * (double) - rtDW.CCUCAN_BCM_Climatic_model.SolarSensLeftVal_ro, - rtb_RelationalOperator6_f, rtDW.t_now, rtDW.LEVEL, - &rtb_duct_select_index_dbg_c, &rtDW.sf_filtersensor); - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.Sun_L = rtb_duct_select_index_dbg_c; - - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_Divide1 = (0.5 * (double)rtDW.CCUCAN_BCM_Climatic_model.WindshieldTemp_ro - - 40.0) * 10.0; - - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - */ - rtb_Divide5 = 0.5 * (double) - rtDW.CCUCAN_BCM_Climatic_model.WindshieldHumidity_ro; - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - rtDW.BCM_GloveBox_stat = rtDW.CCUCAN_BCM_Climatic_model.BCM_GloveBox_Stat; - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_p); - - /* MATLAB Function: '/filter sensor' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read44' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - filtersensor(4.01575 * (double) - rtDW.CCUCAN_BCM_Climatic_model.SolarSensRightVal_ro, - rtb_RelationalOperator6_f, rtDW.t_now, rtDW.LEVEL, - &rtb_duct_select_index_dbg_c, &rtDW.sf_filtersensor_a); - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.Sun_R = rtb_duct_select_index_dbg_c; - - /* Bias: '/Bias' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.ECT = (int16_t)(rtDW.CCUCAN_EMS_Veh_model.EMS_EngCoolTemp_Val_ro - 40); - - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.Engine_speed = 0.25 * (double) - rtDW.CCUCAN_EMS_Veh_model.EMS_nICEngineSpeed3_Val_ro; - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write2' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtDW.VehicleSpeed = (uint16_t)(0.01 * (double) - rtDW.CCUCAN_ESC_04_model.ESC_VehicleSpeed_ro); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtDW.BCM_T15_Stat = rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T15_Stat; - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - rtDW.eCompChiller_Req = rtDW.CCUCAN_EMS_HVC_REQ_MSG_MODEL.EMS_eCompChiller_Req; - - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read9' - */ - rtDW.SeatOccupiedRL = rtDW.CCUCAN_OCURL_MSG_model.OCURL_SeatOccupied_Stat; - - /* Outputs for Enabled SubSystem: '/Subsystem45' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read11' */ - if (rtDW.FIU_CCU3_MODEL.FIU_Defrost_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.CCU_Defrost = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_Defrost_Req <= 1); - } - - /* End of Outputs for SubSystem: '/Subsystem45' */ - - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU3_MODEL.FIU_RLfootBlowDis_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_foot_blower_dis_RL = (uint8_t) - (rtDW.FIU_CCU3_MODEL.FIU_RLfootBlowDis_Req <= 1); - } - - /* End of Outputs for SubSystem: '/Subsystem5' */ - - /* Outputs for Enabled SubSystem: '/Subsystem51' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU3_MODEL.FIU_Aroma_Req > 0) { - /* DataStoreWrite: '/Data Store Write13' */ - rtDW.CCU_Aroma = rtDW.FIU_CCU3_MODEL.FIU_Aroma_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem51' */ - - /* Outputs for Enabled SubSystem: '/Subsystem52' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU3_MODEL.FIU_Ionization_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_Ionization = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_Ionization_Req <= 1); - } - - /* End of Outputs for SubSystem: '/Subsystem52' */ - - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU3_MODEL.FIU_RRfootBlowDis_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_foot_blower_dis_RR = (uint8_t) - (rtDW.FIU_CCU3_MODEL.FIU_RRfootBlowDis_Req <= 1); - } - - /* End of Outputs for SubSystem: '/Subsystem6' */ - - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU3_MODEL.FIU_AromaIntens_Req > 0) { - /* DataStoreWrite: '/Data Store Write13' */ - rtDW.CCU_AromaIntens_stat = rtDW.FIU_CCU3_MODEL.FIU_AromaIntens_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem7' */ - - /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU3_MODEL.FIU_ACmax_Req > 0) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.CCU_AC_MAX = rtDW.FIU_CCU3_MODEL.FIU_ACmax_Req; - } - - /* End of DataStoreRead: '/Data Store Read11' */ - /* End of Outputs for SubSystem: '/Subsystem9' */ - - /* Outputs for Enabled SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - */ - if (rtDW.BCM_T15_Stat > 0) { - /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write4' - */ - rtDW.CCU_SET_FOOT_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req - - 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant1' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem' */ - - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write6' - */ - rtDW.CCU_MODE_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* If: '/If' incorporates: - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write6' - * RelationalOperator: '/Relational Operator1' - */ - if (rtDW.CCU_MODE_FL == 1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_RECIRC = 2U; - - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem1' */ - - /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write10' - */ - rtDW.CCU_MODE_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem10' */ - - /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_DEF_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req - <= 1); - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem11' */ - - /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write12' - */ - rtDW.CCU_FACE_FR = (uint8_t) - (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req <= 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem12' */ - - /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_FOOT_FR = (uint8_t) - (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req <= 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem13' */ - - /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write14' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 7) { - rtDW.CCU_BLOWERS_FL = 0U; - } else { - rtDW.CCU_BLOWERS_FL = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; - } - - /* End of Switch: '/Switch5' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem14' */ - - /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write15' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 7) { - rtDW.CCU_BLOWERS_FR = 0U; - } else { - rtDW.CCU_BLOWERS_FR = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; - } - - /* End of Switch: '/Switch5' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem15' */ - - /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write16' */ - rtDW.CCU_AUTOMODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem16' */ - - /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write17' */ - rtDW.CCU_AUTOMODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem17' */ - - /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req > 0) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write19' - */ - switch (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req) { - case 1: - rtDW.CCU_RECIRC = 1U; - break; - - case 2: - rtDW.CCU_RECIRC = 0U; - break; - - default: - rtDW.CCU_RECIRC = 2U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant3' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem18' */ - - /* Outputs for Enabled SubSystem: '/Subsystem19' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req > 3) { - rtDW.DRS_SFL = 0U; - } else { - rtDW.DRS_SFL = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem19' */ - - /* Outputs for Enabled SubSystem: '/Subsystem20' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req > 3) { - rtDW.DRS_SFR = 0U; - } else { - rtDW.DRS_SFR = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem20' */ - - /* Outputs for Enabled SubSystem: '/Subsystem21' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write22' - */ - rtDW.CCU_AC_FRONT = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req <= 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem21' */ - - /* Outputs for Enabled SubSystem: '/Subsystem22' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write23' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req > 3) { - rtDW.DRS_CFL = 0U; - } else { - rtDW.DRS_CFL = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem22' */ - - /* Outputs for Enabled SubSystem: '/Subsystem23' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write24' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req > 3) { - rtDW.DRS_CFR = 0U; - } else { - rtDW.DRS_CFR = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem23' */ - - /* Outputs for Enabled SubSystem: '/Subsystem24' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req > 0) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* If: '/If' */ - if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 1) { - /* Outputs for IfAction SubSystem: '/sync front action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.enable_front_sync = 1U; - - /* End of Outputs for SubSystem: '/sync front action' */ - } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 2) { - /* Outputs for IfAction SubSystem: '/full sync action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.enable_full_sync = 1U; - - /* End of Outputs for SubSystem: '/full sync action' */ - } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 3) { - /* Outputs for IfAction SubSystem: '/sync off action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.disable_front_sync = 1U; - - /* End of Outputs for SubSystem: '/sync off action' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem24' */ - - /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.CCU_SET_FOOT_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req - - 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant1' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem4' */ - - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro > 0) { - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double) - rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro + 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 305U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.CCU_SET_FL < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FL > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem5' */ - - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro > 0) { - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double) - rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro + 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 305) { - rtDW.CCU_SET_FR = 305U; - } else { - rtDW.CCU_SET_FR = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.CCU_SET_FR < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FR > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem6' */ - - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_DEF_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req - <= 1); - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_DEF_FL = rtDW.CCU_DEF_FR; - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem7' */ - - /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write8' - */ - rtDW.CCU_FACE_FL = (uint8_t) - (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req <= 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem8' */ - - /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write9' - */ - rtDW.CCU_FOOT_FL = (uint8_t) - (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req <= 1); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem9' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read11' - */ - rtb_RelationalOperator6_f = (rtDW.TM_CP_model.CCPF_DefButton_Stat > 0); - - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtb_Compare_ls = ((int32_t)rtb_RelationalOperator6_f > (int32_t) - rtDW.DelayInput1_DSTATE_m); - - /* Chart: '/Defrost_Active' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read7' - */ - if (rtDW.is_active_c837_HVAC_model == 0U) { - rtDW.is_active_c837_HVAC_model = 1U; - rtDW.is_c837_HVAC_model = IN_REC_OFF; - - /* : Defrost_Active = 0; */ - rtb_DataTypeConversion3_em = 0U; - } else if (rtDW.is_c837_HVAC_model == IN_REC_OFF) { - rtb_DataTypeConversion3_em = 0U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || Defrost == 1; */ - if (rtb_Compare_ls || (rtDW.CCU_Defrost == 1)) { - rtDW.is_c837_HVAC_model = IN_REC_ON; - - /* : Defrost_Active = 1; */ - rtb_DataTypeConversion3_em = 1U; - } - } else { - /* case IN_REC_ON: */ - rtb_DataTypeConversion3_em = 1U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || Defrost == 0 || max_AC == 1; */ - if (rtb_Compare_ls || (rtDW.CCU_Defrost == 0) || (rtDW.CCU_AC_MAX == 1)) { - rtDW.is_c837_HVAC_model = IN_REC_OFF; - - /* : Defrost_Active = 0; */ - rtb_DataTypeConversion3_em = 0U; - } - } - - /* End of Chart: '/Defrost_Active' */ - - /* DataStoreWrite: '/(MAX DEFrost mode request)' */ - rtDW.CCU_Defrost = rtb_DataTypeConversion3_em; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_ls = (rtDW.TM_CP_model.CCPF_FWindowHeatSw_Stat > 0); - - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtb_Compare_ne = ((int32_t)rtb_Compare_ls > (int32_t) - rtDW.DelayInput1_DSTATE_g); - - /* Chart: '/Front Window Heating' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - if (rtDW.is_active_c262_HVAC_model == 0U) { - rtDW.is_active_c262_HVAC_model = 1U; - rtDW.is_c262_HVAC_model = IN_REC_OFF; - - /* : Front_w_heating_out = 0; */ - rtDW.FrontWindowHeating_manual_on = 0U; - } else if (rtDW.is_c262_HVAC_model == IN_REC_OFF) { - rtDW.FrontWindowHeating_manual_on = 0U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_ne) { - rtDW.is_c262_HVAC_model = IN_REC_ON; - - /* : Front_w_heating_out = 1; */ - rtDW.FrontWindowHeating_manual_on = 1U; - } - } else { - /* case IN_REC_ON: */ - rtDW.FrontWindowHeating_manual_on = 1U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_ne) { - rtDW.is_c262_HVAC_model = IN_REC_OFF; - - /* : Front_w_heating_out = 0; */ - rtDW.FrontWindowHeating_manual_on = 0U; - } - } - - /* End of Chart: '/Front Window Heating' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_ne = (rtDW.TM_CP_model.CCPF_AcMaxButton_Stat > 0); - - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtb_Compare_kb = ((int32_t)rtb_Compare_ne > (int32_t) - rtDW.DelayInput1_DSTATE_c); - - /* Chart: '/AC_Max_Active' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read3' - */ - if (rtDW.is_active_c782_HVAC_model == 0U) { - rtDW.is_active_c782_HVAC_model = 1U; - - /* : sf_internal_predicateOutput = AC_MAX==1; */ - if (rtDW.CCU_AC_MAX == 1) { - rtDW.is_c782_HVAC_model = IN_AC_MAX_ON; - - /* : AC_Max_Active = 1; */ - rtb_DataTypeConversion3_em = 1U; - } else { - rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; - - /* : AC_Max_Active = 0; */ - rtb_DataTypeConversion3_em = 0U; - } - } else if (rtDW.is_c782_HVAC_model == IN_AC_MAX_OFF) { - rtb_DataTypeConversion3_em = 0U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || AC_MAX==1; */ - if (rtb_Compare_kb || (rtDW.CCU_AC_MAX == 1)) { - rtDW.is_c782_HVAC_model = IN_AC_MAX_ON; - - /* : AC_Max_Active = 1; */ - rtb_DataTypeConversion3_em = 1U; - } - } else { - /* case IN_AC_MAX_ON: */ - rtb_DataTypeConversion3_em = 1U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || AC_MAX==0 || max_Def == 1; */ - if (rtb_Compare_kb || (rtDW.CCU_AC_MAX == 0) || (rtDW.CCU_Defrost == 1)) { - rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; - - /* : AC_Max_Active = 0; */ - rtb_DataTypeConversion3_em = 0U; - } - } - - /* End of Chart: '/AC_Max_Active' */ - - /* DataStoreWrite: '/Data Store Write10' */ - rtDW.CCU_AC_MAX = rtb_DataTypeConversion3_em; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_kb = (rtDW.TM_CP_model.CCPF_RecButton_Stat > 0); - - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtb_Compare_l = ((int32_t)rtb_Compare_kb > (int32_t) - rtDW.DelayInput1_DSTATE_ic); - - /* Chart: '/Full_Rec_Active' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - if (rtDW.is_active_c836_HVAC_model == 0U) { - rtDW.is_active_c836_HVAC_model = 1U; - rtDW.is_c836_HVAC_model = IN_REC_OFF; - - /* : Full_Rec_Active = 0; */ - rtb_DataTypeConversion3_em = 0U; - } else if (rtDW.is_c836_HVAC_model == IN_REC_OFF) { - rtb_DataTypeConversion3_em = 0U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || Full_Rec==1; */ - if (rtb_Compare_l || (rtDW.Full_Rec == 1)) { - rtDW.is_c836_HVAC_model = IN_REC_ON; - - /* : Full_Rec_Active = 1; */ - rtb_DataTypeConversion3_em = 1U; - } - } else { - /* case IN_REC_ON: */ - rtb_DataTypeConversion3_em = 1U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || Full_Rec==0; */ - if (rtb_Compare_l || (rtDW.Full_Rec == 0)) { - rtDW.is_c836_HVAC_model = IN_REC_OFF; - - /* : Full_Rec_Active = 0; */ - rtb_DataTypeConversion3_em = 0U; - } - } - - /* End of Chart: '/Full_Rec_Active' */ - - /* DataStoreWrite: '/Data Store Write9' */ - rtDW.Full_Rec = rtb_DataTypeConversion3_em; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_l = (rtDW.TM_CP_model.CCPF_AutoButtonL_Stat > 0); - - /* If: '/If' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_l > (int32_t)rtDW.DelayInput1_DSTATE_n) { - /* Outputs for IfAction SubSystem: '/if action' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_MODE_FL = (uint8_t)(rtDW.CCU_MODE_FL == 0); - - /* End of Outputs for SubSystem: '/sync front action3' */ - /* End of Outputs for SubSystem: '/sync front action1' */ - /* End of Outputs for SubSystem: '/if action' */ - } - - /* End of If: '/If' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_g1 = (rtDW.TM_CP_model.CCPF_AutoButtonR_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_g1 > (int32_t)rtDW.DelayInput1_DSTATE_my) { - /* Outputs for IfAction SubSystem: '/if action1' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - - /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_MODE_FR = (uint8_t)(rtDW.CCU_MODE_FR == 0); - - /* End of Outputs for SubSystem: '/sync front action3' */ - /* End of Outputs for SubSystem: '/sync front action1' */ - /* End of Outputs for SubSystem: '/if action1' */ - } - - /* End of If: '/If1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_il = (rtDW.TM_CP_model.CCPR_AutoButtonL_Stat > 0); - - /* If: '/If2' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_il > (int32_t)rtDW.DelayInput1_DSTATE_a) { - /* Outputs for IfAction SubSystem: '/if action2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - - /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_MODE_RL = (uint8_t)(rtDW.CCU_MODE_RL == 0); - - /* End of Outputs for SubSystem: '/sync front action3' */ - /* End of Outputs for SubSystem: '/sync front action1' */ - /* End of Outputs for SubSystem: '/if action2' */ - } - - /* End of If: '/If2' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_gf = (rtDW.TM_CP_model.CCPR_AutoButtonR_Stat > 0); - - /* If: '/If4' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_gf > (int32_t)rtDW.DelayInput1_DSTATE_o) { - /* Outputs for IfAction SubSystem: '/if action4' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - - /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_MODE_RR = (uint8_t)(rtDW.CCU_MODE_RR == 0); - - /* End of Outputs for SubSystem: '/sync front action3' */ - /* End of Outputs for SubSystem: '/sync front action1' */ - /* End of Outputs for SubSystem: '/if action4' */ - } - - /* End of If: '/If4' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_dlh = (rtDW.TM_CP_model.CCPF_TempToggleL_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_dlh > (int32_t)rtDW.DelayInput1_DSTATE_od) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If5' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if ((rtDW.TM_CP_model.CCPF_TempToggleL_Stat == 1) || - (rtDW.TM_CP_model.CCPF_TempToggleL_Stat == 3)) { - /* Outputs for IfAction SubSystem: '/temp up' incorporates: - * ActionPort: '/Action Port' - */ - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_FL + 5U) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_FL + 5U) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL + 5U); - } - - /* End of Saturate: '/Saturation1' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - if (rtDW.CCU_SET_FL < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FL > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp up' */ - } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' - */ - if ((uint16_t)(rtDW.CCU_SET_FL - 5) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_FL = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_FL - 5) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_FL = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL - 5); - } - - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if (rtDW.CCU_SET_FL < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FL > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp down' */ - } - - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } - - /* End of If: '/If1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_eb = (rtDW.TM_CP_model.CCPF_TempToggleR_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_eb > (int32_t)rtDW.DelayInput1_DSTATE_j) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - - /* If: '/If5' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if ((rtDW.TM_CP_model.CCPF_TempToggleR_Stat == 1) || - (rtDW.TM_CP_model.CCPF_TempToggleR_Stat == 3)) { - /* Outputs for IfAction SubSystem: '/temp up' incorporates: - * ActionPort: '/Action Port' - */ - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_FR + 5U) > 305) { - rtDW.CCU_SET_FR = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_FR + 5U) < 155) { - rtDW.CCU_SET_FR = 155U; - } else { - rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR + 5U); - } - - /* End of Saturate: '/Saturation1' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - if (rtDW.CCU_SET_FR < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FR > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp up' */ - } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' - */ - if ((uint16_t)(rtDW.CCU_SET_FR - 5) > 305) { - /* Saturate: '/Saturation1' */ - rtDW.CCU_SET_FR = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_FR - 5) < 155) { - /* Saturate: '/Saturation1' */ - rtDW.CCU_SET_FR = 155U; - } else { - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Sum' - */ - rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR - 5); - } - - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if (rtDW.CCU_SET_FR < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FR > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp down' */ - } - - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } - - /* End of If: '/If1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_ib = (rtDW.TM_CP_model.CCPR_TempToggleL_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_ib > (int32_t)rtDW.DelayInput1_DSTATE_f) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - - /* If: '/If5' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if ((rtDW.TM_CP_model.CCPR_TempToggleL_Stat == 1) || - (rtDW.TM_CP_model.CCPR_TempToggleL_Stat == 3)) { - /* Outputs for IfAction SubSystem: '/temp up' incorporates: - * ActionPort: '/Action Port' - */ - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_RL + 5U) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_RL + 5U) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL + 5U); - } - - /* End of Saturate: '/Saturation1' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - if (rtDW.CCU_SET_RL < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RL > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp up' */ - } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' - */ - if ((uint16_t)(rtDW.CCU_SET_RL - 5) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_RL = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_RL - 5) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_RL = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL - 5); - } - - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if (rtDW.CCU_SET_RL < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RL > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp down' */ - } - - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } - - /* End of If: '/If1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_i2 = (rtDW.TM_CP_model.CCPR_TempToggleR_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_i2 > (int32_t)rtDW.DelayInput1_DSTATE_kz) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - - /* If: '/If5' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if ((rtDW.TM_CP_model.CCPR_TempToggleR_Stat == 1) || - (rtDW.TM_CP_model.CCPR_TempToggleR_Stat == 3)) { - /* Outputs for IfAction SubSystem: '/temp up' incorporates: - * ActionPort: '/Action Port' - */ - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_RR + 5U) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_RR + 5U) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR + 5U); - } - - /* End of Saturate: '/Saturation1' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - if (rtDW.CCU_SET_RR < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RR > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp up' */ - } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' - */ - if ((uint16_t)(rtDW.CCU_SET_RR - 5) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_RR = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_RR - 5) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_RR = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR - 5); - } - - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if (rtDW.CCU_SET_RR < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RR > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp down' */ - } - - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } - - /* End of If: '/If1' */ - - /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro > 0) { - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double) - rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro + 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 305U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.CCU_SET_RL < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RL > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem2' */ - - /* Outputs for Enabled SubSystem: '/Subsystem25' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_SET_FOOT_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req - - 1); - } - - /* End of Outputs for SubSystem: '/Subsystem25' */ - - /* Outputs for Enabled SubSystem: '/Subsystem26' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRR_Req > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_SET_FOOT_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRR_Req - - 1); - } - - /* End of Outputs for SubSystem: '/Subsystem26' */ - - /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_MODE_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem27' */ - - /* Outputs for Enabled SubSystem: '/Subsystem28' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem28' */ - - /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FACE_RL = (uint8_t) - (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem29' */ - - /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro > 0) { - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double) - rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro + 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 305U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.CCU_SET_RR < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RR > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem3' */ - - /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FOOT_RL = (uint8_t) - (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem30' */ - - /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_MODE_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem31' */ - - /* Outputs for Enabled SubSystem: '/Subsystem32' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem32' */ - - /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FACE_RR = (uint8_t) - (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem33' */ - - /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FOOT_RR = (uint8_t) - (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem34' */ - - /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 7) { - rtDW.CCU_BLOWERS_RL = 0U; - } else { - rtDW.CCU_BLOWERS_RL = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; - } - - /* End of Switch: '/Switch5' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem35' */ - - /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 7) { - rtDW.CCU_BLOWERS_RR = 0U; - } else { - rtDW.CCU_BLOWERS_RR = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; - } - - /* End of Switch: '/Switch5' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem36' */ - - /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_AUTOMODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem37' */ - - /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_AUTOMODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem38' */ - - /* Outputs for Enabled SubSystem: '/Subsystem39' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRLB_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRLB_Req > 3) { - rtDW.DRS_SRL = 0U; - } else { - rtDW.DRS_SRL = rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRLB_Req; - } - - /* End of Switch: '/Switch' */ - } - - /* End of Outputs for SubSystem: '/Subsystem39' */ - - /* Outputs for Enabled SubSystem: '/Subsystem40' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCL_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCL_Req > 3) { - rtDW.DRS_CRL = 0U; - } else { - rtDW.DRS_CRL = rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCL_Req; - } - - /* End of Switch: '/Switch' */ - } - - /* End of Outputs for SubSystem: '/Subsystem40' */ - - /* Outputs for Enabled SubSystem: '/Subsystem41' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_AC_REAR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem41' */ - - /* Outputs for Enabled SubSystem: '/Subsystem42' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCR_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCR_Req > 3) { - rtDW.DRS_CRR = 0U; - } else { - rtDW.DRS_CRR = rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCR_Req; - } - - /* End of Switch: '/Switch' */ - } - - /* End of Outputs for SubSystem: '/Subsystem42' */ - - /* Outputs for Enabled SubSystem: '/Subsystem43' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRRB_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRRB_Req > 3) { - rtDW.DRS_SRR = 0U; - } else { - rtDW.DRS_SRR = rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRRB_Req; - } - - /* End of Switch: '/Switch' */ - } - - /* End of Outputs for SubSystem: '/Subsystem43' */ - - /* Outputs for Enabled SubSystem: '/Subsystem44' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req > 0) { - /* If: '/If' */ - if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 1) { - /* Outputs for IfAction SubSystem: '/sync rear action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.enable_rear_sync = 1U; - - /* MATLAB Function: '/logger' */ - /* : fprintf('Logger CAN INPUT -> sync rear ON') */ - printf("Logger CAN INPUT -> sync rear ON"); - fflush(stdout); - - /* End of Outputs for SubSystem: '/sync rear action' */ - } else if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 2) { - /* Outputs for IfAction SubSystem: '/sync off rear action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.disable_rear_sync = 1U; - - /* MATLAB Function: '/logger' */ - /* : fprintf('Logger CAN INPUT -> sync rear OFF') */ - printf("Logger CAN INPUT -> sync rear OFF"); - fflush(stdout); - - /* End of Outputs for SubSystem: '/sync off rear action' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem44' */ - - /* Update for UnitDelay: '/Delay Input1' incorporates: - * DataStoreRead: '/Data Store Read2' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_m = rtb_RelationalOperator6_f; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_g = rtb_Compare_ls; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_c = rtb_Compare_ne; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_ic = rtb_Compare_kb; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_n = rtb_Compare_l; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_my = rtb_Compare_g1; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_a = rtb_Compare_il; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_o = rtb_Compare_gf; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_od = rtb_Compare_dlh; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_j = rtb_Compare_eb; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_f = rtb_Compare_ib; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_kz = rtb_Compare_i2; - } - - /* End of DataStoreRead: '/Data Store Read1' */ - /* End of Outputs for SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' */ - - /* Outputs for Enabled SubSystem: '/Sleep_mode' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read13' */ - if (rtDW.sleep_model > 0) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_MODE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFL_Stat; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_MODE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFR_Stat; - - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FACE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Face_Stat; - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FOOT_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Foot_Stat; - - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_DEF_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Def_Stat; - - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FACE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Face_Stat; - - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FOOT_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Foot_Stat; - - /* DataStoreWrite: '/Data Store Write15' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_DEF_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Def_Stat; - - /* DataStoreWrite: '/Data Store Write16' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FACE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Face_Stat; - - /* DataStoreWrite: '/Data Store Write17' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FOOT_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Foot_Stat; - - /* DataStoreWrite: '/Data Store Write18' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_RECIRC = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_Recirculation_Stat; - - /* DataStoreWrite: '/Data Store Write19' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_BLOWERS_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedFL_Stat; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_MODE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeRL_Stat; - - /* DataStoreWrite: '/Data Store Write21' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_BLOWERS_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedFR_Stat; - - /* DataStoreWrite: '/Data Store Write23' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_BLOWERS_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedRL_Stat; - - /* DataStoreWrite: '/Data Store Write25' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_BLOWERS_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedRR_Stat; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_MODE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeRR_Stat; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_AUTOMODE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeFL_Stat; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_AUTOMODE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeFR_Stat; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FACE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRL_Face_Stat; - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FOOT_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRL_Foot_Stat; - - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_AUTOMODE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeRL_Stat; - - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_AUTOMODE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeRR_Stat; - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.CCU_SET_RL = (uint16_t)((0.5 * (double) - rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRL_Stat_ro + 15.5) * 10.0); - - /* Saturate: '/Saturation' */ - if (rtDW.CCU_SET_RL > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 305U; - } - - /* End of Saturate: '/Saturation' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.CCU_SET_RL < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RL > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.CCU_SET_RR = (uint16_t)((0.5 * (double) - rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRR_Stat_ro + 15.5) * 10.0); - - /* Saturate: '/Saturation' */ - if (rtDW.CCU_SET_RR > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 305U; - } - - /* End of Saturate: '/Saturation' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.CCU_SET_RR < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RR > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.CCU_SET_FL = (uint16_t)((0.5 * (double) - rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFL_Stat_ro + 15.5) * 10.0); - - /* Saturate: '/Saturation' */ - if (rtDW.CCU_SET_FL > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 305U; - } - - /* End of Saturate: '/Saturation' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.CCU_SET_FL < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FL > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double) - rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFR_Stat_ro + 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 305) { - rtDW.CCU_SET_FR = 305U; - } else { - rtDW.CCU_SET_FR = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.CCU_SET_FR < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FR > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - - /* DataStoreWrite: '/Data Store Write27' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_Switch1_j = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FrontZoneSync_Stat; - - /* DataStoreWrite: '/Data Store Write28' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_Saturation4 = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_RearZoneSync_Stat; - - /* DataStoreWrite: '/Data Store Write29' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_DataTypeConversion3_c1 = - rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_AllZoneSync_Stat; - - /* DataStoreWrite: '/Data Store Write30' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_AC_FRONT = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_ACfront_Stat; - - /* DataStoreWrite: '/Data Store Write31' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_AC_REAR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_ACrear_Stat; - - /* DataStoreWrite: '/Data Store Write32' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_SET_FOOT_FL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FootTempCorFL_Stat; - - /* DataStoreWrite: '/Data Store Write33' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_SET_FOOT_FR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FootTempCorFR_Stat; - - /* DataStoreWrite: '/Data Store Write34' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.DRS_SFL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwDL_Stat; - - /* DataStoreWrite: '/Data Store Write35' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.DRS_SFR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwDR_Stat; - - /* DataStoreWrite: '/Data Store Write36' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.DRS_CFL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFPL_Stat; - - /* DataStoreWrite: '/Data Store Write37' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.DRS_CFR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFPR_Stat; - - /* DataStoreWrite: '/Data Store Write38' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.DRS_CRL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFCL_Stat; - - /* DataStoreWrite: '/Data Store Write39' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.DRS_CRR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFCR_Stat; - - /* DataStoreWrite: '/Data Store Write40' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.DRS_SRL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwRLB_Stat; - - /* DataStoreWrite: '/Data Store Write41' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.DRS_SRR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwRRB_Stat; - - /* DataStoreWrite: '/Data Store Write42' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtDW.REST_mode_CCU_stat = rtDW.CCU_STAT3_WAKEUP_MODEL.CCU_RestMode2_Stat; - - /* DataStoreWrite: '/Data Store Write20' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - rtDW.CCU_Defrost = rtDW.CCU_Msg1_WakeUp_model.CCU_DefrostLed_Req; - - /* DataStoreWrite: '/Data Store Write22' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - rtDW.Full_Rec = rtDW.CCU_Msg1_WakeUp_model.CCU_RecirculationLed_Cmd; - - /* DataStoreWrite: '/Data Store Write24' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - rtDW.CCU_AC_MAX = rtDW.CCU_Msg1_WakeUp_model.CCU_AC_MaxLed_Cmd; - } - - /* End of DataStoreRead: '/Data Store Read13' */ - /* End of Outputs for SubSystem: '/Sleep_mode' */ - - /* Outputs for Enabled SubSystem: '/Reset values' incorporates: - * EnablePort: '/Enable' - */ - /* Logic: '/NOT' incorporates: - * DataStoreRead: '/Data Store Read18' - */ - if (rtDW.BCM_T15_Stat == 0) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/No start control' - */ - rtDW.step_start_controle_front = -1; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/No start control' - */ - rtDW.step_start_controle_rear = -1; - } - - /* End of Logic: '/NOT' */ - /* End of Outputs for SubSystem: '/Reset values' */ - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - rtb_DataTypeConversion3_em = Enable_Comp_PID; - - /* Switch: '/Switch2' incorporates: - * BusCreator: '/Bus Creator2' - * BusCreator: '/Bus Creator8' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read49' - * DataStoreRead: '/Data Store Read50' - * DataStoreRead: '/Data Store Read51' - * DataStoreRead: '/Data Store Read57' - * DataStoreRead: '/Data Store Read58' - * DataStoreRead: '/Data Store Read59' - * DataStoreRead: '/Data Store Read60' - * DataStoreRead: '/Data Store Read61' - * DataStoreRead: '/Data Store Read64' - * DataStoreRead: '/Data Store Read65' - * DataStoreRead: '/Data Store Read66' - * DataStoreRead: '/Data Store Read81' - * DataStoreWrite: '/Data Store Write31' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write7' - * DataStoreWrite: '/Data Store Write8' - * DataStoreWrite: '/Data Store Write10' - * DataStoreWrite: '/Data Store Write11' - * DataStoreWrite: '/Data Store Write12' - * DataStoreWrite: '/Data Store Write7' - * DataStoreWrite: '/Data Store Write8' - * DataStoreWrite: '/Data Store Write9' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator13' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator9' - * Switch: '/Switch1' - * Switch: '/Switch3' - * Switch: '/Switch5' - * Switch: '/Switch6' - */ - if (rtDW.BCM_T15_Stat > 0) { - /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read18' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read20' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * DataStoreRead: '/Data Store Read23' - * DataStoreRead: '/Data Store Read24' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - */ - rtY.CCU_Stat1_model.CCU_ModeFL_Stat = rtDW.CCU_MODE_FL; - rtY.CCU_Stat1_model.CCU_ModeFR_Stat = rtDW.CCU_MODE_FR; - rtY.CCU_Stat1_model.CCU_ModeRL_Stat = rtDW.CCU_MODE_RL; - rtY.CCU_Stat1_model.CCU_ModeRR_Stat = rtDW.CCU_MODE_RR; - rtY.CCU_Stat1_model.CCU_AutoModeFL_Stat = rtDW.CCU_AUTOMODE_FL; - rtY.CCU_Stat1_model.CCU_AutoModeFR_Stat = rtDW.CCU_AUTOMODE_FR; - rtY.CCU_Stat1_model.CCU_AirDirectionRL_Face_Stat = rtDW.CCU_FACE_RL; - rtY.CCU_Stat1_model.CCU_AirDirectionRL_Foot_Stat = rtDW.CCU_FOOT_RL; - rtY.CCU_Stat1_model.CCU_AutoModeRL_Stat = rtDW.CCU_AUTOMODE_RL; - rtY.CCU_Stat1_model.CCU_AutoModeRR_Stat = rtDW.CCU_AUTOMODE_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionRR_Face_Stat = rtDW.CCU_FACE_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionRR_Foot_Stat = rtDW.CCU_FOOT_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Def_Stat = rtDW.CCU_DEF_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Face_Stat = rtDW.CCU_FACE_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Foot_Stat = rtDW.CCU_FOOT_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFR_Def_Stat = rtDW.CCU_DEF_FR; - rtY.CCU_Stat1_model.CCU_AirDirectionFR_Face_Stat = rtDW.CCU_FACE_FR; - rtY.CCU_Stat1_model.CCU_AirDirectionFR_Foot_Stat = rtDW.CCU_FOOT_FR; - rtY.CCU_Stat1_model.CCU_Recirculation_Stat = rtDW.CCU_RECIRC; - rtY.CCU_Stat1_model.CCU_BlowerSpeedFL_Stat = rtDW.CCU_BLOWERS_FL; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read13' - */ - if (rtDW.CCU_SET_FL > 310) { - rtb_out_ic3 = 310U; - } else if (rtDW.CCU_SET_FL < 155) { - rtb_out_ic3 = 155U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_FL; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read12' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' - */ - rtY.CCU_Stat1_model.CCU_TargetTempFL_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_ic3 - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedFR_Stat = rtDW.CCU_BLOWERS_FR; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read14' - */ - if (rtDW.CCU_SET_FR > 310) { - rtb_out_ic3 = 310U; - } else if (rtDW.CCU_SET_FR < 155) { - rtb_out_ic3 = 155U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_FR; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias1' - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read26' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' - */ - rtY.CCU_Stat1_model.CCU_TargetTempFR_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_ic3 - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedRL_Stat = rtDW.CCU_BLOWERS_RL; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read15' - */ - if (rtDW.CCU_SET_RR > 310) { - rtb_out_ic3 = 310U; - } else if (rtDW.CCU_SET_RR < 155) { - rtb_out_ic3 = 155U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_RR; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read25' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' - */ - rtY.CCU_Stat1_model.CCU_TargetTempRR_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_ic3 - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedRR_Stat = rtDW.CCU_BLOWERS_RR; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read16' - */ - if (rtDW.CCU_SET_RL > 310) { - rtb_out_ic3 = 310U; - } else if (rtDW.CCU_SET_RL < 155) { - rtb_out_ic3 = 155U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_RL; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' - */ - rtY.CCU_Stat1_model.CCU_TargetTempRL_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_ic3 - 16.0) * 2.0); - - /* Outport: '/CCU_Stat2_model' incorporates: - * BusCreator: '/Bus Creator1' - * DataStoreRead: '/Data Store Read131' - * DataStoreRead: '/Data Store Read27' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read29' - * DataStoreRead: '/Data Store Read35' - * DataStoreRead: '/Data Store Read55' - * DataStoreRead: '/Data Store Read56' - * DataStoreRead: '/Data Store Read62' - * DataStoreRead: '/Data Store Read63' - * DataStoreRead: '/Data Store Read67' - * DataStoreRead: '/Data Store Read68' - * DataStoreRead: '/Data Store Read69' - * DataStoreRead: '/Data Store Read70' - * DataStoreRead: '/Data Store Read71' - * DataStoreRead: '/Data Store Read72' - * DataStoreRead: '/Data Store Read73' - * DataStoreRead: '/Data Store Read74' - * DataStoreRead: '/Data Store Read77' - * DataStoreRead: '/Data Store Read82' - * DataStoreRead: '/Data Store Read86' - * DataStoreRead: '/Data Store Read87' - * DataStoreRead: '/Data Store Read96' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; - rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = rtb_Switch1_j; - rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = rtb_Saturation4; - rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = rtb_DataTypeConversion3_c1; - rtY.CCU_Stat2_model.CCU_ACfront_Stat = CCU_AC_FRONT_req_summary; - rtY.CCU_Stat2_model.CCU_ACrear_Stat = rtDW.CCU_AC_REAR; - rtY.CCU_Stat2_model.CCU_ACmaxF_Stat = rtDW.CCU_AC_MAX; - rtY.CCU_Stat2_model.CCU_ACmaxR_Stat = 0U; - rtY.CCU_Stat2_model.CCU_Defrost_Stat = rtDW.CCU_Defrost; - rtY.CCU_Stat2_model.CCU_Ionization_Stat = rtDW.CCU_Ionization_algo_active; - rtY.CCU_Stat2_model.CCU_FootTempCorFL_Stat = rtDW.CCU_SET_FOOT_FL; - rtY.CCU_Stat2_model.CCU_FootTempCorFR_Stat = rtDW.CCU_SET_FOOT_FR; - rtY.CCU_Stat2_model.CCU_AromaIntens_Stat = rtDW.CCU_AromaIntens_stat; - rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; - rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; - rtY.CCU_Stat2_model.CCU_DeflectorSwDL_Stat = rtDW.DRS_SFL; - rtY.CCU_Stat2_model.CCU_DeflectorSwDR_Stat = rtDW.DRS_SFR; - rtY.CCU_Stat2_model.CCU_DeflectorSwFPL_Stat = rtDW.DRS_CFL; - rtY.CCU_Stat2_model.CCU_DeflectorSwFPR_Stat = rtDW.DRS_CFR; - rtY.CCU_Stat2_model.CCU_DeflectorSwFCL_Stat = rtDW.DRS_CRL; - rtY.CCU_Stat2_model.CCU_DeflectorSwFCR_Stat = rtDW.DRS_CRR; - rtY.CCU_Stat2_model.CCU_DeflectorSwRLB_Stat = rtDW.DRS_SRL; - rtY.CCU_Stat2_model.CCU_DeflectorSwRRB_Stat = rtDW.DRS_SRR; - - /* Saturate: '/Saturation' incorporates: - * MATLAB Function: '/MATLAB Function' - */ - if (min_side_L <= 160) { - /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' */ - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = min_side_L; - } else { - /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' */ - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = 160U; - } - - /* End of Saturate: '/Saturation' */ - - /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' incorporates: - * BusCreator: '/Bus Creator3' - * DataStoreRead: '/Data Store Read37' - * DataStoreWrite: '/Data Store Write13' - * DataTypeConversion: '/Data Type Conversion' - */ - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompReq_Stat = Enable_Comp_PID; - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = LowTempValve; - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_RC = 0U; - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_CS = 0U; - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant7' - */ - if (!Enable_Comp_PID) { - max_side_L = 0U; - } - - /* Saturate: '/Saturation5' incorporates: - * Switch: '/Switch1' - */ - if (max_side_L <= 100) { - /* Outport: '/CCU_Msg3_model' */ - rtY.CCU_Msg3_model.CCU_FAN_Req = max_side_L; - } else { - /* Outport: '/CCU_Msg3_model' */ - rtY.CCU_Msg3_model.CCU_FAN_Req = 100U; - } - - /* End of Saturate: '/Saturation5' */ - - /* Outport: '/CCU_Msg3_model' incorporates: - * BusCreator: '/Bus Creator4' - * DataStoreRead: '/Data Store Read79' - */ - rtY.CCU_Msg3_model.CCU_RestMode_Stat = rtDW.REST_mode_CCU_stat; - rtY.CCU_Msg3_model.CCU_IncarTempSum_Val_ro = 0U; - rtY.CCU_Msg3_model.CCU_MSG3_RC = 0U; - rtY.CCU_Msg3_model.CCU_MSG3_CS = 0U; - CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_err || - rtb_LogicalOperator6); - CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_LogicalOperator3 || - rtb_LogicalOperator8); - CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = (uint8_t)(rtb_Compare_ac || - rtb_Compare_aek || Duct3_F_error || Duct4_F_error || Duct5_F_error || - Duct6_F_error); - CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(Duct1_R_error || - Duct2_R_error || Duct3_R_error || Duct4_R_error); - CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = rtDW.CCU_EvaTempSenErrF_Stat; - CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = rtDW.CCU_EvaTempSenErrR_Stat; - CCU_Errors_Model.CCU_DeflectorSwErrF_Stat = rtDW.CCU_DeflectorSwErrF_Stat; - CCU_Errors_Model.CCU_DeflectorSwErrR_Stat = rtDW.CCU_DeflectorSwErrR_Stat; - CCU_Errors_Model.CCU_PressSenErr_Stat = rtDW.CCU_PressSenErr_Stat; - CCU_Errors_Model.CCU_AmbienTemptSenErr_Stat = rtDW.CCU_AmbTempSensErr_Stat; - CCU_Errors_Model.CCU_SealingValveErr_Stat = 0U; - CCU_Errors_Model.CCU_ETXVerr_Stat = 0U; - CCU_Errors_Model.CCU_HVACfanOrTXVerrF_Stat = 0U; - CCU_Errors_Model.CCU_HVACfanOrTXVerrR_Stat = 0U; - CCU_Errors_Model.CCU_ActuatorErrF_Stat = rtDW.CCU_ActuatorErrF_Stat_private; - CCU_Errors_Model.CCU_ActuatorErrR_Stat = rtDW.CCU_ActuatorErrR_Stat_private; - CCU_Errors_Model.CCU_UltravioletErr_Stat = 0U; - CCU_Errors_Model.CCU_VinRecordErr_Stat = 0U; - CCU_Errors_Model.CCU_AirQualSenErr_Stat = rtDW.CCU_AirQualSenErr_Stat; - CCU_Errors_Model.CCU_CommErr_Stat = 0U; - CCU_Errors_Model.CCU_TWVerr_Stat = 0U; - CCU_Errors_Model.CCU_IonizationErr_Stat = rtDW.CCU_IonizationErr_Stat; - CCU_Errors_Model.CCU_AromaErr_Stat = rtDW.CCU_AromaErr_Stat; - } else { - /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read102' - * DataStoreRead: '/Data Store Read103' - * DataStoreRead: '/Data Store Read104' - * DataStoreRead: '/Data Store Read105' - * DataStoreRead: '/Data Store Read106' - * DataStoreRead: '/Data Store Read107' - * DataStoreRead: '/Data Store Read108' - * DataStoreRead: '/Data Store Read109' - * DataStoreRead: '/Data Store Read110' - * DataStoreRead: '/Data Store Read113' - * DataStoreRead: '/Data Store Read114' - * DataStoreRead: '/Data Store Read115' - * DataStoreRead: '/Data Store Read116' - * DataStoreRead: '/Data Store Read117' - * DataStoreRead: '/Data Store Read118' - * DataStoreRead: '/Data Store Read119' - * DataStoreRead: '/Data Store Read89' - * DataStoreRead: '/Data Store Read90' - * DataStoreRead: '/Data Store Read91' - */ - rtY.CCU_Stat1_model.CCU_ModeFL_Stat = rtDW.CCU_MODE_FL; - rtY.CCU_Stat1_model.CCU_ModeFR_Stat = rtDW.CCU_MODE_FR; - rtY.CCU_Stat1_model.CCU_ModeRL_Stat = rtDW.CCU_MODE_RL; - rtY.CCU_Stat1_model.CCU_ModeRR_Stat = rtDW.CCU_MODE_RR; - rtY.CCU_Stat1_model.CCU_AutoModeFL_Stat = rtDW.CCU_AUTOMODE_FL; - rtY.CCU_Stat1_model.CCU_AutoModeFR_Stat = rtDW.CCU_AUTOMODE_FR; - rtY.CCU_Stat1_model.CCU_AirDirectionRL_Face_Stat = rtDW.CCU_FACE_RL; - rtY.CCU_Stat1_model.CCU_AirDirectionRL_Foot_Stat = rtDW.CCU_FOOT_RL; - rtY.CCU_Stat1_model.CCU_AutoModeRL_Stat = rtDW.CCU_AUTOMODE_RL; - rtY.CCU_Stat1_model.CCU_AutoModeRR_Stat = rtDW.CCU_AUTOMODE_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionRR_Face_Stat = rtDW.CCU_FACE_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionRR_Foot_Stat = rtDW.CCU_FOOT_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Def_Stat = rtDW.CCU_DEF_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Face_Stat = rtDW.CCU_FACE_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Foot_Stat = rtDW.CCU_FOOT_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFR_Def_Stat = rtDW.CCU_DEF_FR; - rtY.CCU_Stat1_model.CCU_AirDirectionFR_Face_Stat = rtDW.CCU_FACE_FR; - rtY.CCU_Stat1_model.CCU_AirDirectionFR_Foot_Stat = rtDW.CCU_FOOT_FR; - rtY.CCU_Stat1_model.CCU_Recirculation_Stat = rtDW.CCU_RECIRC; - rtY.CCU_Stat1_model.CCU_BlowerSpeedFL_Stat = 0U; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read98' - */ - if (rtDW.CCU_SET_FL > 310) { - rtb_out_ic3 = 310U; - } else if (rtDW.CCU_SET_FL < 155) { - rtb_out_ic3 = 155U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_FL; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * BusCreator: '/Bus Creator6' - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' - */ - rtY.CCU_Stat1_model.CCU_TargetTempFL_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_ic3 - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedFR_Stat = 0U; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read99' - */ - if (rtDW.CCU_SET_FR > 310) { - rtb_out_ic3 = 310U; - } else if (rtDW.CCU_SET_FR < 155) { - rtb_out_ic3 = 155U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_FR; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias1' - * BusCreator: '/Bus Creator6' - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' - */ - rtY.CCU_Stat1_model.CCU_TargetTempFR_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_ic3 - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedRL_Stat = 0U; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read100' - */ - if (rtDW.CCU_SET_RR > 310) { - rtb_out_ic3 = 310U; - } else if (rtDW.CCU_SET_RR < 155) { - rtb_out_ic3 = 155U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_RR; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * BusCreator: '/Bus Creator6' - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' - */ - rtY.CCU_Stat1_model.CCU_TargetTempRR_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_ic3 - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedRR_Stat = 0U; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read101' - */ - if (rtDW.CCU_SET_RL > 310) { - rtb_out_ic3 = 310U; - } else if (rtDW.CCU_SET_RL < 155) { - rtb_out_ic3 = 155U; - } else { - rtb_out_ic3 = rtDW.CCU_SET_RL; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' - */ - rtY.CCU_Stat1_model.CCU_TargetTempRL_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_ic3 - 16.0) * 2.0); - - /* Outport: '/CCU_Stat2_model' incorporates: - * BusCreator: '/Bus Creator7' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read111' - * DataStoreRead: '/Data Store Read112' - * DataStoreRead: '/Data Store Read120' - * DataStoreRead: '/Data Store Read121' - * DataStoreRead: '/Data Store Read122' - * DataStoreRead: '/Data Store Read123' - * DataStoreRead: '/Data Store Read124' - * DataStoreRead: '/Data Store Read125' - * DataStoreRead: '/Data Store Read126' - * DataStoreRead: '/Data Store Read127' - * DataStoreRead: '/Data Store Read128' - * DataStoreRead: '/Data Store Read129' - * DataStoreRead: '/Data Store Read130' - * DataStoreRead: '/Data Store Read88' - * DataStoreRead: '/Data Store Read92' - * DataStoreRead: '/Data Store Read93' - * DataStoreRead: '/Data Store Read94' - * DataStoreRead: '/Data Store Read95' - * DataStoreRead: '/Data Store Read97' - */ - rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; - rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = rtb_Switch1_j; - rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = rtb_Saturation4; - rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = rtb_DataTypeConversion3_c1; - rtY.CCU_Stat2_model.CCU_ACfront_Stat = 0U; - rtY.CCU_Stat2_model.CCU_ACrear_Stat = 0U; - rtY.CCU_Stat2_model.CCU_ACmaxF_Stat = 0U; - rtY.CCU_Stat2_model.CCU_ACmaxR_Stat = 0U; - rtY.CCU_Stat2_model.CCU_Defrost_Stat = rtDW.CCU_Defrost; - rtY.CCU_Stat2_model.CCU_Ionization_Stat = rtDW.CCU_Ionization_algo_active; - rtY.CCU_Stat2_model.CCU_FootTempCorFL_Stat = rtDW.CCU_SET_FOOT_FL; - rtY.CCU_Stat2_model.CCU_FootTempCorFR_Stat = rtDW.CCU_SET_FOOT_FR; - rtY.CCU_Stat2_model.CCU_AromaIntens_Stat = rtDW.CCU_AromaIntens_stat; - rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; - rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; - rtY.CCU_Stat2_model.CCU_DeflectorSwDL_Stat = rtDW.DRS_SFL; - rtY.CCU_Stat2_model.CCU_DeflectorSwDR_Stat = rtDW.DRS_SFR; - rtY.CCU_Stat2_model.CCU_DeflectorSwFPL_Stat = rtDW.DRS_CFL; - rtY.CCU_Stat2_model.CCU_DeflectorSwFPR_Stat = rtDW.DRS_CFR; - rtY.CCU_Stat2_model.CCU_DeflectorSwFCL_Stat = rtDW.DRS_CRL; - rtY.CCU_Stat2_model.CCU_DeflectorSwFCR_Stat = rtDW.DRS_CRR; - rtY.CCU_Stat2_model.CCU_DeflectorSwRLB_Stat = rtDW.DRS_SRL; - rtY.CCU_Stat2_model.CCU_DeflectorSwRRB_Stat = rtDW.DRS_SRR; - - /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' incorporates: - * BusCreator: '/Bus Creator10' - * Constant: '/Constant4' - */ - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = 0U; - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompReq_Stat = 0U; - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = 0U; - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_RC = 0U; - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_CS = 0U; - - /* Outport: '/CCU_Msg3_model' incorporates: - * BusCreator: '/Bus Creator11' - * Constant: '/Constant5' - */ - rtY.CCU_Msg3_model.CCU_FAN_Req = 0U; - rtY.CCU_Msg3_model.CCU_RestMode_Stat = 0U; - rtY.CCU_Msg3_model.CCU_IncarTempSum_Val_ro = 0U; - rtY.CCU_Msg3_model.CCU_MSG3_RC = 0U; - rtY.CCU_Msg3_model.CCU_MSG3_CS = 0U; - CCU_Errors_Model.CCU_IncarTempErrF_Stat = 0U; - CCU_Errors_Model.CCU_IncarTempErrR_Stat = 0U; - CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = 0U; - CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = 0U; - CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = 0U; - CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = 0U; - CCU_Errors_Model.CCU_DeflectorSwErrF_Stat = 0U; - CCU_Errors_Model.CCU_DeflectorSwErrR_Stat = 0U; - CCU_Errors_Model.CCU_PressSenErr_Stat = 0U; - CCU_Errors_Model.CCU_AmbienTemptSenErr_Stat = 0U; - CCU_Errors_Model.CCU_SealingValveErr_Stat = 0U; - CCU_Errors_Model.CCU_ETXVerr_Stat = 0U; - CCU_Errors_Model.CCU_HVACfanOrTXVerrF_Stat = 0U; - CCU_Errors_Model.CCU_HVACfanOrTXVerrR_Stat = 0U; - CCU_Errors_Model.CCU_ActuatorErrF_Stat = 0U; - CCU_Errors_Model.CCU_ActuatorErrR_Stat = 0U; - CCU_Errors_Model.CCU_UltravioletErr_Stat = 0U; - CCU_Errors_Model.CCU_VinRecordErr_Stat = 0U; - CCU_Errors_Model.CCU_AirQualSenErr_Stat = 0U; - CCU_Errors_Model.CCU_CommErr_Stat = 0U; - CCU_Errors_Model.CCU_TWVerr_Stat = 0U; - CCU_Errors_Model.CCU_IonizationErr_Stat = 0U; - CCU_Errors_Model.CCU_AromaErr_Stat = 0U; - } - - /* End of Switch: '/Switch2' */ - - /* BusCreator: '/Bus Creator12' incorporates: - * DataStoreRead: '/Data Store Read75' - * DataStoreRead: '/Data Store Read76' - * DataStoreRead: '/Data Store Read83' - * DataStoreRead: '/Data Store Read84' - * DataStoreWrite: '/Data Store Write2' - * MATLAB Function: '/ccuAromaLogic' - */ - rtDW.CCU_STAT3_MODEL.CCU_AromaCartridgeCapacity_Stat_ro = - rtDW.Aroma_CartridgeCapacity; - rtDW.CCU_STAT3_MODEL.CCU_AromaCartridgeFlavor_Stat = - rtDW.Aroma_CartridgeFlavor; - - /* Outputs for Atomic SubSystem: '/AromaLogic' */ - rtDW.CCU_STAT3_MODEL.CCU_AromaFaultReason_Stat = rtb_DataTypeConversion1_hy; - - /* End of Outputs for SubSystem: '/AromaLogic' */ - rtDW.CCU_STAT3_MODEL.CCU_RLfootBlowDis_Stat = rtDW.CCU_foot_blower_dis_RL; - rtDW.CCU_STAT3_MODEL.CCU_RRfootBlowDis_Stat = rtDW.CCU_foot_blower_dis_RR; - rtDW.CCU_STAT3_MODEL.CCU_RestMode2_Stat = 0U; - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read80' - */ - if (rtDW.FrontWindowHeating_req > 0) { - rtb_DataTypeConversion_gj = 1U; - } else { - rtb_DataTypeConversion_gj = 2U; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch4' incorporates: - * DataStoreRead: '/Data Store Read52' - */ - if (rtDW.BCM_T15_Stat > 0) { - /* Outport: '/CCU_Msg1_model' incorporates: - * BusCreator: '/Bus Creator5' - * DataStoreRead: '/Data Store Read38' - * DataStoreRead: '/Data Store Read39' - * DataStoreRead: '/Data Store Read40' - * DataStoreRead: '/Data Store Read41' - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read43' - * DataStoreRead: '/Data Store Read44' - */ - rtY.CCU_Msg1_model.CCU_MirrorHeating_Req = 0U; - rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = rtDW.Full_Rec; - rtY.CCU_Msg1_model.CCU_DefrostLed_Req = rtDW.CCU_Defrost; - rtY.CCU_Msg1_model.CCU_SideWindowHeating_Req = 0U; - rtY.CCU_Msg1_model.CCU_RearWindowHeating_Req = 0U; - rtY.CCU_Msg1_model.CCU_FrontWindowHeating_Req = rtb_DataTypeConversion_gj; - rtY.CCU_Msg1_model.CCU_EmergAirCleaning_Stat = 0U; - rtY.CCU_Msg1_model.CCU_FireExtinguishSys_Stat = 0U; - rtY.CCU_Msg1_model.CCU_FLAutoPsngrLed_Cmd = rtDW.CCU_MODE_FL; - rtY.CCU_Msg1_model.CCU_FRAutoPsngrLed_Cmd = rtDW.CCU_MODE_FR; - rtY.CCU_Msg1_model.CCU_RLAutoPsngrLed_Cmd = rtDW.CCU_MODE_RL; - rtY.CCU_Msg1_model.CCU_RRAutoPsngrLed_Cmd = rtDW.CCU_MODE_RR; - rtY.CCU_Msg1_model.CCU_AC_MaxLed_Cmd = rtDW.CCU_AC_MAX; - rtY.CCU_Msg1_model.CCU_MSG1_RC = 0U; - rtY.CCU_Msg1_model.CCU_MSG1_CS = 0U; - } else { - /* Outport: '/CCU_Msg1_model' incorporates: - * BusCreator: '/Bus Creator9' - * Constant: '/Constant3' - */ - rtY.CCU_Msg1_model.CCU_MirrorHeating_Req = 0U; - rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = 0U; - rtY.CCU_Msg1_model.CCU_DefrostLed_Req = 0U; - rtY.CCU_Msg1_model.CCU_SideWindowHeating_Req = 0U; - rtY.CCU_Msg1_model.CCU_RearWindowHeating_Req = 0U; - rtY.CCU_Msg1_model.CCU_FrontWindowHeating_Req = 0U; - rtY.CCU_Msg1_model.CCU_EmergAirCleaning_Stat = 0U; - rtY.CCU_Msg1_model.CCU_FireExtinguishSys_Stat = 0U; - rtY.CCU_Msg1_model.CCU_FLAutoPsngrLed_Cmd = 0U; - rtY.CCU_Msg1_model.CCU_FRAutoPsngrLed_Cmd = 0U; - rtY.CCU_Msg1_model.CCU_RLAutoPsngrLed_Cmd = 0U; - rtY.CCU_Msg1_model.CCU_RRAutoPsngrLed_Cmd = 0U; - rtY.CCU_Msg1_model.CCU_AC_MaxLed_Cmd = 0U; - rtY.CCU_Msg1_model.CCU_MSG1_RC = 0U; - rtY.CCU_Msg1_model.CCU_MSG1_CS = 0U; - } - - /* End of Switch: '/Switch4' */ - - /* Lookup_n-D: '/demist LVL (dew_point_diff)' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Dew_point = look2_bs16ts16Dddd_binlc(rtb_Divide1, rtb_Divide5, - rtConstP.demistLVLdew_point_diff_bp01Data, - rtConstP.demistLVLdew_point_diff_bp02Data, - rtConstP.demistLVLdew_point_diff_tableData, - rtConstP.demistLVLdew_point_diff_maxIndex, 121U); - - /* MATLAB Function: '/óñëîâèå âõîäà' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write' - */ - /* : isActive = false; */ - rtDW.DifferentBlower_Rear_isActive = false; - - /* : if ((IndexMode_RL == 120 || IndexMode_RL == 130 || IndexMode_RL == 140) && (IndexMode_RR == 120 || IndexMode_RR == 130 || IndexMode_RR == 140)) */ - if (((rtDW.Index_mode_RL == 120) || (rtDW.Index_mode_RL == 130) || - (rtDW.Index_mode_RL == 140)) && ((rtDW.Index_mode_RR == 120) || - (rtDW.Index_mode_RR == 130) || (rtDW.Index_mode_RR == 140)) && - ((rtDW.Index_mode_RL != rtDW.Index_mode_RR) || (rtb_out_g1d != rtb_out_e2e)) - && (rtb_out_g1d > 0) && (rtb_out_e2e > 0)) { - /* : if ((IndexMode_RL ~= IndexMode_RR || AF_RL ~= AF_RR) && (AF_RL > 0 && AF_RR > 0)) */ - /* : isActive = true; */ - rtDW.DifferentBlower_Rear_isActive = true; - } - - /* End of MATLAB Function: '/óñëîâèå âõîäà' */ - - /* MATLAB Function: '/valves_rear' incorporates: - * DataStoreRead: '/Data Store Read' - */ - valves_rear(rtDW.Index_mode_RL, rtb_urear_e); - - /* MATLAB Function: '/valves_rear1' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - valves_rear(rtDW.Index_mode_RR, rtb_out); - - /* Outputs for Enabled SubSystem: '/DIFFERENT BLOWER - Rear' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreWrite: '/Data Store Write' */ - if (rtDW.DifferentBlower_Rear_isActive) { - /* MATLAB Function: '/coefficients for valves' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - */ - /* : min_side_L = uint8(100); */ - min_side_L = 100U; - - /* : max_side_L = uint8(100); */ - max_side_L = 100U; - - /* : min_side_R = uint8(100); */ - LowTempValve = 100U; - - /* : max_side_R = uint8(100); */ - rtb_DataTypeConversion1_hy = 100U; - - /* : min_center_L = uint8(100); */ - rtb_DataTypeConversion3_em = 100U; - - /* : max_center_L = uint8(100); */ - rtb_DataTypeConversion2_e1 = 100U; - - /* : min_center_R = uint8(100); */ - rtb_DataTypeConversion_gj = 100U; - - /* : max_center_R = uint8(100); */ - rtb_Merge_gt = 100U; - - /* : min_foot_L = uint8(100); */ - min_foot_L = 100U; - - /* : max_foot_L = uint8(100); */ - max_foot_L = 100U; - - /* : min_foot_R = uint8(100); */ - min_foot_R = 100U; - - /* : max_foot_R = uint8(100); */ - max_foot_R = 100U; - - /* : switch mode_left */ - switch (rtDW.Index_mode_RL) { - case 120U: - /* : case 120 */ - /* : min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(1); */ - min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[0]; - - /* : max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(1); */ - max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[0]; - - /* : min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(1); */ - rtb_DataTypeConversion3_em = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[0]; - - /* : max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(1); */ - rtb_DataTypeConversion2_e1 = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[0]; - break; - - case 130U: - /* : case 130 */ - /* : min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(8); */ - min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[7]; - - /* : max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(8); */ - max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[7]; - - /* : min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(9); */ - rtb_DataTypeConversion3_em = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[8]; - - /* : max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(9); */ - rtb_DataTypeConversion2_e1 = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[8]; - - /* : min_foot_L = g_aucBLR_SPD_K2_3_R_FOOT_MIN(5); */ - min_foot_L = g_aucBLR_SPD_K2_3_R_FOOT_MIN[4]; - - /* : max_foot_L = g_aucBLR_SPD_K2_3_R_FOOTR_MAX(5); */ - max_foot_L = g_aucBLR_SPD_K2_3_R_FOOTR_MAX[4]; - break; - - case 140U: - /* : case 140 */ - /* : min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(3); */ - rtb_DataTypeConversion3_em = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[2]; - - /* : max_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(3); */ - rtb_DataTypeConversion2_e1 = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[2]; - - /* : min_foot_L = g_aucBLR_SPD_K2_3_R_FOOT_MIN(2); */ - min_foot_L = g_aucBLR_SPD_K2_3_R_FOOT_MIN[1]; - - /* : max_foot_L = g_aucBLR_SPD_K2_3_R_FOOTR_MAX(2); */ - max_foot_L = g_aucBLR_SPD_K2_3_R_FOOTR_MAX[1]; - break; - } - - /* : switch mode_right */ - switch (rtDW.Index_mode_RR) { - case 120U: - /* : case 120 */ - /* : min_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(1); */ - LowTempValve = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[0]; - - /* : max_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(1); */ - rtb_DataTypeConversion1_hy = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[0]; - - /* : min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(1); */ - rtb_DataTypeConversion_gj = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[0]; - - /* : max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(1); */ - rtb_Merge_gt = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[0]; - break; - - case 130U: - /* : case 130 */ - /* : min_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(8); */ - LowTempValve = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[7]; - - /* : max_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(8); */ - rtb_DataTypeConversion1_hy = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[7]; - - /* : min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(9); */ - rtb_DataTypeConversion_gj = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[8]; - - /* : max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(9); */ - rtb_Merge_gt = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[8]; - - /* : min_foot_R = g_aucBLR_SPD_K2_3_R_FOOT_MIN(5); */ - min_foot_R = g_aucBLR_SPD_K2_3_R_FOOT_MIN[4]; - - /* : max_foot_R = g_aucBLR_SPD_K2_3_R_FOOTR_MAX(5); */ - max_foot_R = g_aucBLR_SPD_K2_3_R_FOOTR_MAX[4]; - break; - - case 140U: - /* : case 140 */ - /* : min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(3); */ - rtb_DataTypeConversion_gj = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[2]; - - /* : max_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX(3); */ - rtb_Merge_gt = g_aucBLR_SPD_K2_2_R_CENT_VENTR_MAX[2]; - - /* : min_foot_R = g_aucBLR_SPD_K2_3_R_FOOT_MIN(2); */ - min_foot_R = g_aucBLR_SPD_K2_3_R_FOOT_MIN[1]; - - /* : max_foot_R = g_aucBLR_SPD_K2_3_R_FOOTR_MAX(2); */ - max_foot_R = g_aucBLR_SPD_K2_3_R_FOOTR_MAX[1]; - break; - } - - /* : AF_MAX = 160; */ - /* : AF_MIN = 20; */ - /* : coef_min = [min_side_L, min_center_L, min_center_R, min_side_R, min_foot_L, min_foot_R]; */ - /* : coef_max = [max_side_L, max_center_L, max_center_R, max_side_R, max_foot_L, max_foot_R]; */ - coef_max[0] = max_side_L; - coef_max[1] = rtb_DataTypeConversion2_e1; - coef_max[2] = rtb_Merge_gt; - coef_max[3] = rtb_DataTypeConversion1_hy; - coef_max[4] = max_foot_L; - coef_max[5] = max_foot_R; - - /* : coeff_left = double(coef_max) - (double(AF_MAX - AF_left)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ - /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - rtb_Subtract = 160U - rtb_out_g1d; - - /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ - if (160U - rtb_out_g1d > 160U) { - rtb_Subtract = 0U; - } - - rtb_duct_select_index_dbg_c = (double)(int32_t)rtb_Subtract / 140.0; - rtb_Subtract = (uint32_t)max_side_L - /*MW:OvSatOk*/ min_side_L; - if (rtb_Subtract > max_side_L) { - rtb_Subtract = 0U; - } - - rtb_u10[0] = rtb_Subtract; - rtb_Subtract = (uint32_t)rtb_DataTypeConversion2_e1 - /*MW:OvSatOk*/ - rtb_DataTypeConversion3_em; - if (rtb_Subtract > rtb_DataTypeConversion2_e1) { - rtb_Subtract = 0U; - } - - rtb_u10[1] = rtb_Subtract; - rtb_Subtract = (uint32_t)rtb_Merge_gt - /*MW:OvSatOk*/ - rtb_DataTypeConversion_gj; - if (rtb_Subtract > rtb_Merge_gt) { - rtb_Subtract = 0U; - } - - rtb_u10[2] = rtb_Subtract; - rtb_Subtract = (uint32_t)rtb_DataTypeConversion1_hy - /*MW:OvSatOk*/ - LowTempValve; - if (rtb_Subtract > rtb_DataTypeConversion1_hy) { - rtb_Subtract = 0U; - } - - rtb_u10[3] = rtb_Subtract; - rtb_Subtract = (uint32_t)max_foot_L - /*MW:OvSatOk*/ min_foot_L; - if (rtb_Subtract > max_foot_L) { - rtb_Subtract = 0U; - } - - rtb_u10[4] = rtb_Subtract; - rtb_Subtract = (uint32_t)max_foot_R - /*MW:OvSatOk*/ min_foot_R; - if (rtb_Subtract > max_foot_R) { - rtb_Subtract = 0U; - } - - rtb_u10[5] = rtb_Subtract; - - /* : coeff_right = double(coef_max) - (double(AF_MAX - AF_right)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ - rtb_Subtract = 160U - rtb_out_e2e; - if (160U - rtb_out_e2e > 160U) { - rtb_Subtract = 0U; - } - - rtb_I_od = (double)(int32_t)rtb_Subtract / 140.0; - for (rtb_Gain2 = 0; rtb_Gain2 < 6; rtb_Gain2++) { - rtb_Cmd_3Way = coef_max[rtb_Gain2]; - i = (int32_t)rtb_u10[rtb_Gain2]; - coeff_left[rtb_Gain2] = (double)rtb_Cmd_3Way - rtb_duct_select_index_dbg_c - * (double)i; - coeff_right[rtb_Gain2] = (double)rtb_Cmd_3Way - rtb_I_od * (double)i; - } - - /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [6] rear' - */ - /* : coeff = [coeff_left(1), coeff_left(2), coeff_right(3), coeff_right(4), coeff_left(5), coeff_right(6)]; */ - rtb_urear_e[2] = rtb_out[2]; - rtb_urear_e[3] = rtb_out[3]; - - /* Assignment: '/Ïðèñâàèâàíèå â [6] rear' */ - rtb_urear_e[5] = rtb_out[5]; - - /* Gain: '/Gain1' incorporates: - * MATLAB Function: '/coefficients for valves' - */ - tmp_2[0] = 0.01 * coeff_left[0]; - tmp_2[1] = 0.01 * coeff_left[1]; - tmp_2[2] = 0.01 * coeff_right[2]; - tmp_2[3] = 0.01 * coeff_right[3]; - tmp_2[4] = 0.01 * coeff_left[4]; - tmp_2[5] = 0.01 * coeff_right[5]; - - /* : y = ceil(round(u) / 10) * 10; */ - for (rtb_Gain2 = 0; rtb_Gain2 < 6; rtb_Gain2++) { - /* Gain: '/Gain' incorporates: - * Assignment: '/Ïðèñâàèâàíèå â [6] rear' - */ - rtb_I_od = 0.0099999904632568359 * (double)rtb_urear_e[rtb_Gain2]; - rtb_Saturation_k[rtb_Gain2] = rtb_I_od; - - /* Product: '/ïóíêòû 8-10' */ - rtb_duct_select_index_dbg_c = tmp_2[rtb_Gain2] * rtb_I_od; - rtb_u10[rtb_Gain2] = rtb_duct_select_index_dbg_c; - coeff_right[rtb_Gain2] = ceil(rt_roundd(100.0 * - rtb_duct_select_index_dbg_c) / 10.0) * 10.0; - } - - /* MATLAB Function: '/ïëîùàäü ñå÷åíèÿ çàñëîíîê' incorporates: - * Gain: '/Gain1' - * MATLAB Function: '/MATLAB Function1' - * Product: '/ïóíêòû 8-10' - */ - /* : valve_space = [g_ausVALVE_SPACE(4), g_ausVALVE_SPACE(5), g_ausVALVE_SPACE(5), g_ausVALVE_SPACE(4), g_ausVALVE_SPACE(6), g_ausVALVE_SPACE(6)] * 10; */ - rtb_Subtract = g_ausVALVE_SPACE[3] * 10U; - rtb_dt_nx = rtb_Subtract; - if (rtb_Subtract > 65535U) { - rtb_dt_nx = 65535U; - } - - rtb_Gain2_tmp_tmp = g_ausVALVE_SPACE[4] * 10U; - rtb_Gain2_tmp_tmp_0 = rtb_Gain2_tmp_tmp; - if (rtb_Gain2_tmp_tmp > 65535U) { - rtb_Gain2_tmp_tmp_0 = 65535U; - rtb_Gain2_tmp_tmp = 65535U; - } - - if (rtb_Subtract > 65535U) { - rtb_Subtract = 65535U; - } - - tmp_5 = g_ausVALVE_SPACE[5] * 10U; - tmp_3 = tmp_5; - if (tmp_5 > 65535U) { - tmp_3 = 65535U; - tmp_5 = 65535U; - } - - /* MATLAB Function: '/B-Pillar_ - % damper opening' incorporates: - * MATLAB Function: '/ïëîùàäü ñå÷åíèÿ çàñëîíîê' - * Product: '/ïóíêòû 8-10' - */ - /* : b_pillar_100 = double(valve_space(1)); */ - /* : g_aucVALVE_PERC_R_BIPILLAR_with0 = double([0, g_aucVALVE_PERC_R_BIPILLAR]) * 0.01; */ - rtb_valve_space_center_R[0] = 0.0; - for (i = 0; i < 10; i++) { - rtb_valve_space_center_R[i + 1] = (double)g_aucVALVE_PERC_R_BIPILLAR[i] * - 0.01; - } - - /* : b_pillar_all_perc = g_aucVALVE_PERC_R_BIPILLAR_with0 * b_pillar_100; */ - /* : valve_space_b_pillar_L = zeros(1, 11); */ - for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_valve_space_center_R[i] * (double)rtb_dt_nx; - rtb_valve_space_b_pillar_L[i] = 0.0; - } - - /* : for i = 1:10 */ - /* : valve_space_b_pillar_L(1) = 0; */ - /* : valve_space_b_pillar_L(11) = b_pillar_100; */ - rtb_valve_space_b_pillar_L[10] = rtb_dt_nx; - - /* : center_100 = double(valve_space(2)); */ - /* : g_aucVALVE_PERC_R_CENT_VENT_with0 = double([0, g_aucVALVE_PERC_R_CENT_VENT]) * 0.01; */ - rtb_valve_space_foot_R[0] = 0.0; - for (i = 0; i < 10; i++) { - /* : valve_space_b_pillar_L(i) = b_pillar_all_perc(i+1) + ((g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - valves(1)) / (g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - g_aucVALVE_PERC_R_BIPILLAR_with0(i))) * (b_pillar_all_perc(i) - b_pillar_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; - rtb_I_od = rtb_valve_space_center_R[i + 1]; - rtb_valve_space_b_pillar_L[i] = (rtb_I_od - rtb_u10[0]) / (rtb_I_od - - rtb_valve_space_center_R[i]) * (rtb_y_hu[i] - - rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; - rtb_valve_space_foot_R[i + 1] = (double)g_aucVALVE_PERC_R_CENT_VENT[i] * - 0.01; - } - - rtb_valve_space_b_pillar_L[0] = 0.0; - - /* : center_all_perc = g_aucVALVE_PERC_R_CENT_VENT_with0 * center_100; */ - /* : valve_space_center_L = zeros(1, 11); */ - for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_valve_space_foot_R[i] * (double)rtb_Gain2_tmp_tmp_0; - rtb_valve_space_center_L[i] = 0.0; - } - - /* : for i = 1:10 */ - /* : valve_space_center_L(1) = 0; */ - /* : valve_space_center_L(11) = center_100; */ - rtb_valve_space_center_L[10] = rtb_Gain2_tmp_tmp_0; - - /* : foot_100 = double(valve_space(5)); */ - /* : g_aucVALVE_PERC_R_FOOT_with0 = double([0, g_aucVALVE_PERC_R_FOOT]) * 0.01; */ - rtb_Saturation_k[0] = 0.0; - for (rtb_Gain2 = 0; rtb_Gain2 < 10; rtb_Gain2++) { - /* : valve_space_center_L(i) = center_all_perc(i+1) + ((g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - valves(2)) / (g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - g_aucVALVE_PERC_R_CENT_VENT_with0(i))) * (center_all_perc(i) - center_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[rtb_Gain2 + 1]; - rtb_I_od = rtb_valve_space_foot_R[rtb_Gain2 + 1]; - rtb_valve_space_center_L[rtb_Gain2] = (rtb_I_od - rtb_u10[1]) / (rtb_I_od - - rtb_valve_space_foot_R[rtb_Gain2]) * (rtb_y_hu[rtb_Gain2] - - rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; - rtb_Saturation_k[rtb_Gain2 + 1] = (double)g_aucVALVE_PERC_R_FOOT[rtb_Gain2] - * 0.01; - } - - rtb_valve_space_center_L[0] = 0.0; - - /* : foot_all_perc = g_aucVALVE_PERC_R_FOOT_with0 * foot_100; */ - /* : valve_space_foot_L = zeros(1, 11); */ - for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_Saturation_k[i] * (double)tmp_3; - rtb_valve_space_foot_L[i] = 0.0; - } - - /* : for i = 1:10 */ - for (rtb_Gain2 = 0; rtb_Gain2 < 10; rtb_Gain2++) { - /* : valve_space_foot_L(i) = foot_all_perc(i+1) + ((g_aucVALVE_PERC_R_FOOT_with0(i+1) - valves(5)) / (g_aucVALVE_PERC_R_FOOT_with0(i+1) - g_aucVALVE_PERC_R_FOOT_with0(i))) * (foot_all_perc(i) - foot_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[rtb_Gain2 + 1]; - rtb_I_od = rtb_Saturation_k[rtb_Gain2 + 1]; - rtb_valve_space_foot_L[rtb_Gain2] = (rtb_I_od - rtb_u10[4]) / (rtb_I_od - - rtb_Saturation_k[rtb_Gain2]) * (rtb_y_hu[rtb_Gain2] - - rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; - } - - /* : valve_space_foot_L(1) = 0; */ - rtb_valve_space_foot_L[0] = 0.0; - - /* : valve_space_foot_L(11) = foot_100; */ - rtb_valve_space_foot_L[10] = tmp_3; - - /* : b_pillar_100 = double(valve_space(4)); */ - /* : g_aucVALVE_PERC_R_BIPILLAR_with0 = double([0, g_aucVALVE_PERC_R_BIPILLAR]) * 0.01; */ - /* : b_pillar_all_perc = g_aucVALVE_PERC_R_BIPILLAR_with0 * b_pillar_100; */ - /* : valve_space_b_pillar_R = zeros(1, 11); */ - for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_valve_space_center_R[i] * (double)rtb_Subtract; - rtb_valve_space_b_pillar_R[i] = 0.0; - } - - /* : for i = 1:10 */ - for (rtb_Gain2 = 0; rtb_Gain2 < 10; rtb_Gain2++) { - /* : valve_space_b_pillar_R(i) = b_pillar_all_perc(i+1) + ((g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - valves(4)) / (g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - g_aucVALVE_PERC_R_BIPILLAR_with0(i))) * (b_pillar_all_perc(i) - b_pillar_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[rtb_Gain2 + 1]; - rtb_I_od = rtb_valve_space_center_R[rtb_Gain2 + 1]; - rtb_valve_space_b_pillar_R[rtb_Gain2] = (rtb_I_od - rtb_u10[3]) / - (rtb_I_od - rtb_valve_space_center_R[rtb_Gain2]) * (rtb_y_hu[rtb_Gain2] - - rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; - } - - /* : valve_space_b_pillar_R(1) = 0; */ - rtb_valve_space_b_pillar_R[0] = 0.0; - - /* : valve_space_b_pillar_R(11) = b_pillar_100; */ - rtb_valve_space_b_pillar_R[10] = rtb_Subtract; - - /* : center_100 = double(valve_space(3)); */ - /* : g_aucVALVE_PERC_R_CENT_VENT_with0 = double([0, g_aucVALVE_PERC_R_CENT_VENT]) * 0.01; */ - /* : center_all_perc = g_aucVALVE_PERC_R_CENT_VENT_with0 * center_100; */ - /* : valve_space_center_R = zeros(1, 11); */ - for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_valve_space_foot_R[i] * (double)rtb_Gain2_tmp_tmp; - rtb_valve_space_center_R[i] = 0.0; - } - - /* : for i = 1:10 */ - for (rtb_Gain2 = 0; rtb_Gain2 < 10; rtb_Gain2++) { - /* : valve_space_center_R(i) = center_all_perc(i+1) + ((g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - valves(3)) / (g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - g_aucVALVE_PERC_R_CENT_VENT_with0(i))) * (center_all_perc(i) - center_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[rtb_Gain2 + 1]; - rtb_I_od = rtb_valve_space_foot_R[rtb_Gain2 + 1]; - rtb_valve_space_center_R[rtb_Gain2] = (rtb_I_od - rtb_u10[2]) / (rtb_I_od - - rtb_valve_space_foot_R[rtb_Gain2]) * (rtb_y_hu[rtb_Gain2] - - rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; - } - - /* : valve_space_center_R(1) = 0; */ - rtb_valve_space_center_R[0] = 0.0; - - /* : valve_space_center_R(11) = center_100; */ - rtb_valve_space_center_R[10] = rtb_Gain2_tmp_tmp; - - /* : foot_100 = double(valve_space(6)); */ - /* : g_aucVALVE_PERC_R_FOOT_with0 = double([0, g_aucVALVE_PERC_R_FOOT]) * 0.01; */ - /* : foot_all_perc = g_aucVALVE_PERC_R_FOOT_with0 * foot_100; */ - /* : valve_space_foot_R = zeros(1, 11); */ - for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_Saturation_k[i] * (double)tmp_5; - rtb_valve_space_foot_R[i] = 0.0; - } - - /* : for i = 1:10 */ - for (rtb_Gain2 = 0; rtb_Gain2 < 10; rtb_Gain2++) { - /* : valve_space_foot_R(i) = foot_all_perc(i+1) + ((g_aucVALVE_PERC_R_FOOT_with0(i+1) - valves(6)) / (g_aucVALVE_PERC_R_FOOT_with0(i+1) - g_aucVALVE_PERC_R_FOOT_with0(i))) * (foot_all_perc(i) - foot_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[rtb_Gain2 + 1]; - rtb_I_od = rtb_Saturation_k[rtb_Gain2 + 1]; - rtb_valve_space_foot_R[rtb_Gain2] = (rtb_I_od - rtb_u10[5]) / (rtb_I_od - - rtb_Saturation_k[rtb_Gain2]) * (rtb_y_hu[rtb_Gain2] - - rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; - } - - /* : valve_space_foot_R(1) = 0; */ - rtb_valve_space_foot_R[0] = 0.0; - - /* : valve_space_foot_R(11) = foot_100; */ - rtb_valve_space_foot_R[10] = tmp_5; - - /* End of MATLAB Function: '/B-Pillar_ - % damper opening' */ - - /* MATLAB Function: '/MATLAB Function2' */ - MATLABFunction2(rtb_y_hu); - - /* MATLAB Function: '/MATLAB Function3' */ - MATLABFunction3(rtb_y_oz); - - /* MATLAB Function: '/MATLAB Function4' */ - MATLABFunction4(rtb_y_ej); - - /* MATLAB Function: '/MATLAB Function5' */ - MATLABFunction2(rtb_y_e); - - /* MATLAB Function: '/MATLAB Function6' */ - MATLABFunction3(rtb_Saturation_k); - - /* MATLAB Function: '/MATLAB Function7' */ - MATLABFunction4(rtb_y); - - /* MATLAB Function: '/MATLAB Function' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' - * Product: '/ïóíêòû 8-10' - * Saturate: '/Saturation' - */ - /* : area_L = valves(1) * valve_space_b_pillar_L + valves(2) * valve_space_center_L + valves(5) * valve_space_foot_L; */ - rtb_Divide7 = (rtb_u10[0] * rtb_valve_space_b_pillar_L[plook_u32d_bincka - (coeff_right[0], rtb_y_hu, 10U)] + rtb_u10[1] * - rtb_valve_space_center_L[plook_u32d_bincka(coeff_right[1], - rtb_y_oz, 10U)]) + rtb_u10[4] * rtb_valve_space_foot_L[plook_u32d_bincka - (coeff_right[4], rtb_y_ej, 10U)]; - - /* : area_R = valves(3) * valve_space_center_R + valves(4) * valve_space_b_pillar_R + valves(6) * valve_space_foot_R; */ - rtb_Divide1_jg = (rtb_u10[2] * rtb_valve_space_center_R[plook_u32d_bincka - (coeff_right[2], rtb_Saturation_k, 10U)] + rtb_u10[3] * - rtb_valve_space_b_pillar_R[plook_u32d_bincka(coeff_right[3], - rtb_y_e, 10U)]) + rtb_u10[5] * rtb_valve_space_foot_R[plook_u32d_binckan - (coeff_right[5], rtb_y, 10U)]; - - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - */ - rtb_RelationalOperator6_f = (rtDW.Index_mode_RL == rtDW.Index_mode_RR); - - /* Switch: '/ïóíêò 16 L' incorporates: - * Product: '/ïóíêò 12 (L)' - * Product: '/ïóíêò 14 (L)' - */ - if (rtb_RelationalOperator6_f) { - rtb_duct_select_index_dbg_c = rtb_Divide7 / rtb_Divide1_jg; - } else { - rtb_duct_select_index_dbg_c = rtb_Divide1_jg / rtb_Divide7; - } - - /* End of Switch: '/ïóíêò 16 L' */ - - /* Saturate: '/ïóíêò 17 L' */ - if (rtb_duct_select_index_dbg_c > 1.0) { - rtb_I_od = 1.0; - } else if (rtb_duct_select_index_dbg_c < 0.0) { - rtb_I_od = 0.0; - } else { - rtb_I_od = rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/ïóíêò 17 L' */ - - /* Switch: '/ïóíêò 16 R' incorporates: - * Product: '/ïóíêò 12 (R)' - * Product: '/ïóíêò 14 (R)' - */ - if (rtb_RelationalOperator6_f) { - rtb_duct_select_index_dbg_c = rtb_Divide1_jg / rtb_Divide7; - } else { - rtb_duct_select_index_dbg_c = rtb_Divide7 / rtb_Divide1_jg; - } - - /* End of Switch: '/ïóíêò 16 R' */ - - /* Saturate: '/ïóíêò 17 R' */ - if (rtb_duct_select_index_dbg_c > 1.0) { - rtb_Divide7 = 1.0; - } else if (rtb_duct_select_index_dbg_c < 0.0) { - rtb_Divide7 = 0.0; - } else { - rtb_Divide7 = rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/ïóíêò 17 R' */ - - /* Product: '/ïóíêò 13 L' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - */ - rtb_Divide1_jg = (double)rtb_out_g1d / (double)rtb_out_e2e; - - /* Saturate: '/ïóíêò 15 L' */ - if (rtb_Divide1_jg > 1.0) { - rtb_Divide1_jg = 1.0; - } - - /* End of Saturate: '/ïóíêò 15 L' */ - - /* Product: '/ïóíêò 13 R' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - */ - rtb_duct_select_index_dbg_c = (double)rtb_out_e2e / (double)rtb_out_g1d; - - /* Saturate: '/ïóíêò 15 R' */ - if (rtb_duct_select_index_dbg_c > 1.0) { - rtb_duct_select_index_dbg_c = 1.0; - } - - /* End of Saturate: '/ïóíêò 15 R' */ - - /* MATLAB Function: '/ïóíêòû 18-20' */ - /* : vector = [coef_17_L * coef_15_L, coef_17_L * coef_15_L, coef_17_R * coef_15_R, coef_17_R * coef_15_R, coef_17_L * coef_15_L, coef_17_R * coef_15_R]; */ - rtb_I_od *= rtb_Divide1_jg; - - /* Product: '/Product2' incorporates: - * MATLAB Function: '/ïóíêòû 18-20' - */ - coeff_left[0] = rtb_I_od; - coeff_left[1] = rtb_I_od; - - /* MATLAB Function: '/ïóíêòû 18-20' */ - rtb_duct_select_index_dbg_c *= rtb_Divide7; - - /* Product: '/Product2' incorporates: - * MATLAB Function: '/ïóíêòû 18-20' - * Product: '/ïóíêòû 8-10' - */ - coeff_left[2] = rtb_duct_select_index_dbg_c; - coeff_left[3] = rtb_duct_select_index_dbg_c; - coeff_left[4] = rtb_I_od; - coeff_left[5] = rtb_duct_select_index_dbg_c; - for (rtb_Gain2 = 0; rtb_Gain2 < 6; rtb_Gain2++) { - coeff_right[rtb_Gain2] = rtb_u10[rtb_Gain2] * coeff_left[rtb_Gain2]; - } - - /* MATLAB Function: '/ïóíêò 21-23 (DRS for valves)' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * Product: '/Product2' - */ - /* : valves_with_DRS = valves; */ - /* : if (mode_left == 120) */ - if (rtDW.Index_mode_RL == 120) { - /* : param_index_L = 1; */ - rtb_Gain2 = 0; - } else { - /* : else */ - /* : param_index_L = 2; */ - rtb_Gain2 = 1; - } - - /* : index_start_L = (param_index_L - 1) * 3 + 1; */ - rtb_Cmd_3Way = rtb_Gain2 * 3 + 4; - - /* : if DRS_side_L == 0 */ - if (rtDW.DRS_SRL == 0) { - /* : side_percent_L = uint8(0); */ - min_side_L = 0U; - } else { - /* : else */ - /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start_L + 3 - DRS_side_L); */ - rtb_Gain2 = rtb_Cmd_3Way - rtDW.DRS_SRL; - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } - - min_side_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE[rtb_Gain2 - 1]; - } - - /* : if DRS_center_L == 0 */ - if (rtDW.DRS_CRL == 0) { - /* : center_percent_L = uint8(0); */ - max_side_L = 0U; - } else { - /* : else */ - /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start_L + 3 - DRS_center_L); */ - rtb_Gain2 = rtb_Cmd_3Way - rtDW.DRS_CRL; - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } - - max_side_L = g_aucREAR_CENT_DRS_PERCENT_VALVE[rtb_Gain2 - 1]; - } - - /* : if (mode_right == 120) */ - if (rtDW.Index_mode_RR == 120) { - /* : param_index_R = 1; */ - rtb_Gain2 = 0; - } else { - /* : else */ - /* : param_index_R = 2; */ - rtb_Gain2 = 1; - } - - /* : index_start_R = (param_index_R - 1) * 3 + 1; */ - rtb_Cmd_3Way = rtb_Gain2 * 3 + 4; - - /* : if DRS_side_R == 0 */ - if (rtDW.DRS_SRR == 0) { - /* : side_percent_R = uint8(0); */ - LowTempValve = 0U; - } else { - /* : else */ - /* : side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start_R + 3 - DRS_side_R); */ - rtb_Gain2 = rtb_Cmd_3Way - rtDW.DRS_SRR; - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } - - LowTempValve = g_aucREAR_SIDE_DRS_PERCENT_VALVE[rtb_Gain2 - 1]; - } - - /* : if DRS_center_R == 0 */ - if (rtDW.DRS_CRR == 0) { - /* : center_percent_R = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; - } else { - /* : else */ - /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start_R + 3 - DRS_center_R); */ - rtb_Gain2 = rtb_Cmd_3Way - rtDW.DRS_CRR; - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } - - rtb_DataTypeConversion1_hy = g_aucREAR_CENT_DRS_PERCENT_VALVE[rtb_Gain2 - - 1]; - } - - /* : valves_with_DRS(1) = valves_with_DRS(1) * double(side_percent_L) * 0.01; */ - coeff_right[0] = coeff_right[0] * (double)min_side_L * 0.01; - - /* : valves_with_DRS(2) = valves_with_DRS(2) * double(center_percent_L) * 0.01; */ - coeff_right[1] = coeff_right[1] * (double)max_side_L * 0.01; - - /* : valves_with_DRS(3) = valves_with_DRS(3) * double(center_percent_R) * 0.01; */ - coeff_right[2] = coeff_right[2] * (double)rtb_DataTypeConversion1_hy * 0.01; - - /* : valves_with_DRS(4) = valves_with_DRS(4) * double(side_percent_R) * 0.01; */ - coeff_right[3] = coeff_right[3] * (double)LowTempValve * 0.01; - - /* End of MATLAB Function: '/ïóíêò 21-23 (DRS for valves)' */ - - /* MATLAB Function: '/òàáëèöà D184-E190 (Step 7 Minimum damper opening factor)' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - */ - /* : AF_vector = [0, 20, 40, 80, 100, 120, 140, 160]; */ - /* : valve_pos_min_center_with_0 = double([0, g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO]) * 0.01; */ - valve_pos_min_center_with_0[0] = 0.0; - - /* : min_damper_opening_factor_L = zeros(1, 7); */ - /* : for i = 1:7 */ - /* : min_damper_opening_factor_R = zeros(1, 7); */ - /* : for i = 1:7 */ - for (i = 0; i < 7; i++) { - rtb_duct_select_index_dbg_c = (double) - g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO[i] * 0.01; - valve_pos_min_center_with_0[i + 1] = rtb_duct_select_index_dbg_c; - - /* : min_damper_opening_factor_L(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_L)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ - min_side_L = b[i + 1]; - rtb_I_od = min_side_L - b[i]; - rtb_Divide7 = valve_pos_min_center_with_0[i] - rtb_duct_select_index_dbg_c; - min_damper_opening_factor_L[i] = (double)(min_side_L - rtb_out_g1d) / - rtb_I_od * rtb_Divide7 + rtb_duct_select_index_dbg_c; - - /* : min_damper_opening_factor_R(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_R)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ - min_damper_opening_factor_R[i] = (double)(min_side_L - rtb_out_e2e) / - rtb_I_od * rtb_Divide7 + rtb_duct_select_index_dbg_c; - } - - /* : if AF_L == 0 */ - if (rtb_out_g1d == 0) { - /* : opening_factor_L = 0; */ - rtb_duct_select_index_dbg_c = 0.0; - } else if (rtb_out_g1d <= 20) { - /* : elseif AF_L <= AF_vector(2) */ - /* : opening_factor_L = min_damper_opening_factor_L(2); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[1]; - } else if (rtb_out_g1d <= 40) { - /* : elseif AF_L <= AF_vector(3) */ - /* : opening_factor_L = min_damper_opening_factor_L(3); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[2]; - } else if (rtb_out_g1d <= 80) { - /* : elseif AF_L <= AF_vector(4) */ - /* : opening_factor_L = min_damper_opening_factor_L(4); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[3]; - } else if (rtb_out_g1d <= 100) { - /* : elseif AF_L <= AF_vector(5) */ - /* : opening_factor_L = min_damper_opening_factor_L(5); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[4]; - } else if (rtb_out_g1d <= 120) { - /* : elseif AF_L <= AF_vector(6) */ - /* : opening_factor_L = min_damper_opening_factor_L(6); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[5]; - } else if (rtb_out_g1d <= 140) { - /* : elseif AF_L <= AF_vector(7) */ - /* : opening_factor_L = min_damper_opening_factor_L(7); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[6]; - } else { - /* : else */ - /* : opening_factor_L = min_damper_opening_factor_L(7); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[6]; - } - - /* : if AF_R == 0 */ - if (rtb_out_e2e == 0) { - /* : opening_factor_R = 0; */ - rtb_I_od = 0.0; - } else if (rtb_out_e2e <= 20) { - /* : elseif AF_R <= AF_vector(2) */ - /* : opening_factor_R = min_damper_opening_factor_R(2); */ - rtb_I_od = min_damper_opening_factor_R[1]; - } else if (rtb_out_e2e <= 40) { - /* : elseif AF_R <= AF_vector(3) */ - /* : opening_factor_R = min_damper_opening_factor_R(3); */ - rtb_I_od = min_damper_opening_factor_R[2]; - } else if (rtb_out_e2e <= 80) { - /* : elseif AF_R <= AF_vector(4) */ - /* : opening_factor_R = min_damper_opening_factor_R(4); */ - rtb_I_od = min_damper_opening_factor_R[3]; - } else if (rtb_out_e2e <= 100) { - /* : elseif AF_R <= AF_vector(5) */ - /* : opening_factor_R = min_damper_opening_factor_R(5); */ - rtb_I_od = min_damper_opening_factor_R[4]; - } else if (rtb_out_e2e <= 120) { - /* : elseif AF_R <= AF_vector(6) */ - /* : opening_factor_R = min_damper_opening_factor_R(6); */ - rtb_I_od = min_damper_opening_factor_R[5]; - } else if (rtb_out_e2e <= 140) { - /* : elseif AF_R <= AF_vector(7) */ - /* : opening_factor_R = min_damper_opening_factor_R(7); */ - rtb_I_od = min_damper_opening_factor_R[6]; - } else { - /* : else */ - /* : opening_factor_R = min_damper_opening_factor_R(7); */ - rtb_I_od = min_damper_opening_factor_R[6]; - } - - /* End of MATLAB Function: '/òàáëèöà D184-E190 (Step 7 Minimum damper opening factor)' */ - - /* MATLAB Function: '/ïóíêò 25' */ - /* : valves(2) = max(valves(2), opening_factor_L); */ - coeff_right[1] = fmax(coeff_right[1], rtb_duct_select_index_dbg_c); - - /* : valves(3) = max(valves(3), opening_factor_R); */ - coeff_right[2] = fmax(coeff_right[2], rtb_I_od); - - /* : valves_out = valves; */ - for (i = 0; i < 6; i++) { - /* Saturate: '/ïóíêòû 26-28' */ - rtb_Divide5_m = coeff_right[i]; - if (rtb_Divide5_m > 1.0) { - rtb_Divide5_m = 1.0; - } else if (rtb_Divide5_m < 0.0) { - rtb_Divide5_m = 0.0; - } - - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Gain: '/Gain2' - * Saturate: '/ïóíêòû 26-28' - */ - rtB.DataTypeConversion2[i] = (uint8_t)rt_roundd(100.0 * rtb_Divide5_m); - } - - /* MATLAB Function: '/ïóíêò 24 (DRS for AF)' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - */ - /* : if (mode_left == 120) */ - if (rtDW.Index_mode_RL == 120) { - /* : param_index_L = 1; */ - rtb_Gain2 = 0; - } else { - /* : else */ - /* : param_index_L = 2; */ - rtb_Gain2 = 1; - } - - /* : index_start_L = (param_index_L - 1) * 3 + 1; */ - rtb_Cmd_3Way = rtb_Gain2 * 3 + 4; - - /* : if DRS_side_L == 0 */ - if (rtDW.DRS_SRL == 0) { - /* : side_percent_L = uint8(0); */ - min_side_L = 0U; - } else { - /* : else */ - /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_L + 3 - DRS_side_L); */ - rtb_Gain2 = rtb_Cmd_3Way - rtDW.DRS_SRL; - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } - - min_side_L = g_aucREAR_SIDE_DRS_PERCENT_AF[rtb_Gain2 - 1]; - } - - /* : if DRS_center_L == 0 */ - if (rtDW.DRS_CRL == 0) { - /* : center_percent_L = uint8(0); */ - max_side_L = 0U; - } else { - /* : else */ - /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_L + 3 - DRS_center_L); */ - rtb_Gain2 = rtb_Cmd_3Way - rtDW.DRS_CRL; - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } - - max_side_L = g_aucREAR_CENT_DRS_PERCENT_AF[rtb_Gain2 - 1]; - } - - /* : if (mode_right == 120) */ - if (rtDW.Index_mode_RR == 120) { - /* : param_index_R = 1; */ - rtb_Gain2 = 0; - } else { - /* : else */ - /* : param_index_R = 2; */ - rtb_Gain2 = 1; - } - - /* : index_start_R = (param_index_R - 1) * 3 + 1; */ - rtb_Cmd_3Way = rtb_Gain2 * 3 + 4; - - /* : if DRS_side_R == 0 */ - if (rtDW.DRS_SRR == 0) { - /* : side_percent_R = uint8(0); */ - LowTempValve = 0U; - } else { - /* : else */ - /* : side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_R + 3 - DRS_side_R); */ - rtb_Gain2 = rtb_Cmd_3Way - rtDW.DRS_SRR; - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } - - LowTempValve = g_aucREAR_SIDE_DRS_PERCENT_AF[rtb_Gain2 - 1]; - } - - /* : if DRS_center_R == 0 */ - if (rtDW.DRS_CRR == 0) { - /* : center_percent_R = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; - } else { - /* : else */ - /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_R + 3 - DRS_center_R); */ - rtb_Gain2 = rtb_Cmd_3Way - rtDW.DRS_CRR; - if (rtb_Gain2 < 0) { - rtb_Gain2 = 0; - } - - rtb_DataTypeConversion1_hy = g_aucREAR_CENT_DRS_PERCENT_AF[rtb_Gain2 - 1]; - } - - /* : AF_with_DRS_L = double(side_percent_L + center_percent_L) / 2 * double(AF_L) * 0.01; */ - rtb_Gain2 = (int32_t)((uint32_t)min_side_L + max_side_L); - if ((uint32_t)rtb_Gain2 > 255U) { - rtb_Gain2 = 255; - } - - rtb_duct_select_index_dbg_c = (double)rtb_Gain2 / 2.0 * (double)rtb_out_g1d * - 0.01; - - /* : AF_with_DRS_R = double(side_percent_R + center_percent_R) / 2 * double(AF_R) * 0.01; */ - rtb_Gain2 = (int32_t)((uint32_t)LowTempValve + rtb_DataTypeConversion1_hy); - if ((uint32_t)rtb_Gain2 > 255U) { - rtb_Gain2 = 255; - } - - rtb_I_od = (double)rtb_Gain2 / 2.0 * (double)rtb_out_e2e * 0.01; - - /* End of MATLAB Function: '/ïóíêò 24 (DRS for AF)' */ - - /* MATLAB Function: '/MATLAB Function' */ - /* : if AF_L > AF_R */ - if (rtb_duct_select_index_dbg_c > rtb_I_od) { - /* : AF_coef = AF_L / AF_R; */ - rtb_Divide7 = rtb_duct_select_index_dbg_c / rtb_I_od; - } else { - /* : else */ - /* : AF_coef = AF_R / AF_L; */ - rtb_Divide7 = rtb_I_od / rtb_duct_select_index_dbg_c; - } - - /* : PWM_ratio = 1.2 - ((7 - AF_coef)/(7 - 1)*(1.2 - 1)); */ - /* : PWM = PWM_ratio * (AF_L + AF_R) / 4; */ - rtB.PWM = (1.2 - (7.0 - rtb_Divide7) / 6.0 * 0.19999999999999996) * - (rtb_duct_select_index_dbg_c + rtb_I_od) / 4.0; - - /* End of MATLAB Function: '/MATLAB Function' */ - } - - /* End of Outputs for SubSystem: '/DIFFERENT BLOWER - Rear' */ - - /* DataStoreWrite: '/Data Store Write1' */ - for (i = 0; i < 6; i++) { - rtDW.DifferentBlower_Rear_valves[i] = rtB.DataTypeConversion2[i]; - } - - /* End of DataStoreWrite: '/Data Store Write1' */ - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.FrontWindowHeating_req = rtDW.electric_demist_started; - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * Constant: '/const2' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator5' - */ - if (rtDW.electric_demist_started) { - rtb_Gain2 = 1; - } else { - rtb_Gain2 = (rtDW.AMB <= g_ssAUTODEMIST_ELEC_AMB_ENTRY); - } - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator7' - */ - if (rtb_Divide1 <= g_assAUTODEMIST_ELEC_WINDSHELD_TEMP[1]) { - /* Switch: '/Switch1' incorporates: - * Constant: '/const1' - * DataStoreRead: '/Data Store Read1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator5' - */ - if (rtDW.electric_demist_started) { - rtb_Cmd_3Way = 1; - } else { - rtb_Cmd_3Way = (rtb_Divide1 <= g_assAUTODEMIST_ELEC_WINDSHELD_TEMP[0]); - } - - /* End of Switch: '/Switch1' */ - } else { - rtb_Cmd_3Way = 0; - } - - /* Logic: '/AND' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator6' - * Switch: '/Switch' - * Switch: '/Switch2' - */ - rtDW.electric_demist_started = ((rtDW.FrontWindowHeating_manual_on != 1) && - (rtb_Gain2 != 0) && (rtDW.CCU_MODE_FL == 1) && (rtb_Cmd_3Way != 0) && - (rtDW.step_start_controle_front == 3)); - - /* RelationalOperator: '/Equal' incorporates: - * Constant: '/vent_rear' - * DataStoreRead: '/Data Store Read16' - */ - rtb_LogicalOperator3 = (rtDW.Index_mode_RL == 120); - - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/vent_rear1' - * DataStoreRead: '/Data Store Read17' - */ - Enable_Comp_PID = (rtDW.Index_mode_RR == 120); - - /* Outputs for Atomic SubSystem: '/FOOT2_CONTROL' */ - /* Lookup_n-D: '/DuctTgt_Plus_LV3' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_DataTypeConversion1_oq = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, - &g_assFoot2_Lv3_Amb[0], &g_assFoot2_Lv3_DuctTgt_Plus[0], 5U); - - /* Lookup_n-D: '/DuctTgt_Plus_LV4' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_Switch2_nb = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFoot2_Lv4_Amb[0], - &g_assFoot2_Lv4_DuctTgt_Plus[0], 5U); - - /* Lookup_n-D: '/DuctTgt_Plus_LV5' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_Switch4_f5 = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFoot2_Lv5_Amb[0], - &g_assFoot2_Lv5_DuctTgt_Plus[0], 5U); - - /* MATLAB Function: '/Foot2DuctControl_Limo_RL' */ - /* : Foot2Duct_FL = int16(0); */ - rtb_Switch5_l = 0; - - /* : is_active = false; */ - rtb_err = false; - - /* MATLAB Function: '/Foot2DuctControl_Limo_RR' */ - /* : if CAL_VARIANT ~= 3 */ - /* : Foot2Duct_FR = int16(0); */ - rtb_Switch6_c = 0; - - /* : is_active = false; */ - CCU_AC_FRONT_req_summary = false; - - /* MATLAB Function: '/Foot2DuctControl_Limo_RL' incorporates: - * Constant: '/auto5' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read9' - * MATLAB Function: '/Foot2DuctControl_Limo_RR' - */ - /* : if CAL_VARIANT ~= 3 */ - if (g_ucCAL_VARIANT == 3) { - /* : if (RL_Mode == 0 || RL_Mode == 2) && (RL_Direction_Vent == 1) */ - if (((rtDW.CCU_MODE_RL == 0) || (rtDW.CCU_MODE_RL == 2)) && - rtb_LogicalOperator3) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_err = true; - - /* : if FIU_RL_footBlowDis_Req == 1 */ - } else if (rtDW.CCU_foot_blower_dis_RL == 1) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_err = true; - } else { - /* : switch ambLV */ - switch (rtDW.LEVEL) { - case 0U: - case 1U: - /* : case {0, 1} */ - /* : Foot2Duct_FL = int16(100); */ - rtb_Switch5_l = 100; - - /* : is_active = true; */ - rtb_err = true; - break; - - case 2U: - /* : case 2 */ - /* : if RL_Rset < 210 */ - if (rtDW.CCU_SET_RL < 210) { - /* : Foot2Duct_FL = int16(50); */ - rtb_Switch5_l = 50; - - /* : is_active = true; */ - rtb_err = true; - } else { - /* : else */ - /* : Foot2Duct_FL = int16(100); */ - rtb_Switch5_l = 100; - - /* : is_active = true; */ - rtb_err = true; - } - break; - - case 3U: - /* : case 3 */ - /* : if RL_Rset < 210 */ - if (rtDW.CCU_SET_RL < 210) { - /* : Foot2Duct_FL = int16(50); */ - rtb_Switch5_l = 50; - - /* : is_active = true; */ - rtb_err = true; - } else { - /* : else */ - /* : Foot2Duct_FL = int16(100); */ - rtb_Switch5_l = 100; - - /* : is_active = true; */ - rtb_err = true; - } - break; - - case 4U: - case 5U: - /* : case {4, 5} */ - /* : if RL_Rset < 210 */ - if (rtDW.CCU_SET_RL < 210) { - /* : Foot2Duct_FL = int16(50); */ - rtb_Switch5_l = 50; - - /* : is_active = true; */ - rtb_err = true; - } else { - /* : else */ - /* : Foot2Duct_FL = int16(100); */ - rtb_Switch5_l = 100; - - /* : is_active = true; */ - rtb_err = true; - } - break; - - default: - /* : otherwise */ - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_err = true; - break; - } - } - - /* : if (RR_Mode == 0 || RR_Mode == 2) && (RR_Direction_Vent == 1) */ - if (((rtDW.CCU_MODE_RR == 0) || (rtDW.CCU_MODE_RR == 2)) && Enable_Comp_PID) - { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - - /* : if FIU_RR_footBlowDis_Req == 1 */ - } else if (rtDW.CCU_foot_blower_dis_RR == 1) { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - } else { - /* : switch ambLV */ - switch (rtDW.LEVEL) { - case 0U: - case 1U: - /* : case {0, 1} */ - /* : Foot2Duct_FR = int16(100); */ - rtb_Switch6_c = 100; - - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - break; - - case 2U: - /* : case 2 */ - /* : if RR_Rset < 210 */ - if (rtDW.Duct_RR_Tg < 210) { - /* : Foot2Duct_FR = int16(50); */ - rtb_Switch6_c = 50; - - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - } else { - /* : else */ - /* : Foot2Duct_FR = int16(100); */ - rtb_Switch6_c = 100; - - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - } - break; - - case 3U: - /* : case 3 */ - /* : if RR_Rset < 210 */ - if (rtDW.Duct_RR_Tg < 210) { - /* : Foot2Duct_FR = int16(50); */ - rtb_Switch6_c = 50; - - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - } else { - /* : else */ - /* : Foot2Duct_FR = int16(100); */ - rtb_Switch6_c = 100; - - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - } - break; - - case 4U: - case 5U: - /* : case {4, 5} */ - /* : if RR_Rset < 210 */ - if (rtDW.Duct_RR_Tg < 210) { - /* : Foot2Duct_FR = int16(50); */ - rtb_Switch6_c = 50; - - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - } else { - /* : else */ - /* : Foot2Duct_FR = int16(100); */ - rtb_Switch6_c = 100; - - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - } - break; - - default: - /* : otherwise */ - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - CCU_AC_FRONT_req_summary = true; - break; - } - } - } - - /* Lookup_n-D: '/FrontBlr_LV0' incorporates: - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Lookup_n-D: '/FrontBlr_LV1' - */ - rtb_FrontBlr_LV0_tmp = look1_iu16lu64n48Ds32Is16_binlcs((uint16_t)(10U * - rtDW.PWM_front), &g_ausFoot2_Lv1_Foot2Act_Y[0], &g_ausFoot2_Lv1_FrontBlr_X[0], - 2U); - - /* MATLAB Function: '/Foot2DuctControl_RL' incorporates: - * Constant: '/auto1' - * Constant: '/auto2' - * Constant: '/auto3' - * Constant: '/auto4' - * Constant: '/auto5' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read36' - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * Lookup_n-D: '/FrontBlr_LV0' - */ - /* : if isempty(hystLV2_FL) */ - /* : if isempty(hystLV3_FL) */ - /* : Foot2Duct_FL = int16(0); */ - rtb_Foot2Duct_FL = 0; - - /* : is_active = false; */ - rtb_LogicalOperator6 = false; - - /* : if CAL_VARIANT == 3 */ - if (g_ucCAL_VARIANT != 3) { - /* : if (RL_Mode == 0 || RL_Mode == 2) && (RL_Direction_Vent == 1) */ - if (((rtDW.CCU_MODE_RL == 0) || (rtDW.CCU_MODE_RL == 2)) && - rtb_LogicalOperator3) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - - /* : hystLV2_FL = false; */ - rtDW.hystLV2_FL = false; - - /* : hystLV3_FL = false; */ - rtDW.hystLV3_FL = false; - - /* : if FIU_RL_footBlowDis_Req == 1 */ - } else if (rtDW.CCU_foot_blower_dis_RL == 1) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - - /* : hystLV2_FL = false; */ - rtDW.hystLV2_FL = false; - - /* : hystLV3_FL = false; */ - rtDW.hystLV3_FL = false; - } else { - /* : switch ambLV */ - switch (rtDW.LEVEL) { - case 0U: - /* : case 0 */ - /* : hystLV2_FL = false; */ - rtDW.hystLV2_FL = false; - - /* : hystLV3_FL = false; */ - rtDW.hystLV3_FL = false; - - /* : if RL_Rset >= 250 */ - if (rtDW.CCU_SET_RL >= 250) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - rtb_Gain2 = Duct3_F - 120; - if (Duct3_F - 120 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_Cmd_3Way = Duct3_F + 80; - if (Duct3_F + 80 > 32767) { - rtb_Cmd_3Way = 32767; - } - - if ((rtb_Gain2 <= rtb_FLU_tg_correct_p) && (rtb_FLU_tg_correct_p <= - rtb_Cmd_3Way)) { - /* : elseif (FL_DuctFb - 120 <= RL_Dtg) && (RL_Dtg <= FL_DuctFb + 80) */ - /* : Foot2Duct_FL = int16(FrontBlr_LV0); */ - rtb_Foot2Duct_FL = rtb_FrontBlr_LV0_tmp; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } - } - break; - - case 1U: - /* : case 1 */ - /* : hystLV2_FL = false; */ - rtDW.hystLV2_FL = false; - - /* : hystLV3_FL = false; */ - rtDW.hystLV3_FL = false; - - /* : if RL_Rset >= 250 */ - if (rtDW.CCU_SET_RL >= 250) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - rtb_Gain2 = Duct3_F - 120; - if (Duct3_F - 120 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_Cmd_3Way = Duct3_F + 80; - if (Duct3_F + 80 > 32767) { - rtb_Cmd_3Way = 32767; - } - - if ((rtb_Gain2 <= rtb_FLU_tg_correct_p) && (rtb_FLU_tg_correct_p <= - rtb_Cmd_3Way)) { - /* : elseif (FL_DuctFb - 120 <= RL_Dtg) && (RL_Dtg <= FL_DuctFb + 80) */ - /* : Foot2Duct_FL = int16(FrontBlr_LV1); */ - rtb_Foot2Duct_FL = rtb_FrontBlr_LV0_tmp; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } - } - break; - - case 2U: - /* : case 2 */ - /* : hystLV3_FL = false; */ - rtDW.hystLV3_FL = false; - - /* : diffVal = Sen_Duct_RL_Side_Fb - Sen_Duct_FL_Lower_Tgt; */ - /* : if hystLV2_FL */ - if (rtDW.hystLV2_FL) { - /* : diffActive = diffVal > Threshold_Diff_OFF_LV2; */ - rtb_Gain2 = Duct5_F - rtb_FLU_tg_correct_b; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_LogicalOperator8 = (rtb_Gain2 > g_assFoot2_Lv2_Threshold_Diff[1]); - } else { - /* : else */ - /* : diffActive = diffVal > Threshold_Diff_ON_LV2; */ - rtb_Gain2 = Duct5_F - rtb_FLU_tg_correct_b; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_LogicalOperator8 = (rtb_Gain2 > g_assFoot2_Lv2_Threshold_Diff[0]); - } - - /* : hystLV2_FL = diffActive; */ - rtDW.hystLV2_FL = rtb_LogicalOperator8; - - /* : if FLL_DuctTg < 300 */ - if (rtb_FLU_tg_correct_b < 300) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - rtb_Gain2 = rtb_FLU_tg_correct_p + 300; - if (rtb_FLU_tg_correct_p + 300 > 32767) { - rtb_Gain2 = 32767; - } - - if ((rtb_FLU_tg_correct_b > rtb_Gain2) || (rtDW.CCU_SET_RL < 190)) { - /* : elseif (FLL_DuctTg > RL_Dtg + 300) || (RL_Rset < 190) */ - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else if ((rtDW.CCU_SET_RL < 210) && (rtDW.CCU_SET_RL > 190)) { - /* : elseif (RL_Rset < 210) && (RL_Rset > 190) */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else if (rtb_LogicalOperator8) { - /* : elseif diffActive */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - rtb_Gain2 = rtb_FLU_tg_correct_p + 200; - if (rtb_FLU_tg_correct_p + 200 > 32767) { - rtb_Gain2 = 32767; - } - - if (rtb_FLU_tg_correct_b >= rtb_Gain2) { - /* : elseif FLL_DuctTg >= RL_Dtg + 200 */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - rtb_Gain2 = rtb_FLU_tg_correct_p + 200; - if (rtb_FLU_tg_correct_p + 200 > 32767) { - rtb_Gain2 = 32767; - } - - if (rtb_FLU_tg_correct_b < rtb_Gain2) { - /* : elseif FLL_DuctTg < RL_Dtg + 200 */ - /* : Foot2Duct_FL = int16(100); */ - rtb_Foot2Duct_FL = 100; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } - } - } - } - break; - - case 3U: - /* : case 3 */ - /* : hystLV2_FL = false; */ - rtDW.hystLV2_FL = false; - - /* : diffVal = Sen_Duct_RL_Side_Fb - Sen_Duct_FL_Lower_Tgt; */ - /* : if hystLV3_FL */ - if (rtDW.hystLV3_FL) { - /* : diffActive = diffVal > Threshold_Diff_OFF_LV3; */ - rtb_Gain2 = Duct5_F - rtb_FLU_tg_correct_b; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_LogicalOperator8 = (rtb_Gain2 > g_assFoot2_Lv3_Threshold_Diff[1]); - } else { - /* : else */ - /* : diffActive = diffVal > Threshold_Diff_ON_LV3; */ - rtb_Gain2 = Duct5_F - rtb_FLU_tg_correct_b; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_LogicalOperator8 = (rtb_Gain2 > g_assFoot2_Lv3_Threshold_Diff[0]); - } - - /* : hystLV3_FL = diffActive; */ - rtDW.hystLV3_FL = rtb_LogicalOperator8; - - /* : if FLL_DuctTg < 400 */ - if (rtb_FLU_tg_correct_b < 400) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else if (rtDW.CCU_SET_RL < 200) { - /* : elseif RL_Rset < 200 */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else if (rtb_LogicalOperator8) { - /* : elseif diffActive */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - rtb_Gain2 = rtb_FLU_tg_correct_p + rtb_DataTypeConversion1_oq; - rtb_Cmd_3Way = rtb_Gain2; - if (rtb_Gain2 > 32767) { - rtb_Cmd_3Way = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Cmd_3Way = -32768; - } - - if (rtb_FLU_tg_correct_b >= rtb_Cmd_3Way) { - /* : elseif FLL_DuctTg >= RL_Dtg + Dtgplus_LV3 */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - if (rtb_FLU_tg_correct_b < rtb_Gain2) { - /* : elseif FLL_DuctTg < RL_Dtg + Dtgplus_LV3 */ - /* : Foot2Duct_FL = int16(100); */ - rtb_Foot2Duct_FL = 100; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } - } - } - break; - - case 4U: - /* : case 4 */ - /* : hystLV2_FL = false; */ - rtDW.hystLV2_FL = false; - - /* : hystLV3_FL = false; */ - rtDW.hystLV3_FL = false; - - /* : if FLL_DuctTg < 400 */ - if (rtb_FLU_tg_correct_b < 400) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else if (rtDW.CCU_SET_RL < 215) { - /* : elseif RL_Rset < 215 */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - rtb_Gain2 = rtb_FLU_tg_correct_p + rtb_Switch2_nb; - rtb_Cmd_3Way = rtb_Gain2; - if (rtb_Gain2 > 32767) { - rtb_Cmd_3Way = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Cmd_3Way = -32768; - } - - if (rtb_FLU_tg_correct_b > rtb_Cmd_3Way) { - /* : elseif FLL_DuctTg > RL_Dtg + Dtgplus_LV4 */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - if (rtb_FLU_tg_correct_b < rtb_Gain2) { - /* : elseif FLL_DuctTg < RL_Dtg + Dtgplus_LV4 */ - /* : Foot2Duct_FL = int16(100); */ - rtb_Foot2Duct_FL = 100; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } - } - } - break; - - case 5U: - /* : case 5 */ - /* : hystLV2_FL = false; */ - rtDW.hystLV2_FL = false; - - /* : hystLV3_FL = false; */ - rtDW.hystLV3_FL = false; - - /* : if FLL_DuctTg < 400 */ - if (rtb_FLU_tg_correct_b < 400) { - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else if (rtDW.CCU_SET_RL < 215) { - /* : elseif RL_Rset < 215 */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - rtb_Gain2 = rtb_FLU_tg_correct_p + rtb_Switch4_f5; - rtb_Cmd_3Way = rtb_Gain2; - if (rtb_Gain2 > 32767) { - rtb_Cmd_3Way = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Cmd_3Way = -32768; - } - - if (rtb_FLU_tg_correct_b > rtb_Cmd_3Way) { - /* : elseif FLL_DuctTg > RL_Dtg + Dtgplus_LV5 */ - /* : Foot2Duct_FL = int16(50); */ - rtb_Foot2Duct_FL = 50; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } else { - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - if (rtb_FLU_tg_correct_b < rtb_Gain2) { - /* : elseif FLL_DuctTg < RL_Dtg + Dtgplus_LV5 */ - /* : Foot2Duct_FL = int16(100); */ - rtb_Foot2Duct_FL = 100; - - /* : is_active = true; */ - rtb_LogicalOperator6 = true; - } - } - } - break; - - default: - /* : otherwise */ - /* : hystLV2_FL = false; */ - rtDW.hystLV2_FL = false; - - /* : hystLV3_FL = false; */ - rtDW.hystLV3_FL = false; - - /* : Foot2Duct_FL = int16(0); */ - /* : is_active = false; */ - break; - } - } - } - - /* End of MATLAB Function: '/Foot2DuctControl_RL' */ - - /* MATLAB Function: '/Foot2DuctControl_RR' incorporates: - * Constant: '/auto1' - * Constant: '/auto2' - * Constant: '/auto3' - * Constant: '/auto4' - * Constant: '/auto5' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read14' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * Lookup_n-D: '/FrontBlr_LV0' - */ - /* : if isempty(hystLV2_FR) */ - /* : if isempty(hystLV3_FR) */ - /* : Foot2Duct_FR = int16(0); */ - rtb_Foot2Duct_FR = 0; - - /* : is_active = false; */ - rtb_LogicalOperator3 = false; - - /* : if CAL_VARIANT == 3 */ - if (g_ucCAL_VARIANT != 3) { - /* : if (RR_Mode == 0 || RR_Mode == 2) && (RR_Direction_Vent == 1) */ - if (((rtDW.CCU_MODE_RR == 0) || (rtDW.CCU_MODE_RR == 2)) && Enable_Comp_PID) - { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - - /* : hystLV2_FR = false; */ - rtDW.hystLV2_FR = false; - - /* : hystLV3_FR = false; */ - rtDW.hystLV3_FR = false; - - /* : if FIU_RR_footBlowDis_Req == 1 */ - } else if (rtDW.CCU_foot_blower_dis_RR == 1) { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - - /* : hystLV2_FR = false; */ - rtDW.hystLV2_FR = false; - - /* : hystLV3_FR = false; */ - rtDW.hystLV3_FR = false; - } else { - /* : switch ambLV */ - switch (rtDW.LEVEL) { - case 0U: - /* : case 0 */ - /* : hystLV2_FR = false; */ - rtDW.hystLV2_FR = false; - - /* : hystLV3_FR = false; */ - rtDW.hystLV3_FR = false; - - /* : if RR_Rset >= 250 */ - if (rtDW.CCU_SET_RR >= 250) { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - rtb_Gain2 = Duct4_F - 120; - if (Duct4_F - 120 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_Cmd_3Way = Duct4_F + 80; - if (Duct4_F + 80 > 32767) { - rtb_Cmd_3Way = 32767; - } - - if ((rtb_Gain2 <= rtDW.Duct_RR_Tg) && (rtDW.Duct_RR_Tg <= rtb_Cmd_3Way)) - { - /* : elseif (FR_DuctFb - 120 <= RR_Dtg) && (RR_Dtg <= FR_DuctFb + 80) */ - /* : Foot2Duct_FR = int16(FrontBlr_LV0); */ - rtb_Foot2Duct_FR = rtb_FrontBlr_LV0_tmp; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } - } - break; - - case 1U: - /* : case 1 */ - /* : hystLV2_FR = false; */ - rtDW.hystLV2_FR = false; - - /* : hystLV3_FR = false; */ - rtDW.hystLV3_FR = false; - - /* : if RR_Rset >= 250 */ - if (rtDW.CCU_SET_RR >= 250) { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - rtb_Gain2 = Duct4_F - 120; - if (Duct4_F - 120 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_Cmd_3Way = Duct4_F + 80; - if (Duct4_F + 80 > 32767) { - rtb_Cmd_3Way = 32767; - } - - if ((rtb_Gain2 <= rtDW.Duct_RR_Tg) && (rtDW.Duct_RR_Tg <= rtb_Cmd_3Way)) - { - /* : elseif (FR_DuctFb - 120 <= RR_Dtg) && (RR_Dtg <= FR_DuctFb + 80) */ - /* : Foot2Duct_FR = int16(FrontBlr_LV1); */ - rtb_Foot2Duct_FR = rtb_FrontBlr_LV0_tmp; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } - } - break; - - case 2U: - /* : case 2 */ - /* : hystLV3_FR = false; */ - rtDW.hystLV3_FR = false; - - /* : diffVal = Sen_Duct_RR_Side_Fb - Sen_Duct_FR_Lower_Tgt; */ - /* : if hystLV2_FR */ - if (rtDW.hystLV2_FR) { - /* : diffActive = diffVal > Threshold_Diff_OFF_LV2; */ - rtb_Gain2 = Duct6_F - rtb_y_he; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_LogicalOperator8 = (rtb_Gain2 > g_assFoot2_Lv2_Threshold_Diff[1]); - } else { - /* : else */ - /* : diffActive = diffVal > Threshold_Diff_ON_LV2; */ - rtb_Gain2 = Duct6_F - rtb_y_he; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_LogicalOperator8 = (rtb_Gain2 > g_assFoot2_Lv2_Threshold_Diff[0]); - } - - /* : hystLV2_FR = diffActive; */ - rtDW.hystLV2_FR = rtb_LogicalOperator8; - - /* : if FLR_DuctTg < 300 */ - if (rtb_y_he < 300) { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - rtb_Gain2 = rtDW.Duct_RR_Tg + 300; - if (rtDW.Duct_RR_Tg + 300 > 32767) { - rtb_Gain2 = 32767; - } - - if ((rtb_y_he > rtb_Gain2) || (rtDW.CCU_SET_RR < 190)) { - /* : elseif (FLR_DuctTg > RR_Dtg + 300) || (RR_Rset < 190) */ - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else if ((rtDW.CCU_SET_RR < 210) && (rtDW.CCU_SET_RR > 190)) { - /* : elseif (RR_Rset < 210) && (RR_Rset > 190) */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else if (rtb_LogicalOperator8) { - /* : elseif diffActive */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - rtb_Gain2 = rtDW.Duct_RR_Tg + 200; - if (rtDW.Duct_RR_Tg + 200 > 32767) { - rtb_Gain2 = 32767; - } - - if (rtb_y_he >= rtb_Gain2) { - /* : elseif FLR_DuctTg >= RR_Dtg + 200 */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - rtb_Gain2 = rtDW.Duct_RR_Tg + 200; - if (rtDW.Duct_RR_Tg + 200 > 32767) { - rtb_Gain2 = 32767; - } - - if (rtb_y_he < rtb_Gain2) { - /* : elseif FLR_DuctTg < RR_Dtg + 200 */ - /* : Foot2Duct_FR = int16(100); */ - rtb_Foot2Duct_FR = 100; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } - } - } - } - break; - - case 3U: - /* : case 3 */ - /* : hystLV2_FR = false; */ - rtDW.hystLV2_FR = false; - - /* : diffVal = Sen_Duct_RR_Side_Fb - Sen_Duct_FR_Lower_Tgt; */ - /* : if hystLV3_FR */ - if (rtDW.hystLV3_FR) { - /* : diffActive = diffVal > Threshold_Diff_OFF_LV3; */ - rtb_Gain2 = Duct6_F - rtb_y_he; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_LogicalOperator8 = (rtb_Gain2 > g_assFoot2_Lv3_Threshold_Diff[1]); - } else { - /* : else */ - /* : diffActive = diffVal > Threshold_Diff_ON_LV3; */ - rtb_Gain2 = Duct6_F - rtb_y_he; - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - rtb_LogicalOperator8 = (rtb_Gain2 > g_assFoot2_Lv3_Threshold_Diff[0]); - } - - /* : hystLV3_FR = diffActive; */ - rtDW.hystLV3_FR = rtb_LogicalOperator8; - - /* : if FLR_DuctTg < 400 */ - if (rtb_y_he < 400) { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else if (rtDW.CCU_SET_RR < 200) { - /* : elseif RR_Rset < 200 */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else if (rtb_LogicalOperator8) { - /* : elseif diffActive */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - rtb_Gain2 = rtDW.Duct_RR_Tg + rtb_DataTypeConversion1_oq; - rtb_Cmd_3Way = rtb_Gain2; - if (rtb_Gain2 > 32767) { - rtb_Cmd_3Way = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Cmd_3Way = -32768; - } - - if (rtb_y_he >= rtb_Cmd_3Way) { - /* : elseif FLR_DuctTg >= RR_Dtg + Dtgplus_LV3 */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - if (rtb_y_he < rtb_Gain2) { - /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV3 */ - /* : Foot2Duct_FR = int16(100); */ - rtb_Foot2Duct_FR = 100; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } - } - } - break; - - case 4U: - /* : case 4 */ - /* : hystLV2_FR = false; */ - rtDW.hystLV2_FR = false; - - /* : hystLV3_FR = false; */ - rtDW.hystLV3_FR = false; - - /* : if FLR_DuctTg < 400 */ - if (rtb_y_he < 400) { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else if (rtDW.CCU_SET_RR < 215) { - /* : elseif RR_Rset < 215 */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - rtb_Gain2 = rtDW.Duct_RR_Tg + rtb_Switch2_nb; - rtb_Cmd_3Way = rtb_Gain2; - if (rtb_Gain2 > 32767) { - rtb_Cmd_3Way = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Cmd_3Way = -32768; - } - - if (rtb_y_he > rtb_Cmd_3Way) { - /* : elseif FLR_DuctTg > RR_Dtg + Dtgplus_LV4 */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - if (rtb_y_he < rtb_Gain2) { - /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV4 */ - /* : Foot2Duct_FR = int16(100); */ - rtb_Foot2Duct_FR = 100; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } - } - } - break; - - case 5U: - /* : case 5 */ - /* : hystLV2_FR = false; */ - rtDW.hystLV2_FR = false; - - /* : hystLV3_FR = false; */ - rtDW.hystLV3_FR = false; - - /* : if FLR_DuctTg < 400 */ - if (rtb_y_he < 400) { - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else if (rtDW.CCU_SET_RR < 215) { - /* : elseif RR_Rset < 215 */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - rtb_Gain2 = rtDW.Duct_RR_Tg + rtb_Switch4_f5; - rtb_Cmd_3Way = rtb_Gain2; - if (rtb_Gain2 > 32767) { - rtb_Cmd_3Way = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Cmd_3Way = -32768; - } - - if (rtb_y_he > rtb_Cmd_3Way) { - /* : elseif FLR_DuctTg > RR_Dtg + Dtgplus_LV5 */ - /* : Foot2Duct_FR = int16(50); */ - rtb_Foot2Duct_FR = 50; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } else { - if (rtb_Gain2 > 32767) { - rtb_Gain2 = 32767; - } else if (rtb_Gain2 < -32768) { - rtb_Gain2 = -32768; - } - - if (rtb_y_he < rtb_Gain2) { - /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV5 */ - /* : Foot2Duct_FR = int16(100); */ - rtb_Foot2Duct_FR = 100; - - /* : is_active = true; */ - rtb_LogicalOperator3 = true; - } - } - } - break; - - default: - /* : otherwise */ - /* : hystLV2_FR = false; */ - rtDW.hystLV2_FR = false; - - /* : hystLV3_FR = false; */ - rtDW.hystLV3_FR = false; - - /* : Foot2Duct_FR = int16(0); */ - /* : is_active = false; */ - break; - } - } - } - - /* End of MATLAB Function: '/Foot2DuctControl_RR' */ - - /* Logic: '/OR' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.Foot2_control_FL_is_active = (rtb_LogicalOperator6 || rtb_err); - - /* Logic: '/OR1' incorporates: - * DataStoreWrite: '/Data Store Write3' - */ - rtDW.Foot2_control_FR_is_active = (rtb_LogicalOperator3 || - CCU_AC_FRONT_req_summary); - - /* Sum: '/Sum' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Foot2_control_FL = (uint16_t)(rtb_Foot2Duct_FL + rtb_Switch5_l); - - /* Sum: '/Sum1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.Foot2_control_FR = (uint16_t)(rtb_Foot2Duct_FR + rtb_Switch6_c); - - /* End of Outputs for SubSystem: '/FOOT2_CONTROL' */ - - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read16' - * DataStoreWrite: '/Data Store Write13' - */ - if (rtDW.CCUCAN_DW_STATE_model.DW_GlassPosition_Stat == 2) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Lookup_n-D: '/1-D Lookup Table' - * Merge: '/Merge' - * UnaryMinus: '/Unary Minus' - */ - rtDW.GlassPosition_AF_plus_L = (int16_t)-(int16_t)look1_iu16lu64n48_binlcse - (rtDW.CCU_SET_FL, rtConstP.pooled76, &g_ausMinusAF_GlassPos_L[0], 12U); - - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' */ - IfActionSubsystem2(&rtDW.GlassPosition_AF_plus_L); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } - - /* End of If: '/If' */ - - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read16' - * DataStoreWrite: '/Data Store Write13' - */ - if (rtDW.CCUCAN_DW_STATE_model.DW_GlassPosition_Stat == 2) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataTypeConversion: '/Data Type Conversion' - * Lookup_n-D: '/1-D Lookup Table1' - * Merge: '/Merge1' - * UnaryMinus: '/Unary Minus' - */ - rtDW.GlassPosition_AF_plus_R = (int16_t)-(int16_t)look1_iu16lu64n48_binlcse - (rtDW.CCU_SET_FR, rtConstP.pooled76, &g_ausMinusAF_GlassPos_R[0], 12U); - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem5' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' */ - IfActionSubsystem2(&rtDW.GlassPosition_AF_plus_R); - - /* End of Outputs for SubSystem: '/If Action Subsystem5' */ - } - - /* End of If: '/If1' */ - - /* BusCreator: '/Bus Creator2' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read14' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read16' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write2' - * Sum: '/Add' - * Sum: '/Add1' - * Sum: '/Add10' - * Sum: '/Add11' - * Sum: '/Add12' - * Sum: '/Add13' - * Sum: '/Add14' - * Sum: '/Add15' - * Sum: '/Add16' - * Sum: '/Add17' - * Sum: '/Add2' - * Sum: '/Add3' - * Sum: '/Add4' - * Sum: '/Add5' - * Sum: '/Add6' - * Sum: '/Add7' - * Sum: '/Add8' - * Sum: '/Add9' - */ - rtDW.Status_Sensor_model_IO.Ignition = 0U; - rtDW.Status_Sensor_model_IO.Battery = 0U; - rtDW.Status_Sensor_model_IO.AMB = (uint16_t)(rtDW.AMB + 400); - rtDW.Status_Sensor_model_IO.Incar_FL = (uint16_t)(rtDW.Incar_FL + 400); - rtDW.Status_Sensor_model_IO.Incar_FR = (uint16_t)(rtDW.Incar_FR + 400); - rtDW.Status_Sensor_model_IO.Incar_RL = (uint16_t)(rtDW.Incar_RL + 400); - rtDW.Status_Sensor_model_IO.Incar_RR = (uint16_t)(rtDW.Incar_RR + 400); - rtDW.Status_Sensor_model_IO.Eva_F = (uint16_t)(rtDW.Eva_F + 400); - rtDW.Status_Sensor_model_IO.Eva_R = (uint16_t)(rtDW.Eva_R + 400); - rtDW.Status_Sensor_model_IO.Pressure = (uint16_t)(rtDW.Pressure + 400); - rtDW.Status_Sensor_model_IO.Duct_FL_Upper = (uint16_t)(Duct1_F + 400); - rtDW.Status_Sensor_model_IO.Duct_FL_Lower = (uint16_t)(Duct3_F + 400); - rtDW.Status_Sensor_model_IO.Duct_FR_Upper = (uint16_t)(rtb_FLU_tg_correct_cz + - 400); - rtDW.Status_Sensor_model_IO.Duct_FR_Lower = (uint16_t)(Duct4_F + 400); - rtDW.Status_Sensor_model_IO.Duct_RL = (uint16_t)(rtb_MultiportSwitch_cq + 400); - rtDW.Status_Sensor_model_IO.Duct_RR = (uint16_t)(rtb_X + 400); - rtDW.Status_Sensor_model_IO.Duct_Side_FL = (uint16_t)(Duct5_F + 400); - rtDW.Status_Sensor_model_IO.Duct_Side_FR = (uint16_t)(Duct6_F + 400); - rtDW.Status_Sensor_model_IO.Duct_Side_RL = (uint16_t)(rtb_MultiportSwitch_ac + - 400); - rtDW.Status_Sensor_model_IO.Duct_Side_RR = (uint16_t)(rtb_Bias1_h + 400); - rtDW.Status_Sensor_model_IO.AQS = 0U; - - /* BusCreator: '/Bus Creator4' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * DataStoreRead: '/Data Store Read23' - * DataStoreRead: '/Data Store Read24' - * DataStoreRead: '/Data Store Read25' - * DataStoreRead: '/Data Store Read26' - * DataStoreWrite: '/Data Store Write4' - * Sum: '/Add18' - * Sum: '/Add19' - * Sum: '/Add20' - * Sum: '/Add21' - * Sum: '/Add22' - * Sum: '/Add23' - */ - rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Vent_FL = (uint16_t)(rtb_FLU_tg_correct - + 400); - rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Foot_FL = (uint16_t) - (rtb_FLU_tg_correct_b + 400); - rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Vent_FR = (uint16_t)(Duct_FRU_Tg + 400); - rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Foot_FR = (uint16_t)(rtb_y_he + 400); - rtDW.Status_Duct_Tgt_model_IO.DuctTgt_RL = (uint16_t)(rtb_FLU_tg_correct_p + - 400); - rtDW.Status_Duct_Tgt_model_IO.DuctTgt_RR = (uint16_t)(rtDW.Duct_RR_Tg + 400); - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Status_Duct_Select_model_IO.Duct_FL = 0U; - rtDW.Status_Duct_Select_model_IO.Duct_FR = 0U; - rtDW.Status_Duct_Select_model_IO.Duct_RL = 0U; - rtDW.Status_Duct_Select_model_IO.Duct_RR = 0U; - - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read27' - * DataStoreRead: '/Data Store Read28' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion6' - * DataTypeConversion: '/Data Type Conversion7' - */ - rtDW.Status_Eva_Tgt_model_IO.EvaTgt_F = (uint16_t)Eva_F_tg; - rtDW.Status_Eva_Tgt_model_IO.EvaTgt_R = (uint16_t)Eva_R_tg; - - /* BusCreator: '/Bus Creator3' incorporates: - * DataStoreRead: '/Data Store Read18' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read20' - * DataStoreWrite: '/Data Store Write3' - */ - rtDW.Status_Actuator_model_IO.Motor_Def = rtDW.MaxPositionCh0_private[0]; - rtDW.Status_Actuator_model_IO.Motor_Vent_SFL = rtDW.MaxPositionCh0_private[4]; - rtDW.Status_Actuator_model_IO.Motor_Vent_CFL = rtDW.MaxPositionCh0_private[5]; - rtDW.Status_Actuator_model_IO.Motor_Foot_1FL = rtDW.MaxPositionCh0_private[7]; - rtDW.Status_Actuator_model_IO.Motor_Foot_2FL = rtDW.MaxPositionCh0_private[8]; - rtDW.Status_Actuator_model_IO.Motor_Vent_CFR = rtDW.MaxPositionCh1_private[1]; - rtDW.Status_Actuator_model_IO.Motor_Vent_SFR = rtDW.MaxPositionCh1_private[2]; - rtDW.Status_Actuator_model_IO.Motor_Foot_1FR = rtDW.MaxPositionCh1_private[4]; - rtDW.Status_Actuator_model_IO.Motor_Foot_2FR = rtDW.MaxPositionCh1_private[5]; - rtDW.Status_Actuator_model_IO.Motor_Vent_SRL = rtDW.MaxPositionCh2_private[2]; - rtDW.Status_Actuator_model_IO.Motor_Vent_CRL = rtDW.MaxPositionCh2_private[4]; - rtDW.Status_Actuator_model_IO.Motor_Foot_RL = rtDW.MaxPositionCh2_private[3]; - rtDW.Status_Actuator_model_IO.Motor_Vent_CRR = rtDW.MaxPositionCh2_private[5]; - rtDW.Status_Actuator_model_IO.Motor_Vent_SRR = rtDW.MaxPositionCh2_private[7]; - rtDW.Status_Actuator_model_IO.Motor_Foot_RR = rtDW.MaxPositionCh2_private[6]; - rtDW.Status_Actuator_model_IO.Motor_Temp1_FL = rtDW.MaxPositionCh0_private[3]; - rtDW.Status_Actuator_model_IO.Motor_Temp2_FL = rtDW.MaxPositionCh0_private[6]; - rtDW.Status_Actuator_model_IO.Motor_Temp1_FR = rtDW.MaxPositionCh1_private[0]; - rtDW.Status_Actuator_model_IO.Motor_Temp2_FR = rtDW.MaxPositionCh1_private[3]; - rtDW.Status_Actuator_model_IO.Motor_Temp_RL = rtDW.MaxPositionCh2_private[0]; - rtDW.Status_Actuator_model_IO.Motor_Temp_RR = rtDW.MaxPositionCh2_private[1]; - rtDW.Status_Actuator_model_IO.Motor_REC = rtDW.MaxPositionCh0_private[1]; - rtDW.Status_Actuator_model_IO.Motor_OSA = rtDW.MaxPositionCh0_private[2]; - rtDW.Status_Actuator_model_IO.Motor_SealingValve = - rtDW.MaxPositionCh2_private[8]; - - /* DataStoreRead: '/Data Store Read87' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtY.DRS_output[0] = rtDW.DRS_SFL; - - /* DataStoreRead: '/Data Store Read89' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtY.DRS_output[1] = rtDW.DRS_CFL; - - /* DataStoreRead: '/Data Store Read90' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtY.DRS_output[2] = rtDW.DRS_CFR; - - /* DataStoreRead: '/Data Store Read88' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtY.DRS_output[3] = rtDW.DRS_SFR; - - /* DataStoreRead: '/Data Store Read93' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtY.DRS_output[4] = rtDW.DRS_SRL; - - /* DataStoreRead: '/Data Store Read94' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtY.DRS_output[5] = rtDW.DRS_SRR; - - /* DataStoreRead: '/Data Store Read91' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtY.DRS_output[6] = rtDW.DRS_CRL; - - /* DataStoreRead: '/Data Store Read92' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtY.DRS_output[7] = rtDW.DRS_CRR; - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - if (rtDW.CCU_MODE_FL > 0) { - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.ModeIndex[0] = rtDW.Index_mode_FL_auto; - } else { - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.ModeIndex[0] = rtDW.Index_mode_FL_manual; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - if (rtDW.CCU_MODE_FR > 0) { - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.ModeIndex[1] = rtDW.Index_mode_FR_auto; - } else { - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.ModeIndex[1] = rtDW.Index_mode_FR_manual; - } - - /* End of Switch: '/Switch1' */ - - /* Switch: '/Switch2' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write3' - */ - if (rtDW.CCU_MODE_RL > 0) { - rtDW.Index_mode_RL = (uint8_t)rtDW.Index_mode_RL_auto; - } else { - rtDW.Index_mode_RL = rtDW.Index_mode_RL_manual; - } - - /* End of Switch: '/Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write3' - */ - rtDW.ModeIndex[2] = rtDW.Index_mode_RL; - - /* Switch: '/Switch3' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write4' - */ - if (rtDW.CCU_MODE_RR > 0) { - rtDW.Index_mode_RR = (uint8_t)rtDW.Index_mode_RR_auto; - } else { - rtDW.Index_mode_RR = rtDW.Index_mode_RR_manual; - } - - /* End of Switch: '/Switch3' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write4' - */ - rtDW.ModeIndex[3] = rtDW.Index_mode_RR; - - /* Switch: '/Switch5' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.Entry_Button != 0) { - rtDW.CCU_Ionization_algo_active = rtDW.Entry_Button; - } else { - rtDW.CCU_Ionization_algo_active = rtDW.Entry_AirQS; - } - - /* End of Switch: '/Switch5' */ - - /* RelationalOperator: '/Relational Operator14' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write5' - */ - CCU_AC_FRONT_req_summary = (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTerm_Stat == - 1); - - /* Logic: '/AND2' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Relational Operator16' - * RelationalOperator: '/Relational Operator21' - */ - Enable_Comp_PID = ((rtb_Saturation_as > 0) && (Gain1 > 0)); - - /* RelationalOperator: '/Relational Operator17' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtb_err = (rtDW.Entry_AirQS == 1); - - /* RelationalOperator: '/Relational Operator9' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtb_LogicalOperator6 = (rtDW.CCU_Ionization == 1); - - /* RelationalOperator: '/Relational Operator18' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtb_LogicalOperator3 = (rtDW.CCU_IonizationErr_Stat != 1); - - /* Switch: '/Switch' incorporates: - * Constant: '/CO' - * Constant: '/Constant11' - * Constant: '/Constant17' - * Constant: '/NH3' - * Constant: '/NOX' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * Logic: '/OR2' - * RelationalOperator: '/Relational Operator10' - * RelationalOperator: '/Relational Operator11' - * RelationalOperator: '/Relational Operator12' - * Switch: '/Switch3' - */ - if (rtb_err) { - rtb_Gain2 = 0; - rtb_RelationalOperator6_f = true; - } else { - rtb_Gain2 = rtb_LogicalOperator6; - rtb_RelationalOperator6_f = ((rtDW.AirQS_COLvl >= g_aucAQS_REC_LV_CO[7]) || - (rtDW.AirQS_NOxLvl >= g_aucAQS_REC_LV_NOX[7]) || (rtDW.AirQS_NH3Lvl >= - g_aucAQS_REC_LV_NH3[7])); - } - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator1' - * Switch: '/Switch' - * Switch: '/Switch1' - */ - rtDW.Entry_Button = (uint8_t)(((rtDW.Entry_Button == 1) || - CCU_AC_FRONT_req_summary) && Enable_Comp_PID && (rtb_Gain2 != 0) && - rtb_LogicalOperator3); - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/CO' - * Constant: '/Constant14' - * Constant: '/NH3' - * Constant: '/NOX' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write2' - * Logic: '/AND1' - * Logic: '/AND3' - * Logic: '/NOT' - * Logic: '/NOT2' - * Logic: '/OR' - * RelationalOperator: '/Relational Operator13' - * RelationalOperator: '/Relational Operator15' - * RelationalOperator: '/Relational Operator19' - * Sum: '/Subtract1' - * Sum: '/Subtract2' - * Sum: '/Subtract3' - * Switch: '/Switch2' - * Switch: '/Switch3' - * Switch: '/Switch4' - */ - rtDW.Entry_AirQS = (uint8_t)(rtb_RelationalOperator6_f && Enable_Comp_PID && - (rtb_err || CCU_AC_FRONT_req_summary) && (((!rtb_err) || - rtb_LogicalOperator6) && ((rtDW.AirQS_COLvl >= g_aucAQS_REC_LV_CO[7] - 1) || - (rtDW.AirQS_NOxLvl >= g_aucAQS_REC_LV_NOX[7] - 1) || (rtDW.AirQS_NH3Lvl >= - g_aucAQS_REC_LV_NH3[7] - 1)) && rtb_LogicalOperator3)); - - /* Outputs for Enabled SubSystem: '/write 1 to ionizer' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreWrite: '/Data Store Write' */ - if (rtDW.CCU_Ionization_algo_active > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_Ionization = rtDW.CCU_Ionization_algo_active; - } - - /* End of Outputs for SubSystem: '/write 1 to ionizer' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtb_duct_select_index_dbg_c = 0.0; - - /* 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' - */ - rtb_Saturation2_a = rtDW.MaxPositionCh0_private[i]; - if (rtb_Saturation2_a != 0) { - rtb_I_od = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double) - rtb_Saturation2_a * 100.0; - } else { - rtb_I_od = 0.0; - } - - /* End of Switch: '/Switch' */ - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - if (rtb_I_od > 100.0) { - rtb_DataTypeConversion_p3[i] = 100U; - } else { - rtb_DataTypeConversion_p3[i] = (uint8_t)rtb_I_od; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of DataTypeConversion: '/Data Type Conversion' */ - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - */ - if (rtDW.stepSig_private > 0) { - rtb_y_cb = rtDW.stepSig_private; - } else { - rtb_y_cb = 1; - } - - /* End of Switch: '/Switch' */ - - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_cb) { - case 1: - /* 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 ((Actuator_Ch0_Status_Model.Busy == 0) && - (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private[i] = 2U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ - break; - - case 2: - /* 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 ((Actuator_Ch0_Status_Model.Busy == 0) && - (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private[i] = 6000U; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private[i] = 2U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ - break; - - case 3: - /* 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 ((Actuator_Ch0_Status_Model.Busy == 0) && - (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private[i] = 0U; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private[i] = 1U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ - break; - - case 4: - /* 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 ((Actuator_Ch0_Status_Model.Busy == 0) && - (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private[i] = 3U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private[i] = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' - */ - rtDW.COM_private[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ - break; - - case 5: - /* 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' - */ - for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_n2[i] = - ((Actuator_Ch0_Status_Model.in_Act_Stall_Slave[i] == 1) || - (Actuator_Ch0_Status_Model.in_CPOS_ALL[i] == 0) || - (rtDW.ErrorCalibration_private[i] == 0)); - } - - /* End of Logic: '/Logical Operator3' */ - - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' - */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 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 ((Actuator_Ch0_Status_Model.Busy == 0) && - (Actuator_Ch0_Status_Model.Error_Connect == 0) && - rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' */ - for (rtb_Gain2 = 0; rtb_Gain2 < 9; rtb_Gain2++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.ErrorCalibration_private[rtb_Gain2] != 0) { - rtDW.MinPositionCh0_private[rtb_Gain2] = - Actuator_Ch0_Status_Model.in_CPOS_ALL[rtb_Gain2]; - } - - /* End of Switch: '/Switch' */ - } - - /* End of DataStoreWrite: '/Data Store Write1' */ - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ - break; - - case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch0_Status_Model.Busy == 0) && - (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private[i] = 2U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private[i] = 0U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ - break; - - case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch0_Status_Model.Busy == 0) && - (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private[i] = 3U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private[i] = 6000U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' - */ - rtDW.COM_private[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' */ - rtDW.Coils_private[i] = 0U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ - break; - - case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' - */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - */ - for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_n2[i] = - ((Actuator_Ch0_Status_Model.in_Act_Stall_Slave[i] == 1) || - (Actuator_Ch0_Status_Model.in_CPOS_ALL[i] == 6000) || - (rtDW.ErrorCalibration_private[i] == 0)); - } - - /* End of Logic: '/Logical Operator3' */ - - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' - */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch0_Status_Model.Busy == 0) && - (Actuator_Ch0_Status_Model.Error_Connect == 0) && - rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' */ - for (rtb_Gain2 = 0; rtb_Gain2 < 9; rtb_Gain2++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.ErrorCalibration_private[rtb_Gain2] != 0) { - rtDW.MaxPositionCh0_private[rtb_Gain2] = - Actuator_Ch0_Status_Model.in_CPOS_ALL[rtb_Gain2]; - } - - /* End of Switch: '/Switch' */ - } - - /* End of DataStoreWrite: '/Data Store Write1' */ - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ - break; - - case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' - */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' - */ - for (i = 0; i < 9; i++) { - rtb_Divide1_pb[i] = (double)rtDW.MaxPositionCh0_private[i] / (double) - rtConstP.pooled85[i]; - } - - /* End of Product: '/Divide1' */ - - /* 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' - */ - for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_I_od = rtb_Divide1_pb[i]; - - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - */ - CCU_AC_FRONT_req_summary = ((rtb_I_od >= 0.6) && (rtb_I_od <= 1.5)); - rtb_LogicalOperator3_n2[i] = CCU_AC_FRONT_req_summary; - - /* 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)((!CCU_AC_FRONT_req_summary) - && (rtDW.ErrorCalibration_private[i] != 0)); - } - - /* Logic: '/Logical Operator1' */ - /* : if(LOGGER>0) */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_a = 4; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - */ - rtB.Merge_a = 1; - } - - /* 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' - */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); - } - - /* End of RelationalOperator: '/Compare' */ - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - rtDW.CCU_ActuatorErrF_Stat_private = rtb_RelationalOperator6_f; - for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - CCU_AC_FRONT_req_summary = rtb_LogicalOperator3_n2[i]; - rtDW.COM_private[i] = CCU_AC_FRONT_req_summary; - - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' - */ - rtDW.ErrorActuator[i] = (uint8_t)(CCU_AC_FRONT_req_summary || - (rtDW.ErrorActuator[i] != 0)); - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private[i] = 2U; - } - - /* MATLAB Function: '/Write ERROR' */ - /* : if(LOGGER>=0) */ - /* : for i = 1:numel(ErrCallibration) */ - for (i = 0; i < 9; i++) { - /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_n2[i]) { - /* : fprintf('[LIN 1] Failure with actuator #%d\n', int16(i)); */ - printf("[LIN 1] Failure with actuator #%d\n", (int16_t)(i + 1)); - fflush(stdout); - } - } - - /* End of MATLAB Function: '/Write ERROR' */ - for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - CCU_AC_FRONT_req_summary = rtb_LogicalOperator3_n2[i]; - - /* 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)((!CCU_AC_FRONT_req_summary) - && (rtDW.ErrorCalibration_private[i] != 0)); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[i + 54] = CCU_AC_FRONT_req_summary; - } - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.stepSig_private = 1; - - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : if(LOGGER>0) */ - rtb_RelationalOperator6_f = (rtDW.ErrorCalibration_private[0] != 0); - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - (rtDW.ErrorCalibration_private[rtb_Gain2 + 1] != 0)); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_a = 2; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_a = 4; - } - - /* 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' - */ - for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_I_od = rtb_Divide1_pb[i]; - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - */ - CCU_AC_FRONT_req_summary = (((rtb_I_od < 0.97) || (rtb_I_od > 1.03)) && - (rtDW.ErrorCalibration_private[i] != 0)); - rtb_LogicalOperator3_n2[i] = CCU_AC_FRONT_req_summary; - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.ErrorCalibration_private[i] = CCU_AC_FRONT_req_summary; - } - - /* Logic: '/Logical Operator2' */ - /* : if(LOGGER>0) */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' - */ - rtB.Merge_a = 3; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_a = 4; - } - - /* 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' - */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - /* : if(LOGGER>1) */ - if (rtDW.ErrorHomming_private < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - */ - MATLABFunction(rtDW.Start_timer_n, rtDW.t_now, &rtb_Subtract, - &rtDW.sf_MATLABFunction_h); - - /* If: '/If' */ - /* : if(LOGGER>1) */ - if (rtb_Subtract > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' */ - IfActionSubsystem(&rtB.Merge_a, &rtDW.ErrorHomming_private, - &rtDW.Start_timer_n, &rtDW.stepSig_private); - - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' - */ - rtDW.Start_timer_n = 1.0; - - /* DataTypeConversion: '/Data Type Conversion2' */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write23' */ - rtb_Saturation2_a = rtb_out_gk22[i]; - - /* Saturate: '/Saturation' */ - if (rtb_Saturation2_a <= 99) { - rtb_DataTypeConversion_h1[i] = (uint8_t)rtb_Saturation2_a; - } else { - rtb_DataTypeConversion_h1[i] = 99U; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of DataTypeConversion: '/Data Type Conversion2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_h1[8]; - - /* DataStoreRead: '/Data Store Read4' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[1] = rtDW.Max_def_Rec_valve; - - /* DataStoreRead: '/Data Store Read3' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[2] = rtDW.Max_def_OSA_valve; - - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[3] = rtDW.PID_TempFUL; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_h1[1]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_h1[0]; - - /* DataStoreRead: '/Data Store Read6' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[6] = rtDW.PID_TempFLL; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_h1[4]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_h1[5]; - for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - min_side_L = rtDW.BUS_ADR_private[i]; - - /* 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)(min_side_L * - rtDW.MaxPositionCh0_private[i]) / 100.0); - - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_p3[i] == - min_side_L); - } - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - if (rtb_RelationalOperator6_f) { - rtDW.COM_private[i] = 0U; - } else { - rtDW.COM_private[i] = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' - */ - rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_p3[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled136[i]); - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' - */ - rtDW.Lnoise_private[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private[i] = 3U; - } - - /* 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 If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - IfActionSubsystem1(&rtB.Merge_a, &rtDW.CCU_ActuatorErrF_Stat_private, - rtDW.COM_private, rtDW.ErrorActuator, - rtDW.ErrorCalibration_private, - &rtb_duct_select_index_dbg_c, rtDW.MODE_private, - rtDW.dtc_state_error_model); - - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ - } - - /* 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' - */ - /* DataTypeConversion: '/Data Type Conversion2' */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write23' */ - rtb_Saturation2_a = rtb_out_gk22[i]; - - /* Saturate: '/Saturation' */ - if (rtb_Saturation2_a <= 99) { - rtb_DataTypeConversion_h1[i] = (uint8_t)rtb_Saturation2_a; - } else { - rtb_DataTypeConversion_h1[i] = 99U; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of DataTypeConversion: '/Data Type Conversion2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_h1[8]; - - /* DataStoreRead: '/Data Store Read4' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[1] = rtDW.Max_def_Rec_valve; - - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[2] = rtDW.Max_def_OSA_valve; - - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[3] = rtDW.PID_TempFUL; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_h1[1]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_h1[0]; - - /* DataStoreRead: '/Data Store Read6' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[6] = rtDW.PID_TempFLL; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_h1[4]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_h1[5]; - for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - min_side_L = rtDW.BUS_ADR_private[i]; - - /* 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)(min_side_L * - rtDW.MaxPositionCh0_private[i]) / 100.0); - - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_p3[i] == min_side_L); - } - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - if (rtb_RelationalOperator6_f) { - rtDW.COM_private[i] = 0U; - } else { - rtDW.COM_private[i] = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' - */ - rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_p3[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled136[i]); - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' - */ - rtDW.Lnoise_private[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' - */ - rtB.Merge_a = 4; - - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.stepHoming_private = rtB.Merge_a; - - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtB.Merge_f1 = rtDW.stepSig_private; - - /* End of Outputs for SubSystem: '/Homing' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* 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' - */ - Actuator_Ch0_Command_Model.POS[i] = rtDW.POS_private[i]; - Actuator_Ch0_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private[i]; - Actuator_Ch0_Command_Model.MODE[i] = rtDW.MODE_private[i]; - Actuator_Ch0_Command_Model.COM[i] = rtDW.COM_private[i]; - Actuator_Ch0_Command_Model.Stall_SET[i] = rtDW.Stall_private[i]; - Actuator_Ch0_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private[i]; - Actuator_Ch0_Command_Model.Autos_SET[i] = rtDW.Autos_private[i]; - 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' - */ - rtb_LogicalOperator3_n2[i] = (rtDW.ErrorCalibration_private[i] == 0); - } - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - for (i = 0; i < 9; i++) { - /* Switch: '/Switch1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write7' - * Logic: '/Logical Operator' - * Product: '/Product' - */ - if (rtb_RelationalOperator6_f) { - rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private[i] * rtConstP.pooled136[i]); - } else { - rtDW.BUS_ADR_private[i] = 0U; - } - - /* End of Switch: '/Switch1' */ - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.COM_private[i] = 0U; - } - - /* 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' - */ - rtb_Saturation2_a = rtDW.MaxPositionCh1_private[i]; - if (rtb_Saturation2_a != 0) { - rtb_I_od = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double) - rtb_Saturation2_a * 100.0; - } else { - rtb_I_od = 0.0; - } - - /* End of Switch: '/Switch' */ - - /* Saturate: '/Saturation' */ - if (rtb_I_od > 100.0) { - rtb_DataTypeConversion_h1[i] = 100U; - } else { - rtb_DataTypeConversion_h1[i] = (uint8_t)rtb_I_od; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of DataTypeConversion: '/Data Type Conversion' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' - */ - rtb_DataTypeConversion_h1[6] = 0U; - rtb_DataTypeConversion_h1[7] = 0U; - rtb_DataTypeConversion_h1[8] = 0U; - - /* DataStoreWrite: '/Data Store Write2' */ - for (i = 0; i < 9; i++) { - Actuator_pos_percent_Ch1[i] = rtb_DataTypeConversion_h1[i]; - } - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - */ - if (rtDW.stepSig_private_h > 0) { - rtb_y_cb = rtDW.stepSig_private_h; - } else { - rtb_y_cb = 1; - } - - /* End of Switch: '/Switch' */ - - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_cb) { - case 1: - /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_g[i] = 1U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_b[i] = 2U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 2] Stop Mode\n'); */ - printf("[LIN 2] Stop Mode\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ - break; - - case 2: - /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_m[i] = 6000U; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_g[i] = 2U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 2] Initial CPOS Min\n'); */ - printf("[LIN 2] Initial CPOS Min\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ - break; - - case 3: - /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_b[i] = 0U; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_g[i] = 1U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('LIN 2] Normal Mode\n'); */ - printf("LIN 2] Normal Mode\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ - break; - - case 4: - /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_n[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_l[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_n[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_j[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_c[i] = 3U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_m[i] = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' - */ - rtDW.COM_private_g[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 2] Move to position Min\n'); */ - printf("[LIN 2] Move to position Min\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ - break; - - case 5: - /* 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' - */ - for (i = 0; i < 6; i++) { - rtb_LogicalOperator3_pw[i] = - ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || - (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 0) || - (rtDW.ErrorCalibration_private_p[i] == 0)); - } - - /* End of Logic: '/Logical Operator3' */ - - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' - */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_pw[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 5; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_pw[rtb_Gain2 + 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 ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0) && - rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' */ - for (rtb_Gain2 = 0; rtb_Gain2 < 9; rtb_Gain2++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.ErrorCalibration_private_p[rtb_Gain2] != 0) { - rtDW.MinPositionCh1_private[rtb_Gain2] = - Actuator_Ch1_Status_Model.in_CPOS_ALL[rtb_Gain2]; - } - - /* End of Switch: '/Switch' */ - } - - /* End of DataStoreWrite: '/Data Store Write1' */ - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 2] Check Stall Min\n'); */ - printf("[LIN 2] Check Stall Min\n"); - fflush(stdout); - - /* : for i = 1:numel(data) */ - for (i = 0; i < 9; i++) { - /* : fprintf('[LIN 2] MIN = %d ', int16(data(i))); */ - rtb_out_ic3 = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 2] MIN = %d ", (int16_t)rtb_out_ic3); - fflush(stdout); - } - - /* : fprintf('\n'); */ - printf("\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ - break; - - case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_g[i] = 2U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_m[i] = 0U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 2] Initial CPOS Max\n'); */ - printf("[LIN 2] Initial CPOS Max\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ - break; - - case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_n[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_l[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_n[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_j[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_c[i] = 3U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_m[i] = 6000U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' - */ - rtDW.COM_private_g[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 2] Move to position Max\n'); */ - printf("[LIN 2] Move to position Max\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ - break; - - case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' - */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - */ - for (i = 0; i < 6; i++) { - rtb_LogicalOperator3_pw[i] = - ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || - (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 6000) || - (rtDW.ErrorCalibration_private_p[i] == 0)); - } - - /* End of Logic: '/Logical Operator3' */ - - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' - */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_pw[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 5; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_pw[rtb_Gain2 + 1]); - } - - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0) && - rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' */ - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.ErrorCalibration_private_p[i] != 0) { - rtDW.MaxPositionCh1_private[i] = - Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; - } else { - rtDW.MaxPositionCh1_private[i] = 0U; - } - - /* End of Switch: '/Switch' */ - } - - /* End of DataStoreWrite: '/Data Store Write1' */ - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 2] Check Stall MAX\n'); */ - printf("[LIN 2] Check Stall MAX\n"); - fflush(stdout); - - /* : for i = 1:numel(data) */ - for (i = 0; i < 9; i++) { - /* : fprintf('[LIN 2] MAX = %d ', int16(data(i))); */ - rtb_out_ic3 = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 2] MAX = %d ", (int16_t)rtb_out_ic3); - fflush(stdout); - } - - /* : fprintf('\n'); */ - printf("\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ - break; - - case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' - */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' - */ - for (i = 0; i < 6; i++) { - rtb_Divide1_pb[i] = (double)rtDW.MaxPositionCh1_private[i] / (double) - rtConstP.ACT1_Value[i]; - } - - /* End of Product: '/Divide1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' - */ - rtb_Divide1_pb[6] = 1.0; - rtb_Divide1_pb[7] = 1.0; - rtb_Divide1_pb[8] = 1.0; - - /* 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' - */ - for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_I_od = rtb_Divide1_pb[i]; - - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - */ - CCU_AC_FRONT_req_summary = ((rtb_I_od >= 0.6) && (rtb_I_od <= 1.5)); - rtb_LogicalOperator3_n2[i] = CCU_AC_FRONT_req_summary; - - /* 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) - ((!CCU_AC_FRONT_req_summary) && (rtDW.ErrorCalibration_private_p[i] != - 0)); - } - - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' - */ - /* : if(LOGGER>0) */ - if (rtb_duct_select_index_dbg_c > 0.0) { - /* : fprintf("[LIN 2] Homing 0\n"); */ - printf("[LIN 2] Homing 0\n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 6; i++) { - /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_ic3 = rtDW.MaxPositionCh1_private[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_ic3, rtb_Divide1_pb[i], - (int16_t)!rtb_LogicalOperator3_n2[i]); - fflush(stdout); - } - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator1' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_p = 4; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - */ - rtB.Merge_p = 1; - } - - /* 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' - */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); - } - - /* End of RelationalOperator: '/Compare' */ - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - rtDW.CCU_ActuatorErrF_Stat_private = rtb_RelationalOperator6_f; - for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - CCU_AC_FRONT_req_summary = rtb_LogicalOperator3_n2[i]; - rtDW.COM_private_g[i] = CCU_AC_FRONT_req_summary; - - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' - */ - rtDW.ErrorActuator_o[i] = (uint8_t)(CCU_AC_FRONT_req_summary || - (rtDW.ErrorActuator_o[i] != 0)); - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_b[i] = 2U; - } - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - /* : if(LOGGER>=0) */ - if (rtb_duct_select_index_dbg_c >= 0.0) { - /* : for i = 1:numel(ErrCallibration) */ - for (i = 0; i < 9; i++) { - /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_n2[i]) { - /* : fprintf('[LIN 2] Failure with actuator #%d\n', int16(i)); */ - printf("[LIN 2] Failure with actuator #%d\n", (int16_t)(i + 1)); - fflush(stdout); - } - } - } - - /* End of MATLAB Function: '/Write ERROR' */ - for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - CCU_AC_FRONT_req_summary = rtb_LogicalOperator3_n2[i]; - - /* 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) - ((!CCU_AC_FRONT_req_summary) && (rtDW.ErrorCalibration_private_p[i] != - 0)); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[i + 54] = CCU_AC_FRONT_req_summary; - } - - /* 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' - */ - /* : if(LOGGER>0) */ - if (rtb_duct_select_index_dbg_c > 0.0) { - /* : fprintf("[LIN 2] Homing 1. Start Callibration \n"); */ - printf("[LIN 2] Homing 1. Start Callibration \n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 6; i++) { - /* : if(ERRORS(i)==1) */ - if (rtDW.ErrorCalibration_private_p[i] == 1) { - /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_ic3 = rtDW.MaxPositionCh1_private[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_ic3, rtb_Divide1_pb[i], - (int16_t)rtDW.ErrorCalibration_private_p[i]); - fflush(stdout); - } - } - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtb_RelationalOperator6_f = (rtDW.ErrorCalibration_private_p[0] != 0); - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - (rtDW.ErrorCalibration_private_p[rtb_Gain2 + 1] != 0)); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_p = 2; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_p = 4; - } - - /* 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' - */ - for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_I_od = rtb_Divide1_pb[i]; - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - */ - CCU_AC_FRONT_req_summary = (((rtb_I_od < 0.97) || (rtb_I_od > 1.03)) && - (rtDW.ErrorCalibration_private_p[i] != 0)); - rtb_LogicalOperator3_n2[i] = CCU_AC_FRONT_req_summary; - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.ErrorCalibration_private_p[i] = CCU_AC_FRONT_req_summary; - } - - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - */ - /* : if(LOGGER>0) */ - if (rtb_duct_select_index_dbg_c > 0.0) { - /* : fprintf("[LIN 2] Homing 3. Callibration \n"); */ - printf("[LIN 2] Homing 3. Callibration \n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 6; i++) { - /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_n2[i]) { - /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_ic3 = rtDW.MaxPositionCh1_private[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_ic3, rtb_Divide1_pb[i], 1); - fflush(stdout); - } - } - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator2' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' - */ - rtB.Merge_p = 3; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_p = 4; - } - - /* 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' - */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' - */ - /* : if(LOGGER>1) */ - if (rtb_duct_select_index_dbg_c > 1.0) { - /* : fprintf("[LIN 2] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_I_od = rt_roundd(rtDW.ErrorHomming_private_h); - if (rtb_I_od < 32768.0) { - if (rtb_I_od >= -32768.0) { - rtb_Switch2_nb = (int16_t)rtb_I_od; - } else { - rtb_Switch2_nb = INT16_MIN; - } - } else { - rtb_Switch2_nb = INT16_MAX; - } - - printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_Switch2_nb); - fflush(stdout); - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* 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' - */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - */ - MATLABFunction(rtDW.Start_timer_j, rtDW.t_now, &rtb_dt_nx, - &rtDW.sf_MATLABFunction_hk); - - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - /* : if(LOGGER>1) */ - if (rtb_duct_select_index_dbg_c > 1.0) { - /* : fprintf("[LIN 2] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_Subtract = rtb_dt_nx; - if (rtb_dt_nx > 2147483647U) { - rtb_Subtract = 2147483647U; - } - - printf("[LIN 2] Homing 3. Start TIme dt = %d \n", (int32_t) - rtb_Subtract); - fflush(stdout); - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* If: '/If' */ - if (rtb_dt_nx > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* 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' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' - */ - rtDW.Start_timer_j = 1.0; - - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[0] = rtDW.PID_TempFUR; - - /* DataTypeConversion: '/Data Type Conversion2' */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write23' */ - rtb_Saturation2_a = rtb_out_gk22[i]; - - /* Saturate: '/Saturation' */ - if (rtb_Saturation2_a <= 99) { - rtb_DataTypeConversion_fb[i] = (uint8_t)rtb_Saturation2_a; - } else { - rtb_DataTypeConversion_fb[i] = 99U; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of DataTypeConversion: '/Data Type Conversion2' */ - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_fb[2]; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_fb[3]; - - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[3] = rtDW.PID_TempFRL; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_fb[6]; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_fb[7]; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.BUS_ADR_private_j[6] = 0U; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.BUS_ADR_private_j[7] = 0U; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.BUS_ADR_private_j[8] = 0U; - for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - min_side_L = rtDW.BUS_ADR_private_j[i]; - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' - */ - rtDW.POS_private_m[i] = (uint16_t)((double)(min_side_L * - rtDW.MaxPositionCh1_private[i]) / 100.0); - - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_h1[i] == - min_side_L); - } - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - if (rtb_RelationalOperator6_f) { - rtDW.COM_private_g[i] = 0U; - } else { - rtDW.COM_private_g[i] = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' - */ - rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_h1[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled136[i]); - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_n[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_l[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' - */ - rtDW.Lnoise_private_n[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_j[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_c[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' - */ - rtB.Merge_p = 3; - - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - IfActionSubsystem1(&rtB.Merge_p, &rtDW.CCU_ActuatorErrF_Stat_private, - rtDW.COM_private_g, rtDW.ErrorActuator_o, - rtDW.ErrorCalibration_private_p, - &rtb_duct_select_index_dbg_c, rtDW.MODE_private_b, - rtDW.dtc_state_error_model); - - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ - } - - /* 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' - */ - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[0] = rtDW.PID_TempFUR; - - /* DataTypeConversion: '/Data Type Conversion2' */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write23' */ - rtb_Saturation2_a = rtb_out_gk22[i]; - - /* Saturate: '/Saturation' */ - if (rtb_Saturation2_a <= 99) { - rtb_DataTypeConversion_fb[i] = (uint8_t)rtb_Saturation2_a; - } else { - rtb_DataTypeConversion_fb[i] = 99U; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of DataTypeConversion: '/Data Type Conversion2' */ - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_fb[2]; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_fb[3]; - - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[3] = rtDW.PID_TempFRL; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_fb[6]; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_fb[7]; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.BUS_ADR_private_j[6] = 0U; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.BUS_ADR_private_j[7] = 0U; - - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.BUS_ADR_private_j[8] = 0U; - for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - min_side_L = rtDW.BUS_ADR_private_j[i]; - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' - */ - rtDW.POS_private_m[i] = (uint16_t)((double)(min_side_L * - rtDW.MaxPositionCh1_private[i]) / 100.0); - - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_h1[i] == min_side_L); - } - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - if (rtb_RelationalOperator6_f) { - rtDW.COM_private_g[i] = 0U; - } else { - rtDW.COM_private_g[i] = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' - */ - rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_h1[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled136[i]); - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_n[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_l[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' - */ - rtDW.Lnoise_private_n[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_j[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_c[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' - */ - rtB.Merge_p = 4; - - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - /* : if(LOGGER>0) */ - if (rtb_duct_select_index_dbg_c > 0.0) { - /* : fprintf("[LIN 2] Homing. Callibration successful \n"); */ - printf("[LIN 2] Homing. Callibration successful \n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.stepHoming_private_f = rtB.Merge_p; - - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtB.Merge_e = rtDW.stepSig_private_h; - - /* End of Outputs for SubSystem: '/Homing' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* 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' - */ - for (i = 0; i < 9; i++) { - Actuator_Ch1_Command_Model.POS[i] = rtDW.POS_private_m[i]; - Actuator_Ch1_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private_j[i]; - Actuator_Ch1_Command_Model.MODE[i] = rtDW.MODE_private_b[i]; - Actuator_Ch1_Command_Model.COM[i] = rtDW.COM_private_g[i]; - Actuator_Ch1_Command_Model.Stall_SET[i] = rtDW.Stall_private_l[i]; - Actuator_Ch1_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private_n[i]; - Actuator_Ch1_Command_Model.Autos_SET[i] = rtDW.Autos_private_n[i]; - Actuator_Ch1_Command_Model.Speed_SET[i] = rtDW.Speed_private_j[i]; - Actuator_Ch1_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_c[i]; - } - - /* End of BusCreator: '/Bus Creator' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' - */ - for (i = 0; i < 6; i++) { - rtb_Compare_hk[i] = (rtDW.ErrorCalibration_private_p[i] == 0); - } - - /* End of RelationalOperator: '/Compare' */ - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_Compare_hk[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 5; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_Compare_hk[rtb_Gain2 + 1]); - } - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator' - * Product: '/Product' - */ - for (i = 0; i < 6; i++) { - if (rtb_RelationalOperator6_f) { - rtb_DataTypeConversion_h1[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private_p[i] * rtConstP.Constant3_Value[i]); - } else { - rtb_DataTypeConversion_h1[i] = 0U; - } - } - - /* End of Switch: '/Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' - */ - rtb_DataTypeConversion_h1[6] = 0U; - rtb_DataTypeConversion_h1[7] = 0U; - rtb_DataTypeConversion_h1[8] = 0U; - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Concatenate: '/LIN1' - */ - rtDW.BUS_ADR_private_j[i] = rtb_DataTypeConversion_h1[i]; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.COM_private_g[i] = 0U; - } - - for (i = 0; i < 8; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Product: '/Divide' - */ - rtb_Saturation2_a = rtDW.MaxPositionCh2_private[i]; - if (rtb_Saturation2_a != 0) { - rtb_I_od = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double) - rtb_Saturation2_a * 100.0; - } else { - rtb_I_od = 0.0; - } - - /* End of Switch: '/Switch' */ - - /* Saturate: '/Saturation' */ - if (rtb_I_od > 100.0) { - /* DataTypeConversion: '/Data Type Conversion' */ - rtb_DataTypeConversion_h1[i] = 100U; - } else { - /* DataTypeConversion: '/Data Type Conversion' */ - rtb_DataTypeConversion_h1[i] = (uint8_t)rtb_I_od; - } - - /* End of Saturate: '/Saturation' */ - } - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' - */ - rtb_DataTypeConversion_h1[8] = 0U; - - /* DataStoreWrite: '/Data Store Write2' */ - for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_fb[i] = rtb_DataTypeConversion_h1[i]; - } - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - */ - if (rtDW.stepSig_private_g > 0) { - rtb_y_cb = rtDW.stepSig_private_g; - } else { - rtb_y_cb = 1; - } - - /* End of Switch: '/Switch' */ - - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_cb) { - case 1: - /* 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 ((Actuator_Ch2_Status_Model.Busy == 0) && - (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_k[i] = 1U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_c[i] = 2U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_b4 = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 3] Stop Mode\n'); */ - printf("[LIN 3] Stop Mode\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_b4 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* 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' - */ - /* 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' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_h[i] = 6000U; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_k[i] = 2U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' - */ - rtB.Merge_b4 = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 3] Initial CPOS Min\n'); */ - printf("[LIN 3] Initial CPOS Min\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' - */ - rtB.Merge_b4 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* 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' - */ - /* 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' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_c[i] = 0U; - - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_k[i] = 1U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_b4 = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 3] Normal Mode\n'); */ - printf("[LIN 3] Normal Mode\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_b4 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* 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' - */ - /* 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' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_g[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_f[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_g[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_b[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_l[i] = 3U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_h[i] = 0U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' - */ - rtDW.COM_private_k[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_b4 = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 3] Move to position Min\n'); */ - printf("[LIN 3] Move to position Min\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_b4 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* 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' - */ - /* 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_hk[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) - || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 0) || - (rtDW.ErrorCalibration_private_b[i] == 0)); - } - - /* End of Logic: '/Logical Operator3' */ - - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' - */ - rtb_RelationalOperator6_f = rtb_Compare_hk[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 7; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_Compare_hk[rtb_Gain2 + 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 ((Actuator_Ch2_Status_Model.Busy == 0) && - (Actuator_Ch2_Status_Model.Error_Connect == 0) && - rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' */ - for (rtb_Gain2 = 0; rtb_Gain2 < 9; rtb_Gain2++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.ErrorCalibration_private_b[rtb_Gain2] != 0) { - rtDW.MinPositionCh2_private[rtb_Gain2] = - Actuator_Ch2_Status_Model.in_CPOS_ALL[rtb_Gain2]; - } - - /* End of Switch: '/Switch' */ - } - - /* End of DataStoreWrite: '/Data Store Write1' */ - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_b4 = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 3] Check Stall Min\n'); */ - printf("[LIN 3] Check Stall Min\n"); - fflush(stdout); - - /* : for i = 1:numel(data) */ - for (i = 0; i < 9; i++) { - /* : fprintf('[LIN 3] MIN = %d ', int16(data(i))); */ - rtb_out_ic3 = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 3] MIN = %d ", (int16_t)rtb_out_ic3); - fflush(stdout); - } - - /* : fprintf('\n'); */ - printf("\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_b4 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ - break; - - case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch2_Status_Model.Busy == 0) && - (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_k[i] = 2U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_h[i] = 0U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_b4 = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 3] Initial CPOS Max\n'); */ - printf("[LIN 3] Initial CPOS Max\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_b4 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ - break; - - case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch2_Status_Model.Busy == 0) && - (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_g[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_f[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_g[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_b[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_l[i] = 3U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_h[i] = 6000U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' - */ - rtDW.COM_private_k[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_b4 = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 3] Move to position Max\n'); */ - printf("[LIN 3] Move to position Max\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_b4 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ - break; - - case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' - */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - */ - for (i = 0; i < 8; i++) { - rtb_Compare_hk[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) - || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 6000) - || (rtDW.ErrorCalibration_private_b[i] == 0)); - } - - /* End of Logic: '/Logical Operator3' */ - - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' - */ - rtb_RelationalOperator6_f = rtb_Compare_hk[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 7; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_Compare_hk[rtb_Gain2 + 1]); - } - - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' - */ - if ((Actuator_Ch2_Status_Model.Busy == 0) && - (Actuator_Ch2_Status_Model.Error_Connect == 0) && - rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' */ - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - if (rtDW.ErrorCalibration_private_b[i] != 0) { - rtDW.MaxPositionCh2_private[i] = - Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; - } else { - rtDW.MaxPositionCh2_private[i] = 0U; - } - - /* End of Switch: '/Switch' */ - } - - /* End of DataStoreWrite: '/Data Store Write1' */ - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_b4 = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_duct_select_index_dbg_c == 2.0) { - /* : fprintf('[LIN 3] Check Stall MAX\n'); */ - printf("[LIN 3] Check Stall MAX\n"); - fflush(stdout); - - /* : for i = 1:numel(data) */ - for (i = 0; i < 9; i++) { - /* : fprintf('[LIN 3] MAX = %d ', int16(data(i))); */ - rtb_out_ic3 = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 3] MAX = %d ", (int16_t)rtb_out_ic3); - fflush(stdout); - } - - /* : fprintf('\n'); */ - printf("\n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_b4 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ - break; - - case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' - */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' - */ - for (i = 0; i < 8; i++) { - rtb_Divide1_pb[i] = (double)rtDW.MaxPositionCh2_private[i] / (double) - rtConstP.ACT1_Value_m[i]; - } - - /* End of Product: '/Divide1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' - */ - rtb_Divide1_pb[8] = 1.0; - - /* 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' - */ - for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_I_od = rtb_Divide1_pb[i]; - - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - */ - CCU_AC_FRONT_req_summary = ((rtb_I_od >= 0.6) && (rtb_I_od <= 1.5)); - rtb_LogicalOperator3_n2[i] = CCU_AC_FRONT_req_summary; - - /* 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) - ((!CCU_AC_FRONT_req_summary) && (rtDW.ErrorCalibration_private_b[i] != - 0)); - } - - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' - */ - /* : if(LOGGER>0) */ - if (rtb_duct_select_index_dbg_c > 0.0) { - /* : fprintf("[LIN 3] Homing 0\n"); */ - printf("[LIN 3] Homing 0\n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 6; i++) { - /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_ic3 = rtDW.MaxPositionCh2_private[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_ic3, rtb_Divide1_pb[i], - (int16_t)!rtb_LogicalOperator3_n2[i]); - fflush(stdout); - } - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator1' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_h3 = 4; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - */ - rtB.Merge_h3 = 1; - } - - /* 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' - */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); - } - - /* End of RelationalOperator: '/Compare' */ - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - rtDW.CCU_ActuatorErrF_Stat_private = rtb_RelationalOperator6_f; - for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - CCU_AC_FRONT_req_summary = rtb_LogicalOperator3_n2[i]; - rtDW.COM_private_k[i] = CCU_AC_FRONT_req_summary; - - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' - */ - rtDW.ErrorActuator_a[i] = (uint8_t)(CCU_AC_FRONT_req_summary || - (rtDW.ErrorActuator_a[i] != 0)); - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.MODE_private_c[i] = 2U; - } - - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - /* : if(LOGGER>=0) */ - if (rtb_duct_select_index_dbg_c >= 0.0) { - /* : for i = 1:numel(ErrCallibration) */ - for (i = 0; i < 9; i++) { - /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_n2[i]) { - /* : fprintf('[LIN 3] Failure with actuator #%d\n', int16(i)); */ - printf("[LIN 3] Failure with actuator #%d\n", (int16_t)(i + 1)); - fflush(stdout); - } - } - } - - /* End of MATLAB Function: '/Write ERROR' */ - for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - CCU_AC_FRONT_req_summary = rtb_LogicalOperator3_n2[i]; - - /* 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) - ((!CCU_AC_FRONT_req_summary) && (rtDW.ErrorCalibration_private_b[i] != - 0)); - - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[i + 54] = CCU_AC_FRONT_req_summary; - } - - /* 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' - */ - /* : if(LOGGER>0) */ - if (rtb_duct_select_index_dbg_c > 0.0) { - /* : fprintf("[LIN 3] Homing 1. Start Callibration \n"); */ - printf("[LIN 3] Homing 1. Start Callibration \n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 6; i++) { - /* : if(ERRORS(i)==1) */ - if (rtDW.ErrorCalibration_private_b[i] == 1) { - /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_ic3 = rtDW.MaxPositionCh2_private[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_ic3, rtb_Divide1_pb[i], - (int16_t)rtDW.ErrorCalibration_private_b[i]); - fflush(stdout); - } - } - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtb_RelationalOperator6_f = (rtDW.ErrorCalibration_private_b[0] != 0); - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - (rtDW.ErrorCalibration_private_b[rtb_Gain2 + 1] != 0)); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_h3 = 2; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_h3 = 4; - } - - /* 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' - */ - for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_I_od = rtb_Divide1_pb[i]; - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - */ - CCU_AC_FRONT_req_summary = (((rtb_I_od < 0.97) || (rtb_I_od > 1.03)) && - (rtDW.ErrorCalibration_private_b[i] != 0)); - rtb_LogicalOperator3_n2[i] = CCU_AC_FRONT_req_summary; - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.ErrorCalibration_private_b[i] = CCU_AC_FRONT_req_summary; - } - - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - */ - /* : if(LOGGER>0) */ - if (rtb_duct_select_index_dbg_c > 0.0) { - /* : fprintf("[LIN 3] Homing 3. Callibration \n"); */ - printf("[LIN 3] Homing 3. Callibration \n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 6; i++) { - /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_n2[i]) { - /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_ic3 = rtDW.MaxPositionCh2_private[i]; - if (rtb_out_ic3 > 32767) { - rtb_out_ic3 = 32767U; - } - - printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_ic3, rtb_Divide1_pb[i], 1); - fflush(stdout); - } - } - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator2' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' - */ - if (rtb_RelationalOperator6_f) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' - */ - rtB.Merge_h3 = 3; - } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - */ - rtB.Merge_h3 = 4; - } - - /* 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' - */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' - */ - /* : if(LOGGER>1) */ - if (rtb_duct_select_index_dbg_c > 1.0) { - /* : fprintf("[LIN 3] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_I_od = rt_roundd(rtDW.ErrorHomming_private_m); - if (rtb_I_od < 32768.0) { - if (rtb_I_od >= -32768.0) { - rtb_Switch2_nb = (int16_t)rtb_I_od; - } else { - rtb_Switch2_nb = INT16_MIN; - } - } else { - rtb_Switch2_nb = INT16_MAX; - } - - printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_Switch2_nb); - fflush(stdout); - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* 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' - */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - */ - MATLABFunction(rtDW.Start_timer, rtDW.t_now, &rtb_dt_nx, - &rtDW.sf_MATLABFunction_g); - - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - /* : if(LOGGER>1) */ - if (rtb_duct_select_index_dbg_c > 1.0) { - /* : fprintf("[LIN 3] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_Subtract = rtb_dt_nx; - if (rtb_dt_nx > 2147483647U) { - rtb_Subtract = 2147483647U; - } - - printf("[LIN 3] Homing 3. Start TIme dt = %d \n", (int32_t) - rtb_Subtract); - fflush(stdout); - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* If: '/If' */ - if (rtb_dt_nx > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* 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' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' - */ - rtDW.Start_timer = 1.0; - - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[0] = rtDW.PID_TempRR; - - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[1] = rtDW.PID_TempRL; - - /* DataTypeConversion: '/Data Type Conversion2' */ - for (rtb_Gain2 = 0; rtb_Gain2 < 6; rtb_Gain2++) { - /* Saturate: '/Saturation' */ - rtb_Saturation2_a = rtb_Gain1_h[rtb_Gain2]; - if (rtb_Saturation2_a <= 99) { - coef_max[rtb_Gain2] = (uint8_t)rtb_Saturation2_a; - } else { - coef_max[rtb_Gain2] = 99U; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of DataTypeConversion: '/Data Type Conversion2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[2] = coef_max[0]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[3] = coef_max[4]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[4] = coef_max[1]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[5] = coef_max[2]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[6] = coef_max[5]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[7] = coef_max[3]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[8] = 0U; - for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - min_side_L = rtDW.BUS_ADR_private_a[i]; - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' - */ - rtDW.POS_private_h[i] = (uint16_t)((double)(min_side_L * - rtDW.MaxPositionCh2_private[i]) / 100.0); - - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_h1[i] == - min_side_L); - } - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - if (rtb_RelationalOperator6_f) { - rtDW.COM_private_k[i] = 0U; - } else { - rtDW.COM_private_k[i] = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' - */ - rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_h1[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled136[i]); - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_g[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_f[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' - */ - rtDW.Lnoise_private_g[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_b[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_l[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' - */ - rtB.Merge_h3 = 3; - - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' - */ - IfActionSubsystem1(&rtB.Merge_h3, &rtDW.CCU_ActuatorErrF_Stat_private, - rtDW.COM_private_k, rtDW.ErrorActuator_a, - rtDW.ErrorCalibration_private_b, - &rtb_duct_select_index_dbg_c, rtDW.MODE_private_c, - rtDW.dtc_state_error_model); - - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ - } - - /* 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' - */ - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[0] = rtDW.PID_TempRR; - - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[1] = rtDW.PID_TempRL; - - /* DataTypeConversion: '/Data Type Conversion2' */ - for (rtb_Gain2 = 0; rtb_Gain2 < 6; rtb_Gain2++) { - /* Saturate: '/Saturation' */ - rtb_Saturation2_a = rtb_Gain1_h[rtb_Gain2]; - if (rtb_Saturation2_a <= 99) { - coef_max[rtb_Gain2] = (uint8_t)rtb_Saturation2_a; - } else { - coef_max[rtb_Gain2] = 99U; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of DataTypeConversion: '/Data Type Conversion2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[2] = coef_max[0]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[3] = coef_max[4]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[4] = coef_max[1]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[5] = coef_max[2]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[6] = coef_max[5]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[7] = coef_max[3]; - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[8] = 0U; - for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - min_side_L = rtDW.BUS_ADR_private_a[i]; - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' - */ - rtDW.POS_private_h[i] = (uint16_t)((double)(min_side_L * - rtDW.MaxPositionCh2_private[i]) / 100.0); - - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_h1[i] == min_side_L); - } - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 8; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f && - rtb_LogicalOperator3_n2[rtb_Gain2 + 1]); - } - - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - */ - if (rtb_RelationalOperator6_f) { - rtDW.COM_private_k[i] = 0U; - } else { - rtDW.COM_private_k[i] = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' - */ - rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_h1[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled136[i]); - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_g[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_f[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' - */ - rtDW.Lnoise_private_g[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_b[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_l[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' - */ - rtB.Merge_h3 = 4; - - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - /* : if(LOGGER>0) */ - if (rtb_duct_select_index_dbg_c > 0.0) { - /* : fprintf("[LIN 3] Homing. Callibration successful \n"); */ - printf("[LIN 3] Homing. Callibration successful \n"); - fflush(stdout); - } - - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.stepHoming_private_a = rtB.Merge_h3; - - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtB.Merge_b4 = rtDW.stepSig_private_g; - - /* End of Outputs for SubSystem: '/Homing' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ - - /* 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' - */ - for (i = 0; i < 9; i++) { - Actuator_Ch2_Command_Model.POS[i] = rtDW.POS_private_h[i]; - Actuator_Ch2_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private_a[i]; - Actuator_Ch2_Command_Model.MODE[i] = rtDW.MODE_private_c[i]; - Actuator_Ch2_Command_Model.COM[i] = rtDW.COM_private_k[i]; - Actuator_Ch2_Command_Model.Stall_SET[i] = rtDW.Stall_private_f[i]; - Actuator_Ch2_Command_Model.Lnoise_SET[i] = rtDW.Lnoise_private_g[i]; - Actuator_Ch2_Command_Model.Autos_SET[i] = rtDW.Autos_private_g[i]; - Actuator_Ch2_Command_Model.Speed_SET[i] = rtDW.Speed_private_b[i]; - Actuator_Ch2_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_l[i]; - } - - /* End of BusCreator: '/Bus Creator' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' - */ - for (i = 0; i < 8; i++) { - rtb_Compare_hk[i] = (rtDW.ErrorCalibration_private_b[i] == 0); - } - - /* End of RelationalOperator: '/Compare' */ - - /* Logic: '/Logical Operator' */ - rtb_RelationalOperator6_f = rtb_Compare_hk[0]; - for (rtb_Gain2 = 0; rtb_Gain2 < 7; rtb_Gain2++) { - rtb_RelationalOperator6_f = (rtb_RelationalOperator6_f || - rtb_Compare_hk[rtb_Gain2 + 1]); - } - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator' - * Product: '/Product' - */ - for (i = 0; i < 8; i++) { - if (rtb_RelationalOperator6_f) { - rtb_DataTypeConversion_h1[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private_b[i] * rtConstP.Constant3_Value_d[i]); - } else { - rtb_DataTypeConversion_h1[i] = 0U; - } - } - - /* End of Switch: '/Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' - */ - rtb_DataTypeConversion_h1[8] = 0U; - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Concatenate: '/Vector Concatenate' - */ - rtDW.BUS_ADR_private_a[i] = rtb_DataTypeConversion_h1[i]; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.COM_private_k[i] = 0U; - } - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/OR2' - */ - rtDW.CCU_AirQualSenErr_Stat = (uint8_t) - ((rtDW.LIN4_ERROR_model.in_error_connect[0] != 0) || - (rtDW.LIN4_ERROR_model.Error_Connect != 0) || - (rtDW.LIN4_AirQS_Stat_Model.AirQS_LinRespErr_Stat != 0) || - (rtDW.LIN4_AirQS_Stat_Model.AirQS_Err_Stat != 0)); - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtDW.Aroma_CartridgeFlavor = - rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeFlavor_Stat; - - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtDW.Aroma_CartridgeCapacity = - rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeCapacity_Stat; - - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write13' - * Logic: '/OR' - */ - rtDW.CCU_IonizationErr_Stat = (uint8_t) - ((rtDW.LIN4_ERROR_model.in_error_connect[2] != 0) || - (rtDW.LIN4_ERROR_model.Error_Connect != 0) || - (rtDW.LIN4_Ionizer_Stat_Model.Ionizer_LinRespErr_Stat != 0) || - (rtDW.LIN4_Ionizer_Stat_Model.Ionizer_Err_Stat != 0)); - - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.dtc_state_error_model[41] = rtDW.LIN4_ERROR_model.Error_Connect; - - /* DataStoreWrite: '/Data Store Write16' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.dtc_state_error_model[44] = rtDW.LIN4_ERROR_model.Error_Connect; - - /* DataStoreWrite: '/Data Store Write17' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.dtc_state_error_model[42] = rtDW.CCU_IonizationErr_Stat; - - /* DataStoreWrite: '/Data Store Write18' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.dtc_state_error_model[43] = rtDW.CCU_IonizationErr_Stat; - - /* DataStoreWrite: '/Data Store Write19' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.dtc_state_error_model[49] = rtDW.LIN4_ERROR_model.Error_Connect; - - /* DataStoreWrite: '/Data Store Write20' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dtc_state_error_model[47] = rtDW.CCU_AirQualSenErr_Stat; - - /* DataStoreWrite: '/Data Store Write21' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dtc_state_error_model[48] = rtDW.CCU_AirQualSenErr_Stat; - - /* DataStoreWrite: '/Data Store Write22' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dtc_state_error_model[117] = rtDW.CCU_AirQualSenErr_Stat; - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write7' - * Logic: '/OR1' - */ - rtDW.CCU_AromaErr_Stat = (uint8_t)((rtDW.LIN4_ERROR_model.in_error_connect[1] - != 0) || (rtDW.LIN4_ERROR_model.Error_Connect != 0) || - (rtDW.LIN4_Aroma_Stat_Model.Aroma_LinRespErr_Stat != 0) || - (rtDW.LIN4_Aroma_Stat_Model.Aroma_Err_Stat != 0)); - - /* DataStoreWrite: '/Data Store Write23' incorporates: - * DataStoreWrite: '/Data Store Write7' - */ - rtDW.dtc_state_error_model[119] = rtDW.CCU_AromaErr_Stat; - - /* DataStoreWrite: '/Data Store Write24' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.dtc_state_error_model[118] = rtDW.CCU_IonizationErr_Stat; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreWrite: '/Data Store Write7' - */ - rtDW.dtc_state_error_model[39] = rtDW.CCU_AromaErr_Stat; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.AirQS_COLvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_COLvl_Stat; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.AirQS_NOxLvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_NOxLvl_Stat; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.AirQS_NH3Lvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_NH3Lvl_Stat; - - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtDW.Aroma_CartridgeSw = rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeSw_Stat; - - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreWrite: '/Data Store Write7' - */ - rtDW.dtc_state_error_model[40] = rtDW.CCU_AromaErr_Stat; - - /* Outputs for Enabled SubSystem: '/CHANEL4' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * RelationalOperator: '/FixPt Relational Operator' - * RelationalOperator: '/FixPt Relational Operator' - * RelationalOperator: '/FixPt Relational Operator' - * RelationalOperator: '/FixPt Relational Operator' - * RelationalOperator: '/FixPt Relational Operator' - * RelationalOperator: '/FixPt Relational Operator' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * UnitDelay: '/Delay Input1' - * UnitDelay: '/Delay Input1' - * UnitDelay: '/Delay Input1' - * UnitDelay: '/Delay Input1' - * UnitDelay: '/Delay Input1' - * UnitDelay: '/Delay Input1' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if (rtDW.BCM_T15_Stat > 0) { - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write8' - * Logic: '/OR' - * Logic: '/OR2' - * Logic: '/OR4' - * Logic: '/OR6' - */ - rtDW.CCU_DeflectorSwErrF_Stat = (uint8_t) - ((rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[0] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[1] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[2] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[3] != 0) || - ((rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[0] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[1] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[2] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[3] != 0)) || - ((rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[0] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[1] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[2] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[3] != 0)) || - (rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect != 0)); - - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreWrite: '/Data Store Write8' - */ - rtDW.dtc_state_error_model[45] = rtDW.CCU_DeflectorSwErrF_Stat; - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtDW.dtc_state_error_model[125] = - rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect; - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write9' - * Logic: '/OR1' - * Logic: '/OR3' - * Logic: '/OR5' - * Logic: '/OR7' - */ - rtDW.CCU_DeflectorSwErrR_Stat = (uint8_t) - ((rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[4] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[5] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[6] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[7] != 0) || - ((rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[4] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[5] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[6] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[7] != 0)) || - ((rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[4] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[5] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[6] != 0) || - (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[7] != 0)) || - (rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect != 0)); - - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreWrite: '/Data Store Write9' - */ - rtDW.dtc_state_error_model[46] = rtDW.CCU_DeflectorSwErrR_Stat; - - /* DataStoreWrite: '/Data Store Write23' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtDW.dtc_state_error_model[119] = - rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' + /* If: '/If' */ + if (rtB.sync_all > 0) { + /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: + * ActionPort: '/Action Port' */ - CCU_AC_FRONT_req_summary = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[0] > 0); - - /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: - * EnablePort: '/Enable' - */ - if ((int32_t)CCU_AC_FRONT_req_summary > (int32_t)rtDW.DelayInput1_DSTATE_e5) - { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' - */ - if ((int8_t)((int8_t)rtDW.DRS_SFL - 1) >= 0) { - rtDW.DRS_SFL = (uint8_t)((int8_t)rtDW.DRS_SFL - 1); - } else { - rtDW.DRS_SFL = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - Enable_Comp_PID = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[1] > 0); - - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' - */ - if ((int32_t)Enable_Comp_PID > (int32_t)rtDW.DelayInput1_DSTATE_k) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' - */ - if ((int8_t)((int8_t)rtDW.DRS_CFL - 1) >= 0) { - rtDW.DRS_CFL = (uint8_t)((int8_t)rtDW.DRS_CFL - 1); - } else { - rtDW.DRS_CFL = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtb_err = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[2] > 0); - - /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: - * EnablePort: '/Enable' - */ - if ((int32_t)rtb_err > (int32_t)rtDW.DelayInput1_DSTATE_l) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' - */ - if ((int8_t)((int8_t)rtDW.DRS_CFR - 1) >= 0) { - rtDW.DRS_CFR = (uint8_t)((int8_t)rtDW.DRS_CFR - 1); - } else { - rtDW.DRS_CFR = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem2' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtb_LogicalOperator6 = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[3] > 0); - - /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: - * EnablePort: '/Enable' - */ - if ((int32_t)rtb_LogicalOperator6 > (int32_t)rtDW.DelayInput1_DSTATE_kb) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' - */ - if ((int8_t)((int8_t)rtDW.DRS_SFR - 1) >= 0) { - rtDW.DRS_SFR = (uint8_t)((int8_t)rtDW.DRS_SFR - 1); - } else { - rtDW.DRS_SFR = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem3' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtb_LogicalOperator3 = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[4] > 0); - - /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: - * EnablePort: '/Enable' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' */ - if ((int32_t)rtb_LogicalOperator3 > (int32_t)rtDW.DelayInput1_DSTATE_kk) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' - */ - if ((int8_t)((int8_t)rtDW.DRS_SRL - 1) >= 0) { - rtDW.DRS_SRL = (uint8_t)((int8_t)rtDW.DRS_SRL - 1); - } else { - rtDW.DRS_SRL = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem4' */ + rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ - rtb_LogicalOperator8 = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[5] > 0); + rtDW.CCU_SET_RL = rtDW.CCU_SET_FL; - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write2' */ - if ((int32_t)rtb_LogicalOperator8 > (int32_t)rtDW.DelayInput1_DSTATE_d1) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' - */ - if ((int8_t)((int8_t)rtDW.DRS_SRR - 1) >= 0) { - rtDW.DRS_SRR = (uint8_t)((int8_t)rtDW.DRS_SRR - 1); - } else { - rtDW.DRS_SRR = 3U; - } + rtDW.CCU_SET_RR = rtDW.CCU_SET_FL; - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem5' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read1' */ - Duct1_R_error = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[6] > 0); + rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' */ - if ((int32_t)Duct1_R_error > (int32_t)rtDW.DelayInput1_DSTATE_b) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' - */ - if ((int8_t)((int8_t)rtDW.DRS_CRL - 1) >= 0) { - rtDW.DRS_CRL = (uint8_t)((int8_t)rtDW.DRS_CRL - 1); - } else { - rtDW.DRS_CRL = 3U; - } - - /* End of Switch: '/Switch' */ + rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; - } - - /* End of Outputs for SubSystem: '/Subsystem6' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreRead: '/Data Store Read1' */ - Duct2_R_error = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[7] > 0); + rtDW.CCU_BLOWERS_RR = rtDW.CCU_BLOWERS_FL; - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read2' */ - if ((int32_t)Duct2_R_error > (int32_t)rtDW.DelayInput1_DSTATE_i) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' - */ - if ((int8_t)((int8_t)rtDW.DRS_CRR - 1) >= 0) { - rtDW.DRS_CRR = (uint8_t)((int8_t)rtDW.DRS_CRR - 1); - } else { - rtDW.DRS_CRR = 3U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; - } + rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - /* End of Outputs for SubSystem: '/Subsystem7' */ - - /* Update for UnitDelay: '/Delay Input1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read3' */ - rtDW.DelayInput1_DSTATE_e5 = CCU_AC_FRONT_req_summary; + rtDW.CCU_FACE_RL = rtDW.CCU_FACE_FL; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read3' */ - rtDW.DelayInput1_DSTATE_k = Enable_Comp_PID; + rtDW.CCU_FACE_RR = rtDW.CCU_FACE_FL; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read3' */ - rtDW.DelayInput1_DSTATE_l = rtb_err; + rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read4' */ - rtDW.DelayInput1_DSTATE_kb = rtb_LogicalOperator6; + rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read4' */ - rtDW.DelayInput1_DSTATE_kk = rtb_LogicalOperator3; + rtDW.CCU_FOOT_RL = rtDW.CCU_FOOT_FL; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read4' */ - rtDW.DelayInput1_DSTATE_d1 = rtb_LogicalOperator8; + rtDW.CCU_FOOT_RR = rtDW.CCU_FOOT_FL; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read5' */ - rtDW.DelayInput1_DSTATE_b = Duct1_R_error; + rtDW.CCU_MODE_RR = rtDW.CCU_MODE_FL; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read5' */ - rtDW.DelayInput1_DSTATE_i = Duct2_R_error; - } - - /* End of DataStoreRead: '/Data Store Read1' */ - /* End of Outputs for SubSystem: '/CHANEL4' */ - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read82' - * DataStoreWrite: '/Data Store Write32' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.LIN4_CCU_Req_Model.CCU_Ionization_Req = rtDW.CCU_Ionization_algo_active; - rtDW.LIN4_CCU_Req_Model.CCU_AirQS_Req = rtb_AND2_d; - rtDW.LIN4_CCU_Req_Model.CCU_fHVAC_Pos_Val = 0U; - rtDW.LIN4_CCU_Req_Model.CCU_rHVAC_Pos_Val = 0U; - rtDW.LIN4_CCU_Req_Model.CCU_batChiller_Pos_Val = 0U; - rtDW.LIN4_CCU_Req_Model.CCU_eeChiller_Pos_Val = 0U; - - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreWrite: '/Data Store Write29' - */ - /* : IDLE = uint8(0); */ - /* : LO_RIGHT = uint8(1); */ - /* : HI_RIGHT = uint8(8); */ - /* : LO_LEFT = uint8(10); */ - /* : LO_BOTH = uint8(11); */ - /* : LO_4ZONE = uint8(22); */ - /* : HI_LEFT = uint8(80); */ - /* : HI_BOTH = uint8(88); */ - /* : HI_4ZONE = uint8(99); */ - /* : CAN_LoHi_Front = IDLE; */ - rtDW.CAN_LoHi_Front = 0U; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - * MATLAB Function: '/MATLAB Function1' - */ - /* : CAN_LoHi_Rear = IDLE; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 0U; - - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read40' - * DataStoreRead: '/Data Store Read41' - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read61' - * DataStoreWrite: '/Data Store Write29' - */ - /* : is_HI_4zone = (FL == 2 && FR == 2 && RL == 2 && RR == 2); */ - /* : is_LO_4zone = (FL == 1 && FR == 1 && RL == 1 && RR == 1); */ - CCU_AC_FRONT_req_summary = ((rtDW.LO_HI_MODE_FL == 1) && (rtDW.LO_HI_MODE_FR == - 1) && (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1)); - - /* : if is_HI_4zone */ - if ((rtDW.LO_HI_MODE_FL == 2) && (rtDW.LO_HI_MODE_FR == 2) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2)) { - /* : CAN_LoHi_Front = HI_4ZONE; */ - rtDW.CAN_LoHi_Front = 99U; + rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write29' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read5' */ - /* : CAN_LoHi_Rear = HI_4ZONE; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 99U; - } else { - if ((rtDW.LO_HI_MODE_FL == 2) && (rtDW.LO_HI_MODE_FR == 2)) { - /* : elseif FL == 2 && FR == 2 */ - /* : CAN_LoHi_Front = HI_BOTH; */ - rtDW.CAN_LoHi_Front = 88U; - } else if (rtDW.LO_HI_MODE_FL == 2) { - /* : elseif FL == 2 */ - /* : CAN_LoHi_Front = HI_LEFT; */ - rtDW.CAN_LoHi_Front = 80U; - } else if (rtDW.LO_HI_MODE_FR == 2) { - /* : elseif FR == 2 */ - /* : CAN_LoHi_Front = HI_RIGHT; */ - rtDW.CAN_LoHi_Front = 8U; - } else if (CCU_AC_FRONT_req_summary) { - /* : elseif is_LO_4zone */ - /* : CAN_LoHi_Front = LO_4ZONE; */ - rtDW.CAN_LoHi_Front = 22U; - } else if ((rtDW.LO_HI_MODE_FL == 1) && (rtDW.LO_HI_MODE_FR == 1)) { - /* : elseif FL == 1 && FR == 1 */ - /* : CAN_LoHi_Front = LO_BOTH; */ - rtDW.CAN_LoHi_Front = 11U; - } else if (rtDW.LO_HI_MODE_FL == 1) { - /* : elseif FL == 1 */ - /* : CAN_LoHi_Front = LO_LEFT; */ - rtDW.CAN_LoHi_Front = 10U; - } else if (rtDW.LO_HI_MODE_FR == 1) { - /* : elseif FR == 1 */ - /* : CAN_LoHi_Front = LO_RIGHT; */ - rtDW.CAN_LoHi_Front = 1U; - } + rtDW.CCU_MODE_RL = rtDW.CCU_MODE_FL; - if ((rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2)) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : elseif RL == 2 && RR == 2 */ - /* : CAN_LoHi_Rear = HI_BOTH; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 88U; - } else if (rtDW.LO_HI_MODE_RL == 2) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : elseif RL == 2 */ - /* : CAN_LoHi_Rear = HI_LEFT; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 80U; - } else if (rtDW.LO_HI_MODE_RR == 2) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : elseif RR == 2 */ - /* : CAN_LoHi_Rear = HI_RIGHT; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 8U; - } else if (CCU_AC_FRONT_req_summary) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : elseif is_LO_4zone */ - /* : CAN_LoHi_Rear = LO_4ZONE; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 22U; - } else if ((rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1)) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : elseif RL == 1 && RR == 1 */ - /* : CAN_LoHi_Rear = LO_BOTH; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 11U; - } else if (rtDW.LO_HI_MODE_RL == 1) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : elseif RL == 1 */ - /* : CAN_LoHi_Rear = LO_LEFT; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 10U; - } else if (rtDW.LO_HI_MODE_RR == 1) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - /* : elseif RR == 1 */ - /* : CAN_LoHi_Rear = LO_RIGHT; */ - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 1U; - } - } - - /* Switch: '/Switch7' incorporates: - * Constant: '/Constant17' - * Constant: '/Constant18' - * Constant: '/Constant19' - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator16' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator5' - * Sum: '/Subtract' - * Switch: '/Switch4' - * Switch: '/Switch5' - * Switch: '/Switch6' - */ - /* : if is_HI_4zone */ - if (rtDW.leaving == 2.0) { - rtb_P_f = 1.0; - rtb_I_od = 1.0; - rtb_output_h = 1.0; - rtb_output = 1.0; - } else { - rtb_P_f = (rtDW.CCU_AmbTempSensErr_Stat == 0); - rtb_I_od = (rtb_Switch3_no < 50); - rtb_output_h = ((int16_t)(rtDW.AMB - rtb_Switch3_no) > 150); - rtb_output = (rtb_Divide1 > 50.0); - } - - /* End of Switch: '/Switch7' */ - - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant11' - * Constant: '/Constant12' - * Constant: '/Constant13' - * Constant: '/Constant14' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read76' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator10' - * RelationalOperator: '/Relational Operator11' - * RelationalOperator: '/Relational Operator13' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator6' - * RelationalOperator: '/Relational Operator9' - * Sum: '/Subtract1' - * Switch: '/Switch1' - */ - if ((rtb_P_f != 0.0) && (rtDW.BCM_T15_Stat == 1) && (rtDW.Mode_FL == 1) && - (rtb_I_od != 0.0) && (rtb_output_h != 0.0) && (rtb_output != 0.0) && - (rtDW.CCU_AC_MAX != 1) && (rtDW.t_now - rtDW.timer < 600000U) && - (rtDW.start_control_finished_front == 0.0) && (g_assAUTODEMIST_STEP_UP[0] < - 0)) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * RelationalOperator: '/Relational Operator12' - * RelationalOperator: '/Compare' + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read6' */ - if (rtDW.timer <= 0U) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.timer = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - rtDW.leaving = 2.0; - } else { - rtDW.timer = 0U; - rtDW.leaving = 0.0; - } - - /* End of Switch: '/Switch3' */ - - /* Outputs for Atomic SubSystem: '/MAX DEF' */ - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write33' - */ - /* : exit_condition = false; */ - rtb_AND2_d = false; - - /* : if isempty(DRS_array_persistent) */ - if (!rtDW.DRS_array_persistent_not_empty) { - /* : DRS_array_persistent = DRS_array; */ - for (i = 0; i < 8; i++) { - rtDW.DRS_array_persistent[i] = rtY.DRS_output[i]; - } - - rtDW.DRS_array_persistent_not_empty = true; - } - - /* : if isempty(FIU_CCU1_model_persistent) */ - if (!rtDW.FIU_CCU1_model_persistent_not_empty_m) { - /* : FIU_CCU1_model_persistent = FIU_CCU1_model; */ - rtDW.FIU_CCU1_model_persistent_a = rtDW.FIU_CCU1_MODEL; - rtDW.FIU_CCU1_model_persistent_not_empty_m = true; - } - - /* : if ~isequal(DRS_array, DRS_array_persistent) */ - CCU_AC_FRONT_req_summary = false; - Enable_Comp_PID = true; - rtb_Gain2 = 0; - exitg1 = false; - while ((!exitg1) && (rtb_Gain2 < 8)) { - if (rtY.DRS_output[rtb_Gain2] != rtDW.DRS_array_persistent[rtb_Gain2]) { - Enable_Comp_PID = false; - exitg1 = true; - } else { - rtb_Gain2++; - } - } + rtDW.CCU_AUTOMODE_FR = rtDW.CCU_AUTOMODE_FL; - if (Enable_Comp_PID) { - CCU_AC_FRONT_req_summary = true; - } - - if (!CCU_AC_FRONT_req_summary) { - /* : exit_condition = true; */ - rtb_AND2_d = true; - } - - /* : if ~isequal(FIU_CCU1_model, FIU_CCU1_model_persistent) */ - if (!isequal(rtDW.FIU_CCU1_MODEL, rtDW.FIU_CCU1_model_persistent_a)) { - /* : exit_condition = true; */ - rtb_AND2_d = true; - } - - /* : if defButton == 0 */ - if (rtDW.CCU_Defrost == 0) { - /* : exit_condition = true; */ - rtb_AND2_d = true; - } - - /* : DRS_array_persistent = DRS_array; */ - for (i = 0; i < 8; i++) { - rtDW.DRS_array_persistent[i] = rtY.DRS_output[i]; - } - - /* : FIU_CCU1_model_persistent = FIU_CCU1_model; */ - rtDW.FIU_CCU1_model_persistent_a = rtDW.FIU_CCU1_MODEL; - - /* End of MATLAB Function: '/MATLAB Function1' */ - - /* Lookup_n-D: '/Max_blower_speed' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtb_Saturation2_a = look1_is16lu64n32tu16_binlcse(rtDW.ECT, - rtConstP.Max_blower_speed_bp01Data, &g_ausMAX_BLR_SPD[0], 5U); - - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - */ - /* : if isempty(is_active_persistent) */ - /* : flu_duct_target = int16(0); */ - rtDW.Max_def_FLU_duct_tg = 0; - - /* : fru_duct_target = int16(0); */ - /* : fl_blower_af = uint16(0); */ - rtDW.Max_def_FL_blower_AF = 0U; - - /* : fr_blower_af = uint16(0); */ - rtDW.Max_def_FR_blower_AF = 0U; - - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write7' - * MATLAB Function: '/MATLAB Function' - */ - /* : OSA_valve = uint8(0); */ - rtDW.Max_def_OSA_valve = 0U; - - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/MATLAB Function' - */ - /* : REC_valve = uint8(0); */ - rtDW.Max_def_Rec_valve = 0U; - - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write9' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * Lookup_n-D: '/Max_Def_U_Dtg' - */ - /* : Foot_Temp_Corr_FL = int16(0); */ - rtDW.Max_def_ind_foot_corr_FL = 0; - - /* Outputs for Atomic SubSystem: '/Autodemist (all-season mode and winter mode)' */ - /* : Foot_Temp_Corr_FR = int16(0); */ - /* : if entry_conditions_max_defrost == true && is_active_persistent == false */ - if ((rtb_Compare_hv || rtb_Compare_df || (rtDW.CCU_Defrost != 0)) && - (!rtDW.is_active_persistent)) { - /* : is_active_persistent = true; */ - rtDW.is_active_persistent = true; - } - - /* End of Outputs for SubSystem: '/Autodemist (all-season mode and winter mode)' */ - /* : if exit_conditions_max_defrost == true && is_active_persistent == true */ - if (rtb_AND2_d && rtDW.is_active_persistent) { - /* : is_active_persistent = false; */ - rtDW.is_active_persistent = false; - } - - /* : if is_active_persistent */ - if (rtDW.is_active_persistent) { - /* : Foot_Temp_Corr_FL = int16(0); */ - rtDW.Max_def_ind_foot_corr_FL = 0; - - /* : Foot_Temp_Corr_FR = int16(0); */ - /* : flu_duct_target = Max_Def_U_Dtg; */ - rtDW.Max_def_FLU_duct_tg = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, - rtConstP.Max_Def_U_Dtg_bp01Data, &g_assMAX_DEF_U_DTG[0], 9U); - - /* : fru_duct_target = Max_Def_U_Dtg; */ - /* : fl_blower_af = Max_blower_speed; */ - rtDW.Max_def_FL_blower_AF = rtb_Saturation2_a; - - /* : fr_blower_af = Max_blower_speed; */ - rtDW.Max_def_FR_blower_AF = rtb_Saturation2_a; - - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write7' - * Lookup_n-D: '/Max_Def_U_Dtg' + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreRead: '/Data Store Read6' */ - /* : OSA_valve = uint8(100); */ - rtDW.Max_def_OSA_valve = 100U; - - /* Switch: '/Switch2' */ - /* : REC_valve = uint8(0); */ - rtDW.Max_def_Rec_valve = 0U; - } - - /* : is_active = is_active_persistent; */ - rtDW.Max_def_algo_active = rtDW.is_active_persistent; - - /* End of Outputs for SubSystem: '/MAX DEF' */ - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_Defrost = rtDW.Max_def_algo_active; + rtDW.CCU_AUTOMODE_RL = rtDW.CCU_AUTOMODE_FL; - /* MATLAB Function: '/any message from FIU or TM_CP' incorporates: - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read4' - */ - /* : exit_condition = false; */ - /* : if isempty(FIU_CCU1_model_persistent) */ - if (!rtDW.FIU_CCU1_model_persistent_not_empty) { - /* : FIU_CCU1_model_persistent = FIU_CCU1_model; */ - rtDW.FIU_CCU1_model_persistent = rtDW.FIU_CCU1_MODEL; - rtDW.FIU_CCU1_model_persistent_not_empty = true; - } - - /* : if isempty(TM_CP_model_persistent) */ - if (!rtDW.TM_CP_model_persistent_not_empty) { - /* : TM_CP_model_persistent = TM_CP_model; */ - rtDW.TM_CP_model_persistent = rtDW.TM_CP_model; - rtDW.TM_CP_model_persistent_not_empty = true; - } - - /* : if ~isequal(FIU_CCU1_model, FIU_CCU1_model_persistent) */ - /* : if ~isequal(TM_CP_model, TM_CP_model_persistent) */ - /* : FIU_CCU1_model_persistent = FIU_CCU1_model; */ - rtDW.FIU_CCU1_model_persistent = rtDW.FIU_CCU1_MODEL; - - /* : TM_CP_model_persistent = TM_CP_model; */ - rtDW.TM_CP_model_persistent = rtDW.TM_CP_model; - - /* End of MATLAB Function: '/any message from FIU or TM_CP' */ - - /* Chart: '/Operation mode' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.is_active_c1511_HVAC_model == 0U) { - rtDW.is_active_c1511_HVAC_model = 1U; - rtDW.is_c1511_HVAC_model = IN_OFF; - - /* : operation_mode = 0; */ - rtb_Gain2 = 0; - } else { - switch (rtDW.is_c1511_HVAC_model) { - case IN_FULL: - rtb_Gain2 = 3; - - /* : sf_internal_predicateOutput = REST_mode_state == 1; */ - /* : sf_internal_predicateOutput = T15_state == 0; */ - if (rtDW.BCM_T15_Stat == 0) { - rtDW.is_c1511_HVAC_model = IN_REDUCED; - - /* : operation_mode = 1; */ - rtb_Gain2 = 1; - } - break; - - case IN_OFF: - rtb_Gain2 = 0; - - /* : sf_internal_predicateOutput = T30d_state== 1 & BCM_CCTerm_state == 1 && IGN_voltage > 6; */ - if ((rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T30d_Stat == 1) && - (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTerm_Stat == 1) && (IGN_voltage - > 6.0)) { - rtDW.is_c1511_HVAC_model = IN_REDUCED; - - /* : operation_mode = 1; */ - rtb_Gain2 = 1; - } else { - /* : sf_internal_predicateOutput = T15_state == 0 && T30d_state== 1 & remote_start_state == 1; */ - } - break; - - case IN_REDUCED: - rtb_Gain2 = 1; - - /* : sf_internal_predicateOutput = T15_state == 1; */ - if (rtDW.BCM_T15_Stat == 1) { - rtDW.is_c1511_HVAC_model = IN_FULL; - - /* : operation_mode = 3; */ - rtb_Gain2 = 3; - - /* : sf_internal_predicateOutput = T30d_state~= 1 || BCM_CCTerm_state ~= 1 || IGN_voltage <= 6; */ - } else if ((rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T30d_Stat != 1) || - (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTerm_Stat != 1) || - (IGN_voltage <= 6.0)) { - rtDW.is_c1511_HVAC_model = IN_OFF; - - /* : operation_mode = 0; */ - rtb_Gain2 = 0; - } - break; - - case IN_REMOTE_START: - /* : sf_internal_predicateOutput = T15_state == 0 && T30d_state == 0; */ - if ((rtDW.BCM_T15_Stat == 0) && - (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T30d_Stat == 0)) { - rtDW.is_c1511_HVAC_model = IN_OFF; - - /* : operation_mode = 0; */ - rtb_Gain2 = 0; - } else { - /* : sf_internal_predicateOutput = remote_start_state ~= 1 || any_TM_CP_message == 1; */ - rtDW.is_c1511_HVAC_model = IN_FULL; - - /* : operation_mode = 3; */ - rtb_Gain2 = 3; - } - break; - - default: - /* case IN_REST: */ - rtb_Gain2 = 2; - - /* : sf_internal_predicateOutput = REST_mode_state == 0 && T15_state == 1; */ - if (rtDW.BCM_T15_Stat == 1) { - rtDW.is_c1511_HVAC_model = IN_FULL; - - /* : operation_mode = 3; */ - rtb_Gain2 = 3; - } - break; - } - } - - /* End of Chart: '/Operation mode' */ - - /* MATLAB Function: '/choose sensor FRU' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read33' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write23' - */ - /* : if duct_center_error || duct_side_error */ - if (rtb_Compare_ac || Duct5_F_error) { - /* : if duct_side_error */ - if (Duct5_F_error) { - /* : sensor = duct_center; */ - Eva_F_tg = Duct1_F; - - /* : duct_select_index_dbg = 0; */ - } else { - /* : else */ - /* : sensor = duct_side; */ - Eva_F_tg = Duct5_F; - - /* : duct_select_index_dbg = 1; */ - } - - /* : else */ - /* : if SFL_valve > 0 */ - } else if (rtb_out_gk22[3] > 0) { - /* : sensor = duct_side; */ - Eva_F_tg = Duct5_F; - - /* : duct_select_index_dbg = 1; */ - } else { - /* : else */ - /* : sensor = duct_center; */ - Eva_F_tg = Duct1_F; - - /* : duct_select_index_dbg = 0; */ - } - - /* End of MATLAB Function: '/choose sensor FRU' */ - - /* Gain: '/Gain17' incorporates: - * DataStoreRead: '/Data Store Read44' - * Sum: '/Minus' - * UnitDelay: '/Unit Delay' - */ - rtb_Gain17 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE) * - 0.0010000000002037268; - - /* MATLAB Function: '/MATLAB Function1' incorporates: - * Constant: '/Constant26' - * Constant: '/Constant29' - * Constant: '/Constant36' - * Constant: '/Constant41' - * Constant: '/Constant98' - * DataStoreRead: '/Data Store Read17' - * DataTypeConversion: '/Data Type Conversion32' - * DataTypeConversion: '/Data Type Conversion33' - */ - MATLABFunction_m((double)rtb_FLU_tg_correct, (double)Eva_F_tg, rtb_Gain17, - (double)g_assPID_VALVE_FRONT_UP[0] / 100.0, (double) - g_assPID_VALVE_FRONT_UP[1] / 1000.0, (double) - g_assPID_VALVE_FRONT_UP[2] / 100.0, (double) - g_assPID_VALVE_FRONT_UP[3] / 10.0, (double) - g_assPID_VALVE_FRONT_UP[4] / 10.0, - &rtb_duct_select_index_dbg_c, &rtb_Divide5_m, &IGN_voltage, - &rtb_Divide7, &rtDW.sf_MATLABFunction1_l); - - /* Switch: '/Switch12' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant97' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read76' - * DataStoreWrite: '/Data Store Write12' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch' - */ - if (rtDW.CCU_AC_MAX > 0) { - rtDW.PID_TempFUL = 0U; - } else if (rtDW.LO_HI_MODE_FL == 1) { - /* DataStoreWrite: '/Data Store Write12' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' - */ - rtDW.PID_TempFUL = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion26' incorporates: - * Switch: '/Switch' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * DataStoreRead: '/Data Store Read6' */ - v = fabs(rtb_duct_select_index_dbg_c); - if (v < 4.503599627370496E+15) { - if (v >= 0.5) { - rtb_duct_select_index_dbg_c = floor(rtb_duct_select_index_dbg_c + 0.5); - } else { - rtb_duct_select_index_dbg_c = 0.0; - } - } + rtDW.CCU_AUTOMODE_RR = rtDW.CCU_AUTOMODE_FL; - /* Saturate: '/Saturation9' incorporates: - * DataTypeConversion: '/Data Type Conversion26' - * Switch: '/Switch' + /* DataStoreWrite: '/Data Store Write19' incorporates: + * DataStoreRead: '/Data Store Read7' */ - if ((uint8_t)rtb_duct_select_index_dbg_c <= 100) { - /* DataStoreWrite: '/Data Store Write12' */ - rtDW.PID_TempFUL = (uint8_t)rtb_duct_select_index_dbg_c; - } else { - /* DataStoreWrite: '/Data Store Write12' */ - rtDW.PID_TempFUL = 100U; - } + rtDW.CCU_AC_REAR = rtDW.CCU_AC_FRONT; - /* End of Saturate: '/Saturation9' */ + /* End of Outputs for SubSystem: '/all zone sync' */ } - /* End of Switch: '/Switch12' */ + /* End of If: '/If' */ - /* MATLAB Function: '/choose sensor FRightLower' incorporates: - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read33' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write23' - * DataStoreWrite: '/Data Store Write15' - */ - choosesensorFLL(Duct4_F, rtb_Bias1_h, Duct4_F_error, Duct4_R_error, - rtDW.CCUCAN_tStatus_CCU_Configuration_model.AlgorithmConfiguration, - rtb_out_gk22[6], rtb_out_gk22[7], &rtb_DataTypeConversion1_oq, - &rtb_Divide1_jg); + /* DataStoreWrite: '/Data Store Write17' */ + rtDW.CCU_FRONT_SYNC = rtB.sync_front; - /* MATLAB Function: '/MATLAB Function3' incorporates: - * Constant: '/Constant101' - * Constant: '/Constant102' - * Constant: '/Constant42' - * Constant: '/Constant86' - * Constant: '/Constant87' - * DataStoreRead: '/Data Store Read34' - * DataTypeConversion: '/Data Type Conversion37' - * DataTypeConversion: '/Data Type Conversion38' - */ - MATLABFunction_m((double)rtb_y_he, (double)rtb_DataTypeConversion1_oq, - rtb_Gain17, (double)g_assPID_VALVE_FRONT_LOW[0] / 100.0, - (double)g_assPID_VALVE_FRONT_LOW[1] / 1000.0, (double) - g_assPID_VALVE_FRONT_LOW[2] / 100.0, (double) - g_assPID_VALVE_FRONT_LOW[3] / 10.0, (double) - g_assPID_VALVE_FRONT_LOW[4] / 10.0, - &rtb_duct_select_index_dbg_c, &rtb_Divide7_g, &rtb_Divide10, - &rtb_Divide11, &rtDW.sf_MATLABFunction3); - - /* Switch: '/Switch14' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant97' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read76' - * DataStoreWrite: '/Data Store Write13' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch' - */ - if (rtDW.CCU_AC_MAX > 0) { - rtDW.PID_TempFRL = 0U; - } else if (rtDW.LO_HI_MODE_FR == 1) { - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' - */ - rtDW.PID_TempFRL = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion27' incorporates: - * Switch: '/Switch' + /* If: '/If1' */ + if (rtB.sync_front > 0) { + /* Outputs for IfAction SubSystem: '/front sync' incorporates: + * ActionPort: '/Action Port' */ - v = fabs(rtb_duct_select_index_dbg_c); - if (v < 4.503599627370496E+15) { - if (v >= 0.5) { - rtb_duct_select_index_dbg_c = floor(rtb_duct_select_index_dbg_c + 0.5); - } else { - rtb_duct_select_index_dbg_c = 0.0; - } - } - - /* Saturate: '/Saturation11' incorporates: - * DataTypeConversion: '/Data Type Conversion27' - * Switch: '/Switch' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' */ - if ((uint8_t)rtb_duct_select_index_dbg_c <= 100) { - /* DataStoreWrite: '/Data Store Write13' */ - rtDW.PID_TempFRL = (uint8_t)rtb_duct_select_index_dbg_c; - } else { - /* DataStoreWrite: '/Data Store Write13' */ - rtDW.PID_TempFRL = 100U; - } - - /* End of Saturate: '/Saturation11' */ - } - - /* End of Switch: '/Switch14' */ + rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; - /* MATLAB Function: '/choose sensor FLL' incorporates: - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read33' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write23' - * DataStoreWrite: '/Data Store Write15' - */ - choosesensorFLL(Duct3_F, rtb_MultiportSwitch_ac, Duct3_F_error, Duct3_R_error, - rtDW.CCUCAN_tStatus_CCU_Configuration_model.AlgorithmConfiguration, - rtb_out_gk22[4], rtb_out_gk22[5], &rtb_DataTypeConversion1_oq, - &rtb_duct_select_index_dbg_c); - - /* MATLAB Function: '/MATLAB Function2' incorporates: - * Constant: '/Constant100' - * Constant: '/Constant43' - * Constant: '/Constant55' - * Constant: '/Constant85' - * Constant: '/Constant99' - * DataStoreRead: '/Data Store Read35' - * DataTypeConversion: '/Data Type Conversion35' - * DataTypeConversion: '/Data Type Conversion36' - */ - MATLABFunction_m((double)rtb_FLU_tg_correct_b, (double) - rtb_DataTypeConversion1_oq, rtb_Gain17, (double) - g_assPID_VALVE_FRONT_LOW[0] / 100.0, (double) - g_assPID_VALVE_FRONT_LOW[1] / 1000.0, (double) - g_assPID_VALVE_FRONT_LOW[2] / 100.0, (double) - g_assPID_VALVE_FRONT_LOW[3] / 10.0, (double) - g_assPID_VALVE_FRONT_LOW[4] / 10.0, &rtb_I_od, &rtb_P_a, - &rtb_I_g, &rtb_D_j, &rtDW.sf_MATLABFunction2); - - /* Switch: '/Switch13' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant97' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read76' - * DataStoreWrite: '/Data Store Write14' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch' - */ - if (rtDW.CCU_AC_MAX > 0) { - rtDW.PID_TempFLL = 0U; - } else if (rtDW.LO_HI_MODE_FL == 1) { - /* DataStoreWrite: '/Data Store Write14' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtDW.PID_TempFLL = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion28' incorporates: - * Switch: '/Switch' - */ - v = fabs(rtb_I_od); - if (v < 4.503599627370496E+15) { - if (v >= 0.5) { - rtb_I_od = floor(rtb_I_od + 0.5); - } else { - rtb_I_od = 0.0; - } - } + rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; - /* Saturate: '/Saturation10' incorporates: - * DataTypeConversion: '/Data Type Conversion28' - * Switch: '/Switch' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read2' */ - if ((uint8_t)rtb_I_od <= 100) { - /* DataStoreWrite: '/Data Store Write14' */ - rtDW.PID_TempFLL = (uint8_t)rtb_I_od; - } else { - /* DataStoreWrite: '/Data Store Write14' */ - rtDW.PID_TempFLL = 100U; - } - - /* End of Saturate: '/Saturation10' */ - } - - /* End of Switch: '/Switch13' */ - - /* MATLAB Function: '/MATLAB Function5' incorporates: - * Constant: '/Constant105' - * Constant: '/Constant106' - * Constant: '/Constant88' - * Constant: '/Constant92' - * Constant: '/Constant93' - * DataStoreRead: '/Data Store Read38' - * DataStoreRead: '/Data Store Read41' - * DataTypeConversion: '/Data Type Conversion41' - * DataTypeConversion: '/Data Type Conversion42' - */ - MATLABFunction_m((double)rtDW.Duct_RR_Tg, (double)rtb_X, rtb_Gain17, (double) - g_assPID_VALVE_REAR[0] / 100.0, (double)g_assPID_VALVE_REAR[1] - / 1000.0, (double)g_assPID_VALVE_REAR[2] / 100.0, (double) - g_assPID_VALVE_REAR[3] / 10.0, (double)g_assPID_VALVE_REAR[4] - / 10.0, &rtb_output_h, &rtb_P_f, &rtb_I_od, &rtb_D, - &rtDW.sf_MATLABFunction5); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write15' - * RelationalOperator: '/Relational Operator2' - */ - if (rtDW.LO_HI_MODE_RR == 1) { - rtDW.PID_TempRR = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion30' */ - v = fabs(rtb_output_h); - if (v < 4.503599627370496E+15) { - if (v >= 0.5) { - rtb_output_h = floor(rtb_output_h + 0.5); - } else { - rtb_output_h = 0.0; - } - } + rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - /* Saturate: '/Saturation13' incorporates: - * DataTypeConversion: '/Data Type Conversion30' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read3' */ - if ((uint8_t)rtb_output_h <= 100) { - rtDW.PID_TempRR = (uint8_t)rtb_output_h; - } else { - rtDW.PID_TempRR = 100U; - } - - /* End of Saturate: '/Saturation13' */ - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/MATLAB Function4' incorporates: - * Constant: '/Constant103' - * Constant: '/Constant104' - * Constant: '/Constant89' - * Constant: '/Constant90' - * Constant: '/Constant91' - * DataStoreRead: '/Data Store Read39' - * DataStoreRead: '/Data Store Read40' - * DataTypeConversion: '/Data Type Conversion39' - * DataTypeConversion: '/Data Type Conversion40' - */ - MATLABFunction_m((double)rtb_FLU_tg_correct_p, (double)rtb_MultiportSwitch_cq, - rtb_Gain17, (double)g_assPID_VALVE_REAR[0] / 100.0, (double) - g_assPID_VALVE_REAR[1] / 1000.0, (double)g_assPID_VALVE_REAR - [2] / 100.0, (double)g_assPID_VALVE_REAR[3] / 10.0, (double) - g_assPID_VALVE_REAR[4] / 10.0, &rtb_output, &rtb_output_h, - &rtb_I, &rtb_D_m, &rtDW.sf_MATLABFunction4); + rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write16' - * RelationalOperator: '/Relational Operator2' - */ - if (rtDW.LO_HI_MODE_RL == 1) { - rtDW.PID_TempRL = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion31' */ - v = fabs(rtb_output); - if (v < 4.503599627370496E+15) { - if (v >= 0.5) { - rtb_output = floor(rtb_output + 0.5); - } else { - rtb_output = 0.0; - } - } - - /* Saturate: '/Saturation12' incorporates: - * DataTypeConversion: '/Data Type Conversion31' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read4' */ - if ((uint8_t)rtb_output <= 100) { - rtDW.PID_TempRL = (uint8_t)rtb_output; - } else { - rtDW.PID_TempRL = 100U; - } - - /* End of Saturate: '/Saturation12' */ - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/choose sensor FRU' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read33' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write23' - * DataStoreWrite: '/Data Store Write' - */ - /* : if duct_center_error || duct_side_error */ - if (rtb_Compare_aek || Duct6_F_error) { - /* : if duct_side_error */ - if (Duct6_F_error) { - /* : sensor = duct_center; */ - Eva_F_tg = rtb_FLU_tg_correct_cz; - - /* : duct_select_index_dbg = 0; */ - rtb_Cmd_3Way = 0; - } else { - /* : else */ - /* : sensor = duct_side; */ - Eva_F_tg = Duct6_F; - - /* : duct_select_index_dbg = 1; */ - rtb_Cmd_3Way = 1; - } - - /* : else */ - /* : if SFR_valve > 0 */ - } else if (rtb_out_gk22[3] > 0) { - /* : sensor = duct_side; */ - Eva_F_tg = Duct6_F; + rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; - /* : duct_select_index_dbg = 1; */ - rtb_Cmd_3Way = 1; - } else { - /* : else */ - /* : sensor = duct_center; */ - Eva_F_tg = rtb_FLU_tg_correct_cz; - - /* : duct_select_index_dbg = 0; */ - rtb_Cmd_3Way = 0; - } - - /* End of MATLAB Function: '/choose sensor FRU' */ - - /* MATLAB Function: '/MATLAB Function' incorporates: - * Constant: '/Constant27' - * Constant: '/Constant28' - * Constant: '/Constant94' - * Constant: '/Constant95' - * Constant: '/Constant96' - * DataStoreRead: '/Data Store Read42' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion29' - */ - MATLABFunction_m((double)Duct_FRU_Tg, (double)Eva_F_tg, rtb_Gain17, (double) - g_assPID_VALVE_FRONT_UP[0] / 100.0, (double) - g_assPID_VALVE_FRONT_UP[1] / 1000.0, (double) - g_assPID_VALVE_FRONT_UP[2] / 100.0, (double) - g_assPID_VALVE_FRONT_UP[3] / 10.0, (double) - g_assPID_VALVE_FRONT_UP[4] / 10.0, &rtb_output_dk, &rtb_P_e5, - &rtb_output, &rtb_D_o, &rtDW.sf_MATLABFunction_m); - - /* Switch: '/Switch11' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant97' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read76' - * DataStoreWrite: '/Data Store Write17' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch' - */ - if (rtDW.CCU_AC_MAX > 0) { - rtDW.PID_TempFUR = 0U; - } else if (rtDW.LO_HI_MODE_FR == 1) { - /* DataStoreWrite: '/Data Store Write17' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' - */ - rtDW.PID_TempFUR = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion34' incorporates: - * Switch: '/Switch' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read5' */ - v = fabs(rtb_output_dk); - if (v < 4.503599627370496E+15) { - if (v >= 0.5) { - rtb_output_dk = floor(rtb_output_dk + 0.5); - } else { - rtb_output_dk = 0.0; - } - } + rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; - /* Saturate: '/Saturation14' incorporates: - * DataTypeConversion: '/Data Type Conversion34' - * Switch: '/Switch' + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read6' */ - if ((uint8_t)rtb_output_dk <= 100) { - /* DataStoreWrite: '/Data Store Write17' */ - rtDW.PID_TempFUR = (uint8_t)rtb_output_dk; - } else { - /* DataStoreWrite: '/Data Store Write17' */ - rtDW.PID_TempFUR = 100U; - } + rtDW.CCU_AUTOMODE_FR = rtDW.CCU_AUTOMODE_FL; - /* End of Saturate: '/Saturation14' */ + /* End of Outputs for SubSystem: '/front sync' */ } - /* End of Switch: '/Switch11' */ - - /* Gain: '/Gain16' */ - rtb_Gain17 = 10.0 * rtb_output; - - /* RelationalOperator: '/Equal' incorporates: - * Constant: '/Full mode' - * DataStoreRead: '/Data Store Read64' - */ - rtb_AND2_d = (rtb_Gain2 == 3); + /* End of If: '/If1' */ - /* Switch: '/Switch2' incorporates: - * DataStoreRead: '/Data Store Read5' - * Switch: '/Åñëè âêëþ÷åí ðåæèì REST' - */ - if (rtb_AND2_d) { - /* Product: '/Divide' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * Sum: '/Add' - */ - rtb_output = (double)(rtb_Saturation_as + Gain1) / 4.0; - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * Saturate: '/Saturation2' - */ - if (rtb_output > 0.0) { - /* Saturate: '/Saturation2' */ - if (rtb_output < 15.0) { - rtb_output = 15.0; - } - } else { - rtb_output = 0.0; - } + /* DataStoreWrite: '/Data Store Write15' */ + rtDW.CCU_REAR_SYNC = rtB.sync_rear; - /* End of Switch: '/Switch' */ - } else if (rtDW.REST_is_active > 0.0) { - /* Switch: '/Åñëè âêëþ÷åí ðåæèì REST' incorporates: - * DataStoreRead: '/Data Store Read8' + /* If: '/If2' */ + if (rtB.sync_rear > 0) { + /* Outputs for IfAction SubSystem: '/rear sync' incorporates: + * ActionPort: '/Action Port' */ - rtb_output = rtDW.REST_blower_PWM_F; - } else { - rtb_output = 0.0; - } - - /* End of Switch: '/Switch2' */ - - /* DataTypeConversion: '/Data Type Conversion1' */ - min_side_L = (uint8_t)rtb_output; - - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant7' - */ - if (rtb_AND2_d) { - /* Switch: '/Switch6' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write2' - * Product: '/Divide1' - * Sum: '/Add1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write2' */ - if (rtDW.DifferentBlower_Rear_isActive) { - rtb_output = rtB.PWM; - } else { - rtb_output = (double)(rtb_out_hiu + rtb_out_bab) / 4.0; - } - - /* End of Switch: '/Switch6' */ + rtDW.CCU_SET_RL = rtDW.CCU_SET_RR; - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant3' - * Saturate: '/Saturation1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' */ - if (rtb_output > 0.0) { - /* Saturate: '/Saturation1' */ - if (rtb_output > 80.0) { - rtb_output = 80.0; - } else if (rtb_output < 15.0) { - rtb_output = 15.0; - } - } else { - rtb_output = 0.0; - } - - /* End of Switch: '/Switch1' */ - } else { - rtb_output = 0.0; - } - - /* End of Switch: '/Switch4' */ - - /* Outputs for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* Gain: '/Gain' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_Saturation2_a = (uint16_t)(10U * (uint8_t)rtb_output); - - /* Gain: '/Gain1' */ - rtb_out_g1d = (uint16_t)(10U * min_side_L); - - /* MATLAB Function: '/blowerControlBySOC' incorporates: - * Constant: '/auto1' - * Constant: '/auto12' - * Constant: '/auto2' - * Constant: '/auto3' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write9' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - */ - /* : frontPWM_out = FrontPWM_in; */ - rtb_out_d1n = rtb_out_g1d; - - /* : rearPWM_out = RearPWM_in; */ - rtb_out_e2e = rtb_Saturation2_a; - - /* : if entry_conditions */ - if (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn > 1) { - /* Lookup_n-D: '/FRONT_HVAC_LIMITED' */ - /* : frontPWM_out = min(FrontPWM_in, Front_limitedPWM); */ - rtb_out_d1n = look1_iu8bu16lu64n32tu16_binlcse - (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn, rtConstP.pooled87, - rtConstP.FRONT_HVAC_LIMITED_tableData, 5U); - if (rtb_out_g1d <= rtb_out_d1n) { - rtb_out_d1n = rtb_out_g1d; - } - - /* Lookup_n-D: '/REAR_HVAC_LIMITED' */ - /* : rearPWM_out = min(RearPWM_in, Rear_limitedPWM); */ - rtb_out_e2e = look1_iu8bu16lu64n32tu16_binlcse - (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn, rtConstP.pooled87, - rtConstP.REAR_HVAC_LIMITED_tableData, 5U); - if (rtb_Saturation2_a <= rtb_out_e2e) { - rtb_out_e2e = rtb_Saturation2_a; - } - - /* : if frontPWM_out > 0 */ - if ((rtb_out_d1n > 0) && (rtb_out_d1n < g_ausMIN_PWM[0])) { - /* : frontPWM_out = max(frontPWM_out, Front_minPWM); */ - rtb_out_d1n = g_ausMIN_PWM[0]; - } - - /* : if rearPWM_out > 0 */ - if ((rtb_out_e2e > 0) && (rtb_out_e2e < g_ausMIN_PWM[1])) { - /* : rearPWM_out = max(rearPWM_out, Rear_minPWM); */ - rtb_out_e2e = g_ausMIN_PWM[1]; - } - } - - /* : if exit_conditions */ - if (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn <= 1) { - /* : frontPWM_out = FrontPWM_in; */ - rtb_out_d1n = rtb_out_g1d; - - /* : rearPWM_out = RearPWM_in; */ - rtb_out_e2e = rtb_Saturation2_a; - } - - /* RelationalOperator: '/Relational Operator3' incorporates: - * Constant: '/auto6' - * DataStoreRead: '/Data Store Read3' - */ - Duct3_R_error = (rtb_Switch1_f < 43); + rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_RR; - /* MATLAB Function: '/blowerLimitByBattTemp' incorporates: - * Constant: '/auto10' - * Constant: '/auto11' - * Constant: '/auto7' - * Constant: '/auto8' - * DataStoreRead: '/Data Store Read3' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * MATLAB Function: '/blowerControlBySOC' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator5' - * RelationalOperator: '/Relational Operator7' - * RelationalOperator: '/Relational Operator8' - */ - /* : if isempty(is_active_persistent_front) */ - /* : frontPWM_out = FrontPWM_in; */ - /* : rearPWM_out = RearPWM_in; */ - /* : if entry_conditions_front && is_active_persistent_front == false */ - if (rtb_AND2_d && (rtb_out_d1n > 400) && (rtb_Switch1_f >= 45) && - (!rtDW.is_active_persistent_front)) { - /* : is_active_persistent_front = true; */ - rtDW.is_active_persistent_front = true; - } - - /* : if entry_conditions_rear && is_active_persistent_rear == false */ - if (rtb_AND2_d && (rtb_out_e2e > 400) && (rtb_Switch1_f >= 45) && - (!rtDW.is_active_persistent_rear)) { - /* : is_active_persistent_rear = true; */ - rtDW.is_active_persistent_rear = true; - } - - /* : if exit_conditions && is_active_persistent_front == true */ - if (Duct3_R_error && rtDW.is_active_persistent_front) { - /* : is_active_persistent_front = false; */ - rtDW.is_active_persistent_front = false; - } - - /* : if exit_conditions && is_active_persistent_rear == true */ - if (Duct3_R_error && rtDW.is_active_persistent_rear) { - /* : is_active_persistent_rear = false; */ - rtDW.is_active_persistent_rear = false; - } - - /* : if is_active_persistent_front */ - if (rtDW.is_active_persistent_front && (rtb_out_d1n > 400)) { - /* : frontPWM_out = min(FrontPWM_in, Front_maxPWM); */ - rtb_out_d1n = 400U; - } - - /* : if is_active_persistent_rear */ - if (rtDW.is_active_persistent_rear && (rtb_out_e2e > 400)) { - /* : rearPWM_out = min(RearPWM_in, Rear_maxPWM); */ - rtb_out_e2e = 400U; - } - - /* End of MATLAB Function: '/blowerLimitByBattTemp' */ - - /* MATLAB Function: '/filter PWM front' incorporates: - * DataStoreRead: '/Data Store Read44' - * Gain: '/Gain2' - * Sum: '/Minus' - * UnitDelay: '/Unit Delay' - */ - filterPWMfront((uint8_t)((52429U * rtb_out_d1n) >> 19), rtDW.t_now - - rtDW.UnitDelay_DSTATE_b, &rtb_DataTypeConversion3_em, - &rtDW.sf_filterPWMfront); - - /* End of Outputs for SubSystem: '/BlowerLimit - by battery status and battery temp' */ - - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant6' - * Gain: '/Gain3' - */ - if (rtb_AND2_d) { - /* Outputs for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ - rtb_DataTypeConversion1_hy = (uint8_t)((52429U * rtb_out_e2e) >> 19); - - /* End of Outputs for SubSystem: '/BlowerLimit - by battery status and battery temp' */ - } else { - rtb_DataTypeConversion1_hy = 0U; - } - - /* MATLAB Function: '/filter PWM rear' incorporates: - * DataStoreRead: '/Data Store Read44' - * Sum: '/Minus' - * Switch: '/Switch3' - * UnitDelay: '/Unit Delay' - */ - filterPWMfront(rtb_DataTypeConversion1_hy, rtDW.t_now - - rtDW.UnitDelay_DSTATE_l, &rtb_DataTypeConversion_gj, - &rtDW.sf_filterPWMrear); - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - PWM_Get.pwmPercentFront = rtb_DataTypeConversion3_em; - PWM_Get.pwmPercentRear = rtb_DataTypeConversion_gj; - PWM_Get.pwmPercentFrontReserved = 0U; - PWM_Get.pwmPercentRearReserved = 0U; - - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.PWM_front = rtb_DataTypeConversion3_em; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.PWM_rear = rtb_DataTypeConversion_gj; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - */ - /* : if(LOGGER) */ - rtDW.ModelPowerDown_model.PowerDownStatus = - rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTermDisableWarning; - - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read51' - * DataStoreRead: '/Data Store Read52' - * DataStoreRead: '/Data Store Read53' - * DataStoreRead: '/Data Store Read54' - * DataStoreRead: '/Data Store Read56' - * DataStoreRead: '/Data Store Read57' - * DataStoreRead: '/Data Store Read58' - * DataStoreRead: '/Data Store Read59' - * DataStoreRead: '/Data Store Read60' - * DataStoreRead: '/Data Store Read61' - * DataStoreRead: '/Data Store Read62' - * DataStoreRead: '/Data Store Read63' - * DataStoreRead: '/Data Store Read64' - * DataStoreRead: '/Data Store Read65' - * DataStoreRead: '/Data Store Read66' - * DataStoreRead: '/Data Store Read67' - * DataStoreWrite: '/Data Store Write27' - * DataStoreWrite: '/Data Store Write8' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion3' - * DataTypeConversion: '/Data Type Conversion4' - * Logic: '/Logical Operator2' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator5' - */ - rtDW.PowerEnable_Model.SW5V_EN = rtDW.SW5V_EN; - rtDW.PowerEnable_Model.PBATT_CK_EN = rtDW.PBATT_CK_EN; - rtDW.PowerEnable_Model.Incar_Motor_Front_EN = rtDW.Incar_Motor_Front_EN; - rtDW.PowerEnable_Model.Incar_Motor_Rear_EN = rtDW.Incar_Motor_Rear_EN; - rtDW.PowerEnable_Model.TwoWayValve_EN = (uint8_t)(rtB.Cmd_2Way == 0); - rtDW.PowerEnable_Model.ReservePower_EN = rtDW.ReservePower_EN; - rtDW.PowerEnable_Model.PtcRelayDriver1_EN = rtDW.PtcRelayDriver1_EN; - rtDW.PowerEnable_Model.PtcRelayDriver2_EN = rtDW.PtcRelayDriver2_EN; - rtDW.PowerEnable_Model.ShutOffFront_EN = (uint8_t)(rtb_timer_out == 0); - rtDW.PowerEnable_Model.ShutOffRear_EN = (uint8_t)(ShutOffRear_EN == 0); - rtDW.PowerEnable_Model.EN_ReservePower = rtDW.EN_ReservePower; - rtDW.PowerEnable_Model.LIN_ActPower_AB = rtDW.LIN_ActPower_AB; - rtDW.PowerEnable_Model.LIN_ActPower_C = rtDW.LIN_ActPower_C; - rtDW.PowerEnable_Model.ShutOffTXV1_EN = rtDW.ShutOffTXV1_EN; - rtDW.PowerEnable_Model.ShutOffTXV2_EN = rtDW.ShutOffTXV2_EN; - rtDW.PowerEnable_Model.EN_BATTChiller = (uint8_t)(EN_BATTChiller == 0); - rtDW.PowerEnable_Model.EN_PowerReserve = rtDW.EN_PowerReserve; - - /* SwitchCase: '/Incar Motors' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - */ - if ((rtDW.BCM_T15_Stat != 0) && ((rtDW.CCU_BLOWERS_RL != 0) || - (rtDW.CCU_BLOWERS_RR != 0))) { - /* Outputs for IfAction SubSystem: '/incar motors ON' incorporates: - * ActionPort: '/Action Port' + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreRead: '/Data Store Read2' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant' - */ - rtDW.Incar_Motor_Front_EN = 1U; + rtDW.CCU_AUTOMODE_RL = rtDW.CCU_AUTOMODE_RR; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read3' */ - rtDW.Incar_Motor_Rear_EN = 1U; + rtDW.CCU_FACE_RL = rtDW.CCU_FACE_RR; - /* End of Outputs for SubSystem: '/incar motors ON' */ - } else { - /* Outputs for IfAction SubSystem: '/incar motors OFF' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read4' */ - rtDW.Incar_Motor_Front_EN = 0U; + rtDW.CCU_FOOT_RL = rtDW.CCU_FOOT_RR; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read5' */ - rtDW.Incar_Motor_Rear_EN = 0U; - - /* End of Outputs for SubSystem: '/incar motors OFF' */ - } + rtDW.CCU_MODE_RL = rtDW.CCU_MODE_RR; - /* End of SwitchCase: '/Incar Motors' */ - - /* Outputs for Atomic SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ - /* Switch: '/Switch' incorporates: - * Constant: '/auto1' - * Constant: '/auto11' - * Constant: '/auto12' - * Constant: '/auto13' - * Constant: '/auto14' - * Constant: '/auto15' - * Constant: '/auto2' - * Constant: '/auto3' - * Constant: '/auto4' - * Constant: '/auto5' - * Constant: '/auto6' - * DataStoreRead: '/Data Store Read14' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write10' - * DataStoreWrite: '/Data Store Write11' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * Logic: '/OR1' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator12' - * RelationalOperator: '/Relational Operator13' - * RelationalOperator: '/Relational Operator14' - * RelationalOperator: '/Relational Operator15' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator5' - */ - /* : if isempty(is_active_state) */ - /* : if entry_conditions && (FullRecirculation ~= 1) */ - if ((rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFL_Msg1 != 0) || - (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFR_Msg1 != 0) || - (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFL_Msg1 != 0) || - (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFR_Msg1 != 0)) { - rtb_RelationalOperator6_f = false; - } else { - rtb_RelationalOperator6_f = ((((int32_t)(10U * rtDW.PWM_front) >= - g_ausMIN_PWM[0]) || ((int32_t)(10U * rtDW.PWM_rear) >= g_ausMIN_PWM[1])) && - ((rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 0) || - (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 0) || - (rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 0) || - (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 0))); - } - - /* MATLAB Function: '/recirc_by_door_ajar' incorporates: - * Constant: '/auto1' - * Constant: '/auto10' - * Constant: '/auto6' - * Constant: '/auto7' - * Constant: '/auto8' - * Constant: '/auto9' - * DataStoreRead: '/Data Store Read14' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write10' - * DataStoreWrite: '/Data Store Write11' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator5' - * RelationalOperator: '/Relational Operator10' - * RelationalOperator: '/Relational Operator11' - * RelationalOperator: '/Relational Operator6' - * RelationalOperator: '/Relational Operator7' - * RelationalOperator: '/Relational Operator8' - * RelationalOperator: '/Relational Operator9' - * Switch: '/Switch' - */ - if (rtb_RelationalOperator6_f && (rtDW.Full_Rec != 1)) { - /* : is_active_state = true; */ - rtDW.is_active_state = true; - } else if (((rtDW.PWM_front < g_ausMIN_PWM[0]) && (rtDW.PWM_rear < - g_ausMIN_PWM[1])) || - ((rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 1) && - (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 1) && - (rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 1) && - (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 1))) { - /* : elseif exit_conditions */ - /* : is_active_state = false; */ - rtDW.is_active_state = false; + /* End of Outputs for SubSystem: '/rear sync' */ } - /* : is_active = is_active_state; */ - rtDW.Door_ajar_is_active = rtDW.is_active_state; - - /* End of MATLAB Function: '/recirc_by_door_ajar' */ - /* End of Outputs for SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + /* End of If: '/If2' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_SFL_ro = 0; rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_CFL_ro = 0; @@ -53226,55 +58318,55 @@ void HVAC_model_step(void) rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_CFR_ro = 0; rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Foot_FR_ro = 0; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.CCU_SET_FR > 310) { - rtb_out_ic3 = 310U; + rtb_out_mxq = 310U; } else if (rtDW.CCU_SET_FR < 155) { - rtb_out_ic3 = 155U; + rtb_out_mxq = 155U; } else { - rtb_out_ic3 = rtDW.CCU_SET_FR; + rtb_out_mxq = rtDW.CCU_SET_FR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_FR_ro = (uint8_t)((0.10000038146972656 * - (double)rtb_out_ic3 - 16.0) * 2.0); + (double)rtb_out_mxq - 16.0) * 2.0); - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read4' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read4' */ if (rtDW.CCU_SET_RL > 310) { - rtb_out_ic3 = 310U; + rtb_out_mxq = 310U; } else if (rtDW.CCU_SET_RL < 155) { - rtb_out_ic3 = 155U; + rtb_out_mxq = 155U; } else { - rtb_out_ic3 = rtDW.CCU_SET_RL; + rtb_out_mxq = rtDW.CCU_SET_RL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read53' - * DataStoreRead: '/Data Store Read54' - * DataStoreRead: '/Data Store Read6' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read53' + * DataStoreRead: '/Data Store Read54' + * DataStoreRead: '/Data Store Read6' * DataStoreWrite: '/Data Store Write27' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_RL_ro = (uint8_t)((0.10000038146972656 * - (double)rtb_out_ic3 - 16.0) * 2.0); + (double)rtb_out_mxq - 16.0) * 2.0); rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_F = rtb_timer_out; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_R = ShutOffRear_EN; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_Ch = EN_BATTChiller; @@ -53282,63 +58374,68 @@ void HVAC_model_step(void) rtDW.dbgCAN_CCU_IO_model.dbg_IO_IncarMotor_F = rtDW.Incar_Motor_Front_EN; rtDW.dbgCAN_CCU_IO_model.dbg_IO_IncarMotor_R = rtDW.Incar_Motor_Rear_EN; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read2' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_SET_FL > 310) { - rtb_out_ic3 = 310U; + rtb_out_mxq = 310U; } else if (rtDW.CCU_SET_FL < 155) { - rtb_out_ic3 = 155U; + rtb_out_mxq = 155U; } else { - rtb_out_ic3 = rtDW.CCU_SET_FL; + rtb_out_mxq = rtDW.CCU_SET_FL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_FL_ro = (uint8_t)((0.10000038146972656 * - (double)rtb_out_ic3 - 16.0) * 2.0); + (double)rtb_out_mxq - 16.0) * 2.0); - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read5' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read5' */ if (rtDW.CCU_SET_RR > 310) { - rtb_out_ic3 = 310U; + rtb_out_mxq = 310U; } else if (rtDW.CCU_SET_RR < 155) { - rtb_out_ic3 = 155U; + rtb_out_mxq = 155U; } else { - rtb_out_ic3 = rtDW.CCU_SET_RR; + rtb_out_mxq = rtDW.CCU_SET_RR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write7' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_RR_ro = (uint8_t)((0.10000038146972656 * - (double)rtb_out_ic3 - 16.0) * 2.0); - rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_Emergency = 0U; - rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_FireExtinguisher = 0U; + (double)rtb_out_mxq - 16.0) * 2.0); + rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_Emergency = + rtDW.ADC_Key_Data_Model.EmergencyAirCleanSwitch; + rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_FireExtinguisher = + rtDW.ADC_Key_Data_Model.FireExtinguishSwitch; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Install_Sealing_Valve = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Drs_t_model.dbg_Drs_0_SFL_DL = rtDW.DRS_SFL; rtDW.dbg_Drs_t_model.dbg_Drs_1_CFL_FPL = rtDW.DRS_CFL; @@ -53349,16 +58446,16 @@ void HVAC_model_step(void) rtDW.dbg_Drs_t_model.dbg_Drs_6_CRR_FCR = rtDW.DRS_CRR; rtDW.dbg_Drs_t_model.dbg_Drs_7_SRR_RRB = rtDW.DRS_SRR; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write25' - * DataStoreWrite: '/Data Store Write26' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write25' + * DataStoreWrite: '/Data Store Write26' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQS_LinRespErr_Stat = rtDW.LIN4_AirQS_Stat_Model.AirQS_LinRespErr_Stat; @@ -53372,11 +58469,11 @@ void HVAC_model_step(void) rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSenNOxlvl_Val = rtDW.AirQS_NOxLvl; rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSenNH3lvl_Val = rtDW.AirQS_NH3Lvl; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write27' - * DataStoreWrite: '/Data Store Write28' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write27' + * DataStoreWrite: '/Data Store Write28' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_AromaLinRespErr_Stat = rtDW.LIN4_Aroma_Stat_Model.Aroma_LinRespErr_Stat; @@ -53394,12 +58491,12 @@ void HVAC_model_step(void) rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_2CartridgeCapacity = 0U; rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_3CartridgeCapacity = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write29' - * DataStoreWrite: '/Data Store Write30' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write29' + * DataStoreWrite: '/Data Store Write30' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_LIN_Ionizer_Stat_t_model.LIN_Ionizer_Err_Stat = rtDW.LIN4_Ionizer_Stat_Model.Ionizer_LinRespErr_Stat; @@ -53408,31 +58505,31 @@ void HVAC_model_step(void) rtDW.dbg_LIN_Ionizer_Stat_t_model.LIN_Ionizer_Ionization = rtDW.CCU_Ionization_algo_active; - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ - MATLABFunction_o(rtb_AND2_b, WinterCondition_eTXV_ON_Front, - &rtb_DataTypeConversion2_e1); + MATLABFunction_o(WinterCondition_is_active_F, WinterCondition_eTXV_ON_Front, + &rtb_DataTypeConversion1_hy); - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ MATLABFunction_o(WinterCondition_is_active_R, WinterCondition_eTXV_ON_Rear, - &rtb_DataTypeConversion3_em); + &rtb_DataTypeConversion3_hs); - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read55' - * DataStoreRead: '/Data Store Read7' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read55' + * DataStoreRead: '/Data Store Read7' * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion2' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Req_Front = rtDW.CCU_AC_FRONT; rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Front = rtb_timer_out; @@ -53441,7 +58538,7 @@ void HVAC_model_step(void) rtDW.dbg_Logic_Ac_model.Logic_Ac_Req_Chiller = rtDW.eCompChiller_Req; rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Chiller = EN_BATTChiller; rtDW.dbg_Logic_Ac_model.Logic_Ac_EvaCtrl = rtB.Eva_Ctrl; - rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_EmrStop_Reason = rtb_LogicalOperator1; + rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_EmrStop_Reason = eComp_stop; /* Outport: '/CCU_Errors_model' incorporates: * DataStoreRead: '/Data Store Read10' @@ -53468,58 +58565,57 @@ void HVAC_model_step(void) */ rtY.Actuator_Ch2_Command_Model_out = Actuator_Ch2_Command_Model; - /* Switch: '/Switch4' */ + /* Switch: '/Switch4' */ if (rtB.Chiller_Only_Flag > 0.0) { - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_LimitRpm_ro = g_ucAC_EXTRA_RPM; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_LimitRpm_ro = Comp_Max_RPM_Allowed; } - /* End of Switch: '/Switch4' */ + /* End of Switch: '/Switch4' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Closed_bySen = 0U; - rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Front = rtb_DataTypeConversion2_e1; - rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Rear = rtb_DataTypeConversion3_em; + rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Front = rtb_DataTypeConversion1_hy; + rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Rear = rtb_DataTypeConversion3_hs; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' * DataStoreWrite: '/Data Store Write3' */ rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Idx = rtDW.Full_Rec; rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Winter = 0U; - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Summer = - rtb_DataTypeConversion1_gy; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Summer = rtb_Saturation4; rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_FreshAirPurge_Sts = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/Sum' - * Sum: '/Sum1' - * Switch: '/Switch' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/Sum' + * Sum: '/Sum1' + * Switch: '/Switch' */ - rtDW.dbgCAN_Logic_State_model.Logic_Operation_Mode = (uint8_t)rtb_Gain2; + rtDW.dbgCAN_Logic_State_model.Logic_Operation_Mode = (uint8_t)i; rtDW.dbgCAN_Logic_State_model.Logic_Amb_Level = rtDW.LEVEL; rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Electric = rtDW.FrontWindowHeating_req; @@ -53544,606 +58640,492 @@ void HVAC_model_step(void) rtDW.dbgCAN_Logic_State_model.Logic_AF_WaitCorrection_FL = 0U; rtDW.dbgCAN_Logic_State_model.Logic_AF_WaitCorrection_FR = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' */ - rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_FL = rtDW.ModeIndex[0]; - rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_FR = rtDW.ModeIndex[1]; - rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_RL = rtDW.ModeIndex[2]; - rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_RR = rtDW.ModeIndex[3]; + rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_FL = rtDW.Index_mode_FL; + rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_FR = rtDW.Index_mode_FR; + rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_RL = rtDW.Index_mode_RL; + rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_RR = rtDW.Index_mode_RR; rtDW.dbg_Logic_Valve_model.Logic_Valve_Direction_FL = 0U; rtDW.dbg_Logic_Valve_model.Logic_Valve_Direction_FR = 0U; rtDW.dbg_Logic_Valve_model.Logic_Valve_Direction_RL = 0U; rtDW.dbg_Logic_Valve_model.Logic_Valve_Direction_RR = 0U; - /* Bias: '/Add Constant3' incorporates: - * Gain: '/Gain18' + /* Saturate: '/Saturation19' incorporates: + * Bias: '/Add Constant3' */ - rtb_Divide5_m = 10.0 * rtb_Divide5_m + 2048.0; - - /* Saturate: '/Saturation19' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain18 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain18 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.P_FUL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.P_FUL = (uint16_t)(rtb_Gain18 + 2048.0); } - /* End of Saturate: '/Saturation19' */ + /* End of Saturate: '/Saturation19' */ - /* Bias: '/Add Constant4' incorporates: - * Gain: '/Gain19' + /* Saturate: '/Saturation17' incorporates: + * Bias: '/Add Constant4' */ - rtb_Divide5_m = 10.0 * IGN_voltage + 2048.0; - - /* Saturate: '/Saturation17' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain19 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain19 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_FUL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.I_FUL = (uint16_t)(rtb_Gain19 + 2048.0); } - /* End of Saturate: '/Saturation17' */ + /* End of Saturate: '/Saturation17' */ - /* Bias: '/Add Constant5' incorporates: - * Gain: '/Gain20' + /* Saturate: '/Saturation18' incorporates: + * Bias: '/Add Constant5' */ - rtb_Divide5_m = 10.0 * rtb_Divide7 + 2048.0; - - /* Saturate: '/Saturation18' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain20 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain20 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_FUL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.D_FUL = (uint16_t)(rtb_Gain20 + 2048.0); } - /* End of Saturate: '/Saturation18' */ + /* End of Saturate: '/Saturation18' */ - /* Bias: '/Add Constant' incorporates: - * Gain: '/Gain15' + /* Bias: '/Add Constant' incorporates: + * Gain: '/Gain15' */ - rtb_Divide5_m = 10.0 * rtb_P_e5 + 2048.0; + rtb_Divide11 = 10.0 * rtb_P + 2048.0; - /* Saturate: '/Saturation8' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Saturate: '/Saturation8' */ + if (rtb_Divide11 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUR = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Divide11 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.P_FUR = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.P_FUR = (uint16_t)rtb_Divide11; } - /* End of Saturate: '/Saturation8' */ + /* End of Saturate: '/Saturation8' */ - /* Saturate: '/Saturation15' incorporates: - * Bias: '/Add Constant1' + /* Saturate: '/Saturation15' incorporates: + * Bias: '/Add Constant1' */ - if (rtb_Gain17 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Divide7_d + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUR = 4095U; - } else if (rtb_Gain17 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Divide7_d + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_FUR = (uint16_t)(rtb_Gain17 + 2048.0); + rtDW.dbg_PIDValve_model.I_FUR = (uint16_t)(rtb_Divide7_d + 2048.0); } - /* End of Saturate: '/Saturation15' */ + /* End of Saturate: '/Saturation15' */ - /* Bias: '/Add Constant2' incorporates: - * Gain: '/Gain17' + /* Saturate: '/Saturation16' incorporates: + * Bias: '/Add Constant2' */ - rtb_Divide5_m = 10.0 * rtb_D_o + 2048.0; - - /* Saturate: '/Saturation16' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain17_h + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUR = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain17_h + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_FUR = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.D_FUR = (uint16_t)(rtb_Gain17_h + 2048.0); } - /* End of Saturate: '/Saturation16' */ + /* End of Saturate: '/Saturation16' */ - /* Bias: '/Add Constant6' incorporates: - * Gain: '/Gain21' + /* Saturate: '/Saturation20' incorporates: + * Bias: '/Add Constant7' */ - rtb_Divide5_m = 10.0 * rtb_P_a + 2048.0; - - /* Saturate: '/Saturation22' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_FLL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_FLL = 0U; - } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_FLL = (uint16_t)rtb_Divide5_m; - } - - /* End of Saturate: '/Saturation22' */ - - /* Bias: '/Add Constant7' incorporates: - * Gain: '/Gain22' - */ - rtb_Divide5_m = 10.0 * rtb_I_g + 2048.0; - - /* Saturate: '/Saturation20' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain22 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FLL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain22 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FLL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_FLL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.I_FLL = (uint16_t)(rtb_Gain22 + 2048.0); } - /* End of Saturate: '/Saturation20' */ + /* End of Saturate: '/Saturation20' */ - /* Bias: '/Add Constant8' incorporates: - * Gain: '/Gain23' + /* Saturate: '/Saturation21' incorporates: + * Bias: '/Add Constant8' */ - rtb_Divide5_m = 10.0 * rtb_D_j + 2048.0; - - /* Saturate: '/Saturation21' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain23 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FLL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain23 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FLL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_FLL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.D_FLL = (uint16_t)(rtb_Gain23 + 2048.0); } - /* End of Saturate: '/Saturation21' */ + /* End of Saturate: '/Saturation21' */ - /* Bias: '/Add Constant9' incorporates: - * Gain: '/Gain24' + /* Saturate: '/Saturation23' incorporates: + * Bias: '/Add Constant10' */ - rtb_Divide5_m = 10.0 * rtb_Divide7_g + 2048.0; - - /* Saturate: '/Saturation25' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_FRL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_FRL = 0U; - } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_FRL = (uint16_t)rtb_Divide5_m; - } - - /* End of Saturate: '/Saturation25' */ - - /* Bias: '/Add Constant10' incorporates: - * Gain: '/Gain25' - */ - rtb_Divide5_m = 10.0 * rtb_Divide10 + 2048.0; - - /* Saturate: '/Saturation23' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain25 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FRL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain25 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FRL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_FRL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.I_FRL = (uint16_t)(rtb_Gain25 + 2048.0); } - /* End of Saturate: '/Saturation23' */ + /* End of Saturate: '/Saturation23' */ - /* Bias: '/Add Constant11' incorporates: - * Gain: '/Gain26' + /* Saturate: '/Saturation24' incorporates: + * Bias: '/Add Constant11' */ - rtb_Divide5_m = 10.0 * rtb_Divide11 + 2048.0; - - /* Saturate: '/Saturation24' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain26 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FRL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain26 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FRL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_FRL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.D_FRL = (uint16_t)(rtb_Gain26 + 2048.0); } - /* End of Saturate: '/Saturation24' */ + /* End of Saturate: '/Saturation24' */ - /* Bias: '/Add Constant14' incorporates: - * Gain: '/Gain27' + /* Saturate: '/Saturation26' incorporates: + * Bias: '/Add Constant12' */ - rtb_Divide5_m = 10.0 * rtb_output_h + 2048.0; - - /* Saturate: '/Saturation28' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_RL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_RL = 0U; - } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_RL = (uint16_t)rtb_Divide5_m; - } - - /* End of Saturate: '/Saturation28' */ - - /* Bias: '/Add Constant12' incorporates: - * Gain: '/Gain28' - */ - rtb_Divide5_m = 10.0 * rtb_I + 2048.0; - - /* Saturate: '/Saturation26' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain28 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain28 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_RL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.I_RL = (uint16_t)(rtb_Gain28 + 2048.0); } - /* End of Saturate: '/Saturation26' */ + /* End of Saturate: '/Saturation26' */ - /* Bias: '/Add Constant13' incorporates: - * Gain: '/Gain29' + /* Saturate: '/Saturation27' incorporates: + * Bias: '/Add Constant13' */ - rtb_Divide5_m = 10.0 * rtb_D_m + 2048.0; - - /* Saturate: '/Saturation27' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain29 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RL = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain29 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_RL = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.D_RL = (uint16_t)(rtb_Gain29 + 2048.0); } - /* End of Saturate: '/Saturation27' */ + /* End of Saturate: '/Saturation27' */ - /* Bias: '/Add Constant17' incorporates: - * Gain: '/Gain30' + /* Bias: '/Add Constant17' incorporates: + * Gain: '/Gain30' */ - rtb_Divide5_m = 10.0 * rtb_P_f + 2048.0; + rtb_Divide11 = 10.0 * rtb_Divide10 + 2048.0; - /* Saturate: '/Saturation31' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Saturate: '/Saturation31' */ + if (rtb_Divide11 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_RR = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Divide11 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_RR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.P_RR = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.P_RR = (uint16_t)rtb_Divide11; } - /* End of Saturate: '/Saturation31' */ + /* End of Saturate: '/Saturation31' */ - /* Bias: '/Add Constant15' incorporates: - * Gain: '/Gain31' + /* Saturate: '/Saturation29' incorporates: + * Bias: '/Add Constant15' */ - rtb_Divide5_m = 10.0 * rtb_I_od + 2048.0; - - /* Saturate: '/Saturation29' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Gain17 + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RR = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Gain17 + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_RR = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.I_RR = (uint16_t)(rtb_Gain17 + 2048.0); } - /* End of Saturate: '/Saturation29' */ + /* End of Saturate: '/Saturation29' */ - /* Bias: '/Add Constant16' incorporates: - * Gain: '/Gain32' + /* Bias: '/Add Constant16' incorporates: + * Gain: '/Gain32' */ - rtb_Divide5_m = 10.0 * rtb_D + 2048.0; + rtb_Divide11 = 10.0 * rtb_D + 2048.0; - /* Saturate: '/Saturation30' */ - if (rtb_Divide5_m > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Saturate: '/Saturation30' */ + if (rtb_Divide11 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RR = 4095U; - } else if (rtb_Divide5_m < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Divide11 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_RR = (uint16_t)rtb_Divide5_m; + rtDW.dbg_PIDValve_model.D_RR = (uint16_t)rtb_Divide11; } - /* End of Saturate: '/Saturation30' */ + /* End of Saturate: '/Saturation30' */ - /* Gain: '/factor 0.1' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Gain: '/factor 0.1' incorporates: + * DataStoreRead: '/Data Store Read3' */ index_start *= 10.0; - /* DataTypeConversion: '/Data Type Conversion3' */ + /* DataTypeConversion: '/Data Type Conversion3' */ if (index_start >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_BattVolt_ro = (uint8_t)floor(index_start + 0.5); } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_BattVolt_ro = 0U; } - /* End of DataTypeConversion: '/Data Type Conversion3' */ + /* End of DataTypeConversion: '/Data Type Conversion3' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion2' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Pressure_ro = (uint16_t)rtDW.Pressure; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' */ - v = fabs(rtDW.Sun_L); - if (v < 4.503599627370496E+15) { - if (v >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_Add_p4 = fabs(rtDW.Sun_L); + if (rtb_Add_p4 < 4.503599627370496E+15) { + if (rtb_Add_p4 >= 0.5) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = (uint16_t)floor(rtDW.Sun_L + 0.5); } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = 0U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = (uint16_t)rtDW.Sun_L; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read1' */ - v = fabs(rtDW.Sun_R); - if (v < 4.503599627370496E+15) { - if (v >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_Add_p4 = fabs(rtDW.Sun_R); + if (rtb_Add_p4 < 4.503599627370496E+15) { + if (rtb_Add_p4 >= 0.5) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = (uint16_t)floor(rtDW.Sun_R + 0.5); } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = 0U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = (uint16_t)rtDW.Sun_R; } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of DataTypeConversion: '/Data Type Conversion1' */ - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbgCAN_dbg_Act0_model.dbg_Act00_Def = rtb_DataTypeConversion_p3[0]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act01_Vent_SFL = rtb_DataTypeConversion_p3[5]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act02_Vent_CFL = rtb_DataTypeConversion_p3[4]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act03_Foot_1FL = rtb_DataTypeConversion_p3[7]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act04_Foot_2FL = rtb_DataTypeConversion_p3[8]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act00_Def = rtb_DataTypeConversion_b4q[0]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act01_Vent_SFL = rtb_DataTypeConversion_b4q[5]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act02_Vent_CFL = rtb_DataTypeConversion_b4q[4]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act03_Foot_1FL = rtb_DataTypeConversion_b4q[7]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act04_Foot_2FL = rtb_DataTypeConversion_b4q[8]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act05_Vent_CFR = Actuator_pos_percent_Ch1[1]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act06_Vent_SFR = Actuator_pos_percent_Ch1[2]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act07_Foot_1FR = Actuator_pos_percent_Ch1[4]; - /* BusCreator: '/Bus Creator3' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write2' */ - rtDW.dbgCAN_dbg_Act2_model.dbg_Act16_TempL_FL = rtb_DataTypeConversion_p3[6]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act16_TempL_FL = rtb_DataTypeConversion_b4q[6]; rtDW.dbgCAN_dbg_Act2_model.dbg_Act17_TempU_FR = Actuator_pos_percent_Ch1[0]; rtDW.dbgCAN_dbg_Act2_model.dbg_Act18_TempL_FR = Actuator_pos_percent_Ch1[3]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act19_Temp_RL = rtb_DataTypeConversion_fb[1]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act20_Temp_RR = rtb_DataTypeConversion_fb[0]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act21_Rec = rtb_DataTypeConversion_p3[1]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act22_OSA = rtb_DataTypeConversion_p3[2]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_fb + rtDW.dbgCAN_dbg_Act2_model.dbg_Act19_Temp_RL = rtb_DataTypeConversion_kl[1]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act20_Temp_RR = rtb_DataTypeConversion_kl[0]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act21_Rec = rtb_DataTypeConversion_b4q[1]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act22_OSA = rtb_DataTypeConversion_b4q[2]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_kl [8]; - /* BusCreator: '/Bus Creator2' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' */ rtDW.dbgCAN_dbg_Act1_model.dbg_Act08_Foot_2FR = Actuator_pos_percent_Ch1[5]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act09_Vent_SRL = rtb_DataTypeConversion_fb[2]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act10_Vent_CRL = rtb_DataTypeConversion_fb[4]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act11_Foot_RL = rtb_DataTypeConversion_fb[3]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act12_Vent_CRR = rtb_DataTypeConversion_fb[5]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act13_Vent_SRR = rtb_DataTypeConversion_fb[7]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_fb[6]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_p3[3]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act09_Vent_SRL = rtb_DataTypeConversion_kl[2]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act10_Vent_CRL = rtb_DataTypeConversion_kl[4]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act11_Foot_RL = rtb_DataTypeConversion_kl[3]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act12_Vent_CRR = rtb_DataTypeConversion_kl[5]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act13_Vent_SRR = rtb_DataTypeConversion_kl[7]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_kl[6]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_b4q[3]; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_ro = rtDW.AMB; - rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_Raw_ro = rtb_Switch3_no; - rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Amb_Tg_ro = 0; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - * SignalConversion generated from: '/Vector Concatenate' - * SignalConversion generated from: '/Vector Concatenate' - * SignalConversion generated from: '/Vector Concatenate' - * SignalConversion generated from: '/Vector Concatenate' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' * */ rtDW.dbg_Auto_AF_model.dbg_Auto_AF_MultMsg_Idx = 0U; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Correct_FL = 0; @@ -54159,40 +59141,40 @@ void HVAC_model_step(void) rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RR = rtb_MultiportSwitch_if; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_FL = rtb_Bias4; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RL = rtb_u5FRU_tg_incar; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FR = rtb_u6FLU_tg_amb_ie; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RR = rtb_MultiportSwitch_if; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FL = rtb_y_ds; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FR = rtb_y_hg; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FR = rtb_u6FLU_tg_amb_g; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RR = rtb_MultiportSwitch_az; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FL = rtb_Bias2_n; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FR = rtb_u6FLU_tg_amb_a3; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RL = rtb_u6FRU_tg_amb_f; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RR = rtb_MultiportSwitch_az; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FL = rtb_y_n; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RR = rtb_MultiportSwitch_cq; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FL = rtb_Bias3; - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias1' - * Bias: '/Bias3' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write' - * SignalConversion generated from: '/Vector Concatenate' - * SignalConversion generated from: '/Vector Concatenate' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias1' + * Bias: '/Bias3' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' + * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' * */ rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_MultMsg_Idx = 0U; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Upper_ro = rtb_FLU_tg_correct; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Upper_ro = Duct_FLU_Tg; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FL_Upper_ro = (int16_t) (rtb_MultiportSwitch_dq2 - 200); rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_RR_ro = rtDW.Duct_RR_Tg; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_RL_ro = rtb_FLU_tg_correct_p; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_RL_ro = rtb_Merge_b; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Upper_ro = Duct_FRU_Tg; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Lower_ro = rtb_y_he; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Lower_ro = rtb_FLU_tg_correct_b; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Lower_ro = rtb_y_ds; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FR_Upper_ro = (int16_t) (rtb_VectorConcatenate_kz[4] - 200); rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FL_Upper_ro = @@ -54238,22 +59220,22 @@ void HVAC_model_step(void) rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_RR_ro = (int16_t) (Duct_RR_Tg_DBG[4] - 200); - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion3' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion3' */ rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FL = rtDW.CCU_BLOWERS_FL; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FR = rtDW.CCU_BLOWERS_FR; @@ -54264,89 +59246,231 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FL = (uint8_t) rtb_Saturation_as; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FR = (uint8_t)Gain1; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = (uint8_t)rtb_out_hiu; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = (uint8_t)rtb_out_bab; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = (uint8_t)rtb_out_fr3; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = (uint8_t)rtb_out_fm3; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain1' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read9' + * DataStoreRead: '/Data Store Read9' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_00_Def_error = + rtDW.ErrorCalibration_private[0]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_01_Vent_SFL_error = + rtDW.ErrorCalibration_private[5]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_02_Vent_CFL_error = + rtDW.ErrorCalibration_private[4]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_03_Foot_1FL_error = + rtDW.ErrorCalibration_private[7]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_04_Foot_2FL_error = + rtDW.ErrorCalibration_private[8]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_05_Vent_CFR_error = + rtDW.ErrorCalibration_private_p[1]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_06_Vent_SFR_error = + rtDW.ErrorCalibration_private_p[2]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_07_Foot_1FR_error = + rtDW.ErrorCalibration_private_p[4]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_08_Foot_2FR_error = + rtDW.ErrorCalibration_private_p[5]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_09_Vent_SRL_error = + rtDW.ErrorCalibration_private_b[2]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_10_Vent_CRL_error = + rtDW.ErrorCalibration_private_b[4]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_11_Foot_RL_error = + rtDW.ErrorCalibration_private_b[3]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_12_Vent_CRR_error = + rtDW.ErrorCalibration_private_b[5]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_13_Vent_SRR_error = + rtDW.ErrorCalibration_private_b[7]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_14_Foot_RR_error = + rtDW.ErrorCalibration_private_b[6]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_15_TempU_FL_error = + rtDW.ErrorCalibration_private[3]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_16_TempL_FL_error = + rtDW.ErrorCalibration_private[6]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_17_TempU_FR_error = + rtDW.ErrorCalibration_private_p[0]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_18_TempL_FR_error = + rtDW.ErrorCalibration_private_p[3]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_19_Temp_RL_error = + rtDW.ErrorCalibration_private_b[1]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_20_Temp_RR_error = + rtDW.ErrorCalibration_private_b[0]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_21_Rec_error = + rtDW.ErrorCalibration_private[1]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_22_OSA_error = + rtDW.ErrorCalibration_private[2]; + rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_23_Sealing_error = + rtDW.ErrorCalibration_private_b[8]; + + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/Constant6' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbg_Act_calibration_model.dbg_Act_calib_MultMsg_Idx = 0U; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_21_Rec = + rtDW.MaxPositionCh0_private[1]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_00_Def = + rtDW.MaxPositionCh0_private[0]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_18_TempL_FR = + rtDW.MaxPositionCh1_private[3]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_03_Foot_1FL = + rtDW.MaxPositionCh0_private[7]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_15_TempU_FL = + rtDW.MaxPositionCh0_private[3]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_06_Vent_SFR = + rtDW.MaxPositionCh1_private[2]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_12_Vent_CRR = + rtDW.MaxPositionCh2_private[5]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_09_Vent_SRL = + rtDW.MaxPositionCh2_private[2]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_22_OSA = + rtDW.MaxPositionCh0_private[2]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_01_Vent_SFL = + rtDW.MaxPositionCh0_private[5]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_04_Foot_2FL = + rtDW.MaxPositionCh0_private[8]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_07_Foot_1FR = + rtDW.MaxPositionCh1_private[4]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_10_Vent_CRL = + rtDW.MaxPositionCh2_private[4]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_13_Vent_SRR = + rtDW.MaxPositionCh2_private[7]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_16_TempL_FL = + rtDW.MaxPositionCh0_private[6]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_19_Temp_RL = + rtDW.MaxPositionCh2_private[1]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_11_Foot_RL = + rtDW.MaxPositionCh2_private[3]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_08_Foot_2FR = + rtDW.MaxPositionCh1_private[5]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_14_Foot_RR = + rtDW.MaxPositionCh2_private[6]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_05_Vent_CFR = + rtDW.MaxPositionCh1_private[1]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_17_TempU_FR = + rtDW.MaxPositionCh1_private[0]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_02_Vent_CFL = + rtDW.MaxPositionCh0_private[4]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_20_Temp_RR = + rtDW.MaxPositionCh2_private[0]; + rtDW.dbg_Act_calibration_model.dbg_Act_calib_23_SealingValve = + rtDW.MaxPositionCh2_private[8]; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_ro = rtDW.AMB; + rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_Raw_ro = AMB_RAW; + rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Amb_Tg_ro = 0; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_MultMsg_Idx = 0U; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FL_ro = rtb_Switch3_no; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_FL_ro = rtDW.Incar_FL; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FR_ro = rtb_Switch1_pd; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_FR_ro = rtDW.Incar_FR; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RL_ro = rtb_Switch5_l; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RL_ro = rtDW.Incar_RL; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RR_ro = rtb_Switch4_f5; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RR_ro = rtDW.Incar_RR; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain1' */ rtDW.dbg_Sen_Demist_model.dbg_Sen_DewPoint_Diff_ro = rtDW.Dew_point; rtDW.dbg_Sen_Demist_model.dbg_Sen_WindShield_Humidity_ro = (uint16_t)(10.0 * - rtb_Divide5); + rtb_Divide3); rtDW.dbg_Sen_Demist_model.dbg_Sen_WindShield_Temp_ro = (int16_t)floor - (rtb_Divide1); + (rtb_Divide1_jg); - /* BusCreator: '/Bus Creator1' incorporates: - * Constant: '/Constant6' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read14' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read16' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion3' + /* BusCreator: '/Bus Creator1' incorporates: + * Constant: '/Constant6' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion3' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_MultMsg_Idx = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Fb_Select = (uint8_t) rtb_Cmd_3Way; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_Select = (uint8_t) - rtb_Divide1_jg; + IGN_voltage; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_Select = (uint8_t) rtb_duct_select_index_dbg_c; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Fb_Select = (uint8_t) rtb_Cmd_3Way; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = rtb_FLU_tg_correct_p; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = rtb_Merge_b; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = Duct_FRU_Tg; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Tgt_ro = rtDW.Duct_RR_Tg; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Tgt_ro = - rtb_FLU_tg_correct; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_ro = rtb_X; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = rtb_MultiportSwitch_cq; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = - rtb_FLU_tg_correct_cz; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Tgt_ro = Duct_FLU_Tg; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_ro = rtb_MultiportSwitch_ac; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = rtb_X; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = Duct2_F; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = Duct1_F; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Side_Fb_ro = Duct6_F; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Side_Fb_ro = Duct5_F; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Side_Fb_ro = - rtb_MultiportSwitch_ac; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Side_Fb_ro = rtb_Bias1_h; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Side_Fb_ro = rtb_Bias1_h; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Side_Fb_ro = + rtb_FLU_tg_correct_ot; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Tgt_ro = rtb_y_he; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = - rtb_FLU_tg_correct_b; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = rtb_y_ds; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = Duct4_F; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = Duct3_F; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' */ - rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_F = rtb_g_assEVA_TG_AMB_F_m; + rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_F = Eva_Target; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_R = 0; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_Target = rtDW.Eva_F; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_Diff_FrontRear = rtDW.Eva_R; @@ -54372,6 +59496,23 @@ void HVAC_model_step(void) */ rtY.dbgCAN_dbg_Act2_model = rtDW.dbgCAN_dbg_Act2_model; + /* Outport: '/CCU_Stat1_model' */ + rtY.CCU_Stat1_model.CCU_ModeFL_Stat = rtDW.CCU_MODE_FL; + rtY.CCU_Stat1_model.CCU_ModeFR_Stat = rtb_DataTypeConversion1_gy; + rtY.CCU_Stat1_model.CCU_AutoModeFL_Stat = rtDW.CCU_AUTOMODE_FL; + rtY.CCU_Stat1_model.CCU_AutoModeFR_Stat = center_percent; + rtY.CCU_Stat1_model.CCU_AirDirectionFL_Def_Stat = rtDW.CCU_DEF_FL; + rtY.CCU_Stat1_model.CCU_AirDirectionFL_Face_Stat = rtDW.CCU_FACE_FL; + rtY.CCU_Stat1_model.CCU_AirDirectionFL_Foot_Stat = rtDW.CCU_FOOT_FL; + rtY.CCU_Stat1_model.CCU_AirDirectionFR_Def_Stat = rtb_Merge_c5; + rtY.CCU_Stat1_model.CCU_AirDirectionFR_Face_Stat = rtb_Merge_m4; + rtY.CCU_Stat1_model.CCU_AirDirectionFR_Foot_Stat = + rtb_Switch_f_FIU_CCmodeFL_Req; + rtY.CCU_Stat1_model.CCU_BlowerSpeedFL_Stat = + rtb_Switch_f_FIU_AirDirectionFL_Def_Req; + rtY.CCU_Stat1_model.CCU_BlowerSpeedFR_Stat = + rtb_Switch_f_FIU_AirDirectionFL_Face_Req; + /* Outport: '/dbgCAN_dbg_Sen_Duct_model' incorporates: * DataStoreRead: '/Data Store Read8' */ @@ -54392,6 +59533,17 @@ void HVAC_model_step(void) */ rtY.dbgCAN_dbg_Sen_Amb_model = rtDW.dbgCAN_dbg_Sen_Amb_model; + /* Outport: '/CCU_Stat2_model' */ + rtY.CCU_Stat2_model.CCU_FootTempCorFL_Stat = rtDW.CCU_FootTempCorr_FL; + rtY.CCU_Stat2_model.CCU_FootTempCorFR_Stat = rtDW.CCU_SET_FOOT_FR; + rtY.CCU_Stat2_model.CCU_DeflectorSwDL_Stat = + rtb_Switch_f_FIU_AirDirectionFL_Foot_Req; + rtY.CCU_Stat2_model.CCU_DeflectorSwDR_Stat = rtb_Switch_f_FIU_CCmodeFR_Req; + rtY.CCU_Stat2_model.CCU_DeflectorSwFPL_Stat = + rtb_Switch_f_FIU_AirDirectionFR_Def_Req; + rtY.CCU_Stat2_model.CCU_DeflectorSwFPR_Stat = + rtb_Switch_f_FIU_AirDirectionFR_Face_Req; + /* Outport: '/dbgCAN_dbg_Sen_Incar_model' incorporates: * DataStoreRead: '/Data Store Read48' */ @@ -54517,348 +59669,3638 @@ void HVAC_model_step(void) */ rtY.dbg_Sen_Demist_model_out = rtDW.dbg_Sen_Demist_model; - /* Outport: '/Out1' incorporates: + /* Outport: '/ModelPowerDown_model_out' incorporates: * DataStoreRead: '/Data Store Read41' */ - rtY.Out1 = rtDW.ModelPowerDown_model; + rtY.ModelPowerDown_model_out = rtDW.ModelPowerDown_model; - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Outport: '/dbg_Act_calibration_model_out' incorporates: + * DataStoreRead: '/Data Store Read42' */ - if (rtb_DataTypeConversion3_c1 > 0) { - /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; + rtY.dbg_Act_calibration_model_out = rtDW.dbg_Act_calibration_model; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_SET_RL = rtDW.CCU_SET_FL; + /* Outport: '/dbg_Act_calibration_error_model_out' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + rtY.dbg_Act_calibration_error_model_out = rtDW.dbg_Act_calibration_error_model; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.CCU_SET_RR = rtDW.CCU_SET_FL; - - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_FL; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_BLOWERS_RR = rtDW.CCU_BLOWERS_FL; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - rtDW.CCU_FACE_RL = rtDW.CCU_FACE_FL; - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - rtDW.CCU_FACE_RR = rtDW.CCU_FACE_FL; - - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; - - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; - - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - rtDW.CCU_FOOT_RL = rtDW.CCU_FOOT_FL; - - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - rtDW.CCU_FOOT_RR = rtDW.CCU_FOOT_FL; - - /* DataStoreWrite: '/Data Store Write15' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - rtDW.CCU_MODE_RR = rtDW.CCU_MODE_FL; - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; - - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - rtDW.CCU_MODE_RL = rtDW.CCU_MODE_FL; - - /* DataStoreWrite: '/Data Store Write16' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - rtDW.CCU_AUTOMODE_FR = rtDW.CCU_AUTOMODE_FL; - - /* DataStoreWrite: '/Data Store Write17' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - rtDW.CCU_AUTOMODE_RL = rtDW.CCU_AUTOMODE_FL; - - /* DataStoreWrite: '/Data Store Write18' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - rtDW.CCU_AUTOMODE_RR = rtDW.CCU_AUTOMODE_FL; - - /* DataStoreWrite: '/Data Store Write19' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtDW.CCU_AC_REAR = rtDW.CCU_AC_FRONT; - - /* End of Outputs for SubSystem: '/all zone sync' */ + /* Saturate: '/from 0 to 3' incorporates: + * Constant: '/Constant' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.UnitDelay_DSTATE + 1.0 > 3.0) { + rtDW.UnitDelay_DSTATE = 3.0; + } else if (rtDW.UnitDelay_DSTATE + 1.0 < 0.0) { + rtDW.UnitDelay_DSTATE = 0.0; + } else { + rtDW.UnitDelay_DSTATE++; } - /* End of If: '/If' */ + /* End of Saturate: '/from 0 to 3' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/åñëè SC front íå çàâåðøåí2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion2' + * UnitDelay: '/Unit Delay' */ - if (rtb_Switch1_j > 0) { - /* Outputs for IfAction SubSystem: '/front sync' incorporates: - * ActionPort: '/Action Port' + if (((uint8_t)rtDW.start_control_finished_front == 0) && ((uint8_t) + rtDW.UnitDelay_DSTATE >= 3)) { + /* Outputs for IfAction SubSystem: '/Start Control Front' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; + switch (rtDW.step_start_controle_front) { + case -1: + /* Outputs for IfAction SubSystem: '/Step -1 F (Entry Condition)' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_n(rtDW.LEVEL, &rtb_FLU_tg_correct); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = g_ausSTART_ENTER_SETTEMP(LVL+1); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; + /* Switch: '/Switch' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_FL > rtb_FLU_tg_correct) && (rtDW.CCU_MODE_FL == 1) && + (rtDW.CCU_SET_FL < g_ausSTART_ENTER_SETTEMP[i - 1]) && + (rtDW.LO_HI_MODE_FL == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_pe = 1; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_pe = -1; + } - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ + break; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_n(rtDW.LEVEL, &rtb_FLU_tg_correct); - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1)); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } - /* DataStoreWrite: '/Data Store Write16' incorporates: - * DataStoreRead: '/Data Store Read6' - */ - rtDW.CCU_AUTOMODE_FR = rtDW.CCU_AUTOMODE_FL; + rtb_out_mxq = g_ausSTART_ENTER_SETTEMP[i - 1]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } - /* End of Outputs for SubSystem: '/front sync' */ + /* Switch: '/Switch' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_FL > rtb_FLU_tg_correct) && (rtDW.CCU_MODE_FL == 1) && + (rtDW.CCU_SET_FL < rtb_out_mxq) && (rtDW.LO_HI_MODE_FL == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_pe = 1; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_pe = -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' + */ + Level2(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_m(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/mode driver' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + */ + if ((rtDW.ECT < rtb_FLU_tg_correct) && (rtDW.CCU_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_pe = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_pe = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4(&rtB.Merge_pe, &rtDW.CCU_MODE_FL, &rtDW.ECT, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_FL); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4(&rtB.Merge_pe, &rtDW.CCU_MODE_FL, &rtDW.ECT, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_FL); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* 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' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_FR = 20U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_FL = 20U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUR = 600U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUL = 600U; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLR = 800U; + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLL = 800U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FL = 80U; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + rtb_timer_out = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + ShutOffRear_EN = 1U; + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else { + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_Subtract = (uint32_t)i - 2U; + if ((uint32_t)i - 2U > (uint32_t)i) { + rtb_Subtract = 0U; + } + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + */ + rtB.Merge_pe = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1 + [(int32_t)rtb_Subtract - 1]); + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_FR = 20U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_FL = 20U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUR = 600U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUL = 600U; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLR = 800U; + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLL = 800U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FL = 80U; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + rtb_timer_out = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + ShutOffRear_EN = 1U; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_c(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + */ + rtB.Merge_pe = (int8_t)(rtDW.ECT > rtb_FLU_tg_correct); + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_FR = 20U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_FL = 20U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUR = 800U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUL = 800U; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLR = 800U; + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLL = 800U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FL = 80U; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + rtb_timer_out = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + ShutOffRear_EN = 1U; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_c(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + */ + rtB.Merge_pe = (int8_t)(rtDW.ECT > rtb_FLU_tg_correct); + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* 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' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &rtb_timer_out); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' + */ + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower FR' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerFR(rtDW.LEVEL, &rtb_Saturation_as); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)rtb_Saturation_as; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_out_mxq = g_ausSTART_TIME_STEP1_TO_2[i - 1]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/èç ñåê â ìñ' + * MATLAB Function: '/Time goto from step 1 to step 2 ' + */ + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_out_mxq), + &WinterCondition_is_active_F, &rtDW.sf_MATLABFunction1_n); + + /* Switch: '/Switch1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL != 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if ((rtDW.Incar_FL < rtb_FLU_tg_correct) || + WinterCondition_is_active_F) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &rtb_timer_out); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' + */ + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower FR' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerFR(rtDW.LEVEL, &rtb_Saturation_as); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)rtb_Saturation_as; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain2' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), + &WinterCondition_is_active_F, + &rtDW.sf_MATLABFunction1_j); + + /* Switch: '/Switch1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL != 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if ((rtDW.Incar_FL < rtb_FLU_tg_correct) || + WinterCondition_is_active_F) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * SignalConversion generated from: '/step' + */ + rtB.Merge_pe = 2; + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read11' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &rtb_timer_out); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' + */ + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerminmax(rtDW.LEVEL, rtb_out_fm); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_jow); + + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, + rtb_out_jow, rtb_out_fm, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain2' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read14' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), + &WinterCondition_is_active_F, + &rtDW.sf_MATLABFunction1_d); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + */ + /* : out = int16(g_assSTART_COOLANT_TO_STEP2(LVL + 1 - 3)); */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else { + /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' incorporates: + * DataStoreRead: '/Data Store Read10' + */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_Subtract = (uint32_t)i - 3U; + if ((uint32_t)i - 3U > (uint32_t)i) { + rtb_Subtract = 0U; + } + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + */ + if ((rtDW.Incar_FL < Eva_Target) || WinterCondition_is_active_F || + (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[(int32_t)rtb_Subtract - 1])) + { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step 2' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &rtb_timer_out); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' + */ + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerminmax(rtDW.LEVEL, rtb_out_fm); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_jow); + + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, + rtb_out_jow, rtb_out_fm, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain2' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), + &WinterCondition_is_active_F, + &rtDW.sf_MATLABFunction1_h); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if ((rtDW.Incar_FL > Eva_Target) || WinterCondition_is_active_F) + { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &rtb_timer_out); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' + */ + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerminmax(rtDW.LEVEL, rtb_out_fm); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_jow); + + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, + rtb_out_jow, rtb_out_fm, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain2' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), + &WinterCondition_is_active_F, + &rtDW.sf_MATLABFunction1_p); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if ((rtDW.Incar_FL > Eva_Target) || WinterCondition_is_active_F) + { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 1 F' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Step 2 F' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &EN_BATTChiller); + + /* Abs: '/Abs' */ + if (Eva_Target < 0) { + Eva_Target = (int16_t)-Eva_Target; + } + + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write12' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)Eva_Target * 2.0 <= 0.01) { + rtDW.Dtg_FLR = (uint16_t)rtb_y_n; + } else { + if (rtDW.Dtg_FLL <= rtb_y_n) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FLR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_k) * (double)i + (double)rtDW.Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); + + /* Abs: '/Abs' */ + if (Eva_Target < 0) { + Eva_Target = (int16_t)-Eva_Target; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_d(rtDW.LEVEL, &EN_BATTChiller); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)Eva_Target * 2.0 <= 0.01) { + rtDW.Dtg_FUR = (uint16_t)rtb_FLU_tg_correct; + } else { + if (rtDW.Dtg_FUL <= rtb_FLU_tg_correct) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FUR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_cm) * (double)i + (double)rtDW.Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_g(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_f(rtDW.LEVEL, &EN_BATTChiller); + + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' + */ + if ((uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL) <= 0.01) { + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Mode_FL = rtDW.Mode_logic_FL; + } else { + if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtDW.Mode_FL = (uint8_t)((double)Comp_Max_RPM_Allowed / (double) + EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_f) * (double)i + (double)rtDW.Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ + blowerstep(rtDW.LEVEL, &rtb_Saturation_as); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &Gain1); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * Product: '/Product1' + * Product: '/change rate (AF//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL) <= 0.01) { + index_start = rtDW.Blower_logic_FL; + } else { + if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + index_start = (double)rtb_Saturation_as / (double)Gain1 / 1000.0 * + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_gc) * (double)i + + (double)rtDW.Blower_FL; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)index_start; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* RelationalOperator: '/Relational Operator2' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + WinterCondition_is_active_F = (rtDW.CCU_MODE_FL != 1); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Relational Operator3' + */ + WinterCondition_eTXV_ON_Front = (WinterCondition_is_active_F || + (rtDW.LO_HI_MODE_FL != 0)); + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), + &WinterCondition_is_active_F, + &rtDW.sf_MATLABFunction1_m); + + /* Switch: '/Switch1' incorporates: + * Switch: '/Switch' + */ + if (WinterCondition_eTXV_ON_Front) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if (WinterCondition_is_active_F) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' + */ + rtB.Merge_pe = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_k = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_cm = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_f = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_gc = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &EN_BATTChiller); + + /* Abs: '/Abs' */ + if (Eva_Target < 0) { + Eva_Target = (int16_t)-Eva_Target; + } + + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write12' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)Eva_Target * 2.0 <= 0.01) { + rtDW.Dtg_FLR = (uint16_t)rtb_y_n; + } else { + if (rtDW.Dtg_FLL <= rtb_y_n) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FLR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_mz) * (double)i + (double)rtDW.Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); + + /* Abs: '/Abs' */ + if (Eva_Target < 0) { + Eva_Target = (int16_t)-Eva_Target; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_d(rtDW.LEVEL, &EN_BATTChiller); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)Eva_Target * 2.0 <= 0.01) { + rtDW.Dtg_FUR = (uint16_t)rtb_FLU_tg_correct; + } else { + if (rtDW.Dtg_FUL <= rtb_FLU_tg_correct) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FUR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_n) * (double)i + (double)rtDW.Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + Comp_Max_RPM_Allowed = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_g(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_f(rtDW.LEVEL, &rtb_timer_out); + + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + if (Comp_Max_RPM_Allowed <= 0.01) { + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtDW.Mode_FL = rtDW.Mode_logic_FL; + } else { + if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtDW.Mode_FL = (uint8_t)((double)EN_BATTChiller / (double) + rtb_timer_out / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_le) * (double)i + (double)rtDW.Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating_o(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(rtDW.LEVEL, &rtb_Saturation_as); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &Gain1); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL) <= 0.01) { + index_start = rtDW.Blower_logic_FL; + } else { + if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + index_start = (double)rtb_Saturation_as / (double)Gain1 / 1000.0 * + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_cb) * (double)i + + (double)rtDW.Blower_FL; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)index_start; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* RelationalOperator: '/Relational Operator2' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + WinterCondition_is_active_F = (rtDW.CCU_MODE_FL != 1); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Relational Operator3' + */ + WinterCondition_eTXV_ON_Front = (WinterCondition_is_active_F || + (rtDW.LO_HI_MODE_FL != 0)); + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), + &WinterCondition_is_active_F, + &rtDW.sf_MATLABFunction1_i2); + + /* Switch: '/Switch1' incorporates: + * Switch: '/Switch' + */ + if (WinterCondition_eTXV_ON_Front) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if (WinterCondition_is_active_F) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' + */ + rtB.Merge_pe = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_mz = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_n = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_le = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_cb = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + Level2(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + Level3(&rtB.Merge_pe, &ShutOffRear_EN, &rtDW.Blower_FL, &rtDW.Blower_FR, + &rtDW.Blower_logic_FL, &rtDW.CCU_MODE_FL, &rtDW.Dtg_FLL, + &rtDW.Dtg_FLR, &rtDW.Dtg_FUL, &rtDW.Dtg_FUR, &rtb_y_n, + &rtb_FLU_tg_correct, &rtb_Saturation4, &rtDW.HI_logic_on, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_FL, &rtDW.Mode_FL, &min_side_L, + &rtDW.Mode_logic_FL, &index_start, &rtb_timer_out, &rtDW.t_now, + &rtDW.Level3_d); + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level3(&rtB.Merge_pe, &ShutOffRear_EN, &rtDW.Blower_FL, &rtDW.Blower_FR, + &rtDW.Blower_logic_FL, &rtDW.CCU_MODE_FL, &rtDW.Dtg_FLL, + &rtDW.Dtg_FLR, &rtDW.Dtg_FUL, &rtDW.Dtg_FUR, &rtb_y_n, + &rtb_FLU_tg_correct, &rtb_Saturation4, &rtDW.HI_logic_on, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_FL, &rtDW.Mode_FL, &min_side_L, + &rtDW.Mode_logic_FL, &index_start, &rtb_timer_out, &rtDW.t_now, + &rtDW.Level4_l); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &EN_BATTChiller); + + /* Abs: '/Abs' */ + if (Eva_Target < 0) { + Eva_Target = (int16_t)-Eva_Target; + } + + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write12' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)Eva_Target * 2.0 <= 0.01) { + rtDW.Dtg_FLR = (uint16_t)rtb_y_n; + } else { + if (rtDW.Dtg_FLL <= rtb_y_n) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FLR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_g) * (double)i + (double)rtDW.Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); + + /* Abs: '/Abs' */ + if (Eva_Target < 0) { + Eva_Target = (int16_t)-Eva_Target; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_d(rtDW.LEVEL, &EN_BATTChiller); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)Eva_Target * 2.0 <= 0.01) { + rtDW.Dtg_FUR = (uint16_t)rtb_FLU_tg_correct; + } else { + if (rtDW.Dtg_FUL <= rtb_FLU_tg_correct) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FUR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_h) * (double)i + (double)rtDW.Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/autodemist (autodefog)' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + autodemistautodefog(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + EN_BATTChiller = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_g(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_f(rtDW.LEVEL, &rtb_timer_out); + + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' + */ + if (EN_BATTChiller <= 0.01) { + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + */ + rtDW.Mode_FL = rtDW.Mode_logic_FL; + } else { + if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + rtDW.Mode_FL = (uint8_t)((double)Comp_Max_RPM_Allowed / (double) + rtb_timer_out / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_ly) * (double)i + (double)rtDW.Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating_o(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(rtDW.LEVEL, &rtb_Saturation_as); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &Gain1); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL) <= 0.01) { + index_start = rtDW.Blower_logic_FL; + } else { + if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + index_start = (double)rtb_Saturation_as / (double)Gain1 / 1000.0 * + (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_gu) * (double)i + + (double)rtDW.Blower_FL; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)index_start; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + index_start = 1.0; + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), + &WinterCondition_is_active_F, + &rtDW.sf_MATLABFunction1_j2); + + /* Switch: '/Switch1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL != 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if (WinterCondition_is_active_F || rtDW.HI_logic_on) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' + */ + rtB.Merge_pe = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_g = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_h = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_ly = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' + */ + rtDW.UnitDelay_DSTATE_gu = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 2 F' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Step 3 F' incorporates: + * ActionPort: '/Action Port' + */ + Step3F(&rtB.Merge_pe, &rtDW.start_control_finished_front); + + /* End of Outputs for SubSystem: '/Step 3 F' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.step_start_controle_front = rtB.Merge_pe; + + /* End of Outputs for SubSystem: '/Start Control Front' */ } - /* End of If: '/If1' */ + /* End of If: '/åñëè SC front íå çàâåðøåí2' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Saturate: '/from 0 to 3' incorporates: + * Constant: '/Constant' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' */ - if (rtb_Saturation4 > 0) { - /* Outputs for IfAction SubSystem: '/rear sync' incorporates: - * ActionPort: '/Action Port' - */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write2' - */ - rtDW.CCU_SET_RL = rtDW.CCU_SET_RR; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_RR; - - /* DataStoreWrite: '/Data Store Write17' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtDW.CCU_AUTOMODE_RL = rtDW.CCU_AUTOMODE_RR; - - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - rtDW.CCU_FACE_RL = rtDW.CCU_FACE_RR; - - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - rtDW.CCU_FOOT_RL = rtDW.CCU_FOOT_RR; - - /* DataStoreWrite: '/Data Store Write15' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - rtDW.CCU_MODE_RL = rtDW.CCU_MODE_RR; - - /* End of Outputs for SubSystem: '/rear sync' */ + if (rtDW.UnitDelay_DSTATE_b + 1.0 > 3.0) { + rtDW.UnitDelay_DSTATE_b = 3.0; + } else if (rtDW.UnitDelay_DSTATE_b + 1.0 < 0.0) { + rtDW.UnitDelay_DSTATE_b = 0.0; + } else { + rtDW.UnitDelay_DSTATE_b++; } - /* End of If: '/If2' */ + /* End of Saturate: '/from 0 to 3' */ - /* Update for Memory: '/Memory1' */ + /* If: '/åñëè SC front íå çàâåðøåí3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion3' + * UnitDelay: '/Unit Delay' + */ + if (((uint8_t)rtDW.start_control_finished_rear == 0) && ((uint8_t) + rtDW.UnitDelay_DSTATE_b >= 2)) { + /* Outputs for IfAction SubSystem: '/Start Control Rear' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.step_start_controle_rear) { + case -1: + /* Outputs for IfAction SubSystem: '/Step -1 R (Entry Condition)' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = int16(g_assSTART_ENTER_INCAR(LVL + 1 + 6)); */ + g_ausSTART_ENTER_SETTEMP_i(rtDW.LEVEL, &rtb_y_hg); + + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_Cmd_3Way = (int32_t)((uint32_t)i + 6U); + if ((uint32_t)i + 6U > 255U) { + rtb_Cmd_3Way = 255; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * MATLAB Function: '/g_assSTART_ENTER_INCAR' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_RR > g_assSTART_ENTER_INCAR[rtb_Cmd_3Way - 1]) && + (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR < rtb_y_hg) && + (rtDW.LO_HI_MODE_RR == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a0 = 1; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a0 = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_hg); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_ausSTART_ENTER_SETTEMP_i(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_RR > rtb_y_hg) && (rtDW.CCU_MODE_RR == 1) && + (rtDW.CCU_SET_RR < rtb_FLU_tg_correct) && (rtDW.LO_HI_MODE_RR == 0)) + { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a0 = 1; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a0 = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_hg); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_ausSTART_ENTER_SETTEMP_i(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch' incorporates: + * Constant: '/LOW' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_RR < rtb_y_hg) && (rtDW.CCU_MODE_RR == 1) && + (rtDW.CCU_SET_RR > rtb_FLU_tg_correct) && (rtDW.LO_HI_MODE_RR != 1)) + { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a0 = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a0 = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_hg); + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_m1(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_Cmd_3Way = (int32_t)((uint32_t)i + 6U); + if ((uint32_t)i + 6U > 255U) { + rtb_Cmd_3Way = 255; + } + + rtb_out_mxq = g_ausSTART_ENTER_SETTEMP[rtb_Cmd_3Way - 1]; + if (rtb_out_mxq > 32767) { + rtb_out_mxq = 32767U; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/LOW' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read7' + * Logic: '/AND' + * Logic: '/AND1' + * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + */ + if (((rtDW.Incar_RR < rtb_y_hg) || (rtDW.ECT < rtb_FLU_tg_correct)) && + (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR > rtb_out_mxq) && + (rtDW.LO_HI_MODE_RR != 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a0 = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a0 = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_j(&rtB.Merge_a0, &rtDW.CCU_MODE_RR, &rtDW.ECT, &rtDW.Incar_RR, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_RR); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4_j(&rtB.Merge_a0, &rtDW.CCU_MODE_RR, &rtDW.ECT, &rtDW.Incar_RR, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_RR); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step -1 R (Entry Condition)' */ + break; + + case 0: + /* Outputs for IfAction SubSystem: '/Step 0 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_a0); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_a0); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_RL = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RR = 650U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RL = 650U; + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_j(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_m(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' + */ + rtDW.Mode_RR = 60U; + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + if ((rtDW.CCU_MODE_RR != 1) || (rtDW.LO_HI_MODE_RR == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_a0 = 3; + } else { + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + i = (int32_t)(rtDW.LEVEL + 3U); + if (rtDW.LEVEL + 3U > 255U) { + i = 255; + } + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + */ + rtB.Merge_a0 = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1[i - 1]); + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_RL = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RR = 650U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RL = 650U; + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_j(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_m(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' + */ + rtDW.Mode_RR = 60U; + + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/step1' + */ + rtB.Merge_a0 = 0; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_j(rtDW.LEVEL, &rtb_y_hg); + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_h(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.ECT, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, &rtDW.Mode_RR, + &ShutOffRear_EN, &rtb_timer_out); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4_h(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.ECT, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, &rtDW.Mode_RR, + &ShutOffRear_EN, &rtb_timer_out); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 0 R' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Step 1 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0_g(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.Incar_RR, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, &rtDW.Mode_RR, + &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level0_gj); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0_g(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.Incar_RR, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, &rtDW.Mode_RR, + &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level1_l); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + * MATLAB Function: '/incar filter down' + * MATLAB Function: '/incar filter up' + * MATLAB Function: '/mode rear step 1' + */ + uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterup_j(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterdown_m(rtDW.LEVEL, &rtDW.Mode_RR); + moderearstep1(rtDW.LEVEL, &rtDW.Mode_RR); + + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstartfinish(rtDW.LEVEL, rtb_out_fm); + + /* MATLAB Function: '/ECT min max' */ + /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(5)); */ + /* : max = int16(g_assSTART_COOLANT_TO_STEP2(2)); */ + /* : out = [min, max]; */ + rtb_out_jow[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; + rtb_out_jow[1] = g_assSTART_COOLANT_TO_STEP2[1]; + + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_y_hg = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jow, + rtb_out_fm, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_RR = (uint8_t)rtb_y_hg; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_RL = rtDW.Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_RR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_RL = rtDW.Dtg_RR; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_m(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(rtDW.LEVEL, &rtb_y_hg); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_hg), + &WinterCondition_is_active_F, + &rtDW.sf_MATLABFunction1_m3); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * Switch: '/Switch' + */ + /* : out = int16(g_assSTART_COOLANT_TO_STEP2(2)); */ + if ((rtDW.CCU_MODE_RR != 1) || (rtDW.LO_HI_MODE_RR == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_a0 = 3; + } else if ((rtDW.Incar_RR > rtb_FLU_tg_correct) || + WinterCondition_is_active_F || (rtDW.ECT > + g_assSTART_COOLANT_TO_STEP2[1])) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_a0 = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_a0 = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + * MATLAB Function: '/incar filter down' + * MATLAB Function: '/incar filter up' + * MATLAB Function: '/mode rear step 1' + */ + uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterup_j(rtDW.LEVEL, &rtDW.Mode_RR); + incarfilterdown_m(rtDW.LEVEL, &rtDW.Mode_RR); + moderearstep1(rtDW.LEVEL, &rtDW.Mode_RR); + + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstartfinish(rtDW.LEVEL, rtb_out_fm); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax_j(rtDW.LEVEL, rtb_out_jow); + + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_y_hg = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jow, + rtb_out_fm, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_RR = (uint8_t)rtb_y_hg; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_RL = rtDW.Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_RR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_RL = rtDW.Dtg_RR; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_m(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(rtDW.LEVEL, &rtb_y_hg); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/èç ñåê â ìñ' + */ + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_hg), + &WinterCondition_is_active_F, &rtDW.sf_MATLABFunction1_c); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * Switch: '/Switch' + */ + /* : out = int16(g_assSTART_COOLANT_TO_STEP2(3)); */ + if ((rtDW.CCU_MODE_RR != 1) || (rtDW.LO_HI_MODE_RR == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_a0 = 3; + } else if ((rtDW.Incar_RR > rtb_FLU_tg_correct) || + WinterCondition_is_active_F || (rtDW.ECT > + g_assSTART_COOLANT_TO_STEP2[2])) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_a0 = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_a0 = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_m(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.ECT, + &rtDW.Incar_RR, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, + &rtDW.Mode_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, + &rtDW.Level4_m5); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4_m(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.ECT, + &rtDW.Incar_RR, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, + &rtDW.Mode_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, + &rtDW.Level5_i); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 1 R' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Step 2 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0_a(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_hg, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, &rtb_Saturation4, + &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &index_start, + &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level0_ad); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0_a(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_hg, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, &rtb_Saturation4, + &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &index_start, + &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level1_hm); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + Level2_f(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_hg, &rtDW.HI_logic_on, &EN_BATTChiller, + &Comp_Max_RPM_Allowed, &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, + &rtb_Saturation4, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, + &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level2_f0); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + Level2_f(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_hg, &rtDW.HI_logic_on, &EN_BATTChiller, + &Comp_Max_RPM_Allowed, &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, + &rtb_Saturation4, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, + &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level3_p); + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level2_f(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_hg, &rtDW.HI_logic_on, &EN_BATTChiller, + &Comp_Max_RPM_Allowed, &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, + &rtb_Saturation4, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, + &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level4_b); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level2_f(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_hg, &rtDW.HI_logic_on, &EN_BATTChiller, + &Comp_Max_RPM_Allowed, &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, + &rtb_Saturation4, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, + &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level5_ph); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* 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' + */ + Step3F(&rtB.Merge_a0, &rtDW.start_control_finished_front); + + /* End of Outputs for SubSystem: '/Step 3 R' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.step_start_controle_rear = rtB.Merge_a0; + + /* End of Outputs for SubSystem: '/Start Control Rear' */ + } + + /* End of If: '/åñëè SC front íå çàâåðøåí3' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.CCU_SET_FL < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FL > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + if (rtDW.CCU_SET_FR < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FR > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + if (rtDW.CCU_SET_RL < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RL > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + if (rtDW.CCU_SET_RR < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RR > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + + /* Update for Memory: '/Memory1' */ rtDW.MemComp_I_Value = rtb_Gain1_f; - /* Update for Memory: '/pError' */ - rtDW.pError_PreviousInput = rtb_DeadZone; + /* Update for Memory: '/pError' */ + rtDW.pError_PreviousInput = rtb_g_assEVA_TG_AMB_F_m; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read6' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read6' */ - rtDW.UnitDelay_DSTATE_f = rtb_FLU_tg_correct_p; + rtDW.UnitDelay_DSTATE_fq = rtb_Merge_b; - /* Update for UnitDelay: '/Unit Delay1' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Update for UnitDelay: '/Unit Delay1' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtDW.UnitDelay1_DSTATE = rtDW.Duct_RR_Tg; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE = rtb_FailCond_a; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE = rtb_LogicalOperator1; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_p = rtb_Compare_edx; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_p = rtb_AND2_b; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_e1; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_byy; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_l = rtb_LogicalOperator1_f1; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_j = rtb_LogicalOperator1_f; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_g = rtb_LogicalOperator1_nf; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_c = rtb_FailCond_iq; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_c = rtb_FailCond_of; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_e; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_pw3; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cr = rtb_Compare_pf; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_cr = rtb_Compare_nh; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_m = rtb_Compare_kc; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_m = rtb_Compare_ee; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_jr = rtb_Compare_oy3; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_jr = rtb_Compare_n4; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_f = rtb_Compare_lt; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_f = rtb_Compare_cp; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cn = rtb_Compare_cw; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_cn = rtb_Compare_ca; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.UnitDelay_DSTATE_cb = rtDW.Incar_FL; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_k = rtb_Compare_kp; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write3' - */ - rtDW.UnitDelay_DSTATE_j = rtDW.Incar_FR; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_d = rtb_Compare_jj; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write4' - */ - rtDW.UnitDelay_DSTATE_cs = rtDW.Incar_RL; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_hw = rtb_Compare_f4; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.UnitDelay_DSTATE_k = rtDW.Incar_RR; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_i = rtb_Compare_k2; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_k = rtb_Compare_i5; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_d = rtb_FailCond_jb; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_hw = rtb_FailCond_e; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_i = rtb_FailCond_l; - - /* Update for UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE = rtB.out_auto_h; + rtDW.DelayInput1_DSTATE = rtB.out_auto_b; - /* Update for UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE_e = rtB.out_auto_e; + rtDW.DelayInput1_DSTATE_f = rtB.out_auto; - /* Update for UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE_d = rtB.out_auto_hx; + rtDW.DelayInput1_DSTATE_e = rtB.out_auto_l; - /* Update for UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE_d3 = rtB.out_auto; + rtDW.DelayInput1_DSTATE_ee = rtB.out_auto_bb; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - rtDW.UnitDelay_DSTATE = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - rtDW.UnitDelay_DSTATE_b = rtDW.t_now; - - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read44' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read44' */ rtDW.UnitDelay_DSTATE_l = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + rtDW.UnitDelay_DSTATE_bp = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + rtDW.UnitDelay_DSTATE_li = rtDW.t_now; } /* Model initialize function */ @@ -54890,19 +63332,28 @@ void HVAC_model_initialize(void) { int32_t i; + uint8_t out_def_p; + uint8_t out_face_i; + uint8_t out_foot_h; - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Temp_FL_store = -9999.0; - /* Start for DataStoreMemory: '/Data Store Memory10' */ + /* Start for DataStoreMemory: '/Data Store Memory10' */ rtDW.Temp_RR_store = -9999.0; - /* Start for DataStoreMemory: '/Data Store Memory4' */ + /* Start for DataStoreMemory: '/Data Store Memory4' */ rtDW.Temp_FR_store = -9999.0; - /* Start for DataStoreMemory: '/Data Store Memory6' */ + /* Start for DataStoreMemory: '/Data Store Memory6' */ rtDW.Temp_RL_store = -9999.0; + /* Start for DataStoreMemory: '/Data Store Memory106' */ + rtDW.CCU_SET_FOOT_RL = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory107' */ + rtDW.CCU_SET_FOOT_RR = 3U; + /* Start for DataStoreMemory: '/Data Store Memory110' */ rtDW.CCU_FACE_RL = 1U; @@ -54915,36 +63366,34 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory119' */ rtDW.CCU_AUTOMODE_RR = 3U; for (i = 0; i < 9; i++) { - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_p[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_b[i] = 1U; /* Start for DataStoreMemory: '/Data Store Memory121' */ - rtDW.MaxPositionCh0_private[i] = rtConstP.pooled85[i]; + rtDW.MaxPositionCh0_private[i] = rtConstP.pooled92[i]; /* Start for DataStoreMemory: '/Data Store Memory123' */ - rtDW.MaxPositionCh1_private[i] = - rtConstP.DataStoreMemory123_InitialValue[i]; + rtDW.MaxPositionCh1_private[i] = rtConstP.pooled93[i]; /* Start for DataStoreMemory: '/Data Store Memory124' */ - rtDW.MaxPositionCh2_private[i] = - rtConstP.DataStoreMemory124_InitialValue[i]; + rtDW.MaxPositionCh2_private[i] = rtConstP.pooled94[i]; } /* Start for DataStoreMemory: '/Data Store Memory14' */ rtDW.CCU_SET_FR = 230U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory15' */ rtDW.CCU_SET_FL = 230U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory16' */ rtDW.CCU_SET_RR = 230U; @@ -54964,7 +63413,7 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory167' */ rtDW.PtcRelayDriver2_EN = 1U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory17' */ rtDW.CCU_SET_RL = 230U; @@ -54996,6 +63445,12 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory42' */ rtDW.ADC_Data_Model = rtConstP.DataStoreMemory42_InitialValue; + /* Start for DataStoreMemory: '/Data Store Memory444' */ + rtDW.Index_mode_FL = 10U; + + /* Start for DataStoreMemory: '/Data Store Memory445' */ + rtDW.Index_mode_FR = 10U; + /* Start for DataStoreMemory: '/Data Store Memory446' */ rtDW.Index_mode_RL = 120U; @@ -55006,7 +63461,7 @@ void HVAC_model_initialize(void) rtDW.t_now = 10U; /* Start for DataStoreMemory: '/Data Store Memory76' */ - rtDW.CCU_SET_FOOT_FL = 3U; + rtDW.CCU_FootTempCorr_FL = 3U; /* Start for DataStoreMemory: '/Data Store Memory77' */ rtDW.CCU_SET_FOOT_FR = 3U; @@ -55056,54 +63511,42 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/side rear R' */ rtDW.DRS_SRR = 3U; - /* InitializeConditions for RateLimiter: '/Rate Limiter' */ + /* InitializeConditions for RateLimiter: '/Rate Limiter' */ rtDW.PrevY = 0.0; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_f = -9999; + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_fq = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay1' */ + /* InitializeConditions for UnitDelay: '/Unit Delay1' */ rtDW.UnitDelay1_DSTATE = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_cb = -9999; - - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_j = -9999; - - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_cs = -9999; - - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_k = -9999; - - /* SystemInitialize for Atomic SubSystem: '/WINTER CONDITION' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ + /* SystemInitialize for Atomic SubSystem: '/WINTER CONDITION' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ /* : amb_condition_latched = false; */ rtDW.amb_condition_latched = false; - /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ /* : is_active_persistent = false; */ rtDW.is_active_persistent_m = false; /* : R_Evap_tg_persistent = 0; */ rtDW.R_Evap_tg_persistent = 0.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ /* : is_active_persistent = false; */ rtDW.is_active_persistent_n = false; /* : FRONT_eTXV_ON_persistent = true; */ rtDW.FRONT_eTXV_ON_persistent = true; - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ /* : is_active_persistent = false; */ rtDW.is_active_persistent_c = false; /* : REAR_eTXV_ON_persistent = true; */ rtDW.REAR_eTXV_ON_persistent = true; - /* End of SystemInitialize for SubSystem: '/WINTER CONDITION' */ + /* End of SystemInitialize for SubSystem: '/WINTER CONDITION' */ /* SystemInitialize for Chart: '/A//C Control' */ rtB.FRONT_eTXV = false; @@ -55126,7 +63569,7 @@ void HVAC_model_initialize(void) rtDW.is_E_COMP_MANAGER = IN_NO_ACTIVE_CHILD_c; rtDW.is_COMP_PROTECTION = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ rtDW.t_start_not_empty = false; rtDW.is_running = 0U; @@ -55138,23 +63581,8 @@ void HVAC_model_initialize(void) rtDW.is_ThreeWay_Logic = IN_NO_ACTIVE_CHILD_c; rtDW.is_TwoWay_Logic = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/MAX AC define condition' */ - rtB.condition = 0.0; - rtDW.is_active_c248_HVAC_model = 0U; - rtDW.is_c248_HVAC_model = IN_NO_ACTIVE_CHILD_c; - - /* SystemInitialize for Chart: '/Synchronization stateflow chart' */ - rtB.sync_all = 0U; - rtB.sync_front = 0U; - rtB.sync_rear = 0U; - rtDW.is_active_c618_HVAC_model = 0U; - rtDW.is_c618_HVAC_model = IN_NO_ACTIVE_CHILD_c; - - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_b = 0U; - - /* SystemInitialize for MATLAB Function: '/Log Ambient Lv' */ - rtDW.current_Ambient_Lv_not_empty = false; + /* SystemInitialize for Merge: '/Merge' */ + rtB.LEVEL = 0U; /* SystemInitialize for Chart: '/Spd_OSA_Trigger' */ rtDW.is_active_c834_HVAC_model = 0U; @@ -55169,122 +63597,112 @@ void HVAC_model_initialize(void) rtDW.is_PARTIAL_REC_ON = IN_NO_ACTIVE_CHILD_c; rtDW.is_COND_2 = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_j = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1 = 0; - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_g = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1_m = 0; - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed); - /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ + /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ filterACPressure_Init(&rtDW.sf_filterACPressure); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_a); - /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ + /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ filterACPressure_Init(&rtDW.sf_filterACPressure_p); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_d); - /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ + /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ rtDW.prev_value_not_empty = false; - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_m); - /* SystemInitialize for MATLAB Function: '/filter duct' */ + /* SystemInitialize for MATLAB Function: '/filter duct' */ filterduct_Init(&rtDW.sf_filterduct_k); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_f); - /* SystemInitialize for MATLAB Function: '/filter duct' */ + /* SystemInitialize for MATLAB Function: '/filter duct' */ filterduct_Init(&rtDW.sf_filterduct); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_o); - /* SystemInitialize for MATLAB Function: '/filter duct' */ + /* SystemInitialize for MATLAB Function: '/filter duct' */ filterduct_Init(&rtDW.sf_filterduct_c); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_h); - /* SystemInitialize for MATLAB Function: '/filter duct' */ + /* SystemInitialize for MATLAB Function: '/filter duct' */ filterduct_Init(&rtDW.sf_filterduct_o); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_e); - /* SystemInitialize for MATLAB Function: '/filter duct' */ + /* SystemInitialize for MATLAB Function: '/filter duct' */ filterduct_Init(&rtDW.sf_filterduct_h); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_c); - /* SystemInitialize for MATLAB Function: '/filter duct' */ + /* SystemInitialize for MATLAB Function: '/filter duct' */ filterduct_Init(&rtDW.sf_filterduct_j); - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL2' */ - Zone_Climate_Logic_Auto_FL2_Init(&rtB.out_def_i, &rtB.out_face_c, - &rtB.out_foot_f, &rtB.out_auto_h, &rtB.out_ac_ed, - &rtDW.sf_Zone_Climate_Logic_Auto_FL2); + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_mv); - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL3' */ - Zone_Climate_Logic_Auto_FL2_Init(&rtB.out_def_n, &rtB.out_face_f, - &rtB.out_foot_p, &rtB.out_auto_e, &rtB.out_ac_e, - &rtDW.sf_Zone_Climate_Logic_Auto_FL3); + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_fq); - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL1' */ - rtB.out_def_m = 0U; - rtB.out_face_m = 0U; - rtB.out_foot_ps = 0U; - rtB.out_auto_hx = 0U; - rtB.out_ac_m = 0.0; - rtDW.is_active_c681_HVAC_model = 0U; - rtDW.is_c681_HVAC_model = IN_NO_ACTIVE_CHILD_c; - rtDW.is_AC_SUB_c = IN_NO_ACTIVE_CHILD_c; - rtDW.is_DEF_SUB_i = IN_NO_ACTIVE_CHILD_c; - rtDW.is_FACE_SUB_o = IN_NO_ACTIVE_CHILD_c; - rtDW.is_FOOT_SUB_f = IN_NO_ACTIVE_CHILD_c; - rtDW.is_AC_SUB_co = IN_NO_ACTIVE_CHILD_c; + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_n); - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL4' */ - rtB.out_def = 0U; - rtB.out_face = 0U; - rtB.out_foot = 0U; - rtB.out_auto = 0U; - rtB.out_ac = 0.0; - rtDW.is_active_c777_HVAC_model = 0U; - rtDW.is_c777_HVAC_model = IN_NO_ACTIVE_CHILD_c; - rtDW.is_AC_SUB = IN_NO_ACTIVE_CHILD_c; - rtDW.is_DEF_SUB = IN_NO_ACTIVE_CHILD_c; - rtDW.is_FACE_SUB = IN_NO_ACTIVE_CHILD_c; - rtDW.is_FOOT_SUB = IN_NO_ACTIVE_CHILD_c; - rtDW.is_AC_SUB_a = IN_NO_ACTIVE_CHILD_c; + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_mt); - /* SystemInitialize for Atomic SubSystem: '/AromaLogic' */ - /* SystemInitialize for MATLAB Function: '/ccuAromaLogic' */ + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_RL' */ + Zone_Climate_Logic_Auto_RL_Init(&out_def_p, &out_face_i, &out_foot_h, + &rtB.out_auto_b, &rtDW.sf_Zone_Climate_Logic_Auto_RL); + + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_RR' */ + Zone_Climate_Logic_Auto_RL_Init(&out_def_p, &out_face_i, &out_foot_h, + &rtB.out_auto, &rtDW.sf_Zone_Climate_Logic_Auto_RR); + + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL' */ + Zone_Climate_Logic_Auto_FL_Init(&out_def_p, &out_face_i, &out_foot_h, + &rtB.out_auto_l, &rtDW.sf_Zone_Climate_Logic_Auto_FL); + + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FR' */ + Zone_Climate_Logic_Auto_FL_Init(&out_def_p, &out_face_i, &out_foot_h, + &rtB.out_auto_bb, &rtDW.sf_Zone_Climate_Logic_Auto_FR); + + /* SystemInitialize for Atomic SubSystem: '/AromaLogic' */ + /* SystemInitialize for MATLAB Function: '/ccuAromaLogic' */ /* : savedIntensity = uint8(0); */ rtDW.savedIntensity = 0U; /* : prevAromaIntensStat = uint8(0); */ rtDW.prevAromaIntensStat = 0U; - /* End of SystemInitialize for SubSystem: '/AromaLogic' */ + /* End of SystemInitialize for SubSystem: '/AromaLogic' */ - /* SystemInitialize for Atomic SubSystem: '/Autodemist (all-season mode and winter mode)' */ - /* SystemInitialize for MATLAB Function: '/Calculate_Autodemist_Level' */ + /* SystemInitialize for Atomic SubSystem: '/Autodemist (all-season mode and winter mode)' */ + /* SystemInitialize for MATLAB Function: '/Calculate_Autodemist_Level' */ /* : current_level_FL = 0; */ rtDW.current_level_FL = 0.0; @@ -55294,44 +63712,98 @@ void HVAC_model_initialize(void) /* : active_mode = 0; */ rtDW.active_mode = 0.0; - /* End of SystemInitialize for SubSystem: '/Autodemist (all-season mode and winter mode)' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + rtDW.req_prev_not_empty = false; - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* End of SystemInitialize for SubSystem: '/Autodemist (all-season mode and winter mode)' */ + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_k3); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_k); - /* SystemInitialize for MATLAB Function: '/filter sensor' */ + /* SystemInitialize for MATLAB Function: '/filter sensor' */ filtersensor_Init(&rtDW.sf_filtersensor); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_p); - /* SystemInitialize for MATLAB Function: '/filter sensor' */ + /* SystemInitialize for MATLAB Function: '/filter sensor' */ filtersensor_Init(&rtDW.sf_filtersensor_a); - /* SystemInitialize for Enabled SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' */ - /* SystemInitialize for Chart: '/Defrost_Active' */ + /* SystemInitialize for Enabled SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' */ + /* SystemInitialize for Chart: '/Defrost_Active' */ rtDW.is_active_c837_HVAC_model = 0U; rtDW.is_c837_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/Front Window Heating' */ + /* SystemInitialize for Chart: '/Front Window Heating' */ rtDW.is_active_c262_HVAC_model = 0U; rtDW.is_c262_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/AC_Max_Active' */ + /* SystemInitialize for Chart: '/AC_Max_Active' */ rtDW.is_active_c782_HVAC_model = 0U; rtDW.is_c782_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/Full_Rec_Active' */ + /* SystemInitialize for Chart: '/Full_Rec_Active' */ rtDW.is_active_c836_HVAC_model = 0U; rtDW.is_c836_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* End of SystemInitialize for SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' */ + /* End of SystemInitialize for SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' */ - /* SystemInitialize for Atomic SubSystem: '/FOOT2_CONTROL' */ - /* SystemInitialize for MATLAB Function: '/Foot2DuctControl_RL' */ + /* SystemInitialize for Atomic SubSystem: '/Emergency_Air_Cleaning' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* : armed = false; */ + rtDW.armed_i2 = false; + + /* : deadline = uint32(0); */ + rtDW.deadline_c = 0U; + + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* : armed = false; */ + rtDW.armed_g = false; + + /* : deadline = uint32(0); */ + rtDW.deadline_g0 = 0U; + + /* SystemInitialize for MATLAB Function: '/MATLAB Function2' */ + /* : armed = false; */ + rtDW.armed_n = false; + + /* : deadline = uint32(0); */ + rtDW.deadline_e = 0U; + + /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ + /* : armed = false; */ + rtDW.armed_i = false; + + /* : deadline = uint32(0); */ + rtDW.deadline_g = 0U; + + /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ + /* : armed = false; */ + rtDW.armed = false; + + /* : deadline = uint32(0); */ + rtDW.deadline = 0U; + + /* SystemInitialize for MATLAB Function: '/EmergencyAirCleaning' */ + rtDW.is_active_persistent_not_empty_p = false; + rtDW.mode_reg_i = 0U; + rtDW.is_active_persistent_a = false; + rtDW.user_edit_FRONT_FL_blower_speed = false; + rtDW.user_edit_FRONT_FR_blower_speed = false; + rtDW.user_edit_REAR_RL_blower_speed = false; + rtDW.user_edit_REAR_RR_blower_speed = false; + + /* SystemInitialize for MATLAB Function: '/MATLAB Function5' */ + rtDW.wasActive_not_empty = false; + rtDW.wasActive = false; + + /* End of SystemInitialize for SubSystem: '/Emergency_Air_Cleaning' */ + + /* SystemInitialize for Atomic SubSystem: '/FOOT2_CONTROL' */ + /* SystemInitialize for MATLAB Function: '/Foot2DuctControl_RL' */ /* : , */ /* : hystLV2_FL = false; */ rtDW.hystLV2_FL = false; @@ -55340,7 +63812,7 @@ void HVAC_model_initialize(void) /* : hystLV3_FL = false; */ rtDW.hystLV3_FL = false; - /* SystemInitialize for MATLAB Function: '/Foot2DuctControl_RR' */ + /* SystemInitialize for MATLAB Function: '/Foot2DuctControl_RR' */ /* : , */ /* : hystLV2_FR = false; */ rtDW.hystLV2_FR = false; @@ -55349,127 +63821,359 @@ void HVAC_model_initialize(void) /* : hystLV3_FR = false; */ rtDW.hystLV3_FR = false; - /* End of SystemInitialize for SubSystem: '/FOOT2_CONTROL' */ + /* End of SystemInitialize for SubSystem: '/FOOT2_CONTROL' */ - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_n = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* 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_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_hk); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_p = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_e = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_g); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_h3 = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ - rtB.Merge_b4 = 0; + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_b = 0; - /* SystemInitialize for Atomic SubSystem: '/MAX DEF' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for Atomic SubSystem: '/MAX AC' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + rtDW.DRS_array_persistent_not_empty_e = false; + + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + rtDW.is_active_persistent_not_empty = false; + rtDW.mode_reg_o = 0U; + rtDW.is_active_persistent_i = false; + rtDW.FIU_CCmodeFL_Req_j = 0U; + rtDW.FIU_BlowerSpeedFL_Req_k = 0U; + rtDW.FIU_AirDirectionFL_Face_Req_e = 0U; + rtDW.FIU_AirDirectionFL_Foot_Req_k = 0U; + rtDW.FIU_AirDirectionFL_Def_Req_b = 0U; + rtDW.FIU_FootTempCorFL_Req_e = 0U; + rtDW.FIU_CCautoModeFL_Req_n = 0U; + rtDW.FIU_CCmodeFR_Req_p = 0U; + rtDW.FIU_BlowerSpeedFR_Req_a = 0U; + rtDW.FIU_AirDirectionFR_Face_Req_b = 0U; + rtDW.FIU_AirDirectionFR_Foot_Req_j = 0U; + rtDW.FIU_AirDirectionFR_Def_Req_b = 0U; + rtDW.FIU_FootTempCorFR_Req_a = 0U; + rtDW.FIU_CCautoModeFR_Req_g = 0U; + rtDW.FIU_DeflectorSwDL_Req_i = 0U; + rtDW.FIU_DeflectorSwDR_Req_i = 0U; + rtDW.FIU_DeflectorSwFPL_Req_m = 0U; + rtDW.FIU_DeflectorSwFPR_Req_i = 0U; + + /* End of SystemInitialize for SubSystem: '/MAX AC' */ + + /* SystemInitialize for Atomic SubSystem: '/MAX DEF1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ rtDW.DRS_array_persistent_not_empty = false; - rtDW.FIU_CCU1_model_persistent_not_empty_m = false; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* : mode_reg = MODE_OFF; */ + rtDW.mode_reg = 0U; + /* : is_active_persistent = false; */ rtDW.is_active_persistent = false; - /* End of SystemInitialize for SubSystem: '/MAX DEF' */ + /* : FIU_CCmodeFL_Req = uint8(0); */ + rtDW.FIU_CCmodeFL_Req = 0U; - /* SystemInitialize for MATLAB Function: '/any message from FIU or TM_CP' */ + /* : FIU_BlowerSpeedFL_Req = uint8(0); */ + rtDW.FIU_BlowerSpeedFL_Req = 0U; + + /* : FIU_AirDirectionFL_Face_Req = uint8(0); */ + rtDW.FIU_AirDirectionFL_Face_Req = 0U; + + /* : FIU_AirDirectionFL_Foot_Req = uint8(0); */ + rtDW.FIU_AirDirectionFL_Foot_Req = 0U; + + /* : FIU_AirDirectionFL_Def_Req = uint8(0); */ + rtDW.FIU_AirDirectionFL_Def_Req = 0U; + + /* : FIU_FootTempCorFL_Req = uint8(0); */ + rtDW.FIU_FootTempCorFL_Req = 0U; + + /* : FIU_CCautoModeFL_Req = uint8(0); */ + rtDW.FIU_CCautoModeFL_Req = 0U; + + /* : FIU_CCmodeFR_Req = uint8(0); */ + rtDW.FIU_CCmodeFR_Req = 0U; + + /* : FIU_BlowerSpeedFR_Req = uint8(0); */ + rtDW.FIU_BlowerSpeedFR_Req = 0U; + + /* : FIU_AirDirectionFR_Face_Req = uint8(0); */ + rtDW.FIU_AirDirectionFR_Face_Req = 0U; + + /* : FIU_AirDirectionFR_Foot_Req = uint8(0); */ + rtDW.FIU_AirDirectionFR_Foot_Req = 0U; + + /* : FIU_AirDirectionFR_Def_Req = uint8(0); */ + rtDW.FIU_AirDirectionFR_Def_Req = 0U; + + /* : FIU_FootTempCorFR_Req = uint8(0); */ + rtDW.FIU_FootTempCorFR_Req = 0U; + + /* : FIU_CCautoModeFR_Req = uint8(0); */ + rtDW.FIU_CCautoModeFR_Req = 0U; + + /* : FIU_DeflectorSwDL_Req = uint8(0); */ + rtDW.FIU_DeflectorSwDL_Req = 0U; + + /* : FIU_DeflectorSwDR_Req = uint8(0); */ + rtDW.FIU_DeflectorSwDR_Req = 0U; + + /* : FIU_DeflectorSwFPL_Req = uint8(0); */ + rtDW.FIU_DeflectorSwFPL_Req = 0U; + + /* : FIU_DeflectorSwFPR_Req = uint8(0); */ + rtDW.FIU_DeflectorSwFPR_Req = 0U; + + /* End of SystemInitialize for SubSystem: '/MAX DEF1' */ + + /* SystemInitialize for MATLAB Function: '/any message from FIU or TM_CP' */ rtDW.FIU_CCU1_model_persistent_not_empty = false; rtDW.TM_CP_model_persistent_not_empty = false; - /* SystemInitialize for Chart: '/Operation mode' */ + /* SystemInitialize for Chart: '/Operation mode' */ rtDW.is_active_c1511_HVAC_model = 0U; rtDW.is_c1511_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction1_l); - - /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction3); - - /* SystemInitialize for MATLAB Function: '/MATLAB Function2' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction2); - - /* SystemInitialize for MATLAB Function: '/MATLAB Function5' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction5); - - /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction4); - - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_k_Init(&rtDW.sf_MATLABFunction_m); - /* SystemInitialize for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* SystemInitialize for MATLAB Function: '/blowerLimitByBattTemp' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction1_l); + + /* SystemInitialize for MATLAB Function: '/MATLAB Function2' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction2); + + /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction3); + + /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction4); + + /* SystemInitialize for MATLAB Function: '/MATLAB Function5' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction5); + + /* SystemInitialize for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* SystemInitialize for MATLAB Function: '/blowerLimitByBattTemp' */ /* : is_active_persistent_front = false; */ rtDW.is_active_persistent_front = false; /* : is_active_persistent_rear = false; */ rtDW.is_active_persistent_rear = false; - /* End of SystemInitialize for SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* End of SystemInitialize for SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* SystemInitialize for MATLAB Function: '/filter PWM front' */ + /* SystemInitialize for MATLAB Function: '/filter PWM front' */ filterPWMfront_Init(&rtDW.sf_filterPWMfront); - /* SystemInitialize for MATLAB Function: '/filter PWM rear' */ - filterPWMfront_Init(&rtDW.sf_filterPWMrear); + /* SystemInitialize for MATLAB Function: '/filter PWM front1' */ + filterPWMfront_Init(&rtDW.sf_filterPWMfront1); - /* SystemInitialize for Atomic SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ - /* SystemInitialize for MATLAB Function: '/recirc_by_door_ajar' */ + /* SystemInitialize for Atomic SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + /* SystemInitialize for MATLAB Function: '/recirc_by_door_ajar' */ /* : is_active_state = false; */ rtDW.is_active_state = false; - /* End of SystemInitialize for SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + /* End of SystemInitialize for SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + + /* SystemInitialize for Chart: '/Synchronization stateflow chart' */ + rtB.sync_all = 0U; + rtB.sync_front = 0U; + rtB.sync_rear = 0U; + rtDW.is_active_c618_HVAC_model = 0U; + rtDW.is_c618_HVAC_model = IN_NO_ACTIVE_CHILD_c; + + /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ + /* SystemInitialize for IfAction SubSystem: '/Step 1 F' */ + /* SystemInitialize for IfAction SubSystem: '/Level 0' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&rtDW.sf_MATLABFunction1_n); + + /* End of SystemInitialize for SubSystem: '/Level 0' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_j); + + /* End of SystemInitialize for SubSystem: '/Level 1' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_d); + + /* End of SystemInitialize for SubSystem: '/Level 3' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_h); + + /* End of SystemInitialize for SubSystem: '/Level 4' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_p); + + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 1 F' */ + + /* SystemInitialize for IfAction SubSystem: '/Step 2 F' */ + /* SystemInitialize for IfAction SubSystem: '/Level 0' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_m); + + /* End of SystemInitialize for SubSystem: '/Level 0' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_i2); + + /* End of SystemInitialize for SubSystem: '/Level 1' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + Level3_Init(&rtDW.Level3_d); + + /* End of SystemInitialize for SubSystem: '/Level 3' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + Level3_Init(&rtDW.Level4_l); + + /* End of SystemInitialize for SubSystem: '/Level 4' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_j2); + + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 2 F' */ + + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_pe = 0; + + /* End of SystemInitialize for SubSystem: '/Start Control Front' */ + + /* SystemInitialize for IfAction SubSystem: '/Start Control Rear' */ + /* SystemInitialize for IfAction SubSystem: '/Step 1 R' */ + /* SystemInitialize for IfAction SubSystem: '/Level 0' */ + Level0_c_Init(&rtDW.Level0_gj); + + /* End of SystemInitialize for SubSystem: '/Level 0' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + Level0_c_Init(&rtDW.Level1_l); + + /* End of SystemInitialize for SubSystem: '/Level 1' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 2' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&rtDW.sf_MATLABFunction1_m3); + + /* End of SystemInitialize for SubSystem: '/Level 2' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&rtDW.sf_MATLABFunction1_c); + + /* End of SystemInitialize for SubSystem: '/Level 3' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + Level4_b_Init(&rtDW.Level4_m5); + + /* End of SystemInitialize for SubSystem: '/Level 4' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + Level4_b_Init(&rtDW.Level5_i); + + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 1 R' */ + + /* SystemInitialize for IfAction SubSystem: '/Step 2 R' */ + /* SystemInitialize for IfAction SubSystem: '/Level 0' */ + Level0_h_Init(&rtDW.Level0_ad); + + /* End of SystemInitialize for SubSystem: '/Level 0' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + Level0_h_Init(&rtDW.Level1_hm); + + /* End of SystemInitialize for SubSystem: '/Level 1' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 2' */ + Level2_j_Init(&rtDW.Level2_f0); + + /* End of SystemInitialize for SubSystem: '/Level 2' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + Level2_j_Init(&rtDW.Level3_p); + + /* End of SystemInitialize for SubSystem: '/Level 3' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + Level2_j_Init(&rtDW.Level4_b); + + /* End of SystemInitialize for SubSystem: '/Level 4' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + Level2_j_Init(&rtDW.Level5_ph); + + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 2 R' */ + + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_a0 = 0; + + /* End of SystemInitialize for SubSystem: '/Start Control Rear' */ } } diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model.h b/MODULES/HVAC_M7_MODEL/HVAC_model.h index 74b4453..4f81776 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model.h +++ b/MODULES/HVAC_M7_MODEL/HVAC_model.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1745 + * Model version : 1.1867 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 14 15:54:54 2026 + * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -41,117 +41,156 @@ /* user code (top of header file) */ #include -/* Block states (default storage) for system '/filter AC Pressure' */ +/* Block states (default storage) for system '/MATLAB Function1' */ typedef struct { - double prev_value; /* '/filter AC Pressure' */ - double prev_time; /* '/filter AC Pressure' */ - bool prev_value_not_empty; /* '/filter AC Pressure' */ + uint32_t t_start; /* '/MATLAB Function1' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ +} DW_MATLABFunction1; + +/* Block states (default storage) for system '/MATLAB Function1' */ +typedef struct { + uint32_t t_start; /* '/MATLAB Function1' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ +} DW_MATLABFunction1_f; + +/* Block states (default storage) for system '/Level 3' */ +typedef struct { + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_f; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ + DW_MATLABFunction1_f sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level3; + +/* Block states (default storage) for system '/Level 0' */ +typedef struct { + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level0_h; + +/* Block states (default storage) for system '/Level 4' */ +typedef struct { + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level4_h; + +/* Block states (default storage) for system '/Level 0' */ +typedef struct { + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level0_hr; + +/* Block states (default storage) for system '/Level 2' */ +typedef struct { + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_p; /* '/Unit Delay' */ + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level2_j; + +/* Block states (default storage) for system '/filter AC Pressure' */ +typedef struct { + double prev_value; /* '/filter AC Pressure' */ + double prev_time; /* '/filter AC Pressure' */ + bool prev_value_not_empty; /* '/filter AC Pressure' */ } DW_filterACPressure; -/* Block states (default storage) for system '/is 3 sec after T15 passed' */ +/* Block states (default storage) for system '/is 3 sec after T15 passed' */ typedef struct { - uint32_t timeout_time; /* '/is 3 sec after T15 passed' */ - bool timeout_time_not_empty; /* '/is 3 sec after T15 passed' */ + uint32_t timeout_time; /* '/is 3 sec after T15 passed' */ + bool timeout_time_not_empty; /* '/is 3 sec after T15 passed' */ } DW_is3secafterT15passed; -/* Block states (default storage) for system '/filter duct' */ +/* Block states (default storage) for system '/filter duct' */ typedef struct { - double prev_value; /* '/filter duct' */ - double prev_time; /* '/filter duct' */ - bool prev_value_not_empty; /* '/filter duct' */ + double prev_value; /* '/filter duct' */ + double prev_time; /* '/filter duct' */ + bool prev_value_not_empty; /* '/filter duct' */ } DW_filterduct; -/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL2' */ +/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL' */ typedef struct { - uint8_t is_active_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_AC_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_AC_SUB_f; /* '/Zone_Climate_Logic_Auto_FL2' */ -} DW_Zone_Climate_Logic_Auto_FL2; + uint8_t is_active_c681_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL' */ + uint8_t is_c681_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL' */ + uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL' */ + uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL' */ + uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL' */ +} DW_Zone_Climate_Logic_Auto_FL; -/* Block states (default storage) for system '/filter sensor' */ +/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_RL' */ typedef struct { - double prev_value; /* '/filter sensor' */ - double prev_time; /* '/filter sensor' */ - bool prev_value_not_empty; /* '/filter sensor' */ + uint8_t is_active_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_RL' */ + uint8_t is_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_RL' */ + uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_RL' */ + uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_RL' */ + uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_RL' */ +} DW_Zone_Climate_Logic_Auto_RL; + +/* Block states (default storage) for system '/filter sensor' */ +typedef struct { + double prev_value; /* '/filter sensor' */ + double prev_time; /* '/filter sensor' */ + bool prev_value_not_empty; /* '/filter sensor' */ } DW_filtersensor; -/* Block states (default storage) for system '/MATLAB Function' */ +/* Block states (default storage) for system '/MATLAB Function' */ typedef struct { - double cond_prev; /* '/MATLAB Function' */ - uint32_t t_start; /* '/MATLAB Function' */ - bool t_start_not_empty; /* '/MATLAB Function' */ + double 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 '/MATLAB Function' */ +/* Block states (default storage) for system '/MATLAB Function' */ typedef struct { - double integral; /* '/MATLAB Function' */ - double pInput; /* '/MATLAB Function' */ - double smooth_output; /* '/MATLAB Function' */ + double integral; /* '/MATLAB Function' */ + double pInput; /* '/MATLAB Function' */ + double smooth_output; /* '/MATLAB Function' */ } DW_MATLABFunction_n; -/* Block states (default storage) for system '/filter PWM front' */ +/* Block states (default storage) for system '/filter PWM front' */ typedef struct { - uint8_t PWM_prev; /* '/filter PWM front' */ - bool PWM_prev_not_empty; /* '/filter PWM front' */ + double PWM_prev; /* '/filter PWM front' */ + bool PWM_prev_not_empty; /* '/filter PWM front' */ } DW_filterPWMfront; /* Block signals (default storage) */ typedef struct { - double condition; /* '/MAX AC define condition' */ - double PWM; /* '/MATLAB Function' */ - double out_ac; /* '/Zone_Climate_Logic_Auto_FL4' */ - double out_ac_e; /* '/Zone_Climate_Logic_Auto_FL3' */ - double out_ac_ed; /* '/Zone_Climate_Logic_Auto_FL2' */ - double out_ac_m; /* '/Zone_Climate_Logic_Auto_FL1' */ + double PWM; /* '/MATLAB Function' */ double Chiller_Only_Flag; /* '/A//C Control' */ - uint16_t MultiportSwitch[6]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_h[6]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_j[9]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_c; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_m; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_a; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_cy; /* '/Multiport Switch' */ - int16_t Merge1; /* '/Merge1' */ - int16_t Merge1_m; /* '/Merge1' */ + uint16_t MultiportSwitch[6]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_h[6]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_j[9]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_c; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_m; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_a; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_cy; /* '/Multiport Switch' */ + int16_t Merge1; /* '/Merge1' */ + int16_t Merge1_m; /* '/Merge1' */ int16_t Comp_Feedback_Temp; /* '/A//C Control' */ int16_t Comp_Target_Temp; /* '/A//C Control' */ - uint8_t Merge_b; /* '/Merge' */ - uint8_t sync_all; /* '/Synchronization stateflow chart' */ - uint8_t sync_front; /* '/Synchronization stateflow chart' */ - uint8_t sync_rear; /* '/Synchronization stateflow chart' */ - uint8_t DataTypeConversion2[6]; /* '/Data Type Conversion2' */ - uint8_t out_def; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t out_face; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t out_foot; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t out_auto; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t out_def_n; /* '/Zone_Climate_Logic_Auto_FL3' */ - uint8_t out_face_f; /* '/Zone_Climate_Logic_Auto_FL3' */ - uint8_t out_foot_p; /* '/Zone_Climate_Logic_Auto_FL3' */ - uint8_t out_auto_e; /* '/Zone_Climate_Logic_Auto_FL3' */ - uint8_t out_def_i; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t out_face_c; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t out_foot_f; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t out_auto_h; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t out_def_m; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t out_face_m; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t out_foot_ps; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t out_auto_hx; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t LEVEL; /* '/Merge' */ + uint8_t sync_all; /* '/Synchronization stateflow chart' */ + uint8_t sync_front; /* '/Synchronization stateflow chart' */ + uint8_t sync_rear; /* '/Synchronization stateflow chart' */ + uint8_t DataTypeConversion2[6]; /* '/Data Type Conversion2' */ + uint8_t out_auto; /* '/Zone_Climate_Logic_Auto_RR' */ + uint8_t out_auto_b; /* '/Zone_Climate_Logic_Auto_RL' */ + uint8_t out_auto_bb; /* '/Zone_Climate_Logic_Auto_FR' */ + uint8_t out_auto_l; /* '/Zone_Climate_Logic_Auto_FL' */ uint8_t Eva_Ctrl; /* '/A//C Control' */ uint8_t req_OSA; /* '/Partial REC' */ uint8_t req_REC; /* '/Partial REC' */ uint8_t Cmd_2Way; /* '/13,1,3,15 Valve control' */ - int8_t Merge_j; /* '/Merge' */ - int8_t Merge_g; /* '/Merge' */ - int8_t Merge_f1; /* '/Merge' */ - int8_t Merge_e; /* '/Merge' */ - int8_t Merge_b4; /* '/Merge' */ - int8_t Merge_h3; /* '/Merge' */ - int8_t Merge_p; /* '/Merge' */ - int8_t Merge_a; /* '/Merge' */ + int8_t Merge_j; /* '/Merge' */ + int8_t Merge_g; /* '/Merge' */ + int8_t Merge_f1; /* '/Merge' */ + int8_t Merge_e; /* '/Merge' */ + int8_t Merge_b; /* '/Merge' */ + int8_t Merge_h3; /* '/Merge' */ + int8_t Merge_p; /* '/Merge' */ + int8_t Merge_a; /* '/Merge' */ + int8_t Merge_a0; /* '/Merge' */ + int8_t Merge_pe; /* '/Merge' */ bool FRONT_eTXV; /* '/A//C Control' */ bool REAR_eTXV; /* '/A//C Control' */ bool Chiller_eTXV; /* '/A//C Control' */ @@ -161,6 +200,7 @@ typedef struct { typedef struct { dbg_Auto_Duct_Bus dbg_Auto_Duct_model;/* '/Data Store Memory234' */ CmdBusADCData ADC_Data_Model; /* '/Data Store Memory42' */ + dbg_Act_calibration_Bus dbg_Act_calibration_model;/* '/Data Store Memory489' */ dbg_Auto_AF_Bus dbg_Auto_AF_model; /* '/Data Store Memory233' */ Status_Actuator_Bus Status_Actuator_model_IO;/* '/Data Store Memory97' */ LIN5_SENSON_ADR_Stat_Bus LIN5_SENSON_ADR_Stat_model;/* '/Data Store Memory262' */ @@ -178,16 +218,20 @@ typedef struct { BCM_VEH_STATE_Bus CCUCAN_BCM_VEH_STATE_model;/* '/Data Store Memory177' */ CCUCAN_TM_CP_Bus TM_CP_model; /* '/Data Store Memory209' */ CCUCAN_TM_CP_Bus TM_CP_model_persistent; - /* '/any message from FIU or TM_CP' */ + /* '/any message from FIU or TM_CP' */ HVC_Err_Status_Msg_Bus HVC_ERR_STATUS_MSG_MODEL;/* '/Data Store Memory210' */ dbgCAN_Logic_State_Bus dbgCAN_Logic_State_model;/* '/Data Store Memory227' */ CmdCAN_CCU_STAT2_WakeUp_Bus CCU_STAT2_WAKEUP_MODEL;/* '/Data Store Memory339' */ + CmdCAN_FIU_CCU1_Bus FIU_CCU1_MaxDef; /* '/Data Store Memory382' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_MODEL; /* '/Data Store Memory43' */ + CmdCAN_FIU_CCU1_Bus FIU_CCU1_MaxAC; /* '/Data Store Memory472' */ + CmdCAN_FIU_CCU1_Bus FIU_CCU1_EAC_or_FIRE;/* '/Data Store Memory481' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_model_persistent; - /* '/any message from FIU or TM_CP' */ - CmdCAN_FIU_CCU1_Bus FIU_CCU1_model_persistent_a;/* '/MATLAB Function1' */ + /* '/any message from FIU or TM_CP' */ DW_STATE_Bus CCUCAN_DW_STATE_model; /* '/Data Store Memory432' */ CmdCAN_FIU_CCU2_Bus FIU_CCU2_MODEL; /* '/Data Store Memory44' */ + CmdCAN_FIU_CCU2_Bus FIU_CCU2_EAC_or_FIRE;/* '/Data Store Memory484' */ + dbg_Act_calibration_error_Bus dbg_Act_calibration_error_model;/* '/Data Store Memory490' */ CCUCAN_BCM_Powertrain_Bus CCUCAN_BCM_Powertrain_model;/* '/Data Store Memory137' */ CCUCAN_EMS_Veh_Bus CCUCAN_EMS_Veh_model;/* '/Data Store Memory140' */ dbg_Logic_Ac_Bus dbg_Logic_Ac_model; /* '/Data Store Memory193' */ @@ -200,42 +244,44 @@ typedef struct { CmdCAN_FIU_CCU3_Bus FIU_CCU3_MODEL; /* '/Data Store Memory45' */ dbgCAN_dbg_Logic_Blower_Bus dbgCAN_dbg_Logic_Blower_model;/* '/Data Store Memory64' */ Status_Duct_Tgt_Bus Status_Duct_Tgt_model_IO;/* '/Data Store Memory96' */ - double PrevY; /* '/Rate Limiter' */ - double Temp_FL_store; /* '/Data Store Memory' */ - double KEEP_RISING_FL_UNTIL_LIMIT; /* '/Data Store Memory1' */ - double Temp_RR_store; /* '/Data Store Memory10' */ - double KEEP_FALLING_RR_UNTIL_LIMIT; /* '/Data Store Memory11' */ - double KEEP_FALLING_FL_UNTIL_LIMIT; /* '/Data Store Memory2' */ - double KEEP_RISING_FR_UNTIL_LIMIT; /* '/Data Store Memory3' */ - double Temp_FR_store; /* '/Data Store Memory4' */ - double Temp_RL_store; /* '/Data Store Memory6' */ - double KEEP_RISING_RL_UNTIL_LIMIT; /* '/Data Store Memory7' */ - double KEEP_FALLING_RL_UNTIL_LIMIT; /* '/Data Store Memory8' */ - double KEEP_RISING_RR_UNTIL_LIMIT; /* '/Data Store Memory9' */ - double LOGGER_ACP; /* '/Data Store Memory1' */ - double AMB_store; /* '/Data Store Memory' */ - double KEEP_RISING_UNTIL_LIMIT; /* '/Data Store Memory1' */ - double KEEP_FALLING_UNTIL_LIMIT; /* '/Data Store Memory2' */ - double ErrorHomming_private; /* '/Data Store Memory2' */ - double ErrorHomming_private_h; /* '/Data Store Memory2' */ - double ErrorHomming_private_m; /* '/Data Store Memory2' */ - double leaving; /* '/Data Store Memory1' */ + double UnitDelay_DSTATE; /* '/Unit Delay' */ + double UnitDelay_DSTATE_b; /* '/Unit Delay' */ + double PrevY; /* '/Rate Limiter' */ + double Temp_FL_store; /* '/Data Store Memory' */ + double KEEP_RISING_FL_UNTIL_LIMIT; /* '/Data Store Memory1' */ + double Temp_RR_store; /* '/Data Store Memory10' */ + double KEEP_FALLING_RR_UNTIL_LIMIT; /* '/Data Store Memory11' */ + double KEEP_FALLING_FL_UNTIL_LIMIT; /* '/Data Store Memory2' */ + double KEEP_RISING_FR_UNTIL_LIMIT; /* '/Data Store Memory3' */ + double Temp_FR_store; /* '/Data Store Memory4' */ + double Temp_RL_store; /* '/Data Store Memory6' */ + double KEEP_RISING_RL_UNTIL_LIMIT; /* '/Data Store Memory7' */ + double KEEP_FALLING_RL_UNTIL_LIMIT; /* '/Data Store Memory8' */ + double KEEP_RISING_RR_UNTIL_LIMIT; /* '/Data Store Memory9' */ + double LOGGER_ACP; /* '/Data Store Memory1' */ + double AMB_store; /* '/Data Store Memory' */ + double KEEP_RISING_UNTIL_LIMIT; /* '/Data Store Memory1' */ + double KEEP_FALLING_UNTIL_LIMIT; /* '/Data Store Memory2' */ + double ErrorHomming_private; /* '/Data Store Memory2' */ + double ErrorHomming_private_h; /* '/Data Store Memory2' */ + double ErrorHomming_private_m; /* '/Data Store Memory2' */ + double leaving; /* '/Data Store Memory1' */ double eCompChiller_Err; /* '/Can_Chiller1' */ double REST_is_active; /* '/Data Store Memory102' */ double Sun_L; /* '/Data Store Memory143' */ double Sun_R; /* '/Data Store Memory144' */ - double condition_ac_max; /* '/Data Store Memory298' */ + double act_debug_command; /* '/Data Store Memory494' */ double Engine_speed; /* '/EMS_nICEngineSpeed3' */ - double start_control_finished_front; /* '/SC Front' */ - double Start_timer; /* '/Data Store Memory' */ - double Start_timer_j; /* '/Data Store Memory' */ - double Start_timer_n; /* '/Data Store Memory' */ - double current_level_FL; /* '/Calculate_Autodemist_Level' */ - double current_level_FR; /* '/Calculate_Autodemist_Level' */ - double active_mode; /* '/Calculate_Autodemist_Level' */ - double prev_value; /* '/filter AC Pressure' */ - double prev_time; /* '/filter AC Pressure' */ - double R_Evap_tg_persistent; /* '/MATLAB Function3' */ + double start_control_finished_rear; /* '/SC Rear' */ + double Start_timer; /* '/Data Store Memory' */ + double Start_timer_j; /* '/Data Store Memory' */ + double Start_timer_n; /* '/Data Store Memory' */ + double current_level_FL; /* '/Calculate_Autodemist_Level' */ + double current_level_FR; /* '/Calculate_Autodemist_Level' */ + double active_mode; /* '/Calculate_Autodemist_Level' */ + double prev_value; /* '/filter AC Pressure' */ + double prev_time; /* '/filter AC Pressure' */ + double R_Evap_tg_persistent; /* '/MATLAB Function3' */ double Cmd_RearTemp_3W; /* '/13,1,3,15 Valve control' */ double Cmd_RearTemp_2W; /* '/13,1,3,15 Valve control' */ Status_Eva_Tgt_Bus Status_Eva_Tgt_model_IO;/* '/Data Store Memory100' */ @@ -266,42 +312,56 @@ typedef struct { dbgCAN_dbg_Act1_Bus dbgCAN_dbg_Act1_model;/* '/Data Store Memory80' */ dbgCAN_dbg_Act2_Bus dbgCAN_dbg_Act2_model;/* '/Data Store Memory81' */ dbgCAN_dbg_dbg_Sen_Eva_Bus dbgCAN_dbg_Sen_Eva_model;/* '/Data Store Memory83' */ - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_i;/* '/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_g;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_h;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_o;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_oy;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_cd;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_or;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_kc;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_m;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_pn;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_hb;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_i3;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_cc;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_b; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_lf; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_cr; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_o; /* '/Unit Delay' */ - int32_t MemComp_I_Value; /* '/Memory1' */ - uint32_t timer; /* '/Data Store Memory' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_h;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_o;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_oy;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_cd;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_or;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_k;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_m;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_p;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_hb;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_i;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_cc;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_f;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_il;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_k1;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_pe;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_bp; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_li; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_lf; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_cr; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_o; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_g; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_h; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_ly; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_gu; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_mz; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_le; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_cb; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_cm; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_f; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_gc; /* '/Unit Delay' */ + int32_t MemComp_I_Value; /* '/Memory1' */ + uint32_t timer; /* '/Data Store Memory' */ uint32_t t_now; /* '/Data Store Memory5' */ - uint32_t t_start; /* '/MATLAB Function1' */ - int16_t UnitDelay_DSTATE_f; /* '/Unit Delay' */ - int16_t UnitDelay1_DSTATE; /* '/Unit Delay1' */ - int16_t UnitDelay_DSTATE_cb; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_j; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_cs; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ - int16_t pError_PreviousInput; /* '/pError' */ + uint32_t t_start; /* '/MATLAB Function1' */ + uint32_t tStart; /* '/MATLAB Function5' */ + uint32_t deadline; /* '/MATLAB Function4' */ + uint32_t deadline_g; /* '/MATLAB Function3' */ + uint32_t deadline_e; /* '/MATLAB Function2' */ + uint32_t deadline_c; /* '/MATLAB Function1' */ + uint32_t deadline_g0; /* '/MATLAB Function' */ + int16_t UnitDelay_DSTATE_fq; /* '/Unit Delay' */ + int16_t UnitDelay1_DSTATE; /* '/Unit Delay1' */ + int16_t pError_PreviousInput; /* '/pError' */ int16_t eComp_Temp; /* '/Can_Chiller2' */ int16_t Eva_F; /* '/Data Store Memory10' */ int16_t Incar_FR; /* '/Data Store Memory11' */ @@ -315,7 +375,6 @@ typedef struct { int16_t Max_def_FLU_duct_tg; /* '/Data Store Memory369' */ int16_t FLU_duct_target_offset_autodemist;/* '/Data Store Memory372' */ int16_t FRU_duct_target_offset_autodemist;/* '/Data Store Memory373' */ - int16_t Max_def_ind_foot_corr_FL; /* '/Data Store Memory386' */ int16_t AMB; /* '/Data Store Memory4' */ int16_t GlassPosition_AF_plus_L; /* '/Data Store Memory434' */ int16_t GlassPosition_AF_plus_R; /* '/Data Store Memory435' */ @@ -325,13 +384,13 @@ typedef struct { int16_t Eva_R; /* '/Data Store Memory9' */ int16_t ECT; /* '/engine coolant temp' */ int16_t X_prev; /* '/Partial REC' */ - uint16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ - uint16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ - uint16_t POS_private[9]; /* '/Data Store Memory3' */ - uint16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ - uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ - uint16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ - uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ + uint16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ + uint16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ + uint16_t POS_private[9]; /* '/Data Store Memory3' */ + uint16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ + uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ + uint16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ + uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ uint16_t MaxPositionCh0_private[9]; /* '/Data Store Memory121' */ uint16_t MaxPositionCh1_private[9]; /* '/Data Store Memory123' */ uint16_t MaxPositionCh2_private[9]; /* '/Data Store Memory124' */ @@ -347,105 +406,106 @@ typedef struct { uint16_t Dtg_FLL; /* '/Data Store Memory34' */ uint16_t FL_blower_AF_offset_autodemist;/* '/Data Store Memory370' */ uint16_t FR_blower_AF_offset_autodemist;/* '/Data Store Memory371' */ - uint16_t Max_def_FL_blower_AF; /* '/Data Store Memory382' */ - uint16_t Max_def_FR_blower_AF; /* '/Data Store Memory383' */ uint16_t Foot2_control_FL; /* '/Data Store Memory393' */ uint16_t Foot2_control_FR; /* '/Data Store Memory395' */ uint16_t Dtg_RR; /* '/Data Store Memory52' */ uint16_t Dtg_RL; /* '/Data Store Memory53' */ + uint16_t Blower_logic_RR; /* '/Data Store Memory56' */ uint16_t VehicleSpeed; /* '/VehicleSpeed' */ uint16_t eComp_InputC; /* '/Can_Chiller3' */ - uint8_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ - uint8_t UnitDelay1_DSTATE_j; /* '/Unit Delay1' */ - uint8_t UnitDelay2_DSTATE; /* '/Unit Delay2' */ - uint8_t UnitDelay3_DSTATE; /* '/Unit Delay3' */ - uint8_t DelayInput1_DSTATE; /* '/Delay Input1' */ - uint8_t DelayInput1_DSTATE_e; /* '/Delay Input1' */ - uint8_t DelayInput1_DSTATE_d; /* '/Delay Input1' */ - uint8_t DelayInput1_DSTATE_d3; /* '/Delay Input1' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_p; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_a; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_l; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cr; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_jr; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_f; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cn; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_k; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_d; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_hw; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_i; /* '/Cond_prev_private ' */ - bool DelayInput1_DSTATE_e5; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_k; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_l; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_kb; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_kk; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_d1; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_b; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_i; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_m; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_g; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_c; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_ic; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_n; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_my; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_a; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_o; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_od; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_j; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_f; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_kz; /* '/Delay Input1' */ - int8_t stepSig_private; /* '/Data Store Memory' */ - int8_t stepHoming_private; /* '/Data Store Memory17' */ - int8_t stepSig_private_h; /* '/Data Store Memory' */ - int8_t stepHoming_private_f; /* '/Data Store Memory17' */ - int8_t stepSig_private_g; /* '/Data Store Memory' */ - int8_t stepHoming_private_a; /* '/Data Store Memory17' */ + uint8_t UnitDelay_DSTATE_ne; /* '/Unit Delay' */ + uint8_t UnitDelay1_DSTATE_j; /* '/Unit Delay1' */ + uint8_t UnitDelay2_DSTATE; /* '/Unit Delay2' */ + uint8_t UnitDelay3_DSTATE; /* '/Unit Delay3' */ + uint8_t DelayInput1_DSTATE; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_f; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_e; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_ee; /* '/Delay Input1' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_p; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_a; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_l; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cr; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_jr; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_f; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cn; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_k; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_d; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_hw; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_i; /* '/Cond_prev_private ' */ + bool DelayInput1_DSTATE_e5; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_k; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_l; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_kb; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_kk; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_d; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_b; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_i; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_m; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_g; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_c; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_ic; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_n; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_my; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_a; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_o; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_od; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_j; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_f3; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_kz; /* '/Delay Input1' */ + int8_t stepSig_private; /* '/Data Store Memory' */ + int8_t stepHoming_private; /* '/Data Store Memory17' */ + int8_t stepSig_private_h; /* '/Data Store Memory' */ + int8_t stepHoming_private_f; /* '/Data Store Memory17' */ + int8_t stepSig_private_g; /* '/Data Store Memory' */ + int8_t stepHoming_private_a; /* '/Data Store Memory17' */ int8_t step_start_controle_front; /* '/Data Store Memory231' */ int8_t step_start_controle_rear; /* '/Data Store Memory232' */ int8_t Valve_individual_foot_FL; /* '/Data Store Memory300' */ int8_t Valve_individual_foot_FR; /* '/Data Store Memory301' */ - uint8_t Entry_Button; /* '/Data Store Memory' */ - uint8_t Entry_AirQS; /* '/Data Store Memory3' */ - uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ - uint8_t Speed_private[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private[9]; /* '/Data Store Memory5' */ - uint8_t COM_private[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ + int8_t start_control_finished_front; /* '/SC Front' */ + uint8_t Entry_Button; /* '/Data Store Memory' */ + uint8_t Entry_AirQS; /* '/Data Store Memory3' */ + uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ + uint8_t Speed_private[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private[9]; /* '/Data Store Memory5' */ + uint8_t COM_private[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ uint8_t CCU_Defrost; /* '/(Max Def, Defrost)' */ uint8_t eCompChiller_Req; /* '/Can_Chiller' */ uint8_t CCU_ActuatorErrF_Stat_private;/* '/Data Store Memory' */ uint8_t dtc_state_error_model[127]; /* '/Data Store Memory1' */ + uint8_t CCU_FRONT_SYNC; /* '/Data Store Memory101' */ uint8_t CCU_SET_FOOT_RL; /* '/Data Store Memory106' */ uint8_t CCU_SET_FOOT_RR; /* '/Data Store Memory107' */ uint8_t CCU_MODE_RL; /* '/Data Store Memory108' */ @@ -459,8 +519,10 @@ typedef struct { uint8_t CCU_BLOWERS_RR; /* '/Data Store Memory118' */ uint8_t CCU_AUTOMODE_RR; /* '/Data Store Memory119' */ uint8_t CCU_AC_REAR; /* '/Data Store Memory122' */ + uint8_t CCU_REAR_SYNC; /* '/Data Store Memory125' */ uint8_t PWM_rear; /* '/Data Store Memory132' */ uint8_t PWM_front; /* '/Data Store Memory135' */ + uint8_t CCU_ALL_ZONE_SYNC; /* '/Data Store Memory155' */ uint8_t SW5V_EN; /* '/Data Store Memory160' */ uint8_t PBATT_CK_EN; /* '/Data Store Memory161' */ uint8_t Incar_Motor_Front_EN; /* '/Data Store Memory162' */ @@ -511,11 +573,10 @@ typedef struct { uint8_t Index_mode_FL_auto; /* '/Data Store Memory275' */ uint8_t Index_mode_FR_auto; /* '/Data Store Memory276' */ uint8_t DifferentBlower_Rear_valves[6];/* '/Data Store Memory282' */ + uint8_t CCPF_RecButton_Stat; /* '/Data Store Memory291' */ uint8_t AirQS_NH3Lvl; /* '/Data Store Memory294' */ uint8_t AirQS_NOxLvl; /* '/Data Store Memory295' */ uint8_t AirQS_COLvl; /* '/Data Store Memory296' */ - uint8_t SeatOccupiedRR; /* '/Data Store Memory299' */ - uint8_t ModeIndex[4]; /* '/Data Store Memory304' */ uint8_t Aroma_CartridgeFlavor; /* '/Data Store Memory314' */ uint8_t Aroma_CartridgeCapacity; /* '/Data Store Memory317' */ uint8_t Blower_RR; /* '/Data Store Memory32' */ @@ -531,8 +592,10 @@ typedef struct { uint8_t sleep_model; /* '/Data Store Memory338' */ uint8_t FrontWindowHeating_req; /* '/Data Store Memory365' */ uint8_t CCU_AmbTempSensErr_Stat; /* '/Data Store Memory367' */ + uint8_t Blower_logic_FL; /* '/Data Store Memory37' */ uint8_t Max_def_OSA_valve; /* '/Data Store Memory384' */ uint8_t Max_def_Rec_valve; /* '/Data Store Memory385' */ + uint8_t Mode_logic_FL; /* '/Data Store Memory39' */ uint8_t CCU_foot_blower_dis_RL; /* '/Data Store Memory391' */ uint8_t CCU_foot_blower_dis_RR; /* '/Data Store Memory392' */ uint8_t BCM_GloveBox_stat; /* '/Data Store Memory397' */ @@ -542,11 +605,21 @@ typedef struct { uint8_t CCU_Ionization_algo_active; /* '/Data Store Memory436' */ uint8_t RestMode_winter_or_summer; /* '/Data Store Memory437' */ uint8_t AromaConfiguration; /* '/Data Store Memory441' */ + uint8_t Index_mode_FL; /* '/Data Store Memory444' */ + uint8_t Index_mode_FR; /* '/Data Store Memory445' */ uint8_t Index_mode_RL; /* '/Data Store Memory446' */ uint8_t Index_mode_RR; /* '/Data Store Memory447' */ + uint8_t Max_AC_OSA_valve; /* '/Data Store Memory471' */ + uint8_t Max_AC_mode; /* '/Data Store Memory473' */ + uint8_t Max_AC_REC_valve; /* '/Data Store Memory476' */ + uint8_t EAC_OR_FIRE_mode; /* '/Data Store Memory478' */ + uint8_t CCU_FireExtinguishSys_Stat; /* '/Data Store Memory479' */ + uint8_t CCU_EmergAirCleaning_Stat; /* '/Data Store Memory480' */ uint8_t Blower_RL; /* '/Data Store Memory49' */ + uint8_t Mode_RR; /* '/Data Store Memory50' */ + uint8_t Mode_logic_RR; /* '/Data Store Memory54' */ uint8_t CCU_ActuatorErrR_Stat_private;/* '/Data Store Memory67' */ - uint8_t CCU_SET_FOOT_FL; /* '/Data Store Memory76' */ + uint8_t CCU_FootTempCorr_FL; /* '/Data Store Memory76' */ uint8_t CCU_SET_FOOT_FR; /* '/Data Store Memory77' */ uint8_t CCU_MODE_FL; /* '/Data Store Memory78' */ uint8_t CCU_DEF_FL; /* '/Data Store Memory84' */ @@ -570,40 +643,67 @@ typedef struct { uint8_t DRS_SFR; /* '/side front R (right)' */ uint8_t DRS_SRL; /* '/side rear L' */ uint8_t DRS_SRR; /* '/side rear R' */ + uint8_t Max_def_mode; /* '/âíóòðåííèé ðåæèì äëÿ MAXDef' */ uint8_t FrontWindowHeating_manual_on;/* '/âðó÷íóþ âêëþ÷åí' */ uint8_t is_active_c618_HVAC_model; - /* '/Synchronization stateflow chart' */ - uint8_t is_c618_HVAC_model; /* '/Synchronization stateflow chart' */ - uint8_t is_running; /* '/MATLAB Function1' */ - uint8_t is_active_c1511_HVAC_model; /* '/Operation mode' */ - uint8_t is_c1511_HVAC_model; /* '/Operation mode' */ - uint8_t DRS_array_persistent[8]; /* '/MATLAB Function1' */ - uint8_t is_active_c248_HVAC_model; /* '/MAX AC define condition' */ - uint8_t is_c248_HVAC_model; /* '/MAX AC define condition' */ - uint8_t is_active_c836_HVAC_model; /* '/Full_Rec_Active' */ - uint8_t is_c836_HVAC_model; /* '/Full_Rec_Active' */ - uint8_t is_active_c262_HVAC_model; /* '/Front Window Heating' */ - uint8_t is_c262_HVAC_model; /* '/Front Window Heating' */ - uint8_t is_active_c837_HVAC_model; /* '/Defrost_Active' */ - uint8_t is_c837_HVAC_model; /* '/Defrost_Active' */ - uint8_t is_active_c782_HVAC_model; /* '/AC_Max_Active' */ - uint8_t is_c782_HVAC_model; /* '/AC_Max_Active' */ - uint8_t savedIntensity; /* '/ccuAromaLogic' */ - uint8_t prevAromaIntensStat; /* '/ccuAromaLogic' */ - uint8_t is_active_c777_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t is_c777_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t is_AC_SUB; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t is_AC_SUB_a; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t is_active_c681_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_c681_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_AC_SUB_c; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_DEF_SUB_i; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_FACE_SUB_o; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_FOOT_SUB_f; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_AC_SUB_co; /* '/Zone_Climate_Logic_Auto_FL1' */ + /* '/Synchronization stateflow chart' */ + uint8_t is_c618_HVAC_model; /* '/Synchronization stateflow chart' */ + uint8_t is_running; /* '/MATLAB Function1' */ + uint8_t is_active_c1511_HVAC_model; /* '/Operation mode' */ + uint8_t is_c1511_HVAC_model; /* '/Operation mode' */ + uint8_t DRS_array_persistent[4]; /* '/MATLAB Function1' */ + uint8_t mode_reg; /* '/MATLAB Function' */ + uint8_t FIU_CCmodeFL_Req; /* '/MATLAB Function' */ + uint8_t FIU_BlowerSpeedFL_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Face_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Foot_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Def_Req; /* '/MATLAB Function' */ + uint8_t FIU_FootTempCorFL_Req; /* '/MATLAB Function' */ + uint8_t FIU_CCautoModeFL_Req; /* '/MATLAB Function' */ + uint8_t FIU_CCmodeFR_Req; /* '/MATLAB Function' */ + uint8_t FIU_BlowerSpeedFR_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Face_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Foot_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Def_Req; /* '/MATLAB Function' */ + uint8_t FIU_FootTempCorFR_Req; /* '/MATLAB Function' */ + uint8_t FIU_CCautoModeFR_Req; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwDL_Req; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwDR_Req; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwFPL_Req; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwFPR_Req; /* '/MATLAB Function' */ + uint8_t DRS_array_persistent_i[4]; /* '/MATLAB Function1' */ + uint8_t mode_reg_o; /* '/MATLAB Function' */ + uint8_t active_condition_reg; /* '/MATLAB Function' */ + uint8_t FIU_CCmodeFL_Req_j; /* '/MATLAB Function' */ + uint8_t FIU_BlowerSpeedFL_Req_k; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Face_Req_e;/* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Foot_Req_k;/* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Def_Req_b;/* '/MATLAB Function' */ + uint8_t FIU_FootTempCorFL_Req_e; /* '/MATLAB Function' */ + uint8_t FIU_CCautoModeFL_Req_n; /* '/MATLAB Function' */ + uint8_t FIU_CCmodeFR_Req_p; /* '/MATLAB Function' */ + uint8_t FIU_BlowerSpeedFR_Req_a; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Face_Req_b;/* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Foot_Req_j;/* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Def_Req_b;/* '/MATLAB Function' */ + uint8_t FIU_FootTempCorFR_Req_a; /* '/MATLAB Function' */ + uint8_t FIU_CCautoModeFR_Req_g; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwDL_Req_i; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwDR_Req_i; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwFPL_Req_m; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwFPR_Req_i; /* '/MATLAB Function' */ + uint8_t mode_reg_i; /* '/EmergencyAirCleaning' */ + uint8_t active_condition_reg_m; /* '/EmergencyAirCleaning' */ + uint8_t is_active_c836_HVAC_model; /* '/Full_Rec_Active' */ + uint8_t is_c836_HVAC_model; /* '/Full_Rec_Active' */ + uint8_t is_active_c262_HVAC_model; /* '/Front Window Heating' */ + uint8_t is_c262_HVAC_model; /* '/Front Window Heating' */ + uint8_t is_active_c837_HVAC_model; /* '/Defrost_Active' */ + uint8_t is_c837_HVAC_model; /* '/Defrost_Active' */ + uint8_t is_active_c782_HVAC_model; /* '/AC_Max_Active' */ + uint8_t is_c782_HVAC_model; /* '/AC_Max_Active' */ + uint8_t savedIntensity; /* '/ccuAromaLogic' */ + uint8_t prevAromaIntensStat; /* '/ccuAromaLogic' */ uint8_t is_active_c621_HVAC_model; /* '/A//C Control' */ uint8_t is_PRESSURE_MONITOR; /* '/A//C Control' */ uint8_t is_FRONT_CONTOUR; /* '/A//C Control' */ @@ -620,91 +720,141 @@ typedef struct { uint8_t is_active_c775_HVAC_model; /* '/13,1,3,15 Valve control' */ uint8_t is_ThreeWay_Logic; /* '/13,1,3,15 Valve control' */ uint8_t is_TwoWay_Logic; /* '/13,1,3,15 Valve control' */ - uint8_t current_Ambient_Lv; /* '/Log Ambient Lv' */ - bool electric_demist_started; /* '/Data Store Memory' */ + bool electric_demist_started; /* '/Data Store Memory' */ bool DifferentBlower_Rear_isActive; /* '/Data Store Memory279' */ bool recirc_auto_request_from_autodemist;/* '/Data Store Memory374' */ bool AC_front_on_req_from_autodemist;/* '/Data Store Memory375' */ bool def_valve_100_req; /* '/Data Store Memory377' */ bool Max_def_algo_active; /* '/Data Store Memory378' */ + bool Max_AC_algo_active; /* '/Data Store Memory387' */ bool Foot2_control_FL_is_active; /* '/Data Store Memory394' */ bool Foot2_control_FR_is_active; /* '/Data Store Memory396' */ bool Door_ajar_is_active; /* '/Data Store Memory425' */ - bool is_active_state; /* '/recirc_by_door_ajar' */ - bool is_active_persistent_front; /* '/blowerLimitByBattTemp' */ - bool is_active_persistent_rear; /* '/blowerLimitByBattTemp' */ - bool t_start_not_empty; /* '/MATLAB Function1' */ + bool Amb_Level_was_set; /* '/Data Store Memory467' */ + bool Max_AC_3_way_valve_close_req; /* '/Data Store Memory474' */ + bool Max_AC_front_AC_req; /* '/Data Store Memory475' */ + bool EAC_OR_FIRE_is_active; /* '/Data Store Memory477' */ + bool HI_logic_on; /* '/Data Store Memory48' */ + bool Recirc_LED_EAC_or_FIRE; /* '/Data Store Memory482' */ + bool is_active_state; /* '/recirc_by_door_ajar' */ + bool is_active_persistent_front; /* '/blowerLimitByBattTemp' */ + bool is_active_persistent_rear; /* '/blowerLimitByBattTemp' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ bool FIU_CCU1_model_persistent_not_empty; - /* '/any message from FIU or TM_CP' */ + /* '/any message from FIU or TM_CP' */ bool TM_CP_model_persistent_not_empty; - /* '/any message from FIU or TM_CP' */ - bool DRS_array_persistent_not_empty; /* '/MATLAB Function1' */ - bool FIU_CCU1_model_persistent_not_empty_m;/* '/MATLAB Function1' */ - bool is_active_persistent; /* '/MATLAB Function' */ - bool hystLV2_FR; /* '/Foot2DuctControl_RR' */ - bool hystLV3_FR; /* '/Foot2DuctControl_RR' */ - bool hystLV2_FL; /* '/Foot2DuctControl_RL' */ - bool hystLV3_FL; /* '/Foot2DuctControl_RL' */ - bool prev_value_not_empty; /* '/filter AC Pressure' */ - bool amb_condition_latched; /* '/MATLAB Function4' */ - bool is_active_persistent_m; /* '/MATLAB Function3' */ - bool is_active_persistent_c; /* '/MATLAB Function1' */ - bool REAR_eTXV_ON_persistent; /* '/MATLAB Function1' */ - bool is_active_persistent_n; /* '/MATLAB Function' */ - bool FRONT_eTXV_ON_persistent; /* '/MATLAB Function' */ + /* '/any message from FIU or TM_CP' */ + bool DRS_array_persistent_not_empty; /* '/MATLAB Function1' */ + bool is_active_persistent; /* '/MATLAB Function' */ + bool DRS_array_persistent_not_empty_e;/* '/MATLAB Function1' */ + bool is_active_persistent_i; /* '/MATLAB Function' */ + bool is_active_persistent_not_empty; /* '/MATLAB Function' */ + bool hystLV2_FR; /* '/Foot2DuctControl_RR' */ + bool hystLV3_FR; /* '/Foot2DuctControl_RR' */ + bool hystLV2_FL; /* '/Foot2DuctControl_RL' */ + bool hystLV3_FL; /* '/Foot2DuctControl_RL' */ + bool wasActive; /* '/MATLAB Function5' */ + bool wasActive_not_empty; /* '/MATLAB Function5' */ + bool armed; /* '/MATLAB Function4' */ + bool armed_i; /* '/MATLAB Function3' */ + bool armed_n; /* '/MATLAB Function2' */ + bool armed_i2; /* '/MATLAB Function1' */ + bool armed_g; /* '/MATLAB Function' */ + bool is_active_persistent_a; /* '/EmergencyAirCleaning' */ + bool is_active_persistent_not_empty_p;/* '/EmergencyAirCleaning' */ + bool user_edit_FRONT_FL_blower_speed;/* '/EmergencyAirCleaning' */ + bool user_edit_FRONT_FR_blower_speed;/* '/EmergencyAirCleaning' */ + bool user_edit_REAR_RL_blower_speed; /* '/EmergencyAirCleaning' */ + bool user_edit_REAR_RR_blower_speed; /* '/EmergencyAirCleaning' */ + bool req_prev; /* '/MATLAB Function' */ + bool req_prev_not_empty; /* '/MATLAB Function' */ + bool prev_value_not_empty; /* '/filter AC Pressure' */ + bool amb_condition_latched; /* '/MATLAB Function4' */ + bool is_active_persistent_m; /* '/MATLAB Function3' */ + bool is_active_persistent_c; /* '/MATLAB Function1' */ + bool REAR_eTXV_ON_persistent; /* '/MATLAB Function1' */ + bool is_active_persistent_n; /* '/MATLAB Function' */ + bool FRONT_eTXV_ON_persistent; /* '/MATLAB Function' */ bool Pressure_Condition_table_OK; /* '/A//C Control' */ bool Chiller_Start_request; /* '/A//C Control' */ bool Pressure_Hi_Fault; /* '/A//C Control' */ bool FRONT_Start_request; /* '/A//C Control' */ bool REAR_Start_request; /* '/A//C Control' */ - bool current_Ambient_Lv_not_empty; /* '/Log Ambient Lv' */ - DW_filterPWMfront sf_filterPWMrear; /* '/filter PWM rear' */ - DW_filterPWMfront sf_filterPWMfront; /* '/filter PWM front' */ - DW_MATLABFunction_n sf_MATLABFunction5;/* '/MATLAB Function5' */ - DW_MATLABFunction_n sf_MATLABFunction4;/* '/MATLAB Function4' */ - DW_MATLABFunction_n sf_MATLABFunction3;/* '/MATLAB Function3' */ - DW_MATLABFunction_n sf_MATLABFunction2;/* '/MATLAB Function2' */ - DW_MATLABFunction_n sf_MATLABFunction1_l;/* '/MATLAB Function1' */ - DW_MATLABFunction_n sf_MATLABFunction_m;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_g;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_hk;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ - DW_is3secafterT15passed sf_is3secafterT15passed_k3;/* '/is 3 sec after T15 passed' */ - DW_is3secafterT15passed sf_is3secafterT15passed_p;/* '/is 3 sec after T15 passed' */ - DW_filtersensor sf_filtersensor_a; /* '/filter sensor' */ - DW_is3secafterT15passed sf_is3secafterT15passed_k;/* '/is 3 sec after T15 passed' */ - DW_filtersensor sf_filtersensor; /* '/filter sensor' */ - DW_Zone_Climate_Logic_Auto_FL2 sf_Zone_Climate_Logic_Auto_FL3;/* '/Zone_Climate_Logic_Auto_FL3' */ - DW_Zone_Climate_Logic_Auto_FL2 sf_Zone_Climate_Logic_Auto_FL2;/* '/Zone_Climate_Logic_Auto_FL2' */ - DW_is3secafterT15passed sf_is3secafterT15passed_c;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_j; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_e;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_h; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_h;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_o; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_o;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_c; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_m;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_k; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_f;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_d;/* '/is 3 sec after T15 passed' */ - DW_is3secafterT15passed sf_is3secafterT15passed_a;/* '/is 3 sec after T15 passed' */ - DW_filterACPressure sf_filterACPressure_p;/* '/filter AC Pressure' */ - DW_is3secafterT15passed sf_is3secafterT15passed;/* '/is 3 sec after T15 passed' */ - DW_filterACPressure sf_filterACPressure;/* '/filter AC Pressure' */ + DW_filterPWMfront sf_filterPWMfront1;/* '/filter PWM front1' */ + DW_filterPWMfront sf_filterPWMfront; /* '/filter PWM front' */ + DW_MATLABFunction_n sf_MATLABFunction5;/* '/MATLAB Function5' */ + DW_MATLABFunction_n sf_MATLABFunction4;/* '/MATLAB Function4' */ + DW_MATLABFunction_n sf_MATLABFunction3;/* '/MATLAB Function3' */ + DW_MATLABFunction_n sf_MATLABFunction2;/* '/MATLAB Function2' */ + DW_MATLABFunction_n sf_MATLABFunction1_l;/* '/MATLAB Function1' */ + DW_MATLABFunction_n sf_MATLABFunction_m;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_g;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_hk;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ + DW_is3secafterT15passed sf_is3secafterT15passed_k3;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_p;/* '/is 3 sec after T15 passed' */ + DW_filtersensor sf_filtersensor_a; /* '/filter sensor' */ + DW_is3secafterT15passed sf_is3secafterT15passed_k;/* '/is 3 sec after T15 passed' */ + DW_filtersensor sf_filtersensor; /* '/filter sensor' */ + DW_Zone_Climate_Logic_Auto_RL sf_Zone_Climate_Logic_Auto_RR;/* '/Zone_Climate_Logic_Auto_RR' */ + DW_Zone_Climate_Logic_Auto_RL sf_Zone_Climate_Logic_Auto_RL;/* '/Zone_Climate_Logic_Auto_RL' */ + DW_Zone_Climate_Logic_Auto_FL sf_Zone_Climate_Logic_Auto_FR;/* '/Zone_Climate_Logic_Auto_FR' */ + DW_Zone_Climate_Logic_Auto_FL sf_Zone_Climate_Logic_Auto_FL;/* '/Zone_Climate_Logic_Auto_FL' */ + DW_is3secafterT15passed sf_is3secafterT15passed_mt;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_n;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_fq;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_mv;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_c;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_j; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_e;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_h; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_h;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_o; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_o;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_c; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_m;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_k; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_f;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_d;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_a;/* '/is 3 sec after T15 passed' */ + DW_filterACPressure sf_filterACPressure_p;/* '/filter AC Pressure' */ + DW_is3secafterT15passed sf_is3secafterT15passed;/* '/is 3 sec after T15 passed' */ + DW_filterACPressure sf_filterACPressure;/* '/filter AC Pressure' */ + DW_Level2_j Level5_ph; /* '/Level 5' */ + DW_Level2_j Level4_b; /* '/Level 4' */ + DW_Level2_j Level3_p; /* '/Level 3' */ + DW_Level2_j Level2_f0; /* '/Level 2' */ + DW_Level0_hr Level1_hm; /* '/Level 1' */ + DW_Level0_hr Level0_ad; /* '/Level 0' */ + DW_Level4_h Level5_i; /* '/Level 5' */ + DW_Level4_h Level4_m5; /* '/Level 4' */ + DW_MATLABFunction1 sf_MATLABFunction1_c;/* '/MATLAB Function1' */ + DW_MATLABFunction1 sf_MATLABFunction1_m3;/* '/MATLAB Function1' */ + DW_Level0_h Level1_l; /* '/Level 1' */ + DW_Level0_h Level0_gj; /* '/Level 0' */ + DW_MATLABFunction1_f sf_MATLABFunction1_j2;/* '/MATLAB Function1' */ + DW_Level3 Level4_l; /* '/Level 4' */ + DW_Level3 Level3_d; /* '/Level 3' */ + DW_MATLABFunction1_f sf_MATLABFunction1_i2;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_m;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_p;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_h;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_d;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_j;/* '/MATLAB Function1' */ + DW_MATLABFunction1 sf_MATLABFunction1_n;/* '/MATLAB Function1' */ } DW; -/* 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) */ @@ -716,472 +866,476 @@ typedef struct { /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) * Referenced by: - * '/Âûáîð ðåæèìà Left' - * '/Âûáîð ðåæèìà Right' + * '/Âûáîð ðåæèìà Left' + * '/Âûáîð ðåæèìà Right' */ - uint32_t pooled47[2]; + uint32_t pooled49[2]; /* Computed Parameter: demistLVLdew_point_diff_maxIndex - * Referenced by: '/demist LVL (dew_point_diff)' + * Referenced by: '/demist LVL (dew_point_diff)' */ uint32_t demistLVLdew_point_diff_maxIndex[2]; /* Pooled Parameter (Expression: [170:10:290]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ - int16_t pooled49[13]; + int16_t pooled52[13]; /* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 ])) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' */ - int16_t pooled52[1024]; + int16_t pooled55[1024]; /* Pooled Parameter (Expression: int16([-50 -40 -30 -20 -10 0 10 20 30 40 50])) * Referenced by: - * '/AUTODEMIST_OFFSET_LEFT' - * '/AUTODEMIST_OFFSET_RIGHT' + * '/AUTODEMIST_OFFSET_LEFT' + * '/AUTODEMIST_OFFSET_RIGHT' */ - int16_t pooled53[11]; + int16_t pooled56[11]; /* Pooled Parameter (Expression: [0, 25, 50, 100]) * Referenced by: - * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' - * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' */ - int16_t pooled54[4]; + int16_t pooled57[4]; /* Pooled Parameter (Expression: [170, 180, 190, 200]) * Referenced by: - * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' - * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' */ - int16_t pooled55[4]; + int16_t pooled58[4]; - /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) - * Referenced by: - * '/1-D Lookup Table' - * '/Get LVL for temp' + /* Computed Parameter: GetLVLfortemp_tableData + * Referenced by: '/Get LVL for temp' */ - int16_t pooled56[6]; + int16_t GetLVLfortemp_tableData[6]; /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ int16_t GetLVLfortemp_bp01Data[6]; /* Computed Parameter: Max_Def_U_Dtg_bp01Data - * Referenced by: '/Max_Def_U_Dtg' + * Referenced by: '/Max_Def_U_Dtg' */ int16_t Max_Def_U_Dtg_bp01Data[10]; /* Expression: int16([-10,0, 20, 50, 60, 70]) - * Referenced by: '/Max_blower_speed' + * Referenced by: '/Max_blower_speed' */ int16_t Max_blower_speed_bp01Data[6]; /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Âûáîð ðåæèìà Left' - * '/Âûáîð ðåæèìà Right' + * '/Âûáîð ðåæèìà Left' + * '/Âûáîð ðåæèìà Right' */ - int16_t pooled66[13]; - - /* Pooled Parameter (Expression: Incar_Temp_Table) - * Referenced by: - * '/1-D Lookup Table2' - * '/1-D Lookup Table4' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' - */ - int16_t pooled67[1024]; - - /* Pooled Parameter (Mixed Expressions) - * Referenced by: - * '/1-D Lookup Table4' - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' - */ - int16_t pooled68[1024]; + int16_t pooled68[13]; /* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400])) * Referenced by: - * '/1-D Lookup Table4' - * '/1-D Lookup Table7' + * '/1-D Lookup Table4' + * '/1-D Lookup Table7' */ int16_t pooled69[1024]; + /* Pooled Parameter (Mixed Expressions) + * Referenced by: + * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' + */ + int16_t pooled70[1024]; + + /* Pooled Parameter (Expression: Incar_Temp_Table) + * Referenced by: + * '/1-D Lookup Table2' + * '/1-D Lookup Table4' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' + */ + int16_t pooled71[1024]; + /* Expression: dewpoint_diff_table - * Referenced by: '/demist LVL (dew_point_diff)' + * Referenced by: '/demist LVL (dew_point_diff)' */ int16_t demistLVLdew_point_diff_tableData[12221]; /* Expression: temp_values - * Referenced by: '/demist LVL (dew_point_diff)' + * Referenced by: '/demist LVL (dew_point_diff)' */ int16_t demistLVLdew_point_diff_bp01Data[121]; /* Expression: hum_values - * Referenced by: '/demist LVL (dew_point_diff)' + * Referenced by: '/demist LVL (dew_point_diff)' */ int16_t demistLVLdew_point_diff_bp02Data[101]; /* Pooled Parameter (Expression: [170:10:290]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table1' - * '/1-D Lookup Table12' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table1' + * '/1-D Lookup Table12' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ - uint16_t pooled76[13]; + uint16_t pooled81[13]; /* Pooled Parameter (Expression: int16([0:4:4092])) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' */ - uint16_t pooled77[1024]; + uint16_t pooled82[1024]; /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ uint16_t uDLookupTable1_bp01Data[2]; /* Pooled Parameter (Expression: [1050 1250 1175 1195 1315 1300 1485 1440 1195]) * Referenced by: * '/Data Store Memory121' - * '/ACT1' + * '/ACT1' + * '/ACT1' */ - uint16_t pooled85[9]; + uint16_t pooled92[9]; /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value[6]; + /* Pooled Parameter (Expression: [1225 1320 1270 1540 1480 1175 0 0 0]) + * Referenced by: + * '/Data Store Memory123' + * '/ACT1' + */ + uint16_t pooled93[9]; + /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value_m[8]; + /* Pooled Parameter (Expression: [3075 3075 1605 1840 1650 1635 1820 1650 0]) + * Referenced by: + * '/Data Store Memory124' + * '/ACT1' + */ + uint16_t pooled94[9]; + /* Computed Parameter: FRONT_HVAC_LIMITED_tableData - * Referenced by: '/FRONT_HVAC_LIMITED' + * Referenced by: '/FRONT_HVAC_LIMITED' */ uint16_t FRONT_HVAC_LIMITED_tableData[6]; /* Pooled Parameter (Expression: [0, 1, 2, 3, 4, 5]) * Referenced by: - * '/FRONT_HVAC_LIMITED' - * '/REAR_HVAC_LIMITED' + * '/FRONT_HVAC_LIMITED' + * '/REAR_HVAC_LIMITED' */ - uint16_t pooled87[6]; + uint16_t pooled96[6]; /* Computed Parameter: REAR_HVAC_LIMITED_tableData - * Referenced by: '/REAR_HVAC_LIMITED' + * Referenced by: '/REAR_HVAC_LIMITED' */ uint16_t REAR_HVAC_LIMITED_tableData[6]; /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled89[9]; + uint16_t pooled98[9]; /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled90[9]; + uint16_t pooled99[9]; /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 100]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled92[9]; + uint16_t pooled101[9]; /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 50]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled93[9]; + uint16_t pooled102[9]; /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 100]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled94[9]; + uint16_t pooled103[9]; /* Pooled Parameter (Expression: [100 100 100 100 20 0 20 0]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled95[8]; + uint16_t pooled104[8]; /* Pooled Parameter (Expression: [100 100 100 100 20 20]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled96[6]; + uint16_t pooled105[6]; /* Pooled Parameter (Expression: [70 40 40 70 100 100]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled98[6]; + uint16_t pooled107[6]; /* Pooled Parameter (Expression: [100 100 100 100 0 0]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled101[6]; + uint16_t pooled110[6]; /* Pooled Parameter (Expression: [0 0 100 100 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled103[5]; - - /* Computed Parameter: DataStoreMemory123_InitialValue - * Referenced by: '/Data Store Memory123' - */ - uint16_t DataStoreMemory123_InitialValue[9]; - - /* Computed Parameter: DataStoreMemory124_InitialValue - * Referenced by: '/Data Store Memory124' - */ - uint16_t DataStoreMemory124_InitialValue[9]; + uint16_t pooled112[5]; /* Pooled Parameter (Expression: [1:7]) * Referenced by: - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ - uint8_t pooled127[7]; + uint8_t pooled135[7]; - /* Pooled Parameter (Expression: [0:7]) - * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - */ - uint8_t pooled128[8]; - - /* Pooled Parameter (Expression: [0:6]) + /* Pooled Parameter (Mixed Expressions) * Referenced by: * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/Max_blower_speed_for_ui_step' */ - uint8_t pooled129[7]; + uint8_t pooled136[8]; /* Pooled Parameter (Expression: [10:10:110]) * Referenced by: - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' */ - uint8_t pooled130[11]; + uint8_t pooled137[11]; /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) * Referenced by: - * '/Constant3' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' + * '/Constant3' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' */ - uint8_t pooled136[9]; + uint8_t pooled146[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 pooled148[6]; + uint8_t pooled157[6]; + + /* Pooled Parameter (Expression: [0:6]) + * Referenced by: + * '/1-D Lookup Table' + * '/1-D Lookup Table' + */ + uint8_t pooled158[7]; } ConstP; /* External outputs (root outports fed by signals with default storage) */ @@ -1236,7 +1390,11 @@ typedef struct { Status_Duct_Tgt_Bus Status_Duct_Tgt_model_IO;/* '/Status_Duct_Tgt_model_IO' */ CmdBusPIDValveModel_Bus dbg_PID_valve_model_out;/* '/dbg_PID_valve_model_out' */ dbg_Sen_Demist_Bus dbg_Sen_Demist_model_out;/* '/dbg_Sen_Demist_model_out' */ - tModelPowerDown_Bus Out1; /* '/Out1' */ + tModelPowerDown_Bus ModelPowerDown_model_out;/* '/ModelPowerDown_model_out' */ + dbg_Act_calibration_Bus dbg_Act_calibration_model_out; + /* '/dbg_Act_calibration_model_out' */ + dbg_Act_calibration_error_Bus dbg_Act_calibration_error_model_out; + /* '/dbg_Act_calibration_error_model_out' */ } ExtY; /* Real-time Model Data Structure */ @@ -1258,6 +1416,7 @@ extern const CmdBusPWMGet HVAC_model_rtZCmdBusPWMGet;/* CmdBusPWMGet ground */ extern const CmdBusStatus HVAC_model_rtZCmdBusStatus;/* CmdBusStatus ground */ extern const ActuatorCmdBus HVAC_model_rtZActuatorCmdBus;/* ActuatorCmdBus ground */ extern const CmdBusError HVAC_model_rtZCmdBusError;/* CmdBusError ground */ +extern const CmdCAN_FIU_CCU1_Bus HVAC_model_rtZCmdCAN_FIU_CCU1_Bus;/* CmdCAN_FIU_CCU1_Bus ground */ extern const ActuatorCmdBusInput HVAC_model_rtZActuatorCmdBusInput;/* ActuatorCmdBusInput ground */ extern const ConstB rtConstB; /* constant block i/o */ @@ -1293,421 +1452,420 @@ extern RT_MODEL *const rtM; /*- * These blocks were eliminated from the model due to optimizations: * - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Scope' : Unused code path elimination - * Block '/Display' : Unused code path elimination + * Block '/Display' : 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 '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/t îêðóæ. ñðåäû' : Unused code path elimination - * Block '/Çàäàííàÿ t ñëåâà' : Unused code path elimination - * Block '/Çàäàííàÿ t ñïðàâà' : Unused code path elimination - * Block '/Çàñëîíêè Left' : Unused code path elimination - * Block '/Çàñëîíêè Right' : Unused code path elimination - * Block '/Çàñëîíêè èòîã' : Unused code path elimination - * Block '/Ðåæèì L' : Unused code path elimination - * Block '/Ðåæèì R' : Unused code path elimination - * Block '/Óðîâåíü' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/t îêðóæ. ñðåäû' : Unused code path elimination + * Block '/Çàäàííàÿ t ñëåâà' : Unused code path elimination + * Block '/Çàäàííàÿ t ñïðàâà' : Unused code path elimination + * Block '/Çàñëîíêè Left' : Unused code path elimination + * Block '/Çàñëîíêè Right' : Unused code path elimination + * Block '/Çàñëîíêè èòîã' : Unused code path elimination + * Block '/Ðåæèì L' : Unused code path elimination + * Block '/Ðåæèì R' : Unused code path elimination + * Block '/Óðîâåíü' : Unused code path elimination * Block '/Constant3' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination @@ -1717,175 +1875,8 @@ extern RT_MODEL *const rtM; * Block '/Display5' : Unused code path elimination * Block '/Display6' : Unused code path elimination * Block '/Display7' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Add' : Unused code path elimination - * Block '/Add1' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination @@ -1894,1464 +1885,1783 @@ extern RT_MODEL *const rtM; * Block '/Display13' : Unused code path elimination * Block '/Display14' : Unused code path elimination * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display2' : Unused code path elimination + * Block '/Display20' : Unused code path elimination + * Block '/Display21' : Unused code path elimination + * Block '/Display22' : Unused code path elimination + * Block '/Display23' : Unused code path elimination + * Block '/Display24' : Unused code path elimination + * Block '/Display25' : Unused code path elimination + * Block '/Display26' : Unused code path elimination + * Block '/Display27' : Unused code path elimination + * Block '/Display28' : Unused code path elimination + * Block '/Display29' : Unused code path elimination * Block '/Display3' : Unused code path elimination + * Block '/Display30' : Unused code path elimination + * Block '/Display31' : Unused code path elimination + * Block '/Display32' : Unused code path elimination + * Block '/Display33' : Unused code path elimination * Block '/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 '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display20' : Unused code path elimination - * Block '/Display21' : Unused code path elimination - * Block '/Display22' : Unused code path elimination - * Block '/Display23' : Unused code path elimination - * Block '/Display24' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * 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 '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/t âíóòðè àâòî - ñçàäè ñëåâà' : Unused code path elimination - * Block '/t âíóòðè àâòî - ñçàäè ñïðàâà' : Unused code path elimination - * Block '/t âíóòðè àâòî - ñïåðåäè ñëåâà' : Unused code path elimination - * Block '/t âíóòðè àâòî - ñïåðåäè ñïðàâà' : Unused code path elimination - * Block '/t îêð. ñðåäû' : Unused code path elimination - * Block '/ After start control system works X sec' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Divide' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Delay Input1' : Unused code path elimination - * Block '/FixPt Relational Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Subtract' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/t_start_delay_private ' : Unused code path elimination - * Block '/Relational Operator' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/èç 0.01 â 0.1 ãðàäóñ Öåëüñèÿ' : Unused code path elimination - * Block '/èç ñåê â ìñ' : Unused code path elimination - * Block '/ After start control system works X sec' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Divide' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Delay Input1' : Unused code path elimination - * Block '/FixPt Relational Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Relational Operator3' : Unused code path elimination + * Block '/not LO or HI' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Subtract' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/t_start_delay_private ' : Unused code path elimination - * Block '/Relational Operator' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/èç 0.01 â 0.1 ãðàäóñ Öåëüñèÿ' : Unused code path elimination - * Block '/èç ñåê â ìñ' : Unused code path elimination - * Block '/Äàò÷èê ñîëíöà ñëåâà' : Unused code path elimination - * Block '/Äàò÷èê ñîëíöà ñïðàâà' : Unused code path elimination - * Block '/Ñëåâà íîãè äî êîððåêöèè' : Unused code path elimination - * 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 '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/auto5' : Unused code path elimination - * Block '/auto6' : Unused code path elimination - * Block '/req' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Gain5' : Unused code path elimination - * Block '/Gain6' : Unused code path elimination - * Block '/Gain7' : Unused code path elimination - * Block '/Gain8' : Unused code path elimination - * Block '/RAW t incar front left' : Unused code path elimination - * Block '/RAW t incar front right' : Unused code path elimination - * Block '/RAW t incar rear left' : Unused code path elimination - * Block '/RAW t incar rear right' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp new (C * 10)' : Unused code path elimination - * Block '/temp old' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp new (C * 10)' : Unused code path elimination - * Block '/temp old' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/AUTO' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/LO' : Unused code path elimination + * Block '/Logical Operator1' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Relational Operator2' : Unused code path elimination + * Block '/Relational Operator3' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch1' : Unused code path elimination + * Block '/exit algorithm' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/AMB (C * 10)' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp old' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp old' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/t ñçàäè ñëåâà' : Unused code path elimination - * Block '/t ñçàäè ñïðàâà' : Unused code path elimination - * Block '/t ñïåðåäè ñëåâà' : Unused code path elimination - * Block '/t ñïåðåäè ñïðàâà' : Unused code path elimination - * Block '/Âðåìÿ â ìñ' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/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 '/step start control front' : Unused code path elimination + * Block '/step start control rear' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination * Block '/Display2' : Unused code path elimination * Block '/Display3' : Unused code path elimination * Block '/Display4' : Unused code path elimination * Block '/Display5' : Unused code path elimination * Block '/Display6' : Unused code path elimination * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Scope' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display24' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Vtg_FL_correct L display' : Unused code path elimination - * Block '/Vtg_FL_correct ïîñëå êîððåêöèè' : Unused code path elimination - * Block '/Vtg_FR_correct ïîñëå êîððåêöèè' : Unused code path elimination - * Block '/Vtg_FX_correct R display' : Unused code path elimination - * Block '/ After start control system works X sec' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Divide' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Delay Input1' : Unused code path elimination - * Block '/FixPt Relational Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Subtract' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/t_start_delay_private ' : Unused code path elimination - * Block '/Relational Operator' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/èç 0.01 â 0.1 ãðàäóñ Öåëüñèÿ' : Unused code path elimination - * Block '/èç ñåê â ìñ' : Unused code path elimination - * Block '/ After start control system works X sec' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Divide' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Delay Input1' : Unused code path elimination - * Block '/FixPt Relational Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Subtract' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/t_start_delay_private ' : Unused code path elimination - * Block '/Relational Operator' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/èç 0.01 â 0.1' : Unused code path elimination - * Block '/èç ñåê â ìñ' : Unused code path elimination - * Block '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Gain5' : Unused code path elimination - * Block '/Gain6' : Unused code path elimination - * Block '/Gain7' : Unused code path elimination - * Block '/Gain8' : Unused code path elimination - * Block '/LVL äëÿ t îêð. ñðåäû' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Vtg_RL_correct display' : Unused code path elimination - * Block '/Vtg_RR_correct display' : Unused code path elimination - * Block '/SET âîäèòåëÿ' : Unused code path elimination - * Block '/SET ëåâîãî çàäíåãî ïññàæèðà' : Unused code path elimination - * Block '/SET ïàññàæèðà' : Unused code path elimination - * Block '/SET ïðàâîãî çàäíåãî ïññàæèðà' : Unused code path elimination - * Block '/t âíóòðè àâòî - ñçàäè ñëåâà' : Unused code path elimination - * Block '/t âíóòðè àâòî - ñçàäè ñïðàâà' : Unused code path elimination - * Block '/t âíóòðè àâòî - ñïåðåäè ñëåâà' : Unused code path elimination - * Block '/t âíóòðè àâòî - ñïåðåäè ñïðàâà' : Unused code path elimination - * Block '/t îêð. ñðåäû' : Unused code path elimination - * Block '/Äàò÷èê ñîëíöà ñëåâà' : Unused code path elimination - * Block '/Äàò÷èê ñîëíöà ñïðàâà' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/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 '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination + * Block '/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 '/Display' : 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 '/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 '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Add' : Unused code path elimination + * Block '/Add1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * 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 '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display20' : Unused code path elimination + * Block '/Display21' : Unused code path elimination + * Block '/Display22' : Unused code path elimination + * Block '/Display23' : Unused code path elimination + * Block '/Display24' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * 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 '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/t âíóòðè àâòî - ñçàäè ñëåâà' : Unused code path elimination + * Block '/t âíóòðè àâòî - ñçàäè ñïðàâà' : Unused code path elimination + * Block '/t âíóòðè àâòî - ñïåðåäè ñëåâà' : Unused code path elimination + * Block '/t âíóòðè àâòî - ñïåðåäè ñïðàâà' : Unused code path elimination + * Block '/t îêð. ñðåäû' : Unused code path elimination + * Block '/ After start control system works X sec' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Divide' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Delay Input1' : Unused code path elimination + * Block '/FixPt Relational Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Subtract' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/t_start_delay_private ' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/èç 0.01 â 0.1 ãðàäóñ Öåëüñèÿ' : Unused code path elimination + * Block '/èç ñåê â ìñ' : Unused code path elimination + * Block '/ After start control system works X sec' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Divide' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Delay Input1' : Unused code path elimination + * Block '/FixPt Relational Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Subtract' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/t_start_delay_private ' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/èç 0.01 â 0.1 ãðàäóñ Öåëüñèÿ' : Unused code path elimination + * Block '/èç ñåê â ìñ' : Unused code path elimination + * Block '/Äàò÷èê ñîëíöà ñëåâà' : Unused code path elimination + * Block '/Äàò÷èê ñîëíöà ñïðàâà' : Unused code path elimination + * Block '/Ñëåâà íîãè äî êîððåêöèè' : Unused code path elimination + * Block '/Ñëåâà ñçàäè' : Unused code path elimination + * Block '/Ñëåâà ñïåðåäè' : Unused code path elimination + * Block '/Ñëåâà ñïåðåäè ñíèçó (íîãè)' : Unused code path elimination + * Block '/Ñïðàâà íîãè äî êîððåêöèè' : Unused code path elimination + * Block '/Ñïðàâà ñçàäè' : Unused code path elimination + * Block '/Ñïðàâà ñïåðåäè' : Unused code path elimination + * Block '/Ñïðàâà ñïåðåäè ñíèçó (íîãè)' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/auto5' : Unused code path elimination + * Block '/auto6' : Unused code path elimination + * Block '/req' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Gain5' : Unused code path elimination + * Block '/Gain6' : Unused code path elimination + * Block '/Gain7' : Unused code path elimination + * Block '/Gain8' : Unused code path elimination + * Block '/RAW t incar front left' : Unused code path elimination + * Block '/RAW t incar front right' : Unused code path elimination + * Block '/RAW t incar rear left' : Unused code path elimination + * Block '/RAW t incar rear right' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp new (C * 10)' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp new (C * 10)' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/t ñçàäè ñëåâà' : Unused code path elimination + * Block '/t ñçàäè ñïðàâà' : Unused code path elimination + * Block '/t ñïåðåäè ñëåâà' : Unused code path elimination + * Block '/t ñïåðåäè ñïðàâà' : Unused code path elimination + * Block '/Âðåìÿ â ìñ' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Scope' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display24' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Vtg_FL_correct L display' : Unused code path elimination + * Block '/Vtg_FL_correct ïîñëå êîððåêöèè' : Unused code path elimination + * Block '/Vtg_FR_correct ïîñëå êîððåêöèè' : Unused code path elimination + * Block '/Vtg_FX_correct R display' : Unused code path elimination + * Block '/ After start control system works X sec' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Divide' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Delay Input1' : Unused code path elimination + * Block '/FixPt Relational Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Subtract' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/t_start_delay_private ' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/èç 0.01 â 0.1 ãðàäóñ Öåëüñèÿ' : Unused code path elimination + * Block '/èç ñåê â ìñ' : Unused code path elimination + * Block '/ After start control system works X sec' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Divide' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Delay Input1' : Unused code path elimination + * Block '/FixPt Relational Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Subtract' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/t_start_delay_private ' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/èç 0.01 â 0.1' : Unused code path elimination + * Block '/èç ñåê â ìñ' : Unused code path elimination + * Block '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Gain5' : Unused code path elimination + * Block '/Gain6' : Unused code path elimination + * Block '/Gain7' : Unused code path elimination + * Block '/Gain8' : Unused code path elimination + * Block '/LVL äëÿ t îêð. ñðåäû' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Vtg_RL_correct display' : Unused code path elimination + * Block '/Vtg_RR_correct display' : Unused code path elimination + * Block '/SET âîäèòåëÿ' : Unused code path elimination + * Block '/SET ëåâîãî çàäíåãî ïññàæèðà' : Unused code path elimination + * Block '/SET ïàññàæèðà' : Unused code path elimination + * Block '/SET ïðàâîãî çàäíåãî ïññàæèðà' : Unused code path elimination + * Block '/t âíóòðè àâòî - ñçàäè ñëåâà' : Unused code path elimination + * Block '/t âíóòðè àâòî - ñçàäè ñïðàâà' : Unused code path elimination + * Block '/t âíóòðè àâòî - ñïåðåäè ñëåâà' : Unused code path elimination + * Block '/t âíóòðè àâòî - ñïåðåäè ñïðàâà' : Unused code path elimination + * Block '/t îêð. ñðåäû' : Unused code path elimination + * Block '/Äàò÷èê ñîëíöà ñëåâà' : Unused code path elimination + * Block '/Äàò÷èê ñîëíöà ñïðàâà' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Logical Operator' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/t îêðóæ. ñðåäû.' : Unused code path elimination - * Block '/t îõë. æèäê.' : Unused code path elimination - * Block '/Âðåìÿ â ìñ' : Unused code path elimination - * Block '/Îòôèëüðîâàííàÿ t îêð. ñðåäû' : Unused code path elimination - * Block '/Ñêîðîñòü àâòî' : Unused code path elimination - * Block '/AMB (C * 10)' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/lvl' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/ABM from read' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/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 '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/1-D Lookup Table' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/ABM from read' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Bus Creator13' : Unused code path elimination - * Block '/Constant6' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Switch7' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Logical Operator' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/t îêðóæ. ñðåäû.' : Unused code path elimination + * Block '/t îõë. æèäê.' : Unused code path elimination + * Block '/Âðåìÿ â ìñ' : Unused code path elimination + * Block '/Îòôèëüðîâàííàÿ t îêð. ñðåäû' : Unused code path elimination + * Block '/Ñêîðîñòü àâòî' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/lvl' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/1-D Lookup Table' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Bus Creator13' : Unused code path elimination + * Block '/Constant6' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Switch7' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Bi valve' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Constant3' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Data Type Conversion1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display20' : Unused code path elimination - * Block '/Display21' : Unused code path elimination - * Block '/Display22' : Unused code path elimination - * Block '/Display23' : Unused code path elimination - * Block '/Display24' : Unused code path elimination - * Block '/Display25' : Unused code path elimination - * Block '/Display26' : Unused code path elimination - * Block '/Display27' : Unused code path elimination - * Block '/Display28' : Unused code path elimination - * Block '/Display29' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display30' : Unused code path elimination - * Block '/Display31' : Unused code path elimination - * Block '/Display32' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Çàñëîíêè ñëåâà' : Unused code path elimination - * Block '/Çàñëîíêè ñïðàâà' : Unused code path elimination - * Block '/ïóíêòû 5-7' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Vent' : Unused code path elimination - * Block '/Vent1' : Unused code path elimination - * Block '/Vent2' : Unused code path elimination - * Block '/Vent3' : Unused code path elimination - * Block '/Vent4' : Unused code path elimination + * Block '/Bi valve' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Constant3' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Data Type Conversion1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display20' : Unused code path elimination + * Block '/Display21' : Unused code path elimination + * Block '/Display22' : Unused code path elimination + * Block '/Display23' : Unused code path elimination + * Block '/Display24' : Unused code path elimination + * Block '/Display25' : Unused code path elimination + * Block '/Display26' : Unused code path elimination + * Block '/Display27' : Unused code path elimination + * Block '/Display28' : Unused code path elimination + * Block '/Display29' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display30' : Unused code path elimination + * Block '/Display31' : Unused code path elimination + * Block '/Display32' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Çàñëîíêè ñëåâà' : Unused code path elimination + * Block '/Çàñëîíêè ñïðàâà' : Unused code path elimination + * Block '/ïóíêòû 5-7' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Scope' : Unused code path elimination - * Block '/Scope1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/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 '/Vent' : Unused code path elimination + * Block '/Vent1' : Unused code path elimination + * Block '/Vent2' : Unused code path elimination + * Block '/Vent3' : Unused code path elimination + * Block '/Vent4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Scope1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/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 '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Full mode' : Unused code path elimination - * Block '/OFF mode' : Unused code path elimination - * Block '/REST mode' : Unused code path elimination - * Block '/Reduced mode' : Unused code path elimination - * Block '/Remote start mode' : Unused code path elimination - * Block '/Constant9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/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 '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Saturation2' : Unused code path elimination - * Block '/Saturation3' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Constant3' : Unused code path elimination - * Block '/Equal3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion4' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Full mode' : Unused code path elimination + * Block '/OFF mode' : Unused code path elimination + * Block '/REST mode' : Unused code path elimination + * Block '/Reduced mode' : Unused code path elimination + * Block '/Remote start mode' : Unused code path elimination + * Block '/Constant9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Saturation2' : Unused code path elimination + * Block '/Saturation3' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Constant3' : Unused code path elimination + * Block '/Equal3' : Unused code path elimination + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion4' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion * Block '/Data Type Conversion1' : Eliminate redundant data type conversion * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion */ /*- @@ -3373,2879 +3683,3444 @@ extern RT_MODEL *const rtM; * '' : 'HVAC_model/13,1,3,15 Valve control' * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?' * '' : 'HVAC_model/13,1,3,6 Individual foots' - * '' : 'HVAC_model/13.1.3.3 Dtg model' - * '' : 'HVAC_model/A//C Control' - * '' : 'HVAC_model/AC manager, Winter conditions' - * '' : 'HVAC_model/ACP' - * '' : 'HVAC_model/AUTO' - * '' : 'HVAC_model/Aroma logic' - * '' : 'HVAC_model/Autodemist' - * '' : 'HVAC_model/Blower speed (AF) auto or manual' - * '' : 'HVAC_model/CAN INPUT' - * '' : 'HVAC_model/CAN OUTPUT' - * '' : 'HVAC_model/Compare To Constant' - * '' : 'HVAC_model/Compare To Constant1' - * '' : 'HVAC_model/Compare To Constant2' - * '' : 'HVAC_model/Compare To Constant3' - * '' : 'HVAC_model/Define dew point' - * '' : 'HVAC_model/Different blower Rear' - * '' : 'HVAC_model/Electric Autodemist' - * '' : 'HVAC_model/Foot 2 control' - * '' : 'HVAC_model/GlassPosition' - * '' : 'HVAC_model/IO - model output' - * '' : 'HVAC_model/IndexMode' - * '' : 'HVAC_model/Ionizer' - * '' : 'HVAC_model/LIN' - * '' : 'HVAC_model/LIN output' - * '' : 'HVAC_model/LO HI status for dbg' - * '' : 'HVAC_model/Leaving the garage' - * '' : 'HVAC_model/MAX AC define condition' - * '' : 'HVAC_model/MAX DEF (Defrost)' - * '' : 'HVAC_model/Operation mode - Full, Reduced, etc' - * '' : 'HVAC_model/PID Compressor' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê' - * '' : 'HVAC_model/PWM + Blower Limit' - * '' : 'HVAC_model/Power' - * '' : 'HVAC_model/Recirculation_by_Door_Ajar' - * '' : 'HVAC_model/Synchronization (SYNC)' - * '' : 'HVAC_model/Synchronization stateflow chart' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)' - * '' : 'HVAC_model/dbg CAN' - * '' : 'HVAC_model/debug stateflow chart' - * '' : 'HVAC_model/external fan' - * '' : 'HVAC_model/lowTempValve_regulation' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Convert_g_assAMB_LV_UP' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Log Ambient Lv' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_DN_1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_UP_2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_DN_2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_UP_3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_DN_3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_UP_4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_DN_4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_UP_5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5/Convert_g_assAMB_LV_DN_5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Modes for levels' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/VENT+' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/VENT+' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/13,1,3,14 air quality' - * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Partial REC' - * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Spd_OSA_Trigger' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem3' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem4' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem5' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem6' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem3' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem4' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem5' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem6' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Autodemist offset FLU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Autodemist offset FRU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FLL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FLU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FRL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FRU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_RL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_RR' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Individual foot' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Individual foot1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL/êîððåêöèÿ äëÿ àâòî ðåæèìà' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_U' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL/êîððåêöèÿ äëÿ àâòî ðåæèìà' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_L' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR/êîððåêöèÿ äëÿ àâòî ðåæèìà' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_U' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL/êîððåêöèÿ äëÿ àâòî ðåæèìà' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_L' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL/êîððåêöèÿ äëÿ àâòî ðåæèìà' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_R' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR/êîððåêöèÿ äëÿ àâòî ðåæèìà' - * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_R' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/Saturation Dynamic1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower1/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper1/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction rate' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction_start_time' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction rate' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction_start_time' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions' - * '' : 'HVAC_model/AC manager, Winter conditions/target Eva' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function1' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function3' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function4' - * '' : 'HVAC_model/ACP/EvapF' - * '' : 'HVAC_model/ACP/EvapR' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve' - * '' : 'HVAC_model/ACP/PRINT IGN_ANS' - * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK' - * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC' - * '' : 'HVAC_model/ACP/Rear_Duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct' - * '' : 'HVAC_model/ACP/Write' - * '' : 'HVAC_model/ACP/Write1' - * '' : 'HVAC_model/ACP/Write2' - * '' : 'HVAC_model/ACP/Write3' - * '' : 'HVAC_model/ACP/Write4' - * '' : 'HVAC_model/ACP/filter incar' - * '' : 'HVAC_model/ACP/incar sensors' - * '' : 'HVAC_model/ACP/incar to dtg' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant1' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant2' - * '' : 'HVAC_model/ACP/EvapF/RealTime_Timer' - * '' : 'HVAC_model/ACP/EvapF/UDS ERROR' - * '' : 'HVAC_model/ACP/EvapF/Write ERROR' - * '' : 'HVAC_model/ACP/EvapF/Write Eva_F' - * '' : 'HVAC_model/ACP/EvapF/filter evap' - * '' : 'HVAC_model/ACP/EvapF/filter evap/filter AC Pressure' - * '' : 'HVAC_model/ACP/EvapF/filter evap/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant1' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant2' - * '' : 'HVAC_model/ACP/EvapR/RealTime_Timer' - * '' : 'HVAC_model/ACP/EvapR/UDS ERROR' - * '' : 'HVAC_model/ACP/EvapR/Write ERROR' - * '' : 'HVAC_model/ACP/EvapR/Write Eva_F' - * '' : 'HVAC_model/ACP/EvapR/filter evap' - * '' : 'HVAC_model/ACP/EvapR/filter evap/filter AC Pressure' - * '' : 'HVAC_model/ACP/EvapR/filter evap/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve/Write' - * '' : 'HVAC_model/ACP/PRINT IGN_ANS/Write' - * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK/Write' - * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG/Write' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1/Write' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant1' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant2' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/RealTime_Timer' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/UDS ERROR' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write ERROR' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure/filter AC Pressure' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC/Write' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant1' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant10' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant11' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant2' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant3' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant4' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant5' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant6' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant7' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant8' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant9' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer1' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer2' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer3' - * '' : 'HVAC_model/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/Sensor_Front_Duct/Compare To Constant1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant10' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant11' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant12' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant13' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant14' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant15' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant16' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant17' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant18' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant7' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant8' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant9' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Èíèöèàëèçàöèÿ FL' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Almost equal' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Calculate delta time' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/g_ausINCARRATE_RISING_DIFF_F[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/INCARRATE_RISING_DIFF_F[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Èíèöèàëèçàöèÿ FR' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Almost equal' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Calculate delta time' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/g_ausINCARRATE_RISING_DIFF_F[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/INCARRATE_RISING_DIFF_F[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Èíèöèàëèçàöèÿ RL' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Almost equal' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Calculate delta time' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/g_ausINCARRATE_RISING_DIFF_R[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/INCARRATE_RISING_DIFF_R[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Èíèöèàëèçàöèÿ RR' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Almost equal' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Calculate delta time' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/g_ausINCARRATE_RISING_DIFF_R[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/INCARRATE_RISING_DIFF_R[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/ACP/incar sensors/incar FL' - * '' : 'HVAC_model/ACP/incar sensors/incar FR' - * '' : 'HVAC_model/ACP/incar sensors/incar RL' - * '' : 'HVAC_model/ACP/incar sensors/incar RR' - * '' : 'HVAC_model/ACP/incar sensors/process error F' - * '' : 'HVAC_model/ACP/incar sensors/process error R' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant1' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant2' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/RealTime_Timer' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/UDS ERROR' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/Write ERROR' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant6' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant7' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant8' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/RealTime_Timer2' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/UDS ERROR2' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/Write ERROR2' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant3' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant4' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant5' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/RealTime_Timer1' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/UDS ERROR1' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/Write ERROR1' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant10' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant11' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant9' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/RealTime_Timer3' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/UDS ERROR3' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/Write ERROR3' - * '' : 'HVAC_model/ACP/incar sensors/process error F/Write IncarFL' - * '' : 'HVAC_model/ACP/incar sensors/process error F/Write IncarFR' - * '' : 'HVAC_model/ACP/incar sensors/process error R/Write IncarRL' - * '' : 'HVAC_model/ACP/incar sensors/process error R/Write IncarRR' - * '' : 'HVAC_model/AUTO/Determine directions FL' - * '' : 'HVAC_model/AUTO/Determine directions FR' - * '' : 'HVAC_model/AUTO/Determine directions RL' - * '' : 'HVAC_model/AUTO/Determine directions RR' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL1' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL2' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL3' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL4' - * '' : 'HVAC_model/AUTO/çàñå÷ü ïåðåõîä èç àâòî â ðó÷íîé' - * '' : 'HVAC_model/AUTO/çàñå÷ü ïåðåõîä èç àâòî â ðó÷íîé1' - * '' : 'HVAC_model/AUTO/çàñå÷ü ïåðåõîä èç àâòî â ðó÷íîé2' - * '' : 'HVAC_model/AUTO/çàñå÷ü ïåðåõîä èç àâòî â ðó÷íîé3' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF AutoFoot' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF AutoFoot summer' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Bi level' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Bi level 2' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Defrost' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Foot' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Foot + Def' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Hi (def + vent)' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Tri mode' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF VENT' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF VENT (fail safe)' - * '' : 'HVAC_model/AUTO/Determine directions FL/closest speed' - * '' : 'HVAC_model/AUTO/Determine directions FL/direction for front index mode' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF AutoFoot' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF AutoFoot summer' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Bi level' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Bi level 2' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Defrost' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Foot' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Foot + Def' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Hi (def + vent)' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Tri mode' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF VENT' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF VENT (fail safe)' - * '' : 'HVAC_model/AUTO/Determine directions FR/closest speed' - * '' : 'HVAC_model/AUTO/Determine directions FR/direction for front index mode' - * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR Bi Level' - * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR Foot' - * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR VENT AUTO' - * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR VENT AUTO1' - * '' : 'HVAC_model/AUTO/Determine directions RL/closest speed' - * '' : 'HVAC_model/AUTO/Determine directions RL/direction for REAR index mode' - * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR Bi Level' - * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR Foot' - * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR VENT AUTO' - * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR VENT AUTO1' - * '' : 'HVAC_model/AUTO/Determine directions RR/closest speed' - * '' : 'HVAC_model/AUTO/Determine directions RR/direction for REAR index mode1' - * '' : 'HVAC_model/Aroma logic/AromaLogic' - * '' : 'HVAC_model/Aroma logic/AromaLogic/ccuAromaLogic' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Autodemist_Actions_FL' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Autodemist_Actions_FR' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Calculate_Autodemist_Level' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/autodemist to dbg' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/autodemist to dbg/MATLAB Function' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Autodemist offset FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Autodemist offset FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Glass Position Limo FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Glass Position Limo FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Individual foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Individual foot1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Foor + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Hi_Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Tri-Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Vent mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Foor + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Hi_Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Tri-Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Vent mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Bi Level R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Foot R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Vent mode R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Bi Level R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Foot R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Vent mode R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FL/func g_ascAUTO_STEP_AF_F' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FR/func g_ascAUTO_STEP_AF_F' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RL/func g_ascAUTO_STEP_AF_F' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RR/func g_ascAUTO_STEP_AF_F' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/MAX1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/MIN1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/MAX1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/MIN1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction max' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction rate' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction_start_time' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/is_ending_with_5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction max' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction rate' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction_start_time' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/is_ending_with_5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/MAX' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/MIN' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/MAX' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/MIN' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FL/FL AF * percent DRS' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FL/param index for mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR/FL AF * percent DRS' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR/param index for mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL/RL AF * percent DRS' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL/param index for mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR/RR AF * percent DRS' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR/param index for mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/2WVR and 3WVF open ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/2WVR and 3WVF open ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/2WVR open ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant2' - * '' : 'HVAC_model/CAN INPUT/EMS_veh_02 BMS Actual Temp' - * '' : 'HVAC_model/CAN INPUT/Missing messages' - * '' : 'HVAC_model/CAN INPUT/Reset values' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode' - * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro' - * '' : 'HVAC_model/CAN INPUT/Subsystem1' - * '' : 'HVAC_model/CAN INPUT/Subsystem2' - * '' : 'HVAC_model/CAN INPUT/Subsystem3' - * '' : 'HVAC_model/CAN INPUT/Subsystem4' - * '' : 'HVAC_model/CAN INPUT/Subsystem45' - * '' : 'HVAC_model/CAN INPUT/Subsystem46' - * '' : 'HVAC_model/CAN INPUT/Subsystem47' - * '' : 'HVAC_model/CAN INPUT/Subsystem48' - * '' : 'HVAC_model/CAN INPUT/Subsystem5' - * '' : 'HVAC_model/CAN INPUT/Subsystem50' - * '' : 'HVAC_model/CAN INPUT/Subsystem51' - * '' : 'HVAC_model/CAN INPUT/Subsystem52' - * '' : 'HVAC_model/CAN INPUT/Subsystem6' - * '' : 'HVAC_model/CAN INPUT/Subsystem62' - * '' : 'HVAC_model/CAN INPUT/Subsystem63' - * '' : 'HVAC_model/CAN INPUT/Subsystem64' - * '' : 'HVAC_model/CAN INPUT/Subsystem7' - * '' : 'HVAC_model/CAN INPUT/Subsystem8' - * '' : 'HVAC_model/CAN INPUT/Subsystem9' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter' - * '' : 'HVAC_model/CAN INPUT/write powerDownStatus' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter' - * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter/filter sensor' - * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter/is 3 sec after T15 passed' - * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter' - * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter/filter sensor' - * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter/is 3 sec after T15 passed' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/AC_Max_Active' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant4' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant5' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant6' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant7' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Defrost_Active' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase4' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase5' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase6' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase7' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Front Window Heating' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Full_Rec_Active' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem10' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem11' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem12' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem13' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem14' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem15' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem16' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem17' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem18' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem19' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem20' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem21' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem22' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem23' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem24' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem25' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem26' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem27' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem28' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem29' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem30' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem31' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem32' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem33' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem34' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem35' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem36' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem37' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem38' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem39' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem4' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem40' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem41' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem42' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem43' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem5' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem6' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem7' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem8' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem9' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action4' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem1/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem2/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem2/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem2/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem2/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem24/full sync action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem24/sync front action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem24/sync off action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem3/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem3/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem3/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem3/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44/sync off rear action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44/sync rear action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44/sync off rear action/logger' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44/sync rear action/logger' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem5/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem5/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem5/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem5/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem6/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem6/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem6/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem6/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action/sync front action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action/sync front action3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action1/sync front action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action1/sync front action3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action2/sync front action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action2/sync front action3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action4/sync front action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action4/sync front action3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/is 3 sec after T15 passed' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Èíèöèàëèçàöèÿ òåìïåðàòóðû' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Calculate delta time' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Coolant temp threshold' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Almost equal' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Almost equal' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Almost equal' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íîå ïîíèæåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/ãðàíèöû' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Almost equal' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error/sensor OK' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error/sensor error' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem4' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem5' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem6' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem7' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem8' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear' - * '' : 'HVAC_model/Different blower Rear/valves_rear' - * '' : 'HVAC_model/Different blower Rear/valves_rear1' - * '' : 'HVAC_model/Different blower Rear/óñëîâèå âõîäà' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ ' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/MATLAB Function' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/coefficients for valves' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïëîùàäü ñå÷åíèÿ çàñëîíîê' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïóíêò 21-23 (DRS for valves)' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïóíêò 24 (DRS for AF)' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïóíêò 25' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïóíêòû 18-20' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/òàáëèöà D184-E190 (Step 7 Minimum damper opening factor)' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /B-Pillar_ - % damper opening' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function1' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function2' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function3' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function4' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function5' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function6' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function7' - * '' : 'HVAC_model/Electric Autodemist/Subsystem' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_Limo_RL' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_Limo_RR' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_RL' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_RR' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem1' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem2' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem3' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem5' - * '' : 'HVAC_model/Ionizer/Subsystem' - * '' : 'HVAC_model/Ionizer/write 1 to ionizer' - * '' : 'HVAC_model/LIN/CHANEL0' - * '' : 'HVAC_model/LIN/CHANEL1' - * '' : 'HVAC_model/LIN/CHANEL2' - * '' : 'HVAC_model/LIN/CHANEL3' - * '' : 'HVAC_model/LIN/CHANEL4' - * '' : 'HVAC_model/LIN/Chart' - * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL0/Homing' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL1/Homing' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL2/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL2/Homing' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL2/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL2/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive1' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive2' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive3' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive4' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive5' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive6' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive7' - * '' : 'HVAC_model/LIN/CHANEL4/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL4/Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL4/Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL4/Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL4/Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL4/Subsystem5' - * '' : 'HVAC_model/LIN/CHANEL4/Subsystem6' - * '' : 'HVAC_model/LIN/CHANEL4/Subsystem7' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive/Positive' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive1/Positive' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive2/Positive' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive3/Positive' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive4/Positive' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive5/Positive' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive6/Positive' - * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive7/Positive' - * '' : 'HVAC_model/LO HI status for dbg/MATLAB Function1' - * '' : 'HVAC_model/Leaving the garage/Subsystem' - * '' : 'HVAC_model/Leaving the garage/Subsystem/Compare To Zero' - * '' : 'HVAC_model/MAX DEF (Defrost)/MAX DEF' - * '' : 'HVAC_model/MAX DEF (Defrost)/MAX DEF/MATLAB Function' - * '' : 'HVAC_model/MAX DEF (Defrost)/MAX DEF/MATLAB Function1' - * '' : 'HVAC_model/Operation mode - Full, Reduced, etc/Operation mode' - * '' : 'HVAC_model/Operation mode - Full, Reduced, etc/any message from FIU or TM_CP' - * '' : 'HVAC_model/PID Compressor/Compare To Constant1' - * '' : 'HVAC_model/PID Compressor/MATLAB Function' - * '' : 'HVAC_model/PID Compressor/MATLAB Function1' - * '' : 'HVAC_model/PID Compressor/PID' - * '' : 'HVAC_model/PID Compressor/PID/Saturation Dynamic' - * '' : 'HVAC_model/PID Compressor/PID/Saturation Dynamic3' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Left Lower sensor choose' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Left Upper sensor choose' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Right Lower sensor choose' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Right Upper sensor choose' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_FLL' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_FLU' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_FRL' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_FRU' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_RL' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_RR' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function1' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function2' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function3' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function4' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function5' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/calculate dt' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Left Lower sensor choose/choose sensor FLL' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Left Upper sensor choose/choose sensor FRU' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Right Lower sensor choose/choose sensor FRightLower' - * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Right Upper sensor choose/choose sensor FRU' - * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp' - * '' : 'HVAC_model/PWM + Blower Limit/Operation mode is Full mode' - * '' : 'HVAC_model/PWM + Blower Limit/Write' - * '' : 'HVAC_model/PWM + Blower Limit/Write1' - * '' : 'HVAC_model/PWM + Blower Limit/Write2' - * '' : 'HVAC_model/PWM + Blower Limit/Write3' - * '' : 'HVAC_model/PWM + Blower Limit/calculate dt' - * '' : 'HVAC_model/PWM + Blower Limit/calculate dt1' - * '' : 'HVAC_model/PWM + Blower Limit/different blower rear' - * '' : 'HVAC_model/PWM + Blower Limit/filter PWM front' - * '' : 'HVAC_model/PWM + Blower Limit/filter PWM rear' - * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp/blowerControlBySOC' - * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp/blowerLimitByBattTemp' - * '' : 'HVAC_model/Power/Compare To Zero' - * '' : 'HVAC_model/Power/Compare To Zero1' - * '' : 'HVAC_model/Power/Compare To Zero2' - * '' : 'HVAC_model/Power/incar motors OFF' - * '' : 'HVAC_model/Power/incar motors ON' - * '' : 'HVAC_model/Recirculation_by_Door_Ajar/ClimatRecirculation_by_Door_Ajar' - * '' : 'HVAC_model/Recirculation_by_Door_Ajar/ClimatRecirculation_by_Door_Ajar/recirc_by_door_ajar' - * '' : 'HVAC_model/Synchronization (SYNC)/all zone sync' - * '' : 'HVAC_model/Synchronization (SYNC)/front sync' - * '' : 'HVAC_model/Synchronization (SYNC)/rear sync' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RR' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Individual foot' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Individual foot1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/MAX AC valves' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Max Def front valves' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/autodemist valves' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/different blower rear' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/foot 2 control' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/join left and right front' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/join left and right rear' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode ' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RL/RL valves * percent DRS' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RL/param index for mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RR/RR valves * percent DRS' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RR/param index for mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/if HI full 4 zones' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL/is FL manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL/is FR manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL/is RL manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL/is RR manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL/is FL manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL/is FR manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL/is RL manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL/is RR manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/if HI full 4 zones' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL/is FL manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL/is FR manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL/is RL manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL/is RR manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL/is FL manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL/is FR manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL/is RL manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL/is RR manual' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/MAX AC valves/Valves for Ve2Valve + foot2 = 0' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Max Def front valves/MAX Def valves positions' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Max Def front valves/MAX Def valves positions/Valves for Def (DE2Valve) + Foot2=0' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front/MODE_for_set_and_lvl' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front/MODE_for_set_and_lvl1' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front/valves_front_left' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front/valves_front_right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/MODE_by_duct_tg_R_for_LVL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óâåëè÷èâàåòñÿ RL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óâåëè÷èâàåòñÿ RR' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óìåíüøàåòñÿ RL' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óìåíüøàåòñÿ RR' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/valves_rear_left' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/valves_rear_right' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óâåëè÷èâàåòñÿ RL/increase' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óâåëè÷èâàåòñÿ RR/increase' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óìåíüøàåòñÿ RL/decrease' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óìåíüøàåòñÿ RR/decrease' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves left - manual directions' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves right - manual directions' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Foot' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Foot' - * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/valves for Vent mode' - * '' : 'HVAC_model/dbg CAN/Auto_Valve_Plus to dbg' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg' - * '' : 'HVAC_model/dbg CAN/DRS to dbg' - * '' : 'HVAC_model/dbg CAN/LIN_AirQS to dbg' - * '' : 'HVAC_model/dbg CAN/LIN_Aroma to dbg' - * '' : 'HVAC_model/dbg CAN/LIN_Ionizer to dbg' - * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg' - * '' : 'HVAC_model/dbg CAN/Logic_Rec to dbg' - * '' : 'HVAC_model/dbg CAN/Logic_State to dbg' - * '' : 'HVAC_model/dbg CAN/Logic_Valve to dbg' - * '' : 'HVAC_model/dbg CAN/PID valves to dbg' - * '' : 'HVAC_model/dbg CAN/Sen 0 to dbg' - * '' : 'HVAC_model/dbg CAN/actuators to dbg' - * '' : 'HVAC_model/dbg CAN/ambient to dbg' - * '' : 'HVAC_model/dbg CAN/autoAF dbg' - * '' : 'HVAC_model/dbg CAN/autoduct dbg' - * '' : 'HVAC_model/dbg CAN/blower to dbg' - * '' : 'HVAC_model/dbg CAN/dbg_sen_Demist to dbg' - * '' : 'HVAC_model/dbg CAN/dbg_sen_duct (ACP duct sensors) to dbg' - * '' : 'HVAC_model/dbg CAN/sen_eva (evaporator) to dbg' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem1' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem2' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem3' - * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg/WinterAC_state_Front' - * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg/WinterAC_state_Rear' - * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg/WinterAC_state_Front/MATLAB Function' - * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg/WinterAC_state_Rear/MATLAB Function' - * '' : 'HVAC_model/dbg CAN/Logic_State to dbg/select operation mode' - * '' : 'HVAC_model/lowTempValve_regulation/ACmax' + * '' : 'HVAC_model/13,1,3,7 Start control' + * '' : 'HVAC_model/13.1.3.3 Dtg model' + * '' : 'HVAC_model/A//C Control' + * '' : 'HVAC_model/AC manager, Winter conditions' + * '' : 'HVAC_model/ACP' + * '' : 'HVAC_model/AUTO' + * '' : 'HVAC_model/Aroma logic' + * '' : 'HVAC_model/Autodemist' + * '' : 'HVAC_model/Blower speed (AF) auto or manual' + * '' : 'HVAC_model/CAN INPUT' + * '' : 'HVAC_model/CAN OUTPUT' + * '' : 'HVAC_model/Compare To Constant' + * '' : 'HVAC_model/Compare To Constant1' + * '' : 'HVAC_model/Compare To Constant2' + * '' : 'HVAC_model/Compare To Constant3' + * '' : 'HVAC_model/Define dew point' + * '' : 'HVAC_model/Different blower Rear' + * '' : 'HVAC_model/Electric Autodemist' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning' + * '' : 'HVAC_model/Foot 2 control' + * '' : 'HVAC_model/GlassPosition' + * '' : 'HVAC_model/HI LO modes' + * '' : 'HVAC_model/IO - model output' + * '' : 'HVAC_model/IndexMode' + * '' : 'HVAC_model/Ionizer' + * '' : 'HVAC_model/LIN' + * '' : 'HVAC_model/LIN output' + * '' : 'HVAC_model/LO HI status for dbg' + * '' : 'HVAC_model/Leaving the garage' + * '' : 'HVAC_model/MAC AC - new' + * '' : 'HVAC_model/MAX DEF (Defrost) V2' + * '' : 'HVAC_model/Operation mode - Full, Reduced, etc' + * '' : 'HVAC_model/PID Compressor' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê' + * '' : 'HVAC_model/PWM + Blower Limit' + * '' : 'HVAC_model/Power' + * '' : 'HVAC_model/Recirculation_by_Door_Ajar' + * '' : 'HVAC_model/Synchronization (SYNC)' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)' + * '' : 'HVAC_model/dbg CAN' + * '' : 'HVAC_model/external fan' + * '' : 'HVAC_model/lowTempValve_regulation' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 0' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 1/Convert_g_assAMB_LV_DN_1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 1/Convert_g_assAMB_LV_UP_2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 2/Convert_g_assAMB_LV_DN_2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 2/Convert_g_assAMB_LV_UP_3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 3/Convert_g_assAMB_LV_DN_3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 3/Convert_g_assAMB_LV_UP_4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 4/Convert_g_assAMB_LV_DN_4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 4/Convert_g_assAMB_LV_UP_5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 5/Convert_g_assAMB_LV_DN_5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/set level for the first time' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/set level for the first time/select AMB Level' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Modes for levels' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/VENT+' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/VENT+' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/13,1,3,14 air quality' + * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Partial REC' + * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Spd_OSA_Trigger' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem3' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem4' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem5' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem6' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem3' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem4' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem5' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem6' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear' + * '' : 'HVAC_model/13,1,3,7 Start control/count from 0 to 3' + * '' : 'HVAC_model/13,1,3,7 Start control/count from 0 to 3 rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 3 F' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 3/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 4/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 5/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 3/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 4/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 5/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/blower FR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/blower FR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/blower â çàâèñèìîñòè îò ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/g_assSTART_COOLANT_TO_STEP2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/blower â çàâèñèìîñòè îò ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/blower â çàâèñèìîñòè îò ECT/blower min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/blower â çàâèñèìîñòè îò ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/blower â çàâèñèìîñòè îò ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/blower â çàâèñèìîñòè îò ECT/blower min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/blower â çàâèñèìîñòè îò ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/blower â çàâèñèìîñòè îò ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/blower â çàâèñèìîñòè îò ECT/blower min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/autodemist (autodefog)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/autodemist (autodefog)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/autodemist (autodefog)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 3 R' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 2/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 2/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 2/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 3/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 4/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 5/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/blower rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/blower rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/blower â çàâèñèìîñòè îò ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/g_assSTART_COOLANT_TO_STEP2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/blower â çàâèñèìîñòè îò ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/blower â çàâèñèìîñòè îò ECT/blower start finish' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/blower â çàâèñèìîñòè îò ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/g_assSTART_COOLANT_TO_STEP2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/blower â çàâèñèìîñòè îò ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/blower â çàâèñèìîñòè îò ECT/blower start finish' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/blower â çàâèñèìîñòè îò ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/blower â çàâèñèìîñòè îò ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/blower â çàâèñèìîñòè îò ECT/blower start finish' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/blower â çàâèñèìîñòè îò ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/blower â çàâèñèìîñòè îò ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/blower â çàâèñèìîñòè îò ECT/blower start finish' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, ñòðåìÿùèéñÿ ê AUTO/çíàê äëÿ èçìåíåíèÿ (+//-)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Autodemist offset FLU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Autodemist offset FRU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FLL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FLU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FRL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FRU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_RL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_RR' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Individual foot' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Individual foot1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL/êîððåêöèÿ äëÿ àâòî ðåæèìà' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_U' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL/êîððåêöèÿ äëÿ àâòî ðåæèìà' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_L' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR/êîððåêöèÿ äëÿ àâòî ðåæèìà' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_U' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL/êîððåêöèÿ äëÿ àâòî ðåæèìà' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_L' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL/êîððåêöèÿ äëÿ àâòî ðåæèìà' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_R' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR/êîððåêöèÿ äëÿ àâòî ðåæèìà' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR/êîððåêöèÿ äëÿ àâòî ðåæèìà/func g_assAUTO_STEP_DUCT_TG_R' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/Saturation Dynamic1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower1/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper1/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction rate' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction_start_time' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction rate' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction_start_time' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions' + * '' : 'HVAC_model/AC manager, Winter conditions/target Eva' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function1' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function3' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function4' + * '' : 'HVAC_model/ACP/EvapF' + * '' : 'HVAC_model/ACP/EvapR' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve' + * '' : 'HVAC_model/ACP/PRINT IGN_ANS' + * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK' + * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC' + * '' : 'HVAC_model/ACP/Rear_Duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct' + * '' : 'HVAC_model/ACP/Write' + * '' : 'HVAC_model/ACP/Write1' + * '' : 'HVAC_model/ACP/Write2' + * '' : 'HVAC_model/ACP/Write3' + * '' : 'HVAC_model/ACP/Write4' + * '' : 'HVAC_model/ACP/filter incar' + * '' : 'HVAC_model/ACP/incar sensors' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapF/RealTime_Timer' + * '' : 'HVAC_model/ACP/EvapF/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write Eva_F' + * '' : 'HVAC_model/ACP/EvapF/filter evap' + * '' : 'HVAC_model/ACP/EvapF/filter evap/filter AC Pressure' + * '' : 'HVAC_model/ACP/EvapF/filter evap/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapR/RealTime_Timer' + * '' : 'HVAC_model/ACP/EvapR/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write Eva_F' + * '' : 'HVAC_model/ACP/EvapR/filter evap' + * '' : 'HVAC_model/ACP/EvapR/filter evap/filter AC Pressure' + * '' : 'HVAC_model/ACP/EvapR/filter evap/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve/Write' + * '' : 'HVAC_model/ACP/PRINT IGN_ANS/Write' + * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK/Write' + * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG/Write' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1/Write' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant1' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant2' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/RealTime_Timer' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/UDS ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure/filter AC Pressure' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC/Write' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant1' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant10' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant11' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant2' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant3' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant4' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant5' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant6' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant7' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant8' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant9' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer2' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer3' + * '' : 'HVAC_model/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/Sensor_Front_Duct/Compare To Constant1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant10' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant11' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant12' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant13' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant14' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant15' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant16' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant17' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant18' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant7' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant8' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant9' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Èíèöèàëèçàöèÿ FL' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Almost equal' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Calculate delta time' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/g_ausINCARRATE_RISING_DIFF_F[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/INCARRATE_RISING_DIFF_F[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Ôèëüòðàöèÿ FL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Èíèöèàëèçàöèÿ FR' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Almost equal' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Calculate delta time' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/g_ausINCARRATE_RISING_DIFF_F[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/INCARRATE_RISING_DIFF_F[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Ôèëüòðàöèÿ FR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Èíèöèàëèçàöèÿ RL' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Almost equal' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Calculate delta time' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/g_ausINCARRATE_RISING_DIFF_R[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/INCARRATE_RISING_DIFF_R[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Ôèëüòðàöèÿ RL òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Èíèöèàëèçàöèÿ RR' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Almost equal' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Calculate delta time' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/g_ausINCARRATE_RISING_DIFF_R[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/INCARRATE_RISING_DIFF_R[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Ôèëüòðàöèÿ RR òåìïåðàòóðû/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/ACP/incar sensors/incar FL' + * '' : 'HVAC_model/ACP/incar sensors/incar FR' + * '' : 'HVAC_model/ACP/incar sensors/incar RL' + * '' : 'HVAC_model/ACP/incar sensors/incar RR' + * '' : 'HVAC_model/ACP/incar sensors/process error F' + * '' : 'HVAC_model/ACP/incar sensors/process error R' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant1' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant2' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/RealTime_Timer' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/UDS ERROR' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Write ERROR' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant6' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant7' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant8' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/RealTime_Timer2' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/UDS ERROR2' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Write ERROR2' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant3' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant4' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant5' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/RealTime_Timer1' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/UDS ERROR1' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Write ERROR1' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant10' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant11' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant9' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/RealTime_Timer3' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/UDS ERROR3' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Write ERROR3' + * '' : 'HVAC_model/ACP/incar sensors/process error F/Write IncarFL' + * '' : 'HVAC_model/ACP/incar sensors/process error F/Write IncarFR' + * '' : 'HVAC_model/ACP/incar sensors/process error R/Write IncarRL' + * '' : 'HVAC_model/ACP/incar sensors/process error R/Write IncarRR' + * '' : 'HVAC_model/AUTO/Determine directions FL' + * '' : 'HVAC_model/AUTO/Determine directions FR' + * '' : 'HVAC_model/AUTO/Determine directions RL' + * '' : 'HVAC_model/AUTO/Determine directions RR' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FR' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_RL' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_RR' + * '' : 'HVAC_model/AUTO/çàñå÷ü ïåðåõîä èç àâòî â ðó÷íîé' + * '' : 'HVAC_model/AUTO/çàñå÷ü ïåðåõîä èç àâòî â ðó÷íîé1' + * '' : 'HVAC_model/AUTO/çàñå÷ü ïåðåõîä èç àâòî â ðó÷íîé2' + * '' : 'HVAC_model/AUTO/çàñå÷ü ïåðåõîä èç àâòî â ðó÷íîé3' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF AutoFoot' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF AutoFoot summer' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Bi level' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Bi level 2' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Defrost' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Foot' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Foot + Def' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Hi (def + vent)' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Tri mode' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF VENT' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF VENT (fail safe)' + * '' : 'HVAC_model/AUTO/Determine directions FL/closest speed' + * '' : 'HVAC_model/AUTO/Determine directions FL/direction for front index mode' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF AutoFoot' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF AutoFoot summer' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Bi level' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Bi level 2' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Defrost' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Foot' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Foot + Def' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Hi (def + vent)' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Tri mode' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF VENT' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF VENT (fail safe)' + * '' : 'HVAC_model/AUTO/Determine directions FR/closest speed' + * '' : 'HVAC_model/AUTO/Determine directions FR/direction for front index mode' + * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR Bi Level' + * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR Foot' + * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR VENT AUTO' + * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR VENT AUTO1' + * '' : 'HVAC_model/AUTO/Determine directions RL/closest speed' + * '' : 'HVAC_model/AUTO/Determine directions RL/direction for REAR index mode' + * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR Bi Level' + * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR Foot' + * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR VENT AUTO' + * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR VENT AUTO1' + * '' : 'HVAC_model/AUTO/Determine directions RR/closest speed' + * '' : 'HVAC_model/AUTO/Determine directions RR/direction for REAR index mode1' + * '' : 'HVAC_model/Aroma logic/AromaLogic' + * '' : 'HVAC_model/Aroma logic/AromaLogic/ccuAromaLogic' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Autodemist_Actions_FL' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Autodemist_Actions_FR' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Calculate_Autodemist_Level' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/MATLAB Function' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/autodemist to dbg' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/autodemist to dbg/MATLAB Function' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/AF for MAX AC' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Autodemist offset FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Autodemist offset FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Glass Position Limo FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Glass Position Limo FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Individual foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Individual foot1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Foor + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Hi_Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Tri-Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Vent mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Foor + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Hi_Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Tri-Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Vent mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Bi Level R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Foot R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Vent mode R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Bi Level R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Foot R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Vent mode R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FL/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FR/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RL/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RR/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/MAX1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/MIN1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/MAX1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/MIN1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction max' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction rate' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction_start_time' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/is_ending_with_5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction max' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction rate' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction_start_time' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/is_ending_with_5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/MAX' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/MIN' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/MAX' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/MIN' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FL/FL AF * percent DRS' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FL/param index for mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR/FL AF * percent DRS' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR/param index for mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL/RL AF * percent DRS' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL/param index for mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR/RR AF * percent DRS' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR/param index for mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/2WVR and 3WVF open ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/2WVR and 3WVF open ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/2WVR open ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant2' + * '' : 'HVAC_model/CAN INPUT/EMS_veh_02 BMS Actual Temp' + * '' : 'HVAC_model/CAN INPUT/Missing messages' + * '' : 'HVAC_model/CAN INPUT/Reset values' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode' + * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro' + * '' : 'HVAC_model/CAN INPUT/Subsystem1' + * '' : 'HVAC_model/CAN INPUT/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/Subsystem4' + * '' : 'HVAC_model/CAN INPUT/Subsystem45' + * '' : 'HVAC_model/CAN INPUT/Subsystem46' + * '' : 'HVAC_model/CAN INPUT/Subsystem47' + * '' : 'HVAC_model/CAN INPUT/Subsystem48' + * '' : 'HVAC_model/CAN INPUT/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/Subsystem50' + * '' : 'HVAC_model/CAN INPUT/Subsystem51' + * '' : 'HVAC_model/CAN INPUT/Subsystem52' + * '' : 'HVAC_model/CAN INPUT/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/Subsystem62' + * '' : 'HVAC_model/CAN INPUT/Subsystem63' + * '' : 'HVAC_model/CAN INPUT/Subsystem64' + * '' : 'HVAC_model/CAN INPUT/Subsystem7' + * '' : 'HVAC_model/CAN INPUT/Subsystem8' + * '' : 'HVAC_model/CAN INPUT/Subsystem9' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter' + * '' : 'HVAC_model/CAN INPUT/write powerDownStatus' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter' + * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter/filter sensor' + * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter/is 3 sec after T15 passed' + * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter' + * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter/filter sensor' + * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter/is 3 sec after T15 passed' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/AC_Max_Active' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant2' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant4' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant5' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant6' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Compare To Constant7' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Defrost_Active' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase2' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase4' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase5' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase6' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Detect Increase7' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Front Window Heating' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Full_Rec_Active' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem10' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem11' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem12' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem13' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem14' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem15' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem16' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem17' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem18' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem19' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem20' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem21' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem22' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem23' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem24' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem25' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem26' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem27' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem28' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem29' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem30' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem31' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem32' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem33' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem34' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem35' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem36' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem37' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem38' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem39' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem4' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem40' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem41' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem42' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem43' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem7' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem8' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem9' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/filter for FIU_CCU1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/filter for FIU_CCU2' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action2' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action4' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem1/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem24/full sync action' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem24/sync front action' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem24/sync off action' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44/sync off rear action' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44/sync rear action' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44/sync off rear action/logger' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/Subsystem44/sync rear action/logger' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/filter for FIU_CCU1/EAC and FIRE filter' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/filter for FIU_CCU1/MAC_AC filter' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/filter for FIU_CCU1/maxDeff filter' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/filter for FIU_CCU2/EAC and FIRE filter' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action/sync front action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action/sync front action3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action1/sync front action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action1/sync front action3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action2/sync front action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action2/sync front action3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action4/sync front action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/if action4/sync front action3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/is 3 sec after T15 passed' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Èíèöèàëèçàöèÿ òåìïåðàòóðû' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Calculate delta time' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Coolant temp threshold' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Subsystem' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Almost equal' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ñêîðîñòè/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Almost equal' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Áûñòðî èç-çà ôëàãà/Subsystem Reference/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Almost equal' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íîå ïîíèæåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "ïðîãðåòîãî" äâèãàòåëÿ/Âû÷èñëåíèå äëÿ äâèæóùåãîñÿ àâòî/Ìåäëåííî/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/ãðàíèöû' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Almost equal' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîíèæåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà îïóñêàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Îòêëþ÷àåì óñêîðåííûé ðåæèì/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/âêëþ÷åí óñêîðåííûé ðåæèì/Ïðîäîëæàåì â óñêîðåííîì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/âêëþ÷àåì óñêîðåííûé ðåæèì/óñêîðåííîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Ôèëüòðàöèÿ òåìïåðàòóðû/Ðåæèì "õîëîäíîãî" äâèãàòåëÿ/Åñëè òåìïåðàòóðà ïîäíèìàåòñÿ/îáû÷íûé ðåæèì/îáû÷íûé ðåæèì ïîâûøåíèÿ/îáû÷íîå ïîâûøåíèå òåìï.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error/sensor OK' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error/sensor error' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem4' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem5' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem6' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem7' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem8' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem9' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear' + * '' : 'HVAC_model/Different blower Rear/valves_rear' + * '' : 'HVAC_model/Different blower Rear/valves_rear1' + * '' : 'HVAC_model/Different blower Rear/óñëîâèå âõîäà' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ ' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/MATLAB Function' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/coefficients for valves' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïëîùàäü ñå÷åíèÿ çàñëîíîê' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïóíêò 21-23 (DRS for valves)' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïóíêò 24 (DRS for AF)' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïóíêò 25' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/ïóíêòû 18-20' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/òàáëèöà D184-E190 (Step 7 Minimum damper opening factor)' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /B-Pillar_ - % damper opening' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function1' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function2' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function3' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function4' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function5' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function6' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Îïðåäåëÿåì ïëîùàäü ñå÷åíèÿ /MATLAB Function7' + * '' : 'HVAC_model/Electric Autodemist/Subsystem' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/EmergencyAirCleaning' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function1' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function2' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function3' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function4' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function5' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_Limo_RL' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_Limo_RR' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_RL' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_RR' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem1' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem2' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem3' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem5' + * '' : 'HVAC_model/HI LO modes/LO HI mode - FR' + * '' : 'HVAC_model/HI LO modes/LO HI mode RL' + * '' : 'HVAC_model/HI LO modes/LO HI mode RR' + * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL' + * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/HI mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/LO mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/not LO or HI' + * '' : 'HVAC_model/HI LO modes/LO HI mode RL/HI mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode RL/LO mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode RL/not LO or HI' + * '' : 'HVAC_model/HI LO modes/LO HI mode RR/HI mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode RR/LO mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode RR/not LO or HI' + * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/HI mode' + * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/LO mode' + * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/not LO or HI' + * '' : 'HVAC_model/Ionizer/Subsystem' + * '' : 'HVAC_model/Ionizer/write 1 to ionizer' + * '' : 'HVAC_model/LIN/CHANEL0' + * '' : 'HVAC_model/LIN/CHANEL1' + * '' : 'HVAC_model/LIN/CHANEL2' + * '' : 'HVAC_model/LIN/CHANEL3' + * '' : 'HVAC_model/LIN/CHANEL4' + * '' : 'HVAC_model/LIN/Chart' + * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL0/Homing' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall 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/Count step actuator/max position' + * '' : '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/Count step actuator/max position' + * '' : '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/Count step actuator/max position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive1' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive2' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive3' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive4' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive5' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive6' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive7' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem5' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem6' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem7' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive1/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive2/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive3/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive4/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive5/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive6/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive7/Positive' + * '' : 'HVAC_model/LO HI status for dbg/MATLAB Function1' + * '' : 'HVAC_model/Leaving the garage/Subsystem' + * '' : 'HVAC_model/Leaving the garage/Subsystem/Compare To Zero' + * '' : 'HVAC_model/MAC AC - new/MAX AC' + * '' : 'HVAC_model/MAC AC - new/MAX AC/MATLAB Function' + * '' : 'HVAC_model/MAC AC - new/MAX AC/MATLAB Function1' + * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1' + * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1/MATLAB Function' + * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1/MATLAB Function1' + * '' : 'HVAC_model/Operation mode - Full, Reduced, etc/Operation mode' + * '' : 'HVAC_model/Operation mode - Full, Reduced, etc/any message from FIU or TM_CP' + * '' : 'HVAC_model/PID Compressor/Compare To Constant1' + * '' : 'HVAC_model/PID Compressor/MATLAB Function' + * '' : 'HVAC_model/PID Compressor/MATLAB Function1' + * '' : 'HVAC_model/PID Compressor/PID' + * '' : 'HVAC_model/PID Compressor/PID/Saturation Dynamic' + * '' : 'HVAC_model/PID Compressor/PID/Saturation Dynamic3' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Left Lower sensor choose' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Left Upper sensor choose' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Right Lower sensor choose' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Right Upper sensor choose' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_FLL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_FLU' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_FRL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_FRU' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_RL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/LO_RR' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function1' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function2' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function3' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function4' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/MATLAB Function5' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/PID_TempFLL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/PID_TempFRL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/PID_TempFUL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/PID_TempFUR' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/PID_TempRL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/PID_TempRR' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/calculate dt' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/óñëîâèå óïðàâëåíèÿ FL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/óñëîâèå óïðàâëåíèÿ FL1' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/óñëîâèå óïðàâëåíèÿ FR' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/óñëîâèå óïðàâëåíèÿ FR1' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/óñëîâèå óïðàâëåíèÿ RL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/óñëîâèå óïðàâëåíèÿ RR' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Left Lower sensor choose/choose sensor FLL' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Left Upper sensor choose/choose sensor FRU' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Right Lower sensor choose/choose sensor FRightLower' + * '' : 'HVAC_model/PID duct - ÏÈÄ ðåãóëÿòîð çàñëîíîê/Front Right Upper sensor choose/choose sensor FRU' + * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp' + * '' : 'HVAC_model/PWM + Blower Limit/Operation mode is Full mode' + * '' : 'HVAC_model/PWM + Blower Limit/Write' + * '' : 'HVAC_model/PWM + Blower Limit/Write1' + * '' : 'HVAC_model/PWM + Blower Limit/Write2' + * '' : 'HVAC_model/PWM + Blower Limit/Write3' + * '' : 'HVAC_model/PWM + Blower Limit/calculate dt' + * '' : 'HVAC_model/PWM + Blower Limit/calculate dt1' + * '' : 'HVAC_model/PWM + Blower Limit/different blower rear' + * '' : 'HVAC_model/PWM + Blower Limit/filter PWM front' + * '' : 'HVAC_model/PWM + Blower Limit/filter PWM front1' + * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp/blowerControlBySOC' + * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp/blowerLimitByBattTemp' + * '' : 'HVAC_model/Power/Compare To Zero' + * '' : 'HVAC_model/Power/Compare To Zero1' + * '' : 'HVAC_model/Power/Compare To Zero2' + * '' : 'HVAC_model/Power/incar motors OFF' + * '' : 'HVAC_model/Power/incar motors ON' + * '' : 'HVAC_model/Recirculation_by_Door_Ajar/ClimatRecirculation_by_Door_Ajar' + * '' : 'HVAC_model/Recirculation_by_Door_Ajar/ClimatRecirculation_by_Door_Ajar/recirc_by_door_ajar' + * '' : 'HVAC_model/Synchronization (SYNC)/Synchronization stateflow chart' + * '' : 'HVAC_model/Synchronization (SYNC)/sync all' + * '' : 'HVAC_model/Synchronization (SYNC)/sync front' + * '' : 'HVAC_model/Synchronization (SYNC)/sync rear' + * '' : 'HVAC_model/Synchronization (SYNC)/sync all/all zone sync' + * '' : 'HVAC_model/Synchronization (SYNC)/sync front/front sync' + * '' : 'HVAC_model/Synchronization (SYNC)/sync rear/rear sync' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RR' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Individual foot' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Individual foot1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Max Def & MAC AC front valves' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/autodemist valves' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/different blower rear' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/foot 2 control' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/join left and right front' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/join left and right rear' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode ' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RL/RL valves * percent DRS' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RL/param index for mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RR/RR valves * percent DRS' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/DRS Valves RR/param index for mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/if HI full 4 zones' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL/is FL manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL/is FR manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL/is RL manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL/is RR manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL/is FL manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL/is FR manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL/is RL manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL/is RR manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/if HI full 4 zones' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL/is FL manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI front/ãäå ðåæèì HI front È MANUAL/is FR manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL/is RL manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/HI logic manual/HI rear/ãäå ðåæèì HI rear È MANUAL/is RR manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO front È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL/is FL manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO/ãäå ðåæèì LO front È MANUAL/is FR manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL/is RL manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode FL1/LO logic manual/LO rear/ãäå ðåæèì LO rear È MANUAL/is RR manual' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/ãäå ðåæèì HI rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/ãäå ðåæèì LO rear È AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/Max Def & MAC AC front valves/Close Foot2 Valves (0%)' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front/MODE_for_set_and_lvl' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front/MODE_for_set_and_lvl1' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front/valves_front_left' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/front/valves_front_right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/MODE_by_duct_tg_R_for_LVL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óâåëè÷èâàåòñÿ RL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óâåëè÷èâàåòñÿ RR' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óìåíüøàåòñÿ RL' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óìåíüøàåòñÿ RR' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/valves_rear_left' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/valves_rear_right' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óâåëè÷èâàåòñÿ RL/increase' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óâåëè÷èâàåòñÿ RR/increase' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óìåíüøàåòñÿ RL/decrease' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in auto mode/rear/duct_tg óìåíüøàåòñÿ RR/decrease' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves left - manual directions' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves right - manual directions' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Foot' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Foot' + * '' : 'HVAC_model/Valves auto or manual (çàñëîíêè)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/valves for Vent mode' + * '' : 'HVAC_model/dbg CAN/Auto_Valve_Plus to dbg' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg' + * '' : 'HVAC_model/dbg CAN/DRS to dbg' + * '' : 'HVAC_model/dbg CAN/LIN_AirQS to dbg' + * '' : 'HVAC_model/dbg CAN/LIN_Aroma to dbg' + * '' : 'HVAC_model/dbg CAN/LIN_Ionizer to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_Rec to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_State to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_Valve to dbg' + * '' : 'HVAC_model/dbg CAN/PID valves to dbg' + * '' : 'HVAC_model/dbg CAN/Sen 0 to dbg' + * '' : 'HVAC_model/dbg CAN/actuators to dbg' + * '' : 'HVAC_model/dbg CAN/autoAF dbg' + * '' : 'HVAC_model/dbg CAN/autoduct dbg' + * '' : 'HVAC_model/dbg CAN/blower to dbg' + * '' : 'HVAC_model/dbg CAN/dbg_Act_calibration_error_model to dbg' + * '' : 'HVAC_model/dbg CAN/dbg_Act_calibration_model to dbg1' + * '' : 'HVAC_model/dbg CAN/dbg_Sen_Amb to dbg (ambient temp)' + * '' : 'HVAC_model/dbg CAN/dbg_Sen_Incar to dbg' + * '' : 'HVAC_model/dbg CAN/dbg_sen_Demist to dbg' + * '' : 'HVAC_model/dbg CAN/dbg_sen_duct (ACP duct sensors) to dbg' + * '' : 'HVAC_model/dbg CAN/sen_eva (evaporator) to dbg' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem1' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem2' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem3' + * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg/WinterAC_state_Front' + * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg/WinterAC_state_Rear' + * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg/WinterAC_state_Front/MATLAB Function' + * '' : 'HVAC_model/dbg CAN/Logic_Ac to dbg/WinterAC_state_Rear/MATLAB Function' + * '' : 'HVAC_model/dbg CAN/Logic_State to dbg/select operation mode' */ #endif /* HVAC_model_h_ */ diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model_data.c b/MODULES/HVAC_M7_MODEL/HVAC_model_data.c index d143c32..e6583bd 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model_data.c +++ b/MODULES/HVAC_M7_MODEL/HVAC_model_data.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1745 + * Model version : 1.1867 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 14 15:54:54 2026 + * C/C++ source code generated on : Tue Oct 27 14:12:31 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,98 +91,98 @@ 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: demistLVLdew_point_diff_maxIndex - * Referenced by: '/demist LVL (dew_point_diff)' + * Referenced by: '/demist LVL (dew_point_diff)' */ { 120U, 100U }, /* Pooled Parameter (Expression: [170:10:290]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ { 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290 }, /* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 ])) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' */ { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 836, 818, 800, 784, 769, 754, 740, 727, 714, 702, 691, 680, 670, @@ -260,140 +260,132 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: int16([-50 -40 -30 -20 -10 0 10 20 30 40 50])) * Referenced by: - * '/AUTODEMIST_OFFSET_LEFT' - * '/AUTODEMIST_OFFSET_RIGHT' + * '/AUTODEMIST_OFFSET_LEFT' + * '/AUTODEMIST_OFFSET_RIGHT' */ { -50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50 }, /* Pooled Parameter (Expression: [0, 25, 50, 100]) * Referenced by: - * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' - * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' */ { 0, 25, 50, 100 }, /* Pooled Parameter (Expression: [170, 180, 190, 200]) * Referenced by: - * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' - * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' */ { 170, 180, 190, 200 }, - /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) - * Referenced by: - * '/1-D Lookup Table' - * '/Get LVL for temp' + /* Computed Parameter: GetLVLfortemp_tableData + * Referenced by: '/Get LVL for temp' */ { 5, 4, 3, 2, 1, 0 }, /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ { -1000, -50, -10, 5, 20, 65 }, /* Computed Parameter: Max_Def_U_Dtg_bp01Data - * Referenced by: '/Max_Def_U_Dtg' + * Referenced by: '/Max_Def_U_Dtg' */ { -300, -200, -100, 0, 100, 200, 300, 400, 500, 600 }, /* Expression: int16([-10,0, 20, 50, 60, 70]) - * Referenced by: '/Max_blower_speed' + * Referenced by: '/Max_blower_speed' */ { -10, 0, 20, 50, 60, 70 }, /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Âûáîð ðåæèìà Left' - * '/Âûáîð ðåæèìà Right' + * '/Âûáîð ðåæèìà Left' + * '/Âûáîð ðåæèìà Right' */ { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 }, - /* Pooled Parameter (Expression: Incar_Temp_Table) + /* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400])) * Referenced by: - * '/1-D Lookup Table2' - * '/1-D Lookup Table4' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table7' */ { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, - 837, 816, 797, 780, 763, 748, 733, 719, 706, 693, 681, 670, 659, 648, 638, - 628, 619, 610, 601, 593, 584, 577, 569, 562, 555, 548, 541, 534, 528, 521, - 515, 509, 503, 498, 492, 487, 481, 476, 471, 466, 461, 457, 452, 447, 443, - 438, 434, 430, 425, 421, 417, 413, 409, 405, 401, 398, 394, 390, 387, 383, - 380, 376, 373, 370, 366, 363, 360, 357, 354, 351, 348, 345, 342, 339, 336, - 333, 330, 327, 324, 322, 319, 316, 314, 311, 308, 306, 303, 301, 298, 296, - 293, 291, 289, 286, 284, 281, 279, 277, 275, 272, 270, 268, 266, 264, 262, - 259, 257, 255, 253, 251, 249, 247, 245, 243, 241, 239, 237, 235, 233, 231, - 229, 228, 226, 224, 222, 220, 218, 217, 215, 213, 211, 210, 208, 206, 204, - 203, 201, 199, 198, 196, 194, 193, 191, 190, 188, 186, 185, 183, 182, 180, - 178, 177, 175, 174, 172, 171, 169, 168, 166, 165, 163, 162, 161, 159, 158, - 156, 155, 153, 152, 151, 149, 148, 146, 145, 144, 142, 141, 140, 138, 137, - 136, 134, 133, 132, 130, 129, 128, 127, 125, 124, 123, 122, 120, 119, 118, - 117, 115, 114, 113, 112, 110, 109, 108, 107, 106, 105, 103, 102, 101, 100, - 99, 98, 96, 95, 94, 93, 92, 91, 90, 88, 87, 86, 85, 84, 83, 82, 81, 80, 78, - 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 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, 25, 25, 24, 23, 22, - 21, 20, 19, 18, 17, 16, 15, 14, 14, 13, 12, 11, 10, 9, 8, 7, 6, 6, 5, 4, 3, - 2, 1, 0, 0, 0, -1, -2, -3, -4, -5, -6, -6, -7, -8, -9, -10, -11, -11, -12, - -13, -14, -15, -16, -17, -17, -18, -19, -20, -21, -22, -22, -23, -24, -25, - -26, -26, -27, -28, -29, -30, -30, -31, -32, -33, -34, -34, -35, -36, -37, - -38, -38, -39, -40, -41, -42, -42, -43, -44, -45, -45, -46, -47, -48, -49, - -49, -50, -51, -52, -52, -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, -80, -80, -81, -82, -83, - -83, -84, -85, -85, -86, -87, -88, -88, -89, -90, -91, -91, -92, -93, -93, - -94, -95, -96, -96, -97, -98, -98, -99, -100, -101, -101, -102, -103, -103, - -104, -105, -106, -106, -107, -108, -108, -109, -110, -111, -111, -112, -113, - -113, -114, -115, -116, -116, -117, -118, -118, -119, -120, -120, -121, -122, - -123, -123, -124, -125, -125, -126, -127, -127, -128, -129, -129, -130, -131, - -132, -132, -133, -134, -134, -135, -136, -136, -137, -138, -138, -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, -163, -163, -164, -165, -165, -166, -167, - -167, -168, -169, -169, -170, -171, -171, -172, -173, -173, -174, -175, -176, - -176, -177, -178, -178, -179, -180, -180, -181, -182, -182, -183, -184, -184, - -185, -186, -186, -187, -188, -189, -189, -190, -191, -191, -192, -193, -193, - -194, -195, -195, -196, -197, -197, -198, -199, -199, -200, -201, -202, -202, - -203, -204, -204, -205, -206, -206, -207, -208, -208, -209, -210, -211, -211, - -212, -213, -213, -214, -215, -215, -216, -217, -217, -218, -219, -220, -220, - -221, -222, -222, -223, -224, -224, -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, -246, -246, -247, -248, - -248, -249, -250, -251, -251, -252, -253, -253, -254, -255, -256, -256, -257, - -258, -259, -259, -260, -261, -261, -262, -263, -264, -264, -265, -266, -267, - -267, -268, -269, -270, -270, -271, -272, -272, -273, -274, -275, -275, -276, - -277, -278, -278, -279, -280, -281, -281, -282, -283, -284, -285, -285, -286, - -287, -288, -288, -289, -290, -291, -291, -292, -293, -294, -294, -295, -296, - -297, -298, -298, -299, -300, -301, -301, -302, -303, -304, -305, -305, -306, - -307, -308, -309, -309, -310, -311, -312, -313, -313, -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, -346, -346, -347, -348, -349, -350, - -351, -352, -353, -354, -355, -355, -356, -357, -358, -359, -360, -361, -362, - -363, -364, -365, -366, -367, -368, -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, -400, -400, + 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, + 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, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400, -400, -400 }, + -400, -400, -400 }, /* Pooled Parameter (Mixed Expressions) * Referenced by: - * '/1-D Lookup Table4' - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, @@ -472,83 +464,89 @@ const ConstP rtConstP = { 4000, 4004, 4008, 4012, 4016, 4020, 4024, 4028, 4032, 4036, 4040, 4044, 4048, 4052, 4056, 4060, 4064, 4068, 4072, 4076, 4080, 4084, 4088, 4092 }, - /* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400])) + /* Pooled Parameter (Expression: Incar_Temp_Table) * Referenced by: - * '/1-D Lookup Table4' - * '/1-D Lookup Table7' + * '/1-D Lookup Table2' + * '/1-D Lookup Table4' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' */ { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, - 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, - 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, - 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, - 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, - 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, + 837, 816, 797, 780, 763, 748, 733, 719, 706, 693, 681, 670, 659, 648, 638, + 628, 619, 610, 601, 593, 584, 577, 569, 562, 555, 548, 541, 534, 528, 521, + 515, 509, 503, 498, 492, 487, 481, 476, 471, 466, 461, 457, 452, 447, 443, + 438, 434, 430, 425, 421, 417, 413, 409, 405, 401, 398, 394, 390, 387, 383, + 380, 376, 373, 370, 366, 363, 360, 357, 354, 351, 348, 345, 342, 339, 336, + 333, 330, 327, 324, 322, 319, 316, 314, 311, 308, 306, 303, 301, 298, 296, + 293, 291, 289, 286, 284, 281, 279, 277, 275, 272, 270, 268, 266, 264, 262, + 259, 257, 255, 253, 251, 249, 247, 245, 243, 241, 239, 237, 235, 233, 231, + 229, 228, 226, 224, 222, 220, 218, 217, 215, 213, 211, 210, 208, 206, 204, + 203, 201, 199, 198, 196, 194, 193, 191, 190, 188, 186, 185, 183, 182, 180, + 178, 177, 175, 174, 172, 171, 169, 168, 166, 165, 163, 162, 161, 159, 158, + 156, 155, 153, 152, 151, 149, 148, 146, 145, 144, 142, 141, 140, 138, 137, + 136, 134, 133, 132, 130, 129, 128, 127, 125, 124, 123, 122, 120, 119, 118, + 117, 115, 114, 113, 112, 110, 109, 108, 107, 106, 105, 103, 102, 101, 100, + 99, 98, 96, 95, 94, 93, 92, 91, 90, 88, 87, 86, 85, 84, 83, 82, 81, 80, 78, + 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 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, 25, 25, 24, 23, 22, + 21, 20, 19, 18, 17, 16, 15, 14, 14, 13, 12, 11, 10, 9, 8, 7, 6, 6, 5, 4, 3, + 2, 1, 0, 0, 0, -1, -2, -3, -4, -5, -6, -6, -7, -8, -9, -10, -11, -11, -12, + -13, -14, -15, -16, -17, -17, -18, -19, -20, -21, -22, -22, -23, -24, -25, + -26, -26, -27, -28, -29, -30, -30, -31, -32, -33, -34, -34, -35, -36, -37, + -38, -38, -39, -40, -41, -42, -42, -43, -44, -45, -45, -46, -47, -48, -49, + -49, -50, -51, -52, -52, -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, -80, -80, -81, -82, -83, + -83, -84, -85, -85, -86, -87, -88, -88, -89, -90, -91, -91, -92, -93, -93, + -94, -95, -96, -96, -97, -98, -98, -99, -100, -101, -101, -102, -103, -103, + -104, -105, -106, -106, -107, -108, -108, -109, -110, -111, -111, -112, -113, + -113, -114, -115, -116, -116, -117, -118, -118, -119, -120, -120, -121, -122, + -123, -123, -124, -125, -125, -126, -127, -127, -128, -129, -129, -130, -131, + -132, -132, -133, -134, -134, -135, -136, -136, -137, -138, -138, -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, -163, -163, -164, -165, -165, -166, -167, + -167, -168, -169, -169, -170, -171, -171, -172, -173, -173, -174, -175, -176, + -176, -177, -178, -178, -179, -180, -180, -181, -182, -182, -183, -184, -184, + -185, -186, -186, -187, -188, -189, -189, -190, -191, -191, -192, -193, -193, + -194, -195, -195, -196, -197, -197, -198, -199, -199, -200, -201, -202, -202, + -203, -204, -204, -205, -206, -206, -207, -208, -208, -209, -210, -211, -211, + -212, -213, -213, -214, -215, -215, -216, -217, -217, -218, -219, -220, -220, + -221, -222, -222, -223, -224, -224, -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, -246, -246, -247, -248, + -248, -249, -250, -251, -251, -252, -253, -253, -254, -255, -256, -256, -257, + -258, -259, -259, -260, -261, -261, -262, -263, -264, -264, -265, -266, -267, + -267, -268, -269, -270, -270, -271, -272, -272, -273, -274, -275, -275, -276, + -277, -278, -278, -279, -280, -281, -281, -282, -283, -284, -285, -285, -286, + -287, -288, -288, -289, -290, -291, -291, -292, -293, -294, -294, -295, -296, + -297, -298, -298, -299, -300, -301, -301, -302, -303, -304, -305, -305, -306, + -307, -308, -309, -309, -310, -311, -312, -313, -313, -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, -346, -346, -347, -348, -349, -350, + -351, -352, -353, -354, -355, -355, -356, -357, -358, -359, -360, -361, -362, + -363, -364, -365, -366, -367, -368, -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, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, - -400, -400, -400 }, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, -400, + -400, -400, -400, -400, -400 }, /* Expression: dewpoint_diff_table - * Referenced by: '/demist LVL (dew_point_diff)' + * Referenced by: '/demist LVL (dew_point_diff)' */ { 74, 75, 75, 76, 77, 77, 78, 79, 80, 80, 81, 82, 83, 83, 84, 85, 86, 87, 87, 88, 89, 90, 91, 91, 92, 93, 94, 95, 95, 96, 97, 98, 99, 99, 100, 101, 102, @@ -1253,7 +1251,7 @@ const ConstP rtConstP = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* Expression: temp_values - * Referenced by: '/demist LVL (dew_point_diff)' + * Referenced by: '/demist LVL (dew_point_diff)' */ { -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, @@ -1264,7 +1262,7 @@ const ConstP rtConstP = { 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80 }, /* Expression: hum_values - * Referenced by: '/demist LVL (dew_point_diff)' + * Referenced by: '/demist LVL (dew_point_diff)' */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, @@ -1275,67 +1273,67 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [170:10:290]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table1' - * '/1-D Lookup Table12' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table1' + * '/1-D Lookup Table12' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ { 170U, 180U, 190U, 200U, 210U, 220U, 230U, 240U, 250U, 260U, 270U, 280U, 290U }, /* Pooled Parameter (Expression: int16([0:4:4092])) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' */ { 0U, 4U, 8U, 12U, 16U, 20U, 24U, 28U, 32U, 36U, 40U, 44U, 48U, 52U, 56U, 60U, 64U, 68U, 72U, 76U, 80U, 84U, 88U, 92U, 96U, 100U, 104U, 108U, 112U, 116U, @@ -1429,222 +1427,228 @@ const ConstP rtConstP = { 4080U, 4084U, 4088U, 4092U }, /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ { 10U, 50U }, /* Pooled Parameter (Expression: [1050 1250 1175 1195 1315 1300 1485 1440 1195]) * Referenced by: * '/Data Store Memory121' - * '/ACT1' + * '/ACT1' + * '/ACT1' */ { 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U }, /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, + /* Pooled Parameter (Expression: [1225 1320 1270 1540 1480 1175 0 0 0]) + * Referenced by: + * '/Data Store Memory123' + * '/ACT1' + */ + { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U, 0U, 0U, 0U }, + /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, + /* Pooled Parameter (Expression: [3075 3075 1605 1840 1650 1635 1820 1650 0]) + * Referenced by: + * '/Data Store Memory124' + * '/ACT1' + */ + { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U, 0U }, + /* Computed Parameter: FRONT_HVAC_LIMITED_tableData - * Referenced by: '/FRONT_HVAC_LIMITED' + * Referenced by: '/FRONT_HVAC_LIMITED' */ { 1000U, 1000U, 800U, 600U, 400U, 200U }, /* Pooled Parameter (Expression: [0, 1, 2, 3, 4, 5]) * Referenced by: - * '/FRONT_HVAC_LIMITED' - * '/REAR_HVAC_LIMITED' + * '/FRONT_HVAC_LIMITED' + * '/REAR_HVAC_LIMITED' */ { 0U, 1U, 2U, 3U, 4U, 5U }, /* Computed Parameter: REAR_HVAC_LIMITED_tableData - * Referenced by: '/REAR_HVAC_LIMITED' + * Referenced by: '/REAR_HVAC_LIMITED' */ { 1000U, 1000U, 800U, 600U, 400U, 0U }, /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 100U, 100U, 100U, 0U }, /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 0U }, /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 100]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 100U, 100U, 100U, 100U }, /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 50]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 50U }, /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 100]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 100U }, /* Pooled Parameter (Expression: [100 100 100 100 20 0 20 0]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 100U, 100U, 100U, 100U, 20U, 0U, 20U, 0U }, /* Pooled Parameter (Expression: [100 100 100 100 20 20]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 100U, 100U, 100U, 100U, 20U, 20U }, /* Pooled Parameter (Expression: [70 40 40 70 100 100]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 70U, 40U, 40U, 70U, 100U, 100U }, /* Pooled Parameter (Expression: [100 100 100 100 0 0]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 100U, 100U, 100U, 100U, 0U, 0U }, /* Pooled Parameter (Expression: [0 0 100 100 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 0U, 0U, 100U, 100U, 0U }, - /* Computed Parameter: DataStoreMemory123_InitialValue - * Referenced by: '/Data Store Memory123' - */ - { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U, 0U, 0U, 0U }, - - /* Computed Parameter: DataStoreMemory124_InitialValue - * Referenced by: '/Data Store Memory124' - */ - { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U, 0U }, - /* Pooled Parameter (Expression: [1:7]) * Referenced by: - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ { 1U, 2U, 3U, 4U, 5U, 6U, 7U }, - /* Pooled Parameter (Expression: [0:7]) + /* Pooled Parameter (Mixed Expressions) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/Max_blower_speed_for_ui_step' */ { 0U, 1U, 2U, 3U, 4U, 5U, 6U, 7U }, - /* Pooled Parameter (Expression: [0:6]) - * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - */ - { 0U, 1U, 2U, 3U, 4U, 5U, 6U }, - /* Pooled Parameter (Expression: [10:10:110]) * Referenced by: - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' */ { 10U, 20U, 30U, 40U, 50U, 60U, 70U, 80U, 90U, 100U, 110U }, /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) * Referenced by: - * '/Constant3' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' + * '/Constant3' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' */ { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U }, /* Computed Parameter: Constant3_Value - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ { 1U, 2U, 3U, 4U, 5U, 6U }, /* Computed Parameter: Constant3_Value_d - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U }, /* Pooled Parameter (Expression: ) * Referenced by: - * '/Âûáîð ðåæèìà Left' - * '/Âûáîð ðåæèìà Right' + * '/Âûáîð ðåæèìà Left' + * '/Âûáîð ðåæèìà Right' */ - { 0U, 1U, 2U, 3U, 4U, 5U } + { 0U, 1U, 2U, 3U, 4U, 5U }, + + /* Pooled Parameter (Expression: [0:6]) + * Referenced by: + * '/1-D Lookup Table' + * '/1-D Lookup Table' + */ + { 0U, 1U, 2U, 3U, 4U, 5U, 6U } }; /* diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model_private.h b/MODULES/HVAC_M7_MODEL/HVAC_model_private.h index be771af..1f2b172 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model_private.h +++ b/MODULES/HVAC_M7_MODEL/HVAC_model_private.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1745 + * Model version : 1.1867 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 14 15:54:54 2026 + * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -78,6 +78,10 @@ extern int8_t look1_iu8lu64n56ts8Ds16_binlcs(uint8_t u0, const uint8_t bp0[], const int8_t table[], uint32_t maxIndex); extern int16_t look1_iu8lu64n48ts16Ds32_binlcs(uint8_t u0, const uint8_t bp0[], const int16_t table[], uint32_t maxIndex); +extern int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t + bp0[], const uint16_t table[], uint32_t maxIndex); +extern uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t + startIndex, uint32_t maxIndex); extern int16_t look1_is16lu64n32Ds32_binlcs(int16_t u0, const int16_t bp0[], const int16_t table[], uint32_t maxIndex); extern int16_t look1_is16lu64n32tu8Ds16Is16_binlcs(int16_t u0, const int16_t @@ -106,21 +110,21 @@ extern uint16_t look1_is16lu64n32tu16_binlcse(int16_t u0, const int16_t bp0[], const uint16_t table[], uint32_t maxIndex); extern uint16_t look1_iu8bu16lu64n32tu16_binlcse(uint8_t u0, const uint16_t bp0[], const uint16_t table[], uint32_t maxIndex); -extern double look1_bs16ts16DdId_binlc(double u0, const int16_t bp0[], const - int16_t table[], uint32_t maxIndex); extern double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex); extern uint8_t look1_iu8lu64n56_binlcse(uint8_t u0, const uint8_t bp0[], const uint8_t table[], uint32_t maxIndex); -extern uint32_t plook_u32s16_bincka(int16_t u_5, const int16_t bp[], uint32_t +extern uint32_t plook_u32s16_bincka(int16_t u_9, const int16_t bp[], uint32_t maxIndex); -extern uint32_t plook_u32d_bincka(double u_6, const double bp[], uint32_t +extern uint32_t plook_u32d_bincka(double u_a, const double bp[], uint32_t maxIndex); -extern uint32_t plook_u32d_binckan(double u_7, const double bp[], uint32_t +extern uint32_t plook_u32d_binckan(double u_d, const double bp[], uint32_t maxIndex); -extern uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t +extern uint32_t plook_u32u16_binckan(uint16_t u_e, const uint16_t bp[], uint32_t + maxIndex); +extern uint32_t binsearch_u32d(double u_i, const double bp[], uint32_t startIndex, uint32_t maxIndex); -extern uint32_t binsearch_u32d(double u_9, const double bp[], uint32_t +extern uint32_t binsearch_u32u16(uint16_t u_n, const uint16_t bp[], uint32_t startIndex, uint32_t maxIndex); extern int32_t div_nzp_s32_round(int32_t numerator, int32_t denominator); extern void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, @@ -159,6 +163,130 @@ extern void SwitchCaseActionSubsystem5(uint8_t rtu_valveindex, int8_t *rty_valve int16_t *rty_blower); extern void SwitchCaseActionSubsystem6(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower); +extern void g_assSTART_ENTER_INCAR_n(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level2(int8_t *rty_step); +extern void g_assSTART_ENTER_COOLANT_m(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const + int16_t *rtd_ECT, const uint8_t *rtd_LEVEL, const uint8_t + *rtd_LO_HI_MODE_FL); +extern void Level0(int8_t *rty_step); +extern void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out); +extern void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out); +extern void g_assSTART_COOLANT_STEP0_TO_1_c(uint8_t rtu_LVL, int16_t *rty_out); +extern void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out); +extern void MATLABFunction1_Init(DW_MATLABFunction1 *localDW); +extern void MATLABFunction1(uint32_t rtu_t_now, uint16_t rtu_time_delta, bool + *rty_timer_out, DW_MATLABFunction1 *localDW); +extern void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out); +extern void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out); +extern void windowheating(uint8_t rtu_LVL, uint8_t *rty_out); +extern void MATLABFunction1_a_Init(DW_MATLABFunction1_f *localDW); +extern void MATLABFunction1_j(uint32_t rtu_t_now, uint32_t rtu_time_delta, bool * + rty_timer_out, DW_MATLABFunction1_f *localDW); +extern void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out); +extern void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]); +extern void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]); +extern void uwayvalvestatus_m(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_d(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out); +extern void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out); +extern void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out); +extern void step_g(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_f(uint8_t rtu_LVL, uint8_t *rty_out); +extern void windowheating_o(uint8_t rtu_LVL, uint8_t *rty_out); +extern void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level3_Init(DW_Level3 *localDW); +extern void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t + *rtd_Blower_FL, uint8_t *rtd_Blower_FR, const uint8_t + *rtd_Blower_logic_FL, const uint8_t *rtd_CCU_MODE_FL, + uint16_t *rtd_Dtg_FLL, uint16_t *rtd_Dtg_FLR, uint16_t + *rtd_Dtg_FUL, uint16_t *rtd_Dtg_FUR, const int16_t + *rtd_Dtg_logic_FLL, const int16_t *rtd_Dtg_logic_FUL, uint8_t + *rtd_El_window_heating, const bool *rtd_HI_logic_on, uint8_t * + rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_FL, uint8_t *rtd_Mode_FL, uint8_t + *rtd_Mode_FR, const uint8_t *rtd_Mode_logic_FL, double + *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const uint32_t * + rtd_t_now, DW_Level3 *localDW); +extern void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front); +extern void g_ausSTART_ENTER_SETTEMP_i(uint8_t rtu_LVL, int16_t *rty_out); +extern void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out); +extern void g_assSTART_ENTER_COOLANT_m1(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4_j(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const + int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, const + uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR); +extern void incarfilterdown_m(uint8_t rtu_LVL, uint8_t *rty_out); +extern void incarfilterup_j(uint8_t rtu_LVL, uint8_t *rty_out); +extern void g_assSTART_COOLANT_STEP0_TO_1_j(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4_h(int8_t *rty_step1, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t + *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t *rtd_ECT, + uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_RR, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, uint8_t *rtd_Valve_2_way, uint8_t + *rtd_Valve_3_way); +extern void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Incartempgotofromstep1tostep2_m(uint8_t rtu_LVL, int16_t *rty_out); +extern void Timegotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out); +extern void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level0_c_Init(DW_Level0_h *localDW); +extern void Level0_g(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t + *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t + *rtd_Incar_RR, uint8_t *rtd_Incar_filter_down_value, + uint8_t *rtd_Incar_filter_up_value, const uint8_t + *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR, uint8_t + *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const + uint32_t *rtd_t_now, DW_Level0_h *localDW); +extern void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]); +extern void ECTminmax_j(uint8_t rtu_LVL, int16_t rty_out[2]); +extern void Level4_b_Init(DW_Level4_h *localDW); +extern void Level4_m(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t + *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t *rtd_ECT, + const int16_t *rtd_Incar_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_RR, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, double *rtd_Recirculation, uint8_t + *rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level4_h + *localDW); +extern void timeforstep_k(uint8_t rtu_LVL, uint8_t *rty_out); +extern void blowerstep_c(uint8_t rtu_LVL, uint16_t *rty_out); +extern void blowertimeforstep_k(uint8_t rtu_LVL, uint16_t *rty_out); +extern void step_a(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_dm(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level0_h_Init(DW_Level0_hr *localDW); +extern void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR, const + uint8_t *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_Dtg_logic_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_FL, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, const uint8_t *rtd_Mode_logic_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const + uint32_t *rtd_t_now, DW_Level0_hr *localDW); +extern void Level2_j_Init(DW_Level2_j *localDW); +extern void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR, const + uint8_t *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_Dtg_logic_RR, const bool + *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value, + uint8_t *rtd_Incar_filter_up_value, const uint8_t + *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL, uint8_t + *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t + *rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t + *rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level2_j + *localDW); extern void funcg_assAUTO_STEP_DUCT_TG_U(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t *rty_y); extern void funcg_assAUTO_STEP_DUCT_TG_L(uint8_t rtu_LVL, double rtu_AF_STEP, @@ -192,7 +320,6 @@ extern void g_ausINCARRATE_RISING_DIFF_F8(uint16_t extern void INCARRATE_RISING_DIFF_F7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F); extern void u_f(uint8_t rtu_lvl, uint16_t *rty_out); -extern void RL(int16_t rtu_temp_in, double *rty_temp_out); extern void AMBRATE_RISING_DIFF8(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R); extern void u_kk(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_R); extern void u_b(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R); @@ -207,6 +334,7 @@ extern void g_ausINCARRATE_RISING_DIFF_R8(uint16_t extern void INCARRATE_RISING_DIFF_R7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R); extern void u_b3(uint8_t rtu_lvl, uint16_t *rty_out); +extern void RL(int16_t rtu_temp_in, double *rty_temp_out); extern void AFAutoFoot(uint16_t rty_out[8]); extern void AFAutoFootsummer(uint16_t rty_out[8]); extern void AFBilevel(uint16_t rty_out[8]); @@ -223,13 +351,20 @@ extern void AFREARBiLevel(uint16_t rty_out[8]); extern void AFREARFoot(uint16_t rty_out[8]); extern void AFREARVENTAUTO(uint16_t rty_out[8]); extern void directionforREARindexmode(uint16_t rtu_index_mode, double rty_Y[4]); -extern void Zone_Climate_Logic_Auto_FL2_Init(uint8_t *rty_out_def, uint8_t - *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double - *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW); -extern void Zone_Climate_Logic_Auto_FL2(double rtu_btn_def, uint8_t rtu_btn_face, - uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, uint8_t - *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t - *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW); +extern void Zone_Climate_Logic_Auto_FL_Init(uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, + DW_Zone_Climate_Logic_Auto_FL *localDW); +extern void Zone_Climate_Logic_Auto_FL(uint8_t rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, + DW_Zone_Climate_Logic_Auto_FL *localDW); +extern void Zone_Climate_Logic_Auto_RL_Init(uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, + DW_Zone_Climate_Logic_Auto_RL *localDW); +extern void Zone_Climate_Logic_Auto_RL(uint8_t rtu_btn_def, uint8_t rtu_btn_face, + uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t *rty_out_def, uint8_t + *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, + DW_Zone_Climate_Logic_Auto_RL *localDW); extern void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out); diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model_types.h b/MODULES/HVAC_M7_MODEL/HVAC_model_types.h index 601ab12..58ee765 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model_types.h +++ b/MODULES/HVAC_M7_MODEL/HVAC_model_types.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1745 + * Model version : 1.1867 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 14 15:54:54 2026 + * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -1130,6 +1130,37 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_CmdCAN_FIU_CCU1_Bus_ +#define DEFINED_TYPEDEF_FOR_CmdCAN_FIU_CCU1_Bus_ + +typedef struct { + uint8_t FIU_TargetTempFL_Val_ro; + uint8_t FIU_FootTempCorFL_Req; + uint8_t FIU_TargetTempFR_Val_ro; + uint8_t FIU_FootTempCorFR_Req; + uint8_t FIU_CCmodeFL_Req; + uint8_t FIU_AirDirectionFL_Def_Req; + uint8_t FIU_AirDirectionFL_Face_Req; + uint8_t FIU_AirDirectionFL_Foot_Req; + uint8_t FIU_CCmodeFR_Req; + uint8_t FIU_AirDirectionFR_Def_Req; + uint8_t FIU_AirDirectionFR_Face_Req; + uint8_t FIU_AirDirectionFR_Foot_Req; + uint8_t FIU_BlowerSpeedFL_Req; + uint8_t FIU_BlowerSpeedFR_Req; + uint8_t FIU_CCautoModeFL_Req; + uint8_t FIU_CCautoModeFR_Req; + uint8_t FIU_Recirculation_Req; + uint8_t FIU_DeflectorSwDL_Req; + uint8_t FIU_DeflectorSwDR_Req; + uint8_t FIU_ACfrontOFF_Req; + uint8_t FIU_DeflectorSwFPL_Req; + uint8_t FIU_DeflectorSwFPR_Req; + uint8_t FIU_FrontZoneSync_Req; +} CmdCAN_FIU_CCU1_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_dbg_Sen_Demist_Bus_ #define DEFINED_TYPEDEF_FOR_dbg_Sen_Demist_Bus_ @@ -1398,37 +1429,6 @@ typedef struct { #endif -#ifndef DEFINED_TYPEDEF_FOR_CmdCAN_FIU_CCU1_Bus_ -#define DEFINED_TYPEDEF_FOR_CmdCAN_FIU_CCU1_Bus_ - -typedef struct { - uint8_t FIU_TargetTempFL_Val_ro; - uint8_t FIU_FootTempCorFL_Req; - uint8_t FIU_TargetTempFR_Val_ro; - uint8_t FIU_FootTempCorFR_Req; - uint8_t FIU_CCmodeFL_Req; - uint8_t FIU_AirDirectionFL_Def_Req; - uint8_t FIU_AirDirectionFL_Face_Req; - uint8_t FIU_AirDirectionFL_Foot_Req; - uint8_t FIU_CCmodeFR_Req; - uint8_t FIU_AirDirectionFR_Def_Req; - uint8_t FIU_AirDirectionFR_Face_Req; - uint8_t FIU_AirDirectionFR_Foot_Req; - uint8_t FIU_BlowerSpeedFL_Req; - uint8_t FIU_BlowerSpeedFR_Req; - uint8_t FIU_CCautoModeFL_Req; - uint8_t FIU_CCautoModeFR_Req; - uint8_t FIU_Recirculation_Req; - uint8_t FIU_DeflectorSwDL_Req; - uint8_t FIU_DeflectorSwDR_Req; - uint8_t FIU_ACfrontOFF_Req; - uint8_t FIU_DeflectorSwFPL_Req; - uint8_t FIU_DeflectorSwFPR_Req; - uint8_t FIU_FrontZoneSync_Req; -} CmdCAN_FIU_CCU1_Bus; - -#endif - #ifndef DEFINED_TYPEDEF_FOR_DW_STATE_Bus_ #define DEFINED_TYPEDEF_FOR_DW_STATE_Bus_ @@ -1512,6 +1512,71 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_dbg_Act_calibration_Bus_ +#define DEFINED_TYPEDEF_FOR_dbg_Act_calibration_Bus_ + +typedef struct { + uint8_t dbg_Act_calib_MultMsg_Idx; + uint16_t dbg_Act_calib_21_Rec; + uint16_t dbg_Act_calib_00_Def; + uint16_t dbg_Act_calib_18_TempL_FR; + uint16_t dbg_Act_calib_03_Foot_1FL; + uint16_t dbg_Act_calib_15_TempU_FL; + uint16_t dbg_Act_calib_06_Vent_SFR; + uint16_t dbg_Act_calib_12_Vent_CRR; + uint16_t dbg_Act_calib_09_Vent_SRL; + uint16_t dbg_Act_calib_22_OSA; + uint16_t dbg_Act_calib_01_Vent_SFL; + uint16_t dbg_Act_calib_04_Foot_2FL; + uint16_t dbg_Act_calib_07_Foot_1FR; + uint16_t dbg_Act_calib_10_Vent_CRL; + uint16_t dbg_Act_calib_13_Vent_SRR; + uint16_t dbg_Act_calib_16_TempL_FL; + uint16_t dbg_Act_calib_19_Temp_RL; + uint16_t dbg_Act_calib_11_Foot_RL; + uint16_t dbg_Act_calib_08_Foot_2FR; + uint16_t dbg_Act_calib_14_Foot_RR; + uint16_t dbg_Act_calib_05_Vent_CFR; + uint16_t dbg_Act_calib_17_TempU_FR; + uint16_t dbg_Act_calib_02_Vent_CFL; + uint16_t dbg_Act_calib_20_Temp_RR; + uint16_t dbg_Act_calib_23_SealingValve; +} dbg_Act_calibration_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_dbg_Act_calibration_error_Bus_ +#define DEFINED_TYPEDEF_FOR_dbg_Act_calibration_error_Bus_ + +typedef struct { + uint8_t dbg_Act_calib_00_Def_error; + uint8_t dbg_Act_calib_01_Vent_SFL_error; + uint8_t dbg_Act_calib_02_Vent_CFL_error; + uint8_t dbg_Act_calib_03_Foot_1FL_error; + uint8_t dbg_Act_calib_04_Foot_2FL_error; + uint8_t dbg_Act_calib_05_Vent_CFR_error; + uint8_t dbg_Act_calib_06_Vent_SFR_error; + uint8_t dbg_Act_calib_07_Foot_1FR_error; + uint8_t dbg_Act_calib_08_Foot_2FR_error; + uint8_t dbg_Act_calib_09_Vent_SRL_error; + uint8_t dbg_Act_calib_10_Vent_CRL_error; + uint8_t dbg_Act_calib_11_Foot_RL_error; + uint8_t dbg_Act_calib_12_Vent_CRR_error; + uint8_t dbg_Act_calib_13_Vent_SRR_error; + uint8_t dbg_Act_calib_14_Foot_RR_error; + uint8_t dbg_Act_calib_15_TempU_FL_error; + uint8_t dbg_Act_calib_16_TempL_FL_error; + uint8_t dbg_Act_calib_17_TempU_FR_error; + uint8_t dbg_Act_calib_18_TempL_FR_error; + uint8_t dbg_Act_calib_19_Temp_RL_error; + uint8_t dbg_Act_calib_20_Temp_RR_error; + uint8_t dbg_Act_calib_21_Rec_error; + uint8_t dbg_Act_calib_22_OSA_error; + uint8_t dbg_Act_calib_23_Sealing_error; +} dbg_Act_calibration_error_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_ActuatorCmdBusInput_ #define DEFINED_TYPEDEF_FOR_ActuatorCmdBusInput_ diff --git a/MODULES/HVAC_M7_MODEL/Model_Task.c b/MODULES/HVAC_M7_MODEL/Model_Task.c index 120188c..30ac158 100644 --- a/MODULES/HVAC_M7_MODEL/Model_Task.c +++ b/MODULES/HVAC_M7_MODEL/Model_Task.c @@ -59,6 +59,7 @@ void ModelTask_Init( tCanSpamReceiver *canSpamReceiver, tCanSpamTransmitter *canSpamTransmitter, + tCanSpamDebugReceiver *canSpamDebugReceiver, tCanSpamDebugTransmitter *canSpamDebugTransmitter, tDiagnostic *diagnostic, @@ -82,6 +83,8 @@ void ModelTask_Init( env->adc1Task = adc1Task; env->canSpamReceiver = canSpamReceiver; + env->canSpamDebugReceiver = canSpamDebugReceiver; + env->canSpamTransmitter = canSpamTransmitter; env->canSpamDebugTransmitter = canSpamDebugTransmitter; @@ -686,6 +689,11 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { // model_Status_Pwm_For_Model_input.Pwm_Rear = PWM_Get.pwmPercentRear * 10; //конец--------------------------------------------------ВХОД МОДЕЛИ PWM------------------------------------------------ +//начало--------------------------------------------------ВХОД МОДЕЛИ CAN DBG------------------------------------------- + + get_CanSpamDebugReceiver(env->canSpamDebugReceiver); + +//конец--------------------------------------------------ВХОД МОДЕЛИ CAN DBG-------------------------------------------- //начало--------------------------------------------------ВХОД МОДЕЛИ CAN----------------------------------------------- get_CanSpamReceiver(env->canSpamReceiver, env->GET_HVAC_VIN, &env->CAN_ERROR_MISSING, &env->CAN_TIME_MISSING); @@ -1022,6 +1030,8 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Demist, &rtY.dbg_Sen_Demist_model_out, sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Demist)); memcpy(&env->ccu_candb_dbg_tx.dbg_PID_tune, &rtY.dbg_PID_valve_model_out, sizeof(env->ccu_candb_dbg_tx.dbg_PID_tune)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Act_calibration, &rtY.dbg_Act_calibration_model_out, sizeof(env->ccu_candb_dbg_tx.dbg_Act_calibration)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Act_calibration_error, &rtY.dbg_Act_calibration_error_model_out, sizeof(env->ccu_candb_dbg_tx.dbg_Act_calibration_error)); //конец--------------------------------------------------ВЫХОД МОДЕЛИ ДЛЯ CAN------------------------------------------- diff --git a/MODULES/HVAC_M7_MODEL/Model_Task.h b/MODULES/HVAC_M7_MODEL/Model_Task.h index 4763986..fc483c9 100644 --- a/MODULES/HVAC_M7_MODEL/Model_Task.h +++ b/MODULES/HVAC_M7_MODEL/Model_Task.h @@ -27,6 +27,7 @@ typedef struct { tAdc0Task *adc0Task; tAdc1Task *adc1Task; tCanSpamReceiver *canSpamReceiver; + tCanSpamDebugReceiver *canSpamDebugReceiver; tCanSpamTransmitter *canSpamTransmitter; tCanSpamDebugTransmitter *canSpamDebugTransmitter; tGpios *gpios; @@ -109,6 +110,7 @@ void ModelTask_Init( tAdc1Task *adc1Task, tCanSpamReceiver *canSpamReceiver, tCanSpamTransmitter *canSpamTransmitter, + tCanSpamDebugReceiver *canSpamDebugReceiver, tCanSpamDebugTransmitter *canSpamDebugTransmitter, tDiagnostic *diagnostic, tCanUds *canUds,