-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(bleed): Implement wing anti ice system #2
base: bleed
Are you sure you want to change the base?
Conversation
Great work so far! I really like this Also, you don't have to invest too much time into tuning parameters. I think we should wait with this until most of the system is complete to avoid having to re-tune the entire system. Let me know when you think the fundamentals are in with some unit tests, so I can review the system as a whole. I want to avoid leaving feedback on stuff you're still working on. Of course, you can always ask if you need an opinion on something. :) |
Thanks for the comments. |
There was a conceptual issue with the This happens because the exhaustion is not isentropic, as the air must lose heat to reach temperature balance. So I had to model the cooling of the air inside the WAI container, separately from how the pressure change. This is not totally self consistent. I used Newton's cooling law as presented here, with a heat transfer rate (tau in wikipedia) which will need to be tweaked. |
This sounds good to me. The whole isentropic idea is mostly just so we can use simple formulae for the transfer of air between containers. We might even want to apply Newton's cooling to all containers at some point. |
It's been a productive couple of days! I have noticed that the precoolers are not symmetric - have you noticed that? Also, I commented out the pressure change for temperature change. We need to discuss this as I think there is an error there that causes my pressure values to be NaNs |
Awesome! Really great to see it. I think it's realistic anyways to use some sort of latching logic for the fault light to prevent the flickering.
Oh really? In what way do you mean not symmetric? Not the same for both engines somehow?
Sure! I don't actually think this issue was introduced with my "pressure change for temperature change" commit, but is an issue caused by the |
A couple of things:
self.move_volume(
from,
to,
self.open_amount()
* equalization_volume
* (1. - (-Self::TRANSFER_SPEED * context.delta_as_secs_f64()).exp()),
); If
However, from here, it seems that the exponent should be |
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
Co-authored-by: BBK <[email protected]>
* fix: RMP behavior and lights [issue 344] * Update src/instruments/src/EWD/elements/PseudoFWC.tsx Requested changes Co-authored-by: Benedict Etzel <[email protected]> * Update src/instruments/src/Common/EWDMessages.tsx Requested changes: code and VHF3 VOICE format Co-authored-by: Benedict Etzel <[email protected]> * Update src/instruments/src/EWD/elements/PseudoFWC.tsx Requested changes: code VHF3 voice Co-authored-by: Benedict Etzel <[email protected]> * Update src/instruments/src/EWD/elements/PseudoFWC.tsx Requested changes: code VHF3 voice Co-authored-by: Benedict Etzel <[email protected]> * Update RadioPanelDisplay.tsx Requested changes: textDataModeVHF3 to TEXT_DATA_MODE_VHF3 * Fix bug with ANN LT involved * Added comments about commented out code * Fix RMPs elec buses * add of SEL word backlight * Default init of transmit and volume buttons * fix SEL light behavior * fix SEL light behavior #2 * Removal of commented out code * SEL backlight code * Changelog * Fix for vPilot * Changelog update Removal of useless changelogs * Changelog from 0.4.0 to 0.9.0 as requested From 0.4.0 to 0.8.0 for another one * Fix COM3 Transmit + it is now possible to transmit on no COM * Fix knob animation * Fix simvars when switching between CALLS p/b * Comment Co-authored-by: Benedict Etzel <[email protected]> Co-authored-by: Saschl <[email protected]>
* fix: RMP behavior and lights [issue 344] * Update src/instruments/src/EWD/elements/PseudoFWC.tsx Requested changes Co-authored-by: Benedict Etzel <[email protected]> * Update src/instruments/src/Common/EWDMessages.tsx Requested changes: code and VHF3 VOICE format Co-authored-by: Benedict Etzel <[email protected]> * Update src/instruments/src/EWD/elements/PseudoFWC.tsx Requested changes: code VHF3 voice Co-authored-by: Benedict Etzel <[email protected]> * Update src/instruments/src/EWD/elements/PseudoFWC.tsx Requested changes: code VHF3 voice Co-authored-by: Benedict Etzel <[email protected]> * Update RadioPanelDisplay.tsx Requested changes: textDataModeVHF3 to TEXT_DATA_MODE_VHF3 * Fix bug with ANN LT involved * Added comments about commented out code * Fix RMPs elec buses * add of SEL word backlight * Default init of transmit and volume buttons * fix SEL light behavior * fix SEL light behavior #2 * Removal of commented out code * SEL backlight code * VOR, ILS, ADF tunable. MLS missing. Logic with NAV button * Add of files * ILS standby frequency to active * Instruments knobs are now pushable * VORs ident * Fix due to double comment in the xml * MKR ident * ADF ident * RADNAV page blank once NAV button pushed * AUTO/MAN/RMP status in Navaids page * Fix switch between NAV backup and radio tuning * VOICE button * fix: inhibit auto-tuning * Changelog * Changelog * NAV 1/2 ADF 1 default volume set to 0 * NAV 3/4 ADF 2 (not existing yet) default volume set to 0 * Fix ILS and default values * ILS/MLS DME distance not displayed if RMP tuned * Display of M/R if manual/rmp tuned * Display of M/R if manual/rmp tuned * Revert "Display of M/R if manual/rmp tuned" This reverts commit ec363f6. * Reset of all nav frequencies when RMP tuning is cancelled * Removal of MLS + somes fixes for ADF and tuning based on real life * Change of default course value * Removal of useless code * Fix of display flickering when switching between ADF and VOR/ILS * ILS/MLS volume knobs + fix * Management greatest volume within pair of knobs * Fix previous commit * Fix previous commit * Revert "Revert commit by mistake" This reverts commit 556f5ac. * Removal of useless newlines * Table separator * Merge similar simvars as requested * French tooltips for knobs and voice button * Use of default tooltips + update homemade ones + english tooltips * Use of default tooltips + update homemade ones + english tooltips * Revert "Revert commit pushed my mistake" This reverts commit d61e0d5. * Dim light * ILS tunable only if both RMPs in nav backup mode. FCOM compliant * Back to frequency mode when switching between receivers * Fix for vPilot * Changelog update Removal of useless changelogs * Changelog from 0.4.0 to 0.9.0 as requested From 0.4.0 to 0.8.0 for another one * Fix COM3 Transmit + it is now possible to transmit on no COM * Fix knob animation * Revert "Merge branch 'RMP_fix_behavior_lights'" This reverts commit b21b690, reversing changes made to b71ebfb. * Reorder Changelog * Fix simvars when switching between CALLS p/b * Comment * MLS disabled * Fix bad merge * Fix bad merge * A32NX_RMP_ILS_MLS_TUNED to A32NX_RMP_ILS_TUNED * Update a320-simvars.md * Fix for vPilot * Comment * Inhibit at low altitude * Knobs lights * Revert on Rust files due to bad merge * Copy changelog from master and add of my line * Fix ILS tuning * Comment * Comment * Fix knobs lit when cold & dark Co-authored-by: Benedict Etzel <[email protected]> Co-authored-by: Michael Corcoran <[email protected]> Co-authored-by: Saschl <[email protected]> Co-authored-by: Benjamin Dupont <[email protected]>
Fixes #[issue_no]
Summary of Changes
This PR tracks the implementation of the wing anti ice consumer.
Pneumatic & thermodynamic logic:
Misc:
Even though some tests are not checked, it doesn't necessarily mean no tests were run on that particular subject. It just means that I am still running tests.
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub):
Testing instructions
How to download the PR for QA
Every new commit to this PR will cause a new A32NX artifact to be created, built, and uploaded.