Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update cg for ELAC 103 #7906

Merged
merged 13 commits into from
Apr 2, 2023
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
1. [MCDU/ND] Implemented SPECIF VOR/D UNAVAIL message - @tracernz (Mike)
1. [MCDU] Implemented TUNE BBB FFF.FF, SPECIF NDB UNAVAIL messages - @tracernz (Mike)
1. [F/CTL] Add ELAC 2 Emergency Powersupply - @lukecologne (lukecologne#1156)
1. [FLIGHT MODEL/EFB] Updated CG for ELAC 103 - @donstim (donbikes#4084)

## 0.9.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ activate_cg_limit_based_on_mach = 0 ; Activate cg limitation depending on mach v
; Passenger baggage weight of 20 kg/pax is also added, making total pax + baggage weight = 104 kg/pax (i.e. Passenger weight on Simbrief)
; Starting load is 50% of capacity
max_number_of_stations = 10 ; Number of payload stations
station_load.0 = 3300, 20.0, 0, 5, ECONOMY ROWS 1-6 (seats: 36 max: 6670lbs/3024kg), 0
station_load.1 = 3850, 0.9, 0, 5.1, ECONOMY ROWS 7-13 (seats: 42 max: 7780lb/3530kg), 0
station_load.2 = 4400, -17.3, 0, 5.3, ECONOMY ROWS 14-21 (seats: 48 max: 8880lb/4032kg), 0
station_load.3 = 6600, -36.3, 0, 5.5, ECONOMY ROWS 22-29 (seats: 48 max: 8880lb/4032kg), 0
station_load.4 = 2800, 16.3, 0, 0.9, FWD BAGGAGE/CONTAINER (max: 7500lb/3402kg), 0
station_load.5 = 1950, -25.1, 0, 1, AFT CONTAINER (max: 5350lb/2426kg), 0
station_load.6 = 1700, -35.1, 0, 1.2, AFT BAGGAGE (max: 4650lb/2110kg), 0
station_load.7 = 1300, -44.4, 0, 1.4, AFT BULK/LOOSE (max: 3300lb/1497kg), 0
station_load.0 = 3300, 20.5, 0, 5, ECONOMY ROWS 1-6 (seats: 36 max: 6670lbs/3024kg), 0
station_load.1 = 3850, 1.5, 0, 5.1, ECONOMY ROWS 7-13 (seats: 42 max: 7780lb/3530kg), 0
station_load.2 = 4400, -16.6, 0, 5.3, ECONOMY ROWS 14-21 (seats: 48 max: 8880lb/4032kg), 0
station_load.3 = 6600, -35.6, 0, 5.5, ECONOMY ROWS 22-29 (seats: 48 max: 8880lb/4032kg), 0
station_load.4 = 2800, 17.3, 0, 0.9, FWD BAGGAGE/CONTAINER (max: 7500lb/3402kg), 0
station_load.5 = 1950, -24.1, 0, 1, AFT CONTAINER (max: 5350lb/2426kg), 0
station_load.6 = 1700, -34.1, 0, 1.2, AFT BAGGAGE (max: 4650lb/2110kg), 0
station_load.7 = 1300, -42.4, 0, 1.4, AFT BULK/LOOSE (max: 3300lb/1497kg), 0
station_load.8 = 1, 40.7, 0, 0, PILOT, 1
station_load.9 = 1, 40.7, 0, 0, CO-PILOT, 2

Expand Down Expand Up @@ -92,8 +92,8 @@ Engine.2 = Name:RightEngine#Index:2
Tank.1 = Name:Center#Title:TT:MENU.FUEL.CENTER#Capacity:2179#UnusableCapacity:0#Position:-4.5,0,1#Priority:1#OutputOnlyLines:TankCenterToCenterTankPump1,TankCenterToCenterTankPump2
Tank.2 = Name:LeftInner#Title:TT:MENU.FUEL.LEFT_INNER#Capacity:1816#UnusableCapacity:0#Position:-8,-13,2#Priority:2#InputOnlyLines:Eng1ToTank2,Xfer1ToTank2,Xfer1ToTank2_2#OutputOnlyLines:TankLeftToLeftTankPump1,TankLeftToLeftTankPump2
Tank.3 = Name:RightInner#Title:TT:MENU.FUEL.RIGHT_INNER#Capacity:1816#UnusableCapacity:0#Position:-8,13,2#Priority:2#InputOnlyLines:Eng2ToTank3,Xfer2ToTank3,Xfer2ToTank3_2#OutputOnlyLines:TankRightToRightTankPump1,TankRightToRightTankPump2
Tank.4 = Name:LeftOuter#Title:TT:MENU.FUEL.LEFT_OUTER#Capacity:228#UnusableCapacity:0#Position:-17.6,-27,3#Priority:3#OutputOnlyLines:Tank4ToXfer1,Tank4ToXfer1_2
Tank.5 = Name:RightOuter#Title:TT:MENU.FUEL.RIGHT_OUTER#Capacity:228#UnusableCapacity:0#Position:-17.6,27,3#Priority:3#OutputOnlyLines:Tank5ToXfer2,Tank5ToXfer2_2
Tank.4 = Name:LeftOuter#Title:TT:MENU.FUEL.LEFT_OUTER#Capacity:228#UnusableCapacity:0#Position:-16.9,-27,3#Priority:3#OutputOnlyLines:Tank4ToXfer1,Tank4ToXfer1_2
Tank.5 = Name:RightOuter#Title:TT:MENU.FUEL.RIGHT_OUTER#Capacity:228#UnusableCapacity:0#Position:-16.9,27,3#Priority:3#OutputOnlyLines:Tank5ToXfer2,Tank5ToXfer2_2
Line.1 = Name:TankCenterToCenterTankPump1#Source:Center#Destination:CenterTankPump1
Line.2 = Name:TankLeftToLeftTankPump1#Source:LeftInner#Destination:LeftInnerTankPump1
Line.3 = Name:TankRightToRightTankPump1#Source:RightInner#Destination:RightInnerTankPump1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class A32NX_PayloadConstructor {
pax: 0,
paxTarget: 0,
stationIndex: 0 + 1,
position: 20.0,
position: 20.5,
seatsRange: [1, 36],
simVar: "A32NX_PAX_TOTAL_ROWS_1_6"
},
Expand All @@ -19,7 +19,7 @@ class A32NX_PayloadConstructor {
pax: 0,
paxTarget: 0,
stationIndex: 1 + 1,
position: 0.9,
position: 1.5,
seatsRange: [37, 78],
simVar: "A32NX_PAX_TOTAL_ROWS_7_13"
},
Expand All @@ -30,7 +30,7 @@ class A32NX_PayloadConstructor {
pax: 0,
paxTarget: 0,
stationIndex: 2 + 1,
position: -17.3,
position: -16.6,
seatsRange: [79, 126],
simVar: "A32NX_PAX_TOTAL_ROWS_14_21"
},
Expand All @@ -41,7 +41,7 @@ class A32NX_PayloadConstructor {
pax: 0,
paxTarget: 0,
stationIndex: 3 + 1,
position: -36.3,
position: -35.6,
seatsRange: [127, 174],
simVar: "A32NX_PAX_TOTAL_ROWS_22_29"
},
Expand All @@ -53,7 +53,7 @@ class A32NX_PayloadConstructor {
weight: Math.round(NXUnits.kgToUser(3402)),
load: 0,
stationIndex: 4 + 1,
position: 16.3,
position: 17.3,
visible: true,
simVar: 'A32NX_CARGO_FWD_BAGGAGE_CONTAINER',
},
Expand All @@ -62,7 +62,7 @@ class A32NX_PayloadConstructor {
weight: Math.round(NXUnits.kgToUser(2426)),
load: 0,
stationIndex: 5 + 1,
position: -25.1,
position: -24.1,
visible: true,
simVar: 'A32NX_CARGO_AFT_CONTAINER',
},
Expand All @@ -71,7 +71,7 @@ class A32NX_PayloadConstructor {
weight: Math.round(NXUnits.kgToUser(2110)),
load: 0,
stationIndex: 6 + 1,
position: -35.1,
position: -34.1,
visible: true,
simVar: 'A32NX_CARGO_AFT_BAGGAGE',
},
Expand All @@ -80,7 +80,7 @@ class A32NX_PayloadConstructor {
weight: Math.round(NXUnits.kgToUser(1497)),
load: 0,
stationIndex: 7 + 1,
position: -44.4,
position: -42.4,
visible: true,
simVar: 'A32NX_CARGO_AFT_BULK_LOOSE',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
],
"index": 0,
"stationIndex": 1,
"position": 20.0,
"position": 20.5,
"fill": 0.19,
"simVar": "A32NX_PAX_TOTAL_ROWS_1_6"
},
Expand Down Expand Up @@ -606,7 +606,7 @@
],
"index": 1,
"stationIndex": 2,
"position": 0.9,
"position": 1.5,
"fill": 0.25,
"simVar": "A32NX_PAX_TOTAL_ROWS_7_13"
},
Expand Down Expand Up @@ -968,7 +968,7 @@
],
"index": 2,
"stationIndex": 3,
"position": -17.3,
"position": -16.6,
"fill": 0.28,
"simVar": "A32NX_PAX_TOTAL_ROWS_14_21"
},
Expand Down Expand Up @@ -1331,7 +1331,7 @@
"fill": 0.28,
"index": 3,
"stationIndex": 4,
"position": -36.3,
"position": -35.6,
"simVar": "A32NX_PAX_TOTAL_ROWS_22_29"
}
],
Expand All @@ -1341,7 +1341,7 @@
"weight": 3402,
"index": 0,
"stationIndex": 5,
"position": 16.3,
"position": 17.3,
"progressBarWidth": 160,
"simVar": "A32NX_CARGO_FWD_BAGGAGE_CONTAINER"
},
Expand All @@ -1350,7 +1350,7 @@
"weight": 2426,
"index": 1,
"stationIndex": 6,
"position": -25.1,
"position": -24.1,
"progressBarWidth": 100,
"simVar": "A32NX_CARGO_AFT_CONTAINER"
},
Expand All @@ -1359,7 +1359,7 @@
"weight": 2110,
"index": 2,
"stationIndex": 7,
"position": -35.1,
"position": -34.1,
"progressBarWidth": 100,
"simVar": "A32NX_CARGO_AFT_BAGGAGE"
},
Expand All @@ -1368,7 +1368,7 @@
"weight": 1497,
"index": 3,
"stationIndex": 8,
"position": -44.4,
"position": -42.4,
"progressBarWidth": 100,
"simVar": "A32NX_CARGO_AFT_BULK_LOOSE"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ export const Payload = () => {
useEffect(() => {
const centerTankMoment = -4.5;
const innerTankMoment = -8;
const outerTankMoment = -17.6;
const outerTankMoment = -16.9;
// Adjust ZFW CG Values based on payload
const newZfw = emptyWeight + totalPax * paxWeight + totalCargo;
const newZfwDesired = emptyWeight + totalPaxDesired * paxWeight + totalCargoDesired;
Expand Down