diff --git a/MODULES/HVAC_M7_CAN_MATRIX/butl/ccu_candb-binutil.c b/MODULES/HVAC_M7_CAN_MATRIX/butl/ccu_candb-binutil.c index 407ba42..552bda8 100644 --- a/MODULES/HVAC_M7_CAN_MATRIX/butl/ccu_candb-binutil.c +++ b/MODULES/HVAC_M7_CAN_MATRIX/butl/ccu_candb-binutil.c @@ -145,6 +145,14 @@ uint32_t ccu_candb_Receive(ccu_candb_rx_t* _m, const uint8_t* _d, uint32_t _id, } } + if (_id == 0x245U) { + recid = Unpack_DMRL_Msg1_candb(&(_m->DMRL_Msg1), _d, dlc_); + } + + if (_id == 0x246U) { + recid = Unpack_DMRR_Msg1_candb(&(_m->DMRR_Msg1), _d, dlc_); + } + return recid; } diff --git a/MODULES/HVAC_M7_CAN_MATRIX/butl/ccu_candb-binutil.h b/MODULES/HVAC_M7_CAN_MATRIX/butl/ccu_candb-binutil.h index f873501..c1327b7 100644 --- a/MODULES/HVAC_M7_CAN_MATRIX/butl/ccu_candb-binutil.h +++ b/MODULES/HVAC_M7_CAN_MATRIX/butl/ccu_candb-binutil.h @@ -19,6 +19,10 @@ typedef struct BCM_EEM_t BCM_EEM; DMFR_Msg1_t DMFR_Msg1; DMFL_Msg1_t DMFL_Msg1; + + DMRL_Msg1_t DMRL_Msg1; + DMRR_Msg1_t DMRR_Msg1; + TM_Stat_t TM_Stat; TM_CP_t TM_CP; HVC_CCU_Status_Msg_t HVC_CCU_Status_Msg; @@ -56,6 +60,8 @@ typedef struct uint8_t BCM_EEM; uint8_t DMFR_Msg1; uint8_t DMFL_Msg1; + uint8_t DMRL_Msg1; + uint8_t DMRR_Msg1; uint8_t TM_Stat; uint8_t TM_CP; uint8_t HVC_CCU_Status_Msg; @@ -91,6 +97,8 @@ typedef struct uint32_t BCM_EEM; uint32_t DMFR_Msg1; uint32_t DMFL_Msg1; + uint32_t DMRL_Msg1; + uint32_t DMRR_Msg1; uint32_t TM_Stat; uint32_t TM_CP; uint32_t HVC_CCU_Status_Msg; diff --git a/MODULES/HVAC_M7_CAN_SPAM/CanSpamReceiver.c b/MODULES/HVAC_M7_CAN_SPAM/CanSpamReceiver.c index e4a2bbc..de29458 100644 --- a/MODULES/HVAC_M7_CAN_SPAM/CanSpamReceiver.c +++ b/MODULES/HVAC_M7_CAN_SPAM/CanSpamReceiver.c @@ -29,6 +29,8 @@ static const CAN_MonitorEntry_t g_can_monitors[] = { {BCM_EEM_CANID, &ccu_candb_rx.BCM_EEM.mon1, &ccu_candb_error_missing_rx.BCM_EEM, &ccu_candb_time_missing_rx.BCM_EEM}, {DMFR_Msg1_CANID, &ccu_candb_rx.DMFR_Msg1.mon1, &ccu_candb_error_missing_rx.DMFR_Msg1, &ccu_candb_time_missing_rx.DMFR_Msg1}, {DMFL_Msg1_CANID, &ccu_candb_rx.DMFL_Msg1.mon1, &ccu_candb_error_missing_rx.DMFL_Msg1, &ccu_candb_time_missing_rx.DMFL_Msg1}, + {DMRL_Msg1_CANID, &ccu_candb_rx.DMRL_Msg1.mon1, &ccu_candb_error_missing_rx.DMRL_Msg1, &ccu_candb_time_missing_rx.DMRL_Msg1}, + {DMRR_Msg1_CANID, &ccu_candb_rx.DMRR_Msg1.mon1, &ccu_candb_error_missing_rx.DMRR_Msg1, &ccu_candb_time_missing_rx.DMRR_Msg1}, {TM_Stat_CANID, &ccu_candb_rx.TM_Stat.mon1, &ccu_candb_error_missing_rx.TM_Stat, &ccu_candb_time_missing_rx.TM_Stat}, {TM_CP_CANID, &ccu_candb_rx.TM_CP.mon1, &ccu_candb_error_missing_rx.TM_CP, &ccu_candb_time_missing_rx.TM_CP}, {HVC_CCU_Status_Msg_CANID, &ccu_candb_rx.HVC_CCU_Status_Msg.mon1, &ccu_candb_error_missing_rx.HVC_CCU_Status_Msg, &ccu_candb_time_missing_rx.HVC_CCU_Status_Msg}, @@ -76,29 +78,31 @@ void CanSpamReceiver_Init(tCanSpamReceiver *env, g_can_monitors[CAN_IDX_BCM_EEM].monitor->timeout_cycle = BCM_EEM_CYC * 5; // 4 g_can_monitors[CAN_IDX_DMFR_MSG1].monitor->timeout_cycle = DMFR_Msg1_CYC * 5; // 5 g_can_monitors[CAN_IDX_DMFL_MSG1].monitor->timeout_cycle = DMFL_Msg1_CYC * 5; // 6 - g_can_monitors[CAN_IDX_TM_STAT].monitor->timeout_cycle = TM_Stat_CYC * 5; // 7 - g_can_monitors[CAN_IDX_TM_CP].monitor->timeout_cycle = TM_CP_CYC * 5; // 8 - g_can_monitors[CAN_IDX_HVC_CCU_STATUS_MSG].monitor->timeout_cycle = HVC_CCU_Status_Msg_CYC * 5; // 9 - g_can_monitors[CAN_IDX_BCM_VEH_STATE].monitor->timeout_cycle = BCM_VEH_STATE_CYC * 5; // 10 - g_can_monitors[CAN_IDX_EMS_HVC_REQ_MSG].monitor->timeout_cycle = EMS_HVC_Req_Msg_CYC * 5; // 11 - g_can_monitors[CAN_IDX_HVC_ERR_STATUS_MSG].monitor->timeout_cycle = HVC_Err_Status_Msg_CYC * 5; // 12 - g_can_monitors[CAN_IDX_BCM_CLIMATIC_DATA].monitor->timeout_cycle = BCM_CLIMATIC_DATA_CYC * 5; // 13 - g_can_monitors[CAN_IDX_VCU_CCU_REQ].monitor->timeout_cycle = VCU_CCU_Req_CYC * 5; // 14 - g_can_monitors[CAN_IDX_ESC_08].monitor->timeout_cycle = ESC_08_CYC * 5; // 15 - g_can_monitors[CAN_IDX_SMFL_STATUS].monitor->timeout_cycle = SMFL_status_CYC * 5; // 16 - g_can_monitors[CAN_IDX_SMFR_STATUS].monitor->timeout_cycle = SMFR_status_CYC * 5; // 17 - g_can_monitors[CAN_IDX_SMRL_STATUS].monitor->timeout_cycle = SMRL_status_CYC * 5; // 18 - g_can_monitors[CAN_IDX_SMRR_STATUS].monitor->timeout_cycle = SMRR_status_CYC * 5; // 19 - g_can_monitors[CAN_IDX_SDM_CMD].monitor->timeout_cycle = 0; // 20 - g_can_monitors[CAN_IDX_VEH_VIN].monitor->timeout_cycle = 45000; // 21 - g_can_monitors[CAN_IDX_OCUFL_MSG].monitor->timeout_cycle = OCUFL_MSG_CYC * 5; // 22 - g_can_monitors[CAN_IDX_OCUFR_MSG].monitor->timeout_cycle = OCUFR_MSG_CYC * 5; // 23 - g_can_monitors[CAN_IDX_OCURL_MSG].monitor->timeout_cycle = OCURL_MSG_CYC * 5; // 24 - g_can_monitors[CAN_IDX_OCURR_MSG].monitor->timeout_cycle = OCURR_MSG_CYC * 5; // 25 - g_can_monitors[CAN_IDX_DW_STATE].monitor->timeout_cycle = DW_STATE_CYC * 5; // 26 - g_can_monitors[CAN_IDX_FIU_CCU1].monitor->timeout_cycle = 0; // 27 - g_can_monitors[CAN_IDX_FIU_CCU2].monitor->timeout_cycle = 0; // 28 - g_can_monitors[CAN_IDX_FIU_CCU3].monitor->timeout_cycle = 0; // 29 + g_can_monitors[CAN_IDX_DMRL_MSG1].monitor->timeout_cycle = DMRL_Msg1_CYC * 5; // 7 + g_can_monitors[CAN_IDX_DMRR_MSG1].monitor->timeout_cycle = DMRR_Msg1_CYC * 5; // 8 + g_can_monitors[CAN_IDX_TM_STAT].monitor->timeout_cycle = TM_Stat_CYC * 5; // 9 + g_can_monitors[CAN_IDX_TM_CP].monitor->timeout_cycle = TM_CP_CYC * 5; // 10 + g_can_monitors[CAN_IDX_HVC_CCU_STATUS_MSG].monitor->timeout_cycle = HVC_CCU_Status_Msg_CYC * 5; // 11 + g_can_monitors[CAN_IDX_BCM_VEH_STATE].monitor->timeout_cycle = BCM_VEH_STATE_CYC * 5; // 12 + g_can_monitors[CAN_IDX_EMS_HVC_REQ_MSG].monitor->timeout_cycle = EMS_HVC_Req_Msg_CYC * 5; // 13 + g_can_monitors[CAN_IDX_HVC_ERR_STATUS_MSG].monitor->timeout_cycle = HVC_Err_Status_Msg_CYC * 5; // 14 + g_can_monitors[CAN_IDX_BCM_CLIMATIC_DATA].monitor->timeout_cycle = BCM_CLIMATIC_DATA_CYC * 5; // 15 + g_can_monitors[CAN_IDX_VCU_CCU_REQ].monitor->timeout_cycle = VCU_CCU_Req_CYC * 5; // 16 + g_can_monitors[CAN_IDX_ESC_08].monitor->timeout_cycle = ESC_08_CYC * 5; // 17 + g_can_monitors[CAN_IDX_SMFL_STATUS].monitor->timeout_cycle = SMFL_status_CYC * 5; // 18 + g_can_monitors[CAN_IDX_SMFR_STATUS].monitor->timeout_cycle = SMFR_status_CYC * 5; // 19 + g_can_monitors[CAN_IDX_SMRL_STATUS].monitor->timeout_cycle = SMRL_status_CYC * 5; // 20 + g_can_monitors[CAN_IDX_SMRR_STATUS].monitor->timeout_cycle = SMRR_status_CYC * 5; // 21 + g_can_monitors[CAN_IDX_SDM_CMD].monitor->timeout_cycle = 0; // 22 + g_can_monitors[CAN_IDX_VEH_VIN].monitor->timeout_cycle = 45000; // 23 + g_can_monitors[CAN_IDX_OCUFL_MSG].monitor->timeout_cycle = OCUFL_MSG_CYC * 5; // 24 + g_can_monitors[CAN_IDX_OCUFR_MSG].monitor->timeout_cycle = OCUFR_MSG_CYC * 5; // 25 + g_can_monitors[CAN_IDX_OCURL_MSG].monitor->timeout_cycle = OCURL_MSG_CYC * 5; // 26 + g_can_monitors[CAN_IDX_OCURR_MSG].monitor->timeout_cycle = OCURR_MSG_CYC * 5; // 27 + g_can_monitors[CAN_IDX_DW_STATE].monitor->timeout_cycle = DW_STATE_CYC * 5; // 28 + g_can_monitors[CAN_IDX_FIU_CCU1].monitor->timeout_cycle = 0; // 29 + g_can_monitors[CAN_IDX_FIU_CCU2].monitor->timeout_cycle = 0; // 30 + g_can_monitors[CAN_IDX_FIU_CCU3].monitor->timeout_cycle = 0; // 31 // VIN // FrameMonitor_t *vin_mon = g_can_monitors[CAN_IDX_VEH_VIN].monitor; @@ -140,6 +144,10 @@ void CanSpamReceiver_Init(tCanSpamReceiver *env, env->ccu_candb_rx_DMFR_Msg1 = osMessageQueueNew(1, sizeof(rtDW.CCUCAN_DMFR_Msg1_model), NULL); env->ccu_candb_rx_DMFL_Msg1 = osMessageQueueNew(1, sizeof(rtDW.CCUCAN_DMFL_Msg1_model), NULL); + + env->ccu_candb_rx_DMRL_Msg1 = osMessageQueueNew(1, sizeof(rtDW.CCUCAN_DMRL_Msg1_model), NULL); + env->ccu_candb_rx_DMRR_Msg1 = osMessageQueueNew(1, sizeof(rtDW.CCUCAN_DMRR_Msg1_model), NULL); + env->ccu_candb_rx_DW_STATE = osMessageQueueNew(1, sizeof(rtDW.CCUCAN_DW_STATE_model), NULL); @@ -283,6 +291,26 @@ static void set_CanSpamReceiver(tCanSpamReceiver *env, uint32_t recid) { return; } + + countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_DMRL_Msg1); + if ((countQueue_ccu_candb_rx) && (recid == DMRL_Msg1_CANID)) { + status = osMessageQueuePut(env->ccu_candb_rx_DMRL_Msg1, &ccu_candb_rx.DMRL_Msg1, 0, 0U); + return; + } + + countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_DMRR_Msg1); + if ((countQueue_ccu_candb_rx) && (recid == DMRR_Msg1_CANID)) { + status = osMessageQueuePut(env->ccu_candb_rx_DMRR_Msg1, &ccu_candb_rx.DMRR_Msg1, 0, 0U); + return; + } + + + + + + + + countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_DW_STATE); if ((countQueue_ccu_candb_rx) && (recid == DW_STATE_CANID)) { status = osMessageQueuePut(env->ccu_candb_rx_DW_STATE, &ccu_candb_rx.DW_STATE, 0, 0U); @@ -552,6 +580,14 @@ void get_CanSpamReceiver(tCanSpamReceiver *env, char *VIN, ccu_candb_error_missi memset(&rtDW.CCUCAN_DMFL_Msg1_model, 0, sizeof(rtDW.CCUCAN_DMFL_Msg1_model)); } + if (CAN_ERROR_MISSING->DMRL_Msg1) { + memset(&rtDW.CCUCAN_DMRL_Msg1_model, 0, sizeof(rtDW.CCUCAN_DMRL_Msg1_model)); + } + + if (CAN_ERROR_MISSING->DMRR_Msg1) { + memset(&rtDW.CCUCAN_DMRR_Msg1_model, 0, sizeof(rtDW.CCUCAN_DMRR_Msg1_model)); + } + if (CAN_ERROR_MISSING->DW_STATE) { memset(&rtDW.CCUCAN_DW_STATE_model, 0, sizeof(rtDW.CCUCAN_DW_STATE_model)); } @@ -620,6 +656,22 @@ void get_CanSpamReceiver(tCanSpamReceiver *env, char *VIN, ccu_candb_error_missi status = osMessageQueueGet(env->ccu_candb_rx_DMFL_Msg1, &rtDW.CCUCAN_DMFL_Msg1_model, 0, 0U); } + + countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_DMRL_Msg1); + if (countQueue_ccu_candb_rx == 0) { + status = osMessageQueueGet(env->ccu_candb_rx_DMRL_Msg1, &rtDW.CCUCAN_DMRL_Msg1_model, 0, 0U); + } + + countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_DMRR_Msg1); + if (countQueue_ccu_candb_rx == 0) { + status = osMessageQueueGet(env->ccu_candb_rx_DMRR_Msg1, &rtDW.CCUCAN_DMRR_Msg1_model, 0, 0U); + } + + + + + + countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_DW_STATE); if (countQueue_ccu_candb_rx == 0) { status = osMessageQueueGet(env->ccu_candb_rx_DW_STATE, &rtDW.CCUCAN_DW_STATE_model, 0, 0U); diff --git a/MODULES/HVAC_M7_CAN_SPAM/CanSpamReceiver.h b/MODULES/HVAC_M7_CAN_SPAM/CanSpamReceiver.h index 2fa0f16..0be07c9 100644 --- a/MODULES/HVAC_M7_CAN_SPAM/CanSpamReceiver.h +++ b/MODULES/HVAC_M7_CAN_SPAM/CanSpamReceiver.h @@ -20,29 +20,31 @@ typedef enum { CAN_IDX_BCM_EEM, // 4 CAN_IDX_DMFR_MSG1, // 5 CAN_IDX_DMFL_MSG1, // 6 - CAN_IDX_TM_STAT, // 7 - CAN_IDX_TM_CP, // 8 - CAN_IDX_HVC_CCU_STATUS_MSG, // 9 - CAN_IDX_BCM_VEH_STATE, // 10 - CAN_IDX_EMS_HVC_REQ_MSG, // 11 - CAN_IDX_HVC_ERR_STATUS_MSG, // 12 - CAN_IDX_BCM_CLIMATIC_DATA, // 13 - CAN_IDX_VCU_CCU_REQ, // 14 - CAN_IDX_ESC_08, // 15 - CAN_IDX_SMFL_STATUS, // 16 - CAN_IDX_SMFR_STATUS, // 17 - CAN_IDX_SMRL_STATUS, // 18 - CAN_IDX_SMRR_STATUS, // 19 - CAN_IDX_SDM_CMD, // 20 - CAN_IDX_VEH_VIN, // 21 - CAN_IDX_OCUFL_MSG, // 22 - CAN_IDX_OCUFR_MSG, // 23 - CAN_IDX_OCURL_MSG, // 24 - CAN_IDX_OCURR_MSG, // 25 - CAN_IDX_DW_STATE, // 26 - CAN_IDX_FIU_CCU1, // 27 - CAN_IDX_FIU_CCU2, // 28 - CAN_IDX_FIU_CCU3, // 29 + CAN_IDX_DMRL_MSG1, // 7 + CAN_IDX_DMRR_MSG1, // 8 + CAN_IDX_TM_STAT, // 9 + CAN_IDX_TM_CP, // 10 + CAN_IDX_HVC_CCU_STATUS_MSG, // 11 + CAN_IDX_BCM_VEH_STATE, // 12 + CAN_IDX_EMS_HVC_REQ_MSG, // 13 + CAN_IDX_HVC_ERR_STATUS_MSG, // 14 + CAN_IDX_BCM_CLIMATIC_DATA, // 15 + CAN_IDX_VCU_CCU_REQ, // 16 + CAN_IDX_ESC_08, // 17 + CAN_IDX_SMFL_STATUS, // 18 + CAN_IDX_SMFR_STATUS, // 19 + CAN_IDX_SMRL_STATUS, // 20 + CAN_IDX_SMRR_STATUS, // 21 + CAN_IDX_SDM_CMD, // 22 + CAN_IDX_VEH_VIN, // 23 + CAN_IDX_OCUFL_MSG, // 24 + CAN_IDX_OCUFR_MSG, // 25 + CAN_IDX_OCURL_MSG, // 26 + CAN_IDX_OCURR_MSG, // 27 + CAN_IDX_DW_STATE, // 28 + CAN_IDX_FIU_CCU1, // 29 + CAN_IDX_FIU_CCU2, // 30 + CAN_IDX_FIU_CCU3, // 31 } CAN_MonitorIndex_t; @@ -86,6 +88,11 @@ typedef struct { osMessageQueueId_t ccu_candb_rx_DMFR_Msg1; osMessageQueueId_t ccu_candb_rx_DMFL_Msg1; + + + osMessageQueueId_t ccu_candb_rx_DMRL_Msg1; + osMessageQueueId_t ccu_candb_rx_DMRR_Msg1; + osMessageQueueId_t ccu_candb_rx_DW_STATE; diff --git a/MODULES/HVAC_M7_CanPorts/CanPorts.c b/MODULES/HVAC_M7_CanPorts/CanPorts.c index 19dbce6..fb02115 100644 --- a/MODULES/HVAC_M7_CanPorts/CanPorts.c +++ b/MODULES/HVAC_M7_CanPorts/CanPorts.c @@ -176,7 +176,7 @@ const FilterTo_FLEXCAN_RxMbFilterType IdCanHardSoftFilterCan0[countIdCanHardSoft */ -#define countIdCanSoftFilterCan0 (28) +#define countIdCanSoftFilterCan0 (30) const FilterTo_FLEXCAN_RxMbFilterType IdCanSoftFilterCan0[countIdCanSoftFilterCan0] = { {FLEXCAN_ID_STD, Diag_To_CCU_CANID, 0x7FF, PROTOCOL_CAN_UDS}, {FLEXCAN_ID_STD, Diag_Functional_CANID, 0x7FF, PROTOCOL_CAN_UDS}, @@ -186,6 +186,8 @@ const FilterTo_FLEXCAN_RxMbFilterType IdCanSoftFilterCan0[countIdCanSoftFilterCa {FLEXCAN_ID_STD, BCM_EEM_CANID, 0x7FF, PROTOCOL_CAN_RAW}, {FLEXCAN_ID_STD, DMFR_Msg1_CANID, 0x7FF, PROTOCOL_CAN_RAW}, //! {FLEXCAN_ID_STD, DMFL_Msg1_CANID, 0x7FF, PROTOCOL_CAN_RAW}, //! + {FLEXCAN_ID_STD, DMRL_Msg1_CANID, 0x7FF, PROTOCOL_CAN_RAW}, //! + {FLEXCAN_ID_STD, DMRR_Msg1_CANID, 0x7FF, PROTOCOL_CAN_RAW}, //! // {FLEXCAN_ID_STD, TM_Stat_CANID, 0x7FF, PROTOCOL_CAN_RAW}, {FLEXCAN_ID_STD, TM_CP_CANID, 0x7FF, PROTOCOL_CAN_RAW}, {FLEXCAN_ID_STD, HVC_CCU_Status_Msg_CANID, 0x7FF, PROTOCOL_CAN_RAW}, @@ -213,7 +215,7 @@ const FilterTo_FLEXCAN_RxMbFilterType IdCanSoftFilterCan0[countIdCanSoftFilterCa }; -#define countIdCanHardFilterCan0 (22) +#define countIdCanHardFilterCan0 (24) const FilterTo_FLEXCAN_RxMbFilterType IdCanHardFilterCan0[countIdCanHardFilterCan0] = { // UDS диагноÑ�тика @@ -226,6 +228,10 @@ const FilterTo_FLEXCAN_RxMbFilterType IdCanHardFilterCan0[countIdCanHardFilterCa {FLEXCAN_ID_STD, BCM_EEM_CANID, 0x7FF, PROTOCOL_CAN_RAW}, {FLEXCAN_ID_STD, DMFR_Msg1_CANID, 0x7FF, PROTOCOL_CAN_RAW}, {FLEXCAN_ID_STD, DMFL_Msg1_CANID, 0x7FF, PROTOCOL_CAN_RAW}, + + {FLEXCAN_ID_STD, DMRL_Msg1_CANID, 0x7FF, PROTOCOL_CAN_RAW}, + {FLEXCAN_ID_STD, DMRR_Msg1_CANID, 0x7FF, PROTOCOL_CAN_RAW}, + {FLEXCAN_ID_STD, TM_CP_CANID, 0x7FF, PROTOCOL_CAN_RAW}, {FLEXCAN_ID_STD, HVC_CCU_Status_Msg_CANID, 0x7FF, PROTOCOL_CAN_RAW}, {FLEXCAN_ID_STD, BCM_VEH_STATE_CANID, 0x7FF, PROTOCOL_CAN_RAW}, diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model.c b/MODULES/HVAC_M7_MODEL/HVAC_model.c index 463079d..2ae7b48 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.1867 + * Model version : 1.1879 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 + * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -2187,7 +2187,7 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t */ tmp = (int16_t)(rtb_u_eg - rtu_Amb_Fb) * 13107; - /* Product: '/��������' incorporates: + /* Product: '/Óìíîæèëè' incorporates: * Gain: '/Gain' * Gain: '/Gain2' * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' @@ -2253,7 +2253,7 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t */ tmp_0 = (int16_t)(rtb_u_eg - rtu_Amb_Fb) * 13107; - /* Product: '/��������' incorporates: + /* Product: '/Óìíîæèëè' incorporates: * Gain: '/Gain' * Gain: '/Gain2' * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' @@ -2311,18 +2311,18 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_Switch2_a5_idx_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h) { - /* Assignment: '/������������ � [1-2]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [1-2]' * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; } else { - /* Assignment: '/������������ � [1-2]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2335,18 +2335,18 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_Switch2_cd_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX) { - /* Assignment: '/������������ � [3-4]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; } else { - /* Assignment: '/������������ � [3-4]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2365,18 +2365,18 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_Switch2_a5_idx_1 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h) { - /* Assignment: '/������������ � [1-2]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [1-2]' * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; } else { - /* Assignment: '/������������ � [1-2]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2389,18 +2389,18 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_Switch2_cd_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX) { - /* Assignment: '/������������ � [3-4]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; } else { - /* Assignment: '/������������ � [3-4]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2413,18 +2413,18 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n) { - /* Assignment: '/������������ � [5]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [5]' * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; } else { - /* Assignment: '/������������ � [5]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2439,18 +2439,18 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX) { - /* Assignment: '/������������ � [7]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [7]' * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN; } else { - /* Assignment: '/������������ � [7]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2692,7 +2692,7 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t */ tmp = (int16_t)(rtb_u_jo - rtu_Amb_Fb) * 13107; - /* Product: '/��������' incorporates: + /* Product: '/Óìíîæèëè' incorporates: * Gain: '/Gain' * Gain: '/Gain2' * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' @@ -2759,7 +2759,7 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t */ tmp_0 = (int16_t)(rtb_u_jo - rtu_Amb_Fb) * 13107; - /* Product: '/��������' incorporates: + /* Product: '/Óìíîæèëè' incorporates: * Gain: '/Gain' * Gain: '/Gain2' * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' @@ -2817,18 +2817,18 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_Switch2_if1_idx_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/������������ � [1-2]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [1-2]' * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/������������ � [1-2]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2841,18 +2841,18 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_Switch2_p4_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX) { - /* Assignment: '/������������ � [3-4]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; } else { - /* Assignment: '/������������ � [3-4]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2871,18 +2871,18 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_Switch2_if1_idx_1 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/������������ � [1-2]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [1-2]' * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/������������ � [1-2]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2895,18 +2895,18 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_Switch2_p4_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX) { - /* Assignment: '/������������ � [3-4]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; } else { - /* Assignment: '/������������ � [3-4]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2919,18 +2919,18 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l) { - /* Assignment: '/������������ � [5]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [5]' * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; } else { - /* Assignment: '/������������ � [5]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -2945,18 +2945,18 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * Switch: '/Switch' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX) { - /* Assignment: '/������������ � [7]' incorporates: + /* 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]' + * Assignment: '/Ïðèñâàèâàíèå â [7]' * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l; } else { - /* Assignment: '/������������ � [7]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -3239,7 +3239,7 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t i = 255; } - /* Product: '/��������' incorporates: + /* Product: '/Óìíîæèëè' incorporates: * Gain: '/Gain' * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ @@ -3310,7 +3310,7 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp_0 = 255; } - /* Product: '/��������' incorporates: + /* Product: '/Óìíîæèëè' incorporates: * Gain: '/Gain' * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ @@ -3340,7 +3340,7 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Assignment: '/������������ � [1-2]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch2' */ @@ -3350,18 +3350,18 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j_idx_0 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - /* Assignment: '/������������ � [3-4]' incorporates: + /* 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: + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_Switch2_j_idx_0; } - /* Assignment: '/������������ � [1-2]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch2' */ @@ -3371,18 +3371,18 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j_idx_1 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - /* Assignment: '/������������ � [3-4]' incorporates: + /* 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: + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_Switch2_j_idx_1; } - /* Assignment: '/������������ � [5]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_FLF_NEW; @@ -3391,12 +3391,12 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t * RelationalOperator: '/LowerRelop1' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX) { - /* Assignment: '/������������ � [7]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX; } else { - /* Assignment: '/������������ � [7]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -3603,7 +3603,7 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp_0 = 255; } - /* Product: '/��������' incorporates: + /* Product: '/Óìíîæèëè' incorporates: * Gain: '/Gain' * MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' */ @@ -3675,7 +3675,7 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Product: '/��������' incorporates: + /* Product: '/Óìíîæèëè' incorporates: * Gain: '/Gain' * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ @@ -3705,7 +3705,7 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Assignment: '/������������ � [1-2]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch2' */ @@ -3715,18 +3715,18 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j1_idx_0 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { - /* Assignment: '/������������ � [3-4]' incorporates: + /* 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: + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_Switch2_j1_idx_0; } - /* Assignment: '/������������ � [1-2]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [1-2]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch2' */ @@ -3736,18 +3736,18 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j1_idx_1 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { - /* Assignment: '/������������ � [3-4]' incorporates: + /* 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: + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_Switch2_j1_idx_1; } - /* Assignment: '/������������ � [5]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [5]' incorporates: * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_FLF_NEW; @@ -3756,12 +3756,12 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], * RelationalOperator: '/LowerRelop1' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX) { - /* Assignment: '/������������ � [7]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; } else { - /* Assignment: '/������������ � [7]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [7]' incorporates: * SignalConversion generated from: '/Out1' * Switch: '/Switch' */ @@ -3791,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]) { @@ -4768,8 +4768,8 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, uwayvalvestatus_m(*rtd_LEVEL, rtd_Valve_3_way); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_eim = (int16_t)((*rtd_Dtg_FLL - *rtd_Dtg_logic_FLL) >> 1); @@ -4792,15 +4792,15 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, * Abs: '/Abs' * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write12' * Gain: '/Gain1' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -4836,8 +4836,8 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, *rtd_Dtg_FLL = *rtd_Dtg_FLR; /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_eim = (int16_t)((*rtd_Dtg_FUL - *rtd_Dtg_logic_FUL) >> 1); @@ -4861,15 +4861,15 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write10' * Gain: '/Gain1' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -4923,8 +4923,8 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, autodemistautodefog(*rtd_LEVEL, rtd_Autodefog); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_i5m = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); @@ -4941,14 +4941,14 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write2' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -5004,13 +5004,13 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -5063,7 +5063,7 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read13' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1_j(*rtd_t_now, (uint32_t)(1000 * rtb_out_eim), &rtb_timer_out_k, &localDW->sf_MATLABFunction1); @@ -5094,22 +5094,22 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, /* End of Switch: '/Switch1' */ /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE = *rtd_t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE_c = *rtd_t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE_f = *rtd_t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE_l = *rtd_t_now; } @@ -5674,7 +5674,7 @@ void Level0_g(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read9' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_pmc), &rtb_timer_out_b, &localDW->sf_MATLABFunction1); @@ -5833,7 +5833,7 @@ void Level4_m(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, */ ECTminmax_j(*rtd_LEVEL, rtb_out_jmy); - /* Lookup_n-D: '/blower ��� �������� ECT' incorporates: + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: * DataStoreRead: '/engine coolant temp' */ rtb_out_c54 = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_jmy, @@ -5882,7 +5882,7 @@ void Level4_m(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read9' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_c54), &rtb_timer_out_b, &localDW->sf_MATLABFunction1); @@ -6084,8 +6084,8 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_phm = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); @@ -6109,15 +6109,15 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write10' * Gain: '/Gain' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -6165,8 +6165,8 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_io = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); @@ -6187,14 +6187,14 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* Switch: '/Switch' incorporates: * Constant: '/Constant' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write2' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * Sum: '/Add' * Sum: '/Subtract' @@ -6229,8 +6229,8 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, *rtd_Mode_RL = *rtd_Mode_RR; /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_e0t = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); @@ -6251,14 +6251,14 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* Switch: '/Switch' incorporates: * Constant: '/Constant' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write5' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * Sum: '/Add' * Sum: '/Subtract' @@ -6316,7 +6316,7 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read3' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_phm), &rtb_timer_out_p, &localDW->sf_MATLABFunction1); @@ -6340,17 +6340,17 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* End of Switch: '/Switch1' */ /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE = *rtd_t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE_k = *rtd_t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE_n = *rtd_t_now; } @@ -6401,8 +6401,8 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_k1 = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); @@ -6426,15 +6426,15 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write10' * Gain: '/Gain' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -6482,8 +6482,8 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_bn = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); @@ -6504,14 +6504,14 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* Switch: '/Switch' incorporates: * Constant: '/Constant' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write2' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * Sum: '/Add' * Sum: '/Subtract' @@ -6546,8 +6546,8 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, *rtd_Mode_RL = *rtd_Mode_RR; /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtb_out_khn = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); @@ -6568,14 +6568,14 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* Switch: '/Switch' incorporates: * Constant: '/Constant' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write5' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * Sum: '/Add' * Sum: '/Subtract' @@ -6621,7 +6621,7 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read3' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_k1), &rtb_RelationalOperator2_aen, &localDW->sf_MATLABFunction1); @@ -6652,17 +6652,17 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, /* End of Switch: '/Switch1' */ /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE = *rtd_t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE_n = *rtd_t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ localDW->UnitDelay_DSTATE_p = *rtd_t_now; } @@ -7141,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) { @@ -7161,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) { @@ -7181,8 +7181,8 @@ 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) @@ -7197,7 +7197,7 @@ void u_c(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_out, double /* : 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: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -7206,23 +7206,23 @@ void u_c(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_out, double *rtd_KEEP_FALLING_FL_UNTIL_LIMIT = 0.0; /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/������� ��������� ����.' + * 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: + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' * Merge: '/Merge' */ u_j(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/���������� � ����������' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } /* End of If: '/If' */ @@ -7230,8 +7230,8 @@ void u_c(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_out, double /* * 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 @@ -7247,7 +7247,7 @@ void u_l(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_riseperminute, /* : 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: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -7256,23 +7256,23 @@ void u_l(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_riseperminute, *rtd_KEEP_FALLING_FL_UNTIL_LIMIT = 1.0; /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/���������� ��������� ����.' + * 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: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' * Merge: '/Merge' */ u(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ @@ -7280,10 +7280,10 @@ void u_l(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_riseperminute, /* * Output and update for atomic system: - * '/������� ��������� ����.' - * '/������� ��������� ����.' - * '/������� ��������� ����.' - * '/������� ��������� ����.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' */ void u_h(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_F) { @@ -7300,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) { @@ -7320,13 +7320,13 @@ 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: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_k(rtu_lvl, rty_out); } @@ -7355,13 +7355,13 @@ 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: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_h(rtu_lvl, rty_out); } @@ -7379,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) { @@ -7399,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) { @@ -7419,13 +7419,13 @@ 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: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_b(rtu_lvl, rty_out); } @@ -7443,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: '/������� ��������� ����.' + * 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) { @@ -7476,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) { @@ -7496,13 +7496,13 @@ 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: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_o(rtu_lvl, rty_out); } @@ -7531,21 +7531,21 @@ 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: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_m(rtu_lvl, rty_out); } /* * Output and update for action system: - * '/������������� RL' - * '/������������� RR' + * '/Èíèöèàëèçàöèÿ RL' + * '/Èíèöèàëèçàöèÿ RR' */ void RL(int16_t rtu_temp_in, double *rty_temp_out) { @@ -8848,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) { @@ -8870,9 +8870,9 @@ 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) @@ -8889,7 +8889,7 @@ void u_kb(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double /* : 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: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -8898,17 +8898,17 @@ void u_kb(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_KEEP_FALLING_UNTIL_LIMIT = 0.0; /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/������� ��������� ����.' + * 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: + /* 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) { @@ -8916,12 +8916,12 @@ void u_kb(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double } /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/���������� ��������� ����.' + * 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' */ @@ -8929,9 +8929,9 @@ void u_kb(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double /* * 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) @@ -8948,7 +8948,7 @@ void u_my(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, /* : 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: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -8956,7 +8956,7 @@ void u_my(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, */ *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) { @@ -8964,23 +8964,23 @@ void u_my(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, } /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/���������� ��������� ����.' + * 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: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' * Merge: '/Merge' */ u_m2(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ @@ -8988,12 +8988,12 @@ void u_my(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, /* * Output and update for atomic system: - * '/������� ��������� ����.' - * '/������� ��������� ����.' - * '/������� ��������� ����.' - * '/������� ��������� ����.' - * '/������� ��������� ����.' - * '/������� ��������� ����.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' + * '/îáû÷íîå ïîâûøåíèå òåìï.' */ void u_h3(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) { @@ -9010,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) { @@ -9032,9 +9032,9 @@ 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) @@ -9049,7 +9049,7 @@ void u_p(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double /* : 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: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -9058,21 +9058,21 @@ void u_p(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_KEEP_RISING_UNTIL_LIMIT = 0.0; /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_h3(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/��������� ���������� �����' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/���������� � ����������' incorporates: + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_fr(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/���������� � ����������' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } /* End of If: '/If' */ @@ -9080,9 +9080,9 @@ void u_p(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double /* * 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) @@ -9097,7 +9097,7 @@ void u_g2(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, /* : 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: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -9106,21 +9106,21 @@ void u_g2(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, *rtd_KEEP_RISING_UNTIL_LIMIT = 1.0; /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_fr(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/�������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� ����� ���������' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_h3(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ @@ -9338,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 @@ -11194,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; @@ -11372,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; @@ -11383,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; @@ -11398,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; @@ -11409,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; @@ -11425,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; @@ -11440,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; @@ -11452,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; @@ -32627,7 +32627,7 @@ void HVAC_model_step(void) tmp[5 * rtb_Cmd_3Way + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Cmd_3Way]; /* Switch: '/Switch' incorporates: - * Assignment: '/������������ � [3-4]' + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * MultiPortSwitch: '/Multiport Switch' */ if (rtb_LogicalOperator1) { @@ -33253,8 +33253,8 @@ void HVAC_model_step(void) case 1: case 5: /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/������������ � [3-4]' - * Assignment: '/������������ � [7-8]' + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' * Constant: '/Constant' */ rtb_out_cej[0] = 60U; @@ -33268,8 +33268,8 @@ void HVAC_model_step(void) case 3: for (i = 0; i < 9; i++) { - /* Assignment: '/������������ � [7-8]' incorporates: - * Assignment: '/������������ � [3-4]' + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * Assignment: '/valves all' * Constant: '/Constant' */ @@ -33279,8 +33279,8 @@ void HVAC_model_step(void) case 7: for (i = 0; i < 9; i++) { - /* Assignment: '/������������ � [7-8]' incorporates: - * Assignment: '/������������ � [3-4]' + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * Assignment: '/valves all' * Constant: '/Constant' */ @@ -33334,8 +33334,8 @@ void HVAC_model_step(void) case 1: case 5: /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/������������ � [3-4]' - * Assignment: '/������������ � [7-8]' + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' * Constant: '/Constant' */ rtb_out_cej[0] = 60U; @@ -33349,8 +33349,8 @@ void HVAC_model_step(void) case 3: for (i = 0; i < 9; i++) { - /* Assignment: '/������������ � [7-8]' incorporates: - * Assignment: '/������������ � [3-4]' + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * Assignment: '/valves all' * Constant: '/Constant' */ @@ -33360,8 +33360,8 @@ void HVAC_model_step(void) case 7: for (i = 0; i < 9; i++) { - /* Assignment: '/������������ � [7-8]' incorporates: - * Assignment: '/������������ � [3-4]' + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * Assignment: '/valves all' * Constant: '/Constant' */ @@ -33414,8 +33414,8 @@ void HVAC_model_step(void) case 1: case 5: /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/������������ � [3-4]' - * Assignment: '/������������ � [7-8]' + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' * Constant: '/Constant' */ rtb_out_cej[0] = 60U; @@ -33429,8 +33429,8 @@ void HVAC_model_step(void) case 3: for (i = 0; i < 9; i++) { - /* Assignment: '/������������ � [7-8]' incorporates: - * Assignment: '/������������ � [3-4]' + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * Assignment: '/valves all' * Constant: '/Constant' */ @@ -33440,8 +33440,8 @@ void HVAC_model_step(void) case 7: for (i = 0; i < 9; i++) { - /* Assignment: '/������������ � [7-8]' incorporates: - * Assignment: '/������������ � [3-4]' + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [3-4]' * Assignment: '/valves all' * Constant: '/Constant' */ @@ -34409,27 +34409,27 @@ void HVAC_model_step(void) /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Assignment: '/������������ � [3-4]' incorporates: - * Assignment: '/������������ � [7-8]' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' */ rtb_out_cej[2] = rtb_out_cj[2]; - /* Assignment: '/������������ � [7-8]' */ + /* Assignment: '/Ïðèñâàèâàíèå â [7-8]' */ rtb_out_cej[6] = rtb_out_cj[6]; - /* Assignment: '/������������ � [3-4]' incorporates: - * Assignment: '/������������ � [7-8]' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [7-8]' */ rtb_out_cej[3] = rtb_out_cj[3]; - /* Assignment: '/������������ � [7-8]' */ + /* 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: + /* Assignment: '/â [6] (foot2 FL valve)' incorporates: * DataStoreRead: '/Data Store Read1' * Switch: '/Switch5' */ @@ -34442,7 +34442,7 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read3' */ if (rtDW.Foot2_control_FR_is_active) { - /* Assignment: '/� [8] (foot2 FR valve)' incorporates: + /* Assignment: '/â [8] (foot2 FR valve)' incorporates: * DataStoreRead: '/Data Store Read2' * Switch: '/Switch1' */ @@ -34455,7 +34455,7 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read' */ if (rtDW.def_valve_100_req) { - /* Assignment: '/� [9] (Def valve)' incorporates: + /* Assignment: '/â [9] (Def valve)' incorporates: * Constant: '/Constant' * Switch: '/Switch6' */ @@ -34473,21 +34473,21 @@ void HVAC_model_step(void) if (rtDW.Max_def_algo_active || rtDW.Max_AC_algo_active) { for (i = 0; i < 9; i++) { /* Switch: '/Switch5' incorporates: - * Assignment: '/������������ � [6]' - * Assignment: '/������������ � [8]' + * Assignment: '/Ïðèñâàèâàíèå â [6]' + * Assignment: '/Ïðèñâàèâàíèå â [8]' * Switch: '/Switch6' */ rtb_out_cj[i] = rtb_out_cej[i]; } - /* Assignment: '/������������ � [6]' incorporates: - * Assignment: '/������������ � [8]' + /* Assignment: '/Ïðèñâàèâàíèå â [6]' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [8]' * Constant: '/Constant' * Switch: '/Switch5' */ rtb_out_cj[5] = 0U; - /* Assignment: '/������������ � [8]' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [8]' incorporates: * Constant: '/Constant1' * Switch: '/Switch5' */ @@ -34617,7 +34617,7 @@ void HVAC_model_step(void) * UnitDelay: '/Unit Delay' */ if ((int16_t)(rtb_Merge_b - rtDW.UnitDelay_DSTATE_fq) >= 0) { - /* Outputs for IfAction SubSystem: '/duct_tg ������������� RL' incorporates: + /* Outputs for IfAction SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RL' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/rear_mode_index' incorporates: @@ -34625,9 +34625,9 @@ void HVAC_model_step(void) */ increase(rtb_Merge_b, rtb_get_mode, &rtDW.Index_mode_RL_auto); - /* End of Outputs for SubSystem: '/duct_tg ������������� RL' */ + /* End of Outputs for SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RL' */ } else { - /* Outputs for IfAction SubSystem: '/duct_tg ����������� RL' incorporates: + /* Outputs for IfAction SubSystem: '/duct_tg óìåíüøàåòñÿ RL' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/y' incorporates: @@ -34635,7 +34635,7 @@ void HVAC_model_step(void) */ decrease(rtb_Merge_b, rtb_get_mode, &rtDW.Index_mode_RL_auto); - /* End of Outputs for SubSystem: '/duct_tg ����������� RL' */ + /* End of Outputs for SubSystem: '/duct_tg óìåíüøàåòñÿ RL' */ } /* End of If: '/If2' */ @@ -35210,7 +35210,7 @@ void HVAC_model_step(void) * UnitDelay: '/Unit Delay1' */ if ((int16_t)(rtDW.Duct_RR_Tg - rtDW.UnitDelay1_DSTATE) >= 0) { - /* Outputs for IfAction SubSystem: '/duct_tg ������������� RR' incorporates: + /* Outputs for IfAction SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RR' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/y' incorporates: @@ -35218,9 +35218,9 @@ void HVAC_model_step(void) */ increase(rtDW.Duct_RR_Tg, rtb_get_mode, &rtb_out_crw); - /* End of Outputs for SubSystem: '/duct_tg ������������� RR' */ + /* End of Outputs for SubSystem: '/duct_tg óâåëè÷èâàåòñÿ RR' */ } else { - /* Outputs for IfAction SubSystem: '/duct_tg ����������� RR' incorporates: + /* Outputs for IfAction SubSystem: '/duct_tg óìåíüøàåòñÿ RR' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/y' incorporates: @@ -35228,7 +35228,7 @@ void HVAC_model_step(void) */ decrease(rtDW.Duct_RR_Tg, rtb_get_mode, &rtb_out_crw); - /* End of Outputs for SubSystem: '/duct_tg ����������� RR' */ + /* End of Outputs for SubSystem: '/duct_tg óìåíüøàåòñÿ RR' */ } /* End of If: '/If1' */ @@ -35725,14 +35725,14 @@ void HVAC_model_step(void) } else { if (i < 256) { /* MATLAB Function: '/RR valves * percent DRS' incorporates: - * Assignment: '/������������ � [3-4] rear' - * Assignment: '/������������ � [6] rear' + * 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' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' * DataStoreWrite: '/Data Store Write24' * MATLAB Function: '/RR valves * percent DRS' */ @@ -35741,20 +35741,20 @@ void HVAC_model_step(void) /* MATLAB Function: '/RR valves * percent DRS' */ if (rtb_Cmd_3Way < 256) { - /* Assignment: '/������������ � [3-4] rear' incorporates: - * Assignment: '/������������ � [6] rear' + /* 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' + /* Assignment: '/Ïðèñâàèâàíèå â [3-4] rear' incorporates: + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' * DataStoreWrite: '/Data Store Write24' */ rtb_Gain1_o3[3] = 255U; } - /* Assignment: '/������������ � [6] rear' incorporates: + /* Assignment: '/Ïðèñâàèâàíèå â [6] rear' incorporates: * DataStoreWrite: '/Data Store Write24' */ rtb_Gain1_o3[5] = rtb_out[5]; @@ -36121,7 +36121,7 @@ void HVAC_model_step(void) /* End of MATLAB Function: '/Modes for levels' */ - /* Lookup_n-D: '/����� ������ Left' incorporates: + /* Lookup_n-D: '/Âûáîð ðåæèìà Left' incorporates: * Gain: '/Gain' * Merge: '/Merge' */ @@ -36129,7 +36129,7 @@ void HVAC_model_step(void) rtb_Saturation4, rtConstP.pooled157, rtConstP.pooled68, rtb_get_modes_for_levels, rtConstP.pooled49, 6U); - /* MATLAB Function: '/��������� ��������� �������� left' */ + /* MATLAB Function: '/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê left' */ left(rtb_DataTypeConversion3_hs, rtb_out_cej); /* Saturate: '/Saturation1' incorporates: @@ -36244,7 +36244,7 @@ void HVAC_model_step(void) /* End of SwitchCase: '/Switch for Left ' */ - /* Lookup_n-D: '/����� ������ Right' incorporates: + /* Lookup_n-D: '/Âûáîð ðåæèìà Right' incorporates: * Gain: '/Gain2' * Merge: '/Merge' */ @@ -36252,7 +36252,7 @@ void HVAC_model_step(void) rtb_DataTypeConversion1_hy, rtConstP.pooled157, rtConstP.pooled68, rtb_get_modes_for_levels, rtConstP.pooled49, 6U); - /* MATLAB Function: '/��������� ��������� �������� right' */ + /* MATLAB Function: '/Íà÷àëüíûå ïîëîæåíèÿ çàñëîíîê right' */ left(rtb_DataTypeConversion3_hs, rtb_out_cej); /* SwitchCase: '/Switch for Left ' incorporates: @@ -36349,8 +36349,8 @@ void HVAC_model_step(void) rtDW.is_active_c834_HVAC_model = 1U; rtDW.is_c834_HVAC_model = IN_OSA_OFF; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : is_OSA_Active = 0; */ rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; @@ -36360,8 +36360,8 @@ void HVAC_model_step(void) */ rtb_DataTypeConversion1_hy = 100U; } else if (rtDW.is_c834_HVAC_model == IN_OSA_OFF) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; @@ -36369,8 +36369,8 @@ void HVAC_model_step(void) if ((rtDW.VehicleSpeed > 20) && (rtDW.Full_Rec == 0)) { rtDW.is_c834_HVAC_model = IN_OSA_ON; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : is_OSA_Active = 1; */ rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; @@ -36389,8 +36389,8 @@ void HVAC_model_step(void) rtb_DataTypeConversion1_hy = 100U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* case IN_OSA_ON: */ rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; @@ -36399,8 +36399,8 @@ void HVAC_model_step(void) if ((rtDW.VehicleSpeed == 0) || (rtDW.Full_Rec == 1)) { rtDW.is_c834_HVAC_model = IN_OSA_OFF; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : is_OSA_Active = 0; */ rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; @@ -37364,7 +37364,7 @@ void HVAC_model_step(void) * Constant: '/Constant2' * Gain: '/Gain' * Gain: '/Gain3' - * Gain: '/������� ��������� - � 0.1 ���' + * Gain: '/Åäèíèöû èçìåðåíèÿ - â 0.1 àòì' * Saturate: '/Saturation' */ if (rtb_LogicalOperator1_nf) { @@ -38910,7 +38910,7 @@ void HVAC_model_step(void) rtb_Compare_e = (rtb_Compare_pnq && rtb_Compare_ff); /* Switch: '/Switch' incorporates: - * Constant: '/����������� ��� ��������� ������' + * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè' * DataStoreWrite: '/Data Store Write1' * Logic: '/Logical Operator1' * Switch: '/Switch1' @@ -38937,14 +38937,14 @@ void HVAC_model_step(void) /* If: '/If' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/���������� FL �����������' incorporates: + /* 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: + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' */ @@ -38960,7 +38960,7 @@ void HVAC_model_step(void) */ if (fabs((double)rtb_Switch3_no - rtDW.Temp_FL_store) <= rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/��������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -38970,24 +38970,24 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_h(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/��������� ���������� �����' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/���������� � ����������' incorporates: + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: * ActionPort: '/Action Port' */ u_lz(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/���������� � ����������' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' */ @@ -39002,7 +39002,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch3_no - rtDW.Temp_FL_store) > rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/�������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39012,22 +39012,22 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_k(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/�������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� ����� ���������' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ u_f(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� �����' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -39038,21 +39038,21 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write1' */ if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* 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: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* 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 Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -39105,9 +39105,9 @@ void HVAC_model_step(void) */ rtDW.UnitDelay_DSTATE_o = rtDW.t_now; - /* End of Outputs for SubSystem: '/���������� FL �����������' */ + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ FL òåìïåðàòóðû' */ } else { - /* Outputs for IfAction SubSystem: '/������������� FL' incorporates: + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ FL' incorporates: * ActionPort: '/Action Port' */ /* DataTypeConversion: '/Data Type Conversion' incorporates: @@ -39115,7 +39115,7 @@ void HVAC_model_step(void) */ rtb_D = rtb_Switch3_no; - /* End of Outputs for SubSystem: '/������������� FL' */ + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ FL' */ } /* End of If: '/If' */ @@ -39126,7 +39126,7 @@ void HVAC_model_step(void) rtDW.Incar_FL = (int16_t)floor(rtb_D); /* Switch: '/Switch2' incorporates: - * Constant: '/����������� ��� ��������� ������1' + * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè1' * DataStoreWrite: '/Data Store Write3' * Switch: '/Switch3' */ @@ -39220,7 +39220,7 @@ void HVAC_model_step(void) rtConstP.pooled71, 1023U); /* Switch: '/Switch' incorporates: - * Constant: '/����������� ��� ��������� ������' + * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè' * DataStoreWrite: '/Data Store Write4' * Logic: '/Logical Operator1' * Switch: '/Switch1' @@ -39239,7 +39239,7 @@ void HVAC_model_step(void) /* End of Switch: '/Switch' */ /* Switch: '/Switch2' incorporates: - * Constant: '/����������� ��� ��������� ������1' + * Constant: '/Òåìïåðàòóðà äëÿ ñîñòîÿíèÿ îøèáêè1' * DataStoreWrite: '/Data Store Write5' * Logic: '/Logical Operator2' * Switch: '/Switch3' @@ -39264,14 +39264,14 @@ void HVAC_model_step(void) /* If: '/If' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/���������� FR �����������' incorporates: + /* 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: + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' */ @@ -39287,7 +39287,7 @@ void HVAC_model_step(void) */ if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FR_store) <= rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/��������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39297,24 +39297,24 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_h(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/��������� ���������� �����' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/���������� � ����������' incorporates: + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: * ActionPort: '/Action Port' */ u_lz(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/���������� � ����������' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' */ @@ -39329,7 +39329,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FR_store) > rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/�������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39339,22 +39339,22 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_k(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/�������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� ����� ���������' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ u_f(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� �����' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -39365,21 +39365,21 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write3' */ if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* 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: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* 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 Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -39432,9 +39432,9 @@ void HVAC_model_step(void) */ rtDW.UnitDelay_DSTATE_cr = rtDW.t_now; - /* End of Outputs for SubSystem: '/���������� FR �����������' */ + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ FR òåìïåðàòóðû' */ } else { - /* Outputs for IfAction SubSystem: '/������������� FR' incorporates: + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ FR' incorporates: * ActionPort: '/Action Port' */ /* DataTypeConversion: '/Data Type Conversion' incorporates: @@ -39442,7 +39442,7 @@ void HVAC_model_step(void) */ rtb_Divide10 = rtb_Switch1_pd; - /* End of Outputs for SubSystem: '/������������� FR' */ + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ FR' */ } /* End of If: '/If' */ @@ -39463,14 +39463,14 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write4' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/���������� RL �����������' incorporates: + /* 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: + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' */ @@ -39485,7 +39485,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) <= rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/��������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39495,24 +39495,24 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_m(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/��������� ���������� �����' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/���������� � ����������' incorporates: + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: * ActionPort: '/Action Port' */ u_gq(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/���������� � ����������' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' */ @@ -39527,7 +39527,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) > rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/�������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39537,22 +39537,22 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_o(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/�������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� ����� ���������' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ u_b3(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� �����' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -39561,7 +39561,7 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read' */ if (rtDW.KEEP_FALLING_RL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ @@ -39575,7 +39575,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) <= rtb_out_crw) { - /* Outputs for IfAction SubSystem: '/��������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39585,13 +39585,13 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' */ u_kk(rtDW.LEVEL, &rtb_out_crw); - /* End of Outputs for SubSystem: '/��������� ���������� �����' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/���������� � ����������' incorporates: + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/out' incorporates: @@ -39599,13 +39599,13 @@ void HVAC_model_step(void) */ u_hr(rtDW.LEVEL, &rtb_out_crw); - /* End of Outputs for SubSystem: '/���������� � ����������' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ @@ -39619,7 +39619,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) > rtb_out_crw) { - /* Outputs for IfAction SubSystem: '/�������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39629,13 +39629,13 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/rise per minute' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_b(rtDW.LEVEL, &rtb_out_crw); - /* End of Outputs for SubSystem: '/�������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� ����� ���������' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/rise per minute' incorporates: @@ -39643,11 +39643,11 @@ void HVAC_model_step(void) */ u_g(rtDW.LEVEL, &rtb_out_crw); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� �����' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -39700,14 +39700,14 @@ void HVAC_model_step(void) */ rtDW.UnitDelay_DSTATE_lf = rtDW.t_now; - /* End of Outputs for SubSystem: '/���������� RL �����������' */ + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ RL òåìïåðàòóðû' */ } else { - /* Outputs for IfAction SubSystem: '/������������� RL' incorporates: + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ RL' incorporates: * ActionPort: '/Action Port' */ RL(rtb_Switch5_l, &rtb_Divide11); - /* End of Outputs for SubSystem: '/������������� RL' */ + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ RL' */ } /* End of If: '/If' */ @@ -39728,14 +39728,14 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write5' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/���������� RR �����������' incorporates: + /* 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: + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' */ @@ -39751,7 +39751,7 @@ void HVAC_model_step(void) */ if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) <= rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/��������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39761,24 +39761,24 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîâûøåíèå òåìï.' */ u_m(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/��������� ���������� �����' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/���������� � ����������' incorporates: + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: * ActionPort: '/Action Port' */ u_gq(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/���������� � ����������' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' */ @@ -39793,7 +39793,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) > rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/�������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39803,22 +39803,22 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_o(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/�������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� ����� ���������' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ u_b3(rtDW.LEVEL, &rtb_Saturation2); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� �����' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -39827,7 +39827,7 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read' */ if (rtDW.KEEP_FALLING_RR_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ @@ -39841,7 +39841,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) <= rtb_out_crw) { - /* Outputs for IfAction SubSystem: '/��������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39851,13 +39851,13 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' */ u_kk(rtDW.LEVEL, &rtb_out_crw); - /* End of Outputs for SubSystem: '/��������� ���������� �����' */ + /* End of Outputs for SubSystem: '/Îòêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/���������� � ����������' incorporates: + /* Outputs for IfAction SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/out' incorporates: @@ -39865,13 +39865,13 @@ void HVAC_model_step(void) */ u_hr(rtDW.LEVEL, &rtb_out_crw); - /* End of Outputs for SubSystem: '/���������� � ����������' */ + /* End of Outputs for SubSystem: '/Ïðîäîëæàåì â óñêîðåííîì' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ @@ -39885,7 +39885,7 @@ void HVAC_model_step(void) * Sum: '/Add' */ if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) > rtb_out_crw) { - /* Outputs for IfAction SubSystem: '/�������� ���������� �����' incorporates: + /* Outputs for IfAction SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -39895,13 +39895,13 @@ void HVAC_model_step(void) /* SignalConversion generated from: '/rise per minute' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/���������� ��������� ����.' + * MATLAB Function: '/óñêîðåííîå ïîâûøåíèå òåìï.' */ u_b(rtDW.LEVEL, &rtb_out_crw); - /* End of Outputs for SubSystem: '/�������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷àåì óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� ����� ���������' incorporates: + /* Outputs for IfAction SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' incorporates: * ActionPort: '/Action Port' */ /* SignalConversion generated from: '/rise per minute' incorporates: @@ -39909,11 +39909,11 @@ void HVAC_model_step(void) */ u_g(rtDW.LEVEL, &rtb_out_crw); - /* End of Outputs for SubSystem: '/������� ����� ���������' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì ïîâûøåíèÿ' */ } /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/������� �����' */ + /* End of Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -39966,14 +39966,14 @@ void HVAC_model_step(void) */ rtDW.UnitDelay_DSTATE_m = rtDW.t_now; - /* End of Outputs for SubSystem: '/���������� RR �����������' */ + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ RR òåìïåðàòóðû' */ } else { - /* Outputs for IfAction SubSystem: '/������������� RR' incorporates: + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ RR' incorporates: * ActionPort: '/Action Port' */ RL(rtb_Switch4_f5, &rtb_Add_p4); - /* End of Outputs for SubSystem: '/������������� RR' */ + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ RR' */ } /* End of If: '/If' */ @@ -42015,33 +42015,33 @@ void HVAC_model_step(void) 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif active_mode == 1 */ /* : lvl_winter = uint8(0); */ @@ -42051,26 +42051,26 @@ void HVAC_model_step(void) 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' + /* 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' + /* 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' + /* 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' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : else */ /* : lvl_winter = uint8(0); */ @@ -42509,7 +42509,7 @@ void HVAC_model_step(void) /* If: '/If' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/���������� �����������' incorporates: + /* Outputs for IfAction SubSystem: '/Ôèëüòðàöèÿ òåìïåðàòóðû' incorporates: * ActionPort: '/Action Port' */ /* Lookup_n-D: '/Get LVL for temp' incorporates: @@ -42525,21 +42525,21 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* 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: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* 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 Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -42549,21 +42549,21 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* 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: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* 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 Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -42580,7 +42580,7 @@ void HVAC_model_step(void) */ /* : f_g_ssAMBFILT_WATER = g_ssAMBFILT_WATER; */ if ((rtDW.VehicleSpeed > 45) && (rtDW.KEEP_UNTIL_SPEED_DROPS > 0)) { - /* Outputs for IfAction SubSystem: '/������ ��-�� �����' incorporates: + /* Outputs for IfAction SubSystem: '/Áûñòðî èç-çà ôëàãà' incorporates: * ActionPort: '/Action Port' */ /* If: '/If1' incorporates: @@ -42588,21 +42588,21 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* 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: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* 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 Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -42612,21 +42612,21 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* 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: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* 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 Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -42670,9 +42670,9 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/������ ��-�� �����' */ + /* End of Outputs for SubSystem: '/Áûñòðî èç-çà ôëàãà' */ } else if (rtDW.VehicleSpeed > 50) { - /* Outputs for IfAction SubSystem: '/������ ��-�� ��������' incorporates: + /* Outputs for IfAction SubSystem: '/Áûñòðî èç-çà ñêîðîñòè' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -42685,21 +42685,21 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* 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: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* 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 Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -42709,21 +42709,21 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/������� ���������� �����' incorporates: + /* 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: '/������� ���������� �����' */ + /* End of Outputs for SubSystem: '/âêëþ÷åí óñêîðåííûé ðåæèì' */ } else { - /* Outputs for IfAction SubSystem: '/������� �����' incorporates: + /* 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 Outputs for SubSystem: '/îáû÷íûé ðåæèì' */ } /* End of If: '/If1' */ @@ -42767,9 +42767,9 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/������ ��-�� ��������' */ + /* End of Outputs for SubSystem: '/Áûñòðî èç-çà ñêîðîñòè' */ } else { - /* Outputs for IfAction SubSystem: '/��������' incorporates: + /* Outputs for IfAction SubSystem: '/Ìåäëåííî' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write' incorporates: @@ -42777,7 +42777,7 @@ void HVAC_model_step(void) */ rtDW.KEEP_UNTIL_SPEED_DROPS = 0U; - /* MATLAB Function: '/�������' */ + /* MATLAB Function: '/ãðàíèöû' */ /* : rate_at_10 = 0.5; */ /* : rate_at_50 = double(g_aucAMBRATE_RISING(lvl + 1)) ; */ /* : f_lower_upper_bounds = [rate_at_10, rate_at_50]; */ @@ -42789,7 +42789,7 @@ void HVAC_model_step(void) rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[i - 1]; - /* MATLAB Function: '/������� ��������� ����.' */ + /* MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' */ /* : fprintf("lvl = %d\n", lvl); */ printf("lvl = %d\n", rtb_DataTypeConversion1_oq); fflush(stdout); @@ -42813,7 +42813,7 @@ void HVAC_model_step(void) rtb_Divide1_jg = AMB_RAW; } else { if (AMB_RAW > rtDW.AMB_store) { - /* Switch: '/�������� >10' incorporates: + /* Switch: '/Ñêîðîñòü >10' incorporates: * Constant: '/Constant' * Switch: '/Switch' */ @@ -42827,10 +42827,10 @@ void HVAC_model_step(void) rtb_Divide1_jg = 0.5; } - /* End of Switch: '/�������� >10' */ + /* End of Switch: '/Ñêîðîñòü >10' */ } else { - /* MATLAB Function: '/������� ��������� ����.' incorporates: - * MATLAB Function: '/�������' + /* MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' incorporates: + * MATLAB Function: '/ãðàíèöû' */ i = rtb_DataTypeConversion1_oq + 1; if (rtb_DataTypeConversion1_oq + 1 > 32767) { @@ -42839,7 +42839,7 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * DataTypeConversion: '/Data Type Conversion' - * MATLAB Function: '/������� ��������� ����.' + * MATLAB Function: '/îáû÷íîå ïîíèæåíèå òåìï.' * UnaryMinus: '/Unary Minus' */ rtb_Divide1_jg = -(double)g_aucAMBRATE_FALLING[i - 1]; @@ -42850,7 +42850,7 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/��������' */ + /* End of Outputs for SubSystem: '/Ìåäëåííî' */ } /* End of If: '/If' */ @@ -42918,9 +42918,9 @@ void HVAC_model_step(void) */ rtDW.UnitDelay_DSTATE_c = rtDW.t_now; - /* End of Outputs for SubSystem: '/���������� �����������' */ + /* End of Outputs for SubSystem: '/Ôèëüòðàöèÿ òåìïåðàòóðû' */ } else { - /* Outputs for IfAction SubSystem: '/������������� �����������' incorporates: + /* Outputs for IfAction SubSystem: '/Èíèöèàëèçàöèÿ òåìïåðàòóðû' incorporates: * ActionPort: '/Action Port' */ /* Switch: '/Switch1' incorporates: @@ -42934,7 +42934,7 @@ void HVAC_model_step(void) */ rtb_Add_p4 = rtDW.AMB_store; - /* End of Outputs for SubSystem: '/������������� �����������' */ + /* End of Outputs for SubSystem: '/Èíèöèàëèçàöèÿ òåìïåðàòóðû' */ } /* End of If: '/If' */ @@ -43133,7 +43133,7 @@ void HVAC_model_step(void) /* End of DataStoreRead: '/Data Store Read11' */ /* End of Outputs for SubSystem: '/Subsystem9' */ - /* Outputs for Enabled SubSystem: '/TM_CP and FIU - ������ ��� ���������' incorporates: + /* Outputs for Enabled SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' incorporates: * EnablePort: '/Enable' */ /* DataStoreRead: '/Data Store Read1' incorporates: @@ -43142,14 +43142,40 @@ void HVAC_model_step(void) */ if (rtDW.BCM_T15_Stat > 0) { /* Switch: '/Switch' incorporates: + * Constant: '/MODE_OFF' + * Constant: '/MODE_ENTRY_STEP1_MAX_AC' + * Constant: '/MODE_ENTRY_STEP2_MAX_AC' + * Constant: '/MODE_ENTRY_STEP3_MAX_AC' + * Constant: '/MODE_EXIT_MAX_AC' + * Constant: '/MODE_ENTRY_STEP1_MAX_DEF' + * Constant: '/MODE_ENTRY_STEP2_MAX_DEF' + * Constant: '/MODE_ENTRY_STEP3_MAX_DEF1' + * Constant: '/MODE_EXIT_MAX_DEF' * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read2' * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' * Switch: '/Switch' * Switch: '/Switch' */ - if (rtDW.EAC_OR_FIRE_is_active) { + if (rtDW.EAC_OR_FIRE_mode != 0) { rtb_DataTypeConversion1_gy = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_TargetTempFL_Val_ro; center_percent = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FootTempCorFL_Req; @@ -43183,7 +43209,8 @@ void HVAC_model_step(void) 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) { + } else if ((rtDW.Max_AC_mode == 1) || (rtDW.Max_AC_mode == 2) || + (rtDW.Max_AC_mode == 3) || (rtDW.Max_AC_mode == 15)) { /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read2' * Switch: '/Switch' @@ -43219,7 +43246,8 @@ void HVAC_model_step(void) 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) { + } else if ((rtDW.Max_def_mode == 1) || (rtDW.Max_def_mode == 2) || + (rtDW.Max_def_mode == 3) || (rtDW.Max_def_mode == 15)) { /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read2' * Switch: '/Switch' @@ -43306,11 +43334,6 @@ void HVAC_model_step(void) * 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' */ @@ -43324,11 +43347,6 @@ void HVAC_model_step(void) */ 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' @@ -43360,11 +43378,6 @@ void HVAC_model_step(void) */ 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' */ @@ -43387,11 +43400,6 @@ void HVAC_model_step(void) */ 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' */ @@ -43409,11 +43417,6 @@ void HVAC_model_step(void) */ 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' */ @@ -43431,11 +43434,6 @@ void HVAC_model_step(void) */ 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' */ @@ -43459,11 +43457,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch5' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem14' */ @@ -43484,11 +43477,6 @@ void HVAC_model_step(void) /* End of Switch: '/Switch5' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: * Constant: '/true' */ @@ -43509,11 +43497,6 @@ void HVAC_model_step(void) } /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem16' */ @@ -43531,11 +43514,6 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: * Constant: '/true' */ @@ -43569,11 +43547,6 @@ void HVAC_model_step(void) } /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant3' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem18' */ @@ -43593,11 +43566,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem19' */ @@ -43617,11 +43585,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem20' */ @@ -43634,11 +43597,6 @@ void HVAC_model_step(void) * 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' */ @@ -43658,11 +43616,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem22' */ @@ -43682,11 +43635,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem23' */ @@ -43695,11 +43643,6 @@ void HVAC_model_step(void) * 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: @@ -43747,11 +43690,6 @@ void HVAC_model_step(void) * 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' */ @@ -43780,11 +43718,6 @@ void HVAC_model_step(void) } /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem5' */ @@ -43811,11 +43744,6 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_AC_MAX = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: * Constant: '/true' */ @@ -43837,11 +43765,6 @@ void HVAC_model_step(void) * 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' */ @@ -43854,11 +43777,6 @@ void HVAC_model_step(void) * 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' */ @@ -43871,11 +43789,6 @@ void HVAC_model_step(void) * 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' */ @@ -44913,11 +44826,13 @@ void HVAC_model_step(void) /* End of If: '/If1' */ /* Switch: '/Switch' incorporates: + * Constant: '/MODE_OFF' * DataStoreRead: '/Data Store Read2' * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read2' + * RelationalOperator: '/Equal1' */ - if (rtDW.EAC_OR_FIRE_is_active) { + if (rtDW.EAC_OR_FIRE_mode != 0) { rtb_DataTypeConversion1_gy = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_TargetTempRL_Val_ro; center_percent = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_FootTempCorRL_Req; @@ -45520,7 +45435,7 @@ void HVAC_model_step(void) } /* End of DataStoreRead: '/Data Store Read1' */ - /* End of Outputs for SubSystem: '/TM_CP and FIU - ������ ��� ���������' */ + /* End of Outputs for SubSystem: '/TM_CP and FIU - òîëüêî ïðè çàæèãàíèè' */ /* Outputs for Enabled SubSystem: '/Sleep_mode' incorporates: * EnablePort: '/Enable' @@ -46719,7 +46634,7 @@ void HVAC_model_step(void) rtConstP.demistLVLdew_point_diff_tableData, rtConstP.demistLVLdew_point_diff_maxIndex, 121U); - /* MATLAB Function: '/������� �����' incorporates: + /* MATLAB Function: '/óñëîâèå âõîäà' incorporates: * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read6' @@ -46740,7 +46655,7 @@ void HVAC_model_step(void) rtDW.DifferentBlower_Rear_isActive = true; } - /* End of MATLAB Function: '/������� �����' */ + /* End of MATLAB Function: '/óñëîâèå âõîäà' */ /* MATLAB Function: '/valves_rear' incorporates: * DataStoreRead: '/Data Store Read' @@ -46981,14 +46896,14 @@ void HVAC_model_step(void) coeff_right[i] = (double)rtb_Cmd_3Way - rtb_D * (double)rtb_Y_o_idx_2; } - /* Assignment: '/������������ � [3-4] rear' incorporates: - * Assignment: '/������������ � [6] rear' + /* 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' */ + /* Assignment: '/Ïðèñâàèâàíèå â [6] rear' */ rtb_urear_e[5] = rtb_out[5]; /* Gain: '/Gain1' incorporates: @@ -47004,22 +46919,22 @@ void HVAC_model_step(void) /* : y = ceil(round(u) / 10) * 10; */ for (i = 0; i < 6; i++) { /* Gain: '/Gain' incorporates: - * Assignment: '/������������ � [6] rear' + * Assignment: '/Ïðèñâàèâàíèå â [6] rear' */ rtb_D = 0.0099999904632568359 * (double)rtb_urear_e[i]; rtb_Saturation_hch[i] = rtb_D; - /* Product: '/������ 8-10' */ + /* 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: + /* MATLAB Function: '/ïëîùàäü ñå÷åíèÿ çàñëîíîê' incorporates: * Gain: '/Gain1' * MATLAB Function: '/MATLAB Function1' - * Product: '/������ 8-10' + * 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; @@ -47047,8 +46962,8 @@ void HVAC_model_step(void) } /* MATLAB Function: '/B-Pillar_ - % damper opening' incorporates: - * MATLAB Function: '/������� ������� ��������' - * Product: '/������ 8-10' + * 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; */ @@ -47238,7 +47153,7 @@ void HVAC_model_step(void) * Lookup_n-D: '/1-D Lookup Table3' * Lookup_n-D: '/1-D Lookup Table4' * Lookup_n-D: '/1-D Lookup Table5' - * Product: '/������ 8-10' + * 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; */ @@ -47261,9 +47176,9 @@ void HVAC_model_step(void) */ rtb_RelationalOperator6_f = (rtDW.Index_mode_RL == rtDW.Index_mode_RR); - /* Switch: '/����� 16 L' incorporates: - * Product: '/����� 12 (L)' - * Product: '/����� 14 (L)' + /* Switch: '/ïóíêò 16 L' incorporates: + * Product: '/ïóíêò 12 (L)' + * Product: '/ïóíêò 14 (L)' */ if (rtb_RelationalOperator6_f) { rtb_duct_select_index_dbg_c = rtb_Divide10 / rtb_Divide11; @@ -47271,9 +47186,9 @@ void HVAC_model_step(void) rtb_duct_select_index_dbg_c = rtb_Divide11 / rtb_Divide10; } - /* End of Switch: '/����� 16 L' */ + /* End of Switch: '/ïóíêò 16 L' */ - /* Saturate: '/����� 17 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) { @@ -47282,11 +47197,11 @@ void HVAC_model_step(void) rtb_D = rtb_duct_select_index_dbg_c; } - /* End of Saturate: '/����� 17 L' */ + /* End of Saturate: '/ïóíêò 17 L' */ - /* Switch: '/����� 16 R' incorporates: - * Product: '/����� 12 (R)' - * Product: '/����� 14 (R)' + /* Switch: '/ïóíêò 16 R' incorporates: + * Product: '/ïóíêò 12 (R)' + * Product: '/ïóíêò 14 (R)' */ if (rtb_RelationalOperator6_f) { rtb_duct_select_index_dbg_c = rtb_Divide11 / rtb_Divide10; @@ -47294,9 +47209,9 @@ void HVAC_model_step(void) rtb_duct_select_index_dbg_c = rtb_Divide10 / rtb_Divide11; } - /* End of Switch: '/����� 16 R' */ + /* End of Switch: '/ïóíêò 16 R' */ - /* Saturate: '/����� 17 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) { @@ -47305,50 +47220,50 @@ void HVAC_model_step(void) rtb_Divide10 = rtb_duct_select_index_dbg_c; } - /* End of Saturate: '/����� 17 R' */ + /* End of Saturate: '/ïóíêò 17 R' */ - /* Product: '/����� 13 L' incorporates: + /* 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' */ + /* Saturate: '/ïóíêò 15 L' */ if (rtb_Divide11 > 1.0) { rtb_Divide11 = 1.0; } - /* End of Saturate: '/����� 15 L' */ + /* End of Saturate: '/ïóíêò 15 L' */ - /* Product: '/����� 13 R' incorporates: + /* 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' */ + /* 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' */ + /* End of Saturate: '/ïóíêò 15 R' */ - /* MATLAB Function: '/������ 18-20' */ + /* 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' + * MATLAB Function: '/ïóíêòû 18-20' */ coeff_left[0] = rtb_D; coeff_left[1] = rtb_D; - /* MATLAB Function: '/������ 18-20' */ + /* MATLAB Function: '/ïóíêòû 18-20' */ rtb_duct_select_index_dbg_c *= rtb_Divide10; /* Product: '/Product2' incorporates: - * MATLAB Function: '/������ 18-20' - * Product: '/������ 8-10' + * 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; @@ -47358,7 +47273,7 @@ void HVAC_model_step(void) coeff_right[i] = rtb_u10[i] * coeff_left[i]; } - /* MATLAB Function: '/����� 21-23 (DRS for valves)' incorporates: + /* MATLAB Function: '/ïóíêò 21-23 (DRS for valves)' incorporates: * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read2' @@ -47466,9 +47381,9 @@ void HVAC_model_step(void) /* : 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)' */ + /* End of MATLAB Function: '/ïóíêò 21-23 (DRS for valves)' */ - /* MATLAB Function: '/������� D184-E190 (Step 7 Minimum damper opening factor)' incorporates: + /* MATLAB Function: '/òàáëèöà D184-E190 (Step 7 Minimum damper opening factor)' incorporates: * DataStoreRead: '/Data Store Read6' * DataStoreRead: '/Data Store Read7' */ @@ -47566,9 +47481,9 @@ void HVAC_model_step(void) rtb_D = min_damper_opening_factor_R[6]; } - /* End of MATLAB Function: '/������� D184-E190 (Step 7 Minimum damper opening factor)' */ + /* End of MATLAB Function: '/òàáëèöà D184-E190 (Step 7 Minimum damper opening factor)' */ - /* MATLAB Function: '/����� 25' */ + /* MATLAB Function: '/ïóíêò 25' */ /* : valves(2) = max(valves(2), opening_factor_L); */ coeff_right[1] = fmax(coeff_right[1], rtb_duct_select_index_dbg_c); @@ -47577,7 +47492,7 @@ void HVAC_model_step(void) /* : valves_out = valves; */ for (i = 0; i < 6; i++) { - /* Saturate: '/������ 26-28' */ + /* Saturate: '/ïóíêòû 26-28' */ rtb_Divide11 = coeff_right[i]; if (rtb_Divide11 > 1.0) { rtb_Divide11 = 1.0; @@ -47587,12 +47502,12 @@ void HVAC_model_step(void) /* DataTypeConversion: '/Data Type Conversion2' incorporates: * Gain: '/Gain2' - * Saturate: '/������ 26-28' + * Saturate: '/ïóíêòû 26-28' */ rtB.DataTypeConversion2[i] = (uint8_t)rt_roundd(100.0 * rtb_Divide11); } - /* MATLAB Function: '/����� 24 (DRS for AF)' incorporates: + /* MATLAB Function: '/ïóíêò 24 (DRS for AF)' incorporates: * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read2' @@ -47704,7 +47619,7 @@ void HVAC_model_step(void) rtb_D = (double)i / 2.0 * (double)rtb_out_fze * 0.01; - /* End of MATLAB Function: '/����� 24 (DRS for AF)' */ + /* End of MATLAB Function: '/ïóíêò 24 (DRS for AF)' */ /* MATLAB Function: '/MATLAB Function' */ /* : if AF_L > AF_R */ @@ -48101,8 +48016,6 @@ void HVAC_model_step(void) 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: @@ -48145,9 +48058,6 @@ void HVAC_model_step(void) /* : 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: @@ -48178,9 +48088,6 @@ void HVAC_model_step(void) /* : 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: @@ -48231,9 +48138,6 @@ void HVAC_model_step(void) 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: @@ -48361,9 +48265,6 @@ void HVAC_model_step(void) /* : 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: @@ -48491,9 +48392,6 @@ void HVAC_model_step(void) /* : 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: @@ -48521,17 +48419,12 @@ void HVAC_model_step(void) /* : 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; } + /* : is_active = is_active_persistent; */ + rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; + /* End of MATLAB Function: '/EmergencyAirCleaning' */ /* MATLAB Function: '/MATLAB Function5' incorporates: @@ -50453,26 +50346,26 @@ void HVAC_model_step(void) 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' + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MinPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); @@ -50480,10 +50373,10 @@ void HVAC_model_step(void) /* : if(LOGGER == 2) */ } else { /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_y_cb; @@ -50653,21 +50546,28 @@ void HVAC_model_step(void) /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read51' + * Switch: '/Switch' */ - if (rtDW.ErrorCalibration_private[i] != 0) { + if (rtDW.act_debug_command > 0) { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/ACT1' + */ + rtDW.MaxPositionCh0_private[i] = rtConstP.pooled91[i]; + } else if (rtDW.ErrorCalibration_private[i] != 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ rtDW.MaxPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: * Constant: '/Constant' * Sum: '/step inc' @@ -50696,39 +50596,30 @@ void HVAC_model_step(void) /* Outputs for IfAction SubSystem: '/Homing' incorporates: * ActionPort: '/Action Port' */ + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' + */ 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]; + rtb_Divide1_pb[i] = (double)rtDW.MaxPositionCh0_private[i] / (double) + rtConstP.pooled91[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' + * 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: + /* Logic: '/Logical Operator' incorporates: * Constant: '/Constant' * Constant: '/Constant' * RelationalOperator: '/Compare' @@ -50748,35 +50639,35 @@ void HVAC_model_step(void) && (rtDW.ErrorCalibration_private[i] != 0)); } - /* Logic: '/Logical Operator1' */ + /* 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' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtB.Merge_a = 4; } else { /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + * Constant: '/Constant' */ rtB.Merge_a = 1; } - /* End of Switch: '/Switch' */ + /* 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' + * ActionPort: '/Action Port' */ /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' @@ -50831,14 +50722,14 @@ void HVAC_model_step(void) /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* 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' + /* 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)); @@ -50854,8 +50745,8 @@ void HVAC_model_step(void) */ rtDW.stepSig_private = 1; - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ rtb_Compare_e = (rtDW.ErrorCalibration_private[0] != 0); @@ -50864,8 +50755,8 @@ void HVAC_model_step(void) != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: @@ -50874,29 +50765,29 @@ void HVAC_model_step(void) rtB.Merge_a = 2; } else { /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtB.Merge_a = 4; } - /* End of Switch: '/Switch' */ + /* 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' + * 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: + /* Logic: '/Logical Operator3' incorporates: * Constant: '/Constant' * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' * RelationalOperator: '/Compare' * RelationalOperator: '/Compare' */ @@ -50905,48 +50796,48 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i] != 0)); rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private[i] = rtb_RelationalOperator6_f; } - /* Logic: '/Logical Operator2' */ + /* 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' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: - * Constant: '/���� �� 1 ������' + * Constant: '/õîòÿ áû 1 îøèáêà' */ rtB.Merge_a = 3; } else { /* Merge: '/Merge' incorporates: - * Constant: '/������ ���������� ���' + * Constant: '/îøèáîê êàëèáðîâêè íåò' */ rtB.Merge_a = 4; } - /* End of Switch: '/Switch' */ + /* 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' + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER>1) */ if (rtDW.ErrorHomming_private < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/MATLAB Function' incorporates: @@ -51089,7 +50980,7 @@ void HVAC_model_step(void) */ rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_b4q[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled146[i]); + rtConstP.pooled147[i]); /* DataStoreWrite: '/Data Store Write4' incorporates: * Constant: '/Constant1' @@ -51128,9 +51019,9 @@ void HVAC_model_step(void) } /* End of If: '/If' */ - /* 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: + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_a, &rtDW.CCU_ActuatorErrF_Stat_private, @@ -51138,16 +51029,16 @@ void HVAC_model_step(void) rtDW.ErrorCalibration_private, &rtb_D, rtDW.MODE_private, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of 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' + * ActionPort: '/Action Port' */ /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { @@ -51262,7 +51153,7 @@ void HVAC_model_step(void) */ rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_b4q[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled146[i]); + rtConstP.pooled147[i]); /* DataStoreWrite: '/Data Store Write4' incorporates: * Constant: '/Constant1' @@ -51291,8 +51182,8 @@ void HVAC_model_step(void) } /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_a = 4; @@ -51358,7 +51249,7 @@ void HVAC_model_step(void) /* Switch: '/Switch1' incorporates: * Concatenate: '/Vector Concatenate' * Constant: '/Constant3' - * Constant: '/�����������������' + * Constant: '/øèðîêîâåùàòåëüíîå' * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/Data Store Write7' * Logic: '/Logical Operator' @@ -51366,7 +51257,7 @@ void HVAC_model_step(void) */ if (rtb_Compare_e) { rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private[i] * rtConstP.pooled146[i]); + rtDW.ErrorCalibration_private[i] * rtConstP.pooled147[i]); } else { rtDW.BUS_ADR_private[i] = 0U; } @@ -51727,31 +51618,31 @@ void HVAC_model_step(void) 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' + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MinPositionCh1_private[i] = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_D == 2.0) { @@ -51776,14 +51667,14 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* 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' + * ActionPort: '/Action Port' */ /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + * SignalConversion generated from: '/stepIn' */ rtB.Merge_e = rtb_y_cb; @@ -51973,23 +51864,28 @@ void HVAC_model_step(void) /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read51' + * Switch: '/Switch' */ - if (rtDW.ErrorCalibration_private_p[i] != 0) { + if (rtDW.act_debug_command > 0) { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/ACT1' + */ + rtDW.MaxPositionCh1_private[i] = rtConstP.pooled93[i]; + } else if (rtDW.ErrorCalibration_private_p[i] != 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ rtDW.MaxPositionCh1_private[i] = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; - } else { - rtDW.MaxPositionCh1_private[i] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: * Constant: '/Constant' * Sum: '/step inc' @@ -52044,32 +51940,19 @@ void HVAC_model_step(void) /* 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' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T 1' */ for (i = 0; i < 6; i++) { - rtb_Divide1_pb[i] = (double)rtb_out_cej[i] / (double)rtConstP.ACT1_Value[i]; + rtb_Divide1_pb[i] = (double)rtDW.MaxPositionCh1_private[i] / (double) + rtConstP.ACT1_Value[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_pb[6] = 1.0; rtb_Divide1_pb[7] = 1.0; @@ -52081,13 +51964,13 @@ void HVAC_model_step(void) switch (rtDW.stepHoming_private_f) { case 0: /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + * 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: + /* Logic: '/Logical Operator' incorporates: * Constant: '/Constant' * Constant: '/Constant' * RelationalOperator: '/Compare' @@ -52108,10 +51991,10 @@ void HVAC_model_step(void) != 0)); } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * Logic: '/Logical Operator2' */ /* : if(LOGGER>0) */ if (rtb_D > 0.0) { @@ -52134,36 +52017,36 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* 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' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtB.Merge_p = 4; } else { /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + * Constant: '/Constant' */ rtB.Merge_p = 1; } - /* End of Switch: '/Switch' */ + /* 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' + * ActionPort: '/Action Port' */ /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' @@ -52222,14 +52105,14 @@ void HVAC_model_step(void) /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* 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' + /* 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] @@ -52246,10 +52129,10 @@ void HVAC_model_step(void) */ rtDW.stepSig_private_h = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ if (rtb_D > 0.0) { @@ -52275,10 +52158,10 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtb_Compare_e = (rtDW.ErrorCalibration_private_p[0] != 0); for (i = 0; i < 8; i++) { @@ -52286,8 +52169,8 @@ void HVAC_model_step(void) != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: @@ -52296,29 +52179,29 @@ void HVAC_model_step(void) rtB.Merge_p = 2; } else { /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtB.Merge_p = 4; } - /* End of Switch: '/Switch' */ + /* 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' + * 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: + /* Logic: '/Logical Operator3' incorporates: * Constant: '/Constant' * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' * RelationalOperator: '/Compare' * RelationalOperator: '/Compare' */ @@ -52327,15 +52210,15 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i] != 0)); rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' */ /* : if(LOGGER>0) */ if (rtb_D > 0.0) { @@ -52360,40 +52243,40 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* 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' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + * Constant: '/Constant3' */ rtB.Merge_p = 3; } else { /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtB.Merge_p = 4; } - /* End of Switch: '/Switch' */ + /* 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' + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtb_D > 1.0) { @@ -52413,13 +52296,13 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorHomming_private_h < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/MATLAB Function' incorporates: @@ -52582,7 +52465,7 @@ void HVAC_model_step(void) */ rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_mo[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled146[i]); + rtConstP.pooled147[i]); /* DataStoreWrite: '/Data Store Write4' incorporates: * Constant: '/Constant1' @@ -52621,9 +52504,9 @@ void HVAC_model_step(void) } /* End of If: '/If' */ - /* 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: + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_p, &rtDW.CCU_ActuatorErrF_Stat_private, @@ -52631,16 +52514,16 @@ void HVAC_model_step(void) 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 Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* 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' + * ActionPort: '/Action Port' */ /* DataStoreRead: '/Data Store Read' incorporates: * Concatenate: '/LIN1' @@ -52757,7 +52640,7 @@ void HVAC_model_step(void) */ rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_mo[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled146[i]); + rtConstP.pooled147[i]); /* DataStoreWrite: '/Data Store Write4' incorporates: * Constant: '/Constant1' @@ -52786,13 +52669,13 @@ void HVAC_model_step(void) } /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_p = 4; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtb_D > 0.0) { @@ -52801,7 +52684,7 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } @@ -53247,31 +53130,31 @@ void HVAC_model_step(void) 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' + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MinPositionCh2_private[i] = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_D == 2.0) { @@ -53296,14 +53179,14 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* 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' + * ActionPort: '/Action Port' */ /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + * SignalConversion generated from: '/stepIn' */ rtB.Merge_b = rtb_y_cb; @@ -53492,23 +53375,28 @@ void HVAC_model_step(void) /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read51' + * Switch: '/Switch' */ - if (rtDW.ErrorCalibration_private_b[i] != 0) { + if (rtDW.act_debug_command > 0) { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/ACT1' + */ + rtDW.MaxPositionCh2_private[i] = rtConstP.pooled94[i]; + } else if (rtDW.ErrorCalibration_private_b[i] != 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ rtDW.MaxPositionCh2_private[i] = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; - } else { - rtDW.MaxPositionCh2_private[i] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: * Constant: '/Constant' * Sum: '/step inc' @@ -53563,33 +53451,19 @@ void HVAC_model_step(void) /* 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' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 8; i++) { - rtb_Divide1_pb[i] = (double)rtb_out_cej[i] / (double) + rtb_Divide1_pb[i] = (double)rtDW.MaxPositionCh2_private[i] / (double) rtConstP.ACT1_Value_m[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/koef for special actuator' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/koef for special actuator' */ rtb_Divide1_pb[8] = 1.0; @@ -53599,13 +53473,13 @@ void HVAC_model_step(void) switch (rtDW.stepHoming_private_a) { case 0: /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + * 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: + /* Logic: '/Logical Operator' incorporates: * Constant: '/Constant' * Constant: '/Constant' * RelationalOperator: '/Compare' @@ -53626,10 +53500,10 @@ void HVAC_model_step(void) != 0)); } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * Logic: '/Logical Operator2' */ /* : if(LOGGER>0) */ if (rtb_D > 0.0) { @@ -53652,36 +53526,36 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* 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' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } else { /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + * Constant: '/Constant' */ rtB.Merge_h3 = 1; } - /* End of Switch: '/Switch' */ + /* 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' + * ActionPort: '/Action Port' */ /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' @@ -53740,14 +53614,14 @@ void HVAC_model_step(void) /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* 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' + /* 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] @@ -53764,10 +53638,10 @@ void HVAC_model_step(void) */ rtDW.stepSig_private_g = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ if (rtb_D > 0.0) { @@ -53793,10 +53667,10 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtb_Compare_e = (rtDW.ErrorCalibration_private_b[0] != 0); for (i = 0; i < 8; i++) { @@ -53804,8 +53678,8 @@ void HVAC_model_step(void) != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: @@ -53814,29 +53688,29 @@ void HVAC_model_step(void) rtB.Merge_h3 = 2; } else { /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } - /* End of Switch: '/Switch' */ + /* 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' + * 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: + /* Logic: '/Logical Operator3' incorporates: * Constant: '/Constant' * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' * RelationalOperator: '/Compare' * RelationalOperator: '/Compare' */ @@ -53845,15 +53719,15 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_b[i] != 0)); rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' */ /* : if(LOGGER>0) */ if (rtb_D > 0.0) { @@ -53878,40 +53752,40 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* 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' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_Compare_e) { /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + * Constant: '/Constant3' */ rtB.Merge_h3 = 3; } else { /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } - /* End of Switch: '/Switch' */ + /* 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' + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtb_D > 1.0) { @@ -53931,13 +53805,13 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorHomming_private_m < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: * ActionPort: '/Action Port' */ /* MATLAB Function: '/MATLAB Function' incorporates: @@ -54097,7 +53971,7 @@ void HVAC_model_step(void) */ rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_mo[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled146[i]); + rtConstP.pooled147[i]); /* DataStoreWrite: '/Data Store Write4' incorporates: * Constant: '/Constant1' @@ -54136,9 +54010,9 @@ void HVAC_model_step(void) } /* End of If: '/If' */ - /* 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: + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_h3, &rtDW.CCU_ActuatorErrF_Stat_private, @@ -54146,16 +54020,16 @@ void HVAC_model_step(void) 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 Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* 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' + * ActionPort: '/Action Port' */ /* DataStoreRead: '/Data Store Read2' incorporates: * Concatenate: '/Vector Concatenate' @@ -54267,7 +54141,7 @@ void HVAC_model_step(void) */ rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) (rtb_DataTypeConversion_mo[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled146[i]); + rtConstP.pooled147[i]); /* DataStoreWrite: '/Data Store Write4' incorporates: * Constant: '/Constant1' @@ -54296,13 +54170,13 @@ void HVAC_model_step(void) } /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_h3 = 4; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtb_D > 0.0) { @@ -54311,7 +54185,7 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } @@ -54683,11 +54557,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem' */ @@ -54722,11 +54591,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem1' */ @@ -54761,11 +54625,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem2' */ @@ -54800,11 +54659,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem3' */ @@ -54839,11 +54693,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem4' */ @@ -54878,11 +54727,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem5' */ @@ -54917,11 +54761,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem6' */ @@ -54956,11 +54795,6 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - */ - rtDW.CCU_AC_MAX = 0U; } /* End of Outputs for SubSystem: '/Subsystem7' */ @@ -55071,8 +54905,8 @@ void HVAC_model_step(void) /* : CAN_LoHi_Front = IDLE; */ rtDW.CAN_LoHi_Front = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' * MATLAB Function: '/MATLAB Function1' */ /* : CAN_LoHi_Rear = IDLE; */ @@ -55096,9 +54930,9 @@ void HVAC_model_step(void) /* : CAN_LoHi_Front = HI_4ZONE; */ rtDW.CAN_LoHi_Front = 99U; - /* BusCreator: '/Bus Creator' incorporates: + /* BusCreator: '/Bus Creator' incorporates: * DataStoreWrite: '/Data Store Write29' - * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' */ /* : CAN_LoHi_Rear = HI_4ZONE; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 99U; @@ -55134,50 +54968,50 @@ void HVAC_model_step(void) } if ((rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2)) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif RR == 1 */ /* : CAN_LoHi_Rear = LO_RIGHT; */ @@ -55460,8 +55294,6 @@ void HVAC_model_step(void) 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: @@ -55678,9 +55510,6 @@ void HVAC_model_step(void) /* : 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: @@ -55723,9 +55552,6 @@ void HVAC_model_step(void) /* : 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: @@ -55776,9 +55602,6 @@ void HVAC_model_step(void) 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: @@ -55803,9 +55626,6 @@ void HVAC_model_step(void) /* : 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: @@ -55821,9 +55641,6 @@ void HVAC_model_step(void) /* : 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: @@ -56005,17 +55822,12 @@ void HVAC_model_step(void) /* : 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; } + /* : is_active = is_active_persistent; */ + rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; + /* End of MATLAB Function: '/MATLAB Function' */ /* End of Outputs for SubSystem: '/MAX AC' */ @@ -57002,18 +56814,18 @@ void HVAC_model_step(void) /* Saturate: '/Saturation22' */ if (rtb_Add_p4 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FLL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FLL = (uint16_t)rtb_Add_p4; } @@ -57066,18 +56878,18 @@ void HVAC_model_step(void) /* Saturate: '/Saturation25' */ if (rtb_Add_p4 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FRL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FRL = (uint16_t)rtb_Add_p4; } @@ -57115,18 +56927,18 @@ void HVAC_model_step(void) /* Saturate: '/Saturation28' */ if (rtb_Add_p4 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_RL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_RL = (uint16_t)rtb_Add_p4; } @@ -57500,12 +57312,12 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read5' * Product: '/Divide' * Sum: '/Add' - * Switch: '/���� ������� ����� REST' + * 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: + /* Switch: '/Åñëè âêëþ÷åí ðåæèì REST' incorporates: * DataStoreRead: '/Data Store Read8' */ rtb_Add_p4 = rtDW.REST_blower_PWM_F; @@ -57867,13 +57679,18 @@ void HVAC_model_step(void) * Constant: '/auto6' * DataStoreRead: '/Data Store Read14' * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * DataStoreWrite: '/Data Store Write10' * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write17' + * DataStoreWrite: '/Data Store Write18' * DataStoreWrite: '/Data Store Write' * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write4' * Gain: '/Gain1' * Gain: '/Gain2' * Logic: '/Logical Operator' @@ -57895,7 +57712,7 @@ void HVAC_model_step(void) /* : 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.DMRL_Msg1 != 0) || (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFR_Msg1 != 0)) { rtb_Compare_e = false; } else { @@ -57903,8 +57720,8 @@ void HVAC_model_step(void) ((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))); + (rtDW.CCUCAN_DMRL_Msg1_model.DMRL_DoorAjarState == 0) || + (rtDW.CCUCAN_DMRR_Msg1_model.DMRR_DoorAjarState == 0))); } /* MATLAB Function: '/recirc_by_door_ajar' incorporates: @@ -57916,11 +57733,15 @@ void HVAC_model_step(void) * Constant: '/auto9' * DataStoreRead: '/Data Store Read14' * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read6' * DataStoreWrite: '/Data Store Write10' * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write17' + * DataStoreWrite: '/Data Store Write18' * DataStoreWrite: '/Data Store Write' * Logic: '/Logical Operator3' * Logic: '/Logical Operator4' @@ -57940,8 +57761,8 @@ void HVAC_model_step(void) 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))) { + (rtDW.CCUCAN_DMRL_Msg1_model.DMRL_DoorAjarState == 1) && + (rtDW.CCUCAN_DMRR_Msg1_model.DMRR_DoorAjarState == 1))) { /* : elseif exit_conditions */ /* : is_active_state = false; */ rtDW.is_active_state = false; @@ -58505,173 +58326,22 @@ 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' - */ - 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' - */ - MATLABFunction_o(WinterCondition_is_active_R, WinterCondition_eTXV_ON_Rear, - &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' - * DataStoreWrite: '/Data Store Write' - * 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; - rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Rear = ShutOffRear_EN; - rtDW.dbg_Logic_Ac_model.Logic_Ac_Req_Rear = rtDW.CCU_AC_REAR; - 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 = eComp_stop; - - /* Outport: '/CCU_Errors_model' incorporates: - * DataStoreRead: '/Data Store Read10' - */ - rtY.CCU_Errors_model = CCU_Errors_Model; - - /* Outport: '/PWM_Get_out' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - rtY.PWM_Get_out = PWM_Get; - - /* Outport: '/Actuator_Ch0_Command_Model_out' incorporates: - * DataStoreRead: '/Data Store Read66' - */ - rtY.Actuator_Ch0_Command_Model_out = Actuator_Ch0_Command_Model; - - /* Outport: '/Actuator_Ch1_Command_Mode_out' incorporates: - * DataStoreRead: '/Data Store Read67' - */ - rtY.Actuator_Ch1_Command_Mode_out = Actuator_Ch1_Command_Model; - - /* Outport: '/Actuator_Ch2_Command_Model_out' incorporates: - * DataStoreRead: '/Data Store Read68' - */ - rtY.Actuator_Ch2_Command_Model_out = Actuator_Ch2_Command_Model; - - /* Switch: '/Switch4' */ - if (rtB.Chiller_Only_Flag > 0.0) { - /* 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' - */ - rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_LimitRpm_ro = Comp_Max_RPM_Allowed; - } - - /* End of Switch: '/Switch4' */ - - /* 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_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' - * 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_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' - */ - 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; - rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Garage = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_RemoteStart = rtDW.Door_ajar_is_active; - rtDW.dbgCAN_Logic_State_model.Logic_Rest_Mode = rtDW.RestMode_winter_or_summer; - rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Front = rtDW.CAN_LoHi_Front; - rtDW.dbgCAN_Logic_State_model.Logic_2WayValve_Status = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_FL = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_FR = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_RL = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_RR = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Full_MaxAc = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Full_MaxDef = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Start_Ctrl_Front = (uint8_t) - (rtDW.step_start_controle_front + 1); - rtDW.dbgCAN_Logic_State_model.Logic_Start_Ctrl_Rear = (uint8_t) - (rtDW.step_start_controle_rear + 1); - rtDW.dbgCAN_Logic_State_model.Logic_Valve_Use_DiffBlr_R2 = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Duct_WaitCorrection_FRL = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Duct_WaitCorrection_FLL = 0U; - 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' - * 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.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; - /* Saturate: '/Saturation19' incorporates: * Bias: '/Add Constant3' */ if (rtb_Gain18 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUL = 4095U; } else if (rtb_Gain18 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain18 + 2048.0); } @@ -58682,18 +58352,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant4' */ if (rtb_Gain19 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUL = 4095U; } else if (rtb_Gain19 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain19 + 2048.0); } @@ -58704,18 +58374,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant5' */ if (rtb_Gain20 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUL = 4095U; } else if (rtb_Gain20 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain20 + 2048.0); } @@ -58729,18 +58399,18 @@ void HVAC_model_step(void) /* Saturate: '/Saturation8' */ if (rtb_Divide11 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUR = 4095U; } else if (rtb_Divide11 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Divide11; } @@ -58751,18 +58421,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant1' */ if (rtb_Divide7_d + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUR = 4095U; } else if (rtb_Divide7_d + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Divide7_d + 2048.0); } @@ -58773,18 +58443,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant2' */ if (rtb_Gain17_h + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUR = 4095U; } else if (rtb_Gain17_h + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain17_h + 2048.0); } @@ -58795,18 +58465,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant7' */ if (rtb_Gain22 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FLL = 4095U; } else if (rtb_Gain22 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain22 + 2048.0); } @@ -58817,18 +58487,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant8' */ if (rtb_Gain23 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FLL = 4095U; } else if (rtb_Gain23 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain23 + 2048.0); } @@ -58839,18 +58509,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant10' */ if (rtb_Gain25 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FRL = 4095U; } else if (rtb_Gain25 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain25 + 2048.0); } @@ -58861,18 +58531,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant11' */ if (rtb_Gain26 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FRL = 4095U; } else if (rtb_Gain26 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain26 + 2048.0); } @@ -58883,18 +58553,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant12' */ if (rtb_Gain28 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RL = 4095U; } else if (rtb_Gain28 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain28 + 2048.0); } @@ -58905,18 +58575,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant13' */ if (rtb_Gain29 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RL = 4095U; } else if (rtb_Gain29 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain29 + 2048.0); } @@ -58930,18 +58600,18 @@ void HVAC_model_step(void) /* Saturate: '/Saturation31' */ if (rtb_Divide11 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_RR = 4095U; } else if (rtb_Divide11 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Divide11; } @@ -58952,18 +58622,18 @@ void HVAC_model_step(void) * Bias: '/Add Constant15' */ if (rtb_Gain17 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RR = 4095U; } else if (rtb_Gain17 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Gain17 + 2048.0); } @@ -58977,108 +58647,108 @@ void HVAC_model_step(void) /* Saturate: '/Saturation30' */ if (rtb_Divide11 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RR = 4095U; } else if (rtb_Divide11 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* 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_Divide11; } /* 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' */ 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' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = (uint16_t)floor(rtDW.Sun_L + 0.5); } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = 0U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = (uint16_t)rtDW.Sun_L; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtb_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' + /* 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' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read4' * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write1' */ 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]; @@ -59089,11 +58759,11 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act0_model.dbg_Act06_Vent_SFR = Actuator_pos_percent_Ch1[2]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act07_Foot_1FR = Actuator_pos_percent_Ch1[4]; - /* BusCreator: '/Bus Creator3' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write2' */ 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]; @@ -59105,11 +58775,11 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_kl [8]; - /* BusCreator: '/Bus Creator2' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' + * 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_kl[2]; @@ -59120,8 +58790,8 @@ void HVAC_model_step(void) 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: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' * SignalConversion generated from: '/Vector Concatenate' * SignalConversion generated from: '/Vector Concatenate' * SignalConversion generated from: '/Vector Concatenate' @@ -59149,18 +58819,18 @@ void HVAC_model_step(void) 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' + /* 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' @@ -59220,43 +58890,14 @@ 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' - */ - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FL = rtDW.CCU_BLOWERS_FL; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FR = rtDW.CCU_BLOWERS_FR; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_RL = rtDW.CCU_BLOWERS_RL; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_RR = rtDW.CCU_BLOWERS_RR; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Front = rtDW.PWM_front; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Rear = rtDW.PWM_rear; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_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_fr3; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = (uint8_t)rtb_out_fm3; - - /* BusCreator: '/Bus Creator' incorporates: + /* 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' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_00_Def_error = rtDW.ErrorCalibration_private[0]; @@ -59307,12 +58948,12 @@ void HVAC_model_step(void) 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' + /* 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 = @@ -59364,6 +59005,229 @@ void HVAC_model_step(void) rtDW.dbg_Act_calibration_model.dbg_Act_calib_23_SealingValve = rtDW.MaxPositionCh2_private[8]; + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + 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' + */ + MATLABFunction_o(WinterCondition_is_active_R, WinterCondition_eTXV_ON_Rear, + &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' + * DataStoreWrite: '/Data Store Write' + * 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; + rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Rear = ShutOffRear_EN; + rtDW.dbg_Logic_Ac_model.Logic_Ac_Req_Rear = rtDW.CCU_AC_REAR; + 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 = eComp_stop; + + /* Outport: '/CCU_Errors_model' incorporates: + * DataStoreRead: '/Data Store Read10' + */ + rtY.CCU_Errors_model = CCU_Errors_Model; + + /* Outport: '/PWM_Get_out' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtY.PWM_Get_out = PWM_Get; + + /* Outport: '/Actuator_Ch0_Command_Model_out' incorporates: + * DataStoreRead: '/Data Store Read66' + */ + rtY.Actuator_Ch0_Command_Model_out = Actuator_Ch0_Command_Model; + + /* Outport: '/Actuator_Ch1_Command_Mode_out' incorporates: + * DataStoreRead: '/Data Store Read67' + */ + rtY.Actuator_Ch1_Command_Mode_out = Actuator_Ch1_Command_Model; + + /* Outport: '/Actuator_Ch2_Command_Model_out' incorporates: + * DataStoreRead: '/Data Store Read68' + */ + rtY.Actuator_Ch2_Command_Model_out = Actuator_Ch2_Command_Model; + + /* Switch: '/Switch4' */ + if (rtB.Chiller_Only_Flag > 0.0) { + /* 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' + */ + rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_LimitRpm_ro = Comp_Max_RPM_Allowed; + } + + /* End of Switch: '/Switch4' */ + + /* 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_DataTypeConversion1_hy; + rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Rear = 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 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; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_RL = rtDW.CCU_BLOWERS_RL; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_RR = rtDW.CCU_BLOWERS_RR; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Front = rtDW.PWM_front; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Rear = rtDW.PWM_rear; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_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_fr3; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = (uint8_t)rtb_out_fm3; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write3' + * DataTypeConversion: '/Data Type Conversion' + */ + 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_Saturation4; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_FreshAirPurge_Sts = 0U; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Ajar_Stat = rtDW.Door_ajar_is_active; + + /* MATLAB Function: '/select MAX AC node for dbg' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : 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); */ + /* : dbg_mode = uint8(0); */ + /* : if MAC_AC_mode == MODE_ACTIVE_CONDITIONS1_MAX_AC */ + switch (rtDW.Max_AC_mode) { + case 10: + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : dbg_mode = uint8(1); */ + rtDW.dbgCAN_Logic_State_model.Logic_Full_MaxAc = 1U; + break; + + case 11: + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif MAC_AC_mode == MODE_ACTIVE_CONDITIONS2_MAX_AC */ + /* : dbg_mode = uint8(2); */ + rtDW.dbgCAN_Logic_State_model.Logic_Full_MaxAc = 2U; + break; + + default: + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : else */ + /* : dbg_mode = uint8(0); */ + rtDW.dbgCAN_Logic_State_model.Logic_Full_MaxAc = 0U; + break; + } + + /* End of MATLAB Function: '/select MAX AC node for dbg' */ + + /* 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 Read82' + * DataStoreRead: '/Data Store Read9' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Sum' + * Sum: '/Sum1' + * Switch: '/Switch' + */ + 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; + rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Garage = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_RemoteStart = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_Rest_Mode = rtDW.RestMode_winter_or_summer; + rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Front = rtDW.CAN_LoHi_Front; + rtDW.dbgCAN_Logic_State_model.Logic_2WayValve_Status = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_FL = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_FR = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_RL = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_RR = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_Full_MaxDef = rtDW.CCU_Defrost; + rtDW.dbgCAN_Logic_State_model.Logic_Start_Ctrl_Front = (uint8_t) + (rtDW.step_start_controle_front + 1); + rtDW.dbgCAN_Logic_State_model.Logic_Start_Ctrl_Rear = (uint8_t) + (rtDW.step_start_controle_rear + 1); + rtDW.dbgCAN_Logic_State_model.Logic_Valve_Use_DiffBlr_R2 = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_Duct_WaitCorrection_FRL = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_Duct_WaitCorrection_FLL = 0U; + 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' + * 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.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; + /* BusCreator: '/Bus Creator' incorporates: * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' @@ -59699,7 +59563,7 @@ void HVAC_model_step(void) /* End of Saturate: '/from 0 to 3' */ - /* If: '/���� SC front �� ��������2' incorporates: + /* If: '/åñëè SC front íå çàâåðøåí2' incorporates: * DataStoreRead: '/Data Store Read1' * DataTypeConversion: '/Data Type Conversion' * DataTypeConversion: '/Data Type Conversion2' @@ -60341,7 +60205,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read13' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' * MATLAB Function: '/Time goto from step 1 to step 2 ' */ MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_out_mxq), @@ -60478,7 +60342,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read13' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), &WinterCondition_is_active_F, @@ -60576,7 +60440,7 @@ void HVAC_model_step(void) */ ECTminmax(rtDW.LEVEL, rtb_out_jow); - /* Lookup_n-D: '/blower ��� �������� ECT' incorporates: + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: * DataStoreRead: '/engine coolant temp' */ rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, @@ -60640,7 +60504,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read14' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), &WinterCondition_is_active_F, @@ -60746,7 +60610,7 @@ void HVAC_model_step(void) */ ECTminmax(rtDW.LEVEL, rtb_out_jow); - /* Lookup_n-D: '/blower ��� �������� ECT' incorporates: + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: * DataStoreRead: '/engine coolant temp' */ rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, @@ -60810,7 +60674,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read13' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), &WinterCondition_is_active_F, @@ -60895,7 +60759,7 @@ void HVAC_model_step(void) */ ECTminmax(rtDW.LEVEL, rtb_out_jow); - /* Lookup_n-D: '/blower ��� �������� ECT' incorporates: + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: * DataStoreRead: '/engine coolant temp' */ rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, @@ -60959,7 +60823,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read13' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), &WinterCondition_is_active_F, @@ -61025,8 +60889,8 @@ void HVAC_model_step(void) uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); @@ -61049,15 +60913,15 @@ void HVAC_model_step(void) * Abs: '/Abs' * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write12' * Gain: '/Gain1' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61093,8 +60957,8 @@ void HVAC_model_step(void) rtDW.Dtg_FLL = rtDW.Dtg_FLR; /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); @@ -61118,15 +60982,15 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write10' * Gain: '/Gain1' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61185,8 +61049,8 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61210,11 +61074,11 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write3' incorporates: * Constant: '/Constant' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * Sum: '/Add' * Sum: '/Subtract' * Switch: '/Switch' @@ -61241,13 +61105,13 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * Product: '/Product1' * Product: '/change rate (AF//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61313,7 +61177,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read3' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), &WinterCondition_is_active_F, @@ -61344,22 +61208,22 @@ void HVAC_model_step(void) /* End of Switch: '/Switch1' */ /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_k = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_cm = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_f = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_gc = rtDW.t_now; @@ -61377,8 +61241,8 @@ void HVAC_model_step(void) uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); @@ -61401,15 +61265,15 @@ void HVAC_model_step(void) * Abs: '/Abs' * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write12' * Gain: '/Gain1' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61445,8 +61309,8 @@ void HVAC_model_step(void) rtDW.Dtg_FLL = rtDW.Dtg_FLR; /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); @@ -61470,15 +61334,15 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write10' * Gain: '/Gain1' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61526,8 +61390,8 @@ void HVAC_model_step(void) incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ Comp_Max_RPM_Allowed = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); @@ -61543,15 +61407,15 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * 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 (� ������������ � �������)' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { @@ -61569,12 +61433,12 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write3' incorporates: * Constant: '/Constant' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * Sum: '/Add' * Sum: '/Subtract' * Switch: '/Switch' @@ -61605,13 +61469,13 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61677,7 +61541,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read3' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), &WinterCondition_is_active_F, @@ -61708,22 +61572,22 @@ void HVAC_model_step(void) /* End of Switch: '/Switch1' */ /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_mz = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_n = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_le = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_cb = rtDW.t_now; @@ -61782,8 +61646,8 @@ void HVAC_model_step(void) uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); @@ -61806,15 +61670,15 @@ void HVAC_model_step(void) * Abs: '/Abs' * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write12' * Gain: '/Gain1' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61850,8 +61714,8 @@ void HVAC_model_step(void) rtDW.Dtg_FLL = rtDW.Dtg_FLR; /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); @@ -61875,15 +61739,15 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * DataStoreWrite: '/Data Store Write10' * Gain: '/Gain1' * Product: '/Product1' * Product: '/change rate (dtg//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -61936,8 +61800,8 @@ void HVAC_model_step(void) autodemistautodefog(rtDW.LEVEL, &Comp_Max_RPM_Allowed); /* Sum: '/Add' incorporates: - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ EN_BATTChiller = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); @@ -61953,15 +61817,15 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Switch: '/Switch' */ if (EN_BATTChiller <= 0.01) { /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/�������� auto (� ������������ � �������)' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { @@ -61979,12 +61843,12 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write3' incorporates: * Constant: '/Constant' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * Sum: '/Add' * Sum: '/Subtract' * Switch: '/Switch' @@ -62015,13 +61879,13 @@ void HVAC_model_step(void) /* Switch: '/Switch' incorporates: * Constant: '/Constant' * Constant: '/epsilon' - * DataStoreRead: '/������� �������� blower ' - * DataStoreRead: '/�������� auto (� ������������ � �������)' - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/Òåêóùåå çíà÷åíèå blower ' + * DataStoreRead: '/çíà÷åíèå auto (â ñîîòâåòñòâèè ñ ëîãèêîé)' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' * Product: '/Product1' * Product: '/change rate (step//sec)' - * Product: '/�������� � ��' - * Product: '/��� ���������' + * Product: '/ñêîðîñòü â ìñ' + * Product: '/øàã èçìåíåíèÿ' * RelationalOperator: '/Relational Operator' * RelationalOperator: '/Relational Operator' * Sum: '/Add' @@ -62074,7 +61938,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read13' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), &WinterCondition_is_active_F, @@ -62113,22 +61977,22 @@ void HVAC_model_step(void) /* End of Switch: '/Switch1' */ /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_g = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_h = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_ly = rtDW.t_now; /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/������� ����� � ��' + * DataStoreRead: '/òåêóùåå âðåìÿ â ìñ' */ rtDW.UnitDelay_DSTATE_gu = rtDW.t_now; @@ -62158,7 +62022,7 @@ void HVAC_model_step(void) /* End of Outputs for SubSystem: '/Start Control Front' */ } - /* End of If: '/���� SC front �� ��������2' */ + /* End of If: '/åñëè SC front íå çàâåðøåí2' */ /* Saturate: '/from 0 to 3' incorporates: * Constant: '/Constant' @@ -62175,7 +62039,7 @@ void HVAC_model_step(void) /* End of Saturate: '/from 0 to 3' */ - /* If: '/���� SC front �� ��������3' incorporates: + /* If: '/åñëè SC front íå çàâåðøåí3' incorporates: * DataStoreRead: '/Data Store Read3' * DataTypeConversion: '/Data Type Conversion1' * DataTypeConversion: '/Data Type Conversion3' @@ -62680,7 +62544,7 @@ void HVAC_model_step(void) 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: + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: * DataStoreRead: '/engine coolant temp' */ rtb_y_hg = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jow, @@ -62724,7 +62588,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read9' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_hg), &WinterCondition_is_active_F, @@ -62800,7 +62664,7 @@ void HVAC_model_step(void) */ ECTminmax_j(rtDW.LEVEL, rtb_out_jow); - /* Lookup_n-D: '/blower ��� �������� ECT' incorporates: + /* Lookup_n-D: '/blower äëÿ òåêóùåãî ECT' incorporates: * DataStoreRead: '/engine coolant temp' */ rtb_y_hg = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jow, @@ -62844,7 +62708,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read9' - * Gain: '/�� ��� � ��' + * Gain: '/èç ñåê â ìñ' */ MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_hg), &WinterCondition_is_active_F, &rtDW.sf_MATLABFunction1_c); @@ -63038,7 +62902,7 @@ void HVAC_model_step(void) /* End of Outputs for SubSystem: '/Start Control Rear' */ } - /* End of If: '/���� SC front �� ��������3' */ + /* End of If: '/åñëè SC front íå çàâåðøåí3' */ /* If: '/If' incorporates: * DataStoreRead: '/Data Store Read' @@ -63376,7 +63240,7 @@ void HVAC_model_initialize(void) rtDW.ErrorCalibration_private_b[i] = 1U; /* Start for DataStoreMemory: '/Data Store Memory121' */ - rtDW.MaxPositionCh0_private[i] = rtConstP.pooled92[i]; + rtDW.MaxPositionCh0_private[i] = rtConstP.pooled91[i]; /* Start for DataStoreMemory: '/Data Store Memory123' */ rtDW.MaxPositionCh1_private[i] = rtConstP.pooled93[i]; @@ -63732,7 +63596,7 @@ void HVAC_model_initialize(void) /* SystemInitialize for MATLAB Function: '/filter sensor' */ filtersensor_Init(&rtDW.sf_filtersensor_a); - /* SystemInitialize for Enabled SubSystem: '/TM_CP and FIU - ������ ��� ���������' */ + /* 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; @@ -63749,7 +63613,7 @@ void HVAC_model_initialize(void) 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: '/Emergency_Air_Cleaning' */ /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ @@ -63825,14 +63689,14 @@ void HVAC_model_initialize(void) /* SystemInitialize for IfAction SubSystem: '/Homing' */ /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* 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' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_h); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ /* SystemInitialize for Merge: '/Merge' */ @@ -63845,14 +63709,14 @@ void HVAC_model_initialize(void) /* SystemInitialize for IfAction SubSystem: '/Homing' */ /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_j = 1.0; /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_hk); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ /* SystemInitialize for Merge: '/Merge' */ @@ -63865,14 +63729,14 @@ void HVAC_model_initialize(void) /* SystemInitialize for IfAction SubSystem: '/Homing' */ /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer = 1.0; /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_g); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ /* SystemInitialize for Merge: '/Merge' */ diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model.h b/MODULES/HVAC_M7_MODEL/HVAC_model.h index 4f81776..d2c37ce 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.1867 + * Model version : 1.1879 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 + * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -232,6 +232,8 @@ typedef struct { 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' */ + DMRL_Msg1_Bus CCUCAN_DMRL_Msg1_model;/* '/Data Store Memory496' */ + DMRR_Msg1_Bus CCUCAN_DMRR_Msg1_model;/* '/Data Store Memory497' */ 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' */ @@ -270,7 +272,6 @@ typedef struct { double REST_is_active; /* '/Data Store Memory102' */ double Sun_L; /* '/Data Store Memory143' */ double Sun_R; /* '/Data Store Memory144' */ - double act_debug_command; /* '/Data Store Memory494' */ double Engine_speed; /* '/EMS_nICEngineSpeed3' */ double start_control_finished_rear; /* '/SC Rear' */ double Start_timer; /* '/Data Store Memory' */ @@ -616,6 +617,7 @@ typedef struct { 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 act_debug_command; /* '/Data Store Memory494' */ uint8_t Mode_RR; /* '/Data Store Memory50' */ uint8_t Mode_logic_RR; /* '/Data Store Memory54' */ uint8_t CCU_ActuatorErrR_Stat_private;/* '/Data Store Memory67' */ @@ -845,16 +847,16 @@ typedef struct { 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' */ } 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) */ @@ -1121,35 +1123,35 @@ typedef struct { /* Pooled Parameter (Expression: [1050 1250 1175 1195 1315 1300 1485 1440 1195]) * Referenced by: * '/Data Store Memory121' - * '/ACT1' - * '/ACT1' + * '/ACT1' + * '/ACT1' */ - uint16_t pooled92[9]; - - /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' - */ - uint16_t ACT1_Value[6]; + uint16_t pooled91[9]; /* Pooled Parameter (Expression: [1225 1320 1270 1540 1480 1175 0 0 0]) * Referenced by: * '/Data Store Memory123' - * '/ACT1' + * '/ACT1' */ uint16_t pooled93[9]; - /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + /* Computed Parameter: ACT1_Value + * Referenced by: '/ACT1' */ - uint16_t ACT1_Value_m[8]; + uint16_t ACT1_Value[6]; /* Pooled Parameter (Expression: [3075 3075 1605 1840 1650 1635 1820 1650 0]) * Referenced by: * '/Data Store Memory124' - * '/ACT1' + * '/ACT1' */ uint16_t pooled94[9]; + /* Computed Parameter: ACT1_Value_m + * Referenced by: '/ACT1' + */ + uint16_t ACT1_Value_m[8]; + /* Computed Parameter: FRONT_HVAC_LIMITED_tableData * Referenced by: '/FRONT_HVAC_LIMITED' */ @@ -1311,7 +1313,7 @@ typedef struct { * '/Constant5' * '/Constant5' */ - uint8_t pooled146[9]; + uint8_t pooled147[9]; /* Computed Parameter: Constant3_Value * Referenced by: '/Constant3' @@ -3241,12 +3243,12 @@ extern RT_MODEL *const rtM; * 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 '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Constant' : Unused code path elimination @@ -3256,12 +3258,12 @@ extern RT_MODEL *const rtM; * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Constant' : Unused code path elimination @@ -3272,12 +3274,12 @@ extern RT_MODEL *const rtM; * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Constant' : Unused code path elimination @@ -3655,12 +3657,12 @@ extern RT_MODEL *const rtM; * 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 + * 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 */ @@ -6186,7 +6188,7 @@ extern RT_MODEL *const rtM; * '' : '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_CCU1/maxDEF 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' @@ -6443,16 +6445,16 @@ extern RT_MODEL *const rtM; * '' : '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/Check Stall Max/If Action Subsystem2/debug position' + * '' : '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' @@ -6514,16 +6516,16 @@ extern RT_MODEL *const rtM; * '' : '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/Check Stall Max/If Action Subsystem2/debug position' + * '' : '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' @@ -6586,16 +6588,16 @@ extern RT_MODEL *const rtM; * '' : '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/Check Stall Max/If Action Subsystem2/debug position' + * '' : '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' @@ -7095,32 +7097,34 @@ extern RT_MODEL *const rtM; * '' : '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/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/dbg_Act_calibration_error_model' + * '' : 'HVAC_model/dbg CAN/dbg_Act_calibration_model' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Blower' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Rec' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Valve' * '' : '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_Incar' + * '' : 'HVAC_model/dbg CAN/dbg_sen_Demist ' * '' : '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/dbg CAN/dbg_Logic_Ac/WinterAC_state_Front' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Rear' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Front/MATLAB Function' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Rear/MATLAB Function' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/dbg_MaxAC' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/select operation mode' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/dbg_MaxAC/select MAX AC node for dbg' */ #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 e6583bd..41dd09a 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.1867 + * Model version : 1.1879 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 + * C/C++ source code generated on : Wed Oct 28 12:18:29 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' */ } , - /* 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' */ } , - /* 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' */ } - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ }; /* Constant parameters (default storage) */ @@ -1434,35 +1434,35 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [1050 1250 1175 1195 1315 1300 1485 1440 1195]) * Referenced by: * '/Data Store Memory121' - * '/ACT1' - * '/ACT1' + * '/ACT1' + * '/ACT1' */ { 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U }, - /* Computed Parameter: ACT1_Value - * 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' + * '/ACT1' */ { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U, 0U, 0U, 0U }, - /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + /* Computed Parameter: ACT1_Value + * Referenced by: '/ACT1' */ - { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, + { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, /* Pooled Parameter (Expression: [3075 3075 1605 1840 1650 1635 1820 1650 0]) * Referenced by: * '/Data Store Memory124' - * '/ACT1' + * '/ACT1' */ { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U, 0U }, + /* Computed Parameter: ACT1_Value_m + * Referenced by: '/ACT1' + */ + { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, + /* Computed Parameter: FRONT_HVAC_LIMITED_tableData * Referenced by: '/FRONT_HVAC_LIMITED' */ diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model_private.h b/MODULES/HVAC_M7_MODEL/HVAC_model_private.h index 1f2b172..07062c9 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.1867 + * Model version : 1.1879 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 + * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model_types.h b/MODULES/HVAC_M7_MODEL/HVAC_model_types.h index 58ee765..129ae22 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.1867 + * Model version : 1.1879 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Tue Oct 27 14:12:31 2026 + * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -526,6 +526,7 @@ typedef struct { uint8_t Logic_Rec_Partial_Winter; uint8_t Logic_Rec_Partial_Summer; uint8_t Logic_Rec_FreshAirPurge_Sts; + uint8_t Logic_Rec_Ajar_Stat; } dbgCAN_Logic_Rec_Bus; #endif @@ -1212,6 +1213,8 @@ typedef struct { uint8_t BCM_EEM; uint8_t DMFR_Msg1; uint8_t DMFL_Msg1; + uint8_t DMRL_Msg1; + uint8_t DMRR_Msg1; uint8_t TM_Stat; uint8_t TM_CP; uint8_t HVC_CCU_Status_Msg; @@ -1577,6 +1580,60 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_DMRL_Msg1_Bus_ +#define DEFINED_TYPEDEF_FOR_DMRL_Msg1_Bus_ + +typedef struct { + uint8_t DMRL_WarningInd; + uint8_t DMRL_DoorLockState; + uint8_t DMRL_DoorAjarState; + uint8_t DMRL_DoorCloseSw_Req; + uint8_t DMRL_IntDoorHandle_Req; + uint8_t DMRL_IntDoorLockSw_Cmd; + uint8_t DMRL_ChildLock_Stat; + uint8_t DMRL_VolumeLevel_Cmd; + uint8_t DMRL_WindowFullyClosed_Stat; + uint8_t DMRL_Multimedia_Req; + uint8_t DMRL_Comm_Req; + uint8_t DMRL_DoorAjarFault_Stat; + uint8_t DMRL_DoorMovement_Stat; + uint8_t DMRL_Antipinch_Stat; + uint8_t DMRL_DoorDirection_Stat; + uint8_t DMRL_RR_Window_Cmd; + uint8_t DMRL_ElcromeBright_Stat; + uint8_t DMRL_SunShade_Stat; + uint8_t DMRL_RearCurtain_Req; +} DMRL_Msg1_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_DMRR_Msg1_Bus_ +#define DEFINED_TYPEDEF_FOR_DMRR_Msg1_Bus_ + +typedef struct { + uint8_t DMRR_WarningInd; + uint8_t DMRR_DoorLockState; + uint8_t DMRR_DoorAjarState; + uint8_t DMRR_DoorCloseSw_Req; + uint8_t DMRR_IntDoorHandle_Req; + uint8_t DMRR_IntDoorLockSw_Cmd; + uint8_t DMRR_ChildLock_Stat; + uint8_t DMRR_VolumeLevel_Cmd; + uint8_t DMRR_WindowFullyClosed_Stat; + uint8_t DMRR_Multimedia_Req; + uint8_t DMRR_Comm_Req; + uint8_t DMRR_DoorAjarFault_Stat; + uint8_t DMRR_DoorMovement_Stat; + uint8_t DMRR_Antipinch_Stat; + uint8_t DMRR_DoorDirection_Stat; + uint8_t DMRR_RL_Window_Cmd; + uint8_t DMRR_ElcromeBright_Stat; + uint8_t DMRR_SunShade_Stat; + uint8_t DMRR_RearCurtain_Req; +} DMRR_Msg1_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_ActuatorCmdBusInput_ #define DEFINED_TYPEDEF_FOR_ActuatorCmdBusInput_