From b715a07b5c1f8b42e885c4cd28b025180f1ea94e Mon Sep 17 00:00:00 2001 From: donstim <70166617+donstim@users.noreply.github.com> Date: Fri, 6 Jan 2023 20:49:57 -0800 Subject: [PATCH 1/8] Update CHANGELOG.md --- .github/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index e923ee90f94..ea025000f75 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -21,6 +21,7 @@ 1. [SEC] Fix GND SPLR logic, add missing GND SPLR partial extension condition - @lukecologne (luke) 1. [FMGC] Improved importing flight plans from MSFS World Map - @frankkopp (Frank Kopp) 1. [EFB] Added boarding time indication to Payload page - @ChristianLutzCL (Christian Lutz) @frankkopp (Frank Kopp) +1. [FLIGHT MODEL] Modified empty weight cg and loading stations - @donstim (donbikes#4084) ## 0.9.0 @@ -1156,4 +1157,4 @@ 1. [DCDU] Fixed MSG- and MSG+ button labels - @tyler58546 (tyler58546) 1. [ISIS] Fixed issue where ISIS was allowing a bug to be set while in the OFF state - Patrick Macken (@Pat M on Discord) -1. [EFB] Added estimated boarding time to Payload screen - @ChristianLutzCL (Christian Lutz) \ No newline at end of file +1. [EFB] Added estimated boarding time to Payload screen - @ChristianLutzCL (Christian Lutz) From 44c19450b969d75ad22fb3542baf996aede11a55 Mon Sep 17 00:00:00 2001 From: donstim <70166617+donstim@users.noreply.github.com> Date: Fri, 6 Jan 2023 20:55:29 -0800 Subject: [PATCH 2/8] Update flight_model.cfg --- .../FlyByWire_A320_NEO/flight_model.cfg | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg b/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg index 64a49fe3878..87ab111ec20 100644 --- a/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg +++ b/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg @@ -13,7 +13,7 @@ max_gross_weight = 174165 ; Maximum takeoff weight, (LBS) empty_weight = 93697 ; Empty weight, (LBS); Includes weight to account for crew, pantry, galleys, lavs, potable water, emergency equipment etc. reference_datum_position = 0, 0, 0 ; Position of reference datum relative to FS(0,0,0) (FEET), z, x, y ; adjust empty weight CG position to ensure 25% MAC at Empty Weight -empty_weight_CG_position = -8.75, 0, 0 ; Position of airplane empty weight CG relative to reference datum (FEET), z, x, y +empty_weight_CG_position = -9.42, 0, 0 ; Position of airplane empty weight CG relative to reference datum (FEET), z, x, y 30% CG CG_forward_limit = 0.16 ; Gravity center forward limit (longitudinal offset) for longitudinal stability CG_aft_limit = 0.4 ; Gravity center after limit (longitudinal offset z) w.r.t reference datum for longitudinal stability (FEET) empty_weight_pitch_MOI = 2453714 ; Empty pitch moment of inertia, Jxx (SLUG SQ FEET) @@ -34,16 +34,16 @@ 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, 21.98, 0, 5, ECONOMY ROWS 1-6 (seats: 36 max: 6670lbs/3024kg), 0 -station_load.1 = 3850, 2.86, 0, 5.1, ECONOMY ROWS 7-13 (seats: 42 max: 7780lb/3530kg), 0 -station_load.2 = 4400, -15.34, 0, 5.3, ECONOMY ROWS 14-21 (seats: 48 max: 8880lb/4032kg), 0 -station_load.3 = 6600, -32.81, 0, 5.5, ECONOMY ROWS 22-29 (seats: 48 max: 8880lb/4032kg), 0 -station_load.4 = 2800, 18.28, 0, 0.9, FWD BAGGAGE/CONTAINER (max: 7500lb/3402kg), 0 -station_load.5 = 1950, -15.96, 0, 1, AFT CONTAINER (max: 5350lb/2426kg), 0 -station_load.6 = 1700, -27.10, 0, 1.2, AFT BAGGAGE (max: 4650lb/2110kg), 0 -station_load.7 = 1300, -37.35, 0, 1.4, AFT BULK/LOOSE (max: 3300lb/1497kg), 0 -station_load.8 = 1, 42.36, 0, 0, PILOT, 1 -station_load.9 = 1, 42.36, 0, 0, CO-PILOT, 2 +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.8 = 1, 40.7, 0, 0, PILOT, 1 +station_load.9 = 1, 40.7, 0, 0, CO-PILOT, 2 [CONTACT_POINTS] static_pitch = -0.2 ; degrees, pitch when at rest on the ground (+=Up, -=Dn) @@ -96,11 +96,11 @@ fuel_type = 2 ; 1 = OCTANE 100, 2 = JET_A, 3 = OCTANE 80, 4 = AUTO GAS, 5 = JET APU.1 = Name:APU#FuelBurnRate:33 Engine.1 = Name:LeftEngine#Index:1 Engine.2 = Name:RightEngine#Index:2 -Tank.1 = Name:Center#Title:TT:MENU.FUEL.CENTER#Capacity:2179#UnusableCapacity:0#Position:-6,0,1#Priority:1#OutputOnlyLines:TankCenterToCenterTankPump1,TankCenterToCenterTankPump2 +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:-13,-27,3#Priority:3#OutputOnlyLines:Tank4ToXfer1,Tank4ToXfer1_2 -Tank.5 = Name:RightOuter#Title:TT:MENU.FUEL.RIGHT_OUTER#Capacity:228#UnusableCapacity:0#Position:-13,27,3#Priority:3#OutputOnlyLines:Tank5ToXfer2,Tank5ToXfer2_2 +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 Line.1 = Name:TankCenterToCenterTankPump1#Source:Center#Destination:CenterTankPump1 Line.2 = Name:TankLeftToLeftTankPump1#Source:LeftInner#Destination:LeftInnerTankPump1 Line.3 = Name:TankRightToRightTankPump1#Source:RightInner#Destination:RightInnerTankPump1 From 31e1e9bc5a594c717fc9a00b3027c53c02b29fcb Mon Sep 17 00:00:00 2001 From: donstim <70166617+donstim@users.noreply.github.com> Date: Fri, 6 Jan 2023 20:57:03 -0800 Subject: [PATCH 3/8] Update flight_model.cfg --- .../AirPlanes/FlyByWire_A320_NEO/flight_model.cfg | 6 ------ 1 file changed, 6 deletions(-) diff --git a/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg b/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg index 87ab111ec20..0eafd928d20 100644 --- a/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg +++ b/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg @@ -1,9 +1,3 @@ - -;For future reference: -; Left/ Right Aux Tanks: 228 total/ 0 unusable USG -; Left/ Right Main Tanks: 1823.75 total/ 7.75 unusable USG -; Center Tank: 2185.16 total/ 6.1 unusable USG - [VERSION] major = 1 minor = 0 From a18eb001b76ee949879469e5472e5dff687d8f98 Mon Sep 17 00:00:00 2001 From: donstim <70166617+donstim@users.noreply.github.com> Date: Fri, 6 Jan 2023 20:57:25 -0800 Subject: [PATCH 4/8] Update flight_model.cfg --- .../SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg b/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg index 0eafd928d20..4c5dd30ef74 100644 --- a/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg +++ b/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/flight_model.cfg @@ -6,7 +6,6 @@ minor = 0 max_gross_weight = 174165 ; Maximum takeoff weight, (LBS) empty_weight = 93697 ; Empty weight, (LBS); Includes weight to account for crew, pantry, galleys, lavs, potable water, emergency equipment etc. reference_datum_position = 0, 0, 0 ; Position of reference datum relative to FS(0,0,0) (FEET), z, x, y -; adjust empty weight CG position to ensure 25% MAC at Empty Weight empty_weight_CG_position = -9.42, 0, 0 ; Position of airplane empty weight CG relative to reference datum (FEET), z, x, y 30% CG CG_forward_limit = 0.16 ; Gravity center forward limit (longitudinal offset) for longitudinal stability CG_aft_limit = 0.4 ; Gravity center after limit (longitudinal offset z) w.r.t reference datum for longitudinal stability (FEET) From 999c15c0016c2578a96b80764b75ef65b2f7d7f9 Mon Sep 17 00:00:00 2001 From: donstim <70166617+donstim@users.noreply.github.com> Date: Fri, 6 Jan 2023 21:02:17 -0800 Subject: [PATCH 5/8] Update A32NX_PayloadManager.js --- .../Pages/A32NX_Core/A32NX_PayloadManager.js | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/flybywire-aircraft-a320-neo/html_ui/Pages/A32NX_Core/A32NX_PayloadManager.js b/flybywire-aircraft-a320-neo/html_ui/Pages/A32NX_Core/A32NX_PayloadManager.js index 7218e095931..863f765d82c 100644 --- a/flybywire-aircraft-a320-neo/html_ui/Pages/A32NX_Core/A32NX_PayloadManager.js +++ b/flybywire-aircraft-a320-neo/html_ui/Pages/A32NX_Core/A32NX_PayloadManager.js @@ -8,7 +8,7 @@ class A32NX_PayloadConstructor { pax: 0, paxTarget: 0, stationIndex: 0 + 1, - position: 21.98, + position: 20.0, seatsRange: [1, 36], simVar: "A32NX_PAX_TOTAL_ROWS_1_6" }, @@ -19,7 +19,7 @@ class A32NX_PayloadConstructor { pax: 0, paxTarget: 0, stationIndex: 1 + 1, - position: 2.86, + position: 0.9, seatsRange: [37, 78], simVar: "A32NX_PAX_TOTAL_ROWS_7_13" }, @@ -30,7 +30,7 @@ class A32NX_PayloadConstructor { pax: 0, paxTarget: 0, stationIndex: 2 + 1, - position: -15.34, + position: -17.3, seatsRange: [79, 126], simVar: "A32NX_PAX_TOTAL_ROWS_14_21" }, @@ -41,7 +41,7 @@ class A32NX_PayloadConstructor { pax: 0, paxTarget: 0, stationIndex: 3 + 1, - position: -32.81, + position: -36.3, seatsRange: [127, 174], simVar: "A32NX_PAX_TOTAL_ROWS_22_29" }, @@ -53,7 +53,7 @@ class A32NX_PayloadConstructor { weight: Math.round(NXUnits.kgToUser(3402)), load: 0, stationIndex: 4 + 1, - position: 18.28, + position: 16.3, visible: true, simVar: 'A32NX_CARGO_FWD_BAGGAGE_CONTAINER', }, @@ -62,7 +62,7 @@ class A32NX_PayloadConstructor { weight: Math.round(NXUnits.kgToUser(2426)), load: 0, stationIndex: 5 + 1, - position: -15.96, + position: -25.1, visible: true, simVar: 'A32NX_CARGO_AFT_CONTAINER', }, @@ -71,7 +71,7 @@ class A32NX_PayloadConstructor { weight: Math.round(NXUnits.kgToUser(2110)), load: 0, stationIndex: 6 + 1, - position: -27.10, + position: -35.1, visible: true, simVar: 'A32NX_CARGO_AFT_BAGGAGE', }, @@ -80,7 +80,7 @@ class A32NX_PayloadConstructor { weight: Math.round(NXUnits.kgToUser(1497)), load: 0, stationIndex: 7 + 1, - position: -37.35, + position: -44.4, visible: true, simVar: 'A32NX_CARGO_AFT_BULK_LOOSE', }, @@ -98,11 +98,11 @@ const MAX_SEAT_AVAILABLE = 174; */ function getZfwcg() { - const leMacZ = -5.386; // Accurate to 3 decimals, replaces debug weight values - const macSize = 13.454; // Accurate to 3 decimals, replaces debug weight values + const leMacZ = -5.383; // Accurate to 3 decimals, replaces debug weight values + const macSize = 13.464; // Accurate to 3 decimals, replaces debug weight values const emptyWeight = (SimVar.GetSimVarValue("EMPTY WEIGHT", getUserUnit())); - const emptyPosition = -8.75; // Value from flight_model.cfg + const emptyPosition = -9.42; // Value from flight_model.cfg const emptyMoment = emptyPosition * emptyWeight; const PAX_WEIGHT = SimVar.GetSimVarValue("L:A32NX_WB_PER_PAX_WEIGHT", "Number"); From a6188a9fe001027d2587b3766159157b9653fc12 Mon Sep 17 00:00:00 2001 From: donstim <70166617+donstim@users.noreply.github.com> Date: Fri, 6 Jan 2023 21:17:09 -0800 Subject: [PATCH 6/8] Update CHANGELOG.md --- .github/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index ea025000f75..d50bdd51f32 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -21,7 +21,7 @@ 1. [SEC] Fix GND SPLR logic, add missing GND SPLR partial extension condition - @lukecologne (luke) 1. [FMGC] Improved importing flight plans from MSFS World Map - @frankkopp (Frank Kopp) 1. [EFB] Added boarding time indication to Payload page - @ChristianLutzCL (Christian Lutz) @frankkopp (Frank Kopp) -1. [FLIGHT MODEL] Modified empty weight cg and loading stations - @donstim (donbikes#4084) +1. [FLIGHT MODEL/EFB] Modified empty weight cg and loading station/fuel tank locations - @donstim (donbikes#4084) ## 0.9.0 From 54b44b7b1cc743245edddacff651dea5d5c1007e Mon Sep 17 00:00:00 2001 From: donstim <70166617+donstim@users.noreply.github.com> Date: Fri, 6 Jan 2023 22:40:29 -0800 Subject: [PATCH 7/8] Update a20nv55.json --- .../Pages/Payload/Loadsheet/a20nv55.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/instruments/src/EFB/Ground/Pages/Payload/Loadsheet/a20nv55.json b/src/instruments/src/EFB/Ground/Pages/Payload/Loadsheet/a20nv55.json index 5a8d86df9b8..85fb27b1382 100644 --- a/src/instruments/src/EFB/Ground/Pages/Payload/Loadsheet/a20nv55.json +++ b/src/instruments/src/EFB/Ground/Pages/Payload/Loadsheet/a20nv55.json @@ -1,9 +1,9 @@ { "specs": { "prefix": "A32NX", - "emptyPosition": -8.75, - "macSize": 13.454, - "leMacZ": -5.386, + "emptyPosition": -9.42, + "macSize": 13.464, + "leMacZ": -5.383, "weights": { "maxZfw": 64300, "minZfw": 42500 @@ -288,7 +288,7 @@ ], "index": 0, "stationIndex": 1, - "position": 21.98, + "position": 20.0, "fill": 0.19, "simVar": "A32NX_PAX_TOTAL_ROWS_1_6" }, @@ -606,7 +606,7 @@ ], "index": 1, "stationIndex": 2, - "position": 2.86, + "position": 0.9, "fill": 0.25, "simVar": "A32NX_PAX_TOTAL_ROWS_7_13" }, @@ -968,7 +968,7 @@ ], "index": 2, "stationIndex": 3, - "position": -15.34, + "position": -17.3, "fill": 0.28, "simVar": "A32NX_PAX_TOTAL_ROWS_14_21" }, @@ -1331,7 +1331,7 @@ "fill": 0.28, "index": 3, "stationIndex": 4, - "position": -32.81, + "position": -36.3, "simVar": "A32NX_PAX_TOTAL_ROWS_22_29" } ], @@ -1341,7 +1341,7 @@ "weight": 3402, "index": 0, "stationIndex": 5, - "position": 18.28, + "position": 16.3, "progressBarWidth": 160, "simVar": "A32NX_CARGO_FWD_BAGGAGE_CONTAINER" }, @@ -1350,7 +1350,7 @@ "weight": 2426, "index": 1, "stationIndex": 6, - "position": -15.96, + "position": -25.1, "progressBarWidth": 100, "simVar": "A32NX_CARGO_AFT_CONTAINER" }, @@ -1359,7 +1359,7 @@ "weight": 2110, "index": 2, "stationIndex": 7, - "position": -27.1, + "position": -35.1, "progressBarWidth": 100, "simVar": "A32NX_CARGO_AFT_BAGGAGE" }, @@ -1368,7 +1368,7 @@ "weight": 1497, "index": 3, "stationIndex": 8, - "position": -37.35, + "position": -44.4, "progressBarWidth": 100, "simVar": "A32NX_CARGO_AFT_BULK_LOOSE" } From a2c591f12e2c9778305216117d8c9359b16707a4 Mon Sep 17 00:00:00 2001 From: donstim <70166617+donstim@users.noreply.github.com> Date: Fri, 6 Jan 2023 22:45:31 -0800 Subject: [PATCH 8/8] Update Payload.tsx --- src/instruments/src/EFB/Ground/Pages/Payload/Payload.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/instruments/src/EFB/Ground/Pages/Payload/Payload.tsx b/src/instruments/src/EFB/Ground/Pages/Payload/Payload.tsx index c4edd54850d..1d0388288af 100644 --- a/src/instruments/src/EFB/Ground/Pages/Payload/Payload.tsx +++ b/src/instruments/src/EFB/Ground/Pages/Payload/Payload.tsx @@ -519,9 +519,9 @@ export const Payload = () => { }, [boardingStarted]); useEffect(() => { - const centerTankMoment = -6; + const centerTankMoment = -4.5; const innerTankMoment = -8; - const outerTankMoment = -13; + const outerTankMoment = -17.6; // Adjust ZFW CG Values based on payload const newZfw = emptyWeight + totalPax * paxWeight + totalCargo; const newZfwDesired = emptyWeight + totalPaxDesired * paxWeight + totalCargoDesired;