Skip to content

Commit

Permalink
fix(a380x/fuel): Fix fuel system update rate and balancing issues (#9102
Browse files Browse the repository at this point in the history
)

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/flight_model.cfg

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/Climb.flt

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/approach.FLT

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/apron.FLT

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/cruise.FLT

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/final.FLT

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/runway.FLT

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/hangar.flt

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/systems.cfg

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/taxi.flt

* Add files via upload

* Update Climb.flt

* Update approach.FLT

* Update apron.FLT

* Update cruise.FLT

* Update final.FLT

* Update hangar.flt

* Update runway.FLT

* Update taxi.flt

* Update flight_model.cfg

* Update apron.FLT

* Update hangar.flt

* Update runway.FLT

* Update taxi.flt

* Update systems.cfg

* Update systems.cfg

* Update systems.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* Update SD page

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/flight_model.cfg

* Add files via upload

* Delete fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/flight_model.cfg

* Add files via upload

* Update flight_model.cfg

* Update flight_model.cfg

* Turned all Triggers to manual and implemented first version of trigger logic

* Fixed cg check using wrong units and added trigger reset on refuel

* Attempted to sync empty triggers with fueltank state + added logging

* Update approach.FLT

* Update Climb.flt

* Update apron.FLT

* Update cruise.FLT

* Update final.FLT

* Update hangar.flt

* Update runway.FLT

* Update taxi.flt

* Update flight_model.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* Update flight_model.cfg

* fix junction index

* Fixed typos in the Valve definitions

* Update flight_model.cfg

* Implemented the trim tank transfer fixes from @dontsim

* Fix leftover check

* fixed oversight and typo and fixed issue with the fuel page

* remove logging

* added varable cgtarget during flight

* fixed typo again

* made constants static

* added enhanced logging

* fix condition for junction 10 options

* implemented waiting for flight init and throttling of update lop

* remove unnecessary logging

* Update fbw-a380x/src/systems/systems-host/systems/LegacyFuel.ts

Co-authored-by: flogross89 <[email protected]>

* potential fix for vavlves not closing when they should

* reverted last change

* apply fix for outer tank transfer imbalance from @donstim

* Remove leftover fuel memo from the 320

* Made equalize triggers for mids below 8000kg more reboust

* removed unused vars

* Update flight_model.cfg

Added valve closures to Trigger 42 manual trigger to match the commented out Trigger 42

* Update flight_model.cfg

Reverted previous change; added closures of feed tanks aft transfer valves 1 to triggers for left and right mid tanks empty and added setting aft gallery junction 1 to option 3 to trigger for left mid tank empty.

* Update flight_model.cfg

* increased fuel check cycle time

* Update flight_model.cfg

Remove rest of forward gallery junctions to option 1 when mid tanks are empty. At low fuel loads, the loading may be with the mids empty but the inners not empty. Fuel would not transfer from the inners if the forward gallery junctions are set to 1.

* Update flight_model.cfg

Remove closure of valves that prevented cg transfer to the feed tanks

* Added note to implement deltatime capability to backplane instruments

* Update flight_model.cfg

Fixed typo

* Update flight_model.cfg

No need to reset junctions here. Setting forward gallery junction to option 1 here prevents transferring fuel to inners for small fuel loads that load fuel into the inners but not the trim tank.

---------

Co-authored-by: donstim <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: Andreas Guther <[email protected]>
Co-authored-by: 2hwk <[email protected]>
Co-authored-by: flogross89 <[email protected]>
(cherry picked from commit 266356e)
  • Loading branch information
Maximilian-Reuter authored and flogross89 committed Oct 23, 2024
1 parent aba9b96 commit 354f701
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 134 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

; 13 Sept 2024 fixed some invalid entries in the trigger section

; 13 Oct 2024 Fixed numerous issues with the fuel system
; 22 Oct 2024 Fixed numerous issues with the fuel system. Code added to address MSFS fuel system issues and restrict transfers until airplane is in flight.

[VERSION]
major = 1
Expand Down Expand Up @@ -329,7 +329,7 @@ Junction.8 = Name:FeedTanks2_3Junction1#InputOnlyLines:FwdGalleryJuncToFeedTanks

Junction.9 = Name:FeedTanks2_3Junction2#InputOnlyLines:FwdGalleryJuncToFeedTanks2_3Junc2#OutputOnlyLines:FeedTanks2_3Junc2ToFeedTank2FwdXferValve2_1,FeedTanks2_3Junc2ToFeedTank3FwdXferValve2_1,FeedTanks2_3Junc2ToFeedTank2FwdXferValve2_2,FeedTanks2_3Junc2ToFeedTank3FwdXferValve2_2#Option:FeedTanks2_3Junc2ToFeedTank2FwdXferValve2_1,FeedTanks2_3Junc2ToFeedTank3FwdXferValve2_1#Option:FeedTanks2_3Junc2ToFeedTank2FwdXferValve2_2,FeedTanks2_3Junc2ToFeedTank3FwdXferValve2_2#Option:FwdGalleryJuncToFeedTanks2_3Junc2

Junction.10 = Name:AftGalleryJunction1#InputOnlyLines:LeftMidTankPumpAftToAftGalleryJunction1,LeftInnerTankPumpAftToAftGalleryJunction1,RightMidTankPumpAftToAftGalleryJunction1,RightInnerTankPumpAftToAftGalleryJunction1,TrimLineIsoValveAft_1ToAftGalleryJunction1,TrimLineIsoValveAft_2ToAftGalleryJunction1#OutputOnlyLines:AftGalleryJunction1ToAftGalleryJunction2,AftGalleryJunction1ToLeftInnerAftXferValve1,AftGalleryJunction1ToLeftMidAftXferValve1,AftGalleryJunction1ToLeftOuterAftXferValve1,AftGalleryJunction1ToRightInnerAftXferValve1,AftGalleryJunction1ToRightMidAftXferValve1,AftGalleryJunction1ToRightOuterAftXferValve1,AftGalleryJunction1ToJetissonNozzleValveLeft,AftGalleryJunction1ToJetissonNozzleValveRight#Option:AftGalleryJunction1ToLeftInnerAftXferValve1,AftGalleryJunction1ToRightInnerAftXferValve1#Option:AftGalleryJunction1ToLeftMidAftXferValve1,AftGalleryJunctionToRightMidAftXferValve1#Option:AftGalleryJunction1ToAftGalleryJunction2
Junction.10 = Name:AftGalleryJunction1#InputOnlyLines:LeftMidTankPumpAftToAftGalleryJunction1,LeftInnerTankPumpAftToAftGalleryJunction1,RightMidTankPumpAftToAftGalleryJunction1,RightInnerTankPumpAftToAftGalleryJunction1,TrimLineIsoValveAft_1ToAftGalleryJunction1,TrimLineIsoValveAft_2ToAftGalleryJunction1#OutputOnlyLines:AftGalleryJunction1ToAftGalleryJunction2,AftGalleryJunction1ToLeftInnerAftXferValve1,AftGalleryJunction1ToLeftMidAftXferValve1,AftGalleryJunction1ToLeftOuterAftXferValve1,AftGalleryJunction1ToRightInnerAftXferValve1,AftGalleryJunction1ToRightMidAftXferValve1,AftGalleryJunction1ToRightOuterAftXferValve1,AftGalleryJunction1ToJetissonNozzleValveLeft,AftGalleryJunction1ToJetissonNozzleValveRight#Option:AftGalleryJunction1ToLeftInnerAftXferValve1,AftGalleryJunction1ToRightInnerAftXferValve1#Option:AftGalleryJunction1ToLeftMidAftXferValve1,AftGalleryJunction1ToRightMidAftXferValve1#Option:AftGalleryJunction1ToAftGalleryJunction2
Junction.11 = Name:AftGalleryJunction2#InputOnlyLines:AftGalleryJunction1ToAftGalleryJunction2#OutputOnlyLines:AftGalleryJunction2ToFeedTank1AftXferValve1,AftGalleryJunction2ToFeedTank2AftXferValve1,AftGalleryJunction2ToFeedTank3AftXferValve1,AftGalleryJunction2ToFeedTank4AftXferValve1
Junction.12 = Name:CrossFeedJunc1
Junction.13 = Name:CrossFeedJunc2
Expand Down Expand Up @@ -435,11 +435,11 @@ Trigger.14 = Name:MidBelow8000ThresholdFeed2Start#Condition:Manual#EffectTrue:Op
Trigger.15 = Name:MidBelow8000ThresholdFeed3Start#Condition:Manual#EffectTrue:OpenValve.FeedTank3FwdTransferValve1_2,OpenValve.FeedTank3FwdTransferValve2_2
Trigger.16 = Name:MidBelow8000ThresholdFeed2End#Condition:Manual#EffectTrue:CloseValve.FeedTank2FwdTransferValve1_2,CloseValve.FeedTank2FwdTransferValve2_2
Trigger.17 = Name:MidBelow8000ThresholdFeed3End#Condition:Manual#EffectTrue:CloseValve.FeedTank3FwdTransferValve1_2,CloseValve.FeedTank3FwdTransferValve2_2
Trigger.18 = Name:Equalize1and3forMidBelow8000#Condition:Manual#EffectTrue:OpenValve.FeedTank1FwdTransferValve1,OpenValve.FeedTank1FwdTransferValve2,OpenValve.FeedTank3FwdTransferValve2_2
Trigger.19 = Name:Equalize1and2forMidBelow8000#Condition:Manual#EffectTrue:OpenValve.FeedTank1FwdTransferValve1,OpenValve.FeedTank1FwdTransferValve2,OpenValve.OpenValve.FeedTank2FwdTransferValve2_2
Trigger.20 = Name:Equalize2and4forMidBelow8000#Condition:Manual#EffectTrue:OpenValve.FeedTank2FwdTransferValve2_2,OpenValve.FeedTank4FwdTransferValve1,OpenValve.FeedTank4FwdTransferValve2
Trigger.21 = Name:Equalize3and4forMidBelow8000#Condition:Manual#EffectTrue:OpenValve.FeedTank3FwdTransferValve2_2,OpenValve.FeedTank4FwdTransferValve1,OpenValve.FeedTank4FwdTransferValve2
Trigger.22 = Name:MidTankLeftEmpty#Condition:Manual#EffectTrue:StopPump.LeftMidTankPumpFwd,SetJunction.FwdGalleryJunction.1,SetJunction.FeedTanks2_3Junction1.1,SetJunction.FeedTanks2_3Junction2.1,CloseValve.LeftMidAftTransferValve2,OpenValve.FeedTank1AftTransferValve2,OpenValve.FeedTank2AftTransferValve2,OpenValve.FeedTank3AftTransferValve2,OpenValve.FeedTank4AftTransferValve2#EffectFalse:CloseValve.FeedTank1AftTransferValve2,CloseValve.FeedTank2AftTransferValve2,CloseValve.FeedTank3AftTransferValve2,CloseValve.FeedTank4AftTransferValve2,OpenValve.LeftMidAftTransferValve2,StartPump.LeftMidTankPumpFwd
Trigger.18 = Name:Equalize1and3forMidBelow8000#Condition:Manual#EffectTrue:OpenValve.FeedTank1FwdTransferValve2,OpenValve.FeedTank3FwdTransferValve2_2
Trigger.19 = Name:Equalize1and2forMidBelow8000#Condition:Manual#EffectTrue:OpenValve.FeedTank1FwdTransferValve2,OpenValve.OpenValve.FeedTank2FwdTransferValve2_2
Trigger.20 = Name:Equalize2and4forMidBelow8000#Condition:Manual#EffectTrue:OpenValve.FeedTank2FwdTransferValve2_2,OpenValve.FeedTank4FwdTransferValve2
Trigger.21 = Name:Equalize3and4forMidBelow8000#Condition:Manual#EffectTrue:OpenValve.FeedTank3FwdTransferValve2_2,OpenValve.FeedTank4FwdTransferValve2
Trigger.22 = Name:MidTankLeftEmpty#Condition:Manual#EffectTrue:StopPump.LeftMidTankPumpFwd,CloseValve.LeftMidAftTransferValve2,OpenValve.FeedTank1AftTransferValve2,OpenValve.FeedTank2AftTransferValve2,OpenValve.FeedTank3AftTransferValve2,OpenValve.FeedTank4AftTransferValve2#EffectFalse:CloseValve.FeedTank1AftTransferValve2,CloseValve.FeedTank2AftTransferValve2,CloseValve.FeedTank3AftTransferValve2,CloseValve.FeedTank4AftTransferValve2,OpenValve.LeftMidAftTransferValve2,StartPump.LeftMidTankPumpFwd
Trigger.23 = Name:MidTankRightEmpty#Condition:Manual#EffectTrue:StopPump.RightMidTankPumpFwd,CloseValve.RightMidAftTransferValve2,OpenValve.FeedTank1AftTransferValve2,OpenValve.FeedTank2AftTransferValve2,OpenValve.FeedTank3AftTransferValve2,OpenValve.FeedTank4AftTransferValve2#EffectFalse:CloseValve.FeedTank1AftTransferValve2,CloseValve.FeedTank2AftTransferValve2,CloseValve.FeedTank3AftTransferValve2,CloseValve.FeedTank4AftTransferValve2,OpenValve.RightMidAftTransferValve2,StartPump.RightMidTankPumpFwd
Trigger.24 = Name:TrimTankTransferToFeedTank1#Condition:Manual#EffectTrue:OpenValve.TrimLineIsolationValveAft_1,OpenValve.FeedTank1AftTransferValve1,StartPump.TrimTankPumpLeft,StartPump.TrimTankPumpRight,CloseValve.FeedTank1FwdTransferValve1,CloseValve.FeedTank1FwdTransferValve2,CloseValve.FeedTank2FwdTransferValve1_1,CloseValve.FeedTank2FwdTransferValve2_1,CloseValve.FeedTank2FwdTransferValve1_2,CloseValve.FeedTank2FwdTransferValve2_2,CloseValve.FeedTank3FwdTransferValve1_1,CloseValve.FeedTank3FwdTransferValve2_1,CloseValve.FeedTank3FwdTransferValve1_2,CloseValve.FeedTank3FwdTransferValve2_2,CloseValve.FeedTank4FwdTransferValve1,CloseValve.FeedTank4FwdTransferValve2,SetJunction.FwdGalleryJunction.3
Trigger.25 = Name:TrimTankTransferToFeedTank2#Condition:Manual#EffectTrue:OpenValve.TrimLineIsolationValveAft_1,OpenValve.FeedTank2AftTransferValve1,StartPump.TrimTankPumpLeft,StartPump.TrimTankPumpRight,CloseValve.FeedTank1FwdTransferValve1,CloseValve.FeedTank1FwdTransferValve2,CloseValve.FeedTank2FwdTransferValve1_1,CloseValve.FeedTank2FwdTransferValve2_1,CloseValve.FeedTank2FwdTransferValve1_2,CloseValve.FeedTank2FwdTransferValve2_2,CloseValve.FeedTank3FwdTransferValve1_1,CloseValve.FeedTank3FwdTransferValve2_1,CloseValve.FeedTank3FwdTransferValve1_2,CloseValve.FeedTank3FwdTransferValve2_2,CloseValve.FeedTank4FwdTransferValve1,CloseValve.FeedTank4FwdTransferValve2,SetJunction.FeedTanks2_3Junction1.3,SetJunction.FeedTanks2_3Junction2.3
Expand All @@ -449,7 +449,7 @@ Trigger.28 = Name:Equalize1and3#Condition:Manual#EffectTrue:OpenValve.FeedTank1A
Trigger.29 = Name:Equalize1and2#Condition:Manual#EffectTrue:OpenValve.FeedTank1AftTransferValve1,OpenValve.FeedTank2AftTransferValve1
Trigger.30 = Name:Equalize2and4#Condition:Manual#EffectTrue:OpenValve.FeedTank2AftTransferValve1,OpenValve.FeedTank4AftTransferValve1
Trigger.31 = Name:Equalize3and4#Condition:Manual#EffectTrue:OpenValve.FeedTank3AftTransferValve1,OpenValve.FeedTank4AftTransferValve1
Trigger.32 = Name:TrimTankEmpty#Condition:Manual#EffectTrue:StopPump.TrimTankPumpLeft,StopPump.TrimTankPumpRight,CloseValve.TrimLineIsolationValveAft,SetJunction.FwdGalleryJunction.1,SetJunction.FeedTanks2_3Junction1.1,SetJunction.FeedTanks2_3Junction2.1#EffectFalse:StopPump.RightOuterTankPump,StopPump.LeftOuterTankPump,OpenValve.TrimLineIsolationValveAft
Trigger.32 = Name:TrimTankEmpty#Condition:Manual#EffectTrue:StopPump.TrimTankPumpLeft,StopPump.TrimTankPumpRight,CloseValve.TrimLineIsolationValveAft#EffectFalse:StopPump.RightOuterTankPump,StopPump.LeftOuterTankPump,OpenValve.TrimLineIsolationValveAft
Trigger.33 = Name:OuterTanksTransferToFeedTank1&4Start1#Condition:Manual#EffectTrue:StartPump.LeftOuterTankPump,StartPump.RightOuterTankPump,OpenValve.FeedTank1FwdTransferValve1,OpenValve.FeedTank4FwdTransferValve1,SetJunction.FwdGalleryJunction.1
Trigger.34 = Name:OuterTanksTransferToFeedTank2&3Start2#Condition:Manual#EffectTrue:StartPump.LeftOuterTankPump,StartPump.RightOuterTankPump,OpenValve.FeedTank2FwdTransferValve1_1,OpenValve.FeedTank3FwdTransferValve1_1,SetJunction.FeedTanks2_3Junction1.1,SetJunction.FeedTanks2_3Junction2.1
Trigger.35 = Name:OuterTanksTransferToFeedTank1&4Start4#Condition:Manual#EffectTrue:StartPump.LeftOuterTankPump,StartPump.RightOuterTankPump,OpenValve.FeedTank1FwdTransferValve1,OpenValve.FeedTank4FwdTransferValve1,SetJunction.FwdGalleryJunction.1
Expand Down Expand Up @@ -482,8 +482,8 @@ Trigger.42 = Name:CGControlTransferEnd#Condition:Manual#EffectTrue:CloseValve.Tr
;Trigger.19 = Name:Equalize1and2forMidBelow8000#Target:Feed1,Feed2#Threshold:2#Condition:TankAbsImbalanceBelow#EffectTrue:OpenValve.FeedTank1FwdTransferValve1,OpenValve.FeedTank1FwdTransferValve2,OpenValve.OpenValve.FeedTank2FwdTransferValve2_2
;Trigger.20 = Name:Equalize2and4forMidBelow8000#Target:Feed2,Feed4#Threshold:2#Condition:TankAbsImbalanceBelow#EffectTrue:OpenValve.FeedTank2FwdTransferValve2_2,OpenValve.FeedTank4FwdTransferValve1,OpenValve.FeedTank4FwdTransferValve2
;Trigger.21 = Name:Equalize3and4forMidBelow8000#Target:Feed3,Feed4#Threshold:2#Condition:TankAbsImbalanceBelow#EffectTrue:OpenValve.FeedTank3FwdTransferValve2_2,OpenValve.FeedTank4FwdTransferValve1,OpenValve.FeedTank4FwdTransferValve2
;Trigger.22 = Name:MidTankLeftEmpty#Target:LeftMid#Threshold:0.1#Condition:TankQuantityBelow#EffectTrue:StopPump.LeftMidTankPumpFwd,SetJunction.FwdGalleryJunction.1,SetJunction.FeedTanks2_3Junction1.1,SetJunction.FeedTanks2_3Junction2.1,CloseValve.LeftMidAftTransferValve2,OpenValve.FeedTank1AftTransferValve2,OpenValve.FeedTank2AftTransferValve2,OpenValve.FeedTank3AftTransferValve2,OpenValve.FeedTank4AftTransferValve2,SetJunction.AftGalleryJunction1.3#EffectFalse:CloseValve.FeedTank1AftTransferValve2,CloseValve.FeedTank2AftTransferValve2,CloseValve.FeedTank3AftTransferValve2,CloseValve.FeedTank4AftTransferValve2,OpenValve.LeftMidAftTransferValve2,StartPump.LeftMidTankPumpFwd
;Trigger.23 = Name:MidTankRightEmpty#Target:RightMid#Threshold:0.1#Condition:TankQuantityBelow#EffectTrue:StopPump.RightMidTankPumpFwd,CloseValve.RightMidAftTransferValve2,OpenValve.FeedTank1AftTransferValve2,OpenValve.FeedTank2AftTransferValve2,OpenValve.FeedTank3AftTransferValve2,OpenValve.FeedTank4AftTransferValve2#EffectFalse:CloseValve.FeedTank1AftTransferValve2,CloseValve.FeedTank2AftTransferValve2,CloseValve.FeedTank3AftTransferValve2,CloseValve.FeedTank4AftTransferValve2,OpenValve.RightMidAftTransferValve2,StartPump.RightMidTankPumpFwd
;Trigger.22 = Name:MidTankLeftEmpty#Target:LeftMid#Threshold:0.1#Condition:TankQuantityBelow#EffectTrue:StopPump.LeftMidTankPumpFwd,CloseValve.LeftMidAftTransferValve2,OpenValve.FeedTank1AftTransferValve2,OpenValve.FeedTank2AftTransferValve2,OpenValve.FeedTank3AftTransferValve2,OpenValve.FeedTank4AftTransferValve2,SetJunction.AftGalleryJunction1.3#EffectFalse:CloseValve.FeedTank1AftTransferValve2,CloseValve.FeedTank2AftTransferValve2,CloseValve.FeedTank3AftTransferValve2,CloseValve.FeedTank4AftTransferValve2,OpenValve.LeftMidAftTransferValve2,StartPump.LeftMidTankPumpFwd
;Trigger.23 = Name:MidTankRightEmpty#Target:RightMid#Threshold:0.1#Condition:TankQuantityBelow#EffectTrue:StopPump.RightMidTankPumpFwd,CloseValve.RightMidAftTransferValve2,OpenValve.FeedTank1AftTransferValve2,OpenValve.FeedTank2AftTransferValve2,OpenValve.FeedTank3AftTransferValve2,OpenValve.FeedTank4AftTransferValve2,CloseValve.FeedTank1AftTransferValve1,CloseValve.FeedTank2AftTransferValve1,CloseValve.FeedTank3AftTransferValve1,CloseValve.FeedTank4AftTransferValve1#EffectFalse:CloseValve.FeedTank1AftTransferValve2,CloseValve.FeedTank2AftTransferValve2,CloseValve.FeedTank3AftTransferValve2,CloseValve.FeedTank4AftTransferValve2,OpenValve.RightMidAftTransferValve2,StartPump.RightMidTankPumpFwd
;Trigger.24 = Name:TrimTankTransferToFeedTank1#Target:Feed1#Threshold:1974#Condition:TankQuantityBelow#EffectTrue:OpenValve.TrimLineIsolationValveAft_1,OpenValve.FeedTank1AftTransferValve1,StartPump.TrimTankPumpLeft,StartPump.TrimTankPumpRight,CloseValve.FeedTank1FwdTransferValve1,CloseValve.FeedTank1FwdTransferValve2,CloseValve.FeedTank2FwdTransferValve1_1,CloseValve.FeedTank2FwdTransferValve2_1,CloseValve.FeedTank2FwdTransferValve1_2,CloseValve.FeedTank2FwdTransferValve2_2,CloseValve.FeedTank3FwdTransferValve1_1,CloseValve.FeedTank3FwdTransferValve2_1,CloseValve.FeedTank3FwdTransferValve1_2,CloseValve.FeedTank3FwdTransferValve2_2,CloseValve.FeedTank4FwdTransferValve1,CloseValve.FeedTank4FwdTransferValve2,SetJunction.FwdGalleryJunction.3
;Trigger.25 = Name:TrimTankTransferToFeedTank2#Target:Feed2#Threshold:1974#Condition:TankQuantityBelow#EffectTrue:OpenValve.TrimLineIsolationValveAft_1,OpenValve.FeedTank2AftTransferValve1,StartPump.TrimTankPumpLeft,StartPump.TrimTankPumpRight,CloseValve.FeedTank1FwdTransferValve1,CloseValve.FeedTank1FwdTransferValve2,CloseValve.FeedTank2FwdTransferValve1_1,CloseValve.FeedTank2FwdTransferValve2_1,CloseValve.FeedTank2FwdTransferValve1_2,CloseValve.FeedTank2FwdTransferValve2_2,CloseValve.FeedTank3FwdTransferValve1_1,CloseValve.FeedTank3FwdTransferValve2_1,CloseValve.FeedTank3FwdTransferValve1_2,CloseValve.FeedTank3FwdTransferValve2_2,CloseValve.FeedTank4FwdTransferValve1,CloseValve.FeedTank4FwdTransferValve2,SetJunction.FeedTanks2_3Junction1.3,SetJunction.FeedTanks2_3Junction2.3
;Trigger.26 = Name:TrimTankTransferToFeedTank3#Target:Feed3#Threshold:1974#Condition:TankQuantityBelow#EffectTrue:OpenValve.TrimLineIsolationValveAft_1,OpenValve.FeedTank3AftTransferValve1,StartPump.TrimTankPumpLeft,StartPump.TrimTankPumpRight,CloseValve.FeedTank1FwdTransferValve1,CloseValve.FeedTank1FwdTransferValve2,CloseValve.FeedTank2FwdTransferValve1_1,CloseValve.FeedTank2FwdTransferValve2_1,CloseValve.FeedTank2FwdTransferValve1_2,CloseValve.FeedTank2FwdTransferValve2_2,CloseValve.FeedTank3FwdTransferValve1_1,CloseValve.FeedTank3FwdTransferValve2_1,CloseValve.FeedTank3FwdTransferValve1_2,CloseValve.FeedTank3FwdTransferValve2_2,CloseValve.FeedTank4FwdTransferValve1,CloseValve.FeedTank4FwdTransferValve2,SetJunction.FeedTanks2_3Junction1.3,SetJunction.FeedTanks2_3Junction2.3
Expand All @@ -502,7 +502,7 @@ Trigger.42 = Name:CGControlTransferEnd#Condition:Manual#EffectTrue:CloseValve.Tr
;Trigger.39 = Name:OuterTanksTransferToFeedTank3End#Target:Feed3#Threshold:1481#Condition:TankQuantityAbove#EffectTrue:CloseValve.FeedTank3FwdTransferValve1_1
;Trigger.40 = Name:OuterTanksTransferToFeedTank4End#Target:Feed4#Threshold:1481#Condition:TankQuantityAbove#EffectTrue:CloseValve.FeedTank4FwdTransferValve1
;Trigger.41 = Name:CGControlTransferStart#Threshold:0.415#Condition:CGAboveLimit#EffectTrue:OpenValve.TrimLineIsolationValveAft_2,OpenValve.LeftInnerAftTransferValve1,OpenValve.RightInnerAftTransferValve1,OpenValve.LeftMidAftTransferValve1,OpenValve.RightMidAftTransferValve1,OpenValve.FeedTank1AftTransferValve2,OpenValve.FeedTank2AftTransferValve2,OpenValve.FeedTank3AftTransferValve2,OpenValve.FeedTank4AftTransferValve2,StartPump.TrimTankPumpLeft,StartPump.TrimTankPumpRight
;Trigger.42 = Name:CGControlTransferEnd#Threshold:0.405#Condition:CGBelowLimit#EffectTrue:CloseValve.TrimLineIsolationValveAft_2,CloseValve.LeftInnerAftTransferValve1,CloseValve.RightInnerAftTransferValve1,CloseValve.LeftMidAftTransferValve1,CloseValve.RightMidAftTransferValve1,CloseValve.FeedTank1AftTransferValve2,CloseValve.FeedTank2AftTransferValve2,CloseValve.FeedTank3AftTransferValve2,CloseValve.FeedTank4AftTransferValve2
;Trigger.42 = Name:CGControlTransferEnd#Threshold:0.405#Condition:CGBelowLimit#EffectTrue:CloseValve.TrimLineIsolationValveAft_2,CloseValve.LeftInnerAftTransferValve1,CloseValve.RightInnerAftTransferValve1,CloseValve.LeftMidAftTransferValve1,CloseValve.RightMidAftTransferValve1


[AIRPLANE_GEOMETRY]
Expand Down
50 changes: 0 additions & 50 deletions fbw-a380x/src/systems/shared/src/UpdateThrottler.ts

This file was deleted.

3 changes: 2 additions & 1 deletion fbw-a380x/src/systems/systems-host/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ class SystemsHost extends BaseInstrument {

private readonly fwsCore = new FwsCore(1, this.bus);

private readonly legacyFuel = new LegacyFuel(this.bus);
//FIXME add some deltatime functionality to backplane instruments so we dont have to pass SystemHost
private readonly legacyFuel = new LegacyFuel(this.bus, this);

/**
* "mainmenu" = 0
Expand Down
Loading

0 comments on commit 354f701

Please sign in to comment.