From 65eaab376bdbb94d586c86c0a996695c75ee3eaf Mon Sep 17 00:00:00 2001 From: Andreas Guther Date: Mon, 21 Oct 2024 10:21:33 +0200 Subject: [PATCH] fix(a380x): fixed strange behaviors in FBW computers (#9105) (cherry picked from commit 1be7fd71f549bc26eb6bdd574588938e556f5483) --- fbw-a380x/src/wasm/fbw_a380/CMakeLists.txt | 1 - fbw-a380x/src/wasm/fbw_a380/build.sh | 1 - .../src/model/A380LateralNormalLaw.cpp | 36 +- .../fbw_a380/src/model/A380LateralNormalLaw.h | 8 +- .../fbw_a380/src/model/A380PitchNormalLaw.cpp | 295 +- .../fbw_a380/src/model/A380PrimComputer.cpp | 788 ++--- .../fbw_a380/src/model/A380PrimComputer.h | 4 +- .../src/model/A380PrimComputer_types.h | 58 +- .../fbw_a380/src/model/A380SecComputer.cpp | 2810 +++++++++-------- .../wasm/fbw_a380/src/model/A380SecComputer.h | 6 + .../src/model/A380SecComputer_data.cpp | 15 + .../src/model/A380SecComputer_types.h | 1 + .../wasm/fbw_a380/src/model/AutopilotLaws.cpp | 276 +- .../src/model/AutopilotStateMachine.cpp | 62 +- .../src/model/AutopilotStateMachine.h | 20 +- .../wasm/fbw_a380/src/model/FacComputer.cpp | 204 +- .../fbw_a380/src/model/FacComputer_types.h | 24 +- .../fbw_a380/src/model/look2_pbinlxpw.cpp | 78 - .../wasm/fbw_a380/src/model/look2_pbinlxpw.h | 9 - 19 files changed, 2323 insertions(+), 2373 deletions(-) delete mode 100644 fbw-a380x/src/wasm/fbw_a380/src/model/look2_pbinlxpw.cpp delete mode 100644 fbw-a380x/src/wasm/fbw_a380/src/model/look2_pbinlxpw.h diff --git a/fbw-a380x/src/wasm/fbw_a380/CMakeLists.txt b/fbw-a380x/src/wasm/fbw_a380/CMakeLists.txt index d481b5d2026..98fb97e9d10 100644 --- a/fbw-a380x/src/wasm/fbw_a380/CMakeLists.txt +++ b/fbw-a380x/src/wasm/fbw_a380/CMakeLists.txt @@ -56,7 +56,6 @@ add_executable(flybywire-a380x-fbw src/model/intrp3d_l_pw.cpp src/model/look1_binlxpw.cpp src/model/look2_binlxpw.cpp - src/model/look2_pbinlxpw.cpp src/model/maximum_Abpa9SzA.cpp src/model/mod_OlzklkXq.cpp src/model/MultiWordIor.cpp diff --git a/fbw-a380x/src/wasm/fbw_a380/build.sh b/fbw-a380x/src/wasm/fbw_a380/build.sh index b0228adc9e6..bd4ad98a501 100755 --- a/fbw-a380x/src/wasm/fbw_a380/build.sh +++ b/fbw-a380x/src/wasm/fbw_a380/build.sh @@ -129,7 +129,6 @@ clang++ \ "${DIR}/src/model/intrp3d_l_pw.cpp" \ "${DIR}/src/model/look1_binlxpw.cpp" \ "${DIR}/src/model/look2_binlxpw.cpp" \ - "${DIR}/src/model/look2_pbinlxpw.cpp" \ "${DIR}/src/model/maximum_Abpa9SzA.cpp" \ "${DIR}/src/model/mod_OlzklkXq.cpp" \ "${DIR}/src/model/MultiWordIor.cpp" \ diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380LateralNormalLaw.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/A380LateralNormalLaw.cpp index 3bdfb8c0772..cf0092a03b0 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380LateralNormalLaw.cpp +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380LateralNormalLaw.cpp @@ -351,8 +351,8 @@ void A380LateralNormalLaw::reset(void) A380LateralNormalLaw_RateLimiter_Reset(&A380LateralNormalLaw_DWork.sf_RateLimiter_k); A380LateralNormalLaw_DWork.pY_not_empty = false; A380LateralNormalLaw_DWork.pU_not_empty = false; - A380LateralNormalLaw_DWork.pY_not_empty_g = false; - A380LateralNormalLaw_DWork.pY_not_empty_m = false; + A380LateralNormalLaw_DWork.pY_not_empty_j = false; + A380LateralNormalLaw_DWork.pY_not_empty_a = false; A380LateralNormalLaw_RateLimiter_Reset(&A380LateralNormalLaw_DWork.sf_RateLimiter_go); A380LateralNormalLaw_RateLimiter_Reset(&A380LateralNormalLaw_DWork.sf_RateLimiter_g); A380LateralNormalLaw_TransportDelay_Reset(&A380LateralNormalLaw_DWork.sf_TransportDelay_p); @@ -598,20 +598,20 @@ void A380LateralNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_ A380LateralNormalLaw_DWork.Delay_DSTATE = A380LateralNormalLaw_rtP.Saturation_LowerSat_l; } - if (!A380LateralNormalLaw_DWork.pY_not_empty_g) { - A380LateralNormalLaw_DWork.pY_f = A380LateralNormalLaw_rtP.RateLimiterVariableTs2_InitialCondition; - A380LateralNormalLaw_DWork.pY_not_empty_g = true; + if (!A380LateralNormalLaw_DWork.pY_not_empty_j) { + A380LateralNormalLaw_DWork.pY_m = A380LateralNormalLaw_rtP.RateLimiterVariableTs2_InitialCondition; + A380LateralNormalLaw_DWork.pY_not_empty_j = true; } - A380LateralNormalLaw_DWork.pY_f += std::fmax(std::fmin(static_cast(*rtu_In_on_ground) - - A380LateralNormalLaw_DWork.pY_f, std::abs(A380LateralNormalLaw_rtP.RateLimiterVariableTs2_up) * *rtu_In_time_dt), + A380LateralNormalLaw_DWork.pY_m += std::fmax(std::fmin(static_cast(*rtu_In_on_ground) - + A380LateralNormalLaw_DWork.pY_m, std::abs(A380LateralNormalLaw_rtP.RateLimiterVariableTs2_up) * *rtu_In_time_dt), -std::abs(A380LateralNormalLaw_rtP.RateLimiterVariableTs2_lo) * *rtu_In_time_dt); - if (A380LateralNormalLaw_DWork.pY_f > A380LateralNormalLaw_rtP.Saturation_UpperSat_l) { + if (A380LateralNormalLaw_DWork.pY_m > A380LateralNormalLaw_rtP.Saturation_UpperSat_l) { rtb_Limiterxi = A380LateralNormalLaw_rtP.Saturation_UpperSat_l; - } else if (A380LateralNormalLaw_DWork.pY_f < A380LateralNormalLaw_rtP.Saturation_LowerSat_j) { + } else if (A380LateralNormalLaw_DWork.pY_m < A380LateralNormalLaw_rtP.Saturation_LowerSat_j) { rtb_Limiterxi = A380LateralNormalLaw_rtP.Saturation_LowerSat_j; } else { - rtb_Limiterxi = A380LateralNormalLaw_DWork.pY_f; + rtb_Limiterxi = A380LateralNormalLaw_DWork.pY_m; } denom = (A380LateralNormalLaw_rtP.Constant_Value_o - rtb_Limiterxi) * A380LateralNormalLaw_DWork.Delay_DSTATE; @@ -637,20 +637,20 @@ void A380LateralNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_ A380LateralNormalLaw_DWork.Delay_DSTATE = A380LateralNormalLaw_rtP.Saturation1_LowerSat; } - if (!A380LateralNormalLaw_DWork.pY_not_empty_m) { - A380LateralNormalLaw_DWork.pY_f5 = A380LateralNormalLaw_rtP.RateLimiterVariableTs1_InitialCondition_m; - A380LateralNormalLaw_DWork.pY_not_empty_m = true; + if (!A380LateralNormalLaw_DWork.pY_not_empty_a) { + A380LateralNormalLaw_DWork.pY_a = A380LateralNormalLaw_rtP.RateLimiterVariableTs1_InitialCondition_m; + A380LateralNormalLaw_DWork.pY_not_empty_a = true; } - A380LateralNormalLaw_DWork.pY_f5 += std::fmax(std::fmin(static_cast(rtb_NOT_h_tmp) - - A380LateralNormalLaw_DWork.pY_f5, std::abs(A380LateralNormalLaw_rtP.RateLimiterVariableTs1_up_j) * *rtu_In_time_dt), + A380LateralNormalLaw_DWork.pY_a += std::fmax(std::fmin(static_cast(rtb_NOT_h_tmp) - + A380LateralNormalLaw_DWork.pY_a, std::abs(A380LateralNormalLaw_rtP.RateLimiterVariableTs1_up_j) * *rtu_In_time_dt), -std::abs(A380LateralNormalLaw_rtP.RateLimiterVariableTs1_lo_n) * *rtu_In_time_dt); - if (A380LateralNormalLaw_DWork.pY_f5 > A380LateralNormalLaw_rtP.Saturation_UpperSat_n) { + if (A380LateralNormalLaw_DWork.pY_a > A380LateralNormalLaw_rtP.Saturation_UpperSat_n) { rtb_Limiterxi = A380LateralNormalLaw_rtP.Saturation_UpperSat_n; - } else if (A380LateralNormalLaw_DWork.pY_f5 < A380LateralNormalLaw_rtP.Saturation_LowerSat_b) { + } else if (A380LateralNormalLaw_DWork.pY_a < A380LateralNormalLaw_rtP.Saturation_LowerSat_b) { rtb_Limiterxi = A380LateralNormalLaw_rtP.Saturation_LowerSat_b; } else { - rtb_Limiterxi = A380LateralNormalLaw_DWork.pY_f5; + rtb_Limiterxi = A380LateralNormalLaw_DWork.pY_a; } Vtas = A380LateralNormalLaw_DWork.Delay_DSTATE * rtb_Limiterxi; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380LateralNormalLaw.h b/fbw-a380x/src/wasm/fbw_a380/src/model/A380LateralNormalLaw.h index 941d54f326c..43247db4baf 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380LateralNormalLaw.h +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380LateralNormalLaw.h @@ -24,13 +24,13 @@ class A380LateralNormalLaw final real_T Delay_DSTATE_o; real_T pY; real_T pU; - real_T pY_f; - real_T pY_f5; + real_T pY_m; + real_T pY_a; boolean_T icLoad; boolean_T pY_not_empty; boolean_T pU_not_empty; - boolean_T pY_not_empty_g; - boolean_T pY_not_empty_m; + boolean_T pY_not_empty_j; + boolean_T pY_not_empty_a; rtDW_TransportDelay_A380LateralNormalLaw_T sf_TransportDelay_p; rtDW_TransportDelay_A380LateralNormalLaw_T sf_TransportDelay; rtDW_RateLimiter_A380LateralNormalLaw_T sf_RateLimiter_go; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380PitchNormalLaw.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/A380PitchNormalLaw.cpp index bca66b4b83d..b72daa42cdd 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380PitchNormalLaw.cpp +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380PitchNormalLaw.cpp @@ -1097,13 +1097,13 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In real_T rtb_Saturation_ix; real_T rtb_Sum1_n; real_T rtb_Sum_ma; - real_T rtb_Y_b; - real_T rtb_Y_g; - real_T rtb_Y_h; - real_T rtb_Y_i; + real_T rtb_Y_a; + real_T rtb_Y_dd; real_T rtb_Y_j; - real_T rtb_Y_ld; - real_T rtb_Y_p; + real_T rtb_Y_k2; + real_T rtb_Y_lv; + real_T rtb_Y_m; + real_T rtb_Y_pa; real_T rtb_alpha_err_gain; real_T rtb_eta_trim_deg_rate_limit_lo_deg_s; real_T rtb_eta_trim_deg_rate_limit_up_deg_s; @@ -1348,20 +1348,20 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In A380PitchNormalLaw_RateLimiter(rtb_Sum_ma, A380PitchNormalLaw_rtP.RateLimiterVariableTs_up, A380PitchNormalLaw_rtP.RateLimiterVariableTs_lo, rtu_In_time_dt, - A380PitchNormalLaw_rtP.RateLimiterVariableTs_InitialCondition, &rtb_Y_b, &A380PitchNormalLaw_DWork.sf_RateLimiter); + A380PitchNormalLaw_rtP.RateLimiterVariableTs_InitialCondition, &rtb_Y_pa, &A380PitchNormalLaw_DWork.sf_RateLimiter); if (A380PitchNormalLaw_DWork.is_active_c6_A380PitchNormalLaw == 0) { A380PitchNormalLaw_DWork.is_active_c6_A380PitchNormalLaw = 1U; A380PitchNormalLaw_DWork.is_c6_A380PitchNormalLaw = A380PitchNormalLaw_IN_OFF; rtb_in_flare = 0; } else if (A380PitchNormalLaw_DWork.is_c6_A380PitchNormalLaw == A380PitchNormalLaw_IN_OFF) { - if ((rtb_Y_b < 1.0) && (*rtu_In_V_tas_kn > 70.0) && ((*rtu_In_thrust_lever_1_pos >= 35.0) || + if ((rtb_Y_pa < 1.0) && (*rtu_In_V_tas_kn > 70.0) && ((*rtu_In_thrust_lever_1_pos >= 35.0) || (*rtu_In_thrust_lever_2_pos >= 35.0))) { A380PitchNormalLaw_DWork.is_c6_A380PitchNormalLaw = A380PitchNormalLaw_IN_ON; rtb_in_flare = 1; } else { rtb_in_flare = 0; } - } else if ((rtb_Y_b == 1.0) || (*rtu_In_H_radio_ft > 400.0) || ((*rtu_In_V_tas_kn < 70.0) && + } else if ((rtb_Y_pa == 1.0) || (*rtu_In_H_radio_ft > 400.0) || ((*rtu_In_V_tas_kn < 70.0) && ((*rtu_In_thrust_lever_1_pos < 35.0) || (*rtu_In_thrust_lever_2_pos < 35.0)))) { A380PitchNormalLaw_DWork.is_c6_A380PitchNormalLaw = A380PitchNormalLaw_IN_OFF; rtb_in_flare = 0; @@ -1379,30 +1379,32 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In A380PitchNormalLaw_RateLimiter(rtb_Sum_ma, A380PitchNormalLaw_rtP.RateLimiterVariableTs1_up, A380PitchNormalLaw_rtP.RateLimiterVariableTs1_lo, rtu_In_time_dt, - A380PitchNormalLaw_rtP.RateLimiterVariableTs1_InitialCondition, &rtb_Y_h, &A380PitchNormalLaw_DWork.sf_RateLimiter_p); + A380PitchNormalLaw_rtP.RateLimiterVariableTs1_InitialCondition, &rtb_Y_lv, + &A380PitchNormalLaw_DWork.sf_RateLimiter_p); A380PitchNormalLaw_RateLimiter(rtb_nz_limit_up_g, A380PitchNormalLaw_rtP.RateLimiterVariableTs2_up, A380PitchNormalLaw_rtP.RateLimiterVariableTs2_lo, rtu_In_time_dt, A380PitchNormalLaw_rtP.RateLimiterVariableTs2_InitialCondition, &rtb_Sum_ma, &A380PitchNormalLaw_DWork.sf_RateLimiter_c); A380PitchNormalLaw_RateLimiter(rtb_nz_limit_lo_g, A380PitchNormalLaw_rtP.RateLimiterVariableTs3_up, A380PitchNormalLaw_rtP.RateLimiterVariableTs3_lo, rtu_In_time_dt, - A380PitchNormalLaw_rtP.RateLimiterVariableTs3_InitialCondition, &rtb_Y_p, &A380PitchNormalLaw_DWork.sf_RateLimiter_n); + A380PitchNormalLaw_rtP.RateLimiterVariableTs3_InitialCondition, &rtb_Y_dd, + &A380PitchNormalLaw_DWork.sf_RateLimiter_n); A380PitchNormalLaw_RateLimiter(static_cast(rtb_AND), A380PitchNormalLaw_rtP.RateLimiterVariableTs4_up, A380PitchNormalLaw_rtP.RateLimiterVariableTs4_lo, rtu_In_time_dt, A380PitchNormalLaw_rtP.RateLimiterVariableTs4_InitialCondition, &rtb_ManualSwitch, &A380PitchNormalLaw_DWork.sf_RateLimiter_l); - A380PitchNormalLaw_eta_trim_limit_lofreeze(rtu_In_eta_trim_deg, rtu_In_high_aoa_prot_active, &rtb_Y_j, + A380PitchNormalLaw_eta_trim_limit_lofreeze(rtu_In_eta_trim_deg, rtu_In_high_aoa_prot_active, &rtb_Y_m, &A380PitchNormalLaw_DWork.sf_eta_trim_limit_lofreeze); if (*rtu_In_high_aoa_prot_active) { - *rty_Out_eta_trim_limit_lo = rtb_Y_j; + *rty_Out_eta_trim_limit_lo = rtb_Y_m; } else { *rty_Out_eta_trim_limit_lo = A380PitchNormalLaw_rtP.Constant3_Value; } - A380PitchNormalLaw_eta_trim_limit_lofreeze(rtu_In_eta_trim_deg, rtu_In_high_speed_prot_active, &rtb_Y_j, + A380PitchNormalLaw_eta_trim_limit_lofreeze(rtu_In_eta_trim_deg, rtu_In_high_speed_prot_active, &rtb_Y_m, &A380PitchNormalLaw_DWork.sf_eta_trim_limit_upfreeze); if (*rtu_In_high_speed_prot_active) { - *rty_Out_eta_trim_limit_up = rtb_Y_j; + *rty_Out_eta_trim_limit_up = rtb_Y_m; } else { *rty_Out_eta_trim_limit_up = A380PitchNormalLaw_rtP.Constant2_Value; } @@ -1419,18 +1421,18 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In A380PitchNormalLaw_RateLimiter(static_cast(rtb_in_flare) - std::fmin(5.0, std::fmax(0.0, 5.0 - (rtb_Gain1 - (rtb_Gain_px + 5.0)) * 0.25)), A380PitchNormalLaw_rtP.RateLimiterVariableTs6_up, A380PitchNormalLaw_rtP.RateLimiterVariableTs6_lo, rtu_In_time_dt, - A380PitchNormalLaw_rtP.RateLimiterVariableTs6_InitialCondition, &rtb_Y_j, &A380PitchNormalLaw_DWork.sf_RateLimiter_o); + A380PitchNormalLaw_rtP.RateLimiterVariableTs6_InitialCondition, &rtb_Y_m, &A380PitchNormalLaw_DWork.sf_RateLimiter_o); rtb_Loaddemand2 = A380PitchNormalLaw_rtP.Gain1_Gain * *rtu_In_Theta_deg; rtb_Gain1 = A380PitchNormalLaw_rtP.Gain1_Gain_c * *rtu_In_Theta_deg; rtb_Cos = std::cos(rtb_Gain1); rtb_Gain1 = A380PitchNormalLaw_rtP.Gain1_Gain_l * *rtu_In_Phi_deg; - rtb_Y_ld = rtb_Cos / std::cos(rtb_Gain1); - rtb_Y_g = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.uDLookupTable_bp01Data, + rtb_Y_a = rtb_Cos / std::cos(rtb_Gain1); + rtb_Y_j = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.uDLookupTable_bp01Data, A380PitchNormalLaw_rtP.uDLookupTable_tableData, 6U); rtb_v_target = *rtu_In_V_tas_kn; rtb_Gain1 = A380PitchNormalLaw_rtP.Gain1_Gain_e * *rtu_In_qk_deg_s; - rtb_Gain_av = *rtu_In_nz_g - rtb_Y_ld; - rtb_Gain1_e = A380PitchNormalLaw_rtP.Gain2_Gain * rtb_Y_j - rtb_Loaddemand2; + rtb_Gain_av = *rtu_In_nz_g - rtb_Y_a; + rtb_Gain1_e = A380PitchNormalLaw_rtP.Gain2_Gain * rtb_Y_m - rtb_Loaddemand2; if (rtb_v_target > A380PitchNormalLaw_rtP.Saturation3_UpperSat) { rtb_v_target = A380PitchNormalLaw_rtP.Saturation3_UpperSat; } else if (rtb_v_target < A380PitchNormalLaw_rtP.Saturation3_LowerSat) { @@ -1443,47 +1445,47 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Gain1_e = A380PitchNormalLaw_rtP.Saturation1_LowerSat_h; } - rtb_Y_i = (A380PitchNormalLaw_rtP.Gain_Gain_c * A380PitchNormalLaw_rtP.Vm_currentms_Value * rtb_Gain1 + rtb_Gain_av) - - (rtb_Y_g / (A380PitchNormalLaw_rtP.Gain5_Gain * rtb_v_target) + A380PitchNormalLaw_rtP.Bias_Bias) * ((rtb_Y_ld + + rtb_Y_k2 = (A380PitchNormalLaw_rtP.Gain_Gain_c * A380PitchNormalLaw_rtP.Vm_currentms_Value * rtb_Gain1 + rtb_Gain_av) + - (rtb_Y_j / (A380PitchNormalLaw_rtP.Gain5_Gain * rtb_v_target) + A380PitchNormalLaw_rtP.Bias_Bias) * ((rtb_Y_a + look1_binlxpw(rtb_Gain1_e, A380PitchNormalLaw_rtP.Loaddemand1_bp01Data, A380PitchNormalLaw_rtP.Loaddemand1_tableData, - 2U)) - rtb_Y_ld); - rtb_Y_g = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.PLUT_bp01Data, A380PitchNormalLaw_rtP.PLUT_tableData, + 2U)) - rtb_Y_a); + rtb_Y_j = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.PLUT_bp01Data, A380PitchNormalLaw_rtP.PLUT_tableData, 1U); - rtb_Product1_dm = rtb_Y_i * rtb_Y_g; + rtb_Product1_dm = rtb_Y_k2 * rtb_Y_j; rtb_Gain1 = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs1_Gain * *rtu_In_qk_deg_s; rtb_Divide = (rtb_Gain1 - A380PitchNormalLaw_DWork.Delay_DSTATE) / *rtu_In_time_dt; - rtb_Y_g = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.DLUT_bp01Data, A380PitchNormalLaw_rtP.DLUT_tableData, + rtb_Y_j = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.DLUT_bp01Data, A380PitchNormalLaw_rtP.DLUT_tableData, 1U); - rtb_Gain_px = rtb_Y_i * rtb_Y_g * A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain; + rtb_Gain_px = rtb_Y_k2 * rtb_Y_j * A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain; rtb_Divide_o = (rtb_Gain_px - A380PitchNormalLaw_DWork.Delay_DSTATE_n) / *rtu_In_time_dt; rtb_Gain_ot = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs2_Gain * *rtu_In_V_tas_kn; rtb_Divide_an = (rtb_Gain_ot - A380PitchNormalLaw_DWork.Delay_DSTATE_c) / *rtu_In_time_dt; - A380PitchNormalLaw_LagFilter(rtb_Divide_an, A380PitchNormalLaw_rtP.LagFilter_C1, rtu_In_time_dt, &rtb_Y_j, + A380PitchNormalLaw_LagFilter(rtb_Divide_an, A380PitchNormalLaw_rtP.LagFilter_C1, rtu_In_time_dt, &rtb_Y_m, &A380PitchNormalLaw_DWork.sf_LagFilter_k); - if (rtb_Y_j > A380PitchNormalLaw_rtP.SaturationV_dot_UpperSat) { + if (rtb_Y_m > A380PitchNormalLaw_rtP.SaturationV_dot_UpperSat) { rtb_Divide_bq = A380PitchNormalLaw_rtP.SaturationV_dot_UpperSat; - } else if (rtb_Y_j < A380PitchNormalLaw_rtP.SaturationV_dot_LowerSat) { + } else if (rtb_Y_m < A380PitchNormalLaw_rtP.SaturationV_dot_LowerSat) { rtb_Divide_bq = A380PitchNormalLaw_rtP.SaturationV_dot_LowerSat; } else { - rtb_Divide_bq = rtb_Y_j; + rtb_Divide_bq = rtb_Y_m; } rtb_Gain5_gq = std::fmin(*rtu_In_spoilers_left_pos, *rtu_In_spoilers_right_pos); - A380PitchNormalLaw_WashoutFilter(rtb_Gain5_gq, A380PitchNormalLaw_rtP.WashoutFilter_C1, rtu_In_time_dt, &rtb_Y_j, + A380PitchNormalLaw_WashoutFilter(rtb_Gain5_gq, A380PitchNormalLaw_rtP.WashoutFilter_C1, rtu_In_time_dt, &rtb_Y_m, &A380PitchNormalLaw_DWork.sf_WashoutFilter_k); - rtb_Y_g = look1_binlxpw(*rtu_In_H_radio_ft, A380PitchNormalLaw_rtP.ScheduledGain_BreakpointsForDimension1, + rtb_Y_j = look1_binlxpw(*rtu_In_H_radio_ft, A380PitchNormalLaw_rtP.ScheduledGain_BreakpointsForDimension1, A380PitchNormalLaw_rtP.ScheduledGain_Table, 3U); - if (rtb_Y_j > A380PitchNormalLaw_rtP.SaturationSpoilers_UpperSat) { - rtb_Y_j = A380PitchNormalLaw_rtP.SaturationSpoilers_UpperSat; - } else if (rtb_Y_j < A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat) { - rtb_Y_j = A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat; + if (rtb_Y_m > A380PitchNormalLaw_rtP.SaturationSpoilers_UpperSat) { + rtb_Y_m = A380PitchNormalLaw_rtP.SaturationSpoilers_UpperSat; + } else if (rtb_Y_m < A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat) { + rtb_Y_m = A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat; } - rtb_Product_kz = rtb_Y_j * rtb_Y_g; + rtb_Product_kz = rtb_Y_m * rtb_Y_j; rtb_Divide_an = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs1_Gain_i * *rtu_In_qk_deg_s; rtb_Divide_cq = (rtb_Divide_an - A380PitchNormalLaw_DWork.Delay_DSTATE_l) / *rtu_In_time_dt; rtb_Gain1_ft = A380PitchNormalLaw_rtP.Gain1_Gain_o * *rtu_In_qk_deg_s; - rtb_Y_i = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.uDLookupTable_bp01Data_o, + rtb_Y_k2 = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.uDLookupTable_bp01Data_o, A380PitchNormalLaw_rtP.uDLookupTable_tableData_e, 6U); rtb_v_target = *rtu_In_V_tas_kn; if (rtb_v_target > A380PitchNormalLaw_rtP.Saturation3_UpperSat_a) { @@ -1492,39 +1494,39 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_v_target = A380PitchNormalLaw_rtP.Saturation3_LowerSat_l; } - rtb_Y_i = (A380PitchNormalLaw_rtP.Gain_Gain_a * A380PitchNormalLaw_rtP.Vm_currentms_Value_e * rtb_Gain1_ft + - rtb_Gain_av) - (rtb_Y_i / (A380PitchNormalLaw_rtP.Gain5_Gain_d * rtb_v_target) + - A380PitchNormalLaw_rtP.Bias_Bias_a) * (rtb_Sum_ma - rtb_Y_ld); - rtb_Y_g = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.PLUT_bp01Data_b, + rtb_Y_k2 = (A380PitchNormalLaw_rtP.Gain_Gain_a * A380PitchNormalLaw_rtP.Vm_currentms_Value_e * rtb_Gain1_ft + + rtb_Gain_av) - (rtb_Y_k2 / (A380PitchNormalLaw_rtP.Gain5_Gain_d * rtb_v_target) + + A380PitchNormalLaw_rtP.Bias_Bias_a) * (rtb_Sum_ma - rtb_Y_a); + rtb_Y_j = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.PLUT_bp01Data_b, A380PitchNormalLaw_rtP.PLUT_tableData_b, 1U); - rtb_Product1_ck = rtb_Y_i * rtb_Y_g; - rtb_Y_g = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.DLUT_bp01Data_h, + rtb_Product1_ck = rtb_Y_k2 * rtb_Y_j; + rtb_Y_j = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.DLUT_bp01Data_h, A380PitchNormalLaw_rtP.DLUT_tableData_p, 1U); - rtb_Gain1_ft = rtb_Y_i * rtb_Y_g * A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain_j; + rtb_Gain1_ft = rtb_Y_k2 * rtb_Y_j * A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain_j; rtb_Divide_l = (rtb_Gain1_ft - A380PitchNormalLaw_DWork.Delay_DSTATE_k) / *rtu_In_time_dt; rtb_Gain_bs = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs2_Gain_e * *rtu_In_V_tas_kn; rtb_Sum_ma = (rtb_Gain_bs - A380PitchNormalLaw_DWork.Delay_DSTATE_d) / *rtu_In_time_dt; - A380PitchNormalLaw_LagFilter(rtb_Sum_ma, A380PitchNormalLaw_rtP.LagFilter_C1_p, rtu_In_time_dt, &rtb_Y_j, + A380PitchNormalLaw_LagFilter(rtb_Sum_ma, A380PitchNormalLaw_rtP.LagFilter_C1_p, rtu_In_time_dt, &rtb_Y_m, &A380PitchNormalLaw_DWork.sf_LagFilter_g3); - if (rtb_Y_j > A380PitchNormalLaw_rtP.SaturationV_dot_UpperSat_j) { + if (rtb_Y_m > A380PitchNormalLaw_rtP.SaturationV_dot_UpperSat_j) { rtb_Gain_f = A380PitchNormalLaw_rtP.SaturationV_dot_UpperSat_j; - } else if (rtb_Y_j < A380PitchNormalLaw_rtP.SaturationV_dot_LowerSat_e) { + } else if (rtb_Y_m < A380PitchNormalLaw_rtP.SaturationV_dot_LowerSat_e) { rtb_Gain_f = A380PitchNormalLaw_rtP.SaturationV_dot_LowerSat_e; } else { - rtb_Gain_f = rtb_Y_j; + rtb_Gain_f = rtb_Y_m; } - A380PitchNormalLaw_WashoutFilter(rtb_Gain5_gq, A380PitchNormalLaw_rtP.WashoutFilter_C1_n, rtu_In_time_dt, &rtb_Y_j, + A380PitchNormalLaw_WashoutFilter(rtb_Gain5_gq, A380PitchNormalLaw_rtP.WashoutFilter_C1_n, rtu_In_time_dt, &rtb_Y_m, &A380PitchNormalLaw_DWork.sf_WashoutFilter_c); - rtb_Y_g = look1_binlxpw(*rtu_In_H_radio_ft, A380PitchNormalLaw_rtP.ScheduledGain_BreakpointsForDimension1_n, + rtb_Y_j = look1_binlxpw(*rtu_In_H_radio_ft, A380PitchNormalLaw_rtP.ScheduledGain_BreakpointsForDimension1_n, A380PitchNormalLaw_rtP.ScheduledGain_Table_b, 3U); - if (rtb_Y_j > A380PitchNormalLaw_rtP.SaturationSpoilers_UpperSat_g) { - rtb_Y_j = A380PitchNormalLaw_rtP.SaturationSpoilers_UpperSat_g; - } else if (rtb_Y_j < A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat_j) { - rtb_Y_j = A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat_j; + if (rtb_Y_m > A380PitchNormalLaw_rtP.SaturationSpoilers_UpperSat_g) { + rtb_Y_m = A380PitchNormalLaw_rtP.SaturationSpoilers_UpperSat_g; + } else if (rtb_Y_m < A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat_j) { + rtb_Y_m = A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat_j; } - rtb_Product_n3 = rtb_Y_j * rtb_Y_g; + rtb_Product_n3 = rtb_Y_m * rtb_Y_j; A380PitchNormalLaw_RateLimiter_h(rtu_In_delta_eta_pos, A380PitchNormalLaw_rtP.RateLimiterVariableTs2_up_m, A380PitchNormalLaw_rtP.RateLimiterVariableTs2_lo_k, rtu_In_time_dt, A380PitchNormalLaw_rtP.RateLimiterVariableTs2_InitialCondition_f, &rtb_Sum_ma, @@ -1537,39 +1539,39 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In A380PitchNormalLaw_DWork.pY_not_empty = true; } - rtb_Y_j = *rtu_In_time_dt * A380PitchNormalLaw_rtP.LagFilter1_C1; - rtb_Sum_ma = rtb_Y_j + 2.0; - ca = rtb_Y_j / (rtb_Y_j + 2.0); - A380PitchNormalLaw_DWork.pY = (2.0 - rtb_Y_j) / (rtb_Y_j + 2.0) * A380PitchNormalLaw_DWork.pY + (*rtu_In_alpha_deg * + rtb_Y_m = *rtu_In_time_dt * A380PitchNormalLaw_rtP.LagFilter1_C1; + rtb_Sum_ma = rtb_Y_m + 2.0; + ca = rtb_Y_m / (rtb_Y_m + 2.0); + A380PitchNormalLaw_DWork.pY = (2.0 - rtb_Y_m) / (rtb_Y_m + 2.0) * A380PitchNormalLaw_DWork.pY + (*rtu_In_alpha_deg * ca + A380PitchNormalLaw_DWork.pU * ca); A380PitchNormalLaw_DWork.pU = *rtu_In_alpha_deg; ca = A380PitchNormalLaw_DWork.pY - *rtu_In_alpha_prot; rtb_y = std::fmax(std::fmax(0.0, *rtu_In_Theta_deg - 22.5), std::fmax(0.0, (std::abs(*rtu_In_Phi_deg) - 3.0) / 6.0)); A380PitchNormalLaw_WashoutFilter(rtb_y, A380PitchNormalLaw_rtP.WashoutFilter_C1_b, rtu_In_time_dt, &rtb_Sum_ma, &A380PitchNormalLaw_DWork.sf_WashoutFilter_h); - rtb_Y_i = (rtb_y_c - ca) - rtb_Sum_ma; - rtb_y_c = A380PitchNormalLaw_rtP.Subsystem1_Gain * rtb_Y_i; + rtb_Y_k2 = (rtb_y_c - ca) - rtb_Sum_ma; + rtb_y_c = A380PitchNormalLaw_rtP.Subsystem1_Gain * rtb_Y_k2; ca = (rtb_y_c - A380PitchNormalLaw_DWork.Delay_DSTATE_f) / *rtu_In_time_dt; - rtb_Y_g = *rtu_In_time_dt * A380PitchNormalLaw_rtP.Subsystem1_C1; - rtb_Saturation_ix = rtb_Y_g + A380PitchNormalLaw_rtP.Constant_Value_f; - A380PitchNormalLaw_DWork.Delay1_DSTATE = 1.0 / rtb_Saturation_ix * (A380PitchNormalLaw_rtP.Constant_Value_f - rtb_Y_g) - * A380PitchNormalLaw_DWork.Delay1_DSTATE + (ca + A380PitchNormalLaw_DWork.Delay_DSTATE_g) * (rtb_Y_g / + rtb_Y_j = *rtu_In_time_dt * A380PitchNormalLaw_rtP.Subsystem1_C1; + rtb_Saturation_ix = rtb_Y_j + A380PitchNormalLaw_rtP.Constant_Value_f; + A380PitchNormalLaw_DWork.Delay1_DSTATE = 1.0 / rtb_Saturation_ix * (A380PitchNormalLaw_rtP.Constant_Value_f - rtb_Y_j) + * A380PitchNormalLaw_DWork.Delay1_DSTATE + (ca + A380PitchNormalLaw_DWork.Delay_DSTATE_g) * (rtb_Y_j / rtb_Saturation_ix); - rtb_alpha_err_gain = A380PitchNormalLaw_rtP.alpha_err_gain_Gain * rtb_Y_i; + rtb_alpha_err_gain = A380PitchNormalLaw_rtP.alpha_err_gain_Gain * rtb_Y_k2; rtb_y = A380PitchNormalLaw_rtP.Subsystem3_Gain * *rtu_In_V_ias_kn; rtb_Divide_c = (rtb_y - A380PitchNormalLaw_DWork.Delay_DSTATE_j) / *rtu_In_time_dt; rtb_Saturation_ix = *rtu_In_time_dt * A380PitchNormalLaw_rtP.Subsystem3_C1; - rtb_Y_i = rtb_Saturation_ix + A380PitchNormalLaw_rtP.Constant_Value_bb; - A380PitchNormalLaw_DWork.Delay1_DSTATE_i = 1.0 / rtb_Y_i * (A380PitchNormalLaw_rtP.Constant_Value_bb - + rtb_Y_k2 = rtb_Saturation_ix + A380PitchNormalLaw_rtP.Constant_Value_bb; + A380PitchNormalLaw_DWork.Delay1_DSTATE_i = 1.0 / rtb_Y_k2 * (A380PitchNormalLaw_rtP.Constant_Value_bb - rtb_Saturation_ix) * A380PitchNormalLaw_DWork.Delay1_DSTATE_i + (rtb_Divide_c + - A380PitchNormalLaw_DWork.Delay_DSTATE_ca) * (rtb_Saturation_ix / rtb_Y_i); + A380PitchNormalLaw_DWork.Delay_DSTATE_ca) * (rtb_Saturation_ix / rtb_Y_k2); rtb_qk_gain = A380PitchNormalLaw_rtP.qk_gain_Gain * *rtu_In_qk_deg_s; rtb_qk_dot_gain = A380PitchNormalLaw_rtP.qk_dot_gain_Gain * *rtu_In_qk_dot_deg_s2; - rtb_Y_g = *rtu_In_high_aoa_prot_active; + rtb_Y_j = *rtu_In_high_aoa_prot_active; rtb_Sum_ma = A380PitchNormalLaw_rtP.RateLimiterVariableTs5_up * *rtu_In_time_dt; - rtb_Y_g = std::fmin(rtb_Y_g - A380PitchNormalLaw_DWork.Delay_DSTATE_e, rtb_Sum_ma); + rtb_Y_j = std::fmin(rtb_Y_j - A380PitchNormalLaw_DWork.Delay_DSTATE_e, rtb_Sum_ma); rtb_Sum_ma = *rtu_In_time_dt * A380PitchNormalLaw_rtP.RateLimiterVariableTs5_lo; - A380PitchNormalLaw_DWork.Delay_DSTATE_e += std::fmax(rtb_Y_g, rtb_Sum_ma); + A380PitchNormalLaw_DWork.Delay_DSTATE_e += std::fmax(rtb_Y_j, rtb_Sum_ma); if (A380PitchNormalLaw_DWork.Delay_DSTATE_e > A380PitchNormalLaw_rtP.Saturation_UpperSat_e) { rtb_Sum_ma = A380PitchNormalLaw_rtP.Saturation_UpperSat_e; } else if (A380PitchNormalLaw_DWork.Delay_DSTATE_e < A380PitchNormalLaw_rtP.Saturation_LowerSat_h) { @@ -1604,19 +1606,19 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Bias_o = rtb_Sum_ma / (A380PitchNormalLaw_rtP.Gain5_Gain_e * rtb_v_target) + A380PitchNormalLaw_rtP.Bias_Bias_f; A380PitchNormalLaw_RateLimiter_h(rtu_In_ap_theta_c_deg, A380PitchNormalLaw_rtP.RateLimiterVariableTs1_up_d, A380PitchNormalLaw_rtP.RateLimiterVariableTs1_lo_g, rtu_In_time_dt, - A380PitchNormalLaw_rtP.RateLimiterVariableTs1_InitialCondition_l, &rtb_Y_g, + A380PitchNormalLaw_rtP.RateLimiterVariableTs1_InitialCondition_l, &rtb_Y_j, &A380PitchNormalLaw_DWork.sf_RateLimiter_d); rtb_uDLookupTable = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.ScheduledGain_BreakpointsForDimension1_h, A380PitchNormalLaw_rtP.ScheduledGain_Table_j, 6U); A380PitchNormalLaw_RateLimiter_h(rtu_In_delta_eta_pos, A380PitchNormalLaw_rtP.RateLimiterVariableTs_up_n, A380PitchNormalLaw_rtP.RateLimiterVariableTs_lo_c, rtu_In_time_dt, - A380PitchNormalLaw_rtP.RateLimiterVariableTs_InitialCondition_o, &rtb_Y_j, + A380PitchNormalLaw_rtP.RateLimiterVariableTs_InitialCondition_o, &rtb_Y_m, &A380PitchNormalLaw_DWork.sf_RateLimiter_c2); rtb_Saturation_ix = *rtu_In_delta_eta_pos - A380PitchNormalLaw_DWork.Delay_DSTATE_b; - rtb_Y_i = A380PitchNormalLaw_rtP.RateLimiterVariableTs3_up_i * *rtu_In_time_dt; - rtb_Saturation_ix = std::fmin(rtb_Saturation_ix, rtb_Y_i); - rtb_Y_i = *rtu_In_time_dt * A380PitchNormalLaw_rtP.RateLimiterVariableTs3_lo_b; - A380PitchNormalLaw_DWork.Delay_DSTATE_b += std::fmax(rtb_Saturation_ix, rtb_Y_i); + rtb_Y_k2 = A380PitchNormalLaw_rtP.RateLimiterVariableTs3_up_i * *rtu_In_time_dt; + rtb_Saturation_ix = std::fmin(rtb_Saturation_ix, rtb_Y_k2); + rtb_Y_k2 = *rtu_In_time_dt * A380PitchNormalLaw_rtP.RateLimiterVariableTs3_lo_b; + A380PitchNormalLaw_DWork.Delay_DSTATE_b += std::fmax(rtb_Saturation_ix, rtb_Y_k2); rtb_v_target = std::fmax((*rtu_In_high_speed_prot_low_kn - *rtu_In_high_speed_prot_high_kn) * A380PitchNormalLaw_DWork.Delay_DSTATE_b, 0.0) + *rtu_In_high_speed_prot_low_kn; rtb_qk_gain = A380PitchNormalLaw_rtP.Subsystem2_Gain * rtb_v_target; @@ -1634,38 +1636,38 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma) * A380PitchNormalLaw_DWork.Delay1_DSTATE_n + (rtb_Divide_k + A380PitchNormalLaw_DWork.Delay_DSTATE_k2) * (rtb_Sum_ma / rtb_Saturation_ix); rtb_in_flare = *rtu_In_high_speed_prot_active; - rtb_Y_i = A380PitchNormalLaw_rtP.RateLimiterVariableTs4_up_b * *rtu_In_time_dt; - rtb_Saturation_ix = std::fmin(static_cast(rtb_in_flare) - A380PitchNormalLaw_DWork.Delay_DSTATE_mz, rtb_Y_i); - rtb_Y_i = *rtu_In_time_dt * A380PitchNormalLaw_rtP.RateLimiterVariableTs4_lo_o; - A380PitchNormalLaw_DWork.Delay_DSTATE_mz += std::fmax(rtb_Saturation_ix, rtb_Y_i); + rtb_Y_k2 = A380PitchNormalLaw_rtP.RateLimiterVariableTs4_up_b * *rtu_In_time_dt; + rtb_Saturation_ix = std::fmin(static_cast(rtb_in_flare) - A380PitchNormalLaw_DWork.Delay_DSTATE_mz, rtb_Y_k2); + rtb_Y_k2 = *rtu_In_time_dt * A380PitchNormalLaw_rtP.RateLimiterVariableTs4_lo_o; + A380PitchNormalLaw_DWork.Delay_DSTATE_mz += std::fmax(rtb_Saturation_ix, rtb_Y_k2); if (*rtu_In_any_ap_engaged) { - rtb_Sum_ma = rtb_Y_g - *rtu_In_Theta_deg; + rtb_Sum_ma = rtb_Y_j - *rtu_In_Theta_deg; rtb_Sum_ma *= rtb_uDLookupTable; } else { - rtb_Y_j = look1_binlxpw(rtb_Y_j, A380PitchNormalLaw_rtP.Loaddemand_bp01Data, + rtb_Y_m = look1_binlxpw(rtb_Y_m, A380PitchNormalLaw_rtP.Loaddemand_bp01Data, A380PitchNormalLaw_rtP.Loaddemand_tableData, 2U); if (A380PitchNormalLaw_DWork.Delay_DSTATE_mz > A380PitchNormalLaw_rtP.Saturation_UpperSat) { - rtb_Y_g = A380PitchNormalLaw_rtP.Saturation_UpperSat; + rtb_Y_j = A380PitchNormalLaw_rtP.Saturation_UpperSat; } else if (A380PitchNormalLaw_DWork.Delay_DSTATE_mz < A380PitchNormalLaw_rtP.Saturation_LowerSat) { - rtb_Y_g = A380PitchNormalLaw_rtP.Saturation_LowerSat; + rtb_Y_j = A380PitchNormalLaw_rtP.Saturation_LowerSat; } else { - rtb_Y_g = A380PitchNormalLaw_DWork.Delay_DSTATE_mz; + rtb_Y_j = A380PitchNormalLaw_DWork.Delay_DSTATE_mz; } if (rtb_in_flare > A380PitchNormalLaw_rtP.Switch2_Threshold) { rtb_Sum_ma = A380PitchNormalLaw_rtP.qk_dot_gain1_Gain * *rtu_In_qk_dot_deg_s2; - rtb_Y_i = A380PitchNormalLaw_rtP.qk_gain_HSP_Gain * *rtu_In_qk_deg_s; + rtb_Y_k2 = A380PitchNormalLaw_rtP.qk_gain_HSP_Gain * *rtu_In_qk_deg_s; rtb_v_target -= *rtu_In_V_ias_kn; rtb_v_target = ((((A380PitchNormalLaw_rtP.precontrol_gain_HSP_Gain * A380PitchNormalLaw_DWork.Delay1_DSTATE_l + A380PitchNormalLaw_rtP.Gain6_Gain * rtb_v_target) + A380PitchNormalLaw_rtP.v_dot_gain_HSP_Gain * - A380PitchNormalLaw_DWork.Delay1_DSTATE_n) + rtb_Y_i) + rtb_Sum_ma) * + A380PitchNormalLaw_DWork.Delay1_DSTATE_n) + rtb_Y_k2) + rtb_Sum_ma) * A380PitchNormalLaw_rtP.HSP_gain_Gain; - if (rtb_Y_j > A380PitchNormalLaw_rtP.Saturation8_UpperSat) { + if (rtb_Y_m > A380PitchNormalLaw_rtP.Saturation8_UpperSat) { rtb_Sum_ma = A380PitchNormalLaw_rtP.Saturation8_UpperSat; - } else if (rtb_Y_j < A380PitchNormalLaw_rtP.Saturation8_LowerSat) { + } else if (rtb_Y_m < A380PitchNormalLaw_rtP.Saturation8_LowerSat) { rtb_Sum_ma = A380PitchNormalLaw_rtP.Saturation8_LowerSat; } else { - rtb_Sum_ma = rtb_Y_j; + rtb_Sum_ma = rtb_Y_m; } if (rtb_v_target > A380PitchNormalLaw_rtP.Saturation4_UpperSat) { @@ -1679,7 +1681,7 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = A380PitchNormalLaw_rtP.Constant1_Value_g; } - rtb_Sum_ma = (A380PitchNormalLaw_rtP.Constant_Value_m - rtb_Y_g) * rtb_Y_j + rtb_Sum_ma * rtb_Y_g; + rtb_Sum_ma = (A380PitchNormalLaw_rtP.Constant_Value_m - rtb_Y_j) * rtb_Y_m + rtb_Sum_ma * rtb_Y_j; } rtb_v_target = *rtu_In_Phi_deg; @@ -1691,18 +1693,18 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = (A380PitchNormalLaw_rtP.Gain_Gain_b * A380PitchNormalLaw_rtP.Vm_currentms_Value_h * rtb_Gain1_e + rtb_Gain_av) - ((rtb_Cos / std::cos(A380PitchNormalLaw_rtP.Gain1_Gain_lm * rtb_v_target) + rtb_Sum_ma) - - rtb_Y_ld) * rtb_Bias_o; + rtb_Y_a) * rtb_Bias_o; rtb_Saturation_ix = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.PLUT_bp01Data_f, A380PitchNormalLaw_rtP.PLUT_tableData_k, 1U); - rtb_Y_g = rtb_Sum_ma * rtb_Saturation_ix; + rtb_Y_j = rtb_Sum_ma * rtb_Saturation_ix; rtb_Saturation_ix = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.DLUT_bp01Data_m, A380PitchNormalLaw_rtP.DLUT_tableData_a, 1U); rtb_Cos = rtb_Sum_ma * rtb_Saturation_ix * A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain_b; rtb_v_target = (rtb_Cos - A380PitchNormalLaw_DWork.Delay_DSTATE_jh) / *rtu_In_time_dt; - rtb_Y_j = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs2_Gain_c * *rtu_In_V_tas_kn; + rtb_Y_m = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs2_Gain_c * *rtu_In_V_tas_kn; rtb_Sum_ma = A380PitchNormalLaw_DWork.Delay_DSTATE_dy; - rtb_Y_i = (rtb_Y_j - A380PitchNormalLaw_DWork.Delay_DSTATE_dy) / *rtu_In_time_dt; - A380PitchNormalLaw_LagFilter(rtb_Y_i, A380PitchNormalLaw_rtP.LagFilter_C1_pt, rtu_In_time_dt, &rtb_Sum_ma, + rtb_Y_k2 = (rtb_Y_m - A380PitchNormalLaw_DWork.Delay_DSTATE_dy) / *rtu_In_time_dt; + A380PitchNormalLaw_LagFilter(rtb_Y_k2, A380PitchNormalLaw_rtP.LagFilter_C1_pt, rtu_In_time_dt, &rtb_Sum_ma, &A380PitchNormalLaw_DWork.sf_LagFilter_i); if (rtb_Sum_ma > A380PitchNormalLaw_rtP.SaturationV_dot_UpperSat_b) { rtb_Sum_ma = A380PitchNormalLaw_rtP.SaturationV_dot_UpperSat_b; @@ -1710,7 +1712,7 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = A380PitchNormalLaw_rtP.SaturationV_dot_LowerSat_m; } - rtb_Y_i = A380PitchNormalLaw_rtP.Gain_Gain_f * rtb_Sum_ma; + rtb_Y_k2 = A380PitchNormalLaw_rtP.Gain_Gain_f * rtb_Sum_ma; A380PitchNormalLaw_WashoutFilter(rtb_Gain5_gq, A380PitchNormalLaw_rtP.WashoutFilter_C1_l, rtu_In_time_dt, &rtb_Sum_ma, &A380PitchNormalLaw_DWork.sf_WashoutFilter_l); rtb_Saturation_ix = look1_binlxpw(*rtu_In_H_radio_ft, A380PitchNormalLaw_rtP.ScheduledGain_BreakpointsForDimension1_c, @@ -1721,10 +1723,10 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat_jl; } - rtb_v_target = (((A380PitchNormalLaw_rtP.Gain3_Gain_c * rtb_Divide_ho + rtb_Y_g) + rtb_v_target) + rtb_Y_i) + + rtb_v_target = (((A380PitchNormalLaw_rtP.Gain3_Gain_c * rtb_Divide_ho + rtb_Y_j) + rtb_v_target) + rtb_Y_k2) + rtb_Sum_ma * rtb_Saturation_ix; - rtb_Y_g = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs1_Gain_c * *rtu_In_qk_deg_s; - rtb_Y_i = (rtb_Y_g - A380PitchNormalLaw_DWork.Delay_DSTATE_e5) / *rtu_In_time_dt; + rtb_Y_j = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs1_Gain_c * *rtu_In_qk_deg_s; + rtb_Y_k2 = (rtb_Y_j - A380PitchNormalLaw_DWork.Delay_DSTATE_e5) / *rtu_In_time_dt; rtb_Divide_ho = A380PitchNormalLaw_rtP.Gain1_Gain_b * *rtu_In_qk_deg_s; rtb_Sum_ma = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.uDLookupTable_bp01Data_a, A380PitchNormalLaw_rtP.uDLookupTable_tableData_p, 6U); @@ -1737,14 +1739,14 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = (A380PitchNormalLaw_rtP.Gain_Gain_p * A380PitchNormalLaw_rtP.Vm_currentms_Value_p * rtb_Divide_ho + rtb_Gain_av) - (rtb_Sum_ma / (A380PitchNormalLaw_rtP.Gain5_Gain_n * rtb_Gain1_e) + - A380PitchNormalLaw_rtP.Bias_Bias_ai) * (rtb_Y_p - rtb_Y_ld); + A380PitchNormalLaw_rtP.Bias_Bias_ai) * (rtb_Y_dd - rtb_Y_a); rtb_Saturation_ix = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.PLUT_bp01Data_a, A380PitchNormalLaw_rtP.PLUT_tableData_o, 1U); rtb_Bias_o = rtb_Sum_ma * rtb_Saturation_ix; rtb_Saturation_ix = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.DLUT_bp01Data_k, A380PitchNormalLaw_rtP.DLUT_tableData_e, 1U); - rtb_Y_p = rtb_Sum_ma * rtb_Saturation_ix * A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain_p; - rtb_uDLookupTable = (rtb_Y_p - A380PitchNormalLaw_DWork.Delay_DSTATE_gz) / *rtu_In_time_dt; + rtb_Y_dd = rtb_Sum_ma * rtb_Saturation_ix * A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain_p; + rtb_uDLookupTable = (rtb_Y_dd - A380PitchNormalLaw_DWork.Delay_DSTATE_gz) / *rtu_In_time_dt; rtb_Divide_ho = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs2_Gain_a * *rtu_In_V_tas_kn; rtb_Sum_ma = A380PitchNormalLaw_DWork.Delay_DSTATE_lf; rtb_Saturation_ix = (rtb_Divide_ho - A380PitchNormalLaw_DWork.Delay_DSTATE_lf) / *rtu_In_time_dt; @@ -1769,7 +1771,7 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat_l; } - rtb_Sum_ma = (((A380PitchNormalLaw_rtP.Gain3_Gain_b * rtb_Y_i + rtb_Bias_o) + rtb_uDLookupTable) + rtb_Gain_nu) + + rtb_Sum_ma = (((A380PitchNormalLaw_rtP.Gain3_Gain_b * rtb_Y_k2 + rtb_Bias_o) + rtb_uDLookupTable) + rtb_Gain_nu) + rtb_Sum_ma * rtb_Saturation_ix; if (rtb_Gain1_e > A380PitchNormalLaw_rtP.Saturation_UpperSat_hc) { rtb_Gain1_e = A380PitchNormalLaw_rtP.Saturation_UpperSat_hc; @@ -1790,7 +1792,7 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In } A380PitchNormalLaw_VoterAttitudeProtection(rtb_Gain1_e, rtb_Product_k + rtb_Sum1_n * rtb_v_target, rtb_Sum_ma, - &rtb_Y_i); + &rtb_Y_k2); rtb_Divide_cq = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs1_Gain_k * *rtu_In_qk_deg_s; rtb_Product1_ck = (rtb_Divide_cq - A380PitchNormalLaw_DWork.Delay_DSTATE_h) / *rtu_In_time_dt; rtb_Divide_l = A380PitchNormalLaw_rtP.Gain1_Gain_lk * *rtu_In_qk_deg_s; @@ -1812,11 +1814,11 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = (A380PitchNormalLaw_rtP.Gain_Gain_jq * A380PitchNormalLaw_rtP.Vm_currentms_Value_b * rtb_Divide_l + rtb_Gain_av) - (rtb_Sum_ma / (A380PitchNormalLaw_rtP.Gain5_Gain_m * rtb_v_target) + - A380PitchNormalLaw_rtP.Bias_Bias_m) * ((rtb_Y_ld + look1_binlxpw(rtb_Gain1_e, - A380PitchNormalLaw_rtP.Loaddemand2_bp01Data, A380PitchNormalLaw_rtP.Loaddemand2_tableData, 2U)) - rtb_Y_ld); + A380PitchNormalLaw_rtP.Bias_Bias_m) * ((rtb_Y_a + look1_binlxpw(rtb_Gain1_e, + A380PitchNormalLaw_rtP.Loaddemand2_bp01Data, A380PitchNormalLaw_rtP.Loaddemand2_tableData, 2U)) - rtb_Y_a); rtb_Saturation_ix = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.PLUT_bp01Data_e, A380PitchNormalLaw_rtP.PLUT_tableData_g, 1U); - rtb_Y_ld = rtb_Sum_ma * rtb_Saturation_ix; + rtb_Y_a = rtb_Sum_ma * rtb_Saturation_ix; rtb_Saturation_ix = look1_binlxpw(*rtu_In_V_tas_kn, A380PitchNormalLaw_rtP.DLUT_bp01Data_hw, A380PitchNormalLaw_rtP.DLUT_tableData_l, 1U); rtb_Loaddemand2 = rtb_Sum_ma * rtb_Saturation_ix * A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain_c; @@ -1845,7 +1847,7 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = A380PitchNormalLaw_rtP.SaturationSpoilers_LowerSat_d; } - rtb_Gain1_e = (((A380PitchNormalLaw_rtP.Gain3_Gain_n * rtb_Product1_ck + rtb_Y_ld) + rtb_Divide_l) + rtb_Gain_f) + + rtb_Gain1_e = (((A380PitchNormalLaw_rtP.Gain3_Gain_n * rtb_Product1_ck + rtb_Y_a) + rtb_Divide_l) + rtb_Gain_f) + rtb_Sum_ma * rtb_Saturation_ix; if (rtb_v_target > A380PitchNormalLaw_rtP.Saturation_UpperSat_h) { rtb_v_target = A380PitchNormalLaw_rtP.Saturation_UpperSat_h; @@ -1859,19 +1861,19 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Gain1_e = A380PitchNormalLaw_rtP.Saturation_LowerSat_k; } - A380PitchNormalLaw_VoterAttitudeProtection(rtb_v_target, rtb_Y_i, rtb_Gain1_e, &rtb_Saturation_ix); + A380PitchNormalLaw_VoterAttitudeProtection(rtb_v_target, rtb_Y_k2, rtb_Gain1_e, &rtb_Saturation_ix); rtb_Sum_ma = look1_binlxpw(*rtu_In_V_ias_kn, A380PitchNormalLaw_rtP.ScheduledGain1_BreakpointsForDimension1, A380PitchNormalLaw_rtP.ScheduledGain1_Table, 4U); - rtb_Y_ld = rtb_Saturation_ix * rtb_Sum_ma; + rtb_Y_a = rtb_Saturation_ix * rtb_Sum_ma; rtb_Sum_ma = look1_binlxpw(*rtu_In_time_dt, A380PitchNormalLaw_rtP.ScheduledGain_BreakpointsForDimension1_d, A380PitchNormalLaw_rtP.ScheduledGain_Table_hh, 4U); - rtb_Sum_ma = rtb_Y_ld * rtb_Sum_ma * A380PitchNormalLaw_rtP.DiscreteTimeIntegratorVariableTs_Gain * *rtu_In_time_dt; - rtb_Y_ld = *rtu_In_eta_deg - rtb_Sum_ma; - rtb_AND = ((rtb_Y_b == 0.0) || (rtb_ManualSwitch == A380PitchNormalLaw_rtP.CompareToConstant_const) || + rtb_Sum_ma = rtb_Y_a * rtb_Sum_ma * A380PitchNormalLaw_rtP.DiscreteTimeIntegratorVariableTs_Gain * *rtu_In_time_dt; + rtb_Y_a = *rtu_In_eta_deg - rtb_Sum_ma; + rtb_AND = ((rtb_Y_pa == 0.0) || (rtb_ManualSwitch == A380PitchNormalLaw_rtP.CompareToConstant_const) || (*rtu_In_tracking_mode_on)); A380PitchNormalLaw_DWork.icLoad = (rtb_AND || A380PitchNormalLaw_DWork.icLoad); if (A380PitchNormalLaw_DWork.icLoad) { - A380PitchNormalLaw_DWork.Delay_DSTATE_o = rtb_Y_ld; + A380PitchNormalLaw_DWork.Delay_DSTATE_o = rtb_Y_a; } A380PitchNormalLaw_DWork.Delay_DSTATE_o += rtb_Sum_ma; @@ -1897,36 +1899,36 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In *rty_Out_eta_trim_dot_deg_s = rtb_Sum_ma; } - if (rtb_Y_b > A380PitchNormalLaw_rtP.Saturation_UpperSat_l) { + if (rtb_Y_pa > A380PitchNormalLaw_rtP.Saturation_UpperSat_l) { rtb_Sum_ma = A380PitchNormalLaw_rtP.Saturation_UpperSat_l; - } else if (rtb_Y_b < A380PitchNormalLaw_rtP.Saturation_LowerSat_kp) { + } else if (rtb_Y_pa < A380PitchNormalLaw_rtP.Saturation_LowerSat_kp) { rtb_Sum_ma = A380PitchNormalLaw_rtP.Saturation_LowerSat_kp; } else { - rtb_Sum_ma = rtb_Y_b; + rtb_Sum_ma = rtb_Y_pa; } rtb_Product1_dm = A380PitchNormalLaw_DWork.Delay_DSTATE_o * rtb_Sum_ma; rtb_Divide = A380PitchNormalLaw_rtP.Constant_Value_o1 - rtb_Sum_ma; A380PitchNormalLaw_RateLimiter_h(rtu_In_delta_eta_pos, A380PitchNormalLaw_rtP.RateLimiterVariableTs_up_na, A380PitchNormalLaw_rtP.RateLimiterVariableTs_lo_i, rtu_In_time_dt, - A380PitchNormalLaw_rtP.RateLimiterVariableTs_InitialCondition_m, &rtb_Y_ld, + A380PitchNormalLaw_rtP.RateLimiterVariableTs_InitialCondition_m, &rtb_Y_a, &A380PitchNormalLaw_DWork.sf_RateLimiter_ct); rtb_Sum_ma = look2_binlxpw(*rtu_In_Theta_deg, *rtu_In_H_radio_ft, A380PitchNormalLaw_rtP.uDLookupTable_bp01Data_l, A380PitchNormalLaw_rtP.uDLookupTable_bp02Data, A380PitchNormalLaw_rtP.uDLookupTable_tableData_e5, A380PitchNormalLaw_rtP.uDLookupTable_maxIndex, 5U); rtb_Saturation_ix = *rtu_In_tailstrike_protection_on; - if (rtb_Y_ld > A380PitchNormalLaw_rtP.Saturation3_UpperSat_l) { - rtb_Y_i = A380PitchNormalLaw_rtP.Saturation3_UpperSat_l; - } else if (rtb_Y_ld < A380PitchNormalLaw_rtP.Saturation3_LowerSat_h) { - rtb_Y_i = A380PitchNormalLaw_rtP.Saturation3_LowerSat_h; + if (rtb_Y_a > A380PitchNormalLaw_rtP.Saturation3_UpperSat_l) { + rtb_Y_k2 = A380PitchNormalLaw_rtP.Saturation3_UpperSat_l; + } else if (rtb_Y_a < A380PitchNormalLaw_rtP.Saturation3_LowerSat_h) { + rtb_Y_k2 = A380PitchNormalLaw_rtP.Saturation3_LowerSat_h; } else { - rtb_Y_i = rtb_Y_ld; + rtb_Y_k2 = rtb_Y_a; } - rtb_Sum_ma = look1_binlxpw(rtb_Saturation_ix * rtb_Sum_ma * rtb_Y_i + rtb_Y_ld, + rtb_Sum_ma = look1_binlxpw(rtb_Saturation_ix * rtb_Sum_ma * rtb_Y_k2 + rtb_Y_a, A380PitchNormalLaw_rtP.PitchRateDemand_bp01Data, A380PitchNormalLaw_rtP.PitchRateDemand_tableData, 2U); rtb_eta_trim_deg_rate_limit_up_deg_s = A380PitchNormalLaw_rtP.DiscreteDerivativeVariableTs_Gain_j3 * rtb_Sum_ma; - rtb_Y_ld = (rtb_eta_trim_deg_rate_limit_up_deg_s - A380PitchNormalLaw_DWork.Delay_DSTATE_ej) / *rtu_In_time_dt; + rtb_Y_a = (rtb_eta_trim_deg_rate_limit_up_deg_s - A380PitchNormalLaw_DWork.Delay_DSTATE_ej) / *rtu_In_time_dt; rtb_Saturation_ix = *rtu_In_qk_deg_s - rtb_Sum_ma; rtb_Divide_o = A380PitchNormalLaw_rtP.Gain_Gain_pt * rtb_Saturation_ix; rtb_eta_trim_deg_rate_limit_lo_deg_s = A380PitchNormalLaw_rtP.Gain1_Gain_d * rtb_Saturation_ix * @@ -1938,16 +1940,15 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In A380PitchNormalLaw_LagFilter(rtb_Gain5_gq, A380PitchNormalLaw_rtP.LagFilter_C1_k, rtu_In_time_dt, &rtb_Saturation_ix, &A380PitchNormalLaw_DWork.sf_LagFilter_f); rtb_Gain5_gq = A380PitchNormalLaw_rtP.Gain6_Gain_g * *rtu_In_qk_dot_deg_s2; - rtb_Y_ld = (((rtb_Divide_o + rtb_Divide_bq) * A380PitchNormalLaw_rtP.Gain1_Gain_a + - A380PitchNormalLaw_rtP.Gain3_Gain_e * rtb_Y_ld) + (rtb_Saturation_ix - rtb_Sum_ma) * - A380PitchNormalLaw_rtP.Gain4_Gain) + rtb_Gain5_gq; + rtb_Y_a = (((rtb_Divide_o + rtb_Divide_bq) * A380PitchNormalLaw_rtP.Gain1_Gain_a + A380PitchNormalLaw_rtP.Gain3_Gain_e + * rtb_Y_a) + (rtb_Saturation_ix - rtb_Sum_ma) * A380PitchNormalLaw_rtP.Gain4_Gain) + rtb_Gain5_gq; rtb_Sum_ma = look1_binlxpw(*rtu_In_V_ias_kn, A380PitchNormalLaw_rtP.ScheduledGain1_BreakpointsForDimension1_h, A380PitchNormalLaw_rtP.ScheduledGain1_Table_c, 4U); - rtb_Sum_ma = (A380PitchNormalLaw_rtP.Constant2_Value_k - rtb_Y_b) * (rtb_Y_ld * rtb_Sum_ma) * + rtb_Sum_ma = (A380PitchNormalLaw_rtP.Constant2_Value_k - rtb_Y_pa) * (rtb_Y_a * rtb_Sum_ma) * A380PitchNormalLaw_rtP.DiscreteTimeIntegratorVariableTs_Gain_j * *rtu_In_time_dt; rtb_NOT = (*rtu_In_delta_eta_pos <= A380PitchNormalLaw_rtP.Constant_Value_o); rtb_NOT = (rtb_NOT && (*rtu_In_on_ground)); - rtb_NOT = (rtb_NOT || (rtb_Y_h == 0.0) || (*rtu_In_tracking_mode_on)); + rtb_NOT = (rtb_NOT || (rtb_Y_lv == 0.0) || (*rtu_In_tracking_mode_on)); A380PitchNormalLaw_DWork.icLoad_p = (rtb_NOT || A380PitchNormalLaw_DWork.icLoad_p); if (A380PitchNormalLaw_DWork.icLoad_p) { A380PitchNormalLaw_DWork.Delay_DSTATE_cl = A380PitchNormalLaw_rtP.Constant_Value_jk - rtb_Sum_ma; @@ -1973,16 +1974,16 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In rtb_Sum_ma = A380PitchNormalLaw_rtP.Constant1_Value_h; } - rtb_Y_b = A380PitchNormalLaw_DWork.Delay_DSTATE_cl + rtb_Sum_ma; - if (rtb_Y_h > A380PitchNormalLaw_rtP.Saturation_UpperSat_m) { + rtb_Y_pa = A380PitchNormalLaw_DWork.Delay_DSTATE_cl + rtb_Sum_ma; + if (rtb_Y_lv > A380PitchNormalLaw_rtP.Saturation_UpperSat_m) { rtb_Sum_ma = A380PitchNormalLaw_rtP.Saturation_UpperSat_m; - } else if (rtb_Y_h < A380PitchNormalLaw_rtP.Saturation_LowerSat_b) { + } else if (rtb_Y_lv < A380PitchNormalLaw_rtP.Saturation_LowerSat_b) { rtb_Sum_ma = A380PitchNormalLaw_rtP.Saturation_LowerSat_b; } else { - rtb_Sum_ma = rtb_Y_h; + rtb_Sum_ma = rtb_Y_lv; } - rtb_Gain = (A380PitchNormalLaw_rtP.Constant_Value_h - rtb_Sum_ma) * rtb_Gain + rtb_Y_b * rtb_Sum_ma; + rtb_Gain = (A380PitchNormalLaw_rtP.Constant_Value_h - rtb_Sum_ma) * rtb_Gain + rtb_Y_pa * rtb_Sum_ma; if (rtb_ManualSwitch > A380PitchNormalLaw_rtP.Saturation_UpperSat_p) { rtb_Sum_ma = A380PitchNormalLaw_rtP.Saturation_UpperSat_p; } else if (rtb_ManualSwitch < A380PitchNormalLaw_rtP.Saturation_LowerSat_hs) { @@ -1993,18 +1994,18 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In A380PitchNormalLaw_RateLimiter_h(rtu_In_delta_eta_pos, A380PitchNormalLaw_rtP.RateLimiterVariableTs_up_i, A380PitchNormalLaw_rtP.RateLimiterVariableTs_lo_f, rtu_In_time_dt, - A380PitchNormalLaw_rtP.RateLimiterVariableTs_InitialCondition_c, &rtb_Y_i, + A380PitchNormalLaw_rtP.RateLimiterVariableTs_InitialCondition_c, &rtb_Y_k2, &A380PitchNormalLaw_DWork.sf_RateLimiter_h); rtb_ManualSwitch = A380PitchNormalLaw_rtP.Gain1_Gain_h * *rtu_In_qk_deg_s; - rtb_Y_h = *rtu_In_nz_g + A380PitchNormalLaw_rtP.Bias_Bias_d; - rtb_v_target = A380PitchNormalLaw_rtP.Gain2_Gain_n * rtb_Y_h + rtb_ManualSwitch; + rtb_Y_lv = *rtu_In_nz_g + A380PitchNormalLaw_rtP.Bias_Bias_d; + rtb_v_target = A380PitchNormalLaw_rtP.Gain2_Gain_n * rtb_Y_lv + rtb_ManualSwitch; if (rtb_v_target > A380PitchNormalLaw_rtP.Saturation_UpperSat_g) { rtb_v_target = A380PitchNormalLaw_rtP.Saturation_UpperSat_g; } else if (rtb_v_target < A380PitchNormalLaw_rtP.Saturation_LowerSat_kf) { rtb_v_target = A380PitchNormalLaw_rtP.Saturation_LowerSat_kf; } - rtb_v_target = (A380PitchNormalLaw_rtP.Gain_Gain_m * rtb_Y_i + rtb_v_target) * rtb_Sum_ma + (rtb_Divide * rtb_Gain + + rtb_v_target = (A380PitchNormalLaw_rtP.Gain_Gain_m * rtb_Y_k2 + rtb_v_target) * rtb_Sum_ma + (rtb_Divide * rtb_Gain + rtb_Product1_dm) * (A380PitchNormalLaw_rtP.Constant_Value_fw - rtb_Sum_ma); if (rtb_v_target > A380PitchNormalLaw_rtP.Saturation_UpperSat_kp) { rtb_v_target = A380PitchNormalLaw_rtP.Saturation_UpperSat_kp; @@ -2031,9 +2032,9 @@ void A380PitchNormalLaw::step(const real_T *rtu_In_time_dt, const real_T *rtu_In A380PitchNormalLaw_DWork.Delay_DSTATE_m = rtb_Gain_ll; A380PitchNormalLaw_DWork.Delay_DSTATE_k2 = rtb_Divide_k; A380PitchNormalLaw_DWork.Delay_DSTATE_jh = rtb_Cos; - A380PitchNormalLaw_DWork.Delay_DSTATE_dy = rtb_Y_j; - A380PitchNormalLaw_DWork.Delay_DSTATE_e5 = rtb_Y_g; - A380PitchNormalLaw_DWork.Delay_DSTATE_gz = rtb_Y_p; + A380PitchNormalLaw_DWork.Delay_DSTATE_dy = rtb_Y_m; + A380PitchNormalLaw_DWork.Delay_DSTATE_e5 = rtb_Y_j; + A380PitchNormalLaw_DWork.Delay_DSTATE_gz = rtb_Y_dd; A380PitchNormalLaw_DWork.Delay_DSTATE_lf = rtb_Divide_ho; A380PitchNormalLaw_DWork.Delay_DSTATE_h = rtb_Divide_cq; A380PitchNormalLaw_DWork.Delay_DSTATE_ds = rtb_Loaddemand2; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer.cpp index d3f3698bd49..f8cb9a7de40 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer.cpp +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer.cpp @@ -430,7 +430,7 @@ void A380PrimComputer::step() real_T rtb_Switch9_f; real_T rtb_Switch_h; real_T rtb_Y; - real_T rtb_Y_l; + real_T rtb_Y_dc; real_T rtb_elevator1Command; real_T rtb_elevator2Command; real_T rtb_elevator3Command; @@ -542,10 +542,10 @@ void A380PrimComputer::step() real32_T rtb_r; real32_T rtb_raComputationValue; real32_T rtb_theta_dot; - uint32_T rtb_y_b3; - uint32_T rtb_y_b4; uint32_T rtb_y_j; - uint32_T rtb_y_o4; + uint32_T rtb_y_nv; + uint32_T rtb_y_ot; + uint32_T rtb_y_pv; boolean_T rtb_VectorConcatenate[19]; boolean_T rtb_VectorConcatenate_b[19]; boolean_T b_x[6]; @@ -616,11 +616,11 @@ void A380PrimComputer::step() boolean_T rtb_thsEngaged; boolean_T rtb_tripleAdrFault; boolean_T rtb_tripleIrFault; - boolean_T rtb_y_bb; - boolean_T rtb_y_c; - boolean_T rtb_y_gc; - boolean_T rtb_y_jk; - boolean_T rtb_y_ow; + boolean_T rtb_y_e; + boolean_T rtb_y_fb; + boolean_T rtb_y_jg; + boolean_T rtb_y_m; + boolean_T rtb_y_na; boolean_T rudder1ElectricModeAvail; boolean_T rudder1HydraulicModeAvail; boolean_T rudder1HydraulicModeHasPriority; @@ -665,7 +665,7 @@ void A380PrimComputer::step() A380PrimComputer_MATLABFunction_ge_Reset(&A380PrimComputer_DWork.sf_MATLABFunction_j2); A380PrimComputer_MATLABFunction_ge_Reset(&A380PrimComputer_DWork.sf_MATLABFunction_g24); A380PrimComputer_RateLimiter_e_Reset(&A380PrimComputer_DWork.sf_RateLimiter_ne); - A380PrimComputer_DWork.eventTime_not_empty_m = false; + A380PrimComputer_DWork.eventTime_not_empty_i = false; A380PrimComputer_RateLimiter_e_Reset(&A380PrimComputer_DWork.sf_RateLimiter_mr); A380PrimComputer_DWork.sProtActive = false; A380PrimComputer_DWork.resetEventTime_not_empty = false; @@ -965,31 +965,31 @@ void A380PrimComputer::step() rtb_left_inboard_aileron_deg = rtb_phi_dot; A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel_bit, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel_bit, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &rtb_NOT_k); - rtb_OR4 = ((rtb_y_b4 != 0U) && rtb_NOT_k); + rtb_OR4 = ((rtb_y_nv != 0U) && rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel1_bit, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel1_bit, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, - &rtb_y_ow); - rtb_AND2 = ((rtb_y_b4 != 0U) && rtb_y_ow); + &rtb_y_jg); + rtb_AND2 = ((rtb_y_nv != 0U) && rtb_y_jg); A380PrimComputer_MATLABFunction_c((std::abs(A380PrimComputer_U.in.bus_inputs.ra_1_bus.radio_height_ft.Data - A380PrimComputer_U.in.bus_inputs.ra_2_bus.radio_height_ft.Data) > A380PrimComputer_P.CompareToConstant_const_ll), A380PrimComputer_U.in.time.dt, A380PrimComputer_P.ConfirmNode_isRisingEdge, - A380PrimComputer_P.ConfirmNode_timeDelay, &rtb_y_jk, &A380PrimComputer_DWork.sf_MATLABFunction_jz); + A380PrimComputer_P.ConfirmNode_timeDelay, &rtb_y_fb, &A380PrimComputer_DWork.sf_MATLABFunction_jz); rtb_rudder2HydraulicModeEngaged = (rtb_tripleAdrFault || (rtb_doubleAdrFault && A380PrimComputer_P.Constant1_Value_b)); A380PrimComputer_MATLABFunction_c(((A380PrimComputer_U.in.bus_inputs.ra_1_bus.radio_height_ft.Data > 50.0F) && (A380PrimComputer_U.in.bus_inputs.ra_1_bus.radio_height_ft.SSM == static_cast(SignStatusMatrix:: NormalOperation)) && (rtb_V_ias > 200.0F) && rtb_rudder2HydraulicModeEngaged), A380PrimComputer_U.in.time.dt, - A380PrimComputer_P.ConfirmNode2_isRisingEdge, A380PrimComputer_P.ConfirmNode2_timeDelay, &rtb_y_ow, + A380PrimComputer_P.ConfirmNode2_isRisingEdge, A380PrimComputer_P.ConfirmNode2_timeDelay, &rtb_y_jg, &A380PrimComputer_DWork.sf_MATLABFunction_lf); A380PrimComputer_MATLABFunction_c(((A380PrimComputer_U.in.bus_inputs.ra_2_bus.radio_height_ft.Data > 50.0F) && (A380PrimComputer_U.in.bus_inputs.ra_2_bus.radio_height_ft.SSM == static_cast(SignStatusMatrix:: NormalOperation)) && (rtb_V_ias > 200.0F) && rtb_rudder2HydraulicModeEngaged), A380PrimComputer_U.in.time.dt, A380PrimComputer_P.ConfirmNode1_isRisingEdge, A380PrimComputer_P.ConfirmNode1_timeDelay, &rtb_NOT_k, &A380PrimComputer_DWork.sf_MATLABFunction_jl); - A380PrimComputer_DWork.ra1CoherenceRejected = (rtb_y_ow || A380PrimComputer_DWork.ra1CoherenceRejected); + A380PrimComputer_DWork.ra1CoherenceRejected = (rtb_y_jg || A380PrimComputer_DWork.ra1CoherenceRejected); A380PrimComputer_DWork.ra2CoherenceRejected = (rtb_NOT_k || A380PrimComputer_DWork.ra2CoherenceRejected); rtb_OR = ((A380PrimComputer_U.in.bus_inputs.ra_1_bus.radio_height_ft.SSM == static_cast(SignStatusMatrix:: FailureWarning)) || A380PrimComputer_DWork.ra1CoherenceRejected); @@ -1007,7 +1007,7 @@ void A380PrimComputer::step() rtb_AND2_i = !rtb_OR6; rtb_DataTypeConversion_m2 = !rtb_OR; if (rtb_DataTypeConversion_m2 && rtb_AND2_i) { - if (rtb_y_jk) { + if (rtb_y_fb) { if (A380PrimComputer_U.in.time.simulation_time > A380PrimComputer_DWork.configFullEventTime + 10.0) { rtb_raComputationValue = std::fmin(A380PrimComputer_U.in.bus_inputs.ra_1_bus.radio_height_ft.Data, A380PrimComputer_U.in.bus_inputs.ra_2_bus.radio_height_ft.Data); @@ -1035,29 +1035,29 @@ void A380PrimComputer::step() rtb_OR = (A380PrimComputer_U.in.sim_data.slew_on || A380PrimComputer_U.in.sim_data.pause_on || A380PrimComputer_U.in.sim_data.tracking_mode_on_override); A380PrimComputer_MATLABFunction_n(A380PrimComputer_U.in.analog_inputs.yellow_hyd_pressure_psi, - A380PrimComputer_P.HysteresisNode2_highTrigger, A380PrimComputer_P.HysteresisNode2_lowTrigger, &rtb_y_ow, + A380PrimComputer_P.HysteresisNode2_highTrigger, A380PrimComputer_P.HysteresisNode2_lowTrigger, &rtb_y_jg, &A380PrimComputer_DWork.sf_MATLABFunction_nj); - A380PrimComputer_MATLABFunction_c(((!A380PrimComputer_U.in.discrete_inputs.yellow_low_pressure) && rtb_y_ow), + A380PrimComputer_MATLABFunction_c(((!A380PrimComputer_U.in.discrete_inputs.yellow_low_pressure) && rtb_y_jg), A380PrimComputer_U.in.time.dt, A380PrimComputer_P.ConfirmNode_isRisingEdge_l, A380PrimComputer_P.ConfirmNode_timeDelay_i, &rtb_NOT_k, &A380PrimComputer_DWork.sf_MATLABFunction_cx); A380PrimComputer_MATLABFunction_n(A380PrimComputer_U.in.analog_inputs.green_hyd_pressure_psi, - A380PrimComputer_P.HysteresisNode3_highTrigger, A380PrimComputer_P.HysteresisNode3_lowTrigger, &rtb_y_ow, + A380PrimComputer_P.HysteresisNode3_highTrigger, A380PrimComputer_P.HysteresisNode3_lowTrigger, &rtb_y_jg, &A380PrimComputer_DWork.sf_MATLABFunction_e1); - A380PrimComputer_MATLABFunction_c(((!A380PrimComputer_U.in.discrete_inputs.green_low_pressure) && rtb_y_ow), + A380PrimComputer_MATLABFunction_c(((!A380PrimComputer_U.in.discrete_inputs.green_low_pressure) && rtb_y_jg), A380PrimComputer_U.in.time.dt, A380PrimComputer_P.ConfirmNode2_isRisingEdge_i, - A380PrimComputer_P.ConfirmNode2_timeDelay_h, &rtb_y_ow, &A380PrimComputer_DWork.sf_MATLABFunction_kq); - rtb_rudder2HydraulicModeEngaged = !rtb_y_ow; + A380PrimComputer_P.ConfirmNode2_timeDelay_h, &rtb_y_jg, &A380PrimComputer_DWork.sf_MATLABFunction_kq); + rtb_rudder2HydraulicModeEngaged = !rtb_y_jg; rtb_rudder1HydraulicModeEngaged = !rtb_NOT_k; rtb_OR6 = !A380PrimComputer_P.Constant_Value_aq; - rtb_OR6 = (rtb_AND2 && ((rtb_y_ow || rtb_NOT_k || (!A380PrimComputer_U.in.discrete_inputs.rat_contactor_closed) || ( + rtb_OR6 = (rtb_AND2 && ((rtb_y_jg || rtb_NOT_k || (!A380PrimComputer_U.in.discrete_inputs.rat_contactor_closed) || ( !A380PrimComputer_U.in.discrete_inputs.rat_deployed)) && ((rtb_rudder2HydraulicModeEngaged || rtb_OR6) && (rtb_rudder1HydraulicModeEngaged || rtb_OR6)))); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { - rtb_OR7 = rtb_y_ow; - rtb_doubleIrFault_tmp = rtb_y_ow; + rtb_OR7 = rtb_y_jg; + rtb_doubleIrFault_tmp = rtb_y_jg; } else if (A380PrimComputer_U.in.discrete_inputs.is_unit_2) { - rtb_OR7 = rtb_y_ow; - rtb_doubleIrFault_tmp = rtb_y_ow; + rtb_OR7 = rtb_y_jg; + rtb_doubleIrFault_tmp = rtb_y_jg; } else if (A380PrimComputer_U.in.discrete_inputs.is_unit_3) { rtb_OR7 = rtb_NOT_k; rtb_doubleIrFault_tmp = rtb_NOT_k; @@ -1072,10 +1072,10 @@ void A380PrimComputer::step() rtb_Switch_ir_0 = &A380PrimComputer_U.in.bus_inputs.prim_y_bus.aileron_status_word; } - A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel2_bit, &rtb_y_b4); - A380PrimComputer_MATLABFunction(rtb_Switch_ir_0, &rtb_y_bb); - rtb_OR1 = ((rtb_y_b4 != 0U) && rtb_y_bb); - A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel1_bit_b, &rtb_y_b4); + A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel2_bit, &rtb_y_nv); + A380PrimComputer_MATLABFunction(rtb_Switch_ir_0, &rtb_y_na); + rtb_OR1 = ((rtb_y_nv != 0U) && rtb_y_na); + A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel1_bit_b, &rtb_y_nv); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { rtb_OR3 = true; rightAileron2Avail = true; @@ -1093,17 +1093,17 @@ void A380PrimComputer::step() rudder2ElectricModeHasPriority = !rtb_OR6; rtb_rightAileron2Engaged = (A380PrimComputer_U.in.discrete_inputs.is_unit_3 || rudder2ElectricModeHasPriority); rtb_OR1 = (rtb_OR3 && ((!rtb_OR1) && rtb_rightAileron2Engaged)); - rtb_rightAileron2Engaged = (rightAileron2Avail && (((!rtb_y_bb) || (rtb_y_b4 == 0U)) && rtb_rightAileron2Engaged)); + rtb_rightAileron2Engaged = (rightAileron2Avail && (((!rtb_y_na) || (rtb_y_nv == 0U)) && rtb_rightAileron2Engaged)); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { - leftSpoilerHydraulicModeAvail = rtb_y_ow; + leftSpoilerHydraulicModeAvail = rtb_y_jg; leftSpoilerElectricModeAvail = true; - rightSpoilerHydraulicModeAvail = rtb_y_ow; + rightSpoilerHydraulicModeAvail = rtb_y_jg; rightSpoilerElectricModeAvail = true; - rtb_leftSpoilerHydraulicModeEngaged = rtb_y_ow; + rtb_leftSpoilerHydraulicModeEngaged = rtb_y_jg; rtb_leftSpoilerElectricModeEngaged = (rtb_rudder2HydraulicModeEngaged && rudder2ElectricModeHasPriority); - rtb_rightSpoilerHydraulicModeEngaged = rtb_y_ow; + rtb_rightSpoilerHydraulicModeEngaged = rtb_y_jg; rtb_rightSpoilerElectricModeEngaged = rtb_leftSpoilerElectricModeEngaged; - elevator1Avail = rtb_y_ow; + elevator1Avail = rtb_y_jg; } else { if (A380PrimComputer_U.in.discrete_inputs.is_unit_2) { leftSpoilerHydraulicModeAvail = rtb_NOT_k; @@ -1111,9 +1111,9 @@ void A380PrimComputer::step() rightSpoilerHydraulicModeAvail = rtb_NOT_k; rightSpoilerElectricModeAvail = true; } else if (A380PrimComputer_U.in.discrete_inputs.is_unit_3) { - leftSpoilerHydraulicModeAvail = rtb_y_ow; + leftSpoilerHydraulicModeAvail = rtb_y_jg; leftSpoilerElectricModeAvail = true; - rightSpoilerHydraulicModeAvail = rtb_y_ow; + rightSpoilerHydraulicModeAvail = rtb_y_jg; rightSpoilerElectricModeAvail = true; } else { leftSpoilerHydraulicModeAvail = false; @@ -1137,7 +1137,7 @@ void A380PrimComputer::step() if (A380PrimComputer_U.in.discrete_inputs.is_unit_2) { elevator1Avail = rtb_NOT_k; } else { - elevator1Avail = (A380PrimComputer_U.in.discrete_inputs.is_unit_3 && rtb_y_ow); + elevator1Avail = (A380PrimComputer_U.in.discrete_inputs.is_unit_3 && rtb_y_jg); } } @@ -1147,9 +1147,9 @@ void A380PrimComputer::step() rtb_Switch_ir_0 = &A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word; } - A380PrimComputer_MATLABFunction(rtb_Switch_ir_0, &rtb_y_bb); - A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel1_bit_n, &rtb_y_b4); - rtb_AND_e = (rtb_y_bb && (rtb_y_b4 != 0U)); + A380PrimComputer_MATLABFunction(rtb_Switch_ir_0, &rtb_y_na); + A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel1_bit_n, &rtb_y_nv); + rtb_AND_e = (rtb_y_na && (rtb_y_nv != 0U)); elevator2Avail = (A380PrimComputer_U.in.discrete_inputs.is_unit_1 || (A380PrimComputer_U.in.discrete_inputs.is_unit_2 || (A380PrimComputer_U.in.discrete_inputs.is_unit_3 && rtb_NOT_k))); @@ -1162,57 +1162,57 @@ void A380PrimComputer::step() } rtb_AND_e = (elevator2Avail && rtb_AND2_i); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, &rtb_y_gc); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, &rtb_y_e); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel3_bit, &rtb_y_j); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, &rtb_y_bb); + A380PrimComputer_P.BitfromLabel3_bit, &rtb_y_pv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, &rtb_y_na); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel2_bit_l, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel2_bit_l, &rtb_y_nv); if (A380PrimComputer_U.in.discrete_inputs.is_unit_2) { - rtb_y_gc = (rtb_y_gc && (rtb_y_j != 0U)); + rtb_y_e = (rtb_y_e && (rtb_y_pv != 0U)); } else { - rtb_y_gc = (rtb_y_bb && (rtb_y_b4 != 0U)); + rtb_y_e = (rtb_y_na && (rtb_y_nv != 0U)); } - rtb_y_bb = (A380PrimComputer_U.in.discrete_inputs.is_unit_1 || A380PrimComputer_U.in.discrete_inputs.is_unit_2); + rtb_y_na = (A380PrimComputer_U.in.discrete_inputs.is_unit_1 || A380PrimComputer_U.in.discrete_inputs.is_unit_2); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { - rtb_AND2_i = ((!rtb_y_gc) && rudder2ElectricModeHasPriority); + rtb_AND2_i = ((!rtb_y_e) && rudder2ElectricModeHasPriority); } else { - rtb_AND2_i = (A380PrimComputer_U.in.discrete_inputs.is_unit_2 && ((!rtb_y_gc) && rudder2ElectricModeHasPriority)); + rtb_AND2_i = (A380PrimComputer_U.in.discrete_inputs.is_unit_2 && ((!rtb_y_e) && rudder2ElectricModeHasPriority)); } - rtb_y_gc = (rtb_y_bb && rtb_AND2_i); + rtb_y_e = (rtb_y_na && rtb_AND2_i); rtb_BusAssignment_j_logic_is_yellow_hydraulic_power_avail = rtb_NOT_k; A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, &rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel1_bit_bv, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel1_bit_bv, &rtb_y_nv); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { thsAvail = rtb_BusAssignment_j_logic_is_yellow_hydraulic_power_avail; - rtb_AND2_i = ((!rtb_NOT_k) || (rtb_y_b4 == 0U)); + rtb_AND2_i = ((!rtb_NOT_k) || (rtb_y_nv == 0U)); } else { rtb_NOT_k = !A380PrimComputer_U.in.discrete_inputs.is_unit_2; - thsAvail = (rtb_NOT_k && (A380PrimComputer_U.in.discrete_inputs.is_unit_3 && rtb_y_ow)); + thsAvail = (rtb_NOT_k && (A380PrimComputer_U.in.discrete_inputs.is_unit_3 && rtb_y_jg)); rtb_AND2_i = (rtb_NOT_k && A380PrimComputer_U.in.discrete_inputs.is_unit_3); } rtb_thsEngaged = (thsAvail && rtb_AND2_i); - rtb_BusAssignment_hi_logic_is_green_hydraulic_power_avail = rtb_y_ow; + rtb_BusAssignment_hi_logic_is_green_hydraulic_power_avail = rtb_y_jg; A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel1_bit_k, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel1_bit_k, &rtb_y_nv); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel2_bit_e, &rtb_y_j); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, &rtb_y_jk); + A380PrimComputer_P.BitfromLabel2_bit_e, &rtb_y_pv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, &rtb_y_fb); if (A380PrimComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND2_i = (rtb_y_b4 != 0U); + rtb_AND2_i = (rtb_y_nv != 0U); } else { - rtb_AND2_i = (rtb_y_j != 0U); + rtb_AND2_i = (rtb_y_pv != 0U); } - rtb_AND_n = (rtb_AND2_i && rtb_y_jk); + rtb_AND_n = (rtb_AND2_i && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel3_bit_c, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel3_bit_c, &rtb_y_nv); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel4_bit, &rtb_y_j); + A380PrimComputer_P.BitfromLabel4_bit, &rtb_y_pv); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { rtb_Switch_ir_0 = &A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word; } else if (A380PrimComputer_U.in.discrete_inputs.is_unit_2) { @@ -1221,22 +1221,22 @@ void A380PrimComputer::step() rtb_Switch_ir_0 = &A380PrimComputer_U.in.bus_inputs.sec_3_bus.rudder_status_word; } - A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel6_bit, &rtb_y_o4); - A380PrimComputer_MATLABFunction(rtb_Switch_ir_0, &rtb_y_ow); - rtb_AND6_o = ((rtb_y_o4 != 0U) && rtb_y_ow); + A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel6_bit, &rtb_y_j); + A380PrimComputer_MATLABFunction(rtb_Switch_ir_0, &rtb_y_jg); + rtb_AND6_o = ((rtb_y_j != 0U) && rtb_y_jg); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { rtb_Switch_ir_0 = &A380PrimComputer_U.in.bus_inputs.sec_2_bus.rudder_status_word; } else { rtb_Switch_ir_0 = &A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word; } - A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel9_bit, &rtb_y_o4); - A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel10_bit, &rtb_y_b3); + A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel9_bit, &rtb_y_j); + A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel10_bit, &rtb_y_ot); A380PrimComputer_MATLABFunction(rtb_Switch_ir_0, &rtb_NOT_k); if (A380PrimComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND2_i = (rtb_y_o4 != 0U); + rtb_AND2_i = (rtb_y_j != 0U); } else { - rtb_AND2_i = (rtb_y_b3 != 0U); + rtb_AND2_i = (rtb_y_ot != 0U); } rtb_AND3 = (rtb_AND2_i && rtb_NOT_k); @@ -1261,12 +1261,12 @@ void A380PrimComputer::step() if (A380PrimComputer_U.in.discrete_inputs.is_unit_2 || A380PrimComputer_U.in.discrete_inputs.is_unit_3) { rudder1HydraulicModeHasPriority = !rtb_AND_n; if (A380PrimComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND2_i = (rtb_y_b4 != 0U); + rtb_AND2_i = (rtb_y_nv != 0U); } else { - rtb_AND2_i = (rtb_y_j != 0U); + rtb_AND2_i = (rtb_y_pv != 0U); } - rtb_AND_n = (rudder1HydraulicModeHasPriority && ((!rtb_y_jk) || (!rtb_AND2_i)) && (!rudder1HydraulicModeAvail) && + rtb_AND_n = (rudder1HydraulicModeHasPriority && ((!rtb_y_fb) || (!rtb_AND2_i)) && (!rudder1HydraulicModeAvail) && (!rtb_AND6_o) && (!rtb_AND3) && rudder2ElectricModeHasPriority); } else { rudder1HydraulicModeHasPriority = false; @@ -1277,22 +1277,22 @@ void A380PrimComputer::step() rtb_rudder1HydraulicModeEngaged = (rudder1HydraulicModeAvail && rudder1HydraulicModeHasPriority); rtb_AND_n = (rudder1ElectricModeAvail && rtb_AND_n); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel5_bit, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.rudder_status_word, &rtb_y_jk); - rtb_AND3 = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel5_bit, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.rudder_status_word, &rtb_y_fb); + rtb_AND3 = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel7_bit, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel7_bit, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word, &rtb_NOT_k); - rtb_AND4_f = ((rtb_y_b4 != 0U) && rtb_NOT_k); + rtb_AND4_f = ((rtb_y_nv != 0U) && rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel8_bit, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.rudder_status_word, &rtb_y_ow); + A380PrimComputer_P.BitfromLabel8_bit, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.rudder_status_word, &rtb_y_jg); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { rtb_AND6_o = rtb_BusAssignment_hi_logic_is_green_hydraulic_power_avail; rudder1HydraulicModeHasPriority = true; rudder2HydraulicModeHasPriority = true; - rudder2ElectricModeHasPriority = ((!rtb_AND3) && rtb_rudder2HydraulicModeEngaged && (!rtb_AND4_f) && ((rtb_y_b4 == - 0U) || (!rtb_y_ow)) && rudder2ElectricModeHasPriority); + rudder2ElectricModeHasPriority = ((!rtb_AND3) && rtb_rudder2HydraulicModeEngaged && (!rtb_AND4_f) && ((rtb_y_nv == + 0U) || (!rtb_y_jg)) && rudder2ElectricModeHasPriority); } else { rtb_AND6_o = false; rudder1HydraulicModeHasPriority = false; @@ -1303,58 +1303,58 @@ void A380PrimComputer::step() rtb_rudder2HydraulicModeEngaged = (rtb_AND6_o && rudder2HydraulicModeHasPriority); rudder2ElectricModeHasPriority = (rudder1HydraulicModeHasPriority && rudder2ElectricModeHasPriority); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel_bit_i, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel_bit_i, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.aileron_status_word, &rtb_DataTypeConversion_m2); - rtb_AND3 = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + rtb_AND3 = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel1_bit_c, &rtb_y_b4); - rudder2HydraulicModeHasPriority = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel1_bit_c, &rtb_y_nv); + rudder2HydraulicModeHasPriority = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel2_bit_p, &rtb_y_b4); - rtb_AND2_ac = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel2_bit_p, &rtb_y_nv); + rtb_AND2_ac = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel3_bit_n, &rtb_y_b4); - rtb_AND1_l = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel3_bit_n, &rtb_y_nv); + rtb_AND1_l = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel4_bit_j, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.aileron_status_word, &rtb_y_jk); - rtb_AND4_d = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel4_bit_j, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.aileron_status_word, &rtb_y_fb); + rtb_AND4_d = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel5_bit_i, &rtb_y_b4); - rtb_AND4_f = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel5_bit_i, &rtb_y_nv); + rtb_AND4_f = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel6_bit_j, &rtb_y_b4); - rtb_AND7 = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel6_bit_j, &rtb_y_nv); + rtb_AND7 = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel7_bit_n, &rtb_y_b4); - rtb_AND8 = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel7_bit_n, &rtb_y_nv); + rtb_AND8 = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel8_bit_n, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel8_bit_n, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.aileron_status_word, &rtb_NOT_k); - rtb_AND13 = ((rtb_y_b4 != 0U) && rtb_NOT_k); + rtb_AND13 = ((rtb_y_nv != 0U) && rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel9_bit_b, &rtb_y_b4); - rtb_AND11 = ((rtb_y_b4 != 0U) && rtb_NOT_k); + A380PrimComputer_P.BitfromLabel9_bit_b, &rtb_y_nv); + rtb_AND11 = ((rtb_y_nv != 0U) && rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel10_bit_h, &rtb_y_b4); - rtb_AND10 = ((rtb_y_b4 != 0U) && rtb_NOT_k); + A380PrimComputer_P.BitfromLabel10_bit_h, &rtb_y_nv); + rtb_AND10 = ((rtb_y_nv != 0U) && rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel11_bit, &rtb_y_b4); - rtb_AND9 = ((rtb_y_b4 != 0U) && rtb_NOT_k); + A380PrimComputer_P.BitfromLabel11_bit, &rtb_y_nv); + rtb_AND9 = ((rtb_y_nv != 0U) && rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel14_bit, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.aileron_status_word, &rtb_y_ow); - rtb_AND15 = ((rtb_y_b4 != 0U) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel14_bit, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.aileron_status_word, &rtb_y_jg); + rtb_AND15 = ((rtb_y_nv != 0U) && rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel15_bit, &rtb_y_b4); - rtb_AND16 = ((rtb_y_b4 != 0U) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel15_bit, &rtb_y_nv); + rtb_AND16 = ((rtb_y_nv != 0U) && rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel16_bit, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.aileron_status_word, &rtb_y_jk); - rtb_AND17 = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel16_bit, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.aileron_status_word, &rtb_y_fb); + rtb_AND17 = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.aileron_status_word, - A380PrimComputer_P.BitfromLabel17_bit, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel17_bit, &rtb_y_nv); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { rtb_AND2_i = (rtb_OR7 || rtb_AND2_ac); rtb_AND9_o = (rtb_doubleIrFault_tmp || rtb_AND1_l); @@ -1447,60 +1447,60 @@ void A380PrimComputer::step() rtb_AND4_f = (rtb_AND2_i || (rtb_AND13 || rtb_AND15)); rtb_AND11 = (rtb_AND9_o || (rtb_AND11 || rtb_AND16)); rtb_AND10 = (rtb_AND2_ac || (rtb_AND10 || rtb_AND17)); - rtb_AND9 = (rtb_AND1_l || (rtb_AND9 || ((rtb_y_b4 != 0U) && rtb_y_jk))); + rtb_AND9 = (rtb_AND1_l || (rtb_AND9 || ((rtb_y_nv != 0U) && rtb_y_fb))); rtb_rightAileron2Command = rtb_alpha; rtb_elevator1Command = rtb_phi; rtb_right_midboard_aileron_deg = rtb_r; rtb_elevator2Command = rtb_n_z; rtb_elevator3Command = rtb_theta_dot; rtb_rudder1Command = rtb_raComputationValue; - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.spoiler_status_word, &rtb_y_ow); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.spoiler_status_word, &rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel1_bit_g, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_g, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel2_bit_pc, &rtb_y_b4); - rtb_AND13 = (rtb_y_ow && (rtb_DataTypeConversion_m2 || (rtb_y_b4 != 0U))); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.spoiler_status_word, &rtb_y_ow); + A380PrimComputer_P.BitfromLabel2_bit_pc, &rtb_y_nv); + rtb_AND13 = (rtb_y_jg && (rtb_DataTypeConversion_m2 || (rtb_y_nv != 0U))); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.spoiler_status_word, &rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel1_bit_i, &rtb_y_b4); - rtb_y_c = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_i, &rtb_y_nv); + rtb_y_m = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel2_bit_n, &rtb_y_b4); - rtb_AND17 = (rtb_y_ow && (rtb_y_c || (rtb_y_b4 != 0U))); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.spoiler_status_word, &rtb_y_ow); + A380PrimComputer_P.BitfromLabel2_bit_n, &rtb_y_nv); + rtb_AND17 = (rtb_y_jg && (rtb_y_m || (rtb_y_nv != 0U))); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.spoiler_status_word, &rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel1_bit_nd, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_nd, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel2_bit_d, &rtb_y_b4); - rtb_AND4_d = (rtb_y_ow && (rtb_DataTypeConversion_m2 || (rtb_y_b4 != 0U))); + A380PrimComputer_P.BitfromLabel2_bit_d, &rtb_y_nv); + rtb_AND4_d = (rtb_y_jg && (rtb_DataTypeConversion_m2 || (rtb_y_nv != 0U))); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel8_bit_l, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel8_bit_l, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel9_bit_g, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel9_bit_g, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.spoiler_status_word, &rtb_NOT_k); - rtb_AND15 = ((rtb_DataTypeConversion_m2 || (rtb_y_b4 != 0U)) && rtb_NOT_k); + rtb_AND15 = ((rtb_DataTypeConversion_m2 || (rtb_y_nv != 0U)) && rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel10_bit_j, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel10_bit_j, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel11_bit_j, &rtb_y_b4); - rtb_AND16 = ((rtb_y_jk || (rtb_y_b4 != 0U)) && rtb_NOT_k); + A380PrimComputer_P.BitfromLabel11_bit_j, &rtb_y_nv); + rtb_AND16 = ((rtb_y_fb || (rtb_y_nv != 0U)) && rtb_NOT_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel14_bit_p, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel14_bit_p, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel15_bit_i, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.spoiler_status_word, &rtb_y_ow); - rtb_AND8 = ((rtb_y_jk || (rtb_y_b4 != 0U)) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel15_bit_i, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.spoiler_status_word, &rtb_y_jg); + rtb_AND8 = ((rtb_y_fb || (rtb_y_nv != 0U)) && rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel12_bit, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel12_bit, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel13_bit, &rtb_y_b4); - rtb_AND9_o = ((rtb_y_jk || (rtb_y_b4 != 0U)) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel13_bit, &rtb_y_nv); + rtb_AND9_o = ((rtb_y_fb || (rtb_y_nv != 0U)) && rtb_y_jg); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { rtb_AND7 = (rtb_AND8 || rtb_AND9_o); rtb_AND8 = (rtb_AND15 || rtb_AND16); @@ -1522,19 +1522,19 @@ void A380PrimComputer::step() rtb_AND15 = false; } - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.spoiler_status_word, &rtb_y_ow); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.spoiler_status_word, &rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel1_bit_l, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_l, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel2_bit_f, &rtb_y_b4); - rtb_AND16 = (rtb_y_ow && (rtb_y_jk || (rtb_y_b4 != 0U))); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.spoiler_status_word, &rtb_y_ow); + A380PrimComputer_P.BitfromLabel2_bit_f, &rtb_y_nv); + rtb_AND16 = (rtb_y_jg && (rtb_y_fb || (rtb_y_nv != 0U))); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.spoiler_status_word, &rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel1_bit_p, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_p, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.spoiler_status_word, - A380PrimComputer_P.BitfromLabel2_bit_b, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel2_bit_b, &rtb_y_nv); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { rtb_leftSplr4Pos = A380PrimComputer_U.in.bus_inputs.prim_y_bus.left_spoiler_position_deg.Data; rtb_rightSplr4Pos = A380PrimComputer_U.in.bus_inputs.prim_y_bus.right_spoiler_position_deg.Data; @@ -1565,72 +1565,72 @@ void A380PrimComputer::step() rtb_rightSplr6Pos = 0.0; } - rtb_AND9_o = (rtb_y_ow && (rtb_DataTypeConversion_m2 || (rtb_y_b4 != 0U))); + rtb_AND9_o = (rtb_y_jg && (rtb_DataTypeConversion_m2 || (rtb_y_nv != 0U))); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel16_bit_b, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, &rtb_y_jk); - rtb_AND2_ac = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel16_bit_b, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, &rtb_y_fb); + rtb_AND2_ac = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel17_bit_i, &rtb_y_b4); - rtb_AND15_l = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel17_bit_i, &rtb_y_nv); + rtb_AND15_l = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel18_bit, &rtb_y_b4); - rtb_AND1_l = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel18_bit, &rtb_y_nv); + rtb_AND1_l = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel19_bit, &rtb_y_b4); - rtb_AND12 = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel19_bit, &rtb_y_nv); + rtb_AND12 = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel20_bit, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, &rtb_y_ow); - rtb_AND16_n = ((rtb_y_b4 != 0U) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel20_bit, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, &rtb_y_jg); + rtb_AND16_n = ((rtb_y_nv != 0U) && rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel21_bit, &rtb_y_b4); - rtb_AND18_c = ((rtb_y_b4 != 0U) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel21_bit, &rtb_y_nv); + rtb_AND18_c = ((rtb_y_nv != 0U) && rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel22_bit, &rtb_y_b4); - rtb_AND19 = ((rtb_y_b4 != 0U) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel22_bit, &rtb_y_nv); + rtb_AND19 = ((rtb_y_nv != 0U) && rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel23_bit, &rtb_y_b4); - rtb_AND20 = ((rtb_y_b4 != 0U) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel23_bit, &rtb_y_nv); + rtb_AND20 = ((rtb_y_nv != 0U) && rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel1_bit_lr, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel1_bit_lr, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.elevator_status_word, &rtb_DataTypeConversion_m2); - rtb_AND5_e = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + rtb_AND5_e = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel2_bit_g, &rtb_y_b4); - rtb_AND3_h = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel2_bit_g, &rtb_y_nv); + rtb_AND3_h = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel3_bit_k, &rtb_y_b4); - rtb_AND2_i = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel3_bit_k, &rtb_y_nv); + rtb_AND2_i = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel4_bit_n, &rtb_y_b4); - rtb_NOT_k = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel4_bit_n, &rtb_y_nv); + rtb_NOT_k = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel5_bit_e, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel5_bit_e, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.elevator_status_word, &rtb_DataTypeConversion_m2); - rtb_AND4_fg3 = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + rtb_AND4_fg3 = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel6_bit_b, &rtb_y_b4); - rtb_y_ow = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel6_bit_b, &rtb_y_nv); + rtb_y_jg = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel7_bit_p, &rtb_y_b4); - rtb_AND7_d = ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel7_bit_p, &rtb_y_nv); + rtb_AND7_d = ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel8_bit_d, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.elevator_status_word, &rtb_y_jk); - rtb_DataTypeConversion_m2 = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel8_bit_d, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.elevator_status_word, &rtb_y_fb); + rtb_DataTypeConversion_m2 = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel9_bit_e, &rtb_y_b4); - rtb_AND10_b = ((rtb_y_b4 != 0U) && rtb_y_jk); + A380PrimComputer_P.BitfromLabel9_bit_e, &rtb_y_nv); + rtb_AND10_b = ((rtb_y_nv != 0U) && rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.elevator_status_word, - A380PrimComputer_P.BitfromLabel11_bit_n, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel11_bit_n, &rtb_y_nv); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { leftInboardElevEngaged = (rtb_AND_e || rtb_AND16_n); rtb_AND19 = (rtb_AND18_c || rtb_AND1_l); rtb_AND15_l = (elevator1Avail || rtb_AND15_l); - rtb_AND16_n = (rtb_AND2_ac || rtb_y_gc); + rtb_AND16_n = (rtb_AND2_ac || rtb_y_e); rtb_AND12 = (rtb_thsEngaged || rtb_AND20); rtb_leftInboardElevPos = A380PrimComputer_U.in.analog_inputs.elevator_2_pos_deg; if (A380PrimComputer_U.in.bus_inputs.prim_y_bus.elevator_2_position_deg.SSM == static_cast @@ -1645,7 +1645,7 @@ void A380PrimComputer::step() rtb_thsPos = A380PrimComputer_U.in.analog_inputs.ths_pos_deg; } else if (A380PrimComputer_U.in.discrete_inputs.is_unit_2) { leftInboardElevEngaged = (rtb_AND16_n || rtb_AND15_l); - rtb_AND19 = (rtb_y_gc || rtb_AND18_c); + rtb_AND19 = (rtb_y_e || rtb_AND18_c); rtb_AND15_l = (rtb_AND_e || rtb_AND2_ac); rtb_AND16_n = (elevator1Avail || rtb_AND1_l); rtb_AND12 = (rtb_AND12 || rtb_AND20); @@ -1703,57 +1703,57 @@ void A380PrimComputer::step() rtb_AND2_ac = (leftInboardElevEngaged || (rtb_DataTypeConversion_m2 || rtb_AND3_h)); rtb_AND1_l = (rtb_AND19 || (rtb_AND10_b || rtb_AND7_d)); - rtb_AND5_e = (rtb_AND15_l || (rtb_AND5_e || rtb_y_ow)); + rtb_AND5_e = (rtb_AND15_l || (rtb_AND5_e || rtb_y_jg)); rtb_AND4_fg3 = (rtb_AND16_n || (rtb_AND4_fg3 || rtb_AND2_i)); - rtb_AND12 = (rtb_AND12 || (((rtb_y_b4 != 0U) && rtb_y_jk) || rtb_NOT_k)); + rtb_AND12 = (rtb_AND12 || (((rtb_y_nv != 0U) && rtb_y_fb) || rtb_NOT_k)); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel38_bit, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel38_bit, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel39_bit, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel39_bit, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, &rtb_DataTypeConversion_m2); - rtb_AND3_h = ((rtb_NOT_k || (rtb_y_b4 != 0U)) && rtb_DataTypeConversion_m2); + rtb_AND3_h = ((rtb_NOT_k || (rtb_y_nv != 0U)) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel32_bit, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel32_bit, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel33_bit, &rtb_y_b4); - rtb_AND15_l = ((rtb_NOT_k || (rtb_y_b4 != 0U)) && rtb_DataTypeConversion_m2); + A380PrimComputer_P.BitfromLabel33_bit, &rtb_y_nv); + rtb_AND15_l = ((rtb_NOT_k || (rtb_y_nv != 0U)) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel36_bit, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel36_bit, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel37_bit, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.rudder_status_word, &rtb_y_ow); - rtb_AND20 = ((rtb_NOT_k || (rtb_y_b4 != 0U)) && rtb_y_ow); + A380PrimComputer_P.BitfromLabel37_bit, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.rudder_status_word, &rtb_y_jg); + rtb_AND20 = ((rtb_NOT_k || (rtb_y_nv != 0U)) && rtb_y_jg); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel3_bit_m, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel3_bit_m, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel4_bit_b, &rtb_y_b4); - rtb_y_ow = (rtb_NOT_k || (rtb_y_b4 != 0U)); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word, &rtb_y_c); + A380PrimComputer_P.BitfromLabel4_bit_b, &rtb_y_nv); + rtb_y_jg = (rtb_NOT_k || (rtb_y_nv != 0U)); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word, &rtb_y_m); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel1_bit_pt, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_pt, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_1_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel2_bit_h, &rtb_y_b4); - rtb_y_jk = (rtb_NOT_k || (rtb_y_b4 != 0U)); + A380PrimComputer_P.BitfromLabel2_bit_h, &rtb_y_nv); + rtb_y_fb = (rtb_NOT_k || (rtb_y_nv != 0U)); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel5_bit_d, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel5_bit_d, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel6_bit_p, &rtb_y_b4); - rtb_AND16_n = (rtb_NOT_k || (rtb_y_b4 != 0U)); + A380PrimComputer_P.BitfromLabel6_bit_p, &rtb_y_nv); + rtb_AND16_n = (rtb_NOT_k || (rtb_y_nv != 0U)); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_2_bus.rudder_status_word, &rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel7_bit_g, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel7_bit_g, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.rudder_status_word, - A380PrimComputer_P.BitfromLabel8_bit_i, &rtb_y_b4); - rtb_AND2_i = (rtb_NOT_k || (rtb_y_b4 != 0U)); + A380PrimComputer_P.BitfromLabel8_bit_i, &rtb_y_nv); + rtb_AND2_i = (rtb_NOT_k || (rtb_y_nv != 0U)); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sec_3_bus.rudder_status_word, &rtb_NOT_k); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { rtb_AND3_h = (rtb_rudder1HydraulicModeEngaged || rtb_AND_n || rtb_AND3_h); @@ -1788,14 +1788,14 @@ void A380PrimComputer::step() rtb_lowerRudderPos = 0.0; } - rtb_AND3_h = (rtb_AND3_h || (rtb_y_ow && rtb_y_c) || (rtb_AND16_n && rtb_DataTypeConversion_m2)); - rtb_AND15_l = (rtb_AND15_l || (rtb_y_jk && rtb_y_c) || (rtb_AND2_i && rtb_NOT_k)); + rtb_AND3_h = (rtb_AND3_h || (rtb_y_jg && rtb_y_m) || (rtb_AND16_n && rtb_DataTypeConversion_m2)); + rtb_AND15_l = (rtb_AND15_l || (rtb_y_fb && rtb_y_m) || (rtb_AND2_i && rtb_NOT_k)); A380PrimComputer_MATLABFunction_c(A380PrimComputer_U.in.sim_data.slew_on, A380PrimComputer_U.in.time.dt, - A380PrimComputer_P.ConfirmNode_isRisingEdge_o, A380PrimComputer_P.ConfirmNode_timeDelay_d, &rtb_y_ow, + A380PrimComputer_P.ConfirmNode_isRisingEdge_o, A380PrimComputer_P.ConfirmNode_timeDelay_d, &rtb_y_jg, &A380PrimComputer_DWork.sf_MATLABFunction_nb); abs_rate_c = std::abs(static_cast(rtb_phi)); rtb_AND1_p = !rtb_AND2; - rtb_AND16_n = ((!rtb_y_ow) && rtb_AND1_p && (((!rtb_tripleAdrFault) && ((rtb_mach > 0.96) || (rtb_Y < -10.0) || + rtb_AND16_n = ((!rtb_y_jg) && rtb_AND1_p && (((!rtb_tripleAdrFault) && ((rtb_mach > 0.96) || (rtb_Y < -10.0) || (rtb_Y > 37.5) || (rtb_V_ias > 420.0F) || (rtb_V_ias < 70.0F))) || ((!rtb_tripleIrFault) && ((!rtb_doubleIrFault) || (!A380PrimComputer_P.Constant_Value_ad)) && ((abs_rate_c > 120.0) || ((rtb_alpha > 50.0F) || (rtb_alpha < -30.0F)))))); A380PrimComputer_DWork.abnormalConditionWasActive = (rtb_AND16_n || (rtb_AND1_p && @@ -1824,31 +1824,31 @@ void A380PrimComputer::step() } A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel_bit_o, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel_bit_o, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel1_bit_e, &rtb_y_b4); - rtb_AND2_i = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_e, &rtb_y_nv); + rtb_AND2_i = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel2_bit_hr, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel2_bit_hr, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel6_bit_k, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, &rtb_y_ow); - A380PrimComputer_MATLABFunction_ek(rtb_y_jk, rtb_AND2_i, rtb_NOT_k, rtb_y_ow, &rtb_law_k); + A380PrimComputer_P.BitfromLabel6_bit_k, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, &rtb_y_jg); + A380PrimComputer_MATLABFunction_ek(rtb_y_fb, rtb_AND2_i, rtb_NOT_k, rtb_y_jg, &rtb_law_k); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel3_bit_l, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel3_bit_l, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel4_bit_bl, &rtb_y_b4); - rtb_AND2_i = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel4_bit_bl, &rtb_y_nv); + rtb_AND2_i = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel5_bit_p, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel5_bit_p, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel7_bit_h, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.fctl_law_status_word, &rtb_y_ow); - A380PrimComputer_MATLABFunction_ek(rtb_y_jk, rtb_AND2_i, rtb_NOT_k, rtb_y_ow, &rtb_law); + A380PrimComputer_P.BitfromLabel7_bit_h, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_y_bus.fctl_law_status_word, &rtb_y_jg); + A380PrimComputer_MATLABFunction_ek(rtb_y_fb, rtb_AND2_i, rtb_NOT_k, rtb_y_jg, &rtb_law); if (A380PrimComputer_U.in.discrete_inputs.is_unit_1) { nz = static_cast(rtb_pitchLawCapability); b_nz = static_cast(rtb_law_k); @@ -1893,11 +1893,11 @@ void A380PrimComputer::step() A380PrimComputer_MATLABFunction_f(A380PrimComputer_U.in.discrete_inputs.capt_priority_takeover_pressed, A380PrimComputer_P.PulseNode_isRisingEdge, &rtb_NOT_k, &A380PrimComputer_DWork.sf_MATLABFunction_g4); A380PrimComputer_MATLABFunction_f(A380PrimComputer_U.in.discrete_inputs.fo_priority_takeover_pressed, - A380PrimComputer_P.PulseNode1_isRisingEdge, &rtb_y_ow, &A380PrimComputer_DWork.sf_MATLABFunction_nu); + A380PrimComputer_P.PulseNode1_isRisingEdge, &rtb_y_jg, &A380PrimComputer_DWork.sf_MATLABFunction_nu); if (rtb_NOT_k) { A380PrimComputer_DWork.pRightStickDisabled = true; A380PrimComputer_DWork.pLeftStickDisabled = false; - } else if (rtb_y_ow) { + } else if (rtb_y_jg) { A380PrimComputer_DWork.pLeftStickDisabled = true; A380PrimComputer_DWork.pRightStickDisabled = false; } @@ -1962,36 +1962,36 @@ void A380PrimComputer::step() } A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel_bit_h, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel_bit_h, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel1_bit_gs, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_gs, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel2_bit_nu, &rtb_y_b4); - rtb_y_ow = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel2_bit_nu, &rtb_y_nv); + rtb_y_jg = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel3_bit_g, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel3_bit_g, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel4_bit_e, &rtb_y_b4); - rtb_AND18_c = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel4_bit_e, &rtb_y_nv); + rtb_AND18_c = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel5_bit_a, &rtb_y_b4); - A380PrimComputer_MATLABFunction_o(rtb_y_jk, rtb_NOT_k, rtb_y_ow, rtb_DataTypeConversion_m2, rtb_AND18_c, (rtb_y_b4 + A380PrimComputer_P.BitfromLabel5_bit_a, &rtb_y_nv); + A380PrimComputer_MATLABFunction_o(rtb_y_fb, rtb_NOT_k, rtb_y_jg, rtb_DataTypeConversion_m2, rtb_AND18_c, (rtb_y_nv != 0U), &rtb_handleIndex); A380PrimComputer_RateLimiter_n(look2_binlxpw(static_cast(rtb_mach), rtb_handleIndex, A380PrimComputer_P.alphamax_bp01Data, A380PrimComputer_P.alphamax_bp02Data, A380PrimComputer_P.alphamax_tableData, A380PrimComputer_P.alphamax_maxIndex, 4U), A380PrimComputer_P.RateLimiterGenericVariableTs_up, A380PrimComputer_P.RateLimiterGenericVariableTs_lo, A380PrimComputer_U.in.time.dt, A380PrimComputer_P.reset_Value, &rtb_Switch_h, &A380PrimComputer_DWork.sf_RateLimiter_ne); - if (!A380PrimComputer_DWork.eventTime_not_empty_m) { - A380PrimComputer_DWork.eventTime_f = A380PrimComputer_U.in.time.simulation_time; - A380PrimComputer_DWork.eventTime_not_empty_m = true; + if (!A380PrimComputer_DWork.eventTime_not_empty_i) { + A380PrimComputer_DWork.eventTime_p = A380PrimComputer_U.in.time.simulation_time; + A380PrimComputer_DWork.eventTime_not_empty_i = true; } - if (rtb_AND2 || (A380PrimComputer_DWork.eventTime_f == 0.0)) { - A380PrimComputer_DWork.eventTime_f = A380PrimComputer_U.in.time.simulation_time; + if (rtb_AND2 || (A380PrimComputer_DWork.eventTime_p == 0.0)) { + A380PrimComputer_DWork.eventTime_p = A380PrimComputer_U.in.time.simulation_time; } A380PrimComputer_RateLimiter_n(look2_binlxpw(static_cast(rtb_mach), rtb_handleIndex, @@ -2000,7 +2000,7 @@ void A380PrimComputer::step() A380PrimComputer_P.RateLimiterGenericVariableTs1_up, A380PrimComputer_P.RateLimiterGenericVariableTs1_lo, A380PrimComputer_U.in.time.dt, A380PrimComputer_P.reset_Value_j, &rtb_Switch4_d, &A380PrimComputer_DWork.sf_RateLimiter_mr); - if (A380PrimComputer_U.in.time.simulation_time - A380PrimComputer_DWork.eventTime_f <= + if (A380PrimComputer_U.in.time.simulation_time - A380PrimComputer_DWork.eventTime_p <= A380PrimComputer_P.CompareToConstant_const_l) { rtb_handleIndex = rtb_Switch_h; } else { @@ -2013,19 +2013,19 @@ void A380PrimComputer::step() A380PrimComputer_GetIASforMach4(static_cast(rtb_mach), A380PrimComputer_P.Constant8_Value_h, static_cast(rtb_V_ias), &rtb_Switch4_d); rtb_right_inboard_aileron_deg = rtb_alpha - std::cos(A380PrimComputer_P.Gain1_Gain * rtb_phi) * rtb_Y; - rtb_y_jk = ((rtb_law_k == a380_pitch_efcs_law::NormalLaw) || (rtb_activeLateralLaw == a380_lateral_efcs_law:: + rtb_y_fb = ((rtb_law_k == a380_pitch_efcs_law::NormalLaw) || (rtb_activeLateralLaw == a380_lateral_efcs_law:: NormalLaw)); if ((!A380PrimComputer_U.in.temporary_ap_input.ap_engaged) && (rtb_V_ias > std::fmin(look1_binlxpw (rtb_right_inboard_aileron_deg, A380PrimComputer_P.uDLookupTable1_bp01Data, A380PrimComputer_P.uDLookupTable1_tableData, 3U), static_cast(rtb_V_ias) / rtb_mach * look1_binlxpw (rtb_right_inboard_aileron_deg, A380PrimComputer_P.uDLookupTable2_bp01Data, A380PrimComputer_P.uDLookupTable2_tableData, 3U)))) { - A380PrimComputer_DWork.sProtActive = (rtb_y_jk || A380PrimComputer_DWork.sProtActive); + A380PrimComputer_DWork.sProtActive = (rtb_y_fb || A380PrimComputer_DWork.sProtActive); } rtb_aileronAntidroopActive = !A380PrimComputer_U.in.temporary_ap_input.ap_engaged; A380PrimComputer_DWork.sProtActive = ((rtb_V_ias >= rtb_right_outboard_aileron_deg) && rtb_aileronAntidroopActive && - rtb_y_jk && A380PrimComputer_DWork.sProtActive); + rtb_y_fb && A380PrimComputer_DWork.sProtActive); if (!A380PrimComputer_DWork.resetEventTime_not_empty) { A380PrimComputer_DWork.resetEventTime = A380PrimComputer_U.in.time.simulation_time; A380PrimComputer_DWork.resetEventTime_not_empty = true; @@ -2035,11 +2035,11 @@ void A380PrimComputer::step() A380PrimComputer_DWork.resetEventTime = A380PrimComputer_U.in.time.simulation_time; } - A380PrimComputer_DWork.sProtActive_l = ((rtb_AND1_p && rtb_y_jk && rtb_aileronAntidroopActive && (rtb_Y > + A380PrimComputer_DWork.sProtActive_l = ((rtb_AND1_p && rtb_y_fb && rtb_aileronAntidroopActive && (rtb_Y > rtb_handleIndex) && (A380PrimComputer_U.in.time.monotonic_time > 10.0)) || A380PrimComputer_DWork.sProtActive_l); A380PrimComputer_DWork.sProtActive_l = ((A380PrimComputer_U.in.time.simulation_time - A380PrimComputer_DWork.resetEventTime <= 0.5) && (u0 >= -0.5) && ((rtb_raComputationValue >= 200.0F) || (u0 >= 0.5) - || (rtb_Y >= rtb_handleIndex - 2.0)) && rtb_AND1_p && rtb_y_jk && A380PrimComputer_DWork.sProtActive_l); + || (rtb_Y >= rtb_handleIndex - 2.0)) && rtb_AND1_p && rtb_y_fb && A380PrimComputer_DWork.sProtActive_l); if (A380PrimComputer_DWork.is_active_c28_A380PrimComputer == 0) { A380PrimComputer_DWork.is_active_c28_A380PrimComputer = 1U; A380PrimComputer_DWork.is_c28_A380PrimComputer = A380PrimComputer_IN_Landed; @@ -2105,7 +2105,7 @@ void A380PrimComputer::step() A380PrimComputer_DWork.eventTime = A380PrimComputer_U.in.time.simulation_time; } - rtb_NOT_k = ((rtb_AND1_p && (((nz != 0) && (rtb_Y > rtb_Switch_h)) || (rtb_Y > rtb_handleIndex + 0.25)) && rtb_y_jk) + rtb_NOT_k = ((rtb_AND1_p && (((nz != 0) && (rtb_Y > rtb_Switch_h)) || (rtb_Y > rtb_handleIndex + 0.25)) && rtb_y_fb) || (A380PrimComputer_U.in.time.simulation_time - A380PrimComputer_DWork.eventTime > 3.0) || A380PrimComputer_DWork.sProtActive || A380PrimComputer_DWork.sProtActive_l); rtb_AND18_c = ((std::abs(u0) <= 0.5) && (std::abs(u0_0) <= 0.5) && ((std::abs @@ -2121,26 +2121,26 @@ void A380PrimComputer::step() A380PrimComputer_P.CompareToConstant2_const))); A380PrimComputer_MATLABFunction_c((A380PrimComputer_U.in.analog_inputs.speed_brake_lever_pos < A380PrimComputer_P.CompareToConstant_const_n), A380PrimComputer_U.in.time.dt, - A380PrimComputer_P.ConfirmNode_isRisingEdge_c, A380PrimComputer_P.ConfirmNode_timeDelay_g, &rtb_y_ow, + A380PrimComputer_P.ConfirmNode_isRisingEdge_c, A380PrimComputer_P.ConfirmNode_timeDelay_g, &rtb_y_jg, &A380PrimComputer_DWork.sf_MATLABFunction_al4); A380PrimComputer_DWork.Memory_PreviousInput = A380PrimComputer_P.Logic_table[(((static_cast(rtb_NOT_k) << - 1) + rtb_y_ow) << 1) + A380PrimComputer_DWork.Memory_PreviousInput]; - rtb_y_ow = (rtb_NOT_k || A380PrimComputer_DWork.Memory_PreviousInput); + 1) + rtb_y_jg) << 1) + A380PrimComputer_DWork.Memory_PreviousInput]; + rtb_y_jg = (rtb_NOT_k || A380PrimComputer_DWork.Memory_PreviousInput); A380PrimComputer_MATLABFunction_f(rtb_AND2, A380PrimComputer_P.PulseNode7_isRisingEdge, &rtb_DataTypeConversion_m2, &A380PrimComputer_DWork.sf_MATLABFunction_ny); - A380PrimComputer_MATLABFunction_f(rtb_AND2, A380PrimComputer_P.PulseNode6_isRisingEdge, &rtb_y_jk, + A380PrimComputer_MATLABFunction_f(rtb_AND2, A380PrimComputer_P.PulseNode6_isRisingEdge, &rtb_y_fb, &A380PrimComputer_DWork.sf_MATLABFunction_gc); A380PrimComputer_DWork.Memory_PreviousInput_a = A380PrimComputer_P.Logic_table_h[(((static_cast (rtb_DataTypeConversion_m2 || (((A380PrimComputer_U.in.analog_inputs.left_body_wheel_speed < A380PrimComputer_P.CompareToConstant13_const) || (A380PrimComputer_U.in.analog_inputs.left_wing_wheel_speed < A380PrimComputer_P.CompareToConstant9_const)) && ((A380PrimComputer_U.in.analog_inputs.right_body_wheel_speed < A380PrimComputer_P.CompareToConstant10_const) || (A380PrimComputer_U.in.analog_inputs.right_wing_wheel_speed < - A380PrimComputer_P.CompareToConstant14_const)))) << 1) + rtb_y_jk) << 1) + + A380PrimComputer_P.CompareToConstant14_const)))) << 1) + rtb_y_fb) << 1) + A380PrimComputer_DWork.Memory_PreviousInput_a]; rtb_NOT_k = (A380PrimComputer_U.in.analog_inputs.speed_brake_lever_pos < A380PrimComputer_P.CompareToConstant_const_m); - rtb_y_c = (A380PrimComputer_U.in.analog_inputs.thr_lever_4_pos <= A380PrimComputer_P.CompareToConstant18_const); - rtb_y_jk = ((((A380PrimComputer_U.in.analog_inputs.speed_brake_lever_pos > + rtb_y_m = (A380PrimComputer_U.in.analog_inputs.thr_lever_4_pos <= A380PrimComputer_P.CompareToConstant18_const); + rtb_y_fb = ((((A380PrimComputer_U.in.analog_inputs.speed_brake_lever_pos > A380PrimComputer_P.CompareToConstant26_const) || rtb_NOT_k) && ((A380PrimComputer_U.in.analog_inputs.thr_lever_1_pos < A380PrimComputer_P.CompareToConstant11_const) && (A380PrimComputer_U.in.analog_inputs.thr_lever_2_pos < A380PrimComputer_P.CompareToConstant27_const) && @@ -2151,95 +2151,95 @@ void A380PrimComputer::step() (static_cast(((static_cast(A380PrimComputer_U.in.analog_inputs.thr_lever_1_pos <= A380PrimComputer_P.CompareToConstant29_const) + (A380PrimComputer_U.in.analog_inputs.thr_lever_2_pos <= A380PrimComputer_P.CompareToConstant16_const)) + (A380PrimComputer_U.in.analog_inputs.thr_lever_3_pos <= - A380PrimComputer_P.CompareToConstant17_const)) + rtb_y_c) >= A380PrimComputer_P.CompareToConstant19_const))); - A380PrimComputer_MATLABFunction_f(false, A380PrimComputer_P.PulseNode5_isRisingEdge, &rtb_y_c, + A380PrimComputer_P.CompareToConstant17_const)) + rtb_y_m) >= A380PrimComputer_P.CompareToConstant19_const))); + A380PrimComputer_MATLABFunction_f(false, A380PrimComputer_P.PulseNode5_isRisingEdge, &rtb_y_m, &A380PrimComputer_DWork.sf_MATLABFunction_m1); rtb_DataTypeConversion_m2 = (((A380PrimComputer_U.in.analog_inputs.left_body_wheel_speed >= A380PrimComputer_P.CompareToConstant7_const) || (A380PrimComputer_U.in.analog_inputs.left_wing_wheel_speed >= A380PrimComputer_P.CompareToConstant8_const)) && ((A380PrimComputer_U.in.analog_inputs.right_body_wheel_speed >= A380PrimComputer_P.CompareToConstant3_const_n) || (A380PrimComputer_U.in.analog_inputs.right_wing_wheel_speed >= A380PrimComputer_P.CompareToConstant4_const_k)) && A380PrimComputer_DWork.Memory_PreviousInput_a); - A380PrimComputer_DWork.Delay1_DSTATE_b = (rtb_y_jk && (rtb_y_c || rtb_DataTypeConversion_m2 || + A380PrimComputer_DWork.Delay1_DSTATE_b = (rtb_y_fb && (rtb_y_m || rtb_DataTypeConversion_m2 || A380PrimComputer_DWork.Delay1_DSTATE_b)); A380PrimComputer_MATLABFunction_f(false, A380PrimComputer_P.PulseNode4_isRisingEdge, &rtb_DataTypeConversion_m2, &A380PrimComputer_DWork.sf_MATLABFunction_ff); - A380PrimComputer_DWork.Delay2_DSTATE = (rtb_y_jk && (rtb_DataTypeConversion_m2 || + A380PrimComputer_DWork.Delay2_DSTATE = (rtb_y_fb && (rtb_DataTypeConversion_m2 || A380PrimComputer_DWork.Delay2_DSTATE)); A380PrimComputer_DWork.Delay3_DSTATE = (rtb_NOT_k && ((A380PrimComputer_U.in.analog_inputs.thr_lever_1_pos <= A380PrimComputer_P.CompareToConstant1_const_a) && (A380PrimComputer_U.in.analog_inputs.thr_lever_2_pos <= - A380PrimComputer_P.CompareToConstant2_const_k)) && (rtb_y_c || A380PrimComputer_DWork.Delay3_DSTATE)); + A380PrimComputer_P.CompareToConstant2_const_k)) && (rtb_y_m || A380PrimComputer_DWork.Delay3_DSTATE)); rtb_AND19 = ((!A380PrimComputer_DWork.Delay1_DSTATE_b) && (A380PrimComputer_DWork.Delay2_DSTATE || A380PrimComputer_DWork.Delay3_DSTATE)); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel_bit_l, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel_bit_l, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &rtb_DataTypeConversion_m2); - rtb_y_jk = ((rtb_y_b4 == 0U) && rtb_DataTypeConversion_m2); + rtb_y_fb = ((rtb_y_nv == 0U) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel1_bit_cm, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_cm, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, &rtb_DataTypeConversion_m2); - rtb_BusAssignment_p_logic_spoiler_lift_active = (rtb_AND2 && (rtb_y_jk || ((rtb_y_b4 == 0U) && + rtb_BusAssignment_p_logic_spoiler_lift_active = (rtb_AND2 && (rtb_y_fb || ((rtb_y_nv == 0U) && rtb_DataTypeConversion_m2))); A380PrimComputer_Y.out.logic.ground_spoilers_armed = rtb_NOT_k; A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel_bit_e, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 == 0U); + A380PrimComputer_P.BitfromLabel_bit_e, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv == 0U); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - &rtb_y_jk); + &rtb_y_fb); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel1_bit_d, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_d, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, &rtb_NOT_k); - rtb_OR_b = ((rtb_DataTypeConversion_m2 && rtb_y_jk) || ((rtb_y_b4 == 0U) && rtb_NOT_k)); + rtb_OR_b = ((rtb_DataTypeConversion_m2 && rtb_y_fb) || ((rtb_y_nv == 0U) && rtb_NOT_k)); rtb_aileronAntidroopActive = (rtb_aileronAntidroopActive && A380PrimComputer_DWork.Delay1_DSTATE_b); - A380PrimComputer_MATLABFunction_f(rtb_AND2, A380PrimComputer_P.PulseNode1_isRisingEdge_n, &rtb_y_c, + A380PrimComputer_MATLABFunction_f(rtb_AND2, A380PrimComputer_P.PulseNode1_isRisingEdge_n, &rtb_y_m, &A380PrimComputer_DWork.sf_MATLABFunction_ky); - A380PrimComputer_MATLABFunction_f(rtb_AND2, A380PrimComputer_P.PulseNode2_isRisingEdge, &rtb_y_jk, + A380PrimComputer_MATLABFunction_f(rtb_AND2, A380PrimComputer_P.PulseNode2_isRisingEdge, &rtb_y_fb, &A380PrimComputer_DWork.sf_MATLABFunction_dmh); - A380PrimComputer_DWork.Memory_PreviousInput_d = A380PrimComputer_P.Logic_table_j[(((static_cast(rtb_y_c) << - 1) + (rtb_y_jk || A380PrimComputer_DWork.Delay_DSTATE_e)) << 1) + A380PrimComputer_DWork.Memory_PreviousInput_d]; + A380PrimComputer_DWork.Memory_PreviousInput_d = A380PrimComputer_P.Logic_table_j[(((static_cast(rtb_y_m) << + 1) + (rtb_y_fb || A380PrimComputer_DWork.Delay_DSTATE_e)) << 1) + A380PrimComputer_DWork.Memory_PreviousInput_d]; A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel2_bit_pt, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel2_bit_pt, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, &rtb_DataTypeConversion_m2); - if ((rtb_y_b4 != 0U) && rtb_DataTypeConversion_m2) { + if ((rtb_y_nv != 0U) && rtb_DataTypeConversion_m2) { rtb_Switch_ir_0 = &A380PrimComputer_U.in.bus_inputs.prim_x_bus.discrete_status_word_1; } else { rtb_Switch_ir_0 = &A380PrimComputer_U.in.bus_inputs.prim_y_bus.discrete_status_word_1; } - A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel3_bit_gv, &rtb_y_b4); + A380PrimComputer_MATLABFunction_e(rtb_Switch_ir_0, A380PrimComputer_P.BitfromLabel3_bit_gv, &rtb_y_nv); if (rtb_AND20) { - rtb_y_jk = (rtb_AND1_p && (rtb_law_k != A380PrimComputer_P.EnumeratedConstant_Value_l)); + rtb_y_fb = (rtb_AND1_p && (rtb_law_k != A380PrimComputer_P.EnumeratedConstant_Value_l)); } else { - rtb_y_jk = ((rtb_y_b4 != 0U) && (rtb_Switch_ir_0->SSM == static_cast(SignStatusMatrix::NormalOperation))); + rtb_y_fb = ((rtb_y_nv != 0U) && (rtb_Switch_ir_0->SSM == static_cast(SignStatusMatrix::NormalOperation))); } rtb_DataTypeConversion_m2 = A380PrimComputer_DWork.Memory_PreviousInput_j; - A380PrimComputer_DWork.Delay_DSTATE_e = A380PrimComputer_P.Logic_table_n[(((rtb_y_jk || (std::abs(rtb_thsPos) <= + A380PrimComputer_DWork.Delay_DSTATE_e = A380PrimComputer_P.Logic_table_n[(((rtb_y_fb || (std::abs(rtb_thsPos) <= A380PrimComputer_P.CompareToConstant1_const_p) || A380PrimComputer_U.in.discrete_inputs.pitch_trim_up_pressed || A380PrimComputer_U.in.discrete_inputs.pitch_trim_down_pressed) + (static_cast((rtb_V_ias <= A380PrimComputer_P.CompareToConstant_const_c) && A380PrimComputer_DWork.Memory_PreviousInput_d) << 1)) << 1) + A380PrimComputer_DWork.Memory_PreviousInput_j]; A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel4_bit_p, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel4_bit_p, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel_bit_g, &rtb_y_b4); + A380PrimComputer_P.BitfromLabel_bit_g, &rtb_y_nv); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &rtb_DataTypeConversion_m2); - rtb_AND1_p = (((!rtb_NOT_k) || (rtb_y_b4 == 0U)) && rtb_DataTypeConversion_m2); + rtb_AND1_p = (((!rtb_NOT_k) || (rtb_y_nv == 0U)) && rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &rtb_DataTypeConversion_m2); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel6_bit_l, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel6_bit_l, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380PrimComputer_P.BitfromLabel5_bit_as, &rtb_y_b4); - if (rtb_AND1_p || (rtb_DataTypeConversion_m2 && ((!rtb_NOT_k) || (rtb_y_b4 == 0U)))) { + A380PrimComputer_P.BitfromLabel5_bit_as, &rtb_y_nv); + if (rtb_AND1_p || (rtb_DataTypeConversion_m2 && ((!rtb_NOT_k) || (rtb_y_nv == 0U)))) { abs_rate_c = 0.25; } else { abs_rate_c = 0.15; @@ -2264,12 +2264,12 @@ void A380PrimComputer::step() rtb_BusAssignment_nw_logic_high_speed_prot_lo_thresh_kn = rtb_right_outboard_aileron_deg; rtb_BusAssignment_nw_logic_high_speed_prot_hi_thresh_kn = std::fmin(A380PrimComputer_P.Constant7_Value_g, rtb_Switch4_d); - rtb_AND1_p = rtb_y_jk; - rtb_y_jk = (rtb_OR || (static_cast(rtb_activeLateralLaw) != A380PrimComputer_P.CompareToConstant_const_m4)); + rtb_AND1_p = rtb_y_fb; + rtb_y_fb = (rtb_OR || (static_cast(rtb_activeLateralLaw) != A380PrimComputer_P.CompareToConstant_const_m4)); LawMDLOBJ2.step(&A380PrimComputer_U.in.time.dt, &rtb_rightAileron2Command, &rtb_elevator1Command, &rtb_right_midboard_aileron_deg, &rtb_left_inboard_aileron_deg, &A380PrimComputer_P.Constant_Value_a, &rtb_eta_deg_dv, &rtb_eta_trim_dot_deg_s_n, &u0_0, - &A380PrimComputer_U.in.analog_inputs.rudder_pedal_pos, &rtb_AND2, &rtb_y_jk, + &A380PrimComputer_U.in.analog_inputs.rudder_pedal_pos, &rtb_AND2, &rtb_y_fb, &A380PrimComputer_DWork.sProtActive_l, &A380PrimComputer_DWork.sProtActive, &A380PrimComputer_U.in.temporary_ap_input.roll_command, &A380PrimComputer_U.in.temporary_ap_input.yaw_command, @@ -2314,9 +2314,9 @@ void A380PrimComputer::step() A380PrimComputer_RateLimiter(rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg, A380PrimComputer_P.RateLimiterVariableTs3_up, A380PrimComputer_P.RateLimiterVariableTs3_lo, - A380PrimComputer_U.in.time.dt, A380PrimComputer_P.RateLimiterVariableTs3_InitialCondition, &rtb_Y_l, + A380PrimComputer_U.in.time.dt, A380PrimComputer_P.RateLimiterVariableTs3_InitialCondition, &rtb_Y_dc, &A380PrimComputer_DWork.sf_RateLimiter_b); - rtb_right_outboard_aileron_deg = rtb_Switch4_d + rtb_Y_l; + rtb_right_outboard_aileron_deg = rtb_Switch4_d + rtb_Y_dc; rtb_right_spoiler_2_deg = A380PrimComputer_P.Gain_Gain_m * rtb_right_inboard_aileron_deg + rtb_right_outboard_aileron_deg; if (rtb_right_spoiler_2_deg > A380PrimComputer_P.Saturation2_UpperSat) { @@ -2329,9 +2329,9 @@ void A380PrimComputer::step() A380PrimComputer_P.RateLimiterGenericVariableTs_lo_k, A380PrimComputer_U.in.time.dt, rtb_leftInboardAilPos, ((!rtb_AND4_f) || rtb_AND2_i), &rtb_Switch4_d, &A380PrimComputer_DWork.sf_RateLimiter_a); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel_bit_la, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, &rtb_y_jk); - if ((rtb_y_b4 != 0U) && rtb_y_jk) { + A380PrimComputer_P.BitfromLabel_bit_la, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, &rtb_y_fb); + if ((rtb_y_nv != 0U) && rtb_y_fb) { rtb_Switch_left_inboard_aileron_command_deg_Data = A380PrimComputer_U.in.bus_inputs.prim_x_bus.left_inboard_aileron_command_deg.Data; rtb_Switch_right_inboard_aileron_command_deg_Data = @@ -2558,22 +2558,22 @@ void A380PrimComputer::step() A380PrimComputer_RateLimiter(rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg, A380PrimComputer_P.RateLimiterVariableTs4_up, A380PrimComputer_P.RateLimiterVariableTs4_lo, - A380PrimComputer_U.in.time.dt, A380PrimComputer_P.RateLimiterVariableTs4_InitialCondition, &rtb_Y_l, + A380PrimComputer_U.in.time.dt, A380PrimComputer_P.RateLimiterVariableTs4_InitialCondition, &rtb_Y_dc, &A380PrimComputer_DWork.sf_RateLimiter_c); if (A380PrimComputer_DWork.Delay1_DSTATE_b) { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = A380PrimComputer_P.Constant_Value; } else { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } A380PrimComputer_RateLimiter(rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg, A380PrimComputer_P.RateLimiterVariableTs6_up, A380PrimComputer_P.RateLimiterVariableTs6_lo, - A380PrimComputer_U.in.time.dt, A380PrimComputer_P.RateLimiterVariableTs6_InitialCondition, &rtb_Y_l, + A380PrimComputer_U.in.time.dt, A380PrimComputer_P.RateLimiterVariableTs6_InitialCondition, &rtb_Y_dc, &A380PrimComputer_DWork.sf_RateLimiter_g); - rtb_right_spoiler_2_deg = A380PrimComputer_P.Gain5_Gain * rtb_Y_l; + rtb_right_spoiler_2_deg = A380PrimComputer_P.Gain5_Gain * rtb_Y_dc; rtb_NOT_k = (A380PrimComputer_DWork.Delay1_DSTATE_b || rtb_AND19); - if (rtb_y_ow) { + if (rtb_y_jg) { rtb_Switch4_d = A380PrimComputer_P.Constant8_Value_d; } else { rtb_Switch4_d = look1_binlxpw(A380PrimComputer_U.in.analog_inputs.speed_brake_lever_pos, @@ -2687,7 +2687,7 @@ void A380PrimComputer::step() A380PrimComputer_Spoiler345Computation(rtb_xi_spoiler_deg_b, rtb_Switch4_d + rtb_Switch1_k, &rtb_Switch4_d, &rtb_Switch_h); if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch4_d; } @@ -2706,7 +2706,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch_h; } @@ -2724,7 +2724,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch4_d; } @@ -2742,7 +2742,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch_h; } @@ -2759,7 +2759,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch4_d; } @@ -2777,7 +2777,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_Switch_h = rtb_Y_l; + rtb_Switch_h = rtb_Y_dc; } A380PrimComputer_RateLimiter_a(rtb_Switch_h, A380PrimComputer_P.RateLimiterGenericVariableTs19_up, @@ -2792,7 +2792,7 @@ void A380PrimComputer::step() A380PrimComputer_Spoiler345Computation(rtb_xi_spoiler_deg_b, rtb_Switch10_n + rtb_Switch1_k, &rtb_Switch4_d, &rtb_Switch_h); if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch4_d; } @@ -2810,7 +2810,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch_h; } @@ -2827,7 +2827,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch4_d; } @@ -2847,7 +2847,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch_h; } @@ -2866,7 +2866,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_l; + rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Y_dc; } else { rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg = rtb_Switch4_d; } @@ -2886,7 +2886,7 @@ void A380PrimComputer::step() } if (rtb_NOT_k) { - rtb_Switch_h = rtb_Y_l; + rtb_Switch_h = rtb_Y_dc; } A380PrimComputer_RateLimiter_a(rtb_Switch_h, A380PrimComputer_P.RateLimiterGenericVariableTs21_up, @@ -2894,9 +2894,9 @@ void A380PrimComputer::step() (A380PrimComputer_U.in.bus_inputs.sec_3_bus.right_spoiler_2_position_deg.Data), rtb_DataTypeConversion_m2, &rtb_Switch4_d, &A380PrimComputer_DWork.sf_RateLimiter_nl); if (rtb_AND20) { - rtb_Y_l = rtb_Switch4_d; + rtb_Y_dc = rtb_Switch4_d; } else { - rtb_Y_l = rtb_Switch_right_spoiler_8_command_deg_Data; + rtb_Y_dc = rtb_Switch_right_spoiler_8_command_deg_Data; } switch (static_cast(rtb_activeLateralLaw)) { @@ -2953,25 +2953,25 @@ void A380PrimComputer::step() rtb_rightOutboardElevPos; rtb_Switch10_n = rtb_Switch4_d * A380PrimComputer_P.Gain_Gain_a; A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel_bit_p, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel_bit_p, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel1_bit_h, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_h, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel2_bit_fv, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel2_bit_fv, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel3_bit_cv, &rtb_y_b4); - rtb_y_c = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel3_bit_cv, &rtb_y_nv); + rtb_y_m = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel4_bit_n4, &rtb_y_b4); - rtb_DataTypeConversion_h = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel4_bit_n4, &rtb_y_nv); + rtb_DataTypeConversion_h = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel5_bit_py, &rtb_y_b4); - A380PrimComputer_MATLABFunction_o(rtb_y_jk, rtb_NOT_k, rtb_DataTypeConversion_m2, rtb_y_c, rtb_DataTypeConversion_h, - (rtb_y_b4 != 0U), &rtb_Switch1_k); - rtb_y_jk = (rtb_OR || ((static_cast(rtb_law_k) != A380PrimComputer_P.CompareToConstant_const_f) && ( + A380PrimComputer_P.BitfromLabel5_bit_py, &rtb_y_nv); + A380PrimComputer_MATLABFunction_o(rtb_y_fb, rtb_NOT_k, rtb_DataTypeConversion_m2, rtb_y_m, rtb_DataTypeConversion_h, + (rtb_y_nv != 0U), &rtb_Switch1_k); + rtb_y_fb = (rtb_OR || ((static_cast(rtb_law_k) != A380PrimComputer_P.CompareToConstant_const_f) && ( static_cast(rtb_law_k) != A380PrimComputer_P.CompareToConstant2_const_f))); LawMDLOBJ5.step(&A380PrimComputer_U.in.time.dt, &A380PrimComputer_U.in.time.simulation_time, &rtb_elevator2Command, &rtb_rightAileron2Command, &rtb_elevator1Command, &rtb_elevator3Command, &rtb_Switch_h, @@ -2979,7 +2979,7 @@ void A380PrimComputer::step() &rtb_eta_trim_dot_deg_s_n, &rtb_rudder1Command, &rtb_Switch1_k, (const_cast (&A380PrimComputer_RGND)), (const_cast(&A380PrimComputer_RGND)), &A380PrimComputer_P.Constant_Value_g, &A380PrimComputer_P.Constant_Value_g, &A380PrimComputer_U.in.sim_data.tailstrike_protection_on, ( - const_cast(&A380PrimComputer_RGND)), &u0, &rtb_AND2, &rtb_y_jk, &A380PrimComputer_DWork.sProtActive_l, + const_cast(&A380PrimComputer_RGND)), &u0, &rtb_AND2, &rtb_y_fb, &A380PrimComputer_DWork.sProtActive_l, &A380PrimComputer_DWork.sProtActive, &rtb_handleIndex, &rtb_BusAssignment_nw_logic_alpha_max_deg, &rtb_BusAssignment_nw_logic_high_speed_prot_hi_thresh_kn, &rtb_BusAssignment_nw_logic_high_speed_prot_lo_thresh_kn, @@ -2988,25 +2988,25 @@ void A380PrimComputer::step() &rtb_eta_trim_limit_lo, &rtb_eta_trim_limit_up); rtb_Switch4_d *= A380PrimComputer_P.Gain_Gain_g; A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel_bit_n, &rtb_y_b4); - rtb_y_jk = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel_bit_n, &rtb_y_nv); + rtb_y_fb = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel1_bit_h1, &rtb_y_b4); - rtb_NOT_k = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel1_bit_h1, &rtb_y_nv); + rtb_NOT_k = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel2_bit_gn, &rtb_y_b4); - rtb_DataTypeConversion_m2 = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel2_bit_gn, &rtb_y_nv); + rtb_DataTypeConversion_m2 = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel3_bit_b, &rtb_y_b4); - rtb_y_c = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel3_bit_b, &rtb_y_nv); + rtb_y_m = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel4_bit_i, &rtb_y_b4); - rtb_DataTypeConversion_h = (rtb_y_b4 != 0U); + A380PrimComputer_P.BitfromLabel4_bit_i, &rtb_y_nv); + rtb_DataTypeConversion_h = (rtb_y_nv != 0U); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_system_status_word, - A380PrimComputer_P.BitfromLabel5_bit_l, &rtb_y_b4); - A380PrimComputer_MATLABFunction_o(rtb_y_jk, rtb_NOT_k, rtb_DataTypeConversion_m2, rtb_y_c, rtb_DataTypeConversion_h, - (rtb_y_b4 != 0U), &rtb_Switch_h); - rtb_y_jk = (rtb_OR || ((static_cast(rtb_law_k) != A380PrimComputer_P.CompareToConstant3_const_o) && ( + A380PrimComputer_P.BitfromLabel5_bit_l, &rtb_y_nv); + A380PrimComputer_MATLABFunction_o(rtb_y_fb, rtb_NOT_k, rtb_DataTypeConversion_m2, rtb_y_m, rtb_DataTypeConversion_h, + (rtb_y_nv != 0U), &rtb_Switch_h); + rtb_y_fb = (rtb_OR || ((static_cast(rtb_law_k) != A380PrimComputer_P.CompareToConstant3_const_o) && ( static_cast(rtb_law_k) != A380PrimComputer_P.CompareToConstant4_const_o) && (static_cast(rtb_law_k) != A380PrimComputer_P.CompareToConstant5_const_b))); rtb_NOT_k = (rtb_law_k != A380PrimComputer_P.EnumeratedConstant_Value_b); @@ -3014,7 +3014,7 @@ void A380PrimComputer::step() &rtb_elevator1Command, &rtb_elevator3Command, &rtb_Switch4_d, &A380PrimComputer_U.in.analog_inputs.ths_pos_deg, &rtb_eta_deg_dv, &rtb_eta_trim_limit_lo_d, &rtb_eta_trim_dot_deg_s_n, &rtb_Switch_h, (const_cast(&A380PrimComputer_RGND)), ( - const_cast(&A380PrimComputer_RGND)), &u0, &rtb_y_jk, &rtb_NOT_k, &rtb_eta_deg_o, + const_cast(&A380PrimComputer_RGND)), &u0, &rtb_y_fb, &rtb_NOT_k, &rtb_eta_deg_o, &rtb_eta_trim_dot_deg_s_a, &rtb_eta_trim_limit_lo_h, &rtb_eta_trim_limit_up_d); LawMDLOBJ4.step(&A380PrimComputer_U.in.time.dt, &u0, &rtb_eta_deg_dv, &rtb_eta_trim_dot_deg_s_n, &rtb_eta_trim_limit_lo_d, &rtb_eta_trim_limit_up_m); @@ -3042,9 +3042,9 @@ void A380PrimComputer::step() A380PrimComputer_P.RateLimiterGenericVariableTs_lo_f, A380PrimComputer_U.in.time.dt, rtb_leftInboardElevPos, ((!rtb_AND2_ac) || rtb_AND2_i), &rtb_Switch4_d, &A380PrimComputer_DWork.sf_RateLimiter_cr); A380PrimComputer_MATLABFunction_e(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, - A380PrimComputer_P.BitfromLabel_bit_of, &rtb_y_b4); - A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, &rtb_y_jk); - if ((rtb_y_b4 != 0U) && rtb_y_jk) { + A380PrimComputer_P.BitfromLabel_bit_of, &rtb_y_nv); + A380PrimComputer_MATLABFunction(&A380PrimComputer_U.in.bus_inputs.prim_x_bus.fctl_law_status_word, &rtb_y_fb); + if ((rtb_y_nv != 0U) && rtb_y_fb) { rtb_Switch_left_inboard_aileron_command_deg_Data = A380PrimComputer_U.in.bus_inputs.prim_x_bus.left_inboard_elevator_command_deg.Data; rtb_Switch_right_inboard_aileron_command_deg_Data = @@ -3275,7 +3275,7 @@ void A380PrimComputer::step() A380PrimComputer_Y.out.bus_outputs.left_spoiler_8_command_deg.Data = static_cast (rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg); rtb_left_spoiler_8_command_deg_SSM = static_cast(A380PrimComputer_P.EnumeratedConstant1_Value); - A380PrimComputer_Y.out.bus_outputs.right_spoiler_8_command_deg.Data = static_cast(rtb_Y_l); + A380PrimComputer_Y.out.bus_outputs.right_spoiler_8_command_deg.Data = static_cast(rtb_Y_dc); rtb_right_spoiler_8_command_deg_SSM = static_cast(A380PrimComputer_P.EnumeratedConstant1_Value); A380PrimComputer_Y.out.bus_outputs.left_inboard_elevator_command_deg.Data = static_cast(rtb_Switch4_d); rtb_left_inboard_elevator_command_deg_SSM = static_cast(A380PrimComputer_P.EnumeratedConstant1_Value); @@ -3402,8 +3402,8 @@ void A380PrimComputer::step() rtb_VectorConcatenate[3] = elevator2Avail; rtb_VectorConcatenate[4] = rtb_AND_e; rtb_VectorConcatenate[5] = A380PrimComputer_P.Constant18_Value; - rtb_VectorConcatenate[6] = rtb_y_bb; - rtb_VectorConcatenate[7] = rtb_y_gc; + rtb_VectorConcatenate[6] = rtb_y_na; + rtb_VectorConcatenate[7] = rtb_y_e; rtb_VectorConcatenate[8] = A380PrimComputer_P.Constant18_Value; rtb_VectorConcatenate[9] = thsAvail; rtb_VectorConcatenate[10] = rtb_thsEngaged; @@ -3523,7 +3523,7 @@ void A380PrimComputer::step() rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_right_spoiler_7_deg; A380PrimComputer_Y.out.laws.lateral_law_outputs.left_spoiler_8_deg = rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_left_spoiler_8_deg; - A380PrimComputer_Y.out.laws.lateral_law_outputs.right_spoiler_8_deg = rtb_Y_l; + A380PrimComputer_Y.out.laws.lateral_law_outputs.right_spoiler_8_deg = rtb_Y_dc; A380PrimComputer_Y.out.laws.lateral_law_outputs.upper_rudder_deg = rtb_BusConversion_InsertedFor_BusAssignment_at_inport_1_BusCreator1_upper_rudder_deg; A380PrimComputer_Y.out.laws.lateral_law_outputs.lower_rudder_deg = @@ -3605,8 +3605,8 @@ void A380PrimComputer::step() A380PrimComputer_Y.out.logic.elevator_1_engaged = elevator1Avail; A380PrimComputer_Y.out.logic.elevator_2_avail = elevator2Avail; A380PrimComputer_Y.out.logic.elevator_2_engaged = rtb_AND_e; - A380PrimComputer_Y.out.logic.elevator_3_avail = rtb_y_bb; - A380PrimComputer_Y.out.logic.elevator_3_engaged = rtb_y_gc; + A380PrimComputer_Y.out.logic.elevator_3_avail = rtb_y_na; + A380PrimComputer_Y.out.logic.elevator_3_engaged = rtb_y_e; A380PrimComputer_Y.out.logic.ths_avail = thsAvail; A380PrimComputer_Y.out.logic.ths_engaged = rtb_thsEngaged; A380PrimComputer_Y.out.logic.left_aileron_1_avail = rtb_OR7; @@ -3648,7 +3648,7 @@ void A380PrimComputer::step() A380PrimComputer_Y.out.logic.right_sidestick_priority_locked = rtb_AND10_b; A380PrimComputer_Y.out.logic.total_sidestick_pitch_command = u0; A380PrimComputer_Y.out.logic.total_sidestick_roll_command = u0_0; - A380PrimComputer_Y.out.logic.speed_brake_inhibited = rtb_y_ow; + A380PrimComputer_Y.out.logic.speed_brake_inhibited = rtb_y_jg; A380PrimComputer_Y.out.logic.ground_spoilers_out = A380PrimComputer_DWork.Delay1_DSTATE_b; A380PrimComputer_Y.out.logic.phased_lift_dumping_active = rtb_AND19; A380PrimComputer_Y.out.logic.spoiler_lift_active = rtb_BusAssignment_p_logic_spoiler_lift_active; @@ -3684,7 +3684,7 @@ void A380PrimComputer::step() A380PrimComputer_Y.out.logic.dual_ra_failure = rtb_OR4; A380PrimComputer_Y.out.discrete_outputs.elevator_1_active_mode = elevator1Avail; A380PrimComputer_Y.out.discrete_outputs.elevator_2_active_mode = rtb_AND_e; - A380PrimComputer_Y.out.discrete_outputs.elevator_3_active_mode = rtb_y_gc; + A380PrimComputer_Y.out.discrete_outputs.elevator_3_active_mode = rtb_y_e; A380PrimComputer_Y.out.discrete_outputs.ths_active_mode = rtb_thsEngaged; A380PrimComputer_Y.out.discrete_outputs.left_aileron_1_active_mode = rtb_OR7; A380PrimComputer_Y.out.discrete_outputs.left_aileron_2_active_mode = rtb_OR1; @@ -3712,7 +3712,7 @@ void A380PrimComputer::step() A380PrimComputer_Y.out.analog_outputs.elevator_2_pos_order_deg = A380PrimComputer_P.Constant1_Value_n; } - if (rtb_y_gc) { + if (rtb_y_e) { A380PrimComputer_Y.out.analog_outputs.elevator_3_pos_order_deg = rtb_elevator3Command; } else { A380PrimComputer_Y.out.analog_outputs.elevator_3_pos_order_deg = A380PrimComputer_P.Constant2_Value_k; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer.h b/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer.h index 2debbff380c..8915269b767 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer.h +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer.h @@ -63,7 +63,7 @@ class A380PrimComputer final real_T configFullEventTime; real_T eventTime; real_T resetEventTime; - real_T eventTime_f; + real_T eventTime_p; boolean_T Delay_DSTATE_cc; boolean_T Delay1_DSTATE; boolean_T Delay1_DSTATE_b; @@ -86,7 +86,7 @@ class A380PrimComputer final boolean_T eventTime_not_empty; boolean_T resetEventTime_not_empty; boolean_T sProtActive_l; - boolean_T eventTime_not_empty_m; + boolean_T eventTime_not_empty_i; boolean_T abnormalConditionWasActive; boolean_T Runtime_MODE; rtDW_MATLABFunction_A380PrimComputer_o_T sf_MATLABFunction_dmh; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer_types.h b/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer_types.h index 2f8ffbb79b0..a36b9e24dee 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer_types.h +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380PrimComputer_types.h @@ -103,35 +103,6 @@ struct base_prim_out_bus #endif -#ifndef DEFINED_TYPEDEF_FOR_base_prim_discrete_inputs_ -#define DEFINED_TYPEDEF_FOR_base_prim_discrete_inputs_ - -struct base_prim_discrete_inputs -{ - boolean_T prim_overhead_button_pressed; - boolean_T is_unit_1; - boolean_T is_unit_2; - boolean_T is_unit_3; - boolean_T capt_priority_takeover_pressed; - boolean_T fo_priority_takeover_pressed; - boolean_T ap_1_pushbutton_pressed; - boolean_T ap_2_pushbutton_pressed; - boolean_T fcu_healthy; - boolean_T athr_pushbutton; - boolean_T ir_3_on_capt; - boolean_T ir_3_on_fo; - boolean_T adr_3_on_capt; - boolean_T adr_3_on_fo; - boolean_T rat_deployed; - boolean_T rat_contactor_closed; - boolean_T pitch_trim_up_pressed; - boolean_T pitch_trim_down_pressed; - boolean_T green_low_pressure; - boolean_T yellow_low_pressure; -}; - -#endif - #ifndef DEFINED_TYPEDEF_FOR_base_prim_discrete_outputs_ #define DEFINED_TYPEDEF_FOR_base_prim_discrete_outputs_ @@ -185,6 +156,35 @@ struct base_sim_data #endif +#ifndef DEFINED_TYPEDEF_FOR_base_prim_discrete_inputs_ +#define DEFINED_TYPEDEF_FOR_base_prim_discrete_inputs_ + +struct base_prim_discrete_inputs +{ + boolean_T prim_overhead_button_pressed; + boolean_T is_unit_1; + boolean_T is_unit_2; + boolean_T is_unit_3; + boolean_T capt_priority_takeover_pressed; + boolean_T fo_priority_takeover_pressed; + boolean_T ap_1_pushbutton_pressed; + boolean_T ap_2_pushbutton_pressed; + boolean_T fcu_healthy; + boolean_T athr_pushbutton; + boolean_T ir_3_on_capt; + boolean_T ir_3_on_fo; + boolean_T adr_3_on_capt; + boolean_T adr_3_on_fo; + boolean_T rat_deployed; + boolean_T rat_contactor_closed; + boolean_T pitch_trim_up_pressed; + boolean_T pitch_trim_down_pressed; + boolean_T green_low_pressure; + boolean_T yellow_low_pressure; +}; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_base_prim_analog_inputs_ #define DEFINED_TYPEDEF_FOR_base_prim_analog_inputs_ diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer.cpp index f77170ba9a3..b00ca7cd0db 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer.cpp +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer.cpp @@ -150,8 +150,8 @@ void A380SecComputer::step() real_T rtb_Switch1_k; real_T rtb_Switch8_o; real_T rtb_eta_deg; - real32_T rtb_Data_awh; - real32_T rtb_Data_ch; + real32_T rtb_Data_amw; + real32_T rtb_Data_i4; real32_T rtb_Data_nu; real32_T rtb_V_ias; real32_T rtb_V_tas; @@ -168,11 +168,11 @@ void A380SecComputer::step() real32_T rtb_rightAileron1Command; real32_T rtb_theta; real32_T rtb_theta_dot; - uint32_T rtb_SSM_ov; - uint32_T rtb_y_e; - uint32_T rtb_y_ex; - uint32_T rtb_y_js; - uint32_T rtb_y_na; + uint32_T rtb_SSM_mjt; + uint32_T rtb_y_a4; + uint32_T rtb_y_ar; + uint32_T rtb_y_k; + uint32_T rtb_y_p; int8_T rtb_DataTypeConversion_i; boolean_T rtb_VectorConcatenate[19]; boolean_T rtb_VectorConcatenate_a[19]; @@ -217,8 +217,8 @@ void A380SecComputer::step() boolean_T rtb_OR6; boolean_T rtb_logic_c_is_green_hydraulic_power_avail; boolean_T rtb_logic_c_is_yellow_hydraulic_power_avail; - boolean_T rtb_y_ej; - boolean_T rtb_y_im; + boolean_T rtb_y_e; + boolean_T rtb_y_lz; boolean_T rudder1ElectricModeAvail; boolean_T rudder1HydraulicModeAvail; boolean_T rudder1HydraulicModeHasPriority_tmp; @@ -408,70 +408,70 @@ void A380SecComputer::step() &A380SecComputer_DWork.sf_MATLABFunction_bd); rtb_Compare_l = false; A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.prim_1_bus.fctl_law_status_word, - A380SecComputer_P.BitfromLabel6_bit, &rtb_y_na); + A380SecComputer_P.BitfromLabel6_bit, &rtb_y_ar); A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.prim_1_bus.fctl_law_status_word, &rtb_Compare_l); - rtb_AND = ((rtb_y_na != 0U) && rtb_Compare_l); + rtb_AND = ((rtb_y_ar != 0U) && rtb_Compare_l); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.prim_2_bus.fctl_law_status_word, - A380SecComputer_P.BitfromLabel7_bit, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.prim_2_bus.fctl_law_status_word, &rtb_y_ej); - rtb_AND1 = ((rtb_y_na != 0U) && rtb_y_ej); + A380SecComputer_P.BitfromLabel7_bit, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.prim_2_bus.fctl_law_status_word, &rtb_y_lz); + rtb_AND1 = ((rtb_y_ar != 0U) && rtb_y_lz); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.prim_3_bus.fctl_law_status_word, - A380SecComputer_P.BitfromLabel1_bit, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.prim_3_bus.fctl_law_status_word, &rtb_y_im); + A380SecComputer_P.BitfromLabel1_bit, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.prim_3_bus.fctl_law_status_word, &rtb_y_e); if (rtb_AND) { rtb_DataTypeConversion_i = 1; } else if (rtb_AND1) { rtb_DataTypeConversion_i = 2; - } else if ((rtb_y_na != 0U) && rtb_y_im) { + } else if ((rtb_y_ar != 0U) && rtb_y_e) { rtb_DataTypeConversion_i = 3; } else { rtb_DataTypeConversion_i = 0; } if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_y_na = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.Data; } else if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { - rtb_y_na = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.Data; } else { - rtb_y_na = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel1_bit_g, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_P.BitfromLabel1_bit_g, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_ej); - rtb_AND_fj = ((rtb_y_ex != 0U) && rtb_y_ej); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_lz); + rtb_AND_fj = ((rtb_y_p != 0U) && rtb_y_lz); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel2_bit, &rtb_y_ex); - rtb_AND = (rtb_y_ej && (rtb_y_ex != 0U)); + A380SecComputer_P.BitfromLabel2_bit, &rtb_y_p); + rtb_AND = (rtb_y_lz && (rtb_y_p != 0U)); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel3_bit, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_im); - rtb_AND2_j = ((rtb_y_ex != 0U) && rtb_y_im); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel3_bit, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_e); + rtb_AND2_j = ((rtb_y_p != 0U) && rtb_y_e); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel4_bit, &rtb_y_ex); + A380SecComputer_P.BitfromLabel4_bit, &rtb_y_p); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { leftAileron1Avail = rtb_logic_c_is_green_hydraulic_power_avail; rightAileron1Avail = rtb_logic_c_is_green_hydraulic_power_avail; @@ -486,63 +486,63 @@ void A380SecComputer::step() rightAileron1Avail = false; } - A380SecComputer_B.logic.right_aileron_1_engaged = (rightAileron1Avail && ((!rtb_AND) && ((!rtb_y_im) || (rtb_y_ex == + A380SecComputer_B.logic.right_aileron_1_engaged = (rightAileron1Avail && ((!rtb_AND) && ((!rtb_y_e) || (rtb_y_p == 0U)))); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel5_bit, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_P.BitfromLabel5_bit, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_Compare_l); - rtb_AND4_e = ((rtb_y_ex != 0U) && rtb_Compare_l); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + rtb_AND4_e = ((rtb_y_p != 0U) && rtb_Compare_l); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel6_bit_d, &rtb_y_ex); - rtb_AND = (rtb_Compare_l && (rtb_y_ex != 0U)); + A380SecComputer_P.BitfromLabel6_bit_d, &rtb_y_p); + rtb_AND = (rtb_Compare_l && (rtb_y_p != 0U)); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.aileron_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel7_bit_j, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_ej); - rtb_AND6 = ((rtb_y_ex != 0U) && rtb_y_ej); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel7_bit_j, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_lz); + rtb_AND6 = ((rtb_y_p != 0U) && rtb_y_lz); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel8_bit, &rtb_y_ex); - rtb_AND1 = (rtb_y_ej && (rtb_y_ex != 0U)); + A380SecComputer_P.BitfromLabel8_bit, &rtb_y_p); + rtb_AND1 = (rtb_y_lz && (rtb_y_p != 0U)); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.sec_y_bus.aileron_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.sec_y_bus.aileron_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.sec_y_bus.aileron_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.sec_y_bus.aileron_status_word.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.sec_x_bus.aileron_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.sec_x_bus.aileron_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.sec_x_bus.aileron_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.sec_x_bus.aileron_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel9_bit, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_im); - rtb_AND8 = ((rtb_y_ex != 0U) && rtb_y_im); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel9_bit, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_e); + rtb_AND8 = ((rtb_y_p != 0U) && rtb_y_e); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel10_bit, &rtb_y_ex); + A380SecComputer_P.BitfromLabel10_bit, &rtb_y_p); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { leftAileron2Avail = true; rightAileron2Avail = true; @@ -550,8 +550,8 @@ void A380SecComputer::step() rightSpoilerHydraulicModeAvail = rtb_logic_c_is_yellow_hydraulic_power_avail; leftSpoilerHydraulicModeAvail_0 = false; rightSpoilerHydraulicModeAvail_0 = false; - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.Data; } else if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { leftAileron2Avail = true; rightAileron2Avail = true; @@ -559,8 +559,8 @@ void A380SecComputer::step() rightSpoilerHydraulicModeAvail = rtb_logic_c_is_green_hydraulic_power_avail; leftSpoilerHydraulicModeAvail_0 = rtb_logic_c_is_yellow_hydraulic_power_avail; rightSpoilerHydraulicModeAvail_0 = rtb_logic_c_is_yellow_hydraulic_power_avail; - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.Data; } else { leftAileron2Avail = false; rightAileron2Avail = false; @@ -576,38 +576,38 @@ void A380SecComputer::step() rightSpoilerHydraulicModeAvail_0 = false; } - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; } - A380SecComputer_B.logic.right_aileron_2_engaged = (rightAileron2Avail && ((!rtb_AND) && (!rtb_AND1) && ((!rtb_y_im) || - (rtb_y_ex == 0U)))); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_B.logic.right_aileron_2_engaged = (rightAileron2Avail && ((!rtb_AND) && (!rtb_AND1) && ((!rtb_y_e) || + (rtb_y_p == 0U)))); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel1_bit_j, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_ej); + A380SecComputer_P.BitfromLabel1_bit_j, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_lz); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_y_na = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.Data; } else { - rtb_y_na = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel2_bit_i, &rtb_y_e); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_P.BitfromLabel2_bit_i, &rtb_y_k); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel3_bit_i, &rtb_y_js); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_P.BitfromLabel3_bit_i, &rtb_y_a4); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_im); + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_e); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { elevator1Avail = rtb_logic_c_is_green_hydraulic_power_avail; } else if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { @@ -617,271 +617,271 @@ void A380SecComputer::step() } if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { - rtb_AND9_e = (rtb_y_e != 0U); + rtb_AND9_e = (rtb_y_k != 0U); } else { - rtb_AND9_e = (rtb_y_js != 0U); + rtb_AND9_e = (rtb_y_a4 != 0U); } - A380SecComputer_B.logic.elevator_1_engaged = (elevator1Avail && (((rtb_y_ex == 0U) || (!rtb_y_ej)) && ((!rtb_AND9_e) - || (!rtb_y_im)))); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_B.logic.elevator_1_engaged = (elevator1Avail && (((rtb_y_p == 0U) || (!rtb_y_lz)) && ((!rtb_AND9_e) || + (!rtb_y_e)))); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel4_bit_e, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel4_bit_e, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_Compare_l); - rtb_AND2_i = ((rtb_y_ex != 0U) && rtb_Compare_l); + rtb_AND2_i = ((rtb_y_p != 0U) && rtb_Compare_l); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_y_na = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; } else if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { - rtb_y_na = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.Data; } else { - rtb_y_na = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel6_bit_l, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_P.BitfromLabel6_bit_l, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel7_bit_b, &rtb_y_e); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_P.BitfromLabel7_bit_b, &rtb_y_k); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_ej); + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_lz); if (A380SecComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND9_e = (rtb_y_ex != 0U); + rtb_AND9_e = (rtb_y_p != 0U); } else { - rtb_AND9_e = (rtb_y_e != 0U); + rtb_AND9_e = (rtb_y_k != 0U); } - rtb_AND4_m = (rtb_AND9_e && rtb_y_ej); + rtb_AND4_m = (rtb_AND9_e && rtb_y_lz); if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { - rtb_y_na = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.Data; } else { - rtb_y_na = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.SSM; + rtb_y_ar = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.SSM; rtb_alpha = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel8_bit_d, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_P.BitfromLabel8_bit_d, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel9_bit_g, &rtb_y_e); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_na; + A380SecComputer_P.BitfromLabel9_bit_g, &rtb_y_k); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_y_ar; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_alpha; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_im); + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_e); if (A380SecComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND9_e = (rtb_y_ex != 0U); + rtb_AND9_e = (rtb_y_p != 0U); } else { - rtb_AND9_e = (rtb_y_e != 0U); + rtb_AND9_e = (rtb_y_k != 0U); } - rtb_AND5_e = (rtb_AND9_e && rtb_y_im); + rtb_AND5_e = (rtb_AND9_e && rtb_y_e); elevator2Avail = (A380SecComputer_U.in.discrete_inputs.is_unit_1 || (A380SecComputer_U.in.discrete_inputs.is_unit_2 || (A380SecComputer_U.in.discrete_inputs.is_unit_3 && rtb_logic_c_is_yellow_hydraulic_power_avail))); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel5_bit_e, &rtb_y_na); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel5_bit_e, &rtb_y_ar); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_Compare_l); - rtb_AND3_dt = ((rtb_y_na != 0U) && rtb_Compare_l); + rtb_AND3_dt = ((rtb_y_ar != 0U) && rtb_Compare_l); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel10_bit_g, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel10_bit_g, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel11_bit, &rtb_y_na); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_ej); + A380SecComputer_P.BitfromLabel11_bit, &rtb_y_ar); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_lz); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_AND9_e = (rtb_y_ex != 0U); - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.Data; + rtb_AND9_e = (rtb_y_p != 0U); + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.Data; } else { - rtb_AND9_e = (rtb_y_na != 0U); - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.Data; + rtb_AND9_e = (rtb_y_ar != 0U); + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.Data; } - rtb_AND6_e = (rtb_AND9_e && rtb_y_ej); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_AND6_e = (rtb_AND9_e && rtb_y_lz); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel12_bit, &rtb_y_na); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel12_bit, &rtb_y_ar); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel13_bit, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_im); + A380SecComputer_P.BitfromLabel13_bit, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_e); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_AND9_e = (rtb_y_na != 0U); + rtb_AND9_e = (rtb_y_ar != 0U); } else { - rtb_AND9_e = (rtb_y_ex != 0U); + rtb_AND9_e = (rtb_y_p != 0U); } - rtb_AND7_j = (rtb_AND9_e && rtb_y_im); + rtb_AND7_j = (rtb_AND9_e && rtb_y_e); elevator3Avail = (A380SecComputer_U.in.discrete_inputs.is_unit_1 || A380SecComputer_U.in.discrete_inputs.is_unit_2); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel1_bit_f, &rtb_y_na); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel1_bit_f, &rtb_y_ar); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_Compare_l); - rtb_AND = ((rtb_y_na != 0U) && rtb_Compare_l); + rtb_AND = ((rtb_y_ar != 0U) && rtb_Compare_l); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.elevator_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel2_bit_a, &rtb_y_na); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_ej); - rtb_AND1 = ((rtb_y_na != 0U) && rtb_y_ej); + A380SecComputer_P.BitfromLabel2_bit_a, &rtb_y_ar); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_lz); + rtb_AND1 = ((rtb_y_ar != 0U) && rtb_y_lz); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word, - A380SecComputer_P.BitfromLabel3_bit_j, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word, &rtb_y_im); + A380SecComputer_P.BitfromLabel3_bit_j, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word, &rtb_y_e); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { thsAvail = rtb_logic_c_is_yellow_hydraulic_power_avail; - rtb_AND9_e = ((!rtb_AND) && (!rtb_AND1) && ((rtb_y_na == 0U) || (!rtb_y_im))); - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.Data; + rtb_AND9_e = ((!rtb_AND) && (!rtb_AND1) && ((rtb_y_ar == 0U) || (!rtb_y_e))); + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.Data; } else { - rtb_y_im = !A380SecComputer_U.in.discrete_inputs.is_unit_2; - thsAvail = (rtb_y_im && (A380SecComputer_U.in.discrete_inputs.is_unit_3 && + rtb_y_e = !A380SecComputer_U.in.discrete_inputs.is_unit_2; + thsAvail = (rtb_y_e && (A380SecComputer_U.in.discrete_inputs.is_unit_3 && rtb_logic_c_is_green_hydraulic_power_avail)); - rtb_AND9_e = (rtb_y_im && (A380SecComputer_U.in.discrete_inputs.is_unit_3 && ((!rtb_AND) && (!rtb_AND1)))); + rtb_AND9_e = (rtb_y_e && (A380SecComputer_U.in.discrete_inputs.is_unit_3 && ((!rtb_AND) && (!rtb_AND1)))); if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.Data; } } A380SecComputer_B.logic.ths_engaged = (thsAvail && rtb_AND9_e); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel1_bit_o, &rtb_y_na); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel1_bit_o, &rtb_y_ar); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_Compare_l); - rtb_AND_b3 = ((rtb_y_na != 0U) && rtb_Compare_l); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_AND_b3 = ((rtb_y_ar != 0U) && rtb_Compare_l); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel2_bit_p, &rtb_y_ex); - rtb_AND = (rtb_Compare_l && (rtb_y_ex != 0U)); + A380SecComputer_P.BitfromLabel2_bit_p, &rtb_y_p); + rtb_AND = (rtb_Compare_l && (rtb_y_p != 0U)); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.SSM; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.Data; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.SSM; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel10_bit_i, &rtb_y_na); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel10_bit_i, &rtb_y_ar); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel8_bit_m, &rtb_y_ex); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; - A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_ej); + A380SecComputer_P.BitfromLabel8_bit_m, &rtb_y_p); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; + A380SecComputer_MATLABFunction(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, &rtb_y_lz); if (A380SecComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND9_e = (rtb_y_na != 0U); + rtb_AND9_e = (rtb_y_ar != 0U); } else { - rtb_AND9_e = (rtb_y_ex != 0U); + rtb_AND9_e = (rtb_y_p != 0U); } - rtb_AND7_g = (rtb_AND9_e && rtb_y_ej); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + rtb_AND7_g = (rtb_AND9_e && rtb_y_lz); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel11_bit_l, &rtb_y_na); - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_ov; - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_ch; + A380SecComputer_P.BitfromLabel11_bit_l, &rtb_y_ar); + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.SSM = rtb_SSM_mjt; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi.Data = rtb_Data_i4; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_mi, - A380SecComputer_P.BitfromLabel12_bit_b, &rtb_SSM_ov); + A380SecComputer_P.BitfromLabel12_bit_b, &rtb_SSM_mjt); if (A380SecComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND9_e = (rtb_y_na != 0U); + rtb_AND9_e = (rtb_y_ar != 0U); } else { - rtb_AND9_e = (rtb_SSM_ov != 0U); + rtb_AND9_e = (rtb_SSM_mjt != 0U); } - rtb_AND1 = (rtb_y_ej && rtb_AND9_e); + rtb_AND1 = (rtb_y_lz && rtb_AND9_e); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel9_bit_o, &rtb_SSM_ov); + A380SecComputer_P.BitfromLabel9_bit_o, &rtb_SSM_mjt); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel15_bit, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, &rtb_y_im); + A380SecComputer_P.BitfromLabel15_bit, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, &rtb_y_e); if (A380SecComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND9_e = (rtb_SSM_ov != 0U); + rtb_AND9_e = (rtb_SSM_mjt != 0U); } else { - rtb_AND9_e = (rtb_y_na != 0U); + rtb_AND9_e = (rtb_y_ar != 0U); } - rtb_AND9_e = (rtb_AND9_e && rtb_y_im); + rtb_AND9_e = (rtb_AND9_e && rtb_y_e); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel13_bit_o, &rtb_SSM_ov); + A380SecComputer_P.BitfromLabel13_bit_o, &rtb_SSM_mjt); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel14_bit, &rtb_y_na); + A380SecComputer_P.BitfromLabel14_bit, &rtb_y_ar); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { rudder1HydraulicModeAvail = rtb_logic_c_is_yellow_hydraulic_power_avail; rudder1ElectricModeAvail = true; - rtb_y_ej = !rtb_AND_b3; + rtb_y_lz = !rtb_AND_b3; rtb_AND7_g = !rtb_AND7_g; - rtb_AND_b3 = (rtb_y_ej && rtb_AND7_g); - rtb_AND7_g = (rtb_y_ej && (!rtb_AND) && rtb_AND7_g && (!rtb_AND1) && (!rtb_AND9_e) && + rtb_AND_b3 = (rtb_y_lz && rtb_AND7_g); + rtb_AND7_g = (rtb_y_lz && (!rtb_AND) && rtb_AND7_g && (!rtb_AND1) && (!rtb_AND9_e) && (!rtb_logic_c_is_yellow_hydraulic_power_avail)); } else { if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { @@ -896,18 +896,18 @@ void A380SecComputer::step() } if (A380SecComputer_U.in.discrete_inputs.is_unit_2 || A380SecComputer_U.in.discrete_inputs.is_unit_3) { - rtb_y_ej = !rtb_AND_b3; + rtb_y_lz = !rtb_AND_b3; rtb_AND7_g = !rtb_AND7_g; rudder1HydraulicModeHasPriority_tmp = !rtb_AND9_e; - rtb_AND_b3 = (rtb_y_ej && rtb_AND7_g && rudder1HydraulicModeHasPriority_tmp); + rtb_AND_b3 = (rtb_y_lz && rtb_AND7_g && rudder1HydraulicModeHasPriority_tmp); if (A380SecComputer_U.in.discrete_inputs.is_unit_3) { - rtb_AND9_e = (rtb_SSM_ov != 0U); + rtb_AND9_e = (rtb_SSM_mjt != 0U); } else { - rtb_AND9_e = (rtb_y_na != 0U); + rtb_AND9_e = (rtb_y_ar != 0U); } - rtb_AND7_g = (rtb_y_ej && (!rtb_AND) && rtb_AND7_g && (!rtb_AND1) && rudder1HydraulicModeHasPriority_tmp && - ((!rtb_y_im) || (!rtb_AND9_e)) && (!rudder1HydraulicModeAvail)); + rtb_AND7_g = (rtb_y_lz && (!rtb_AND) && rtb_AND7_g && (!rtb_AND1) && rudder1HydraulicModeHasPriority_tmp && + ((!rtb_y_e) || (!rtb_AND9_e)) && (!rudder1HydraulicModeAvail)); } else { rtb_AND_b3 = false; rtb_AND7_g = false; @@ -915,30 +915,30 @@ void A380SecComputer::step() } A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel3_bit_o, &rtb_y_na); + A380SecComputer_P.BitfromLabel3_bit_o, &rtb_y_ar); A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word, &rtb_Compare_l); - rtb_AND9_e = ((rtb_y_na != 0U) && rtb_Compare_l); + rtb_AND9_e = ((rtb_y_ar != 0U) && rtb_Compare_l); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel4_bit_a, &rtb_y_na); - rtb_AND = (rtb_Compare_l && (rtb_y_na != 0U)); + A380SecComputer_P.BitfromLabel4_bit_a, &rtb_y_ar); + rtb_AND = (rtb_Compare_l && (rtb_y_ar != 0U)); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel5_bit_c, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word, &rtb_y_ej); - rtb_AND4_ab = ((rtb_y_na != 0U) && rtb_y_ej); + A380SecComputer_P.BitfromLabel5_bit_c, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word, &rtb_y_lz); + rtb_AND4_ab = ((rtb_y_ar != 0U) && rtb_y_lz); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel6_bit_h, &rtb_y_na); - rtb_AND1 = (rtb_y_ej && (rtb_y_na != 0U)); + A380SecComputer_P.BitfromLabel6_bit_h, &rtb_y_ar); + rtb_AND1 = (rtb_y_lz && (rtb_y_ar != 0U)); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel7_bit_i, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_status_word, &rtb_y_im); + A380SecComputer_P.BitfromLabel7_bit_i, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_status_word, &rtb_y_e); if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { rudder1HydraulicModeHasPriority_tmp = rtb_logic_c_is_green_hydraulic_power_avail; rudder2ElectricModeAvail = true; rtb_AND9_e = !rtb_AND9_e; - rtb_y_ej = !rtb_AND4_ab; - rtb_AND4_ab = (rtb_AND9_e && rtb_y_ej); - rudder2ElectricModeHasPriority = (rtb_AND9_e && (!rtb_AND) && rtb_y_ej && (!rtb_AND1) && ((rtb_y_na == 0U) || - (!rtb_y_im)) && (!rtb_logic_c_is_green_hydraulic_power_avail)); + rtb_y_lz = !rtb_AND4_ab; + rtb_AND4_ab = (rtb_AND9_e && rtb_y_lz); + rudder2ElectricModeHasPriority = (rtb_AND9_e && (!rtb_AND) && rtb_y_lz && (!rtb_AND1) && ((rtb_y_ar == 0U) || + (!rtb_y_e)) && (!rtb_logic_c_is_green_hydraulic_power_avail)); } else { rudder1HydraulicModeHasPriority_tmp = false; rudder2ElectricModeAvail = false; @@ -947,13 +947,13 @@ void A380SecComputer::step() } A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, - A380SecComputer_P.BitfromLabel9_bit_m, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, &rtb_y_im); + A380SecComputer_P.BitfromLabel9_bit_m, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word, &rtb_y_e); rtb_AND = !A380SecComputer_U.in.discrete_inputs.is_unit_2; rudderTrimAvail = (A380SecComputer_U.in.discrete_inputs.is_unit_1 || (rtb_AND && A380SecComputer_U.in.discrete_inputs.is_unit_3)); A380SecComputer_B.logic.rudder_trim_engaged = (rudderTrimAvail && (A380SecComputer_U.in.discrete_inputs.is_unit_1 || - (rtb_AND && (A380SecComputer_U.in.discrete_inputs.is_unit_3 && ((rtb_y_na == 0U) || (!rtb_y_im)))))); + (rtb_AND && (A380SecComputer_U.in.discrete_inputs.is_unit_3 && ((rtb_y_ar == 0U) || (!rtb_y_e)))))); if (rtb_DataTypeConversion_i == 0) { A380SecComputer_B.logic.active_pitch_law = a380_pitch_efcs_law::DirectLaw; A380SecComputer_B.logic.active_lateral_law = a380_lateral_efcs_law::DirectLaw; @@ -963,13 +963,13 @@ void A380SecComputer::step() } A380SecComputer_MATLABFunction_g(A380SecComputer_U.in.discrete_inputs.capt_priority_takeover_pressed, - A380SecComputer_P.PulseNode_isRisingEdge, &rtb_y_ej, &A380SecComputer_DWork.sf_MATLABFunction_g4); + A380SecComputer_P.PulseNode_isRisingEdge, &rtb_y_lz, &A380SecComputer_DWork.sf_MATLABFunction_g4); A380SecComputer_MATLABFunction_g(A380SecComputer_U.in.discrete_inputs.fo_priority_takeover_pressed, - A380SecComputer_P.PulseNode1_isRisingEdge, &rtb_y_im, &A380SecComputer_DWork.sf_MATLABFunction_nu); - if (rtb_y_ej) { + A380SecComputer_P.PulseNode1_isRisingEdge, &rtb_y_e, &A380SecComputer_DWork.sf_MATLABFunction_nu); + if (rtb_y_lz) { A380SecComputer_DWork.pRightStickDisabled = true; A380SecComputer_DWork.pLeftStickDisabled = false; - } else if (rtb_y_im) { + } else if (rtb_y_e) { A380SecComputer_DWork.pLeftStickDisabled = true; A380SecComputer_DWork.pRightStickDisabled = false; } @@ -992,40 +992,40 @@ void A380SecComputer::step() A380SecComputer_U.in.time.dt, A380SecComputer_P.ConfirmNode_isRisingEdge_j, A380SecComputer_P.ConfirmNode_timeDelay_a, &rtb_AND1, &A380SecComputer_DWork.sf_MATLABFunction_g2); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380SecComputer_P.BitfromLabel_bit, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &rtb_y_ej); - rtb_AND_b = ((rtb_y_na == 0U) && rtb_y_ej); + A380SecComputer_P.BitfromLabel_bit, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &rtb_y_lz); + rtb_AND_b = ((rtb_y_ar == 0U) && rtb_y_lz); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, - A380SecComputer_P.BitfromLabel1_bit_d, &rtb_y_na); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, &rtb_y_im); - rtb_AND1_cb = ((rtb_y_na == 0U) && rtb_y_im); - A380SecComputer_MATLABFunction_g(false, A380SecComputer_P.PulseNode1_isRisingEdge_m, &rtb_y_ej, + A380SecComputer_P.BitfromLabel1_bit_d, &rtb_y_ar); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sfcc_2_bus.slat_flap_actual_position_word, &rtb_y_e); + rtb_AND1_cb = ((rtb_y_ar == 0U) && rtb_y_e); + A380SecComputer_MATLABFunction_g(false, A380SecComputer_P.PulseNode1_isRisingEdge_m, &rtb_y_lz, &A380SecComputer_DWork.sf_MATLABFunction_ek); A380SecComputer_MATLABFunction_g(false, A380SecComputer_P.PulseNode2_isRisingEdge, &rtb_Compare_l, &A380SecComputer_DWork.sf_MATLABFunction_mf); - A380SecComputer_DWork.Memory_PreviousInput = A380SecComputer_P.Logic_table[(((static_cast(rtb_y_ej) << 1) + A380SecComputer_DWork.Memory_PreviousInput = A380SecComputer_P.Logic_table[(((static_cast(rtb_y_lz) << 1) + (rtb_Compare_l || A380SecComputer_DWork.Delay_DSTATE_d)) << 1) + A380SecComputer_DWork.Memory_PreviousInput]; if (rtb_DataTypeConversion_i == A380SecComputer_P.CompareToConstant3_const) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_1_bus.discrete_status_word_1.SSM; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_1_bus.discrete_status_word_1.SSM; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_gp.Data = A380SecComputer_U.in.bus_inputs.prim_1_bus.discrete_status_word_1.Data; } else if (rtb_DataTypeConversion_i == A380SecComputer_P.CompareToConstant4_const) { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_2_bus.discrete_status_word_1.SSM; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_2_bus.discrete_status_word_1.SSM; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_gp.Data = A380SecComputer_U.in.bus_inputs.prim_2_bus.discrete_status_word_1.Data; } else { - rtb_SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.discrete_status_word_1.SSM; + rtb_SSM_mjt = A380SecComputer_U.in.bus_inputs.prim_3_bus.discrete_status_word_1.SSM; rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_gp.Data = A380SecComputer_U.in.bus_inputs.prim_3_bus.discrete_status_word_1.Data; } - rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_gp.SSM = rtb_SSM_ov; + rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_gp.SSM = rtb_SSM_mjt; A380SecComputer_MATLABFunction_c(&rtb_BusConversion_InsertedFor_MATLABFunction_at_inport_0_BusCreator1_gp, - A380SecComputer_P.BitfromLabel3_bit_id, &rtb_y_na); + A380SecComputer_P.BitfromLabel3_bit_id, &rtb_y_ar); if (rtb_DataTypeConversion_i == A380SecComputer_P.CompareToConstant5_const) { rtb_Compare_l = (rtb_DataTypeConversion_i != A380SecComputer_P.CompareToConstant2_const); } else { - rtb_Compare_l = ((rtb_y_na != 0U) && (rtb_SSM_ov == static_cast(SignStatusMatrix::NormalOperation))); + rtb_Compare_l = ((rtb_y_ar != 0U) && (rtb_SSM_mjt == static_cast(SignStatusMatrix::NormalOperation))); } A380SecComputer_DWork.Delay_DSTATE_d = A380SecComputer_P.Logic_table_i[(((rtb_Compare_l || (std::abs @@ -1035,20 +1035,20 @@ void A380SecComputer::step() A380SecComputer_P.CompareToConstant_const) && A380SecComputer_DWork.Memory_PreviousInput) << 1)) << 1) + A380SecComputer_DWork.Memory_PreviousInput_n]; A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380SecComputer_P.BitfromLabel4_bit_m, &rtb_SSM_ov); - rtb_y_ej = (rtb_SSM_ov != 0U); + A380SecComputer_P.BitfromLabel4_bit_m, &rtb_SSM_mjt); + rtb_y_lz = (rtb_SSM_mjt != 0U); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380SecComputer_P.BitfromLabel_bit_k, &rtb_SSM_ov); - A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &rtb_y_im); - rtb_y_im = (((!rtb_y_ej) || (rtb_SSM_ov == 0U)) && rtb_y_im); + A380SecComputer_P.BitfromLabel_bit_k, &rtb_SSM_mjt); + A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &rtb_y_e); + rtb_y_e = (((!rtb_y_lz) || (rtb_SSM_mjt == 0U)) && rtb_y_e); A380SecComputer_MATLABFunction(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, &A380SecComputer_DWork.Memory_PreviousInput_n); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380SecComputer_P.BitfromLabel6_bit_a, &rtb_SSM_ov); - rtb_y_ej = (rtb_SSM_ov != 0U); + A380SecComputer_P.BitfromLabel6_bit_a, &rtb_SSM_mjt); + rtb_y_lz = (rtb_SSM_mjt != 0U); A380SecComputer_MATLABFunction_c(&A380SecComputer_U.in.bus_inputs.sfcc_1_bus.slat_flap_actual_position_word, - A380SecComputer_P.BitfromLabel5_bit_j, &rtb_SSM_ov); - if (rtb_y_im || (A380SecComputer_DWork.Memory_PreviousInput_n && ((!rtb_y_ej) || (rtb_SSM_ov == 0U)))) { + A380SecComputer_P.BitfromLabel5_bit_j, &rtb_SSM_mjt); + if (rtb_y_e || (A380SecComputer_DWork.Memory_PreviousInput_n && ((!rtb_y_lz) || (rtb_SSM_mjt == 0U)))) { denom = 0.25; } else { denom = 0.15; @@ -1102,15 +1102,15 @@ void A380SecComputer::step() A380SecComputer_B.logic.right_aileron_1_avail = rightAileron1Avail; A380SecComputer_B.logic.right_aileron_2_avail = rightAileron2Avail; A380SecComputer_B.logic.left_spoiler_1_hydraulic_mode_avail = leftSpoilerHydraulicModeAvail; - rtb_y_im = (leftSpoilerHydraulicModeAvail && rightSpoilerHydraulicModeAvail); - A380SecComputer_B.logic.left_spoiler_1_hydraulic_mode_engaged = rtb_y_im; + rtb_y_e = (leftSpoilerHydraulicModeAvail && rightSpoilerHydraulicModeAvail); + A380SecComputer_B.logic.left_spoiler_1_hydraulic_mode_engaged = rtb_y_e; A380SecComputer_B.logic.right_spoiler_1_hydraulic_mode_avail = rightSpoilerHydraulicModeAvail; - A380SecComputer_B.logic.right_spoiler_1_hydraulic_mode_engaged = rtb_y_im; + A380SecComputer_B.logic.right_spoiler_1_hydraulic_mode_engaged = rtb_y_e; A380SecComputer_B.logic.left_spoiler_2_hydraulic_mode_avail = leftSpoilerHydraulicModeAvail_0; - rtb_y_im = (leftSpoilerHydraulicModeAvail_0 && rightSpoilerHydraulicModeAvail_0); - A380SecComputer_B.logic.left_spoiler_2_hydraulic_mode_engaged = rtb_y_im; + rtb_y_e = (leftSpoilerHydraulicModeAvail_0 && rightSpoilerHydraulicModeAvail_0); + A380SecComputer_B.logic.left_spoiler_2_hydraulic_mode_engaged = rtb_y_e; A380SecComputer_B.logic.right_spoiler_2_hydraulic_mode_avail = rightSpoilerHydraulicModeAvail_0; - A380SecComputer_B.logic.right_spoiler_2_hydraulic_mode_engaged = rtb_y_im; + A380SecComputer_B.logic.right_spoiler_2_hydraulic_mode_engaged = rtb_y_e; A380SecComputer_B.logic.rudder_1_hydraulic_mode_avail = rudder1HydraulicModeAvail; A380SecComputer_B.logic.rudder_1_electric_mode_avail = rudder1ElectricModeAvail; A380SecComputer_B.logic.rudder_1_hydraulic_mode_engaged = (rudder1HydraulicModeAvail && rtb_AND_b3); @@ -1208,7 +1208,7 @@ void A380SecComputer::step() A380SecComputer_RateLimiter(ca, A380SecComputer_P.RateLimiterVariableTs2_up, A380SecComputer_P.RateLimiterVariableTs2_lo, A380SecComputer_U.in.time.dt, A380SecComputer_P.RateLimiterVariableTs2_InitialCondition, &rtb_Switch8_o, &A380SecComputer_DWork.sf_RateLimiter); - rtb_y_ej = (A380SecComputer_B.logic.master_prim == A380SecComputer_P.CompareToConstant_const_l); + rtb_y_lz = (A380SecComputer_B.logic.master_prim == A380SecComputer_P.CompareToConstant_const_l); rtb_eta_deg = A380SecComputer_P.Gain_Gain_e * rtb_Switch1_k + rtb_Switch8_o; if (rtb_eta_deg > A380SecComputer_P.Saturation2_UpperSat) { rtb_eta_deg = A380SecComputer_P.Saturation2_UpperSat; @@ -1216,13 +1216,13 @@ void A380SecComputer::step() rtb_eta_deg = A380SecComputer_P.Saturation2_LowerSat; } - rtb_AND9_e = !rtb_y_ej; + rtb_AND9_e = !rtb_y_lz; A380SecComputer_RateLimiter_e(rtb_eta_deg, A380SecComputer_P.RateLimiterGenericVariableTs_up, A380SecComputer_P.RateLimiterGenericVariableTs_lo, A380SecComputer_U.in.time.dt, A380SecComputer_U.in.analog_inputs.left_aileron_1_pos_deg, ((!A380SecComputer_B.logic.left_aileron_1_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_e); if (A380SecComputer_B.logic.master_prim == A380SecComputer_P.CompareToConstant_const_f) { - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.left_inboard_aileron_command_deg.Data; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.left_inboard_aileron_command_deg.Data; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_1_bus.right_inboard_aileron_command_deg.Data; rtb_V_ias = A380SecComputer_U.in.bus_inputs.prim_1_bus.left_midboard_aileron_command_deg.Data; rtb_V_tas = A380SecComputer_U.in.bus_inputs.prim_1_bus.right_midboard_aileron_command_deg.Data; @@ -1236,20 +1236,20 @@ void A380SecComputer::step() rtb_n_z = A380SecComputer_U.in.bus_inputs.prim_1_bus.right_spoiler_7_command_deg.Data; rtb_theta_dot = A380SecComputer_U.in.bus_inputs.prim_1_bus.left_spoiler_8_command_deg.Data; rtb_phi_dot = A380SecComputer_U.in.bus_inputs.prim_1_bus.right_spoiler_8_command_deg.Data; - rtb_Data_awh = A380SecComputer_U.in.bus_inputs.prim_1_bus.upper_rudder_command_deg.Data; - rtb_Data_nu = A380SecComputer_U.in.bus_inputs.prim_1_bus.lower_rudder_command_deg.Data; + rtb_Data_nu = A380SecComputer_U.in.bus_inputs.prim_1_bus.upper_rudder_command_deg.Data; + rtb_Data_amw = A380SecComputer_U.in.bus_inputs.prim_1_bus.lower_rudder_command_deg.Data; A380SecComputer_Y.out.bus_outputs.aileron_status_word.Data = - A380SecComputer_U.in.bus_inputs.prim_1_bus.ths_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.spoiler_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_status_word.Data; - A380SecComputer_Y.out.bus_outputs.elevator_status_word.Data = + A380SecComputer_Y.out.bus_outputs.spoiler_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_1_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.rudder_status_word.Data = + A380SecComputer_Y.out.bus_outputs.elevator_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_1_bus.rudder_2_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.fctl_law_status_word.Data = + A380SecComputer_Y.out.bus_outputs.rudder_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_1_bus.fctl_law_status_word.Data; + A380SecComputer_Y.out.bus_outputs.fctl_law_status_word.Data = + A380SecComputer_U.in.bus_inputs.prim_1_bus.discrete_status_word_1.Data; } else if (A380SecComputer_B.logic.master_prim == A380SecComputer_P.CompareToConstant1_const_p2) { - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.Data; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.Data; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.Data; rtb_V_ias = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.Data; rtb_V_tas = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.Data; @@ -1263,20 +1263,20 @@ void A380SecComputer::step() rtb_n_z = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.Data; rtb_theta_dot = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.Data; rtb_phi_dot = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.Data; - rtb_Data_awh = A380SecComputer_U.in.bus_inputs.prim_2_bus.upper_rudder_command_deg.Data; - rtb_Data_nu = A380SecComputer_U.in.bus_inputs.prim_2_bus.lower_rudder_command_deg.Data; + rtb_Data_nu = A380SecComputer_U.in.bus_inputs.prim_2_bus.upper_rudder_command_deg.Data; + rtb_Data_amw = A380SecComputer_U.in.bus_inputs.prim_2_bus.lower_rudder_command_deg.Data; A380SecComputer_Y.out.bus_outputs.aileron_status_word.Data = - A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.spoiler_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.Data; - A380SecComputer_Y.out.bus_outputs.elevator_status_word.Data = + A380SecComputer_Y.out.bus_outputs.spoiler_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_1_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.rudder_status_word.Data = + A380SecComputer_Y.out.bus_outputs.elevator_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_2_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.fctl_law_status_word.Data = + A380SecComputer_Y.out.bus_outputs.rudder_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_2_bus.fctl_law_status_word.Data; + A380SecComputer_Y.out.bus_outputs.fctl_law_status_word.Data = + A380SecComputer_U.in.bus_inputs.prim_2_bus.discrete_status_word_1.Data; } else { - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.Data; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.Data; rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.Data; rtb_V_ias = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.Data; rtb_V_tas = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.Data; @@ -1290,24 +1290,24 @@ void A380SecComputer::step() rtb_n_z = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.Data; rtb_theta_dot = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.Data; rtb_phi_dot = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.Data; - rtb_Data_awh = A380SecComputer_U.in.bus_inputs.prim_3_bus.upper_rudder_command_deg.Data; - rtb_Data_nu = A380SecComputer_U.in.bus_inputs.prim_3_bus.lower_rudder_command_deg.Data; + rtb_Data_nu = A380SecComputer_U.in.bus_inputs.prim_3_bus.upper_rudder_command_deg.Data; + rtb_Data_amw = A380SecComputer_U.in.bus_inputs.prim_3_bus.lower_rudder_command_deg.Data; A380SecComputer_Y.out.bus_outputs.aileron_status_word.Data = - A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.spoiler_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.Data; - A380SecComputer_Y.out.bus_outputs.elevator_status_word.Data = + A380SecComputer_Y.out.bus_outputs.spoiler_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_1_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.rudder_status_word.Data = + A380SecComputer_Y.out.bus_outputs.elevator_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_2_position_deg.Data; - A380SecComputer_Y.out.bus_outputs.fctl_law_status_word.Data = + A380SecComputer_Y.out.bus_outputs.rudder_status_word.Data = A380SecComputer_U.in.bus_inputs.prim_3_bus.fctl_law_status_word.Data; + A380SecComputer_Y.out.bus_outputs.fctl_law_status_word.Data = + A380SecComputer_U.in.bus_inputs.prim_3_bus.discrete_status_word_1.Data; } if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { - rtb_leftAileron1Command = rtb_Data_ch; + rtb_leftAileron1Command = rtb_Data_i4; rtb_rightAileron1Command = rtb_alpha; - rtb_Data_ch = rtb_V_ias; + rtb_Data_i4 = rtb_V_ias; rtb_alpha = rtb_V_tas; } else if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { rtb_leftAileron1Command = 0.0F; @@ -1315,11 +1315,11 @@ void A380SecComputer::step() } else { rtb_leftAileron1Command = rtb_V_ias; rtb_rightAileron1Command = rtb_V_tas; - rtb_Data_ch = 0.0F; + rtb_Data_i4 = 0.0F; rtb_alpha = 0.0F; } - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.left_aileron_1_command_deg = denom; } else { A380SecComputer_B.laws.lateral_law_outputs.left_aileron_1_command_deg = rtb_leftAileron1Command; @@ -1336,7 +1336,7 @@ void A380SecComputer::step() A380SecComputer_P.RateLimiterGenericVariableTs1_lo, A380SecComputer_U.in.time.dt, A380SecComputer_U.in.analog_inputs.right_aileron_1_pos_deg, ((!A380SecComputer_B.logic.right_aileron_1_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_o); - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.right_aileron_1_command_deg = denom; } else { A380SecComputer_B.laws.lateral_law_outputs.right_aileron_1_command_deg = rtb_rightAileron1Command; @@ -1359,10 +1359,10 @@ void A380SecComputer::step() A380SecComputer_P.RateLimiterGenericVariableTs2_lo, A380SecComputer_U.in.time.dt, A380SecComputer_U.in.analog_inputs.left_aileron_2_pos_deg, ((!A380SecComputer_B.logic.left_aileron_2_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_a); - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.left_aileron_2_command_deg = denom; } else { - A380SecComputer_B.laws.lateral_law_outputs.left_aileron_2_command_deg = rtb_Data_ch; + A380SecComputer_B.laws.lateral_law_outputs.left_aileron_2_command_deg = rtb_Data_i4; } rtb_eta_deg = rtb_Switch8_o + ca; @@ -1376,7 +1376,7 @@ void A380SecComputer::step() A380SecComputer_P.RateLimiterGenericVariableTs3_lo, A380SecComputer_U.in.time.dt, A380SecComputer_U.in.analog_inputs.right_aileron_2_pos_deg, ((!A380SecComputer_B.logic.right_aileron_2_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_p); - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.right_aileron_2_command_deg = denom; } else { A380SecComputer_B.laws.lateral_law_outputs.right_aileron_2_command_deg = rtb_alpha; @@ -1433,7 +1433,7 @@ void A380SecComputer::step() rtb_theta = rtb_q; } - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.left_spoiler_1_command_deg = denom; } else { A380SecComputer_B.laws.lateral_law_outputs.left_spoiler_1_command_deg = rtb_mach_f; @@ -1444,7 +1444,7 @@ void A380SecComputer::step() A380SecComputer_U.in.analog_inputs.right_spoiler_1_pos_deg, ((!A380SecComputer_B.logic.right_spoiler_1_hydraulic_mode_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_d); - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.right_spoiler_1_command_deg = denom; } else { A380SecComputer_B.laws.lateral_law_outputs.right_spoiler_1_command_deg = rtb_theta; @@ -1463,7 +1463,7 @@ void A380SecComputer::step() rtb_phi_dot = rtb_n_z; } - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.left_spoiler_2_command_deg = denom; } else { A380SecComputer_B.laws.lateral_law_outputs.left_spoiler_2_command_deg = rtb_theta_dot; @@ -1474,7 +1474,7 @@ void A380SecComputer::step() A380SecComputer_U.in.analog_inputs.right_spoiler_2_pos_deg, ((!A380SecComputer_B.logic.right_spoiler_2_hydraulic_mode_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_g); - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.right_spoiler_2_command_deg = denom; } else { A380SecComputer_B.laws.lateral_law_outputs.right_spoiler_2_command_deg = rtb_phi_dot; @@ -1493,17 +1493,17 @@ void A380SecComputer::step() &A380SecComputer_DWork.sf_RateLimiter_j); if (!A380SecComputer_U.in.discrete_inputs.is_unit_1) { if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { - rtb_Data_nu = 0.0F; + rtb_Data_amw = 0.0F; } else { - rtb_Data_awh = rtb_Data_nu; - rtb_Data_nu = 0.0F; + rtb_Data_nu = rtb_Data_amw; + rtb_Data_amw = 0.0F; } } - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.rudder_1_command_deg = denom; } else { - A380SecComputer_B.laws.lateral_law_outputs.rudder_1_command_deg = rtb_Data_awh; + A380SecComputer_B.laws.lateral_law_outputs.rudder_1_command_deg = rtb_Data_nu; } if (static_cast(A380SecComputer_B.logic.active_lateral_law) == 1) { @@ -1517,10 +1517,10 @@ void A380SecComputer::step() A380SecComputer_U.in.analog_inputs.rudder_2_pos_deg, (((!A380SecComputer_B.logic.rudder_2_electric_mode_engaged) && (!A380SecComputer_B.logic.rudder_2_hydraulic_mode_engaged)) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_gz); - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.lateral_law_outputs.rudder_2_command_deg = denom; } else { - A380SecComputer_B.laws.lateral_law_outputs.rudder_2_command_deg = rtb_Data_nu; + A380SecComputer_B.laws.lateral_law_outputs.rudder_2_command_deg = rtb_Data_amw; } LawMDLOBJ2.step(&A380SecComputer_U.in.time.dt, &A380SecComputer_B.logic.total_sidestick_pitch_command, &rtb_eta_deg, @@ -1534,40 +1534,40 @@ void A380SecComputer::step() A380SecComputer_P.RateLimiterGenericVariableTs_lo_f, A380SecComputer_U.in.time.dt, A380SecComputer_U.in.analog_inputs.elevator_1_pos_deg, ((!A380SecComputer_B.logic.elevator_1_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_c); - rtb_y_ej = (A380SecComputer_B.logic.master_prim == A380SecComputer_P.CompareToConstant2_const_f); + rtb_y_lz = (A380SecComputer_B.logic.master_prim == A380SecComputer_P.CompareToConstant2_const_f); if (A380SecComputer_B.logic.master_prim == A380SecComputer_P.CompareToConstant_const_fs) { rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_1_bus.left_inboard_elevator_command_deg.Data; rtb_theta = A380SecComputer_U.in.bus_inputs.prim_1_bus.right_inboard_elevator_command_deg.Data; rtb_mach_f = A380SecComputer_U.in.bus_inputs.prim_1_bus.left_outboard_elevator_command_deg.Data; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.right_outboard_elevator_command_deg.Data; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.right_outboard_elevator_command_deg.Data; rtb_V_ias = A380SecComputer_U.in.bus_inputs.prim_1_bus.ths_command_deg.Data; } else if (A380SecComputer_B.logic.master_prim == A380SecComputer_P.CompareToConstant1_const_c) { rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.Data; rtb_theta = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.Data; rtb_mach_f = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.Data; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.Data; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.Data; rtb_V_ias = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_command_deg.Data; } else { rtb_alpha = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.Data; rtb_theta = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.Data; rtb_mach_f = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.Data; - rtb_Data_ch = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.Data; + rtb_Data_i4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.Data; rtb_V_ias = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_command_deg.Data; } if (A380SecComputer_U.in.discrete_inputs.is_unit_1) { rtb_V_tas = rtb_mach_f; rtb_mach_f = rtb_alpha; - rtb_theta = rtb_Data_ch; + rtb_theta = rtb_Data_i4; } else if (A380SecComputer_U.in.discrete_inputs.is_unit_2) { - rtb_V_tas = rtb_Data_ch; + rtb_V_tas = rtb_Data_i4; } else { rtb_V_tas = rtb_alpha; rtb_mach_f = rtb_theta; rtb_theta = 0.0F; } - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.pitch_law_outputs.elevator_1_command_deg = denom; } else { A380SecComputer_B.laws.pitch_law_outputs.elevator_1_command_deg = rtb_V_tas; @@ -1577,7 +1577,7 @@ void A380SecComputer::step() A380SecComputer_P.RateLimiterGenericVariableTs1_lo_c, A380SecComputer_U.in.time.dt, A380SecComputer_U.in.analog_inputs.elevator_2_pos_deg, ((!A380SecComputer_B.logic.elevator_2_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_p0); - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.pitch_law_outputs.elevator_2_command_deg = denom; } else { A380SecComputer_B.laws.pitch_law_outputs.elevator_2_command_deg = rtb_mach_f; @@ -1587,7 +1587,7 @@ void A380SecComputer::step() A380SecComputer_P.RateLimiterGenericVariableTs2_lo_k, A380SecComputer_U.in.time.dt, A380SecComputer_U.in.analog_inputs.elevator_3_pos_deg, ((!A380SecComputer_B.logic.elevator_3_engaged) || rtb_AND9_e), &denom, &A380SecComputer_DWork.sf_RateLimiter_cd); - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.pitch_law_outputs.elevator_3_command_deg = denom; } else { A380SecComputer_B.laws.pitch_law_outputs.elevator_3_command_deg = rtb_theta; @@ -1627,7 +1627,7 @@ void A380SecComputer::step() } } - if (rtb_y_ej) { + if (rtb_y_lz) { A380SecComputer_B.laws.pitch_law_outputs.ths_command_deg = A380SecComputer_DWork.Delay_DSTATE; } else if (A380SecComputer_B.logic.ths_automatic_mode_active) { A380SecComputer_B.laws.pitch_law_outputs.ths_command_deg = rtb_V_ias; @@ -2234,387 +2234,393 @@ void A380SecComputer::step() A380SecComputer_B.Data_ch = A380SecComputer_U.in.bus_inputs.prim_1_bus.fctl_law_status_word.Data; A380SecComputer_B.SSM_d4 = A380SecComputer_U.in.bus_inputs.prim_1_bus.discrete_status_word_1.SSM; A380SecComputer_B.Data_bb = A380SecComputer_U.in.bus_inputs.prim_1_bus.discrete_status_word_1.Data; - A380SecComputer_B.SSM_ars = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_ol = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_din = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_hw = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_ars = A380SecComputer_U.in.bus_inputs.prim_1_bus.fe_status_word.SSM; + A380SecComputer_B.Data_ol = A380SecComputer_U.in.bus_inputs.prim_1_bus.fe_status_word.Data; + A380SecComputer_B.SSM_din = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_hw = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.Data; A380SecComputer_B.left_aileron_2_pos_deg = A380SecComputer_U.in.analog_inputs.left_aileron_2_pos_deg; - A380SecComputer_B.SSM_m3 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_hs = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_np = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_fj = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_ax = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_ky = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_cl = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_h5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_es = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.SSM; - A380SecComputer_B.Data_ku = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.Data; + A380SecComputer_B.SSM_m3 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_hs = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_np = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_fj = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_ax = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_ky = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_cl = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_h5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_es = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_ku = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.Data; A380SecComputer_B.right_aileron_1_pos_deg = A380SecComputer_U.in.analog_inputs.right_aileron_1_pos_deg; - A380SecComputer_B.SSM_gi1 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.SSM; - A380SecComputer_B.Data_jp = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.Data; - A380SecComputer_B.SSM_jz = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.SSM; - A380SecComputer_B.Data_nu = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.Data; - A380SecComputer_B.SSM_kt = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.SSM; - A380SecComputer_B.Data_br = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.Data; - A380SecComputer_B.SSM_ds = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.SSM; - A380SecComputer_B.Data_ae = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.Data; - A380SecComputer_B.SSM_eg = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.SSM; - A380SecComputer_B.Data_pe = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.Data; + A380SecComputer_B.SSM_gi1 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.SSM; + A380SecComputer_B.Data_jp = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.Data; + A380SecComputer_B.SSM_jz = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.SSM; + A380SecComputer_B.Data_nu = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.Data; + A380SecComputer_B.SSM_kt = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.SSM; + A380SecComputer_B.Data_br = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_ds = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.SSM; + A380SecComputer_B.Data_ae = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_eg = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.SSM; + A380SecComputer_B.Data_pe = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.Data; A380SecComputer_B.right_aileron_2_pos_deg = A380SecComputer_U.in.analog_inputs.right_aileron_2_pos_deg; - A380SecComputer_B.SSM_a0 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.SSM; - A380SecComputer_B.Data_fy = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.Data; - A380SecComputer_B.SSM_cv = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.SSM; - A380SecComputer_B.Data_na = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.Data; - A380SecComputer_B.SSM_ea = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.SSM; - A380SecComputer_B.Data_my = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.Data; - A380SecComputer_B.SSM_p4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.SSM; - A380SecComputer_B.Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.Data; - A380SecComputer_B.SSM_m2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.SSM; - A380SecComputer_B.Data_cx = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.Data; + A380SecComputer_B.SSM_a0 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.SSM; + A380SecComputer_B.Data_fy = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.Data; + A380SecComputer_B.SSM_cv = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.SSM; + A380SecComputer_B.Data_na = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.Data; + A380SecComputer_B.SSM_ea = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.SSM; + A380SecComputer_B.Data_my = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.Data; + A380SecComputer_B.SSM_p4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.SSM; + A380SecComputer_B.Data_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.Data; + A380SecComputer_B.SSM_m2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.SSM; + A380SecComputer_B.Data_cx = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.Data; A380SecComputer_B.left_spoiler_1_pos_deg = A380SecComputer_U.in.analog_inputs.left_spoiler_1_pos_deg; - A380SecComputer_B.SSM_bt0 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.SSM; - A380SecComputer_B.Data_nz = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.Data; - A380SecComputer_B.SSM_nr = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.SSM; - A380SecComputer_B.Data_id = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.Data; - A380SecComputer_B.SSM_fr = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.SSM; - A380SecComputer_B.Data_o2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.Data; - A380SecComputer_B.SSM_cc = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.SSM; - A380SecComputer_B.Data_gqq = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.Data; - A380SecComputer_B.SSM_lm = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.SSM; - A380SecComputer_B.Data_md = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.Data; + A380SecComputer_B.SSM_bt0 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.SSM; + A380SecComputer_B.Data_nz = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.Data; + A380SecComputer_B.SSM_nr = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.SSM; + A380SecComputer_B.Data_id = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.Data; + A380SecComputer_B.SSM_fr = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.SSM; + A380SecComputer_B.Data_o2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_cc = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.SSM; + A380SecComputer_B.Data_gqq = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_lm = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.SSM; + A380SecComputer_B.Data_md = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.Data; A380SecComputer_B.right_spoiler_1_pos_deg = A380SecComputer_U.in.analog_inputs.right_spoiler_1_pos_deg; - A380SecComputer_B.SSM_mkm = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_cz = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_jhd = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_pm = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_av = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_bj = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_ira = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_ox = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_ge = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_command_deg.SSM; - A380SecComputer_B.Data_pe5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_command_deg.Data; + A380SecComputer_B.SSM_mkm = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.SSM; + A380SecComputer_B.Data_cz = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.Data; + A380SecComputer_B.SSM_jhd = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_pm = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_av = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_bj = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_ira = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_ox = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_ge = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_pe5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.Data; A380SecComputer_B.left_spoiler_2_pos_deg = A380SecComputer_U.in.analog_inputs.left_spoiler_2_pos_deg; - A380SecComputer_B.SSM_lv = A380SecComputer_U.in.bus_inputs.prim_2_bus.upper_rudder_command_deg.SSM; - A380SecComputer_B.Data_jj = A380SecComputer_U.in.bus_inputs.prim_2_bus.upper_rudder_command_deg.Data; - A380SecComputer_B.SSM_cg = A380SecComputer_U.in.bus_inputs.prim_2_bus.lower_rudder_command_deg.SSM; - A380SecComputer_B.Data_p5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.lower_rudder_command_deg.Data; - A380SecComputer_B.SSM_be = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_ekl = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_axb = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_nd = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_nz = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_n2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_lv = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_command_deg.SSM; + A380SecComputer_B.Data_jj = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_command_deg.Data; + A380SecComputer_B.SSM_cg = A380SecComputer_U.in.bus_inputs.prim_2_bus.upper_rudder_command_deg.SSM; + A380SecComputer_B.Data_p5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.upper_rudder_command_deg.Data; + A380SecComputer_B.SSM_be = A380SecComputer_U.in.bus_inputs.prim_2_bus.lower_rudder_command_deg.SSM; + A380SecComputer_B.Data_ekl = A380SecComputer_U.in.bus_inputs.prim_2_bus.lower_rudder_command_deg.Data; + A380SecComputer_B.SSM_axb = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_nd = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_nz = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_n2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.Data; A380SecComputer_B.right_spoiler_2_pos_deg = A380SecComputer_U.in.analog_inputs.right_spoiler_2_pos_deg; - A380SecComputer_B.SSM_cx = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_dl = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_gh = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_pedal_position_deg.SSM; - A380SecComputer_B.Data_gs2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_pedal_position_deg.Data; - A380SecComputer_B.SSM_ks = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.SSM; - A380SecComputer_B.Data_h4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.Data; - A380SecComputer_B.SSM_pw = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_e3 = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_fh = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_f5h = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_cx = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_dl = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_gh = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_gs2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_ks = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_pedal_position_deg.SSM; + A380SecComputer_B.Data_h4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_pedal_position_deg.Data; + A380SecComputer_B.SSM_pw = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.SSM; + A380SecComputer_B.Data_e3 = A380SecComputer_U.in.bus_inputs.prim_2_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_fh = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_f5h = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_aileron_1_position_deg.Data; A380SecComputer_B.slew_on = A380SecComputer_U.in.sim_data.slew_on; A380SecComputer_B.rudder_1_pos_deg = A380SecComputer_U.in.analog_inputs.rudder_1_pos_deg; - A380SecComputer_B.SSM_gzn = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_an = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_oo = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_i4o = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_evh = A380SecComputer_U.in.bus_inputs.prim_2_bus.spoiler_status_word.SSM; - A380SecComputer_B.Data_af = A380SecComputer_U.in.bus_inputs.prim_2_bus.spoiler_status_word.Data; - A380SecComputer_B.SSM_cn = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_position_deg.SSM; - A380SecComputer_B.Data_bm = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_position_deg.Data; - A380SecComputer_B.SSM_co = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_position_deg.SSM; - A380SecComputer_B.Data_dk = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_position_deg.Data; + A380SecComputer_B.SSM_gzn = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_an = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_oo = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_i4o = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_evh = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_af = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_cn = A380SecComputer_U.in.bus_inputs.prim_2_bus.spoiler_status_word.SSM; + A380SecComputer_B.Data_bm = A380SecComputer_U.in.bus_inputs.prim_2_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_co = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_position_deg.SSM; + A380SecComputer_B.Data_dk = A380SecComputer_U.in.bus_inputs.prim_2_bus.left_spoiler_position_deg.Data; A380SecComputer_B.rudder_2_pos_deg = A380SecComputer_U.in.analog_inputs.rudder_2_pos_deg; - A380SecComputer_B.SSM_pe = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; - A380SecComputer_B.Data_nv = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.Data; - A380SecComputer_B.SSM_cgz = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_1_position_deg.SSM; - A380SecComputer_B.Data_jpf = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_1_position_deg.Data; - A380SecComputer_B.SSM_fw = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_2_position_deg.SSM; - A380SecComputer_B.Data_i5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_2_position_deg.Data; - A380SecComputer_B.SSM_h4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_3_position_deg.SSM; - A380SecComputer_B.Data_k2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_3_position_deg.Data; - A380SecComputer_B.SSM_cb3 = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_position_deg.SSM; - A380SecComputer_B.Data_as = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_position_deg.Data; + A380SecComputer_B.SSM_pe = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_position_deg.SSM; + A380SecComputer_B.Data_nv = A380SecComputer_U.in.bus_inputs.prim_2_bus.right_spoiler_position_deg.Data; + A380SecComputer_B.SSM_cgz = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.SSM; + A380SecComputer_B.Data_jpf = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_status_word.Data; + A380SecComputer_B.SSM_fw = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_1_position_deg.SSM; + A380SecComputer_B.Data_i5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_1_position_deg.Data; + A380SecComputer_B.SSM_h4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_2_position_deg.SSM; + A380SecComputer_B.Data_k2 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_cb3 = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_3_position_deg.SSM; + A380SecComputer_B.Data_as = A380SecComputer_U.in.bus_inputs.prim_2_bus.elevator_3_position_deg.Data; A380SecComputer_B.rudder_pedal_pos_deg = A380SecComputer_U.in.analog_inputs.rudder_pedal_pos_deg; - A380SecComputer_B.SSM_pj = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.SSM; - A380SecComputer_B.Data_gk = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.Data; - A380SecComputer_B.SSM_dv = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_1_position_deg.SSM; - A380SecComputer_B.Data_jl = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_1_position_deg.Data; - A380SecComputer_B.SSM_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_2_position_deg.SSM; - A380SecComputer_B.Data_e32 = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_2_position_deg.Data; - A380SecComputer_B.SSM_fm = A380SecComputer_U.in.bus_inputs.prim_2_bus.fctl_law_status_word.SSM; - A380SecComputer_B.Data_ih = A380SecComputer_U.in.bus_inputs.prim_2_bus.fctl_law_status_word.Data; - A380SecComputer_B.SSM_e5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.discrete_status_word_1.SSM; - A380SecComputer_B.Data_du = A380SecComputer_U.in.bus_inputs.prim_2_bus.discrete_status_word_1.Data; + A380SecComputer_B.SSM_pj = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_position_deg.SSM; + A380SecComputer_B.Data_gk = A380SecComputer_U.in.bus_inputs.prim_2_bus.ths_position_deg.Data; + A380SecComputer_B.SSM_dv = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.SSM; + A380SecComputer_B.Data_jl = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_status_word.Data; + A380SecComputer_B.SSM_i4 = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_1_position_deg.SSM; + A380SecComputer_B.Data_e32 = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_1_position_deg.Data; + A380SecComputer_B.SSM_fm = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_2_position_deg.SSM; + A380SecComputer_B.Data_ih = A380SecComputer_U.in.bus_inputs.prim_2_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_e5 = A380SecComputer_U.in.bus_inputs.prim_2_bus.fctl_law_status_word.SSM; + A380SecComputer_B.Data_du = A380SecComputer_U.in.bus_inputs.prim_2_bus.fctl_law_status_word.Data; A380SecComputer_B.rudder_trim_pos_deg = A380SecComputer_U.in.analog_inputs.rudder_trim_pos_deg; - A380SecComputer_B.SSM_bf = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_nx = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_fd = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_n0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_fv = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_eqi = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_dt = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_om = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_j5 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_nr = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_bf = A380SecComputer_U.in.bus_inputs.prim_2_bus.discrete_status_word_1.SSM; + A380SecComputer_B.Data_nx = A380SecComputer_U.in.bus_inputs.prim_2_bus.discrete_status_word_1.Data; + A380SecComputer_B.SSM_fd = A380SecComputer_U.in.bus_inputs.prim_2_bus.fe_status_word.SSM; + A380SecComputer_B.Data_n0 = A380SecComputer_U.in.bus_inputs.prim_2_bus.fe_status_word.Data; + A380SecComputer_B.SSM_fv = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_eqi = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_dt = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_om = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_j5 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_nr = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.Data; A380SecComputer_B.SSM_ng = A380SecComputer_U.in.bus_inputs.adr_1_bus.altitude_standard_ft.SSM; - A380SecComputer_B.SSM_cs = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_p3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_ls = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.SSM; - A380SecComputer_B.Data_nb = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.Data; - A380SecComputer_B.SSM_dg = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.SSM; - A380SecComputer_B.Data_hd = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.Data; - A380SecComputer_B.SSM_d3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.SSM; - A380SecComputer_B.Data_al = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.Data; - A380SecComputer_B.SSM_p2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.SSM; - A380SecComputer_B.Data_gu = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_cs = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_p3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_ls = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_nb = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_dg = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_hd = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_d3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.SSM; + A380SecComputer_B.Data_al = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.Data; + A380SecComputer_B.SSM_p2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.SSM; + A380SecComputer_B.Data_gu = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.Data; A380SecComputer_B.Data_ix = A380SecComputer_U.in.bus_inputs.adr_1_bus.altitude_standard_ft.Data; - A380SecComputer_B.SSM_bo0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.SSM; - A380SecComputer_B.Data_do = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.Data; - A380SecComputer_B.SSM_bc = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.SSM; - A380SecComputer_B.Data_hu = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.Data; - A380SecComputer_B.SSM_h0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.SSM; - A380SecComputer_B.Data_pm1 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.Data; - A380SecComputer_B.SSM_giz = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.SSM; - A380SecComputer_B.Data_i2y = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.Data; - A380SecComputer_B.SSM_mqp = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.SSM; - A380SecComputer_B.Data_pg = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.Data; + A380SecComputer_B.SSM_bo0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.SSM; + A380SecComputer_B.Data_do = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_bc = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.SSM; + A380SecComputer_B.Data_hu = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_h0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.SSM; + A380SecComputer_B.Data_pm1 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.Data; + A380SecComputer_B.SSM_giz = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.SSM; + A380SecComputer_B.Data_i2y = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.Data; + A380SecComputer_B.SSM_mqp = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.SSM; + A380SecComputer_B.Data_pg = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.Data; A380SecComputer_B.SSM_ba = A380SecComputer_U.in.bus_inputs.adr_1_bus.altitude_corrected_ft.SSM; - A380SecComputer_B.SSM_in = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.SSM; - A380SecComputer_B.Data_ni = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.Data; - A380SecComputer_B.SSM_ff = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.SSM; - A380SecComputer_B.Data_fr = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.Data; - A380SecComputer_B.SSM_ic = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.SSM; - A380SecComputer_B.Data_cn = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.Data; - A380SecComputer_B.SSM_fs = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.SSM; - A380SecComputer_B.Data_nxl = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.Data; - A380SecComputer_B.SSM_ja = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.SSM; - A380SecComputer_B.Data_jh = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_in = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.SSM; + A380SecComputer_B.Data_ni = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.Data; + A380SecComputer_B.SSM_ff = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.SSM; + A380SecComputer_B.Data_fr = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.Data; + A380SecComputer_B.SSM_ic = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.SSM; + A380SecComputer_B.Data_cn = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.Data; + A380SecComputer_B.SSM_fs = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.SSM; + A380SecComputer_B.Data_nxl = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.Data; + A380SecComputer_B.SSM_ja = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.SSM; + A380SecComputer_B.Data_jh = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.Data; A380SecComputer_B.Data_gl = A380SecComputer_U.in.bus_inputs.adr_1_bus.altitude_corrected_ft.Data; - A380SecComputer_B.SSM_js = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.SSM; - A380SecComputer_B.Data_gn = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.Data; - A380SecComputer_B.SSM_is3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.SSM; - A380SecComputer_B.Data_myb = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.Data; - A380SecComputer_B.SSM_ag = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_l2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_f5 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_o5o = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_ph = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_l5 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_js = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.SSM; + A380SecComputer_B.Data_gn = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_is3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.SSM; + A380SecComputer_B.Data_myb = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_ag = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.SSM; + A380SecComputer_B.Data_l2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.Data; + A380SecComputer_B.SSM_f5 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.SSM; + A380SecComputer_B.Data_o5o = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.Data; + A380SecComputer_B.SSM_ph = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_l5 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.Data; A380SecComputer_B.SSM_jw = A380SecComputer_U.in.bus_inputs.adr_1_bus.mach.SSM; - A380SecComputer_B.SSM_jy = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_dc2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_j1 = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_command_deg.SSM; - A380SecComputer_B.Data_gr = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_command_deg.Data; - A380SecComputer_B.SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.upper_rudder_command_deg.SSM; - A380SecComputer_B.Data_gp = A380SecComputer_U.in.bus_inputs.prim_3_bus.upper_rudder_command_deg.Data; - A380SecComputer_B.SSM_mx = A380SecComputer_U.in.bus_inputs.prim_3_bus.lower_rudder_command_deg.SSM; - A380SecComputer_B.Data_i3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.lower_rudder_command_deg.Data; - A380SecComputer_B.SSM_b4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_et = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_jy = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_dc2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_j1 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_gr = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_ov = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_gp = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_mx = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_command_deg.SSM; + A380SecComputer_B.Data_i3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_command_deg.Data; + A380SecComputer_B.SSM_b4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.upper_rudder_command_deg.SSM; + A380SecComputer_B.Data_et = A380SecComputer_U.in.bus_inputs.prim_3_bus.upper_rudder_command_deg.Data; A380SecComputer_B.Data_mc = A380SecComputer_U.in.bus_inputs.adr_1_bus.mach.Data; - A380SecComputer_B.SSM_gb = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_k3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_oh = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_f2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_mm5 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_gh = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_br = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_pedal_position_deg.SSM; - A380SecComputer_B.Data_ed = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_pedal_position_deg.Data; - A380SecComputer_B.SSM_c2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.SSM; - A380SecComputer_B.Data_o2j = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_gb = A380SecComputer_U.in.bus_inputs.prim_3_bus.lower_rudder_command_deg.SSM; + A380SecComputer_B.Data_k3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.lower_rudder_command_deg.Data; + A380SecComputer_B.SSM_oh = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_f2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_mm5 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_gh = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_br = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_ed = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_c2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_o2j = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.Data; A380SecComputer_B.pause_on = A380SecComputer_U.in.sim_data.pause_on; A380SecComputer_B.SSM_hc = A380SecComputer_U.in.bus_inputs.adr_1_bus.airspeed_computed_kn.SSM; - A380SecComputer_B.SSM_ktr = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_i43 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_gl = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_ic = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_my = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_ak = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_j3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_jg = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_go = A380SecComputer_U.in.bus_inputs.prim_3_bus.spoiler_status_word.SSM; - A380SecComputer_B.Data_cu = A380SecComputer_U.in.bus_inputs.prim_3_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_ktr = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_pedal_position_deg.SSM; + A380SecComputer_B.Data_i43 = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_pedal_position_deg.Data; + A380SecComputer_B.SSM_gl = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.SSM; + A380SecComputer_B.Data_ic = A380SecComputer_U.in.bus_inputs.prim_3_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_my = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_ak = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_j3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_jg = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_go = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_cu = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_aileron_1_position_deg.Data; A380SecComputer_B.Data_ep = A380SecComputer_U.in.bus_inputs.adr_1_bus.airspeed_computed_kn.Data; - A380SecComputer_B.SSM_e5c = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_position_deg.SSM; - A380SecComputer_B.Data_d3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_position_deg.Data; - A380SecComputer_B.SSM_dk = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_position_deg.SSM; - A380SecComputer_B.Data_bt = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_position_deg.Data; - A380SecComputer_B.SSM_evc = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; - A380SecComputer_B.Data_e0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; - A380SecComputer_B.SSM_kk = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_1_position_deg.SSM; - A380SecComputer_B.Data_jl3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_1_position_deg.Data; - A380SecComputer_B.SSM_af = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_2_position_deg.SSM; - A380SecComputer_B.Data_nm = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_e5c = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_d3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_dk = A380SecComputer_U.in.bus_inputs.prim_3_bus.spoiler_status_word.SSM; + A380SecComputer_B.Data_bt = A380SecComputer_U.in.bus_inputs.prim_3_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_evc = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_position_deg.SSM; + A380SecComputer_B.Data_e0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.left_spoiler_position_deg.Data; + A380SecComputer_B.SSM_kk = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_position_deg.SSM; + A380SecComputer_B.Data_jl3 = A380SecComputer_U.in.bus_inputs.prim_3_bus.right_spoiler_position_deg.Data; + A380SecComputer_B.SSM_af = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.SSM; + A380SecComputer_B.Data_nm = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_status_word.Data; A380SecComputer_B.SSM_npr = A380SecComputer_U.in.bus_inputs.adr_1_bus.airspeed_true_kn.SSM; - A380SecComputer_B.SSM_ew = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_3_position_deg.SSM; - A380SecComputer_B.Data_ia = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_3_position_deg.Data; - A380SecComputer_B.SSM_lt = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_position_deg.SSM; - A380SecComputer_B.Data_j0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_position_deg.Data; - A380SecComputer_B.SSM_ger = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.SSM; - A380SecComputer_B.Data_bs = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.Data; - A380SecComputer_B.SSM_pxo = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_1_position_deg.SSM; - A380SecComputer_B.Data_hp = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_1_position_deg.Data; - A380SecComputer_B.SSM_co2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_2_position_deg.SSM; - A380SecComputer_B.Data_ct = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_ew = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_1_position_deg.SSM; + A380SecComputer_B.Data_ia = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_1_position_deg.Data; + A380SecComputer_B.SSM_lt = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_2_position_deg.SSM; + A380SecComputer_B.Data_j0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_ger = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_3_position_deg.SSM; + A380SecComputer_B.Data_bs = A380SecComputer_U.in.bus_inputs.prim_3_bus.elevator_3_position_deg.Data; + A380SecComputer_B.SSM_pxo = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_position_deg.SSM; + A380SecComputer_B.Data_hp = A380SecComputer_U.in.bus_inputs.prim_3_bus.ths_position_deg.Data; + A380SecComputer_B.SSM_co2 = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.SSM; + A380SecComputer_B.Data_ct = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_status_word.Data; A380SecComputer_B.Data_pc = A380SecComputer_U.in.bus_inputs.adr_1_bus.airspeed_true_kn.Data; - A380SecComputer_B.SSM_ny = A380SecComputer_U.in.bus_inputs.prim_3_bus.fctl_law_status_word.SSM; - A380SecComputer_B.Data_nzt = A380SecComputer_U.in.bus_inputs.prim_3_bus.fctl_law_status_word.Data; - A380SecComputer_B.SSM_l4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.discrete_status_word_1.SSM; - A380SecComputer_B.Data_c0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.discrete_status_word_1.Data; - A380SecComputer_B.SSM_nm = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_ojg = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_nh = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_lm = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_dl = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_fz = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_ny = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_1_position_deg.SSM; + A380SecComputer_B.Data_nzt = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_1_position_deg.Data; + A380SecComputer_B.SSM_l4 = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_2_position_deg.SSM; + A380SecComputer_B.Data_c0 = A380SecComputer_U.in.bus_inputs.prim_3_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_nm = A380SecComputer_U.in.bus_inputs.prim_3_bus.fctl_law_status_word.SSM; + A380SecComputer_B.Data_ojg = A380SecComputer_U.in.bus_inputs.prim_3_bus.fctl_law_status_word.Data; + A380SecComputer_B.SSM_nh = A380SecComputer_U.in.bus_inputs.prim_3_bus.discrete_status_word_1.SSM; + A380SecComputer_B.Data_lm = A380SecComputer_U.in.bus_inputs.prim_3_bus.discrete_status_word_1.Data; + A380SecComputer_B.SSM_dl = A380SecComputer_U.in.bus_inputs.prim_3_bus.fe_status_word.SSM; + A380SecComputer_B.Data_fz = A380SecComputer_U.in.bus_inputs.prim_3_bus.fe_status_word.Data; A380SecComputer_B.SSM_dx = A380SecComputer_U.in.bus_inputs.adr_1_bus.vertical_speed_ft_min.SSM; - A380SecComputer_B.SSM_a5h = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_oz = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_fl = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_pedal_position_deg.SSM; - A380SecComputer_B.Data_gf = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_pedal_position_deg.Data; - A380SecComputer_B.SSM_p3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.aileron_status_word.SSM; - A380SecComputer_B.Data_nn = A380SecComputer_U.in.bus_inputs.sec_x_bus.aileron_status_word.Data; - A380SecComputer_B.SSM_ns = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_a0z = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_bm = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_fk = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_a5h = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_oz = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_fl = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_gf = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_p3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_nn = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_ns = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_a0z = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_bm = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_pedal_position_deg.SSM; + A380SecComputer_B.Data_fk = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_pedal_position_deg.Data; A380SecComputer_B.Data_bu = A380SecComputer_U.in.bus_inputs.adr_1_bus.vertical_speed_ft_min.Data; - A380SecComputer_B.SSM_nl = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_o23 = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_grm = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_g3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_gzm = A380SecComputer_U.in.bus_inputs.sec_x_bus.spoiler_status_word.SSM; - A380SecComputer_B.Data_icc = A380SecComputer_U.in.bus_inputs.sec_x_bus.spoiler_status_word.Data; - A380SecComputer_B.SSM_oi = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.SSM; - A380SecComputer_B.Data_pwf = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.Data; - A380SecComputer_B.SSM_aa = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.SSM; - A380SecComputer_B.Data_gvk = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_nl = A380SecComputer_U.in.bus_inputs.sec_x_bus.aileron_status_word.SSM; + A380SecComputer_B.Data_o23 = A380SecComputer_U.in.bus_inputs.sec_x_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_grm = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_g3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_gzm = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_icc = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_oi = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_pwf = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_aa = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_gvk = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_aileron_2_position_deg.Data; A380SecComputer_B.SSM_fvk = A380SecComputer_U.in.bus_inputs.adr_1_bus.aoa_corrected_deg.SSM; - A380SecComputer_B.SSM_lw = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.SSM; - A380SecComputer_B.Data_ln = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.Data; - A380SecComputer_B.SSM_fa = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.SSM; - A380SecComputer_B.Data_ka = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.Data; - A380SecComputer_B.SSM_lbx = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.SSM; - A380SecComputer_B.Data_mp = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.Data; - A380SecComputer_B.SSM_n3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_1_position_deg.SSM; - A380SecComputer_B.Data_m4 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_1_position_deg.Data; - A380SecComputer_B.SSM_a1 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_2_position_deg.SSM; - A380SecComputer_B.Data_fki = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_lw = A380SecComputer_U.in.bus_inputs.sec_x_bus.spoiler_status_word.SSM; + A380SecComputer_B.Data_ln = A380SecComputer_U.in.bus_inputs.sec_x_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_fa = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.SSM; + A380SecComputer_B.Data_ka = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_lbx = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.SSM; + A380SecComputer_B.Data_mp = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_n3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.SSM; + A380SecComputer_B.Data_m4 = A380SecComputer_U.in.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.Data; + A380SecComputer_B.SSM_a1 = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.SSM; + A380SecComputer_B.Data_fki = A380SecComputer_U.in.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.Data; A380SecComputer_B.Data_bv = A380SecComputer_U.in.bus_inputs.adr_1_bus.aoa_corrected_deg.Data; - A380SecComputer_B.SSM_p1 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_3_position_deg.SSM; - A380SecComputer_B.Data_m21 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_3_position_deg.Data; - A380SecComputer_B.SSM_cn2 = A380SecComputer_U.in.bus_inputs.sec_x_bus.ths_position_deg.SSM; - A380SecComputer_B.Data_nbg = A380SecComputer_U.in.bus_inputs.sec_x_bus.ths_position_deg.Data; - A380SecComputer_B.SSM_an3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word.SSM; - A380SecComputer_B.Data_l25 = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word.Data; - A380SecComputer_B.SSM_c3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_1_position_deg.SSM; - A380SecComputer_B.Data_ki = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_1_position_deg.Data; - A380SecComputer_B.SSM_dp = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_2_position_deg.SSM; - A380SecComputer_B.Data_p5p = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_p1 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.SSM; + A380SecComputer_B.Data_m21 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_status_word.Data; + A380SecComputer_B.SSM_cn2 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_1_position_deg.SSM; + A380SecComputer_B.Data_nbg = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_1_position_deg.Data; + A380SecComputer_B.SSM_an3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_2_position_deg.SSM; + A380SecComputer_B.Data_l25 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_c3 = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_3_position_deg.SSM; + A380SecComputer_B.Data_ki = A380SecComputer_U.in.bus_inputs.sec_x_bus.elevator_3_position_deg.Data; + A380SecComputer_B.SSM_dp = A380SecComputer_U.in.bus_inputs.sec_x_bus.ths_position_deg.SSM; + A380SecComputer_B.Data_p5p = A380SecComputer_U.in.bus_inputs.sec_x_bus.ths_position_deg.Data; A380SecComputer_B.SSM_boy = A380SecComputer_U.in.bus_inputs.adr_1_bus.corrected_average_static_pressure.SSM; - A380SecComputer_B.SSM_lg = A380SecComputer_U.in.bus_inputs.sec_x_bus.fctl_law_status_word.SSM; - A380SecComputer_B.Data_nry = A380SecComputer_U.in.bus_inputs.sec_x_bus.fctl_law_status_word.Data; - A380SecComputer_B.SSM_cm = A380SecComputer_U.in.bus_inputs.sec_x_bus.misc_data_status_word.SSM; - A380SecComputer_B.Data_mh = A380SecComputer_U.in.bus_inputs.sec_x_bus.misc_data_status_word.Data; - A380SecComputer_B.SSM_hl = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_ll = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_irh = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_hy = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_b42 = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_j04 = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_lg = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word.SSM; + A380SecComputer_B.Data_nry = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_status_word.Data; + A380SecComputer_B.SSM_cm = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_1_position_deg.SSM; + A380SecComputer_B.Data_mh = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_1_position_deg.Data; + A380SecComputer_B.SSM_hl = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_2_position_deg.SSM; + A380SecComputer_B.Data_ll = A380SecComputer_U.in.bus_inputs.sec_x_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_irh = A380SecComputer_U.in.bus_inputs.sec_x_bus.fctl_law_status_word.SSM; + A380SecComputer_B.Data_hy = A380SecComputer_U.in.bus_inputs.sec_x_bus.fctl_law_status_word.Data; + A380SecComputer_B.SSM_b42 = A380SecComputer_U.in.bus_inputs.sec_x_bus.misc_data_status_word.SSM; + A380SecComputer_B.Data_j04 = A380SecComputer_U.in.bus_inputs.sec_x_bus.misc_data_status_word.Data; A380SecComputer_B.Data_pf = A380SecComputer_U.in.bus_inputs.adr_1_bus.corrected_average_static_pressure.Data; - A380SecComputer_B.SSM_anz = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_pl = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_d2 = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_pedal_position_deg.SSM; - A380SecComputer_B.Data_gb = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_pedal_position_deg.Data; - A380SecComputer_B.SSM_gov = A380SecComputer_U.in.bus_inputs.sec_y_bus.aileron_status_word.SSM; - A380SecComputer_B.Data_hq = A380SecComputer_U.in.bus_inputs.sec_y_bus.aileron_status_word.Data; - A380SecComputer_B.SSM_nb = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_ai = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_pe3 = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_gfr = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_anz = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_pl = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_d2 = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_gb = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_gov = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_hq = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_nb = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_ai = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_pe3 = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_pedal_position_deg.SSM; + A380SecComputer_B.Data_gfr = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_pedal_position_deg.Data; A380SecComputer_B.tracking_mode_on_override = A380SecComputer_U.in.sim_data.tracking_mode_on_override; A380SecComputer_B.SSM_jj = A380SecComputer_U.in.bus_inputs.adr_2_bus.altitude_standard_ft.SSM; - A380SecComputer_B.SSM_jx = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_czp = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_npl = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_fm = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_gf = A380SecComputer_U.in.bus_inputs.sec_y_bus.spoiler_status_word.SSM; - A380SecComputer_B.Data_jsg = A380SecComputer_U.in.bus_inputs.sec_y_bus.spoiler_status_word.Data; - A380SecComputer_B.SSM_gbi = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.SSM; - A380SecComputer_B.Data_g1 = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.Data; - A380SecComputer_B.SSM_fhm = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.SSM; - A380SecComputer_B.Data_j4 = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_jx = A380SecComputer_U.in.bus_inputs.sec_y_bus.aileron_status_word.SSM; + A380SecComputer_B.Data_czp = A380SecComputer_U.in.bus_inputs.sec_y_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_npl = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_fm = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_gf = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_jsg = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_gbi = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_g1 = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_fhm = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_j4 = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_aileron_2_position_deg.Data; A380SecComputer_B.Data_jyh = A380SecComputer_U.in.bus_inputs.adr_2_bus.altitude_standard_ft.Data; - A380SecComputer_B.SSM_ltj = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.SSM; - A380SecComputer_B.Data_e4 = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.Data; - A380SecComputer_B.SSM_hn = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.SSM; - A380SecComputer_B.Data_ghs = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.Data; - A380SecComputer_B.SSM_h3 = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.SSM; - A380SecComputer_B.Data_bmk = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.Data; - A380SecComputer_B.SSM_bfs = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_1_position_deg.SSM; - A380SecComputer_B.Data_lzt = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_1_position_deg.Data; - A380SecComputer_B.SSM_p0 = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_2_position_deg.SSM; - A380SecComputer_B.Data_kn = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_ltj = A380SecComputer_U.in.bus_inputs.sec_y_bus.spoiler_status_word.SSM; + A380SecComputer_B.Data_e4 = A380SecComputer_U.in.bus_inputs.sec_y_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_hn = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.SSM; + A380SecComputer_B.Data_ghs = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_h3 = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.SSM; + A380SecComputer_B.Data_bmk = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_bfs = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.SSM; + A380SecComputer_B.Data_lzt = A380SecComputer_U.in.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.Data; + A380SecComputer_B.SSM_p0 = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.SSM; + A380SecComputer_B.Data_kn = A380SecComputer_U.in.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.Data; A380SecComputer_B.SSM_fu = A380SecComputer_U.in.bus_inputs.adr_2_bus.altitude_corrected_ft.SSM; - A380SecComputer_B.SSM_hr = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_3_position_deg.SSM; - A380SecComputer_B.Data_nab = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_3_position_deg.Data; - A380SecComputer_B.SSM_bi = A380SecComputer_U.in.bus_inputs.sec_y_bus.ths_position_deg.SSM; - A380SecComputer_B.Data_lgf = A380SecComputer_U.in.bus_inputs.sec_y_bus.ths_position_deg.Data; - A380SecComputer_B.SSM_bd = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_status_word.SSM; - A380SecComputer_B.Data_fpq = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_status_word.Data; - A380SecComputer_B.SSM_omt = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_1_position_deg.SSM; - A380SecComputer_B.Data_dt = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_1_position_deg.Data; - A380SecComputer_B.SSM_la = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_2_position_deg.SSM; - A380SecComputer_B.Data_b1 = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_hr = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.SSM; + A380SecComputer_B.Data_nab = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_status_word.Data; + A380SecComputer_B.SSM_bi = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_1_position_deg.SSM; + A380SecComputer_B.Data_lgf = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_1_position_deg.Data; + A380SecComputer_B.SSM_bd = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_2_position_deg.SSM; + A380SecComputer_B.Data_fpq = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_omt = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_3_position_deg.SSM; + A380SecComputer_B.Data_dt = A380SecComputer_U.in.bus_inputs.sec_y_bus.elevator_3_position_deg.Data; + A380SecComputer_B.SSM_la = A380SecComputer_U.in.bus_inputs.sec_y_bus.ths_position_deg.SSM; + A380SecComputer_B.Data_b1 = A380SecComputer_U.in.bus_inputs.sec_y_bus.ths_position_deg.Data; A380SecComputer_B.Data_nmr = A380SecComputer_U.in.bus_inputs.adr_2_bus.altitude_corrected_ft.Data; - A380SecComputer_B.SSM_l1 = A380SecComputer_U.in.bus_inputs.sec_y_bus.fctl_law_status_word.SSM; - A380SecComputer_B.Data_ea = A380SecComputer_U.in.bus_inputs.sec_y_bus.fctl_law_status_word.Data; - A380SecComputer_B.SSM_dy = A380SecComputer_U.in.bus_inputs.sec_y_bus.misc_data_status_word.SSM; - A380SecComputer_B.Data_nib = A380SecComputer_U.in.bus_inputs.sec_y_bus.misc_data_status_word.Data; - A380SecComputer_B.SSM_ie = A380SecComputer_U.in.bus_inputs.adr_2_bus.mach.SSM; - A380SecComputer_B.Data_i2t = A380SecComputer_U.in.bus_inputs.adr_2_bus.mach.Data; - A380SecComputer_B.SSM_kf = A380SecComputer_U.in.bus_inputs.adr_2_bus.airspeed_computed_kn.SSM; - A380SecComputer_B.Data_ng = A380SecComputer_U.in.bus_inputs.adr_2_bus.airspeed_computed_kn.Data; - A380SecComputer_B.SSM_p5l = A380SecComputer_U.in.bus_inputs.adr_2_bus.airspeed_true_kn.SSM; - A380SecComputer_B.Data_h31 = A380SecComputer_U.in.bus_inputs.adr_2_bus.airspeed_true_kn.Data; + A380SecComputer_B.SSM_l1 = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_status_word.SSM; + A380SecComputer_B.Data_ea = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_status_word.Data; + A380SecComputer_B.SSM_dy = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_1_position_deg.SSM; + A380SecComputer_B.Data_nib = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_1_position_deg.Data; + A380SecComputer_B.SSM_ie = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_2_position_deg.SSM; + A380SecComputer_B.Data_i2t = A380SecComputer_U.in.bus_inputs.sec_y_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_kf = A380SecComputer_U.in.bus_inputs.sec_y_bus.fctl_law_status_word.SSM; + A380SecComputer_B.Data_ng = A380SecComputer_U.in.bus_inputs.sec_y_bus.fctl_law_status_word.Data; + A380SecComputer_B.SSM_p5l = A380SecComputer_U.in.bus_inputs.sec_y_bus.misc_data_status_word.SSM; + A380SecComputer_B.Data_h31 = A380SecComputer_U.in.bus_inputs.sec_y_bus.misc_data_status_word.Data; + A380SecComputer_B.SSM_g3 = A380SecComputer_U.in.bus_inputs.adr_2_bus.mach.SSM; + A380SecComputer_B.Data_ew = A380SecComputer_U.in.bus_inputs.adr_2_bus.mach.Data; + A380SecComputer_B.SSM_b3 = A380SecComputer_U.in.bus_inputs.adr_2_bus.airspeed_computed_kn.SSM; + A380SecComputer_B.Data_j1s = A380SecComputer_U.in.bus_inputs.adr_2_bus.airspeed_computed_kn.Data; + A380SecComputer_B.SSM_dxv = A380SecComputer_U.in.bus_inputs.adr_2_bus.airspeed_true_kn.SSM; + A380SecComputer_B.Data_j5 = A380SecComputer_U.in.bus_inputs.adr_2_bus.airspeed_true_kn.Data; A380SecComputer_B.tailstrike_protection_on = A380SecComputer_U.in.sim_data.tailstrike_protection_on; - A380SecComputer_B.SSM_g3 = A380SecComputer_U.in.bus_inputs.adr_2_bus.vertical_speed_ft_min.SSM; - A380SecComputer_B.Data_ew = A380SecComputer_U.in.bus_inputs.adr_2_bus.vertical_speed_ft_min.Data; - A380SecComputer_B.SSM_b3 = A380SecComputer_U.in.bus_inputs.adr_2_bus.aoa_corrected_deg.SSM; - A380SecComputer_B.Data_j1s = A380SecComputer_U.in.bus_inputs.adr_2_bus.aoa_corrected_deg.Data; - A380SecComputer_B.SSM_dxv = A380SecComputer_U.in.bus_inputs.adr_2_bus.corrected_average_static_pressure.SSM; - A380SecComputer_B.Data_j5 = A380SecComputer_U.in.bus_inputs.adr_2_bus.corrected_average_static_pressure.Data; - A380SecComputer_B.SSM_mxz = A380SecComputer_U.in.bus_inputs.ir_1_bus.discrete_word_1.SSM; - A380SecComputer_B.Data_cw = A380SecComputer_U.in.bus_inputs.ir_1_bus.discrete_word_1.Data; - A380SecComputer_B.SSM_kk4 = A380SecComputer_U.in.bus_inputs.ir_1_bus.latitude_deg.SSM; - A380SecComputer_B.Data_gqa = A380SecComputer_U.in.bus_inputs.ir_1_bus.latitude_deg.Data; + A380SecComputer_B.SSM_mxz = A380SecComputer_U.in.bus_inputs.adr_2_bus.vertical_speed_ft_min.SSM; + A380SecComputer_B.Data_cw = A380SecComputer_U.in.bus_inputs.adr_2_bus.vertical_speed_ft_min.Data; + A380SecComputer_B.SSM_kk4 = A380SecComputer_U.in.bus_inputs.adr_2_bus.aoa_corrected_deg.SSM; + A380SecComputer_B.Data_gqa = A380SecComputer_U.in.bus_inputs.adr_2_bus.aoa_corrected_deg.Data; + A380SecComputer_B.SSM_cy = A380SecComputer_U.in.bus_inputs.adr_2_bus.corrected_average_static_pressure.SSM; + A380SecComputer_B.Data_hz = A380SecComputer_U.in.bus_inputs.adr_2_bus.corrected_average_static_pressure.Data; + A380SecComputer_B.SSM_ju = A380SecComputer_U.in.bus_inputs.ir_1_bus.discrete_word_1.SSM; + A380SecComputer_B.Data_fri = A380SecComputer_U.in.bus_inputs.ir_1_bus.discrete_word_1.Data; + A380SecComputer_B.SSM_ey = A380SecComputer_U.in.bus_inputs.ir_1_bus.latitude_deg.SSM; + A380SecComputer_B.Data_cm = A380SecComputer_U.in.bus_inputs.ir_1_bus.latitude_deg.Data; A380SecComputer_B.computer_running = A380SecComputer_U.in.sim_data.computer_running; - A380SecComputer_B.SSM_cy = A380SecComputer_U.in.bus_inputs.ir_1_bus.longitude_deg.SSM; - A380SecComputer_B.Data_hz = A380SecComputer_U.in.bus_inputs.ir_1_bus.longitude_deg.Data; - A380SecComputer_B.SSM_ju = A380SecComputer_U.in.bus_inputs.ir_1_bus.ground_speed_kn.SSM; - A380SecComputer_B.Data_fri = A380SecComputer_U.in.bus_inputs.ir_1_bus.ground_speed_kn.Data; - A380SecComputer_B.SSM_ey = A380SecComputer_U.in.bus_inputs.ir_1_bus.track_angle_true_deg.SSM; - A380SecComputer_B.Data_cm = A380SecComputer_U.in.bus_inputs.ir_1_bus.track_angle_true_deg.Data; - A380SecComputer_B.SSM_jr = A380SecComputer_U.in.bus_inputs.ir_1_bus.heading_true_deg.SSM; - A380SecComputer_B.Data_czj = A380SecComputer_U.in.bus_inputs.ir_1_bus.heading_true_deg.Data; - A380SecComputer_B.SSM_hs = A380SecComputer_U.in.bus_inputs.ir_1_bus.wind_speed_kn.SSM; - A380SecComputer_B.Data_mb = A380SecComputer_U.in.bus_inputs.ir_1_bus.wind_speed_kn.Data; + A380SecComputer_B.SSM_jr = A380SecComputer_U.in.bus_inputs.ir_1_bus.longitude_deg.SSM; + A380SecComputer_B.Data_czj = A380SecComputer_U.in.bus_inputs.ir_1_bus.longitude_deg.Data; + A380SecComputer_B.SSM_hs = A380SecComputer_U.in.bus_inputs.ir_1_bus.ground_speed_kn.SSM; + A380SecComputer_B.Data_mb = A380SecComputer_U.in.bus_inputs.ir_1_bus.ground_speed_kn.Data; + A380SecComputer_B.SSM_mx3 = A380SecComputer_U.in.bus_inputs.ir_1_bus.track_angle_true_deg.SSM; + A380SecComputer_B.Data_gk4 = A380SecComputer_U.in.bus_inputs.ir_1_bus.track_angle_true_deg.Data; + A380SecComputer_B.SSM_er = A380SecComputer_U.in.bus_inputs.ir_1_bus.heading_true_deg.SSM; + A380SecComputer_B.Data_gbt = A380SecComputer_U.in.bus_inputs.ir_1_bus.heading_true_deg.Data; + A380SecComputer_B.SSM_hm = A380SecComputer_U.in.bus_inputs.ir_1_bus.wind_speed_kn.SSM; + A380SecComputer_B.Data_p0 = A380SecComputer_U.in.bus_inputs.ir_1_bus.wind_speed_kn.Data; A380SecComputer_B.sec_overhead_button_pressed = A380SecComputer_U.in.discrete_inputs.sec_overhead_button_pressed; - A380SecComputer_B.SSM_mx3 = A380SecComputer_U.in.bus_inputs.ir_1_bus.wind_direction_true_deg.SSM; - A380SecComputer_B.Data_gk4 = A380SecComputer_U.in.bus_inputs.ir_1_bus.wind_direction_true_deg.Data; - A380SecComputer_B.SSM_er = A380SecComputer_U.in.bus_inputs.ir_1_bus.track_angle_magnetic_deg.SSM; - A380SecComputer_B.Data_gbt = A380SecComputer_U.in.bus_inputs.ir_1_bus.track_angle_magnetic_deg.Data; - A380SecComputer_B.SSM_hm = A380SecComputer_U.in.bus_inputs.ir_1_bus.heading_magnetic_deg.SSM; - A380SecComputer_B.Data_p0 = A380SecComputer_U.in.bus_inputs.ir_1_bus.heading_magnetic_deg.Data; - A380SecComputer_B.SSM_dm = A380SecComputer_U.in.bus_inputs.ir_1_bus.drift_angle_deg.SSM; - A380SecComputer_B.Data_dn = A380SecComputer_U.in.bus_inputs.ir_1_bus.drift_angle_deg.Data; - A380SecComputer_B.SSM_fk = A380SecComputer_U.in.bus_inputs.ir_1_bus.flight_path_angle_deg.SSM; - A380SecComputer_B.Data_iyw = A380SecComputer_U.in.bus_inputs.ir_1_bus.flight_path_angle_deg.Data; + A380SecComputer_B.SSM_dm = A380SecComputer_U.in.bus_inputs.ir_1_bus.wind_direction_true_deg.SSM; + A380SecComputer_B.Data_dn = A380SecComputer_U.in.bus_inputs.ir_1_bus.wind_direction_true_deg.Data; + A380SecComputer_B.SSM_fk = A380SecComputer_U.in.bus_inputs.ir_1_bus.track_angle_magnetic_deg.SSM; + A380SecComputer_B.Data_iyw = A380SecComputer_U.in.bus_inputs.ir_1_bus.track_angle_magnetic_deg.Data; + A380SecComputer_B.SSM_lm1 = A380SecComputer_U.in.bus_inputs.ir_1_bus.heading_magnetic_deg.SSM; + A380SecComputer_B.Data_p5d = A380SecComputer_U.in.bus_inputs.ir_1_bus.heading_magnetic_deg.Data; + A380SecComputer_B.SSM_nc = A380SecComputer_U.in.bus_inputs.ir_1_bus.drift_angle_deg.SSM; + A380SecComputer_B.Data_oo = A380SecComputer_U.in.bus_inputs.ir_1_bus.drift_angle_deg.Data; + A380SecComputer_B.SSM_e4 = A380SecComputer_U.in.bus_inputs.ir_1_bus.flight_path_angle_deg.SSM; + A380SecComputer_B.Data_ho = A380SecComputer_U.in.bus_inputs.ir_1_bus.flight_path_angle_deg.Data; A380SecComputer_DWork.Delay_DSTATE_c = rtb_AND; A380SecComputer_DWork.Delay1_DSTATE = rtb_AND1; A380SecComputer_DWork.Memory_PreviousInput_n = A380SecComputer_DWork.Delay_DSTATE_d; @@ -2688,42 +2694,42 @@ void A380SecComputer::step() A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.altitude_standard_ft.Data = A380SecComputer_B.Data_jyh; A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.altitude_corrected_ft.SSM = A380SecComputer_B.SSM_fu; A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.altitude_corrected_ft.Data = A380SecComputer_B.Data_nmr; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.mach.SSM = A380SecComputer_B.SSM_ie; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.mach.Data = A380SecComputer_B.Data_i2t; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.airspeed_computed_kn.SSM = A380SecComputer_B.SSM_kf; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.airspeed_computed_kn.Data = A380SecComputer_B.Data_ng; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.airspeed_true_kn.SSM = A380SecComputer_B.SSM_p5l; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.airspeed_true_kn.Data = A380SecComputer_B.Data_h31; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.vertical_speed_ft_min.SSM = A380SecComputer_B.SSM_g3; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.vertical_speed_ft_min.Data = A380SecComputer_B.Data_ew; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.aoa_corrected_deg.SSM = A380SecComputer_B.SSM_b3; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.aoa_corrected_deg.Data = A380SecComputer_B.Data_j1s; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.corrected_average_static_pressure.SSM = A380SecComputer_B.SSM_dxv; - A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.corrected_average_static_pressure.Data = A380SecComputer_B.Data_j5; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.discrete_word_1.SSM = A380SecComputer_B.SSM_mxz; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.discrete_word_1.Data = A380SecComputer_B.Data_cw; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.latitude_deg.SSM = A380SecComputer_B.SSM_kk4; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.latitude_deg.Data = A380SecComputer_B.Data_gqa; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.longitude_deg.SSM = A380SecComputer_B.SSM_cy; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.longitude_deg.Data = A380SecComputer_B.Data_hz; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.ground_speed_kn.SSM = A380SecComputer_B.SSM_ju; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.ground_speed_kn.Data = A380SecComputer_B.Data_fri; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.track_angle_true_deg.SSM = A380SecComputer_B.SSM_ey; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.track_angle_true_deg.Data = A380SecComputer_B.Data_cm; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.heading_true_deg.SSM = A380SecComputer_B.SSM_jr; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.heading_true_deg.Data = A380SecComputer_B.Data_czj; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.wind_speed_kn.SSM = A380SecComputer_B.SSM_hs; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.wind_speed_kn.Data = A380SecComputer_B.Data_mb; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.wind_direction_true_deg.SSM = A380SecComputer_B.SSM_mx3; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.wind_direction_true_deg.Data = A380SecComputer_B.Data_gk4; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.track_angle_magnetic_deg.SSM = A380SecComputer_B.SSM_er; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.track_angle_magnetic_deg.Data = A380SecComputer_B.Data_gbt; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.heading_magnetic_deg.SSM = A380SecComputer_B.SSM_hm; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.heading_magnetic_deg.Data = A380SecComputer_B.Data_p0; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.drift_angle_deg.SSM = A380SecComputer_B.SSM_dm; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.drift_angle_deg.Data = A380SecComputer_B.Data_dn; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.flight_path_angle_deg.SSM = A380SecComputer_B.SSM_fk; - A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.flight_path_angle_deg.Data = A380SecComputer_B.Data_iyw; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.mach.SSM = A380SecComputer_B.SSM_g3; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.mach.Data = A380SecComputer_B.Data_ew; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.airspeed_computed_kn.SSM = A380SecComputer_B.SSM_b3; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.airspeed_computed_kn.Data = A380SecComputer_B.Data_j1s; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.airspeed_true_kn.SSM = A380SecComputer_B.SSM_dxv; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.airspeed_true_kn.Data = A380SecComputer_B.Data_j5; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.vertical_speed_ft_min.SSM = A380SecComputer_B.SSM_mxz; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.vertical_speed_ft_min.Data = A380SecComputer_B.Data_cw; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.aoa_corrected_deg.SSM = A380SecComputer_B.SSM_kk4; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.aoa_corrected_deg.Data = A380SecComputer_B.Data_gqa; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.corrected_average_static_pressure.SSM = A380SecComputer_B.SSM_cy; + A380SecComputer_Y.out.data.bus_inputs.adr_2_bus.corrected_average_static_pressure.Data = A380SecComputer_B.Data_hz; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.discrete_word_1.SSM = A380SecComputer_B.SSM_ju; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.discrete_word_1.Data = A380SecComputer_B.Data_fri; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.latitude_deg.SSM = A380SecComputer_B.SSM_ey; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.latitude_deg.Data = A380SecComputer_B.Data_cm; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.longitude_deg.SSM = A380SecComputer_B.SSM_jr; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.longitude_deg.Data = A380SecComputer_B.Data_czj; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.ground_speed_kn.SSM = A380SecComputer_B.SSM_hs; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.ground_speed_kn.Data = A380SecComputer_B.Data_mb; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.track_angle_true_deg.SSM = A380SecComputer_B.SSM_mx3; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.track_angle_true_deg.Data = A380SecComputer_B.Data_gk4; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.heading_true_deg.SSM = A380SecComputer_B.SSM_er; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.heading_true_deg.Data = A380SecComputer_B.Data_gbt; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.wind_speed_kn.SSM = A380SecComputer_B.SSM_hm; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.wind_speed_kn.Data = A380SecComputer_B.Data_p0; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.wind_direction_true_deg.SSM = A380SecComputer_B.SSM_dm; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.wind_direction_true_deg.Data = A380SecComputer_B.Data_dn; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.track_angle_magnetic_deg.SSM = A380SecComputer_B.SSM_fk; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.track_angle_magnetic_deg.Data = A380SecComputer_B.Data_iyw; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.heading_magnetic_deg.SSM = A380SecComputer_B.SSM_lm1; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.heading_magnetic_deg.Data = A380SecComputer_B.Data_p5d; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.drift_angle_deg.SSM = A380SecComputer_B.SSM_nc; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.drift_angle_deg.Data = A380SecComputer_B.Data_oo; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.flight_path_angle_deg.SSM = A380SecComputer_B.SSM_e4; + A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.flight_path_angle_deg.Data = A380SecComputer_B.Data_ho; A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.flight_path_accel_g.SSM = A380SecComputer_B.SSM; A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.flight_path_accel_g.Data = A380SecComputer_B.Data; A380SecComputer_Y.out.data.bus_inputs.ir_1_bus.pitch_angle_deg.SSM = A380SecComputer_B.SSM_k; @@ -2948,314 +2954,320 @@ void A380SecComputer::step() A380SecComputer_Y.out.data.bus_inputs.prim_1_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_ch; A380SecComputer_Y.out.data.bus_inputs.prim_1_bus.discrete_status_word_1.SSM = A380SecComputer_B.SSM_d4; A380SecComputer_Y.out.data.bus_inputs.prim_1_bus.discrete_status_word_1.Data = A380SecComputer_B.Data_bb; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_ars; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.Data = A380SecComputer_B.Data_ol; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_din; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.Data = A380SecComputer_B.Data_hw; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_m3; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.Data = A380SecComputer_B.Data_hs; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_np; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.Data = A380SecComputer_B.Data_fj; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_ax; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.Data = A380SecComputer_B.Data_ky; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_cl; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.Data = A380SecComputer_B.Data_h5; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.SSM = A380SecComputer_B.SSM_es; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.Data = A380SecComputer_B.Data_ku; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.SSM = A380SecComputer_B.SSM_gi1; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.Data = A380SecComputer_B.Data_jp; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.SSM = A380SecComputer_B.SSM_jz; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.Data = A380SecComputer_B.Data_nu; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.SSM = A380SecComputer_B.SSM_kt; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.Data = A380SecComputer_B.Data_br; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.SSM = A380SecComputer_B.SSM_ds; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.Data = A380SecComputer_B.Data_ae; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.SSM = A380SecComputer_B.SSM_eg; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.Data = A380SecComputer_B.Data_pe; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.SSM = A380SecComputer_B.SSM_a0; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.Data = A380SecComputer_B.Data_fy; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.SSM = A380SecComputer_B.SSM_cv; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.Data = A380SecComputer_B.Data_na; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.SSM = A380SecComputer_B.SSM_ea; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.Data = A380SecComputer_B.Data_my; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.SSM = A380SecComputer_B.SSM_p4; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.Data = A380SecComputer_B.Data_i4; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.SSM = A380SecComputer_B.SSM_m2; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.Data = A380SecComputer_B.Data_cx; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.SSM = A380SecComputer_B.SSM_bt0; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.Data = A380SecComputer_B.Data_nz; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.SSM = A380SecComputer_B.SSM_nr; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.Data = A380SecComputer_B.Data_id; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.SSM = A380SecComputer_B.SSM_fr; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.Data = A380SecComputer_B.Data_o2; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.SSM = A380SecComputer_B.SSM_cc; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.Data = A380SecComputer_B.Data_gqq; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.SSM = A380SecComputer_B.SSM_lm; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.Data = A380SecComputer_B.Data_md; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_mkm; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.Data = A380SecComputer_B.Data_cz; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_jhd; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.Data = A380SecComputer_B.Data_pm; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_av; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.Data = A380SecComputer_B.Data_bj; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_ira; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.Data = A380SecComputer_B.Data_ox; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.ths_command_deg.SSM = A380SecComputer_B.SSM_ge; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.ths_command_deg.Data = A380SecComputer_B.Data_pe5; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.upper_rudder_command_deg.SSM = A380SecComputer_B.SSM_lv; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.upper_rudder_command_deg.Data = A380SecComputer_B.Data_jj; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.lower_rudder_command_deg.SSM = A380SecComputer_B.SSM_cg; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.lower_rudder_command_deg.Data = A380SecComputer_B.Data_p5; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_be; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_ekl; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_axb; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_nd; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_nz; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_n2; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_cx; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_dl; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_pedal_position_deg.SSM = A380SecComputer_B.SSM_gh; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_pedal_position_deg.Data = A380SecComputer_B.Data_gs2; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.aileron_status_word.SSM = A380SecComputer_B.SSM_ks; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.aileron_status_word.Data = A380SecComputer_B.Data_h4; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_pw; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_aileron_1_position_deg.Data = A380SecComputer_B.Data_e3; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_fh; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_aileron_2_position_deg.Data = A380SecComputer_B.Data_f5h; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_gzn; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_aileron_1_position_deg.Data = A380SecComputer_B.Data_an; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_oo; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_aileron_2_position_deg.Data = A380SecComputer_B.Data_i4o; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.spoiler_status_word.SSM = A380SecComputer_B.SSM_evh; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.spoiler_status_word.Data = A380SecComputer_B.Data_af; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_position_deg.SSM = A380SecComputer_B.SSM_cn; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_position_deg.Data = A380SecComputer_B.Data_bm; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_position_deg.SSM = A380SecComputer_B.SSM_co; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_position_deg.Data = A380SecComputer_B.Data_dk; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_status_word.SSM = A380SecComputer_B.SSM_pe; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_status_word.Data = A380SecComputer_B.Data_nv; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_1_position_deg.SSM = A380SecComputer_B.SSM_cgz; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_1_position_deg.Data = A380SecComputer_B.Data_jpf; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_2_position_deg.SSM = A380SecComputer_B.SSM_fw; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_2_position_deg.Data = A380SecComputer_B.Data_i5; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_3_position_deg.SSM = A380SecComputer_B.SSM_h4; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_3_position_deg.Data = A380SecComputer_B.Data_k2; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.ths_position_deg.SSM = A380SecComputer_B.SSM_cb3; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.ths_position_deg.Data = A380SecComputer_B.Data_as; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_status_word.SSM = A380SecComputer_B.SSM_pj; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_status_word.Data = A380SecComputer_B.Data_gk; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_1_position_deg.SSM = A380SecComputer_B.SSM_dv; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_1_position_deg.Data = A380SecComputer_B.Data_jl; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_2_position_deg.SSM = A380SecComputer_B.SSM_i4; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_2_position_deg.Data = A380SecComputer_B.Data_e32; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.fctl_law_status_word.SSM = A380SecComputer_B.SSM_fm; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_ih; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.discrete_status_word_1.SSM = A380SecComputer_B.SSM_e5; - A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.discrete_status_word_1.Data = A380SecComputer_B.Data_du; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_bf; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.Data = A380SecComputer_B.Data_nx; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_fd; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.Data = A380SecComputer_B.Data_n0; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_fv; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.Data = A380SecComputer_B.Data_eqi; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_dt; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.Data = A380SecComputer_B.Data_om; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_j5; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.Data = A380SecComputer_B.Data_nr; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_cs; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.Data = A380SecComputer_B.Data_p3; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.SSM = A380SecComputer_B.SSM_ls; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.Data = A380SecComputer_B.Data_nb; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.SSM = A380SecComputer_B.SSM_dg; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.Data = A380SecComputer_B.Data_hd; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.SSM = A380SecComputer_B.SSM_d3; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.Data = A380SecComputer_B.Data_al; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.SSM = A380SecComputer_B.SSM_p2; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.Data = A380SecComputer_B.Data_gu; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.SSM = A380SecComputer_B.SSM_bo0; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.Data = A380SecComputer_B.Data_do; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.SSM = A380SecComputer_B.SSM_bc; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.Data = A380SecComputer_B.Data_hu; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.SSM = A380SecComputer_B.SSM_h0; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.Data = A380SecComputer_B.Data_pm1; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.SSM = A380SecComputer_B.SSM_giz; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.Data = A380SecComputer_B.Data_i2y; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.SSM = A380SecComputer_B.SSM_mqp; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.Data = A380SecComputer_B.Data_pg; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.SSM = A380SecComputer_B.SSM_in; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.Data = A380SecComputer_B.Data_ni; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.SSM = A380SecComputer_B.SSM_ff; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.Data = A380SecComputer_B.Data_fr; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.SSM = A380SecComputer_B.SSM_ic; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.Data = A380SecComputer_B.Data_cn; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.SSM = A380SecComputer_B.SSM_fs; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.Data = A380SecComputer_B.Data_nxl; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.SSM = A380SecComputer_B.SSM_ja; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.Data = A380SecComputer_B.Data_jh; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.SSM = A380SecComputer_B.SSM_js; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.Data = A380SecComputer_B.Data_gn; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.SSM = A380SecComputer_B.SSM_is3; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.Data = A380SecComputer_B.Data_myb; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_ag; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.Data = A380SecComputer_B.Data_l2; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_f5; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.Data = A380SecComputer_B.Data_o5o; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_ph; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.Data = A380SecComputer_B.Data_l5; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_jy; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.Data = A380SecComputer_B.Data_dc2; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.ths_command_deg.SSM = A380SecComputer_B.SSM_j1; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.ths_command_deg.Data = A380SecComputer_B.Data_gr; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.upper_rudder_command_deg.SSM = A380SecComputer_B.SSM_ov; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.upper_rudder_command_deg.Data = A380SecComputer_B.Data_gp; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.lower_rudder_command_deg.SSM = A380SecComputer_B.SSM_mx; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.lower_rudder_command_deg.Data = A380SecComputer_B.Data_i3; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_b4; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_et; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_gb; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_k3; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_oh; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_f2; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_mm5; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_gh; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_pedal_position_deg.SSM = A380SecComputer_B.SSM_br; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_pedal_position_deg.Data = A380SecComputer_B.Data_ed; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.aileron_status_word.SSM = A380SecComputer_B.SSM_c2; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.aileron_status_word.Data = A380SecComputer_B.Data_o2j; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_ktr; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_aileron_1_position_deg.Data = A380SecComputer_B.Data_i43; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_gl; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_aileron_2_position_deg.Data = A380SecComputer_B.Data_ic; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_my; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_aileron_1_position_deg.Data = A380SecComputer_B.Data_ak; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_j3; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_aileron_2_position_deg.Data = A380SecComputer_B.Data_jg; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.spoiler_status_word.SSM = A380SecComputer_B.SSM_go; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.spoiler_status_word.Data = A380SecComputer_B.Data_cu; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_position_deg.SSM = A380SecComputer_B.SSM_e5c; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_position_deg.Data = A380SecComputer_B.Data_d3; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_position_deg.SSM = A380SecComputer_B.SSM_dk; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_position_deg.Data = A380SecComputer_B.Data_bt; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_status_word.SSM = A380SecComputer_B.SSM_evc; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_status_word.Data = A380SecComputer_B.Data_e0; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_1_position_deg.SSM = A380SecComputer_B.SSM_kk; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_1_position_deg.Data = A380SecComputer_B.Data_jl3; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_2_position_deg.SSM = A380SecComputer_B.SSM_af; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_2_position_deg.Data = A380SecComputer_B.Data_nm; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_3_position_deg.SSM = A380SecComputer_B.SSM_ew; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_3_position_deg.Data = A380SecComputer_B.Data_ia; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.ths_position_deg.SSM = A380SecComputer_B.SSM_lt; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.ths_position_deg.Data = A380SecComputer_B.Data_j0; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_status_word.SSM = A380SecComputer_B.SSM_ger; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_status_word.Data = A380SecComputer_B.Data_bs; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_1_position_deg.SSM = A380SecComputer_B.SSM_pxo; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_1_position_deg.Data = A380SecComputer_B.Data_hp; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_2_position_deg.SSM = A380SecComputer_B.SSM_co2; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_2_position_deg.Data = A380SecComputer_B.Data_ct; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.fctl_law_status_word.SSM = A380SecComputer_B.SSM_ny; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_nzt; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.discrete_status_word_1.SSM = A380SecComputer_B.SSM_l4; - A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.discrete_status_word_1.Data = A380SecComputer_B.Data_c0; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_nm; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_ojg; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_nh; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_lm; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_dl; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_fz; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_a5h; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_oz; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_pedal_position_deg.SSM = A380SecComputer_B.SSM_fl; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_pedal_position_deg.Data = A380SecComputer_B.Data_gf; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.aileron_status_word.SSM = A380SecComputer_B.SSM_p3; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.aileron_status_word.Data = A380SecComputer_B.Data_nn; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_ns; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_aileron_1_position_deg.Data = A380SecComputer_B.Data_a0z; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_bm; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_aileron_2_position_deg.Data = A380SecComputer_B.Data_fk; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_nl; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_aileron_1_position_deg.Data = A380SecComputer_B.Data_o23; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_grm; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_aileron_2_position_deg.Data = A380SecComputer_B.Data_g3; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.spoiler_status_word.SSM = A380SecComputer_B.SSM_gzm; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.spoiler_status_word.Data = A380SecComputer_B.Data_icc; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.SSM = A380SecComputer_B.SSM_oi; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.Data = A380SecComputer_B.Data_pwf; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.SSM = A380SecComputer_B.SSM_aa; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.Data = A380SecComputer_B.Data_gvk; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.SSM = A380SecComputer_B.SSM_lw; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.Data = A380SecComputer_B.Data_ln; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.SSM = A380SecComputer_B.SSM_fa; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.Data = A380SecComputer_B.Data_ka; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_status_word.SSM = A380SecComputer_B.SSM_lbx; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_status_word.Data = A380SecComputer_B.Data_mp; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_1_position_deg.SSM = A380SecComputer_B.SSM_n3; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_1_position_deg.Data = A380SecComputer_B.Data_m4; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_2_position_deg.SSM = A380SecComputer_B.SSM_a1; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_2_position_deg.Data = A380SecComputer_B.Data_fki; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_3_position_deg.SSM = A380SecComputer_B.SSM_p1; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_3_position_deg.Data = A380SecComputer_B.Data_m21; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.ths_position_deg.SSM = A380SecComputer_B.SSM_cn2; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.ths_position_deg.Data = A380SecComputer_B.Data_nbg; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_status_word.SSM = A380SecComputer_B.SSM_an3; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_status_word.Data = A380SecComputer_B.Data_l25; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_1_position_deg.SSM = A380SecComputer_B.SSM_c3; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_1_position_deg.Data = A380SecComputer_B.Data_ki; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_2_position_deg.SSM = A380SecComputer_B.SSM_dp; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_2_position_deg.Data = A380SecComputer_B.Data_p5p; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.fctl_law_status_word.SSM = A380SecComputer_B.SSM_lg; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_nry; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.misc_data_status_word.SSM = A380SecComputer_B.SSM_cm; - A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.misc_data_status_word.Data = A380SecComputer_B.Data_mh; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_hl; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_ll; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_irh; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_hy; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_b42; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_j04; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_anz; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_pl; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_pedal_position_deg.SSM = A380SecComputer_B.SSM_d2; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_pedal_position_deg.Data = A380SecComputer_B.Data_gb; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.aileron_status_word.SSM = A380SecComputer_B.SSM_gov; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.aileron_status_word.Data = A380SecComputer_B.Data_hq; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_nb; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_aileron_1_position_deg.Data = A380SecComputer_B.Data_ai; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_pe3; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_aileron_2_position_deg.Data = A380SecComputer_B.Data_gfr; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_jx; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_aileron_1_position_deg.Data = A380SecComputer_B.Data_czp; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_npl; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_aileron_2_position_deg.Data = A380SecComputer_B.Data_fm; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.spoiler_status_word.SSM = A380SecComputer_B.SSM_gf; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.spoiler_status_word.Data = A380SecComputer_B.Data_jsg; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.SSM = A380SecComputer_B.SSM_gbi; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.Data = A380SecComputer_B.Data_g1; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.SSM = A380SecComputer_B.SSM_fhm; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.Data = A380SecComputer_B.Data_j4; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.SSM = A380SecComputer_B.SSM_ltj; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.Data = A380SecComputer_B.Data_e4; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.SSM = A380SecComputer_B.SSM_hn; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.Data = A380SecComputer_B.Data_ghs; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_status_word.SSM = A380SecComputer_B.SSM_h3; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_status_word.Data = A380SecComputer_B.Data_bmk; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_1_position_deg.SSM = A380SecComputer_B.SSM_bfs; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_1_position_deg.Data = A380SecComputer_B.Data_lzt; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_2_position_deg.SSM = A380SecComputer_B.SSM_p0; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_2_position_deg.Data = A380SecComputer_B.Data_kn; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_3_position_deg.SSM = A380SecComputer_B.SSM_hr; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_3_position_deg.Data = A380SecComputer_B.Data_nab; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.ths_position_deg.SSM = A380SecComputer_B.SSM_bi; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.ths_position_deg.Data = A380SecComputer_B.Data_lgf; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_status_word.SSM = A380SecComputer_B.SSM_bd; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_status_word.Data = A380SecComputer_B.Data_fpq; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_1_position_deg.SSM = A380SecComputer_B.SSM_omt; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_1_position_deg.Data = A380SecComputer_B.Data_dt; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_2_position_deg.SSM = A380SecComputer_B.SSM_la; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_2_position_deg.Data = A380SecComputer_B.Data_b1; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.fctl_law_status_word.SSM = A380SecComputer_B.SSM_l1; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_ea; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.misc_data_status_word.SSM = A380SecComputer_B.SSM_dy; - A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.misc_data_status_word.Data = A380SecComputer_B.Data_nib; + A380SecComputer_Y.out.data.bus_inputs.prim_1_bus.fe_status_word.SSM = A380SecComputer_B.SSM_ars; + A380SecComputer_Y.out.data.bus_inputs.prim_1_bus.fe_status_word.Data = A380SecComputer_B.Data_ol; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_din; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.Data = A380SecComputer_B.Data_hw; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_m3; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.Data = A380SecComputer_B.Data_hs; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_np; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.Data = A380SecComputer_B.Data_fj; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_ax; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.Data = A380SecComputer_B.Data_ky; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_cl; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.Data = A380SecComputer_B.Data_h5; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_es; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.Data = A380SecComputer_B.Data_ku; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.SSM = A380SecComputer_B.SSM_gi1; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.Data = A380SecComputer_B.Data_jp; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.SSM = A380SecComputer_B.SSM_jz; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.Data = A380SecComputer_B.Data_nu; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.SSM = A380SecComputer_B.SSM_kt; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.Data = A380SecComputer_B.Data_br; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.SSM = A380SecComputer_B.SSM_ds; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.Data = A380SecComputer_B.Data_ae; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.SSM = A380SecComputer_B.SSM_eg; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.Data = A380SecComputer_B.Data_pe; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.SSM = A380SecComputer_B.SSM_a0; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.Data = A380SecComputer_B.Data_fy; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.SSM = A380SecComputer_B.SSM_cv; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.Data = A380SecComputer_B.Data_na; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.SSM = A380SecComputer_B.SSM_ea; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.Data = A380SecComputer_B.Data_my; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.SSM = A380SecComputer_B.SSM_p4; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.Data = A380SecComputer_B.Data_i4; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.SSM = A380SecComputer_B.SSM_m2; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.Data = A380SecComputer_B.Data_cx; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.SSM = A380SecComputer_B.SSM_bt0; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.Data = A380SecComputer_B.Data_nz; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.SSM = A380SecComputer_B.SSM_nr; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.Data = A380SecComputer_B.Data_id; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.SSM = A380SecComputer_B.SSM_fr; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.Data = A380SecComputer_B.Data_o2; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.SSM = A380SecComputer_B.SSM_cc; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.Data = A380SecComputer_B.Data_gqq; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.SSM = A380SecComputer_B.SSM_lm; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.Data = A380SecComputer_B.Data_md; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.SSM = A380SecComputer_B.SSM_mkm; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.Data = A380SecComputer_B.Data_cz; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_jhd; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.Data = A380SecComputer_B.Data_pm; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_av; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.Data = A380SecComputer_B.Data_bj; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_ira; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.Data = A380SecComputer_B.Data_ox; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_ge; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.Data = A380SecComputer_B.Data_pe5; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.ths_command_deg.SSM = A380SecComputer_B.SSM_lv; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.ths_command_deg.Data = A380SecComputer_B.Data_jj; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.upper_rudder_command_deg.SSM = A380SecComputer_B.SSM_cg; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.upper_rudder_command_deg.Data = A380SecComputer_B.Data_p5; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.lower_rudder_command_deg.SSM = A380SecComputer_B.SSM_be; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.lower_rudder_command_deg.Data = A380SecComputer_B.Data_ekl; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_axb; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_nd; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_nz; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_n2; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_cx; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_dl; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_gh; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_gs2; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_pedal_position_deg.SSM = A380SecComputer_B.SSM_ks; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_pedal_position_deg.Data = A380SecComputer_B.Data_h4; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.aileron_status_word.SSM = A380SecComputer_B.SSM_pw; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.aileron_status_word.Data = A380SecComputer_B.Data_e3; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_fh; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_aileron_1_position_deg.Data = A380SecComputer_B.Data_f5h; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_gzn; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_aileron_2_position_deg.Data = A380SecComputer_B.Data_an; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_oo; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_aileron_1_position_deg.Data = A380SecComputer_B.Data_i4o; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_evh; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_aileron_2_position_deg.Data = A380SecComputer_B.Data_af; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.spoiler_status_word.SSM = A380SecComputer_B.SSM_cn; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.spoiler_status_word.Data = A380SecComputer_B.Data_bm; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_position_deg.SSM = A380SecComputer_B.SSM_co; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.left_spoiler_position_deg.Data = A380SecComputer_B.Data_dk; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_position_deg.SSM = A380SecComputer_B.SSM_pe; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.right_spoiler_position_deg.Data = A380SecComputer_B.Data_nv; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_status_word.SSM = A380SecComputer_B.SSM_cgz; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_status_word.Data = A380SecComputer_B.Data_jpf; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_1_position_deg.SSM = A380SecComputer_B.SSM_fw; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_1_position_deg.Data = A380SecComputer_B.Data_i5; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_2_position_deg.SSM = A380SecComputer_B.SSM_h4; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_2_position_deg.Data = A380SecComputer_B.Data_k2; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_3_position_deg.SSM = A380SecComputer_B.SSM_cb3; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.elevator_3_position_deg.Data = A380SecComputer_B.Data_as; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.ths_position_deg.SSM = A380SecComputer_B.SSM_pj; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.ths_position_deg.Data = A380SecComputer_B.Data_gk; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_status_word.SSM = A380SecComputer_B.SSM_dv; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_status_word.Data = A380SecComputer_B.Data_jl; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_1_position_deg.SSM = A380SecComputer_B.SSM_i4; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_1_position_deg.Data = A380SecComputer_B.Data_e32; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_2_position_deg.SSM = A380SecComputer_B.SSM_fm; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.rudder_2_position_deg.Data = A380SecComputer_B.Data_ih; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.fctl_law_status_word.SSM = A380SecComputer_B.SSM_e5; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_du; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.discrete_status_word_1.SSM = A380SecComputer_B.SSM_bf; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.discrete_status_word_1.Data = A380SecComputer_B.Data_nx; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.fe_status_word.SSM = A380SecComputer_B.SSM_fd; + A380SecComputer_Y.out.data.bus_inputs.prim_2_bus.fe_status_word.Data = A380SecComputer_B.Data_n0; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_fv; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.Data = A380SecComputer_B.Data_eqi; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_dt; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.Data = A380SecComputer_B.Data_om; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_j5; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.Data = A380SecComputer_B.Data_nr; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_cs; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.Data = A380SecComputer_B.Data_p3; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_ls; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.Data = A380SecComputer_B.Data_nb; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.SSM = A380SecComputer_B.SSM_dg; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.Data = A380SecComputer_B.Data_hd; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.SSM = A380SecComputer_B.SSM_d3; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.Data = A380SecComputer_B.Data_al; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.SSM = A380SecComputer_B.SSM_p2; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.Data = A380SecComputer_B.Data_gu; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.SSM = A380SecComputer_B.SSM_bo0; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.Data = A380SecComputer_B.Data_do; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.SSM = A380SecComputer_B.SSM_bc; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.Data = A380SecComputer_B.Data_hu; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.SSM = A380SecComputer_B.SSM_h0; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.Data = A380SecComputer_B.Data_pm1; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.SSM = A380SecComputer_B.SSM_giz; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.Data = A380SecComputer_B.Data_i2y; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.SSM = A380SecComputer_B.SSM_mqp; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.Data = A380SecComputer_B.Data_pg; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.SSM = A380SecComputer_B.SSM_in; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.Data = A380SecComputer_B.Data_ni; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.SSM = A380SecComputer_B.SSM_ff; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.Data = A380SecComputer_B.Data_fr; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.SSM = A380SecComputer_B.SSM_ic; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.Data = A380SecComputer_B.Data_cn; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.SSM = A380SecComputer_B.SSM_fs; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.Data = A380SecComputer_B.Data_nxl; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.SSM = A380SecComputer_B.SSM_ja; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.Data = A380SecComputer_B.Data_jh; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.SSM = A380SecComputer_B.SSM_js; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.Data = A380SecComputer_B.Data_gn; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.SSM = A380SecComputer_B.SSM_is3; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.Data = A380SecComputer_B.Data_myb; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.SSM = A380SecComputer_B.SSM_ag; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.Data = A380SecComputer_B.Data_l2; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.SSM = A380SecComputer_B.SSM_f5; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.Data = A380SecComputer_B.Data_o5o; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_ph; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.Data = A380SecComputer_B.Data_l5; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_jy; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.Data = A380SecComputer_B.Data_dc2; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_j1; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.Data = A380SecComputer_B.Data_gr; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.SSM = A380SecComputer_B.SSM_ov; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.Data = A380SecComputer_B.Data_gp; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.ths_command_deg.SSM = A380SecComputer_B.SSM_mx; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.ths_command_deg.Data = A380SecComputer_B.Data_i3; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.upper_rudder_command_deg.SSM = A380SecComputer_B.SSM_b4; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.upper_rudder_command_deg.Data = A380SecComputer_B.Data_et; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.lower_rudder_command_deg.SSM = A380SecComputer_B.SSM_gb; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.lower_rudder_command_deg.Data = A380SecComputer_B.Data_k3; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_oh; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_f2; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_mm5; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_gh; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_br; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_ed; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_c2; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_o2j; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_pedal_position_deg.SSM = A380SecComputer_B.SSM_ktr; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_pedal_position_deg.Data = A380SecComputer_B.Data_i43; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.aileron_status_word.SSM = A380SecComputer_B.SSM_gl; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.aileron_status_word.Data = A380SecComputer_B.Data_ic; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_my; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_aileron_1_position_deg.Data = A380SecComputer_B.Data_ak; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_j3; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_aileron_2_position_deg.Data = A380SecComputer_B.Data_jg; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_go; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_aileron_1_position_deg.Data = A380SecComputer_B.Data_cu; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_e5c; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_aileron_2_position_deg.Data = A380SecComputer_B.Data_d3; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.spoiler_status_word.SSM = A380SecComputer_B.SSM_dk; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.spoiler_status_word.Data = A380SecComputer_B.Data_bt; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_position_deg.SSM = A380SecComputer_B.SSM_evc; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.left_spoiler_position_deg.Data = A380SecComputer_B.Data_e0; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_position_deg.SSM = A380SecComputer_B.SSM_kk; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.right_spoiler_position_deg.Data = A380SecComputer_B.Data_jl3; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_status_word.SSM = A380SecComputer_B.SSM_af; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_status_word.Data = A380SecComputer_B.Data_nm; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_1_position_deg.SSM = A380SecComputer_B.SSM_ew; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_1_position_deg.Data = A380SecComputer_B.Data_ia; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_2_position_deg.SSM = A380SecComputer_B.SSM_lt; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_2_position_deg.Data = A380SecComputer_B.Data_j0; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_3_position_deg.SSM = A380SecComputer_B.SSM_ger; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.elevator_3_position_deg.Data = A380SecComputer_B.Data_bs; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.ths_position_deg.SSM = A380SecComputer_B.SSM_pxo; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.ths_position_deg.Data = A380SecComputer_B.Data_hp; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_status_word.SSM = A380SecComputer_B.SSM_co2; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_status_word.Data = A380SecComputer_B.Data_ct; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_1_position_deg.SSM = A380SecComputer_B.SSM_ny; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_1_position_deg.Data = A380SecComputer_B.Data_nzt; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_2_position_deg.SSM = A380SecComputer_B.SSM_l4; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.rudder_2_position_deg.Data = A380SecComputer_B.Data_c0; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.fctl_law_status_word.SSM = A380SecComputer_B.SSM_nm; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_ojg; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.discrete_status_word_1.SSM = A380SecComputer_B.SSM_nh; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.discrete_status_word_1.Data = A380SecComputer_B.Data_lm; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.fe_status_word.SSM = A380SecComputer_B.SSM_dl; + A380SecComputer_Y.out.data.bus_inputs.prim_3_bus.fe_status_word.Data = A380SecComputer_B.Data_fz; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_a5h; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_oz; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_fl; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_gf; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_p3; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_nn; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_ns; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_a0z; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_pedal_position_deg.SSM = A380SecComputer_B.SSM_bm; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_pedal_position_deg.Data = A380SecComputer_B.Data_fk; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.aileron_status_word.SSM = A380SecComputer_B.SSM_nl; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.aileron_status_word.Data = A380SecComputer_B.Data_o23; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_grm; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_aileron_1_position_deg.Data = A380SecComputer_B.Data_g3; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_gzm; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_aileron_2_position_deg.Data = A380SecComputer_B.Data_icc; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_oi; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_aileron_1_position_deg.Data = A380SecComputer_B.Data_pwf; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_aa; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_aileron_2_position_deg.Data = A380SecComputer_B.Data_gvk; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.spoiler_status_word.SSM = A380SecComputer_B.SSM_lw; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.spoiler_status_word.Data = A380SecComputer_B.Data_ln; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.SSM = A380SecComputer_B.SSM_fa; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.Data = A380SecComputer_B.Data_ka; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.SSM = A380SecComputer_B.SSM_lbx; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.Data = A380SecComputer_B.Data_mp; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.SSM = A380SecComputer_B.SSM_n3; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.Data = A380SecComputer_B.Data_m4; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.SSM = A380SecComputer_B.SSM_a1; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.Data = A380SecComputer_B.Data_fki; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_status_word.SSM = A380SecComputer_B.SSM_p1; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_status_word.Data = A380SecComputer_B.Data_m21; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_1_position_deg.SSM = A380SecComputer_B.SSM_cn2; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_1_position_deg.Data = A380SecComputer_B.Data_nbg; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_2_position_deg.SSM = A380SecComputer_B.SSM_an3; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_2_position_deg.Data = A380SecComputer_B.Data_l25; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_3_position_deg.SSM = A380SecComputer_B.SSM_c3; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.elevator_3_position_deg.Data = A380SecComputer_B.Data_ki; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.ths_position_deg.SSM = A380SecComputer_B.SSM_dp; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.ths_position_deg.Data = A380SecComputer_B.Data_p5p; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_status_word.SSM = A380SecComputer_B.SSM_lg; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_status_word.Data = A380SecComputer_B.Data_nry; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_1_position_deg.SSM = A380SecComputer_B.SSM_cm; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_1_position_deg.Data = A380SecComputer_B.Data_mh; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_2_position_deg.SSM = A380SecComputer_B.SSM_hl; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.rudder_2_position_deg.Data = A380SecComputer_B.Data_ll; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.fctl_law_status_word.SSM = A380SecComputer_B.SSM_irh; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_hy; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.misc_data_status_word.SSM = A380SecComputer_B.SSM_b42; + A380SecComputer_Y.out.data.bus_inputs.sec_x_bus.misc_data_status_word.Data = A380SecComputer_B.Data_j04; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_anz; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_pl; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.SSM = A380SecComputer_B.SSM_d2; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.Data = A380SecComputer_B.Data_gb; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_gov; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_hq; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.SSM = A380SecComputer_B.SSM_nb; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.Data = A380SecComputer_B.Data_ai; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_pedal_position_deg.SSM = A380SecComputer_B.SSM_pe3; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_pedal_position_deg.Data = A380SecComputer_B.Data_gfr; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.aileron_status_word.SSM = A380SecComputer_B.SSM_jx; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.aileron_status_word.Data = A380SecComputer_B.Data_czp; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_npl; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_aileron_1_position_deg.Data = A380SecComputer_B.Data_fm; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_gf; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_aileron_2_position_deg.Data = A380SecComputer_B.Data_jsg; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_aileron_1_position_deg.SSM = A380SecComputer_B.SSM_gbi; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_aileron_1_position_deg.Data = A380SecComputer_B.Data_g1; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_aileron_2_position_deg.SSM = A380SecComputer_B.SSM_fhm; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_aileron_2_position_deg.Data = A380SecComputer_B.Data_j4; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.spoiler_status_word.SSM = A380SecComputer_B.SSM_ltj; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.spoiler_status_word.Data = A380SecComputer_B.Data_e4; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.SSM = A380SecComputer_B.SSM_hn; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.Data = A380SecComputer_B.Data_ghs; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.SSM = A380SecComputer_B.SSM_h3; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.Data = A380SecComputer_B.Data_bmk; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.SSM = A380SecComputer_B.SSM_bfs; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.Data = A380SecComputer_B.Data_lzt; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.SSM = A380SecComputer_B.SSM_p0; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.Data = A380SecComputer_B.Data_kn; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_status_word.SSM = A380SecComputer_B.SSM_hr; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_status_word.Data = A380SecComputer_B.Data_nab; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_1_position_deg.SSM = A380SecComputer_B.SSM_bi; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_1_position_deg.Data = A380SecComputer_B.Data_lgf; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_2_position_deg.SSM = A380SecComputer_B.SSM_bd; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_2_position_deg.Data = A380SecComputer_B.Data_fpq; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_3_position_deg.SSM = A380SecComputer_B.SSM_omt; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.elevator_3_position_deg.Data = A380SecComputer_B.Data_dt; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.ths_position_deg.SSM = A380SecComputer_B.SSM_la; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.ths_position_deg.Data = A380SecComputer_B.Data_b1; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_status_word.SSM = A380SecComputer_B.SSM_l1; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_status_word.Data = A380SecComputer_B.Data_ea; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_1_position_deg.SSM = A380SecComputer_B.SSM_dy; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_1_position_deg.Data = A380SecComputer_B.Data_nib; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_2_position_deg.SSM = A380SecComputer_B.SSM_ie; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.rudder_2_position_deg.Data = A380SecComputer_B.Data_i2t; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.fctl_law_status_word.SSM = A380SecComputer_B.SSM_kf; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.fctl_law_status_word.Data = A380SecComputer_B.Data_ng; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.misc_data_status_word.SSM = A380SecComputer_B.SSM_p5l; + A380SecComputer_Y.out.data.bus_inputs.sec_y_bus.misc_data_status_word.Data = A380SecComputer_B.Data_h31; A380SecComputer_Y.out.data.bus_inputs.irdc_5_a_bus = A380SecComputer_B.irdc_5_a_bus; A380SecComputer_Y.out.data.bus_inputs.irdc_5_b_bus = A380SecComputer_B.irdc_5_b_bus; A380SecComputer_Y.out.laws = A380SecComputer_B.laws; @@ -3336,42 +3348,42 @@ void A380SecComputer::initialize() A380SecComputer_B.Data_jyh = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.altitude_standard_ft.Data; A380SecComputer_B.SSM_fu = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.altitude_corrected_ft.SSM; A380SecComputer_B.Data_nmr = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.altitude_corrected_ft.Data; - A380SecComputer_B.SSM_ie = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.mach.SSM; - A380SecComputer_B.Data_i2t = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.mach.Data; - A380SecComputer_B.SSM_kf = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.airspeed_computed_kn.SSM; - A380SecComputer_B.Data_ng = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.airspeed_computed_kn.Data; - A380SecComputer_B.SSM_p5l = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.airspeed_true_kn.SSM; - A380SecComputer_B.Data_h31 = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.airspeed_true_kn.Data; - A380SecComputer_B.SSM_g3 = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.vertical_speed_ft_min.SSM; - A380SecComputer_B.Data_ew = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.vertical_speed_ft_min.Data; - A380SecComputer_B.SSM_b3 = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.aoa_corrected_deg.SSM; - A380SecComputer_B.Data_j1s = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.aoa_corrected_deg.Data; - A380SecComputer_B.SSM_dxv = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.corrected_average_static_pressure.SSM; - A380SecComputer_B.Data_j5 = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.corrected_average_static_pressure.Data; - A380SecComputer_B.SSM_mxz = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.discrete_word_1.SSM; - A380SecComputer_B.Data_cw = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.discrete_word_1.Data; - A380SecComputer_B.SSM_kk4 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.latitude_deg.SSM; - A380SecComputer_B.Data_gqa = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.latitude_deg.Data; - A380SecComputer_B.SSM_cy = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.longitude_deg.SSM; - A380SecComputer_B.Data_hz = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.longitude_deg.Data; - A380SecComputer_B.SSM_ju = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.ground_speed_kn.SSM; - A380SecComputer_B.Data_fri = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.ground_speed_kn.Data; - A380SecComputer_B.SSM_ey = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.track_angle_true_deg.SSM; - A380SecComputer_B.Data_cm = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.track_angle_true_deg.Data; - A380SecComputer_B.SSM_jr = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.heading_true_deg.SSM; - A380SecComputer_B.Data_czj = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.heading_true_deg.Data; - A380SecComputer_B.SSM_hs = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.wind_speed_kn.SSM; - A380SecComputer_B.Data_mb = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.wind_speed_kn.Data; - A380SecComputer_B.SSM_mx3 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.wind_direction_true_deg.SSM; - A380SecComputer_B.Data_gk4 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.wind_direction_true_deg.Data; - A380SecComputer_B.SSM_er = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.track_angle_magnetic_deg.SSM; - A380SecComputer_B.Data_gbt = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.track_angle_magnetic_deg.Data; - A380SecComputer_B.SSM_hm = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.heading_magnetic_deg.SSM; - A380SecComputer_B.Data_p0 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.heading_magnetic_deg.Data; - A380SecComputer_B.SSM_dm = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.drift_angle_deg.SSM; - A380SecComputer_B.Data_dn = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.drift_angle_deg.Data; - A380SecComputer_B.SSM_fk = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.flight_path_angle_deg.SSM; - A380SecComputer_B.Data_iyw = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.flight_path_angle_deg.Data; + A380SecComputer_B.SSM_g3 = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.mach.SSM; + A380SecComputer_B.Data_ew = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.mach.Data; + A380SecComputer_B.SSM_b3 = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.airspeed_computed_kn.SSM; + A380SecComputer_B.Data_j1s = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.airspeed_computed_kn.Data; + A380SecComputer_B.SSM_dxv = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.airspeed_true_kn.SSM; + A380SecComputer_B.Data_j5 = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.airspeed_true_kn.Data; + A380SecComputer_B.SSM_mxz = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.vertical_speed_ft_min.SSM; + A380SecComputer_B.Data_cw = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.vertical_speed_ft_min.Data; + A380SecComputer_B.SSM_kk4 = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.aoa_corrected_deg.SSM; + A380SecComputer_B.Data_gqa = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.aoa_corrected_deg.Data; + A380SecComputer_B.SSM_cy = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.corrected_average_static_pressure.SSM; + A380SecComputer_B.Data_hz = A380SecComputer_P.out_Y0.data.bus_inputs.adr_2_bus.corrected_average_static_pressure.Data; + A380SecComputer_B.SSM_ju = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.discrete_word_1.SSM; + A380SecComputer_B.Data_fri = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.discrete_word_1.Data; + A380SecComputer_B.SSM_ey = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.latitude_deg.SSM; + A380SecComputer_B.Data_cm = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.latitude_deg.Data; + A380SecComputer_B.SSM_jr = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.longitude_deg.SSM; + A380SecComputer_B.Data_czj = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.longitude_deg.Data; + A380SecComputer_B.SSM_hs = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.ground_speed_kn.SSM; + A380SecComputer_B.Data_mb = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.ground_speed_kn.Data; + A380SecComputer_B.SSM_mx3 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.track_angle_true_deg.SSM; + A380SecComputer_B.Data_gk4 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.track_angle_true_deg.Data; + A380SecComputer_B.SSM_er = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.heading_true_deg.SSM; + A380SecComputer_B.Data_gbt = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.heading_true_deg.Data; + A380SecComputer_B.SSM_hm = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.wind_speed_kn.SSM; + A380SecComputer_B.Data_p0 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.wind_speed_kn.Data; + A380SecComputer_B.SSM_dm = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.wind_direction_true_deg.SSM; + A380SecComputer_B.Data_dn = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.wind_direction_true_deg.Data; + A380SecComputer_B.SSM_fk = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.track_angle_magnetic_deg.SSM; + A380SecComputer_B.Data_iyw = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.track_angle_magnetic_deg.Data; + A380SecComputer_B.SSM_lm1 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.heading_magnetic_deg.SSM; + A380SecComputer_B.Data_p5d = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.heading_magnetic_deg.Data; + A380SecComputer_B.SSM_nc = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.drift_angle_deg.SSM; + A380SecComputer_B.Data_oo = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.drift_angle_deg.Data; + A380SecComputer_B.SSM_e4 = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.flight_path_angle_deg.SSM; + A380SecComputer_B.Data_ho = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.flight_path_angle_deg.Data; A380SecComputer_B.SSM = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.flight_path_accel_g.SSM; A380SecComputer_B.Data = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.flight_path_accel_g.Data; A380SecComputer_B.SSM_k = A380SecComputer_P.out_Y0.data.bus_inputs.ir_1_bus.pitch_angle_deg.SSM; @@ -3603,326 +3615,330 @@ void A380SecComputer::initialize() A380SecComputer_B.Data_ch = A380SecComputer_P.out_Y0.data.bus_inputs.prim_1_bus.fctl_law_status_word.Data; A380SecComputer_B.SSM_d4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_1_bus.discrete_status_word_1.SSM; A380SecComputer_B.Data_bb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_1_bus.discrete_status_word_1.Data; - A380SecComputer_B.SSM_ars = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_ol = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_din = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_hw = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_m3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_hs = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_np = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_fj = + A380SecComputer_B.SSM_ars = A380SecComputer_P.out_Y0.data.bus_inputs.prim_1_bus.fe_status_word.SSM; + A380SecComputer_B.Data_ol = A380SecComputer_P.out_Y0.data.bus_inputs.prim_1_bus.fe_status_word.Data; + A380SecComputer_B.SSM_din = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_hw = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_inboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_m3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_hs = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_inboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_np = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_fj = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_midboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_ax = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_ky = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_midboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_ax = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_ky = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_cl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_h5 = + A380SecComputer_B.SSM_cl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_h5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_outboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_es = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_ku = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_outboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_es = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.SSM; - A380SecComputer_B.Data_ku = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.Data; - A380SecComputer_B.SSM_gi1 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.SSM; - A380SecComputer_B.Data_jp = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.Data; - A380SecComputer_B.SSM_jz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.SSM; - A380SecComputer_B.Data_nu = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.Data; - A380SecComputer_B.SSM_kt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.SSM; - A380SecComputer_B.Data_br = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.Data; - A380SecComputer_B.SSM_ds = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.SSM; - A380SecComputer_B.Data_ae = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.Data; - A380SecComputer_B.SSM_eg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.SSM; - A380SecComputer_B.Data_pe = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.Data; - A380SecComputer_B.SSM_a0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.SSM; - A380SecComputer_B.Data_fy = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.Data; - A380SecComputer_B.SSM_cv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.SSM; - A380SecComputer_B.Data_na = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.Data; - A380SecComputer_B.SSM_ea = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.SSM; - A380SecComputer_B.Data_my = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.Data; - A380SecComputer_B.SSM_p4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.SSM; - A380SecComputer_B.Data_i4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.Data; - A380SecComputer_B.SSM_m2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.SSM; - A380SecComputer_B.Data_cx = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.Data; - A380SecComputer_B.SSM_bt0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.SSM; - A380SecComputer_B.Data_nz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.Data; - A380SecComputer_B.SSM_nr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.SSM; - A380SecComputer_B.Data_id = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.Data; - A380SecComputer_B.SSM_fr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.SSM; - A380SecComputer_B.Data_o2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.Data; - A380SecComputer_B.SSM_cc = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.SSM; - A380SecComputer_B.Data_gqq = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.Data; - A380SecComputer_B.SSM_lm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.SSM; - A380SecComputer_B.Data_md = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.Data; - A380SecComputer_B.SSM_mkm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_cz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_jhd = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_pm = - A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_av = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.SSM; + A380SecComputer_B.SSM_gi1 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.SSM; + A380SecComputer_B.Data_jp = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_1_command_deg.Data; + A380SecComputer_B.SSM_jz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.SSM; + A380SecComputer_B.Data_nu = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_1_command_deg.Data; + A380SecComputer_B.SSM_kt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.SSM; + A380SecComputer_B.Data_br = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_ds = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.SSM; + A380SecComputer_B.Data_ae = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_eg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.SSM; + A380SecComputer_B.Data_pe = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_3_command_deg.Data; + A380SecComputer_B.SSM_a0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.SSM; + A380SecComputer_B.Data_fy = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_3_command_deg.Data; + A380SecComputer_B.SSM_cv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.SSM; + A380SecComputer_B.Data_na = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_4_command_deg.Data; + A380SecComputer_B.SSM_ea = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.SSM; + A380SecComputer_B.Data_my = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_4_command_deg.Data; + A380SecComputer_B.SSM_p4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.SSM; + A380SecComputer_B.Data_i4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_5_command_deg.Data; + A380SecComputer_B.SSM_m2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.SSM; + A380SecComputer_B.Data_cx = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_5_command_deg.Data; + A380SecComputer_B.SSM_bt0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.SSM; + A380SecComputer_B.Data_nz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_6_command_deg.Data; + A380SecComputer_B.SSM_nr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.SSM; + A380SecComputer_B.Data_id = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_6_command_deg.Data; + A380SecComputer_B.SSM_fr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.SSM; + A380SecComputer_B.Data_o2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_cc = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.SSM; + A380SecComputer_B.Data_gqq = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_lm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.SSM; + A380SecComputer_B.Data_md = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_8_command_deg.Data; + A380SecComputer_B.SSM_mkm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.SSM; + A380SecComputer_B.Data_cz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_8_command_deg.Data; + A380SecComputer_B.SSM_jhd = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_pm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_inboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_av = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.SSM; A380SecComputer_B.Data_bj = - A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_ira = - A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.SSM; + A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_inboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_ira = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.SSM; A380SecComputer_B.Data_ox = + A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_outboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_ge = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_pe5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_outboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_ge = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.ths_command_deg.SSM; - A380SecComputer_B.Data_pe5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.ths_command_deg.Data; - A380SecComputer_B.SSM_lv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.upper_rudder_command_deg.SSM; - A380SecComputer_B.Data_jj = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.upper_rudder_command_deg.Data; - A380SecComputer_B.SSM_cg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.lower_rudder_command_deg.SSM; - A380SecComputer_B.Data_p5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.lower_rudder_command_deg.Data; - A380SecComputer_B.SSM_be = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_ekl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_axb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_nd = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_nz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_n2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_cx = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_dl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_gh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_pedal_position_deg.SSM; - A380SecComputer_B.Data_gs2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_pedal_position_deg.Data; - A380SecComputer_B.SSM_ks = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.aileron_status_word.SSM; - A380SecComputer_B.Data_h4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.aileron_status_word.Data; - A380SecComputer_B.SSM_pw = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_e3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_fh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_f5h = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_gzn = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_an = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_oo = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_i4o = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_evh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.spoiler_status_word.SSM; - A380SecComputer_B.Data_af = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.spoiler_status_word.Data; - A380SecComputer_B.SSM_cn = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_position_deg.SSM; - A380SecComputer_B.Data_bm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_position_deg.Data; - A380SecComputer_B.SSM_co = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_position_deg.SSM; - A380SecComputer_B.Data_dk = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_position_deg.Data; - A380SecComputer_B.SSM_pe = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_status_word.SSM; - A380SecComputer_B.Data_nv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_status_word.Data; - A380SecComputer_B.SSM_cgz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_1_position_deg.SSM; - A380SecComputer_B.Data_jpf = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_1_position_deg.Data; - A380SecComputer_B.SSM_fw = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_2_position_deg.SSM; - A380SecComputer_B.Data_i5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_2_position_deg.Data; - A380SecComputer_B.SSM_h4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_3_position_deg.SSM; - A380SecComputer_B.Data_k2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_3_position_deg.Data; - A380SecComputer_B.SSM_cb3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.ths_position_deg.SSM; - A380SecComputer_B.Data_as = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.ths_position_deg.Data; - A380SecComputer_B.SSM_pj = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_status_word.SSM; - A380SecComputer_B.Data_gk = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_status_word.Data; - A380SecComputer_B.SSM_dv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_1_position_deg.SSM; - A380SecComputer_B.Data_jl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_1_position_deg.Data; - A380SecComputer_B.SSM_i4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_2_position_deg.SSM; - A380SecComputer_B.Data_e32 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_2_position_deg.Data; - A380SecComputer_B.SSM_fm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.fctl_law_status_word.SSM; - A380SecComputer_B.Data_ih = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.fctl_law_status_word.Data; - A380SecComputer_B.SSM_e5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.discrete_status_word_1.SSM; - A380SecComputer_B.Data_du = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.discrete_status_word_1.Data; - A380SecComputer_B.SSM_bf = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_nx = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_fd = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_n0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_fv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_eqi = - A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_dt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_om = - A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_j5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.SSM; - A380SecComputer_B.Data_nr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_cs = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.SSM; + A380SecComputer_B.SSM_lv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.ths_command_deg.SSM; + A380SecComputer_B.Data_jj = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.ths_command_deg.Data; + A380SecComputer_B.SSM_cg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.upper_rudder_command_deg.SSM; + A380SecComputer_B.Data_p5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.upper_rudder_command_deg.Data; + A380SecComputer_B.SSM_be = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.lower_rudder_command_deg.SSM; + A380SecComputer_B.Data_ekl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.lower_rudder_command_deg.Data; + A380SecComputer_B.SSM_axb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_nd = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_nz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_n2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_cx = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_dl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_gh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_gs2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_ks = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_pedal_position_deg.SSM; + A380SecComputer_B.Data_h4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_pedal_position_deg.Data; + A380SecComputer_B.SSM_pw = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.aileron_status_word.SSM; + A380SecComputer_B.Data_e3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_fh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_f5h = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_gzn = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_an = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_oo = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_i4o = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_evh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_af = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_cn = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.spoiler_status_word.SSM; + A380SecComputer_B.Data_bm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_co = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_position_deg.SSM; + A380SecComputer_B.Data_dk = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.left_spoiler_position_deg.Data; + A380SecComputer_B.SSM_pe = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_position_deg.SSM; + A380SecComputer_B.Data_nv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.right_spoiler_position_deg.Data; + A380SecComputer_B.SSM_cgz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_status_word.SSM; + A380SecComputer_B.Data_jpf = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_status_word.Data; + A380SecComputer_B.SSM_fw = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_1_position_deg.SSM; + A380SecComputer_B.Data_i5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_1_position_deg.Data; + A380SecComputer_B.SSM_h4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_2_position_deg.SSM; + A380SecComputer_B.Data_k2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_cb3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_3_position_deg.SSM; + A380SecComputer_B.Data_as = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.elevator_3_position_deg.Data; + A380SecComputer_B.SSM_pj = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.ths_position_deg.SSM; + A380SecComputer_B.Data_gk = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.ths_position_deg.Data; + A380SecComputer_B.SSM_dv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_status_word.SSM; + A380SecComputer_B.Data_jl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_status_word.Data; + A380SecComputer_B.SSM_i4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_1_position_deg.SSM; + A380SecComputer_B.Data_e32 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_1_position_deg.Data; + A380SecComputer_B.SSM_fm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_2_position_deg.SSM; + A380SecComputer_B.Data_ih = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_e5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.fctl_law_status_word.SSM; + A380SecComputer_B.Data_du = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.fctl_law_status_word.Data; + A380SecComputer_B.SSM_bf = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.discrete_status_word_1.SSM; + A380SecComputer_B.Data_nx = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.discrete_status_word_1.Data; + A380SecComputer_B.SSM_fd = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.fe_status_word.SSM; + A380SecComputer_B.Data_n0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_2_bus.fe_status_word.Data; + A380SecComputer_B.SSM_fv = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_eqi = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_inboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_dt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_om = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_inboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_j5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_nr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_midboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_cs = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.SSM; A380SecComputer_B.Data_p3 = + A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_midboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_ls = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_nb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_outboard_aileron_command_deg.Data; + A380SecComputer_B.SSM_dg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.SSM; + A380SecComputer_B.Data_hd = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_outboard_aileron_command_deg.Data; - A380SecComputer_B.SSM_ls = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.SSM; - A380SecComputer_B.Data_nb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.Data; - A380SecComputer_B.SSM_dg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.SSM; - A380SecComputer_B.Data_hd = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.Data; - A380SecComputer_B.SSM_d3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.SSM; - A380SecComputer_B.Data_al = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.Data; - A380SecComputer_B.SSM_p2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.SSM; - A380SecComputer_B.Data_gu = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.Data; - A380SecComputer_B.SSM_bo0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.SSM; - A380SecComputer_B.Data_do = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.Data; - A380SecComputer_B.SSM_bc = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.SSM; - A380SecComputer_B.Data_hu = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.Data; - A380SecComputer_B.SSM_h0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.SSM; - A380SecComputer_B.Data_pm1 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.Data; - A380SecComputer_B.SSM_giz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.SSM; - A380SecComputer_B.Data_i2y = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.Data; - A380SecComputer_B.SSM_mqp = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.SSM; - A380SecComputer_B.Data_pg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.Data; - A380SecComputer_B.SSM_in = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.SSM; - A380SecComputer_B.Data_ni = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.Data; - A380SecComputer_B.SSM_ff = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.SSM; - A380SecComputer_B.Data_fr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.Data; - A380SecComputer_B.SSM_ic = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.SSM; - A380SecComputer_B.Data_cn = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.Data; - A380SecComputer_B.SSM_fs = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.SSM; - A380SecComputer_B.Data_nxl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.Data; - A380SecComputer_B.SSM_ja = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.SSM; - A380SecComputer_B.Data_jh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.Data; - A380SecComputer_B.SSM_js = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.SSM; - A380SecComputer_B.Data_gn = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.Data; - A380SecComputer_B.SSM_is3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.SSM; - A380SecComputer_B.Data_myb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.Data; - A380SecComputer_B.SSM_ag = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_l2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_f5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_o5o = + A380SecComputer_B.SSM_d3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.SSM; + A380SecComputer_B.Data_al = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_1_command_deg.Data; + A380SecComputer_B.SSM_p2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.SSM; + A380SecComputer_B.Data_gu = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_1_command_deg.Data; + A380SecComputer_B.SSM_bo0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.SSM; + A380SecComputer_B.Data_do = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_bc = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.SSM; + A380SecComputer_B.Data_hu = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_2_command_deg.Data; + A380SecComputer_B.SSM_h0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.SSM; + A380SecComputer_B.Data_pm1 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_3_command_deg.Data; + A380SecComputer_B.SSM_giz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.SSM; + A380SecComputer_B.Data_i2y = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_3_command_deg.Data; + A380SecComputer_B.SSM_mqp = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.SSM; + A380SecComputer_B.Data_pg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_4_command_deg.Data; + A380SecComputer_B.SSM_in = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.SSM; + A380SecComputer_B.Data_ni = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_4_command_deg.Data; + A380SecComputer_B.SSM_ff = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.SSM; + A380SecComputer_B.Data_fr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_5_command_deg.Data; + A380SecComputer_B.SSM_ic = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.SSM; + A380SecComputer_B.Data_cn = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_5_command_deg.Data; + A380SecComputer_B.SSM_fs = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.SSM; + A380SecComputer_B.Data_nxl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_6_command_deg.Data; + A380SecComputer_B.SSM_ja = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.SSM; + A380SecComputer_B.Data_jh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_6_command_deg.Data; + A380SecComputer_B.SSM_js = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.SSM; + A380SecComputer_B.Data_gn = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_is3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.SSM; + A380SecComputer_B.Data_myb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_7_command_deg.Data; + A380SecComputer_B.SSM_ag = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.SSM; + A380SecComputer_B.Data_l2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_8_command_deg.Data; + A380SecComputer_B.SSM_f5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.SSM; + A380SecComputer_B.Data_o5o = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_8_command_deg.Data; + A380SecComputer_B.SSM_ph = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_l5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_inboard_elevator_command_deg.Data; + A380SecComputer_B.SSM_jy = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_dc2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_inboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_ph = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_l5 = + A380SecComputer_B.SSM_j1 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_gr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_outboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_jy = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.SSM; - A380SecComputer_B.Data_dc2 = + A380SecComputer_B.SSM_ov = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.SSM; + A380SecComputer_B.Data_gp = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_outboard_elevator_command_deg.Data; - A380SecComputer_B.SSM_j1 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.ths_command_deg.SSM; - A380SecComputer_B.Data_gr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.ths_command_deg.Data; - A380SecComputer_B.SSM_ov = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.upper_rudder_command_deg.SSM; - A380SecComputer_B.Data_gp = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.upper_rudder_command_deg.Data; - A380SecComputer_B.SSM_mx = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.lower_rudder_command_deg.SSM; - A380SecComputer_B.Data_i3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.lower_rudder_command_deg.Data; - A380SecComputer_B.SSM_b4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_et = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_gb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_k3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_oh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_f2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_mm5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_gh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_br = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_pedal_position_deg.SSM; - A380SecComputer_B.Data_ed = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_pedal_position_deg.Data; - A380SecComputer_B.SSM_c2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.aileron_status_word.SSM; - A380SecComputer_B.Data_o2j = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.aileron_status_word.Data; - A380SecComputer_B.SSM_ktr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_i43 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_gl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_ic = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_my = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_ak = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_j3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_jg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_go = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.spoiler_status_word.SSM; - A380SecComputer_B.Data_cu = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.spoiler_status_word.Data; - A380SecComputer_B.SSM_e5c = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_position_deg.SSM; - A380SecComputer_B.Data_d3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_position_deg.Data; - A380SecComputer_B.SSM_dk = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_position_deg.SSM; - A380SecComputer_B.Data_bt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_position_deg.Data; - A380SecComputer_B.SSM_evc = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_status_word.SSM; - A380SecComputer_B.Data_e0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_status_word.Data; - A380SecComputer_B.SSM_kk = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_1_position_deg.SSM; - A380SecComputer_B.Data_jl3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_1_position_deg.Data; - A380SecComputer_B.SSM_af = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_2_position_deg.SSM; - A380SecComputer_B.Data_nm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_2_position_deg.Data; - A380SecComputer_B.SSM_ew = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_3_position_deg.SSM; - A380SecComputer_B.Data_ia = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_3_position_deg.Data; - A380SecComputer_B.SSM_lt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.ths_position_deg.SSM; - A380SecComputer_B.Data_j0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.ths_position_deg.Data; - A380SecComputer_B.SSM_ger = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_status_word.SSM; - A380SecComputer_B.Data_bs = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_status_word.Data; - A380SecComputer_B.SSM_pxo = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_1_position_deg.SSM; - A380SecComputer_B.Data_hp = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_1_position_deg.Data; - A380SecComputer_B.SSM_co2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_2_position_deg.SSM; - A380SecComputer_B.Data_ct = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_2_position_deg.Data; - A380SecComputer_B.SSM_ny = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.fctl_law_status_word.SSM; - A380SecComputer_B.Data_nzt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.fctl_law_status_word.Data; - A380SecComputer_B.SSM_l4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.discrete_status_word_1.SSM; - A380SecComputer_B.Data_c0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.discrete_status_word_1.Data; - A380SecComputer_B.SSM_nm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_ojg = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_nh = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_lm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_dl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_fz = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_a5h = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_oz = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_fl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_pedal_position_deg.SSM; - A380SecComputer_B.Data_gf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_pedal_position_deg.Data; - A380SecComputer_B.SSM_p3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.aileron_status_word.SSM; - A380SecComputer_B.Data_nn = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.aileron_status_word.Data; - A380SecComputer_B.SSM_ns = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_a0z = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_bm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_fk = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_nl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_o23 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_grm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_g3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_gzm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.spoiler_status_word.SSM; - A380SecComputer_B.Data_icc = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.spoiler_status_word.Data; - A380SecComputer_B.SSM_oi = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.SSM; - A380SecComputer_B.Data_pwf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.Data; - A380SecComputer_B.SSM_aa = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.SSM; - A380SecComputer_B.Data_gvk = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.Data; - A380SecComputer_B.SSM_lw = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.SSM; - A380SecComputer_B.Data_ln = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.Data; - A380SecComputer_B.SSM_fa = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.SSM; - A380SecComputer_B.Data_ka = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.Data; - A380SecComputer_B.SSM_lbx = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_status_word.SSM; - A380SecComputer_B.Data_mp = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_status_word.Data; - A380SecComputer_B.SSM_n3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_1_position_deg.SSM; - A380SecComputer_B.Data_m4 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_1_position_deg.Data; - A380SecComputer_B.SSM_a1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_2_position_deg.SSM; - A380SecComputer_B.Data_fki = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_2_position_deg.Data; - A380SecComputer_B.SSM_p1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_3_position_deg.SSM; - A380SecComputer_B.Data_m21 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_3_position_deg.Data; - A380SecComputer_B.SSM_cn2 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.ths_position_deg.SSM; - A380SecComputer_B.Data_nbg = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.ths_position_deg.Data; - A380SecComputer_B.SSM_an3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_status_word.SSM; - A380SecComputer_B.Data_l25 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_status_word.Data; - A380SecComputer_B.SSM_c3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_1_position_deg.SSM; - A380SecComputer_B.Data_ki = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_1_position_deg.Data; - A380SecComputer_B.SSM_dp = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_2_position_deg.SSM; - A380SecComputer_B.Data_p5p = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_2_position_deg.Data; - A380SecComputer_B.SSM_lg = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.fctl_law_status_word.SSM; - A380SecComputer_B.Data_nry = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.fctl_law_status_word.Data; - A380SecComputer_B.SSM_cm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.misc_data_status_word.SSM; - A380SecComputer_B.Data_mh = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.misc_data_status_word.Data; - A380SecComputer_B.SSM_hl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_ll = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_irh = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.SSM; - A380SecComputer_B.Data_hy = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.Data; - A380SecComputer_B.SSM_b42 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_j04 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_anz = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.SSM; - A380SecComputer_B.Data_pl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.Data; - A380SecComputer_B.SSM_d2 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_pedal_position_deg.SSM; - A380SecComputer_B.Data_gb = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_pedal_position_deg.Data; - A380SecComputer_B.SSM_gov = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.aileron_status_word.SSM; - A380SecComputer_B.Data_hq = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.aileron_status_word.Data; - A380SecComputer_B.SSM_nb = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_ai = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_pe3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_gfr = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_jx = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_aileron_1_position_deg.SSM; - A380SecComputer_B.Data_czp = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_aileron_1_position_deg.Data; - A380SecComputer_B.SSM_npl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_aileron_2_position_deg.SSM; - A380SecComputer_B.Data_fm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_aileron_2_position_deg.Data; - A380SecComputer_B.SSM_gf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.spoiler_status_word.SSM; - A380SecComputer_B.Data_jsg = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.spoiler_status_word.Data; - A380SecComputer_B.SSM_gbi = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.SSM; - A380SecComputer_B.Data_g1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.Data; - A380SecComputer_B.SSM_fhm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.SSM; - A380SecComputer_B.Data_j4 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.Data; - A380SecComputer_B.SSM_ltj = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.SSM; - A380SecComputer_B.Data_e4 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.Data; - A380SecComputer_B.SSM_hn = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.SSM; - A380SecComputer_B.Data_ghs = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.Data; - A380SecComputer_B.SSM_h3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_status_word.SSM; - A380SecComputer_B.Data_bmk = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_status_word.Data; - A380SecComputer_B.SSM_bfs = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_1_position_deg.SSM; - A380SecComputer_B.Data_lzt = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_1_position_deg.Data; - A380SecComputer_B.SSM_p0 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_2_position_deg.SSM; - A380SecComputer_B.Data_kn = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_2_position_deg.Data; - A380SecComputer_B.SSM_hr = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_3_position_deg.SSM; - A380SecComputer_B.Data_nab = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_3_position_deg.Data; - A380SecComputer_B.SSM_bi = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.ths_position_deg.SSM; - A380SecComputer_B.Data_lgf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.ths_position_deg.Data; - A380SecComputer_B.SSM_bd = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_status_word.SSM; - A380SecComputer_B.Data_fpq = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_status_word.Data; - A380SecComputer_B.SSM_omt = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_1_position_deg.SSM; - A380SecComputer_B.Data_dt = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_1_position_deg.Data; - A380SecComputer_B.SSM_la = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_2_position_deg.SSM; - A380SecComputer_B.Data_b1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_2_position_deg.Data; - A380SecComputer_B.SSM_l1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.fctl_law_status_word.SSM; - A380SecComputer_B.Data_ea = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.fctl_law_status_word.Data; - A380SecComputer_B.SSM_dy = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.misc_data_status_word.SSM; - A380SecComputer_B.Data_nib = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.misc_data_status_word.Data; + A380SecComputer_B.SSM_mx = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.ths_command_deg.SSM; + A380SecComputer_B.Data_i3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.ths_command_deg.Data; + A380SecComputer_B.SSM_b4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.upper_rudder_command_deg.SSM; + A380SecComputer_B.Data_et = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.upper_rudder_command_deg.Data; + A380SecComputer_B.SSM_gb = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.lower_rudder_command_deg.SSM; + A380SecComputer_B.Data_k3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.lower_rudder_command_deg.Data; + A380SecComputer_B.SSM_oh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_f2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_mm5 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_gh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_br = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_ed = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_c2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_o2j = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_ktr = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_pedal_position_deg.SSM; + A380SecComputer_B.Data_i43 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_pedal_position_deg.Data; + A380SecComputer_B.SSM_gl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.aileron_status_word.SSM; + A380SecComputer_B.Data_ic = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_my = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_ak = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_j3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_jg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_go = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_cu = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_e5c = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_d3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_dk = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.spoiler_status_word.SSM; + A380SecComputer_B.Data_bt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_evc = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_position_deg.SSM; + A380SecComputer_B.Data_e0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.left_spoiler_position_deg.Data; + A380SecComputer_B.SSM_kk = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_position_deg.SSM; + A380SecComputer_B.Data_jl3 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.right_spoiler_position_deg.Data; + A380SecComputer_B.SSM_af = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_status_word.SSM; + A380SecComputer_B.Data_nm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_status_word.Data; + A380SecComputer_B.SSM_ew = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_1_position_deg.SSM; + A380SecComputer_B.Data_ia = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_1_position_deg.Data; + A380SecComputer_B.SSM_lt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_2_position_deg.SSM; + A380SecComputer_B.Data_j0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_ger = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_3_position_deg.SSM; + A380SecComputer_B.Data_bs = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.elevator_3_position_deg.Data; + A380SecComputer_B.SSM_pxo = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.ths_position_deg.SSM; + A380SecComputer_B.Data_hp = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.ths_position_deg.Data; + A380SecComputer_B.SSM_co2 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_status_word.SSM; + A380SecComputer_B.Data_ct = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_status_word.Data; + A380SecComputer_B.SSM_ny = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_1_position_deg.SSM; + A380SecComputer_B.Data_nzt = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_1_position_deg.Data; + A380SecComputer_B.SSM_l4 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_2_position_deg.SSM; + A380SecComputer_B.Data_c0 = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_nm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.fctl_law_status_word.SSM; + A380SecComputer_B.Data_ojg = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.fctl_law_status_word.Data; + A380SecComputer_B.SSM_nh = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.discrete_status_word_1.SSM; + A380SecComputer_B.Data_lm = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.discrete_status_word_1.Data; + A380SecComputer_B.SSM_dl = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.fe_status_word.SSM; + A380SecComputer_B.Data_fz = A380SecComputer_P.out_Y0.data.bus_inputs.prim_3_bus.fe_status_word.Data; + A380SecComputer_B.SSM_a5h = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_oz = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_fl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_gf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_p3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_nn = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_ns = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_a0z = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_bm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_pedal_position_deg.SSM; + A380SecComputer_B.Data_fk = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_pedal_position_deg.Data; + A380SecComputer_B.SSM_nl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.aileron_status_word.SSM; + A380SecComputer_B.Data_o23 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_grm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_g3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_gzm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_icc = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_oi = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_pwf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_aa = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_gvk = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_lw = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.spoiler_status_word.SSM; + A380SecComputer_B.Data_ln = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_fa = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.SSM; + A380SecComputer_B.Data_ka = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_lbx = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.SSM; + A380SecComputer_B.Data_mp = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_n3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.SSM; + A380SecComputer_B.Data_m4 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.left_spoiler_2_position_deg.Data; + A380SecComputer_B.SSM_a1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.SSM; + A380SecComputer_B.Data_fki = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.right_spoiler_2_position_deg.Data; + A380SecComputer_B.SSM_p1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_status_word.SSM; + A380SecComputer_B.Data_m21 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_status_word.Data; + A380SecComputer_B.SSM_cn2 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_1_position_deg.SSM; + A380SecComputer_B.Data_nbg = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_1_position_deg.Data; + A380SecComputer_B.SSM_an3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_2_position_deg.SSM; + A380SecComputer_B.Data_l25 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_c3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_3_position_deg.SSM; + A380SecComputer_B.Data_ki = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.elevator_3_position_deg.Data; + A380SecComputer_B.SSM_dp = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.ths_position_deg.SSM; + A380SecComputer_B.Data_p5p = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.ths_position_deg.Data; + A380SecComputer_B.SSM_lg = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_status_word.SSM; + A380SecComputer_B.Data_nry = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_status_word.Data; + A380SecComputer_B.SSM_cm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_1_position_deg.SSM; + A380SecComputer_B.Data_mh = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_1_position_deg.Data; + A380SecComputer_B.SSM_hl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_2_position_deg.SSM; + A380SecComputer_B.Data_ll = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_irh = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.fctl_law_status_word.SSM; + A380SecComputer_B.Data_hy = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.fctl_law_status_word.Data; + A380SecComputer_B.SSM_b42 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.misc_data_status_word.SSM; + A380SecComputer_B.Data_j04 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_x_bus.misc_data_status_word.Data; + A380SecComputer_B.SSM_anz = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_pl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_d2 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.SSM; + A380SecComputer_B.Data_gb = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_sidestick_pitch_command_deg.Data; + A380SecComputer_B.SSM_gov = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_hq = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_nb = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.SSM; + A380SecComputer_B.Data_ai = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_sidestick_roll_command_deg.Data; + A380SecComputer_B.SSM_pe3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_pedal_position_deg.SSM; + A380SecComputer_B.Data_gfr = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_pedal_position_deg.Data; + A380SecComputer_B.SSM_jx = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.aileron_status_word.SSM; + A380SecComputer_B.Data_czp = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.aileron_status_word.Data; + A380SecComputer_B.SSM_npl = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_fm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_gf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_jsg = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_gbi = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_aileron_1_position_deg.SSM; + A380SecComputer_B.Data_g1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_aileron_1_position_deg.Data; + A380SecComputer_B.SSM_fhm = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_aileron_2_position_deg.SSM; + A380SecComputer_B.Data_j4 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_aileron_2_position_deg.Data; + A380SecComputer_B.SSM_ltj = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.spoiler_status_word.SSM; + A380SecComputer_B.Data_e4 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.spoiler_status_word.Data; + A380SecComputer_B.SSM_hn = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.SSM; + A380SecComputer_B.Data_ghs = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_h3 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.SSM; + A380SecComputer_B.Data_bmk = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_spoiler_1_position_deg.Data; + A380SecComputer_B.SSM_bfs = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.SSM; + A380SecComputer_B.Data_lzt = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.left_spoiler_2_position_deg.Data; + A380SecComputer_B.SSM_p0 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.SSM; + A380SecComputer_B.Data_kn = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.right_spoiler_2_position_deg.Data; + A380SecComputer_B.SSM_hr = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_status_word.SSM; + A380SecComputer_B.Data_nab = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_status_word.Data; + A380SecComputer_B.SSM_bi = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_1_position_deg.SSM; + A380SecComputer_B.Data_lgf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_1_position_deg.Data; + A380SecComputer_B.SSM_bd = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_2_position_deg.SSM; + A380SecComputer_B.Data_fpq = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_2_position_deg.Data; + A380SecComputer_B.SSM_omt = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_3_position_deg.SSM; + A380SecComputer_B.Data_dt = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.elevator_3_position_deg.Data; + A380SecComputer_B.SSM_la = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.ths_position_deg.SSM; + A380SecComputer_B.Data_b1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.ths_position_deg.Data; + A380SecComputer_B.SSM_l1 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_status_word.SSM; + A380SecComputer_B.Data_ea = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_status_word.Data; + A380SecComputer_B.SSM_dy = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_1_position_deg.SSM; + A380SecComputer_B.Data_nib = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_1_position_deg.Data; + A380SecComputer_B.SSM_ie = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_2_position_deg.SSM; + A380SecComputer_B.Data_i2t = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.rudder_2_position_deg.Data; + A380SecComputer_B.SSM_kf = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.fctl_law_status_word.SSM; + A380SecComputer_B.Data_ng = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.fctl_law_status_word.Data; + A380SecComputer_B.SSM_p5l = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.misc_data_status_word.SSM; + A380SecComputer_B.Data_h31 = A380SecComputer_P.out_Y0.data.bus_inputs.sec_y_bus.misc_data_status_word.Data; A380SecComputer_B.laws = A380SecComputer_P.out_Y0.laws; A380SecComputer_B.logic = A380SecComputer_P.out_Y0.logic; A380SecComputer_Y.out.discrete_outputs = A380SecComputer_P.out_Y0.discrete_outputs; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer.h b/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer.h index 5178b04ca85..f36636b9b01 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer.h +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer.h @@ -353,6 +353,9 @@ class A380SecComputer final uint32_T SSM_hm; uint32_T SSM_dm; uint32_T SSM_fk; + uint32_T SSM_lm1; + uint32_T SSM_nc; + uint32_T SSM_e4; real32_T Data; real32_T Data_f; real32_T Data_fw; @@ -647,6 +650,9 @@ class A380SecComputer final real32_T Data_p0; real32_T Data_dn; real32_T Data_iyw; + real32_T Data_p5d; + real32_T Data_oo; + real32_T Data_ho; boolean_T is_unit_1; boolean_T is_unit_2; boolean_T is_unit_3; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer_data.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer_data.cpp index a9c03c07475..b3a28fa2299 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer_data.cpp +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer_data.cpp @@ -1066,6 +1066,11 @@ A380SecComputer::Parameters_A380SecComputer_T A380SecComputer::A380SecComputer_P 0.0F }, + { + 0U, + 0.0F + }, + { 0U, 0.0F @@ -1328,6 +1333,11 @@ A380SecComputer::Parameters_A380SecComputer_T A380SecComputer::A380SecComputer_P 0.0F }, + { + 0U, + 0.0F + }, + { 0U, 0.0F @@ -1590,6 +1600,11 @@ A380SecComputer::Parameters_A380SecComputer_T A380SecComputer::A380SecComputer_P 0.0F }, + { + 0U, + 0.0F + }, + { 0U, 0.0F diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer_types.h b/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer_types.h index c4c6beeb796..cb7849cfe26 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer_types.h +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/A380SecComputer_types.h @@ -232,6 +232,7 @@ struct base_prim_out_bus base_arinc_429 rudder_2_position_deg; base_arinc_429 fctl_law_status_word; base_arinc_429 discrete_status_word_1; + base_arinc_429 fe_status_word; }; #endif diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotLaws.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotLaws.cpp index b5d1ea9d6d6..0965eb0a42e 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotLaws.cpp +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotLaws.cpp @@ -462,9 +462,9 @@ void AutopilotLawsModelClass::step() real_T rtb_Sum_i; real_T rtb_Vz; real_T rtb_Y_af; - real_T rtb_Y_e; - real_T rtb_Y_h; - real_T rtb_Y_j; + real_T rtb_Y_c; + real_T rtb_Y_f; + real_T rtb_Y_fw; real_T rtb_dme; real_T rtb_lo; real_T rtb_lo_i; @@ -483,9 +483,9 @@ void AutopilotLawsModelClass::step() real_T Phi1_tmp; real_T limit_tmp; - real_T rtb_Y_a_tmp; + real_T rtb_Y_ni_tmp; boolean_T guard1; - rtb_Y_e = ((AutopilotLaws_U.in.input.enabled_AP1 != 0.0) || (AutopilotLaws_U.in.input.enabled_AP2 != 0.0)); + rtb_Y_c = ((AutopilotLaws_U.in.input.enabled_AP1 != 0.0) || (AutopilotLaws_U.in.input.enabled_AP2 != 0.0)); rtb_GainTheta = AutopilotLaws_P.GainTheta_Gain * AutopilotLaws_U.in.data.Theta_deg; rtb_GainTheta1 = AutopilotLaws_P.GainTheta1_Gain * AutopilotLaws_U.in.data.Phi_deg; rtb_dme = 0.017453292519943295 * rtb_GainTheta; @@ -720,7 +720,7 @@ void AutopilotLawsModelClass::step() rtb_Compare_jy = (AutopilotLaws_U.in.data.altimeter_setting_left_mbar != AutopilotLaws_DWork.DelayInput1_DSTATE); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_DWork.DelayInput1_DSTATE_g; rtb_BusAssignment = AutopilotLaws_P.ap_laws_output_MATLABStruct; - rtb_BusAssignment.output.ap_on = rtb_Y_e; + rtb_BusAssignment.output.ap_on = rtb_Y_c; rtb_BusAssignment.time = AutopilotLaws_U.in.time; rtb_BusAssignment.data.aircraft_position = AutopilotLaws_U.in.data.aircraft_position; rtb_BusAssignment.data.Theta_deg = rtb_GainTheta; @@ -951,7 +951,7 @@ void AutopilotLawsModelClass::step() R = Phi1 * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Gain_Gain_o * result[2]; rtb_Sum_gq = AutopilotLaws_P.Gain1_Gain_o * R + AutopilotLaws_DWork.DelayInput1_DSTATE; - AutopilotLaws_MATLABFunction_m(AutopilotLaws_U.in.input.Psi_c_deg, Phi1, rtb_Sum_gq, &rtb_Y_j, &rtb_lo_i, + AutopilotLaws_MATLABFunction_m(AutopilotLaws_U.in.input.Psi_c_deg, Phi1, rtb_Sum_gq, &rtb_Y_f, &rtb_lo_i, &AutopilotLaws_DWork.sf_MATLABFunction_m); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_U.in.data.Psi_magnetic_track_deg + AutopilotLaws_P.Constant3_Value_k; @@ -988,7 +988,7 @@ void AutopilotLawsModelClass::step() R = Phi1 * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Gain_Gain_l * result[2]; rtb_Sum_i = AutopilotLaws_P.Gain1_Gain_i4 * R + AutopilotLaws_DWork.DelayInput1_DSTATE; - AutopilotLaws_MATLABFunction_m(AutopilotLaws_U.in.input.Psi_c_deg, Phi1, rtb_Sum_i, &rtb_Y_h, &rtb_lo, + AutopilotLaws_MATLABFunction_m(AutopilotLaws_U.in.input.Psi_c_deg, Phi1, rtb_Sum_i, &rtb_Y_fw, &rtb_lo, &AutopilotLaws_DWork.sf_MATLABFunction_e5); AutopilotLaws_MATLABFunction(AutopilotLaws_P.tau_Value_c, AutopilotLaws_P.zeta_Value_h, &R, &rtb_Divide); AutopilotLaws_RateLimiter(AutopilotLaws_U.in.data.flight_guidance_phi_deg, AutopilotLaws_P.RateLimiterVariableTs_up_h, @@ -1002,16 +1002,16 @@ void AutopilotLawsModelClass::step() break; case 1: - if (rtb_Sum_gq > rtb_Y_j) { - rtb_Sum_gq = rtb_Y_j; + if (rtb_Sum_gq > rtb_Y_f) { + rtb_Sum_gq = rtb_Y_f; } else if (rtb_Sum_gq < rtb_lo_i) { rtb_Sum_gq = rtb_lo_i; } break; case 2: - if (rtb_Sum_i > rtb_Y_h) { - rtb_Sum_gq = rtb_Y_h; + if (rtb_Sum_i > rtb_Y_fw) { + rtb_Sum_gq = rtb_Y_fw; } else if (rtb_Sum_i < rtb_lo) { rtb_Sum_gq = rtb_lo; } else { @@ -1179,9 +1179,9 @@ void AutopilotLawsModelClass::step() AutopilotLaws_storevalue(rtb_Compare_jy, rt_modd(rt_modd(AutopilotLaws_U.in.data.nav_loc_deg - AutopilotLaws_U.in.data.nav_loc_magvar_deg, AutopilotLaws_P.Constant3_Value_dk) + AutopilotLaws_P.Constant3_Value_dk, - AutopilotLaws_P.Constant3_Value_dk), &rtb_Y_h, &AutopilotLaws_DWork.sf_storevalue); + AutopilotLaws_P.Constant3_Value_dk), &rtb_Y_fw, &AutopilotLaws_DWork.sf_storevalue); Phi1 = rt_modd((AutopilotLaws_U.in.data.Psi_true_deg - (rt_modd(rt_modd(AutopilotLaws_U.in.data.nav_loc_error_deg + - rtb_Y_h, AutopilotLaws_P.Constant3_Value_o) + AutopilotLaws_P.Constant3_Value_o, AutopilotLaws_P.Constant3_Value_o) + rtb_Y_fw, AutopilotLaws_P.Constant3_Value_o) + AutopilotLaws_P.Constant3_Value_o, AutopilotLaws_P.Constant3_Value_o) + AutopilotLaws_P.Constant3_Value_n1)) + AutopilotLaws_P.Constant3_Value_n1, AutopilotLaws_P.Constant3_Value_n1); rtb_dme = rt_modd(AutopilotLaws_P.Constant3_Value_n1 - Phi1, AutopilotLaws_P.Constant3_Value_n1); if (Phi1 < rtb_dme) { @@ -1225,7 +1225,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_RateLimiter_n(rtb_Compare_jy, AutopilotLaws_P.RateLimiterVariableTs2_up, AutopilotLaws_P.RateLimiterVariableTs2_lo, AutopilotLaws_U.in.time.dt, AutopilotLaws_P.RateLimiterVariableTs2_InitialCondition, &a, &AutopilotLaws_DWork.sf_RateLimiter_m); - if (rtb_Y_e > AutopilotLaws_P.Switch_Threshold_n) { + if (rtb_Y_c > AutopilotLaws_P.Switch_Threshold_n) { switch (static_cast(Phi2)) { case 0: R = AutopilotLaws_P.beta1_Value; @@ -1304,9 +1304,9 @@ void AutopilotLawsModelClass::step() break; } - AutopilotLaws_LagFilter(Phi2, AutopilotLaws_P.LagFilter_C1_k, AutopilotLaws_U.in.time.dt, &rtb_Y_j, + AutopilotLaws_LagFilter(Phi2, AutopilotLaws_P.LagFilter_C1_k, AutopilotLaws_U.in.time.dt, &rtb_Y_f, &AutopilotLaws_DWork.sf_LagFilter_h2); - AutopilotLaws_DWork.icLoad = ((rtb_Y_e == 0.0) || AutopilotLaws_DWork.icLoad); + AutopilotLaws_DWork.icLoad = ((rtb_Y_c == 0.0) || AutopilotLaws_DWork.icLoad); if (AutopilotLaws_DWork.icLoad) { AutopilotLaws_DWork.Delay_DSTATE_hc = rtb_GainTheta1; } @@ -1333,21 +1333,21 @@ void AutopilotLawsModelClass::step() * AutopilotLaws_DWork.pY * AutopilotLaws_U.in.time.dt); AutopilotLaws_LagFilter(AutopilotLaws_DWork.Delay_DSTATE_hc, AutopilotLaws_P.LagFilter_C1_l, AutopilotLaws_U.in.time.dt, &b_R, &AutopilotLaws_DWork.sf_LagFilter_o); - AutopilotLaws_RateLimiter(rtb_Y_e, AutopilotLaws_P.RateLimiterVariableTs_up_b, + AutopilotLaws_RateLimiter(rtb_Y_c, AutopilotLaws_P.RateLimiterVariableTs_up_b, AutopilotLaws_P.RateLimiterVariableTs_lo_b, AutopilotLaws_U.in.time.dt, - AutopilotLaws_P.RateLimiterVariableTs_InitialCondition_il, &rtb_Y_h, &AutopilotLaws_DWork.sf_RateLimiter_d); - if (rtb_Y_h > AutopilotLaws_P.Saturation_UpperSat_m) { + AutopilotLaws_P.RateLimiterVariableTs_InitialCondition_il, &rtb_Y_fw, &AutopilotLaws_DWork.sf_RateLimiter_d); + if (rtb_Y_fw > AutopilotLaws_P.Saturation_UpperSat_m) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_m; - } else if (rtb_Y_h < AutopilotLaws_P.Saturation_LowerSat_fw) { + } else if (rtb_Y_fw < AutopilotLaws_P.Saturation_LowerSat_fw) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_fw; } else { - AutopilotLaws_DWork.DelayInput1_DSTATE = rtb_Y_h; + AutopilotLaws_DWork.DelayInput1_DSTATE = rtb_Y_fw; } - rtb_Y_e = b_R * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = b_R * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Constant_Value_ii - AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE *= rtb_GainTheta1; - AutopilotLaws_DWork.DelayInput1_DSTATE += rtb_Y_e; + AutopilotLaws_DWork.DelayInput1_DSTATE += rtb_Y_c; rtb_BusAssignment.output.Phi_loc_c = rtb_Product_g5; Phi1_tmp = AutopilotLaws_P.Gain_Gain_m3 * R; if (Phi1_tmp > AutopilotLaws_P.Saturation_UpperSat_c) { @@ -1358,7 +1358,7 @@ void AutopilotLawsModelClass::step() rtb_BusAssignment.output.Nosewheel_c = Phi1_tmp; } - rtb_BusAssignment.output.flight_director.Beta_c_deg = rtb_Y_j; + rtb_BusAssignment.output.flight_director.Beta_c_deg = rtb_Y_f; rtb_BusAssignment.output.autopilot.Beta_c_deg = Phi2; rtb_BusAssignment.output.flight_director.Phi_c_deg = rtb_Y_af; rtb_BusAssignment.output.autopilot.Phi_c_deg = AutopilotLaws_DWork.DelayInput1_DSTATE; @@ -1388,8 +1388,8 @@ void AutopilotLawsModelClass::step() } AutopilotLaws_LagFilter(AutopilotLaws_B.u - AutopilotLaws_U.in.data.H_ft, AutopilotLaws_P.LagFilter_C1_ai, - AutopilotLaws_U.in.time.dt, &rtb_Y_h, &AutopilotLaws_DWork.sf_LagFilter_g); - AutopilotLaws_DWork.DelayInput1_DSTATE += AutopilotLaws_P.Gain_Gain_ft * rtb_Y_h; + AutopilotLaws_U.in.time.dt, &rtb_Y_fw, &AutopilotLaws_DWork.sf_LagFilter_g); + AutopilotLaws_DWork.DelayInput1_DSTATE += AutopilotLaws_P.Gain_Gain_ft * rtb_Y_fw; if (AutopilotLaws_DWork.DelayInput1_DSTATE > AutopilotLaws_P.Saturation_UpperSat_n) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_n; } else if (AutopilotLaws_DWork.DelayInput1_DSTATE < AutopilotLaws_P.Saturation_LowerSat_d4) { @@ -1397,7 +1397,7 @@ void AutopilotLawsModelClass::step() } AutopilotLaws_DWork.DelayInput1_DSTATE -= AutopilotLaws_U.in.data.H_dot_ft_min; - rtb_Y_e = AutopilotLaws_P.ftmintoms_Gain * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = AutopilotLaws_P.ftmintoms_Gain * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.kntoms_Gain * AutopilotLaws_U.in.data.V_tas_kn; if (AutopilotLaws_DWork.DelayInput1_DSTATE > AutopilotLaws_P.Saturation_UpperSat_ar) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_ar; @@ -1405,7 +1405,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_n5; } - Phi1_tmp = rtb_Y_e / AutopilotLaws_DWork.DelayInput1_DSTATE; + Phi1_tmp = rtb_Y_c / AutopilotLaws_DWork.DelayInput1_DSTATE; if (Phi1_tmp > 1.0) { Phi1_tmp = 1.0; } else if (Phi1_tmp < -1.0) { @@ -1419,42 +1419,42 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.wasActive_not_empty_n = true; } - rtb_Y_a_tmp = AutopilotLaws_U.in.input.H_c_ft - AutopilotLaws_U.in.data.H_ind_ft; - if (rtb_Y_a_tmp < 0.0) { + rtb_Y_ni_tmp = AutopilotLaws_U.in.input.H_c_ft - AutopilotLaws_U.in.data.H_ind_ft; + if (rtb_Y_ni_tmp < 0.0) { low_i = -1; } else { - low_i = (rtb_Y_a_tmp > 0.0); + low_i = (rtb_Y_ni_tmp > 0.0); } - rtb_Y_e = static_cast(low_i) * AutopilotLaws_DWork.dH_offset + rtb_Y_a_tmp; + rtb_Y_c = static_cast(low_i) * AutopilotLaws_DWork.dH_offset + rtb_Y_ni_tmp; if ((!AutopilotLaws_DWork.wasActive_n) && rtb_Compare_jy) { - AutopilotLaws_DWork.k = AutopilotLaws_U.in.data.H_dot_ft_min / rtb_Y_e; + AutopilotLaws_DWork.k = AutopilotLaws_U.in.data.H_dot_ft_min / rtb_Y_c; AutopilotLaws_DWork.dH_offset = std::abs(500.0 / std::abs(AutopilotLaws_DWork.k) - 100.0); - if (rtb_Y_e < 0.0) { + if (rtb_Y_c < 0.0) { i = -1; } else { - i = (rtb_Y_e > 0.0); + i = (rtb_Y_c > 0.0); } - rtb_Y_e += static_cast(i) * AutopilotLaws_DWork.dH_offset; - AutopilotLaws_DWork.k = AutopilotLaws_U.in.data.H_dot_ft_min / rtb_Y_e; + rtb_Y_c += static_cast(i) * AutopilotLaws_DWork.dH_offset; + AutopilotLaws_DWork.k = AutopilotLaws_U.in.data.H_dot_ft_min / rtb_Y_c; AutopilotLaws_DWork.maxH_dot = std::abs(AutopilotLaws_U.in.data.H_dot_ft_min); } - rtb_Y_e *= AutopilotLaws_DWork.k; - if (std::abs(rtb_Y_e) > AutopilotLaws_DWork.maxH_dot) { - if (rtb_Y_e < 0.0) { + rtb_Y_c *= AutopilotLaws_DWork.k; + if (std::abs(rtb_Y_c) > AutopilotLaws_DWork.maxH_dot) { + if (rtb_Y_c < 0.0) { i = -1; } else { - i = (rtb_Y_e > 0.0); + i = (rtb_Y_c > 0.0); } - rtb_Y_e = static_cast(i) * AutopilotLaws_DWork.maxH_dot; + rtb_Y_c = static_cast(i) * AutopilotLaws_DWork.maxH_dot; } AutopilotLaws_DWork.wasActive_n = rtb_Compare_jy; - AutopilotLaws_DWork.DelayInput1_DSTATE = rtb_Y_e - AutopilotLaws_U.in.data.H_dot_ft_min; - rtb_Y_e = AutopilotLaws_P.ftmintoms_Gain_c * AutopilotLaws_DWork.DelayInput1_DSTATE; + AutopilotLaws_DWork.DelayInput1_DSTATE = rtb_Y_c - AutopilotLaws_U.in.data.H_dot_ft_min; + rtb_Y_c = AutopilotLaws_P.ftmintoms_Gain_c * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.kntoms_Gain_h * AutopilotLaws_U.in.data.V_tas_kn; if (AutopilotLaws_DWork.DelayInput1_DSTATE > AutopilotLaws_P.Saturation_UpperSat_d) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_d; @@ -1462,14 +1462,14 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_nr; } - Phi1_tmp = rtb_Y_e / AutopilotLaws_DWork.DelayInput1_DSTATE; + Phi1_tmp = rtb_Y_c / AutopilotLaws_DWork.DelayInput1_DSTATE; if (Phi1_tmp > 1.0) { Phi1_tmp = 1.0; } else if (Phi1_tmp < -1.0) { Phi1_tmp = -1.0; } - rtb_Y_e = AutopilotLaws_P.Gain_Gain_es * std::asin(Phi1_tmp); + rtb_Y_c = AutopilotLaws_P.Gain_Gain_es * std::asin(Phi1_tmp); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.fpmtoms_Gain * AutopilotLaws_U.in.data.H_dot_ft_min; Phi1_tmp = AutopilotLaws_P.kntoms_Gain_m * AutopilotLaws_U.in.data.V_gnd_kn; if (Phi1_tmp > AutopilotLaws_P.Saturation_UpperSat_jh) { @@ -1482,7 +1482,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_P.Gain_Gain_e3; R = AutopilotLaws_P.Gain1_Gain_c * rtb_GainTheta1; AutopilotLaws_WashoutFilter(AutopilotLaws_P._Gain * (AutopilotLaws_P.GStoGS_CAS_Gain * (AutopilotLaws_P.ktstomps_Gain * - AutopilotLaws_U.in.data.V_gnd_kn)), AutopilotLaws_P.WashoutFilter_C1_e, AutopilotLaws_U.in.time.dt, &rtb_Y_h, + AutopilotLaws_U.in.data.V_gnd_kn)), AutopilotLaws_P.WashoutFilter_C1_e, AutopilotLaws_U.in.time.dt, &rtb_Y_fw, &AutopilotLaws_DWork.sf_WashoutFilter); Phi1_tmp = AutopilotLaws_P.kntoms_Gain_b * AutopilotLaws_U.in.data.V_gnd_kn; if (Phi1_tmp > AutopilotLaws_P.Saturation_UpperSat_ei) { @@ -1491,7 +1491,7 @@ void AutopilotLawsModelClass::step() Phi1_tmp = AutopilotLaws_P.Saturation_LowerSat_dz; } - AutopilotLaws_LeadLagFilter(rtb_Y_h - AutopilotLaws_P.g_Gain * (AutopilotLaws_P.Gain1_Gain_lp * + AutopilotLaws_LeadLagFilter(rtb_Y_fw - AutopilotLaws_P.g_Gain * (AutopilotLaws_P.Gain1_Gain_lp * (AutopilotLaws_P.Gain_Gain_am * ((AutopilotLaws_P.Gain1_Gain_go * rtb_GainTheta - AutopilotLaws_P.Gain1_Gain_lx * (AutopilotLaws_P.Gain_Gain_c1 * std::atan(AutopilotLaws_P.fpmtoms_Gain_g * AutopilotLaws_U.in.data.H_dot_ft_min / Phi1_tmp))) * (AutopilotLaws_P.Constant_Value_dy - std::cos(R)) + std::sin(R) * std::sin @@ -1501,8 +1501,8 @@ void AutopilotLawsModelClass::step() &AutopilotLaws_DWork.sf_LeadLagFilter); AutopilotLaws_LeadLagFilter(AutopilotLaws_P.ktstomps_Gain_b * AutopilotLaws_U.in.data.V_ias_kn, AutopilotLaws_P.LowPassFilter_C1, AutopilotLaws_P.LowPassFilter_C2, AutopilotLaws_P.LowPassFilter_C3, - AutopilotLaws_P.LowPassFilter_C4, AutopilotLaws_U.in.time.dt, &rtb_Y_h, &AutopilotLaws_DWork.sf_LeadLagFilter_o); - R = (b_R + rtb_Y_h) * AutopilotLaws_P.ug_Gain; + AutopilotLaws_P.LowPassFilter_C4, AutopilotLaws_U.in.time.dt, &rtb_Y_fw, &AutopilotLaws_DWork.sf_LeadLagFilter_o); + R = (b_R + rtb_Y_fw) * AutopilotLaws_P.ug_Gain; rtb_Divide = AutopilotLaws_P.Gain1_Gain_bf * AutopilotLaws_DWork.DelayInput1_DSTATE; rtb_Gain7_j = R + rtb_Divide; a = AutopilotLaws_P.Constant3_Value_nq - AutopilotLaws_P.Constant4_Value; @@ -1513,8 +1513,8 @@ void AutopilotLawsModelClass::step() R = AutopilotLaws_P.Gain5_Gain_g * rtb_Mod2_d; } - AutopilotLaws_V_LSSpeedSelection1(AutopilotLaws_U.in.input.V_c_kn, AutopilotLaws_U.in.data.VLS_kn, &rtb_Y_h); - b_R = (AutopilotLaws_U.in.data.V_ias_kn - rtb_Y_h) * AutopilotLaws_P.Gain1_Gain_oz; + AutopilotLaws_V_LSSpeedSelection1(AutopilotLaws_U.in.input.V_c_kn, AutopilotLaws_U.in.data.VLS_kn, &rtb_Y_fw); + b_R = (AutopilotLaws_U.in.data.V_ias_kn - rtb_Y_fw) * AutopilotLaws_P.Gain1_Gain_oz; if (b_R <= R) { if (a > AutopilotLaws_P.Switch1_Threshold) { R = AutopilotLaws_P.Constant_Value_g; @@ -1541,7 +1541,7 @@ void AutopilotLawsModelClass::step() R = AutopilotLaws_P.Gain1_Gain_j0 * rtb_GainTheta1; AutopilotLaws_WashoutFilter(AutopilotLaws_P._Gain_h * (AutopilotLaws_P.GStoGS_CAS_Gain_m * (AutopilotLaws_P.ktstomps_Gain_g * AutopilotLaws_U.in.data.V_gnd_kn)), AutopilotLaws_P.WashoutFilter_C1_e4, - AutopilotLaws_U.in.time.dt, &rtb_Y_h, &AutopilotLaws_DWork.sf_WashoutFilter_d); + AutopilotLaws_U.in.time.dt, &rtb_Y_fw, &AutopilotLaws_DWork.sf_WashoutFilter_d); Phi1_tmp = AutopilotLaws_P.kntoms_Gain_l * AutopilotLaws_U.in.data.V_gnd_kn; if (Phi1_tmp > AutopilotLaws_P.Saturation_UpperSat_i) { Phi1_tmp = AutopilotLaws_P.Saturation_UpperSat_i; @@ -1549,7 +1549,7 @@ void AutopilotLawsModelClass::step() Phi1_tmp = AutopilotLaws_P.Saturation_LowerSat_h; } - AutopilotLaws_LeadLagFilter(rtb_Y_h - AutopilotLaws_P.g_Gain_h * (AutopilotLaws_P.Gain1_Gain_dv * + AutopilotLaws_LeadLagFilter(rtb_Y_fw - AutopilotLaws_P.g_Gain_h * (AutopilotLaws_P.Gain1_Gain_dv * (AutopilotLaws_P.Gain_Gain_id * ((AutopilotLaws_P.Gain1_Gain_kd * rtb_GainTheta - AutopilotLaws_P.Gain1_Gain_o4 * (AutopilotLaws_P.Gain_Gain_bs * std::atan(AutopilotLaws_P.fpmtoms_Gain_c * AutopilotLaws_U.in.data.H_dot_ft_min / Phi1_tmp))) * (AutopilotLaws_P.Constant_Value_c - std::cos(R)) + std::sin(R) * std::sin @@ -1559,8 +1559,8 @@ void AutopilotLawsModelClass::step() AutopilotLaws_U.in.time.dt, &b_R, &AutopilotLaws_DWork.sf_LeadLagFilter_h); AutopilotLaws_LeadLagFilter(AutopilotLaws_P.ktstomps_Gain_i * AutopilotLaws_U.in.data.V_ias_kn, AutopilotLaws_P.LowPassFilter_C1_n, AutopilotLaws_P.LowPassFilter_C2_a, AutopilotLaws_P.LowPassFilter_C3_o, - AutopilotLaws_P.LowPassFilter_C4_o, AutopilotLaws_U.in.time.dt, &rtb_Y_h, &AutopilotLaws_DWork.sf_LeadLagFilter_m); - R = (b_R + rtb_Y_h) * AutopilotLaws_P.ug_Gain_a; + AutopilotLaws_P.LowPassFilter_C4_o, AutopilotLaws_U.in.time.dt, &rtb_Y_fw, &AutopilotLaws_DWork.sf_LeadLagFilter_m); + R = (b_R + rtb_Y_fw) * AutopilotLaws_P.ug_Gain_a; rtb_Divide = AutopilotLaws_P.Gain1_Gain_hm * AutopilotLaws_DWork.DelayInput1_DSTATE; a = R + rtb_Divide; rtb_Mod2_d = AutopilotLaws_P.Constant1_Value_b4 - AutopilotLaws_P.Constant2_Value_c; @@ -1586,7 +1586,7 @@ void AutopilotLawsModelClass::step() } R += AutopilotLaws_P.Gain_Gain_kj * a - AutopilotLaws_DWork.DelayInput1_DSTATE; - AutopilotLaws_SpeedProtectionSignalSelection(&rtb_BusAssignment, rtb_Y_e, AutopilotLaws_P.VS_Gain * rtb_Y_e, + AutopilotLaws_SpeedProtectionSignalSelection(&rtb_BusAssignment, rtb_Y_c, AutopilotLaws_P.VS_Gain * rtb_Y_c, rtb_Gain7_j, AutopilotLaws_P.Gain_Gain_m0 * rtb_Gain7_j, R, AutopilotLaws_P.Gain_Gain_lr * R, AutopilotLaws_P.Constant_Value_ig, &rtb_Mod2_d, &a); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.fpmtoms_Gain_p * AutopilotLaws_U.in.data.H_dot_ft_min; @@ -1601,7 +1601,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_P.Gain_Gain_e33; R = AutopilotLaws_P.Gain1_Gain_ok * AutopilotLaws_DWork.DelayInput1_DSTATE; rtb_Divide = AutopilotLaws_P.Gain1_Gain_jd * rtb_GainTheta1; - rtb_Y_e = std::cos(rtb_Divide); + rtb_Y_c = std::cos(rtb_Divide); b_R = std::sin(rtb_Divide); rtb_Gain7_j = AutopilotLaws_P.Gain1_Gain_id * AutopilotLaws_U.in.data.Psi_magnetic_track_deg; rtb_Divide = AutopilotLaws_P.ktstomps_Gain_f * AutopilotLaws_U.in.data.V_gnd_kn; @@ -1617,7 +1617,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_LeadLagFilter(rtb_Divide - AutopilotLaws_P.g_Gain_j * (AutopilotLaws_P.Gain1_Gain_ca * (AutopilotLaws_P.Gain_Gain_ms * ((AutopilotLaws_P.Gain1_Gain_dh * rtb_GainTheta - AutopilotLaws_P.Gain1_Gain_cv * (AutopilotLaws_P.Gain_Gain_nq * std::atan(AutopilotLaws_P.fpmtoms_Gain_h * AutopilotLaws_U.in.data.H_dot_ft_min / - Phi1_tmp))) * (AutopilotLaws_P.Constant_Value_l - rtb_Y_e) + b_R * std::sin(rtb_Gain7_j - + Phi1_tmp))) * (AutopilotLaws_P.Constant_Value_l - rtb_Y_c) + b_R * std::sin(rtb_Gain7_j - AutopilotLaws_P.Gain1_Gain_ct * AutopilotLaws_U.in.data.Psi_magnetic_deg)))), AutopilotLaws_P.HighPassFilter_C1_b, AutopilotLaws_P.HighPassFilter_C2_g, AutopilotLaws_P.HighPassFilter_C3_n, AutopilotLaws_P.HighPassFilter_C4_b, AutopilotLaws_U.in.time.dt, &rtb_Gain7_j, &AutopilotLaws_DWork.sf_LeadLagFilter_es); @@ -1626,28 +1626,28 @@ void AutopilotLawsModelClass::step() AutopilotLaws_P.LowPassFilter_C4_b, AutopilotLaws_U.in.time.dt, &rtb_Divide, &AutopilotLaws_DWork.sf_LeadLagFilter_ja); rtb_Divide = (rtb_Gain7_j + rtb_Divide) * AutopilotLaws_P.ug_Gain_o; - rtb_Y_e = (AutopilotLaws_P.Gain1_Gain_hu * rtb_Divide + R) * AutopilotLaws_P.Gain_Gain_bn; + rtb_Y_c = (AutopilotLaws_P.Gain1_Gain_hu * rtb_Divide + R) * AutopilotLaws_P.Gain_Gain_bn; AutopilotLaws_Voter1(AutopilotLaws_U.in.data.VLS_kn, AutopilotLaws_U.in.input.V_c_kn, AutopilotLaws_U.in.data.VMAX_kn, &rtb_Gain7_j); rtb_Gain7_j = (AutopilotLaws_U.in.data.V_ias_kn - rtb_Gain7_j) * AutopilotLaws_P.Gain1_Gain_hz; - rtb_Compare_jy = ((rtb_Y_a_tmp > AutopilotLaws_P.CompareToConstant6_const) && (rtb_Y_e < + rtb_Compare_jy = ((rtb_Y_ni_tmp > AutopilotLaws_P.CompareToConstant6_const) && (rtb_Y_c < AutopilotLaws_P.CompareToConstant5_const_a) && (rtb_Gain7_j < AutopilotLaws_P.CompareToConstant2_const_d) && (rtb_dme == AutopilotLaws_P.CompareToConstant2_const_e)); b_R = rtb_Divide + R; if (rtb_Compare_jy) { R = AutopilotLaws_P.Constant_Value_f; } else { - if (rtb_Y_a_tmp > AutopilotLaws_P.CompareToConstant_const_l) { + if (rtb_Y_ni_tmp > AutopilotLaws_P.CompareToConstant_const_l) { R = AutopilotLaws_P.Constant1_Value_c; } else { - R = AutopilotLaws_P.Gain5_Gain_k * rtb_Y_e; + R = AutopilotLaws_P.Gain5_Gain_k * rtb_Y_c; } if (rtb_Gain7_j <= R) { - if (rtb_Y_a_tmp > AutopilotLaws_P.CompareToConstant4_const_o) { - R = std::fmax(AutopilotLaws_P.Constant2_Value, AutopilotLaws_P.Gain1_Gain_kg * rtb_Y_e); + if (rtb_Y_ni_tmp > AutopilotLaws_P.CompareToConstant4_const_o) { + R = std::fmax(AutopilotLaws_P.Constant2_Value, AutopilotLaws_P.Gain1_Gain_kg * rtb_Y_c); } else { - R = AutopilotLaws_P.Gain6_Gain_a * rtb_Y_e; + R = AutopilotLaws_P.Gain6_Gain_a * rtb_Y_c; } if (rtb_Gain7_j >= R) { @@ -1659,7 +1659,7 @@ void AutopilotLawsModelClass::step() rtb_lo_i = (AutopilotLaws_P.Gain_Gain_d4y * b_R - AutopilotLaws_DWork.DelayInput1_DSTATE) + R; AutopilotLaws_DWork.DelayInput1_DSTATE = static_cast(low_i) * AutopilotLaws_P.Constant3_Value_ix; AutopilotLaws_DWork.DelayInput1_DSTATE -= AutopilotLaws_U.in.data.H_dot_ft_min; - rtb_Y_e = AutopilotLaws_P.ftmintoms_Gain_d * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = AutopilotLaws_P.ftmintoms_Gain_d * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.kntoms_Gain_n * AutopilotLaws_U.in.data.V_tas_kn; if (AutopilotLaws_DWork.DelayInput1_DSTATE > AutopilotLaws_P.Saturation_UpperSat_ju) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_ju; @@ -1667,7 +1667,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_gw; } - Phi1_tmp = rtb_Y_e / AutopilotLaws_DWork.DelayInput1_DSTATE; + Phi1_tmp = rtb_Y_c / AutopilotLaws_DWork.DelayInput1_DSTATE; if (Phi1_tmp > 1.0) { Phi1_tmp = 1.0; } else if (Phi1_tmp < -1.0) { @@ -1676,7 +1676,7 @@ void AutopilotLawsModelClass::step() rtb_Sum_i = AutopilotLaws_P.Gain_Gain_nz * std::asin(Phi1_tmp); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_U.in.input.H_dot_c_fpm - AutopilotLaws_U.in.data.H_dot_ft_min; - rtb_Y_e = AutopilotLaws_P.ftmintoms_Gain_l * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = AutopilotLaws_P.ftmintoms_Gain_l * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.kntoms_Gain_au * AutopilotLaws_U.in.data.V_tas_kn; if (AutopilotLaws_DWork.DelayInput1_DSTATE > AutopilotLaws_P.Saturation_UpperSat_l) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_l; @@ -1684,14 +1684,14 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_hm; } - Phi1_tmp = rtb_Y_e / AutopilotLaws_DWork.DelayInput1_DSTATE; + Phi1_tmp = rtb_Y_c / AutopilotLaws_DWork.DelayInput1_DSTATE; if (Phi1_tmp > 1.0) { Phi1_tmp = 1.0; } else if (Phi1_tmp < -1.0) { Phi1_tmp = -1.0; } - rtb_Y_e = AutopilotLaws_P.Gain_Gain_ey * std::asin(Phi1_tmp); + rtb_Y_c = AutopilotLaws_P.Gain_Gain_ey * std::asin(Phi1_tmp); if (!AutopilotLaws_DWork.prevVerticalLaw_not_empty) { AutopilotLaws_DWork.prevVerticalLaw = AutopilotLaws_U.in.input.vertical_law; AutopilotLaws_DWork.prevVerticalLaw_not_empty = true; @@ -1838,8 +1838,8 @@ void AutopilotLawsModelClass::step() } R += AutopilotLaws_P.Gain_Gain_dm * b_R - AutopilotLaws_DWork.DelayInput1_DSTATE; - AutopilotLaws_SpeedProtectionSignalSelection(&rtb_BusAssignment, rtb_Y_e, std::fmax(-limit, std::fmin(limit, - AutopilotLaws_P.VS_Gain_h * rtb_Y_e)), rtb_Gain7_j, AutopilotLaws_P.Gain_Gain_h4 * rtb_Gain7_j, R, + AutopilotLaws_SpeedProtectionSignalSelection(&rtb_BusAssignment, rtb_Y_c, std::fmax(-limit, std::fmin(limit, + AutopilotLaws_P.VS_Gain_h * rtb_Y_c)), rtb_Gain7_j, AutopilotLaws_P.Gain_Gain_h4 * rtb_Gain7_j, R, AutopilotLaws_P.Gain_Gain_eq * R, AutopilotLaws_P.Constant_Value_ga, &rtb_Sum_gq, &rtb_lo); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.fpmtoms_Gain_ps * AutopilotLaws_U.in.data.H_dot_ft_min; Phi1_tmp = AutopilotLaws_P.kntoms_Gain_c * AutopilotLaws_U.in.data.V_gnd_kn; @@ -1851,7 +1851,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = std::atan(AutopilotLaws_DWork.DelayInput1_DSTATE / Phi1_tmp) * AutopilotLaws_P.Gain_Gain_gt; - rtb_Y_e = AutopilotLaws_U.in.input.FPA_c_deg - AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = AutopilotLaws_U.in.input.FPA_c_deg - AutopilotLaws_DWork.DelayInput1_DSTATE; if (!AutopilotLaws_DWork.prevVerticalLaw_not_empty_k) { AutopilotLaws_DWork.prevVerticalLaw_c = AutopilotLaws_U.in.input.vertical_law; AutopilotLaws_DWork.prevVerticalLaw_not_empty_k = true; @@ -1891,7 +1891,7 @@ void AutopilotLawsModelClass::step() b_R = std::sin(R); R = AutopilotLaws_P.ktstomps_Gain_j4 * AutopilotLaws_U.in.data.V_gnd_kn; AutopilotLaws_WashoutFilter(AutopilotLaws_P._Gain_kb * (AutopilotLaws_P.GStoGS_CAS_Gain_o * R), - AutopilotLaws_P.WashoutFilter_C1_j, AutopilotLaws_U.in.time.dt, &rtb_Y_j, &AutopilotLaws_DWork.sf_WashoutFilter_h); + AutopilotLaws_P.WashoutFilter_C1_j, AutopilotLaws_U.in.time.dt, &rtb_Y_f, &AutopilotLaws_DWork.sf_WashoutFilter_h); Phi1_tmp = AutopilotLaws_P.kntoms_Gain_k * AutopilotLaws_U.in.data.V_gnd_kn; if (Phi1_tmp > AutopilotLaws_P.Saturation_UpperSat_pj) { Phi1_tmp = AutopilotLaws_P.Saturation_UpperSat_pj; @@ -1899,7 +1899,7 @@ void AutopilotLawsModelClass::step() Phi1_tmp = AutopilotLaws_P.Saturation_LowerSat_py; } - AutopilotLaws_LeadLagFilter(rtb_Y_j - AutopilotLaws_P.g_Gain_l * (AutopilotLaws_P.Gain1_Gain_n4 * + AutopilotLaws_LeadLagFilter(rtb_Y_f - AutopilotLaws_P.g_Gain_l * (AutopilotLaws_P.Gain1_Gain_n4 * (AutopilotLaws_P.Gain_Gain_bc * ((AutopilotLaws_P.Gain1_Gain_ej * rtb_GainTheta - AutopilotLaws_P.Gain1_Gain_jv * (AutopilotLaws_P.Gain_Gain_bf * std::atan(AutopilotLaws_P.fpmtoms_Gain_f * AutopilotLaws_U.in.data.H_dot_ft_min / Phi1_tmp))) * (AutopilotLaws_P.Constant_Value_lf - rtb_Gain7_j) + b_R * std::sin(AutopilotLaws_P.Gain1_Gain_j4 * @@ -1909,8 +1909,8 @@ void AutopilotLawsModelClass::step() AutopilotLaws_U.in.time.dt, &R, &AutopilotLaws_DWork.sf_LeadLagFilter_e); AutopilotLaws_LeadLagFilter(AutopilotLaws_P.ktstomps_Gain_k * AutopilotLaws_U.in.data.V_ias_kn, AutopilotLaws_P.LowPassFilter_C1_l4, AutopilotLaws_P.LowPassFilter_C2_po, AutopilotLaws_P.LowPassFilter_C3_f, - AutopilotLaws_P.LowPassFilter_C4_dt, AutopilotLaws_U.in.time.dt, &rtb_Y_j, &AutopilotLaws_DWork.sf_LeadLagFilter_kp); - R = (R + rtb_Y_j) * AutopilotLaws_P.ug_Gain_n; + AutopilotLaws_P.LowPassFilter_C4_dt, AutopilotLaws_U.in.time.dt, &rtb_Y_f, &AutopilotLaws_DWork.sf_LeadLagFilter_kp); + R = (R + rtb_Y_f) * AutopilotLaws_P.ug_Gain_n; rtb_Divide = AutopilotLaws_P.Gain1_Gain_b1 * AutopilotLaws_DWork.DelayInput1_DSTATE; rtb_Gain7_j = R + rtb_Divide; b_R = AutopilotLaws_P.Constant3_Value_nk - AutopilotLaws_P.Constant4_Value_o; @@ -1921,8 +1921,8 @@ void AutopilotLawsModelClass::step() R = AutopilotLaws_P.Gain5_Gain_b * rtb_Y_af; } - AutopilotLaws_V_LSSpeedSelection1(AutopilotLaws_U.in.input.V_c_kn, AutopilotLaws_U.in.data.VLS_kn, &rtb_Y_j); - rtb_Divide = (AutopilotLaws_U.in.data.V_ias_kn - rtb_Y_j) * AutopilotLaws_P.Gain1_Gain_m1; + AutopilotLaws_V_LSSpeedSelection1(AutopilotLaws_U.in.input.V_c_kn, AutopilotLaws_U.in.data.VLS_kn, &rtb_Y_f); + rtb_Divide = (AutopilotLaws_U.in.data.V_ias_kn - rtb_Y_f) * AutopilotLaws_P.Gain1_Gain_m1; if (rtb_Divide <= R) { if (b_R > AutopilotLaws_P.Switch1_Threshold_d) { R = AutopilotLaws_P.Constant_Value_p0d; @@ -1958,8 +1958,8 @@ void AutopilotLawsModelClass::step() rtb_Divide = std::sin(R); R = AutopilotLaws_P.ktstomps_Gain_l * AutopilotLaws_U.in.data.V_gnd_kn; AutopilotLaws_WashoutFilter(AutopilotLaws_P._Gain_ip * (AutopilotLaws_P.GStoGS_CAS_Gain_e * R), - AutopilotLaws_P.WashoutFilter_C1_c, AutopilotLaws_U.in.time.dt, &rtb_Y_j, &AutopilotLaws_DWork.sf_WashoutFilter_g5); - AutopilotLaws_LeadLagFilter(rtb_Y_j - AutopilotLaws_P.g_Gain_hq * (AutopilotLaws_P.Gain1_Gain_mx * + AutopilotLaws_P.WashoutFilter_C1_c, AutopilotLaws_U.in.time.dt, &rtb_Y_f, &AutopilotLaws_DWork.sf_WashoutFilter_g5); + AutopilotLaws_LeadLagFilter(rtb_Y_f - AutopilotLaws_P.g_Gain_hq * (AutopilotLaws_P.Gain1_Gain_mx * (AutopilotLaws_P.Gain_Gain_d3 * ((AutopilotLaws_P.Gain1_Gain_iw * rtb_GainTheta - AutopilotLaws_P.Gain1_Gain_lw * (AutopilotLaws_P.Gain_Gain_ej * std::atan(AutopilotLaws_P.fpmtoms_Gain_hz * AutopilotLaws_U.in.data.H_dot_ft_min / rtb_Gain7_j))) * (AutopilotLaws_P.Constant_Value_fo - rtb_Y_af) + rtb_Divide * std::sin @@ -1969,8 +1969,8 @@ void AutopilotLawsModelClass::step() AutopilotLaws_U.in.time.dt, &R, &AutopilotLaws_DWork.sf_LeadLagFilter_j); AutopilotLaws_LeadLagFilter(AutopilotLaws_P.ktstomps_Gain_mh * AutopilotLaws_U.in.data.V_ias_kn, AutopilotLaws_P.LowPassFilter_C1_e, AutopilotLaws_P.LowPassFilter_C2_i, AutopilotLaws_P.LowPassFilter_C3_o5, - AutopilotLaws_P.LowPassFilter_C4_f, AutopilotLaws_U.in.time.dt, &rtb_Y_j, &AutopilotLaws_DWork.sf_LeadLagFilter_a); - R = (R + rtb_Y_j) * AutopilotLaws_P.ug_Gain_e; + AutopilotLaws_P.LowPassFilter_C4_f, AutopilotLaws_U.in.time.dt, &rtb_Y_f, &AutopilotLaws_DWork.sf_LeadLagFilter_a); + R = (R + rtb_Y_f) * AutopilotLaws_P.ug_Gain_e; rtb_Divide = AutopilotLaws_P.Gain1_Gain_be * AutopilotLaws_DWork.DelayInput1_DSTATE; rtb_Gain7_j = R + rtb_Divide; rtb_Y_af = AutopilotLaws_P.Constant1_Value_o - AutopilotLaws_P.Constant2_Value_h; @@ -1981,22 +1981,22 @@ void AutopilotLawsModelClass::step() R = AutopilotLaws_P.Gain5_Gain_a * rtb_Divide; } - rtb_Y_h = rtb_Gain_a0 * AutopilotLaws_P.Gain1_Gain_fle; - if (rtb_Y_h <= R) { + rtb_Y_fw = rtb_Gain_a0 * AutopilotLaws_P.Gain1_Gain_fle; + if (rtb_Y_fw <= R) { if (rtb_Y_af > AutopilotLaws_P.Switch1_Threshold_h) { R = AutopilotLaws_P.Constant_Value_i; } else { R = AutopilotLaws_P.Gain6_Gain_g * rtb_Divide; } - if (rtb_Y_h >= R) { - R = rtb_Y_h; + if (rtb_Y_fw >= R) { + R = rtb_Y_fw; } } rtb_Gain7_j = (AutopilotLaws_P.Gain_Gain_gx * rtb_Gain7_j - AutopilotLaws_DWork.DelayInput1_DSTATE) + R; - AutopilotLaws_SpeedProtectionSignalSelection(&rtb_BusAssignment, rtb_Y_e, std::fmax(-limit, std::fmin(limit, - AutopilotLaws_P.Gain_Gain_c3 * rtb_Y_e)), b_R, AutopilotLaws_P.Gain_Gain_fnw * b_R, rtb_Gain7_j, + AutopilotLaws_SpeedProtectionSignalSelection(&rtb_BusAssignment, rtb_Y_c, std::fmax(-limit, std::fmin(limit, + AutopilotLaws_P.Gain_Gain_c3 * rtb_Y_c)), b_R, AutopilotLaws_P.Gain_Gain_fnw * b_R, rtb_Gain7_j, AutopilotLaws_P.Gain_Gain_ko * rtb_Gain7_j, AutopilotLaws_P.Constant_Value_fov, &rtb_FD_f, &rtb_AP_mp); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Gain2_Gain_n * AutopilotLaws_U.in.data.H_dot_ft_min; rtb_Gain_a0 = AutopilotLaws_P.DiscreteDerivativeVariableTs1_Gain * AutopilotLaws_DWork.DelayInput1_DSTATE; @@ -2004,9 +2004,9 @@ void AutopilotLawsModelClass::step() AutopilotLaws_LagFilter(AutopilotLaws_DWork.DelayInput1_DSTATE / AutopilotLaws_U.in.time.dt, AutopilotLaws_P.LagFilter2_C1_d, AutopilotLaws_U.in.time.dt, &R, &AutopilotLaws_DWork.sf_LagFilter_f); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Gain1_Gain_ox * result[1]; - rtb_Y_e = std::tan(AutopilotLaws_DWork.DelayInput1_DSTATE); + rtb_Y_c = std::tan(AutopilotLaws_DWork.DelayInput1_DSTATE); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.kn2ms_Gain * AutopilotLaws_U.in.data.V_gnd_kn; - AutopilotLaws_LagFilter(AutopilotLaws_P.Gain_Gain_os * (rtb_Y_e * AutopilotLaws_DWork.DelayInput1_DSTATE), + AutopilotLaws_LagFilter(AutopilotLaws_P.Gain_Gain_os * (rtb_Y_c * AutopilotLaws_DWork.DelayInput1_DSTATE), AutopilotLaws_P.LagFilter3_C1, AutopilotLaws_U.in.time.dt, &AutopilotLaws_DWork.DelayInput1_DSTATE, &AutopilotLaws_DWork.sf_LagFilter_l); AutopilotLaws_LagFilter(R - AutopilotLaws_DWork.DelayInput1_DSTATE, AutopilotLaws_P.LagFilter4_C1, @@ -2020,7 +2020,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_ez; } - rtb_Y_e = AutopilotLaws_P.Gain2_Gain_k * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = AutopilotLaws_P.Gain2_Gain_k * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_LagFilter(AutopilotLaws_U.in.data.nav_gs_error_deg, AutopilotLaws_P.LagFilter1_C1_l, AutopilotLaws_U.in.time.dt, &R, &AutopilotLaws_DWork.sf_LagFilter_gx); AutopilotLaws_DWork.DelayInput1_DSTATE = look1_binlxpw(rtb_BusAssignment.data.H_radio_ft, @@ -2038,20 +2038,20 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_nq; } - rtb_Y_e = (rtb_Y_e + rtb_Gain7_j) * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = (rtb_Y_c + rtb_Gain7_j) * AutopilotLaws_DWork.DelayInput1_DSTATE; b_R = AutopilotLaws_P.Constant_Value_lu - AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_LagFilter(AutopilotLaws_U.in.data.nav_gs_error_deg, AutopilotLaws_P.LagFilter2_C1_e, - AutopilotLaws_U.in.time.dt, &rtb_Y_j, &AutopilotLaws_DWork.sf_LagFilter_cf); - rtb_Gain_lb = AutopilotLaws_P.DiscreteDerivativeVariableTs_Gain_g * rtb_Y_j; + AutopilotLaws_U.in.time.dt, &rtb_Y_f, &AutopilotLaws_DWork.sf_LagFilter_cf); + rtb_Gain_lb = AutopilotLaws_P.DiscreteDerivativeVariableTs_Gain_g * rtb_Y_f; AutopilotLaws_DWork.DelayInput1_DSTATE = rtb_Gain_lb - AutopilotLaws_DWork.Delay_DSTATE_b; AutopilotLaws_DWork.DelayInput1_DSTATE /= AutopilotLaws_U.in.time.dt; R = look1_binlxpw(rtb_BusAssignment.data.H_radio_ft, AutopilotLaws_P.ScheduledGain3_BreakpointsForDimension1_i, AutopilotLaws_P.ScheduledGain3_Table_a, 4U); - AutopilotLaws_LagFilter(rtb_Y_j + AutopilotLaws_DWork.DelayInput1_DSTATE * R, AutopilotLaws_P.LagFilter_C1_d, + AutopilotLaws_LagFilter(rtb_Y_f + AutopilotLaws_DWork.DelayInput1_DSTATE * R, AutopilotLaws_P.LagFilter_C1_d, AutopilotLaws_U.in.time.dt, &R, &AutopilotLaws_DWork.sf_LagFilter_p); AutopilotLaws_DWork.DelayInput1_DSTATE = look1_binlxpw(rtb_BusAssignment.data.H_radio_ft, AutopilotLaws_P.ScheduledGain2_BreakpointsForDimension1_h, AutopilotLaws_P.ScheduledGain2_Table_p, 7U); - AutopilotLaws_SignalEnablerGSTrack(AutopilotLaws_P.Gain3_Gain_c * (rtb_Y_e + b_R * (R * + AutopilotLaws_SignalEnablerGSTrack(AutopilotLaws_P.Gain3_Gain_c * (rtb_Y_c + b_R * (R * AutopilotLaws_DWork.DelayInput1_DSTATE)), ((rtb_BusAssignment.data.H_radio_ft > AutopilotLaws_P.CompareToConstant_const_kt) && AutopilotLaws_U.in.data.nav_gs_valid), &rtb_Gain7_j); AutopilotLaws_storevalue((rtb_dme == AutopilotLaws_P.CompareToConstant6_const_e), rtb_BusAssignment.data.nav_gs_deg, @@ -2076,13 +2076,13 @@ void AutopilotLawsModelClass::step() AutopilotLaws_Voter1(rtb_Gain7_j + rtb_Divide, AutopilotLaws_P.Gain1_Gain_d4 * ((AutopilotLaws_DWork.DelayInput1_DSTATE + AutopilotLaws_P.Bias_Bias_k) - R), AutopilotLaws_P.Gain_Gain_eyl * ((AutopilotLaws_DWork.DelayInput1_DSTATE + - AutopilotLaws_P.Bias1_Bias) - R), &rtb_Y_e); + AutopilotLaws_P.Bias1_Bias) - R), &rtb_Y_c); AutopilotLaws_DWork.DelayInput1_DSTATE = look1_binlxpw(AutopilotLaws_U.in.data.V_tas_kn, AutopilotLaws_P.ScheduledGain1_BreakpointsForDimension1_d, AutopilotLaws_P.ScheduledGain1_Table_n, 6U); - rtb_Product_hz = rtb_Y_e * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Product_hz = rtb_Y_c * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = rtb_GainTheta - AutopilotLaws_P.Constant2_Value_f; rtb_Gain4 = AutopilotLaws_P.Gain4_Gain_o * AutopilotLaws_DWork.DelayInput1_DSTATE; - rtb_Y_j = AutopilotLaws_P.Gain5_Gain_c * AutopilotLaws_U.in.data.bz_m_s2; + rtb_Y_f = AutopilotLaws_P.Gain5_Gain_c * AutopilotLaws_U.in.data.bz_m_s2; AutopilotLaws_WashoutFilter(AutopilotLaws_U.in.data.bx_m_s2, AutopilotLaws_P.WashoutFilter_C1_m, AutopilotLaws_U.in.time.dt, &rtb_Y_af, &AutopilotLaws_DWork.sf_WashoutFilter_g); rtb_OR1 = (rtb_dme == AutopilotLaws_P.CompareToConstant7_const); @@ -2093,8 +2093,8 @@ void AutopilotLawsModelClass::step() R = b_R - AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_LeadLagFilter(rtb_BusAssignment.data.H_radio_ft, AutopilotLaws_P.LeadLagFilter_C1, AutopilotLaws_P.LeadLagFilter_C2, AutopilotLaws_P.LeadLagFilter_C3, AutopilotLaws_P.LeadLagFilter_C4, - AutopilotLaws_U.in.time.dt, &rtb_Y_h, &AutopilotLaws_DWork.sf_LeadLagFilter_k); - rtb_Divide = AutopilotLaws_P.Gain1_Gain_oa * rtb_Y_h; + AutopilotLaws_U.in.time.dt, &rtb_Y_fw, &AutopilotLaws_DWork.sf_LeadLagFilter_k); + rtb_Divide = AutopilotLaws_P.Gain1_Gain_oa * rtb_Y_fw; AutopilotLaws_DWork.DelayInput1_DSTATE += b_R; rtb_MaxH_dot_RA1 = std::fmin(std::fmax(R, rtb_Divide), AutopilotLaws_DWork.DelayInput1_DSTATE); if (!AutopilotLaws_DWork.wasActive_not_empty) { @@ -2103,9 +2103,9 @@ void AutopilotLawsModelClass::step() } if ((!AutopilotLaws_DWork.wasActive) && rtb_OR1) { - rtb_Y_e = std::abs(rtb_MaxH_dot_RA1) / 60.0; - AutopilotLaws_DWork.Tau = rtb_BusAssignment.data.H_radio_ft / (rtb_Y_e - 2.5); - AutopilotLaws_DWork.H_bias = AutopilotLaws_DWork.Tau * rtb_Y_e - rtb_BusAssignment.data.H_radio_ft; + rtb_Y_c = std::abs(rtb_MaxH_dot_RA1) / 60.0; + AutopilotLaws_DWork.Tau = rtb_BusAssignment.data.H_radio_ft / (rtb_Y_c - 2.5); + AutopilotLaws_DWork.H_bias = AutopilotLaws_DWork.Tau * rtb_Y_c - rtb_BusAssignment.data.H_radio_ft; } if (rtb_OR1) { @@ -2127,7 +2127,7 @@ void AutopilotLawsModelClass::step() Phi1_tmp = AutopilotLaws_DWork.DelayInput1_DSTATE; } - rtb_Y_e = AutopilotLaws_P.ftmintoms_Gain_k * rtb_Divide / Phi1_tmp; + rtb_Y_c = AutopilotLaws_P.ftmintoms_Gain_k * rtb_Divide / Phi1_tmp; if (AutopilotLaws_DWork.DelayInput1_DSTATE > AutopilotLaws_P.Saturation_UpperSat_ew) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_ew; } else if (AutopilotLaws_DWork.DelayInput1_DSTATE < AutopilotLaws_P.Saturation_LowerSat_an) { @@ -2135,10 +2135,10 @@ void AutopilotLawsModelClass::step() } Phi1_tmp = (rtb_Vz - rtb_MaxH_dot_RA1) * AutopilotLaws_P.ftmintoms_Gain_j / AutopilotLaws_DWork.DelayInput1_DSTATE; - if (rtb_Y_e > 1.0) { - rtb_Y_e = 1.0; - } else if (rtb_Y_e < -1.0) { - rtb_Y_e = -1.0; + if (rtb_Y_c > 1.0) { + rtb_Y_c = 1.0; + } else if (rtb_Y_c < -1.0) { + rtb_Y_c = -1.0; } if (Phi1_tmp > 1.0) { @@ -2147,7 +2147,7 @@ void AutopilotLawsModelClass::step() Phi1_tmp = -1.0; } - rtb_Sum1_g = AutopilotLaws_P.Gain_Gain_gr * std::asin(rtb_Y_e) * AutopilotLaws_P.Gain1_Gain_ml + + rtb_Sum1_g = AutopilotLaws_P.Gain_Gain_gr * std::asin(rtb_Y_c) * AutopilotLaws_P.Gain1_Gain_ml + AutopilotLaws_P.Gain_Gain_by * std::asin(Phi1_tmp) * AutopilotLaws_P.Gain2_Gain_m; rtb_uDLookupTable_m = look1_binlxpw(AutopilotLaws_U.in.data.total_weight_kg, AutopilotLaws_P.uDLookupTable_bp01Data, AutopilotLaws_P.uDLookupTable_tableData, 3U); @@ -2164,11 +2164,11 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = std::atan(AutopilotLaws_DWork.DelayInput1_DSTATE / Phi1_tmp) * AutopilotLaws_P.Gain_Gain_cr; R = AutopilotLaws_P.Gain1_Gain_ga * AutopilotLaws_DWork.DelayInput1_DSTATE; - rtb_Y_e = AutopilotLaws_P.kntoms_Gain_py * AutopilotLaws_U.in.data.V_gnd_kn; - if (rtb_Y_e > AutopilotLaws_P.Saturation_UpperSat_ec) { - rtb_Y_e = AutopilotLaws_P.Saturation_UpperSat_ec; - } else if (rtb_Y_e < AutopilotLaws_P.Saturation_LowerSat_m) { - rtb_Y_e = AutopilotLaws_P.Saturation_LowerSat_m; + rtb_Y_c = AutopilotLaws_P.kntoms_Gain_py * AutopilotLaws_U.in.data.V_gnd_kn; + if (rtb_Y_c > AutopilotLaws_P.Saturation_UpperSat_ec) { + rtb_Y_c = AutopilotLaws_P.Saturation_UpperSat_ec; + } else if (rtb_Y_c < AutopilotLaws_P.Saturation_LowerSat_m) { + rtb_Y_c = AutopilotLaws_P.Saturation_LowerSat_m; } rtb_Divide = AutopilotLaws_P.Gain1_Gain_hm2 * rtb_GainTheta1; @@ -2182,7 +2182,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_LeadLagFilter(rtb_Divide - AutopilotLaws_P.g_Gain_p * (AutopilotLaws_P.Gain1_Gain_mxw * (AutopilotLaws_P.Gain_Gain_er * ((AutopilotLaws_P.Gain1_Gain_ol * rtb_GainTheta - AutopilotLaws_P.Gain1_Gain_ln * (AutopilotLaws_P.Gain_Gain_hc * std::atan(AutopilotLaws_P.fpmtoms_Gain_k * AutopilotLaws_U.in.data.H_dot_ft_min / - rtb_Y_e))) * (AutopilotLaws_P.Constant_Value_h - rtb_GainTheta1) + limit * std::sin(rtb_Gain7_j - + rtb_Y_c))) * (AutopilotLaws_P.Constant_Value_h - rtb_GainTheta1) + limit * std::sin(rtb_Gain7_j - AutopilotLaws_P.Gain1_Gain_a * AutopilotLaws_U.in.data.Psi_magnetic_deg)))), AutopilotLaws_P.HighPassFilter_C1_gw, AutopilotLaws_P.HighPassFilter_C2_e, AutopilotLaws_P.HighPassFilter_C3_di, AutopilotLaws_P.HighPassFilter_C4_a, AutopilotLaws_U.in.time.dt, &rtb_Gain7_j, &AutopilotLaws_DWork.sf_LeadLagFilter_g); @@ -2191,9 +2191,9 @@ void AutopilotLawsModelClass::step() AutopilotLaws_P.LowPassFilter_C4_a, AutopilotLaws_U.in.time.dt, &rtb_Divide, &AutopilotLaws_DWork.sf_LeadLagFilter_n); rtb_Divide = (rtb_Gain7_j + rtb_Divide) * AutopilotLaws_P.ug_Gain_c; rtb_GainTheta1 = (AutopilotLaws_P.Gain1_Gain_nc * rtb_Divide + R) * AutopilotLaws_P.Gain_Gain_bg; - rtb_Y_e = (AutopilotLaws_U.in.data.V_ias_kn - AutopilotLaws_U.in.input.V_c_kn) * AutopilotLaws_P.Gain1_Gain_ke; + rtb_Y_c = (AutopilotLaws_U.in.data.V_ias_kn - AutopilotLaws_U.in.input.V_c_kn) * AutopilotLaws_P.Gain1_Gain_ke; rtb_OR1 = ((rtb_Sum3_m3 > AutopilotLaws_P.CompareToConstant6_const_d) && (rtb_GainTheta1 < - AutopilotLaws_P.CompareToConstant5_const_h) && (rtb_Y_e < AutopilotLaws_P.CompareToConstant2_const_j) && + AutopilotLaws_P.CompareToConstant5_const_h) && (rtb_Y_c < AutopilotLaws_P.CompareToConstant2_const_j) && (rtb_dme == AutopilotLaws_P.CompareToConstant8_const)); rtb_Gain7_j = rtb_Divide + R; if (rtb_OR1) { @@ -2205,15 +2205,15 @@ void AutopilotLawsModelClass::step() R = AutopilotLaws_P.Gain5_Gain_n * rtb_GainTheta1; } - if (rtb_Y_e <= R) { + if (rtb_Y_c <= R) { if (rtb_Sum3_m3 > AutopilotLaws_P.CompareToConstant4_const_e) { R = std::fmax(AutopilotLaws_P.Constant2_Value_m, AutopilotLaws_P.Gain1_Gain_m * rtb_GainTheta1); } else { R = AutopilotLaws_P.Gain6_Gain_fa * rtb_GainTheta1; } - if (rtb_Y_e >= R) { - R = rtb_Y_e; + if (rtb_Y_c >= R) { + R = rtb_Y_c; } } } @@ -2227,7 +2227,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = static_cast(i) * AutopilotLaws_P.Constant3_Value_ew; AutopilotLaws_DWork.DelayInput1_DSTATE -= AutopilotLaws_U.in.data.H_dot_ft_min; - rtb_Y_e = AutopilotLaws_P.ftmintoms_Gain_m * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = AutopilotLaws_P.ftmintoms_Gain_m * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.kntoms_Gain_om * AutopilotLaws_U.in.data.V_tas_kn; if (AutopilotLaws_DWork.DelayInput1_DSTATE > AutopilotLaws_P.Saturation_UpperSat_ed) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_ed; @@ -2235,7 +2235,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_ee; } - Phi1_tmp = rtb_Y_e / AutopilotLaws_DWork.DelayInput1_DSTATE; + Phi1_tmp = rtb_Y_c / AutopilotLaws_DWork.DelayInput1_DSTATE; if (Phi1_tmp > 1.0) { Phi1_tmp = 1.0; } else if (Phi1_tmp < -1.0) { @@ -2244,7 +2244,7 @@ void AutopilotLawsModelClass::step() rtb_Gain7_j = AutopilotLaws_P.Gain_Gain_kon * std::asin(Phi1_tmp); AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Constant_Value_iaf - AutopilotLaws_U.in.data.H_dot_ft_min; - rtb_Y_e = AutopilotLaws_P.ftmintoms_Gain_lv * AutopilotLaws_DWork.DelayInput1_DSTATE; + rtb_Y_c = AutopilotLaws_P.ftmintoms_Gain_lv * AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.kntoms_Gain_iw * AutopilotLaws_U.in.data.V_tas_kn; if (AutopilotLaws_DWork.DelayInput1_DSTATE > AutopilotLaws_P.Saturation_UpperSat_jt) { AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_UpperSat_jt; @@ -2252,7 +2252,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_P.Saturation_LowerSat_ih; } - Phi1_tmp = rtb_Y_e / AutopilotLaws_DWork.DelayInput1_DSTATE; + Phi1_tmp = rtb_Y_c / AutopilotLaws_DWork.DelayInput1_DSTATE; if (Phi1_tmp > 1.0) { Phi1_tmp = 1.0; } else if (Phi1_tmp < -1.0) { @@ -2268,7 +2268,7 @@ void AutopilotLawsModelClass::step() Phi1_tmp = std::fmin(rtb_GainTheta1, rtb_Gain7_j); } - AutopilotLaws_Voter1(rtb_Sum_es, Phi1_tmp, R, &rtb_Y_e); + AutopilotLaws_Voter1(rtb_Sum_es, Phi1_tmp, R, &rtb_Y_c); AutopilotLaws_LagFilter(AutopilotLaws_U.in.input.H_c_ft - AutopilotLaws_U.in.data.H_ft, AutopilotLaws_P.LagFilter_C1_b, AutopilotLaws_U.in.time.dt, &AutopilotLaws_DWork.DelayInput1_DSTATE, &AutopilotLaws_DWork.sf_LagFilter_d); AutopilotLaws_DWork.DelayInput1_DSTATE *= AutopilotLaws_P.Gain2_Gain_hq; @@ -2311,7 +2311,7 @@ void AutopilotLawsModelClass::step() case 3: if (rtb_Compare_jy) { rtb_Mod2_d = rtb_lo_i; - } else if (rtb_Y_a_tmp > AutopilotLaws_P.Switch_Threshold) { + } else if (rtb_Y_ni_tmp > AutopilotLaws_P.Switch_Threshold) { rtb_Mod2_d = std::fmax(rtb_lo_i, rtb_Sum_i); } else { rtb_Mod2_d = std::fmin(rtb_lo_i, rtb_Sum_i); @@ -2334,13 +2334,13 @@ void AutopilotLawsModelClass::step() if (rtb_on_ground > AutopilotLaws_P.Switch1_Threshold_j) { rtb_Mod2_d = AutopilotLaws_P.Gain2_Gain_h * rtb_Gain4; } else { - rtb_Mod2_d = ((AutopilotLaws_P.Gain1_Gain_i * rtb_Y_af + rtb_Y_j) + rtb_Sum1_g * rtb_uDLookupTable_m) * + rtb_Mod2_d = ((AutopilotLaws_P.Gain1_Gain_i * rtb_Y_af + rtb_Y_f) + rtb_Sum1_g * rtb_uDLookupTable_m) * AutopilotLaws_P.Gain6_Gain_f; } break; case 8: - rtb_Mod2_d = rtb_Y_e; + rtb_Mod2_d = rtb_Y_c; break; default: @@ -2362,7 +2362,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_P.RateLimiterVariableTs1_InitialCondition, &AutopilotLaws_DWork.DelayInput1_DSTATE, &AutopilotLaws_DWork.sf_RateLimiter_h); AutopilotLaws_LagFilter(AutopilotLaws_DWork.DelayInput1_DSTATE, AutopilotLaws_P.LagFilter_C1_gh, - AutopilotLaws_U.in.time.dt, &rtb_Y_e, &AutopilotLaws_DWork.sf_LagFilter_pe); + AutopilotLaws_U.in.time.dt, &rtb_Y_c, &AutopilotLaws_DWork.sf_LagFilter_pe); AutopilotLaws_DWork.icLoad_f = ((rtb_BusAssignment.output.ap_on == 0.0) || AutopilotLaws_DWork.icLoad_f); if (AutopilotLaws_DWork.icLoad_f) { AutopilotLaws_DWork.Delay_DSTATE_h2 = rtb_GainTheta; @@ -2371,7 +2371,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_VSLimiter(AutopilotLaws_P.VS_Gain_n * rtb_Product_g5, &rtb_BusAssignment, &rtb_Mod2_d); if (rtb_Compare_jy) { AutopilotLaws_DWork.DelayInput1_DSTATE = rtb_lo_i; - } else if (rtb_Y_a_tmp > AutopilotLaws_P.Switch_Threshold_h) { + } else if (rtb_Y_ni_tmp > AutopilotLaws_P.Switch_Threshold_h) { AutopilotLaws_DWork.DelayInput1_DSTATE = std::fmax(rtb_lo_i, AutopilotLaws_P.VS_Gain_j * rtb_Sum_i); } else { AutopilotLaws_DWork.DelayInput1_DSTATE = std::fmin(rtb_lo_i, AutopilotLaws_P.VS_Gain_j * rtb_Sum_i); @@ -2442,7 +2442,7 @@ void AutopilotLawsModelClass::step() case 7: if (rtb_on_ground <= AutopilotLaws_P.Switch_Threshold_c) { - rtb_Gain4 = ((rtb_Y_j + rtb_Product_g5) + rtb_uDLookupTable_m * rtb_Sum_gq) + Phi2; + rtb_Gain4 = ((rtb_Y_f + rtb_Product_g5) + rtb_uDLookupTable_m * rtb_Sum_gq) + Phi2; } AutopilotLaws_DWork.DelayInput1_DSTATE = std::fmax(-Phi1, std::fmin(Phi1, rtb_Gain4)); @@ -2489,10 +2489,10 @@ void AutopilotLawsModelClass::step() AutopilotLaws_DWork.DelayInput1_DSTATE *= rtb_GainTheta; AutopilotLaws_DWork.DelayInput1_DSTATE += rtb_GainTheta1; R = AutopilotLaws_P.kntofpm_Gain_h * AutopilotLaws_U.in.data.V_gnd_kn * AutopilotLaws_P.maxslope_Gain_j; - AutopilotLaws_LagFilter(rtb_Y_h, AutopilotLaws_P.LagFilter1_C1_d, AutopilotLaws_U.in.time.dt, &Phi1, + AutopilotLaws_LagFilter(rtb_Y_fw, AutopilotLaws_P.LagFilter1_C1_d, AutopilotLaws_U.in.time.dt, &Phi1, &AutopilotLaws_DWork.sf_LagFilter_cs); AutopilotLaws_Y.out = rtb_BusAssignment; - AutopilotLaws_Y.out.output.flight_director.Theta_c_deg = rtb_Y_e; + AutopilotLaws_Y.out.output.flight_director.Theta_c_deg = rtb_Y_c; AutopilotLaws_Y.out.output.autopilot.Theta_c_deg = AutopilotLaws_DWork.DelayInput1_DSTATE; AutopilotLaws_Y.out.output.flare_law.condition_Flare = ((rtb_BusAssignment.data.H_radio_ft < 80.0) && ((rtb_BusAssignment.data.H_radio_ft * 12.7 <= std::abs(std::fmin(std::fmax(b_R - R, AutopilotLaws_P.Gain7_Gain_l * @@ -2500,7 +2500,7 @@ void AutopilotLawsModelClass::step() AutopilotLaws_Y.out.output.flare_law.H_dot_radio_fpm = rtb_MaxH_dot_RA1; AutopilotLaws_Y.out.output.flare_law.H_dot_c_fpm = rtb_Vz; AutopilotLaws_Y.out.output.flare_law.delta_Theta_H_dot_deg = rtb_Sum_gq; - AutopilotLaws_Y.out.output.flare_law.delta_Theta_bz_deg = rtb_Y_j; + AutopilotLaws_Y.out.output.flare_law.delta_Theta_bz_deg = rtb_Y_f; AutopilotLaws_Y.out.output.flare_law.delta_Theta_bx_deg = rtb_Product_g5; AutopilotLaws_Y.out.output.flare_law.delta_Theta_beta_c_deg = Phi2; AutopilotLaws_DWork.DelayInput1_DSTATE = AutopilotLaws_U.in.data.altimeter_setting_left_mbar; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotStateMachine.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotStateMachine.cpp index f7edb88d2e5..fe96a408ee9 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotStateMachine.cpp +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotStateMachine.cpp @@ -2847,26 +2847,26 @@ void AutopilotStateMachine::step() rtb_Compare_c = ((AutopilotStateMachine_U.in.data.altimeter_setting_left_mbar != AutopilotStateMachine_DWork.DelayInput1_DSTATE) || AutopilotStateMachine_DWork.DelayInput1_DSTATE_o); rtb_BusAssignment1_input_APPR_push = AutopilotStateMachine_DWork.DelayInput1_DSTATE_h; - if (!AutopilotStateMachine_DWork.eventTime_not_empty_a) { - AutopilotStateMachine_DWork.eventTime_o = AutopilotStateMachine_U.in.time.simulation_time; - AutopilotStateMachine_DWork.eventTime_not_empty_a = true; + if (!AutopilotStateMachine_DWork.eventTime_not_empty_j) { + AutopilotStateMachine_DWork.eventTime_b = AutopilotStateMachine_U.in.time.simulation_time; + AutopilotStateMachine_DWork.eventTime_not_empty_j = true; } - if ((rtb_on_ground == 0) || (AutopilotStateMachine_DWork.eventTime_o == 0.0)) { - AutopilotStateMachine_DWork.eventTime_o = AutopilotStateMachine_U.in.time.simulation_time; + if ((rtb_on_ground == 0) || (AutopilotStateMachine_DWork.eventTime_b == 0.0)) { + AutopilotStateMachine_DWork.eventTime_b = AutopilotStateMachine_U.in.time.simulation_time; } - rtb_dme = AutopilotStateMachine_U.in.time.simulation_time - AutopilotStateMachine_DWork.eventTime_o; - if (!AutopilotStateMachine_DWork.eventTime_not_empty_b) { - AutopilotStateMachine_DWork.eventTime_c = AutopilotStateMachine_U.in.time.simulation_time; - AutopilotStateMachine_DWork.eventTime_not_empty_b = true; + rtb_dme = AutopilotStateMachine_U.in.time.simulation_time - AutopilotStateMachine_DWork.eventTime_b; + if (!AutopilotStateMachine_DWork.eventTime_not_empty_k) { + AutopilotStateMachine_DWork.eventTime_a = AutopilotStateMachine_U.in.time.simulation_time; + AutopilotStateMachine_DWork.eventTime_not_empty_k = true; } - if ((rtb_on_ground != 0) || (AutopilotStateMachine_DWork.eventTime_c == 0.0)) { - AutopilotStateMachine_DWork.eventTime_c = AutopilotStateMachine_U.in.time.simulation_time; + if ((rtb_on_ground != 0) || (AutopilotStateMachine_DWork.eventTime_a == 0.0)) { + AutopilotStateMachine_DWork.eventTime_a = AutopilotStateMachine_U.in.time.simulation_time; } - Phi2 = AutopilotStateMachine_U.in.time.simulation_time - AutopilotStateMachine_DWork.eventTime_c; + Phi2 = AutopilotStateMachine_U.in.time.simulation_time - AutopilotStateMachine_DWork.eventTime_a; if (!AutopilotStateMachine_DWork.eventTime_not_empty_c) { AutopilotStateMachine_DWork.eventTime_n = AutopilotStateMachine_U.in.time.simulation_time; AutopilotStateMachine_DWork.eventTime_not_empty_c = true; @@ -3221,9 +3221,9 @@ void AutopilotStateMachine::step() AutopilotStateMachine_DWork.eventTime_dp = AutopilotStateMachine_U.in.time.simulation_time; } - if (!AutopilotStateMachine_DWork.eventTime_not_empty_k) { + if (!AutopilotStateMachine_DWork.eventTime_not_empty_k5) { AutopilotStateMachine_DWork.eventTime_g = AutopilotStateMachine_U.in.time.simulation_time; - AutopilotStateMachine_DWork.eventTime_not_empty_k = true; + AutopilotStateMachine_DWork.eventTime_not_empty_k5 = true; } if ((AutopilotStateMachine_U.in.data.H_radio_ft >= 400.0) || (AutopilotStateMachine_DWork.eventTime_g == 0.0)) { @@ -3550,14 +3550,14 @@ void AutopilotStateMachine::step() (AutopilotStateMachine_U.in.data.H_radio_ft >= 900.0) && (AutopilotStateMachine_DWork.Delay1_DSTATE.output.mode != vertical_mode::TCAS) && AutopilotStateMachine_DWork.sTCAS_b); if (!AutopilotStateMachine_DWork.eventTime_not_empty_kq) { - AutopilotStateMachine_DWork.eventTime_o0 = AutopilotStateMachine_U.in.time.simulation_time; + AutopilotStateMachine_DWork.eventTime_o = AutopilotStateMachine_U.in.time.simulation_time; AutopilotStateMachine_DWork.eventTime_not_empty_kq = true; } if (R >= 40.0) { - AutopilotStateMachine_DWork.eventTime_o0 = AutopilotStateMachine_U.in.time.simulation_time; - } else if (AutopilotStateMachine_DWork.eventTime_o0 == 0.0) { - AutopilotStateMachine_DWork.eventTime_o0 = AutopilotStateMachine_U.in.time.simulation_time; + AutopilotStateMachine_DWork.eventTime_o = AutopilotStateMachine_U.in.time.simulation_time; + } else if (AutopilotStateMachine_DWork.eventTime_o == 0.0) { + AutopilotStateMachine_DWork.eventTime_o = AutopilotStateMachine_U.in.time.simulation_time; } c_R = std::abs(AutopilotStateMachine_U.in.data.H_dot_ft_min); @@ -3593,15 +3593,15 @@ void AutopilotStateMachine::step() if (high_i == low_i) { if (c_R >= 100.0) { if (!AutopilotStateMachine_DWork.eventTime_not_empty_or) { - AutopilotStateMachine_DWork.eventTime_ch = AutopilotStateMachine_U.in.time.simulation_time; + AutopilotStateMachine_DWork.eventTime_c = AutopilotStateMachine_U.in.time.simulation_time; AutopilotStateMachine_DWork.eventTime_not_empty_or = true; } - if (rtb_Compare_dl || (AutopilotStateMachine_DWork.eventTime_ch == 0.0)) { - AutopilotStateMachine_DWork.eventTime_ch = AutopilotStateMachine_U.in.time.simulation_time; + if (rtb_Compare_dl || (AutopilotStateMachine_DWork.eventTime_c == 0.0)) { + AutopilotStateMachine_DWork.eventTime_c = AutopilotStateMachine_U.in.time.simulation_time; } - R = AutopilotStateMachine_U.in.time.simulation_time - AutopilotStateMachine_DWork.eventTime_ch; + R = AutopilotStateMachine_U.in.time.simulation_time - AutopilotStateMachine_DWork.eventTime_c; if (R > 0.0) { R += 0.5; } @@ -3620,9 +3620,9 @@ void AutopilotStateMachine::step() if ((AutopilotStateMachine_U.in.input.H_constraint_ft != 0.0) && (AutopilotStateMachine_U.in.input.H_constraint_ft != AutopilotStateMachine_U.in.input.H_fcu_ft)) { - if (!AutopilotStateMachine_DWork.eventTime_not_empty_av) { + if (!AutopilotStateMachine_DWork.eventTime_not_empty_a) { AutopilotStateMachine_DWork.eventTime_nz = AutopilotStateMachine_U.in.time.simulation_time; - AutopilotStateMachine_DWork.eventTime_not_empty_av = true; + AutopilotStateMachine_DWork.eventTime_not_empty_a = true; } if (std::abs(AutopilotStateMachine_U.in.input.H_constraint_ft - AutopilotStateMachine_U.in.data.H_ind_ft) >= 40.0) { @@ -3716,7 +3716,7 @@ void AutopilotStateMachine::step() } if (!AutopilotStateMachine_DWork.eventTime_not_empty_jt) { - AutopilotStateMachine_DWork.eventTime_a = AutopilotStateMachine_U.in.time.simulation_time; + AutopilotStateMachine_DWork.eventTime_ax = AutopilotStateMachine_U.in.time.simulation_time; AutopilotStateMachine_DWork.eventTime_not_empty_jt = true; } @@ -3724,15 +3724,15 @@ void AutopilotStateMachine::step() (AutopilotStateMachine_U.in.data.nav_gs_error_deg) >= 0.1333) || ((AutopilotStateMachine_DWork.Delay1_DSTATE.output.mode != vertical_mode::GS_CPT) && (AutopilotStateMachine_DWork.Delay1_DSTATE.output.mode != vertical_mode::GS_TRACK))) || - (AutopilotStateMachine_DWork.eventTime_a == 0.0)) { - AutopilotStateMachine_DWork.eventTime_a = AutopilotStateMachine_U.in.time.simulation_time; + (AutopilotStateMachine_DWork.eventTime_ax == 0.0)) { + AutopilotStateMachine_DWork.eventTime_ax = AutopilotStateMachine_U.in.time.simulation_time; } if ((rtb_dme >= 30.0) && (AutopilotStateMachine_U.in.data.V2_kn >= 90.0) && (AutopilotStateMachine_U.in.data.flaps_handle_index > 0.0)) { - if (!AutopilotStateMachine_DWork.eventTime_not_empty_j) { + if (!AutopilotStateMachine_DWork.eventTime_not_empty_jq) { AutopilotStateMachine_DWork.eventTime_d = AutopilotStateMachine_U.in.time.simulation_time; - AutopilotStateMachine_DWork.eventTime_not_empty_j = true; + AutopilotStateMachine_DWork.eventTime_not_empty_jq = true; } if ((((AutopilotStateMachine_U.in.data.throttle_lever_1_pos <= 35.0) || @@ -3999,7 +3999,7 @@ void AutopilotStateMachine::step() AutopilotStateMachine_B.BusAssignment_g.vertical.armed.GS = AutopilotStateMachine_DWork.state_l; AutopilotStateMachine_B.BusAssignment_g.vertical.armed.TCAS = AutopilotStateMachine_DWork.sTCAS_b; AutopilotStateMachine_B.BusAssignment_g.vertical.condition.ALT = ((AutopilotStateMachine_U.in.time.simulation_time - - AutopilotStateMachine_DWork.eventTime_o0 > 0.8) && (!rtb_Compare_dl)); + AutopilotStateMachine_DWork.eventTime_o > 0.8) && (!rtb_Compare_dl)); AutopilotStateMachine_B.BusAssignment_g.vertical.condition.CLB = ((Phi2 > 5.0) && (rtb_dme_tmp > 50.0) && (AutopilotStateMachine_DWork.Delay_DSTATE.output.mode == lateral_mode::NAV) && (AutopilotStateMachine_DWork.Delay1_DSTATE.output.mode != vertical_mode::GS_CPT) && @@ -4024,7 +4024,7 @@ void AutopilotStateMachine::step() (AutopilotStateMachine_U.in.input.FM_final_des_can_engage && (AutopilotStateMachine_DWork.Delay_DSTATE.output.mode == lateral_mode::NAV)); AutopilotStateMachine_B.BusAssignment_g.vertical.condition.GS_TRACK = (AutopilotStateMachine_U.in.time.simulation_time - - AutopilotStateMachine_DWork.eventTime_a >= 15.0); + - AutopilotStateMachine_DWork.eventTime_ax >= 15.0); AutopilotStateMachine_B.BusAssignment_g.vertical.condition.LAND = speedTargetChanged; AutopilotStateMachine_B.BusAssignment_g.vertical.condition.FLARE = rtb_cFLARE; AutopilotStateMachine_B.BusAssignment_g.vertical.condition.ROLL_OUT = AutopilotStateMachine_DWork.state; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotStateMachine.h b/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotStateMachine.h index 87b2ea43a8c..253ab1d44b6 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotStateMachine.h +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/AutopilotStateMachine.h @@ -41,8 +41,8 @@ class AutopilotStateMachine final real_T nav_gs_deg; real_T eventTime; real_T eventTime_n; - real_T eventTime_c; - real_T eventTime_o; + real_T eventTime_a; + real_T eventTime_b; real_T pY; real_T pU; real_T lastTargetSpeed; @@ -53,11 +53,11 @@ class AutopilotStateMachine final real_T runwayHeadingStored; real_T eventTime_dp; real_T eventTime_g; - real_T eventTime_a; + real_T eventTime_ax; real_T eventTime_j; real_T eventTime_nz; - real_T eventTime_ch; - real_T eventTime_o0; + real_T eventTime_c; + real_T eventTime_o; real_T canArm; real_T canArm_f; boolean_T DelayInput1_DSTATE_a; @@ -109,8 +109,8 @@ class AutopilotStateMachine final boolean_T prev_FDES_armed; boolean_T eventTime_not_empty; boolean_T eventTime_not_empty_c; - boolean_T eventTime_not_empty_b; - boolean_T eventTime_not_empty_a; + boolean_T eventTime_not_empty_k; + boolean_T eventTime_not_empty_j; boolean_T pY_not_empty; boolean_T pU_not_empty; boolean_T lastTargetSpeed_not_empty; @@ -122,14 +122,14 @@ class AutopilotStateMachine final boolean_T sTCAS; boolean_T latch; boolean_T sSRS; - boolean_T eventTime_not_empty_j; + boolean_T eventTime_not_empty_jq; boolean_T state; boolean_T eventTime_not_empty_o; - boolean_T eventTime_not_empty_k; + boolean_T eventTime_not_empty_k5; boolean_T eventTime_not_empty_jt; boolean_T sThrottleCondition; boolean_T eventTime_not_empty_p; - boolean_T eventTime_not_empty_av; + boolean_T eventTime_not_empty_a; boolean_T eventTime_not_empty_or; boolean_T eventTime_not_empty_kq; boolean_T sTCAS_b; diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/FacComputer.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/FacComputer.cpp index aa35c6378b7..8a553996b18 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/FacComputer.cpp +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/FacComputer.cpp @@ -276,19 +276,19 @@ void FacComputer::step() real32_T rtb_r; real32_T rtb_theta; real32_T rtb_theta_dot; - real32_T rtb_y_hb; - real32_T rtb_y_na; + real32_T rtb_y_a; + real32_T rtb_y_oi; uint32_T bpIndices[3]; uint32_T bpIndices_0[3]; uint32_T bpIndices_1[3]; uint32_T bpIndices_2[3]; - uint32_T rtb_y_a; - uint32_T rtb_y_dq; - uint32_T rtb_y_e; - uint32_T rtb_y_ey; - uint32_T rtb_y_fn; - uint32_T rtb_y_l5; - uint32_T rtb_y_n; + uint32_T rtb_y_ep; + uint32_T rtb_y_ig; + uint32_T rtb_y_l2; + uint32_T rtb_y_m; + uint32_T rtb_y_os; + uint32_T rtb_y_p; + uint32_T rtb_y_ph; boolean_T rtb_VectorConcatenate[19]; boolean_T rtb_VectorConcatenate_i[19]; boolean_T guard1; @@ -313,9 +313,9 @@ void FacComputer::step() boolean_T rtb_Switch_io_idx_2; boolean_T rtb_rudderTravelLimEngaged; boolean_T rtb_rudderTrimEngaged; - boolean_T rtb_y_gg; + boolean_T rtb_y_b4; boolean_T rtb_y_h; - boolean_T rtb_y_k5; + boolean_T rtb_y_ool; boolean_T rtb_yawDamperEngaged; boolean_T rudderTravelLimCanEngage; boolean_T rudderTravelLimHasPriority; @@ -362,41 +362,41 @@ void FacComputer::step() FacComputer_DWork.Runtime_MODE = true; } - FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.lgciu_own_bus.discrete_word_1, &rtb_y_k5); + FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.lgciu_own_bus.discrete_word_1, &rtb_y_b4); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.lgciu_own_bus.discrete_word_2, - FacComputer_P.BitfromLabel_bit, &rtb_y_a); - FacComputer_MATLABFunction_p((FacComputer_U.in.discrete_inputs.nose_gear_pressed == (rtb_y_a != 0U)), - FacComputer_U.in.time.dt, FacComputer_P.ConfirmNode_isRisingEdge, FacComputer_P.ConfirmNode_timeDelay, &rtb_y_gg, + FacComputer_P.BitfromLabel_bit, &rtb_y_ep); + FacComputer_MATLABFunction_p((FacComputer_U.in.discrete_inputs.nose_gear_pressed == (rtb_y_ep != 0U)), + FacComputer_U.in.time.dt, FacComputer_P.ConfirmNode_isRisingEdge, FacComputer_P.ConfirmNode_timeDelay, &rtb_y_ool, &FacComputer_DWork.sf_MATLABFunction_a); - rtb_Memory = (rtb_y_k5 && rtb_y_gg); + rtb_Memory = (rtb_y_b4 && rtb_y_ool); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.lgciu_own_bus.discrete_word_2, - FacComputer_P.BitfromLabel5_bit, &rtb_y_ey); + FacComputer_P.BitfromLabel5_bit, &rtb_y_p); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.lgciu_own_bus.discrete_word_2, - FacComputer_P.BitfromLabel6_bit, &rtb_y_l5); + FacComputer_P.BitfromLabel6_bit, &rtb_y_l2); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.lgciu_own_bus.discrete_word_3, - FacComputer_P.BitfromLabel7_bit, &rtb_y_fn); + FacComputer_P.BitfromLabel7_bit, &rtb_y_ph); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.lgciu_own_bus.discrete_word_3, - FacComputer_P.BitfromLabel8_bit, &rtb_y_dq); + FacComputer_P.BitfromLabel8_bit, &rtb_y_ig); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel1_bit, &rtb_y_a); - FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, &rtb_y_k5); - rtb_AND1 = ((rtb_y_a != 0U) && rtb_y_k5); + FacComputer_P.BitfromLabel1_bit, &rtb_y_ep); + FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, &rtb_y_b4); + rtb_AND1 = ((rtb_y_ep != 0U) && rtb_y_b4); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel4_bit, &rtb_y_n); + FacComputer_P.BitfromLabel4_bit, &rtb_y_m); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel3_bit, &rtb_y_e); + FacComputer_P.BitfromLabel3_bit, &rtb_y_os); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel2_bit, &rtb_y_a); + FacComputer_P.BitfromLabel2_bit, &rtb_y_ep); if (rtb_Memory) { - rtb_y_k5 = (rtb_y_ey != 0U); - rtb_Switch_io_idx_1 = (rtb_y_l5 != 0U); - rtb_Switch_io_idx_2 = ((rtb_y_fn != 0U) || (rtb_y_dq != 0U)); + rtb_y_b4 = (rtb_y_p != 0U); + rtb_Switch_io_idx_1 = (rtb_y_l2 != 0U); + rtb_Switch_io_idx_2 = ((rtb_y_ph != 0U) || (rtb_y_ig != 0U)); } else if (rtb_AND1) { - rtb_y_k5 = (rtb_y_n != 0U); - rtb_Switch_io_idx_1 = (rtb_y_e != 0U); - rtb_Switch_io_idx_2 = (rtb_y_a != 0U); + rtb_y_b4 = (rtb_y_m != 0U); + rtb_Switch_io_idx_1 = (rtb_y_os != 0U); + rtb_Switch_io_idx_2 = (rtb_y_ep != 0U); } else { - rtb_y_k5 = FacComputer_P.Constant_Value_c; + rtb_y_b4 = FacComputer_P.Constant_Value_c; rtb_Switch_io_idx_1 = FacComputer_P.Constant_Value_c; rtb_Switch_io_idx_2 = FacComputer_P.Constant_Value_c; } @@ -404,55 +404,55 @@ void FacComputer::step() rtb_BusAssignment_logic_lgciu_own_valid = rtb_Memory; rtb_AND1 = ((!rtb_Memory) && (!rtb_AND1)); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel1_bit_d, &rtb_y_a); - FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, &rtb_y_gg); - rtb_AND1_d = ((rtb_y_a != 0U) && rtb_y_gg); + FacComputer_P.BitfromLabel1_bit_d, &rtb_y_ep); + FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, &rtb_y_ool); + rtb_AND1_d = ((rtb_y_ep != 0U) && rtb_y_ool); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel8_bit_i, &rtb_y_ey); - rtb_DataTypeConversion_gi = (rtb_y_ey != 0U); + FacComputer_P.BitfromLabel8_bit_i, &rtb_y_p); + rtb_DataTypeConversion_gi = (rtb_y_p != 0U); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel9_bit, &rtb_y_l5); - rtb_DataTypeConversion_l5 = (rtb_y_l5 != 0U); + FacComputer_P.BitfromLabel9_bit, &rtb_y_l2); + rtb_DataTypeConversion_l5 = (rtb_y_l2 != 0U); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel10_bit, &rtb_y_fn); - rtb_DataTypeConversion_o = (rtb_y_fn != 0U); + FacComputer_P.BitfromLabel10_bit, &rtb_y_ph); + rtb_DataTypeConversion_o = (rtb_y_ph != 0U); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel11_bit, &rtb_y_dq); - rtb_DataTypeConversion_f5 = (rtb_y_dq != 0U); + FacComputer_P.BitfromLabel11_bit, &rtb_y_ig); + rtb_DataTypeConversion_f5 = (rtb_y_ig != 0U); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.fac_opp_bus.discrete_word_5, - FacComputer_P.BitfromLabel12_bit, &rtb_y_a); - rtb_DataTypeConversion_l3 = (rtb_y_a != 0U); + FacComputer_P.BitfromLabel12_bit, &rtb_y_ep); + rtb_DataTypeConversion_l3 = (rtb_y_ep != 0U); FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.sfcc_own_bus.slat_flap_system_status_word, &rtb_Memory); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.sfcc_own_bus.slat_flap_actual_position_word, - FacComputer_P.BitfromLabel_bit_m, &rtb_y_a); - FacComputer_MATLABFunction_p((FacComputer_U.in.discrete_inputs.slats_extended != (rtb_y_a != 0U)), + FacComputer_P.BitfromLabel_bit_m, &rtb_y_ep); + FacComputer_MATLABFunction_p((FacComputer_U.in.discrete_inputs.slats_extended != (rtb_y_ep != 0U)), FacComputer_U.in.time.dt, FacComputer_P.ConfirmNode_isRisingEdge_a, FacComputer_P.ConfirmNode_timeDelay_m, - &rtb_y_gg, &FacComputer_DWork.sf_MATLABFunction_jf); - rtb_DataTypeConversion_kr = (rtb_Memory && rtb_y_gg); + &rtb_y_ool, &FacComputer_DWork.sf_MATLABFunction_jf); + rtb_DataTypeConversion_kr = (rtb_Memory && rtb_y_ool); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.sfcc_own_bus.slat_flap_system_status_word, - FacComputer_P.BitfromLabel2_bit_n, &rtb_y_a); + FacComputer_P.BitfromLabel2_bit_n, &rtb_y_ep); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.sfcc_own_bus.slat_flap_system_status_word, - FacComputer_P.BitfromLabel3_bit_i, &rtb_y_dq); + FacComputer_P.BitfromLabel3_bit_i, &rtb_y_ig); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.sfcc_own_bus.slat_flap_system_status_word, - FacComputer_P.BitfromLabel4_bit_p, &rtb_y_fn); + FacComputer_P.BitfromLabel4_bit_p, &rtb_y_ph); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.sfcc_own_bus.slat_flap_system_status_word, - FacComputer_P.BitfromLabel5_bit_g, &rtb_y_n); + FacComputer_P.BitfromLabel5_bit_g, &rtb_y_m); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.sfcc_own_bus.slat_flap_system_status_word, - FacComputer_P.BitfromLabel6_bit_n, &rtb_y_ey); + FacComputer_P.BitfromLabel6_bit_n, &rtb_y_p); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.sfcc_own_bus.slat_flap_system_status_word, - FacComputer_P.BitfromLabel7_bit_p, &rtb_y_l5); + FacComputer_P.BitfromLabel7_bit_p, &rtb_y_l2); if (rtb_DataTypeConversion_kr) { - if (rtb_y_a != 0U) { + if (rtb_y_ep != 0U) { rtb_Switch_i_idx_0 = 0.0F; - } else if ((rtb_y_dq != 0U) && (rtb_y_l5 != 0U)) { + } else if ((rtb_y_ig != 0U) && (rtb_y_l2 != 0U)) { rtb_Switch_i_idx_0 = 1.0F; - } else if ((rtb_y_dq != 0U) && (rtb_y_l5 == 0U)) { + } else if ((rtb_y_ig != 0U) && (rtb_y_l2 == 0U)) { rtb_Switch_i_idx_0 = 2.0F; - } else if (rtb_y_fn != 0U) { + } else if (rtb_y_ph != 0U) { rtb_Switch_i_idx_0 = 3.0F; - } else if (rtb_y_n != 0U) { + } else if (rtb_y_m != 0U) { rtb_Switch_i_idx_0 = 4.0F; - } else if (rtb_y_ey != 0U) { + } else if (rtb_y_p != 0U) { rtb_Switch_i_idx_0 = 5.0F; } else { rtb_Switch_i_idx_0 = 0.0F; @@ -572,26 +572,26 @@ void FacComputer::step() rtb_Switch1 = rtb_theta_dot; rtb_BusAssignment_m_logic_sfcc_own_valid = rtb_DataTypeConversion_kr; rtb_AND1_d = ((!rtb_DataTypeConversion_kr) && (!rtb_AND1_d)); - rtb_DataTypeConversion_kr = (rtb_y_k5 || rtb_Switch_io_idx_1); + rtb_DataTypeConversion_kr = (rtb_y_b4 || rtb_Switch_io_idx_1); yawDamperCanEngage = (FacComputer_U.in.discrete_inputs.yaw_damper_has_hyd_press && FacComputer_U.in.discrete_inputs.fac_engaged_from_switch); - rtb_y_gg = !FacComputer_U.in.discrete_inputs.is_unit_1; - yawDamperHasPriority = (FacComputer_U.in.discrete_inputs.is_unit_1 || (rtb_y_gg && + rtb_y_ool = !FacComputer_U.in.discrete_inputs.is_unit_1; + yawDamperHasPriority = (FacComputer_U.in.discrete_inputs.is_unit_1 || (rtb_y_ool && (!FacComputer_U.in.discrete_inputs.yaw_damper_opp_engaged))); rtb_yawDamperEngaged = (yawDamperCanEngage && yawDamperHasPriority); rudderTrimCanEngage = (FacComputer_U.in.discrete_inputs.rudder_trim_actuator_healthy && FacComputer_U.in.discrete_inputs.fac_engaged_from_switch); - rudderTrimHasPriority = (FacComputer_U.in.discrete_inputs.is_unit_1 || (rtb_y_gg && + rudderTrimHasPriority = (FacComputer_U.in.discrete_inputs.is_unit_1 || (rtb_y_ool && (!FacComputer_U.in.discrete_inputs.rudder_trim_opp_engaged))); rtb_rudderTrimEngaged = (rudderTrimCanEngage && rudderTrimHasPriority); rudderTravelLimCanEngage = (FacComputer_U.in.discrete_inputs.rudder_travel_lim_actuator_healthy && FacComputer_U.in.discrete_inputs.fac_engaged_from_switch); - rudderTravelLimHasPriority = (FacComputer_U.in.discrete_inputs.is_unit_1 || (rtb_y_gg && + rudderTravelLimHasPriority = (FacComputer_U.in.discrete_inputs.is_unit_1 || (rtb_y_ool && (!FacComputer_U.in.discrete_inputs.rudder_travel_lim_opp_engaged))); rtb_rudderTravelLimEngaged = (rudderTravelLimCanEngage && rudderTravelLimHasPriority); rtb_OR1 = !rtb_DataTypeConversion_kr; FacComputer_MATLABFunction_p(rtb_OR1, FacComputer_U.in.time.dt, FacComputer_P.ConfirmNode_isRisingEdge_o, - FacComputer_P.ConfirmNode_timeDelay_l, &rtb_y_gg, &FacComputer_DWork.sf_MATLABFunction_p); + FacComputer_P.ConfirmNode_timeDelay_l, &rtb_y_ool, &FacComputer_DWork.sf_MATLABFunction_p); rtb_BusAssignment_h_logic_on_ground = rtb_DataTypeConversion_kr; Vcas = rtb_V_ias * 0.5144; if (rtb_V_ias >= 30.0F) { @@ -605,7 +605,7 @@ void FacComputer::step() &FacComputer_DWork.sf_LagFilter_d); FacComputer_LagFilter_k(FacComputer_U.in.bus_inputs.fmgc_own_bus.n1_right_percent.Data - FacComputer_U.in.bus_inputs.fmgc_own_bus.n1_left_percent.Data, FacComputer_P.LagFilter1_C1_d, - FacComputer_U.in.time.dt, &rtb_y_hb, &FacComputer_DWork.sf_LagFilter_k); + FacComputer_U.in.time.dt, &rtb_y_oi, &FacComputer_DWork.sf_LagFilter_k); if (rtb_alpha > FacComputer_P.Saturation_UpperSat_a) { rtb_Y_br = FacComputer_P.Saturation_UpperSat_a; } else if (rtb_alpha < FacComputer_P.Saturation_LowerSat_l) { @@ -618,7 +618,7 @@ void FacComputer::step() &FacComputer_DWork.sf_LagFilter_f); FacComputer_LagFilter_k(FacComputer_U.in.bus_inputs.fmgc_own_bus.n1_left_percent.Data - FacComputer_U.in.bus_inputs.fmgc_own_bus.n1_right_percent.Data, FacComputer_P.LagFilter3_C1, - FacComputer_U.in.time.dt, &rtb_y_na, &FacComputer_DWork.sf_LagFilter_d5); + FacComputer_U.in.time.dt, &rtb_y_a, &FacComputer_DWork.sf_LagFilter_d5); if (rtb_V_ias > FacComputer_P.Saturation1_UpperSat_o) { rtb_Switch6 = FacComputer_P.Saturation1_UpperSat_o; } else if (rtb_V_ias < FacComputer_P.Saturation1_LowerSat_n) { @@ -627,11 +627,11 @@ void FacComputer::step() rtb_Switch6 = rtb_V_ias; } - rtb_beta = (rtb_Switch1 * rtb_y_na * FacComputer_P.Gain5_Gain + FacComputer_P.Gain4_Gain_o * rtb_y_hb) / rtb_Switch6 - / rtb_Switch6 * FacComputer_P.Gain_Gain_k; + rtb_beta = (rtb_Switch1 * rtb_y_a * FacComputer_P.Gain5_Gain + FacComputer_P.Gain4_Gain_o * rtb_y_oi) / rtb_Switch6 / + rtb_Switch6 * FacComputer_P.Gain_Gain_k; FacComputer_LagFilter(static_cast(rtb_alpha), FacComputer_P.LagFilter_C1, FacComputer_U.in.time.dt, &rtb_Switch6, &FacComputer_DWork.sf_LagFilter_c); - rtb_BusAssignment_d_logic_speed_scale_visible = rtb_y_gg; + rtb_BusAssignment_d_logic_speed_scale_visible = rtb_y_ool; rtb_BusAssignment_d_flight_envelope_beta_target_visible = ((std::abs (FacComputer_U.in.bus_inputs.fmgc_own_bus.n1_left_percent.Data - FacComputer_U.in.bus_inputs.fmgc_own_bus.n1_right_percent.Data) >= FacComputer_P.CompareToConstant_const_f) && @@ -639,10 +639,10 @@ void FacComputer::step() (FacComputer_U.in.bus_inputs.fmgc_own_bus.n1_right_percent.Data > FacComputer_P.CompareToConstant2_const_i))); rtb_BusAssignment_d_flight_envelope_alpha_filtered_deg = rtb_Switch6; FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.elac_1_bus.discrete_status_word_2, - FacComputer_P.BitfromLabel6_bit_m, &rtb_y_a); - rtb_DataTypeConversion_kr = (rtb_y_a != 0U); + FacComputer_P.BitfromLabel6_bit_m, &rtb_y_ep); + rtb_DataTypeConversion_kr = (rtb_y_ep != 0U); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.elac_2_bus.discrete_status_word_2, - FacComputer_P.BitfromLabel7_bit_i, &rtb_y_a); + FacComputer_P.BitfromLabel7_bit_i, &rtb_y_ep); FacComputer_RateLimiter(look2_binlxpw(static_cast(rtb_mach), static_cast(rtb_Switch_i_idx_0), FacComputer_P.alphafloor_bp01Data, FacComputer_P.alphafloor_bp02Data, FacComputer_P.alphafloor_tableData, FacComputer_P.alphafloor_maxIndex, 4U), FacComputer_P.RateLimiterGenericVariableTs1_up, @@ -652,8 +652,8 @@ void FacComputer::step() rtb_Switch6 = rtb_Gain - FacComputer_DWork.Delay_DSTATE; FacComputer_LagFilter(rtb_Switch6 / FacComputer_U.in.time.dt, FacComputer_P.LagFilter_C1_k, FacComputer_U.in.time.dt, &rtb_Switch6, &FacComputer_DWork.sf_LagFilter); - FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.fmgc_own_bus.fg_radio_height_ft, &rtb_y_gg); - if (rtb_y_gg) { + FacComputer_MATLABFunction(&FacComputer_U.in.bus_inputs.fmgc_own_bus.fg_radio_height_ft, &rtb_y_ool); + if (rtb_y_ool) { rtb_Switch = FacComputer_U.in.bus_inputs.fmgc_own_bus.fg_radio_height_ft.Data; } else { rtb_Switch = FacComputer_P.Constant_Value; @@ -731,7 +731,7 @@ void FacComputer::step() } if (guard1) { - if ((rtb_alpha_floor_inhib != 0) || ((!rtb_DataTypeConversion_kr) && (rtb_y_a == 0U)) || + if ((rtb_alpha_floor_inhib != 0) || ((!rtb_DataTypeConversion_kr) && (rtb_y_ep == 0U)) || (!FacComputer_P.Constant1_Value_mf)) { FacComputer_DWork.sAlphaFloor = 0.0; } @@ -796,7 +796,7 @@ void FacComputer::step() FacComputer_P.spoilermaxdeflection_bp01Data, FacComputer_P.spoilermaxdeflection_tableData, 5U) * look1_binlxpw( static_cast(rtb_Switch_i_idx_0), FacComputer_P.VLSincreasemaxdeflection_bp01Data, FacComputer_P.VLSincreasemaxdeflection_tableData, 5U); - rtb_OR1 = ((!rtb_AND1) && rtb_y_k5 && rtb_Switch_io_idx_1); + rtb_OR1 = ((!rtb_AND1) && rtb_y_b4 && rtb_Switch_io_idx_1); if (rtb_OR1) { FacComputer_DWork.takeoff_config = rtb_Switch_i_idx_0; } else if (FacComputer_DWork.takeoff_config != rtb_Switch_i_idx_0) { @@ -924,8 +924,8 @@ void FacComputer::step() (rtb_Switch_i_idx_0 == FacComputer_P.CompareToConstant2_const)); rtb_BusAssignment_f_flight_envelope_v_fe_next_kn = look1_binlxpw(static_cast(rtb_Switch_i_idx_0), FacComputer_P.uDLookupTable1_bp01Data_pi, FacComputer_P.uDLookupTable1_tableData_ow, 5U); - rtb_y_gg = (FacComputer_U.in.discrete_inputs.ap_own_engaged || FacComputer_U.in.discrete_inputs.ap_opp_engaged); - rtb_AND = (FacComputer_U.in.discrete_inputs.rudder_trim_reset_button && (!rtb_y_gg)); + rtb_y_ool = (FacComputer_U.in.discrete_inputs.ap_own_engaged || FacComputer_U.in.discrete_inputs.ap_opp_engaged); + rtb_AND = (FacComputer_U.in.discrete_inputs.rudder_trim_reset_button && (!rtb_y_ool)); if (!FacComputer_DWork.previousInput_not_empty) { FacComputer_DWork.previousInput = FacComputer_P.PulseNode_isRisingEdge; FacComputer_DWork.previousInput_not_empty = true; @@ -940,18 +940,18 @@ void FacComputer::step() FacComputer_DWork.previousInput = rtb_AND; FacComputer_DWork.Memory_PreviousInput = FacComputer_P.Logic_table [(((FacComputer_U.in.discrete_inputs.rudder_trim_switch_left || - FacComputer_U.in.discrete_inputs.rudder_trim_switch_right || rtb_y_gg) + (static_cast(rtb_y_h) << 1)) + FacComputer_U.in.discrete_inputs.rudder_trim_switch_right || rtb_y_ool) + (static_cast(rtb_y_h) << 1)) << 1) + FacComputer_DWork.Memory_PreviousInput]; rtb_AND = !rtb_rudderTrimEngaged; FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.elac_1_bus.discrete_status_word_1, - FacComputer_P.BitfromLabel_bit_j, &rtb_y_fn); + FacComputer_P.BitfromLabel_bit_j, &rtb_y_ph); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.elac_2_bus.discrete_status_word_1, - FacComputer_P.BitfromLabel1_bit_e, &rtb_y_dq); - if (rtb_y_gg) { + FacComputer_P.BitfromLabel1_bit_e, &rtb_y_ig); + if (rtb_y_ool) { if (FacComputer_U.in.bus_inputs.fmgc_own_bus.fg_radio_height_ft.Data >= FacComputer_P.Switch6_Threshold_n) { - if ((rtb_y_fn != 0U) && FacComputer_U.in.discrete_inputs.elac_1_healthy) { + if ((rtb_y_ph != 0U) && FacComputer_U.in.discrete_inputs.elac_1_healthy) { rtb_Y_br = FacComputer_U.in.bus_inputs.elac_1_bus.yaw_damper_command_deg.Data; - } else if ((rtb_y_dq != 0U) && FacComputer_U.in.discrete_inputs.elac_2_healthy) { + } else if ((rtb_y_ig != 0U) && FacComputer_U.in.discrete_inputs.elac_2_healthy) { rtb_Y_br = FacComputer_U.in.bus_inputs.elac_2_bus.yaw_damper_command_deg.Data; } else { rtb_Y_br = FacComputer_P.Constant1_Value_m; @@ -998,16 +998,16 @@ void FacComputer::step() FacComputer_P.RateLimiterGenericVariableTs_lo_d, FacComputer_U.in.time.dt, FacComputer_U.in.analog_inputs.rudder_trim_position_deg, rtb_AND, &rtb_Y_l, &FacComputer_DWork.sf_RateLimiter_l); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.elac_1_bus.discrete_status_word_1, - FacComputer_P.BitfromLabel_bit_c, &rtb_y_a); - rtb_y_gg = (rtb_y_a != 0U); + FacComputer_P.BitfromLabel_bit_c, &rtb_y_ep); + rtb_y_ool = (rtb_y_ep != 0U); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.elac_1_bus.discrete_status_word_1, - FacComputer_P.BitfromLabel1_bit_n, &rtb_y_a); - rtb_AND = (rtb_y_gg && FacComputer_U.in.discrete_inputs.elac_1_healthy && (rtb_y_a != 0U)); + FacComputer_P.BitfromLabel1_bit_n, &rtb_y_ep); + rtb_AND = (rtb_y_ool && FacComputer_U.in.discrete_inputs.elac_1_healthy && (rtb_y_ep != 0U)); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.elac_2_bus.discrete_status_word_1, - FacComputer_P.BitfromLabel3_bit_k, &rtb_y_a); - rtb_y_gg = (rtb_y_a != 0U); + FacComputer_P.BitfromLabel3_bit_k, &rtb_y_ep); + rtb_y_ool = (rtb_y_ep != 0U); FacComputer_MATLABFunction_g(&FacComputer_U.in.bus_inputs.elac_2_bus.discrete_status_word_1, - FacComputer_P.BitfromLabel4_bit_k, &rtb_y_a); + FacComputer_P.BitfromLabel4_bit_k, &rtb_y_ep); if ((!FacComputer_DWork.pY_not_empty) || (!FacComputer_DWork.pU_not_empty)) { FacComputer_DWork.pU = rtb_r; FacComputer_DWork.pU_not_empty = true; @@ -1020,7 +1020,7 @@ void FacComputer::step() FacComputer_DWork.pY = (2.0 - rtb_Switch6) / (rtb_Switch6 + 2.0) * FacComputer_DWork.pY + (rtb_r * rtb_Y_br - FacComputer_DWork.pU * rtb_Y_br); FacComputer_DWork.pU = rtb_r; - if (rtb_AND || (rtb_y_gg && FacComputer_U.in.discrete_inputs.elac_2_healthy && (rtb_y_a != 0U))) { + if (rtb_AND || (rtb_y_ool && FacComputer_U.in.discrete_inputs.elac_2_healthy && (rtb_y_ep != 0U))) { if (rtb_AND) { rtb_Switch6 = FacComputer_U.in.bus_inputs.elac_1_bus.yaw_damper_command_deg.Data; } else { @@ -1077,7 +1077,7 @@ void FacComputer::step() rtb_VectorConcatenate[16] = FacComputer_P.Constant10_Value; rtb_VectorConcatenate[17] = FacComputer_P.Constant10_Value; rtb_VectorConcatenate[18] = FacComputer_P.Constant10_Value; - FacComputer_MATLABFunction_g3(rtb_VectorConcatenate, &rtb_y_na); + FacComputer_MATLABFunction_g3(rtb_VectorConcatenate, &rtb_y_a); if (FacComputer_P.Constant_Value_b5) { rtb_alpha_floor_inhib = static_cast(FacComputer_P.EnumeratedConstant2_Value); rtb_v_ls_kn_SSM = static_cast(FacComputer_P.EnumeratedConstant2_Value); @@ -1155,7 +1155,7 @@ void FacComputer::step() rtb_VectorConcatenate[16] = FacComputer_P.Constant18_Value; rtb_VectorConcatenate[17] = FacComputer_P.Constant18_Value; rtb_VectorConcatenate[18] = FacComputer_P.Constant18_Value; - FacComputer_MATLABFunction_g3(rtb_VectorConcatenate, &rtb_y_hb); + FacComputer_MATLABFunction_g3(rtb_VectorConcatenate, &rtb_y_oi); rtb_VectorConcatenate[0] = FacComputer_P.Constant9_Value; rtb_VectorConcatenate[1] = FacComputer_P.Constant9_Value; rtb_VectorConcatenate[2] = FacComputer_P.Constant9_Value; @@ -1183,7 +1183,7 @@ void FacComputer::step() rtb_VectorConcatenate_i[4] = (rtb_Switch_i_idx_0 == 5.0F); rtb_VectorConcatenate_i[5] = rtb_BusAssignment_logic_lgciu_own_valid; rtb_VectorConcatenate_i[6] = rtb_AND1; - rtb_VectorConcatenate_i[7] = rtb_y_k5; + rtb_VectorConcatenate_i[7] = rtb_y_b4; rtb_VectorConcatenate_i[8] = rtb_Switch_io_idx_1; rtb_VectorConcatenate_i[9] = rtb_Switch_io_idx_2; rtb_VectorConcatenate_i[10] = rtb_BusAssignment_m_logic_sfcc_own_valid; @@ -1202,7 +1202,7 @@ void FacComputer::step() FacComputer_Y.out.laws.rudder_travel_lim_command_deg = rtb_Y_g4; FacComputer_Y.out.logic.lgciu_own_valid = rtb_BusAssignment_logic_lgciu_own_valid; FacComputer_Y.out.logic.all_lgciu_lost = rtb_AND1; - FacComputer_Y.out.logic.left_main_gear_pressed = rtb_y_k5; + FacComputer_Y.out.logic.left_main_gear_pressed = rtb_y_b4; FacComputer_Y.out.logic.right_main_gear_pressed = rtb_Switch_io_idx_1; FacComputer_Y.out.logic.main_gear_out = rtb_Switch_io_idx_2; FacComputer_Y.out.logic.sfcc_own_valid = rtb_BusAssignment_m_logic_sfcc_own_valid; @@ -1340,7 +1340,7 @@ void FacComputer::step() FacComputer_Y.out.bus_outputs.fac_flap_angle_deg.Data = rtb_Switch_i_idx_1; FacComputer_Y.out.bus_outputs.discrete_word_2.SSM = static_cast(FacComputer_P.EnumeratedConstant1_Value); - FacComputer_Y.out.bus_outputs.discrete_word_2.Data = rtb_y_na; + FacComputer_Y.out.bus_outputs.discrete_word_2.Data = rtb_y_a; FacComputer_Y.out.bus_outputs.rudder_travel_limit_command_deg.SSM = static_cast (FacComputer_P.EnumeratedConstant1_Value); FacComputer_Y.out.bus_outputs.rudder_travel_limit_command_deg.Data = static_cast @@ -1381,7 +1381,7 @@ void FacComputer::step() FacComputer_Y.out.bus_outputs.v_fe_next_kn.Data = static_cast (rtb_BusAssignment_f_flight_envelope_v_fe_next_kn); FacComputer_Y.out.bus_outputs.discrete_word_3.SSM = static_cast(FacComputer_P.EnumeratedConstant1_Value); - FacComputer_Y.out.bus_outputs.discrete_word_3.Data = rtb_y_hb; + FacComputer_Y.out.bus_outputs.discrete_word_3.Data = rtb_y_oi; FacComputer_Y.out.bus_outputs.discrete_word_4.SSM = static_cast(FacComputer_P.EnumeratedConstant1_Value); FacComputer_Y.out.bus_outputs.discrete_word_5.SSM = static_cast(FacComputer_P.EnumeratedConstant1_Value); FacComputer_Y.out.bus_outputs.delta_r_rudder_trim_deg.SSM = static_cast diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/FacComputer_types.h b/fbw-a380x/src/wasm/fbw_a380/src/model/FacComputer_types.h index b8f70eb0080..10721a5074b 100644 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/FacComputer_types.h +++ b/fbw-a380x/src/wasm/fbw_a380/src/model/FacComputer_types.h @@ -29,6 +29,18 @@ struct base_fac_discrete_outputs #endif +#ifndef DEFINED_TYPEDEF_FOR_base_fac_analog_outputs_ +#define DEFINED_TYPEDEF_FOR_base_fac_analog_outputs_ + +struct base_fac_analog_outputs +{ + real_T yaw_damper_order_deg; + real_T rudder_trim_order_deg; + real_T rudder_travel_limit_order_deg; +}; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_base_arinc_429_ #define DEFINED_TYPEDEF_FOR_base_arinc_429_ @@ -77,18 +89,6 @@ struct base_fac_bus #endif -#ifndef DEFINED_TYPEDEF_FOR_base_fac_analog_outputs_ -#define DEFINED_TYPEDEF_FOR_base_fac_analog_outputs_ - -struct base_fac_analog_outputs -{ - real_T yaw_damper_order_deg; - real_T rudder_trim_order_deg; - real_T rudder_travel_limit_order_deg; -}; - -#endif - #ifndef DEFINED_TYPEDEF_FOR_base_fac_analog_inputs_ #define DEFINED_TYPEDEF_FOR_base_fac_analog_inputs_ diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/look2_pbinlxpw.cpp b/fbw-a380x/src/wasm/fbw_a380/src/model/look2_pbinlxpw.cpp deleted file mode 100644 index 47b9d81571f..00000000000 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/look2_pbinlxpw.cpp +++ /dev/null @@ -1,78 +0,0 @@ -#include "look2_pbinlxpw.h" -#include "rtwtypes.h" - -real_T look2_pbinlxpw(real_T u0, real_T u1, const real_T bp0[], const real_T bp1[], const real_T table[], uint32_T - prevIndex[], const uint32_T maxIndex[], uint32_T stride) -{ - real_T fractions[2]; - real_T frac; - real_T yL_0d0; - real_T yL_0d1; - uint32_T bpIndices[2]; - uint32_T bpIdx; - uint32_T found; - uint32_T iLeft; - uint32_T iRght; - if (u0 <= bp0[0U]) { - bpIdx = 0U; - frac = (u0 - bp0[0U]) / (bp0[1U] - bp0[0U]); - } else if (u0 < bp0[maxIndex[0U]]) { - bpIdx = prevIndex[0U]; - iLeft = 0U; - iRght = maxIndex[0U]; - found = 0U; - while (found == 0U) { - if (u0 < bp0[bpIdx]) { - iRght = bpIdx - 1U; - bpIdx = ((bpIdx + iLeft) - 1U) >> 1U; - } else if (u0 < bp0[bpIdx + 1U]) { - found = 1U; - } else { - iLeft = bpIdx + 1U; - bpIdx = ((bpIdx + iRght) + 1U) >> 1U; - } - } - - frac = (u0 - bp0[bpIdx]) / (bp0[bpIdx + 1U] - bp0[bpIdx]); - } else { - bpIdx = maxIndex[0U] - 1U; - frac = (u0 - bp0[maxIndex[0U] - 1U]) / (bp0[maxIndex[0U]] - bp0[maxIndex[0U] - 1U]); - } - - prevIndex[0U] = bpIdx; - fractions[0U] = frac; - bpIndices[0U] = bpIdx; - if (u1 <= bp1[0U]) { - bpIdx = 0U; - frac = (u1 - bp1[0U]) / (bp1[1U] - bp1[0U]); - } else if (u1 < bp1[maxIndex[1U]]) { - bpIdx = prevIndex[1U]; - iLeft = 0U; - iRght = maxIndex[1U]; - found = 0U; - while (found == 0U) { - if (u1 < bp1[bpIdx]) { - iRght = bpIdx - 1U; - bpIdx = ((bpIdx + iLeft) - 1U) >> 1U; - } else if (u1 < bp1[bpIdx + 1U]) { - found = 1U; - } else { - iLeft = bpIdx + 1U; - bpIdx = ((bpIdx + iRght) + 1U) >> 1U; - } - } - - frac = (u1 - bp1[bpIdx]) / (bp1[bpIdx + 1U] - bp1[bpIdx]); - } else { - bpIdx = maxIndex[1U] - 1U; - frac = (u1 - bp1[maxIndex[1U] - 1U]) / (bp1[maxIndex[1U]] - bp1[maxIndex[1U] - 1U]); - } - - prevIndex[1U] = bpIdx; - iLeft = bpIdx * stride + bpIndices[0U]; - yL_0d0 = table[iLeft]; - yL_0d0 += (table[iLeft + 1U] - yL_0d0) * fractions[0U]; - iLeft += stride; - yL_0d1 = table[iLeft]; - return (((table[iLeft + 1U] - yL_0d1) * fractions[0U] + yL_0d1) - yL_0d0) * frac + yL_0d0; -} diff --git a/fbw-a380x/src/wasm/fbw_a380/src/model/look2_pbinlxpw.h b/fbw-a380x/src/wasm/fbw_a380/src/model/look2_pbinlxpw.h deleted file mode 100644 index 7b297d3c7f9..00000000000 --- a/fbw-a380x/src/wasm/fbw_a380/src/model/look2_pbinlxpw.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef look2_pbinlxpw_h_ -#define look2_pbinlxpw_h_ -#include "rtwtypes.h" - -extern real_T look2_pbinlxpw(real_T u0, real_T u1, const real_T bp0[], const real_T bp1[], const real_T table[], - uint32_T prevIndex[], const uint32_T maxIndex[], uint32_T stride); - -#endif -