-
Notifications
You must be signed in to change notification settings - Fork 110
FLOPS based premission for BWB #922
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
base: main
Are you sure you want to change the base?
Conversation
…alculated_wing_area'.
…s_weight in Aviary.
…ASS, set 'WTIN.NPT' for FLOPS for Aircraft.CrewPayload.Design.NUM_TOURIST_CLASS. In this way, fortran_to_aviary can read in NPF and NPT.
Don't worry about it. It happens only when I test mass subsystem by itself. Now, I tested all subsystems all together and it is not a problem anymore. Also, I added a unit test using CSV file. By this approach, I am able to test mass subsystem by itself (actually geom+mass). |
…into BWB_FLOPS_premission
…rcraft.Wing.SPAN is computed.
Summary
This PR adds a unit test for FLOPS based subsystems with BWB configuration (see
BWBPreMissionGroupTestclass intest_flops_based_premission.py). This PR assumes that geometry and mass subsystems are already implemented using BWB using FLOPS code. Since there is no specific code in FLOPS for BWB, this unit test covers all four basic subsystems: propulsion, geometry, aerodynamics and mass.As in PR #889 for mass subsystem, we prepare two cases for the testing: Case 1 with simple fuselage layout and simple wing layout (see
bwb_simple_FLOPS_data.py) and case 2 with detailed fuselage layout and detailed wing layout (seebwb_detailed_FLOPS_data.py) in aircraft model directory.Almost all results match with FLOPS outputs. But the computation algorithm of bending material factor is a little bit different in the second case. As a result, wing mass and structure mass are a little different too. The comparison is as follows:
CSV data input based unit tests are added. This is the first time that we use CSV input deck for premission unit test in
test_flops_based_premission.py.Related Issues
Backwards incompatibilities
None
New Dependencies
None