fix(press): excess residual pressure warning with adirs off #8690
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #8642
Summary of Changes
After the introduction of PR #8511 and #8648, there was a condition where after landing, when switching off the ADIRS, the CPC was still sending an "excess residual pressure" signal to the FWC. This PR disables all signals when the ADIRS data is not valid.
I've also added a couple of accuracy changes to the excess residual pressure warning: 12 seconds delay (7 seconds to validate engines are off, and 5 to validate excess residual pressure) and trigger point at 0.036 PSI (from the FCOM).
The signal has been taken out of the discrete ARINC word and moved out of the CPC, as it's sent by an independent pressure switch.
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub): Commander Ga
Testing instructions
To check the warning does not appear when it shouldn't: Do a short flight landing at an airport at sea level in a day with high atmospheric pressure (you can try something like 1040hpa). Turn on APU and APU bleed, switch off engines and switch off the ADIRS.
Verify no "EXCESS CAB PR" warning appears in the ECAM. When switching off the ADIRS, the delta pressure indication turns to "XX".
To check the warning does appear when it should, with a delay: Do a short flight, after landing swtich on the APU and APU bleed. Change the MODE SEL of the pressurization system to manual, and close the outflow valve (about 50% should be more than enough). Switch off the engines. Ensure the "EXCESS CAB PR" appears after 12 seconds.
Note: to speed up testing, instead of doing a flight, you can manually change the FWC flight phase to 10 in Model Behaviors after switching off the engines.
How to download the PR for QA
Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.