aircraft icon indicating copy to clipboard operation
aircraft copied to clipboard

feat(hyd): fluid dynamics in reservoirs

Open crocket63 opened this issue 2 years ago • 1 comments

Fixes #[issue_no]

Summary of Changes

An simplified oscillation/viscous model will simulate fluid movement in hydraulic reservoirs.

Lateral/longitudinal accelerations might impact fluid level seen by the gauge. Flying close to 0Gs might have strange impacts on gauge reading

Reservoirs have a small negative G cavity that can hold fluid for the pumps for around 20s. After that time pumps will cavitate and hydraulics are lost.

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.

  1. Make sure you are signed in to GitHub
  2. Click on the Checks tab on the PR
  3. On the left side, click on the bottom PR tab
  4. Click on the A32NX download link at the bottom of the page

crocket63 avatar Aug 04 '22 15:08 crocket63

Let debug print in here for other tweaks after first feedbacks

crocket63 avatar Aug 04 '22 21:08 crocket63

Quality Assurance Trainee Report

Discord : Euan#7980 object of testing: #7393 Tier of Testing: 2 Date: 19/09/2022

Testing Process:

  • [x] Fluid level can be seen moving a bit when plane accelerations occur (left/right, accelerate/brake on ground).
  • [x] -Negative Gs cause erratic hyd level readings, but hydraulics are still working
  • [x] Long period in negative G (inverted flight) should cause hydraulic failure (in around 20s)

Media:

On the Ground:

https://user-images.githubusercontent.com/67420304/191013051-83f94182-79bd-4422-a0a0-1ba7218684f3.mp4

During Takeoff:

https://user-images.githubusercontent.com/67420304/191024712-4bcf2c5d-a7df-4e75-bc91-8ba8174e05d8.mp4

During Inversion and Long Period of Negative Gs:

https://user-images.githubusercontent.com/67420304/191025042-9b926214-c3dc-4ad3-9ac0-ac85a94b147b.mp4

Negatives:
N/A

Testing Results: Passed

EuanM199 avatar Sep 19 '22 13:09 EuanM199