-
Notifications
You must be signed in to change notification settings - Fork 110
BWB components in mass/flops_based subsysterms #889
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
Closed
Closed
Changes from all commits
Commits
Show all changes
126 commits
Select commit
Hold shift + click to select a range
35c7ef3
work in progress
xjjiang 860fe7e
rename aircraft:wing:chord_per_semispan to aircraft:wing:chord_per_se…
xjjiang ad476b5
stecify design_type in if-else blocks
xjjiang f7cf14e
work in progress: BWB FLOPS based mass and detailed wing work
xjjiang 20fe46c
Merge branch 'main' into BWB_FLOPS_mass
xjjiang de7602f
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 5162ab0
worked on BWB detailed wing unit tests
xjjiang 18ef9e4
Merge branch 'BWB_FLOPS_mass' of github.com:xjjiang/om-Aviary into BW…
xjjiang 0f0bb3a
fix a small typo
xjjiang 4468168
add Aircraft.Wing.BWB_AFTBODY_MASS to BWBAftBodyMass
xjjiang fc49809
add BWBWingMiscMass class and exclude BWB case in WingMiscMass class
xjjiang f5e104a
update BWBDetailedWingBendingFact class with a new output variable 'c…
xjjiang d689c60
add BWBWingMiscMass class and exclude BWB case in WingMiscMass class
xjjiang b370154
add a note that WEC in FLOPS in not exactly the same as total_control…
xjjiang 716954a
add BWBTransportAvionicsMassTest
xjjiang 1da61be
add BWBCargoMassTest
xjjiang 4ba89a9
minor update
xjjiang 9225759
add BWBWingMiscMassTest, BWBShearControlMassTest, and BWBShearControl…
xjjiang 35b001c
minor update
xjjiang 57c0f91
add BWBSurfaceCtrlMassTest
xjjiang 464f15a
add Aircraft.Wing.BWB_AFTBODY_MASS to BWBAftBodyMass
xjjiang f0a7804
add BWBTransportEngineCtrlsTest
xjjiang d24be85
add BWBCargoContainersMassTest
xjjiang 4a80991
remove BWBFuelCapacityGroupTest
xjjiang f0640a8
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 97d2270
set 'WTIN.NPF' for FLOPS for Aircraft.CrewPayload.Design.NUM_FIRST_CL…
xjjiang b6720f0
add BWB1aFLOPS to FLOPS_Test_Data.py
xjjiang 4bbdd0f
work in progress: adding BWBPropulsionPreMissionTest
xjjiang a59c7c6
add use_tempdirs
xjjiang f2daa12
add BWBTransportAirCondMassTest
xjjiang 2874474
don't run BWB test yet.
xjjiang ca3bf5b
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 32ccf61
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang f94cad1
adding bwb_1a_FLOPS_data.py
xjjiang 06af0a2
add BWBTransportAirCondMassTest
xjjiang bbdfd1a
minor update
xjjiang 47f2904
copy Ken's fix
xjjiang 492ebcd
update engine file
xjjiang beba8b6
work in progress
xjjiang ba87052
minor update
xjjiang 5f2d80a
add BWBEngineMassTest
xjjiang ce89c17
add new test: test_wing_group.py
xjjiang e091bba
add engine file for FLOPS based BWB
xjjiang b644ebe
minor update to bwb_1a_FLOPS_data.py
xjjiang 98efcaf
omit 'BWB1aFLOPS'
xjjiang 395a319
work in progress on engine_pod
xjjiang 8a42160
omit BWB1aFLOPS in unit tests
xjjiang 5bf6216
minor update
xjjiang da4f63d
minor update
xjjiang 170e79d
BWBTransportFuelSystemTest is not ready yet
xjjiang 28201c8
Merge branch 'main' into BWB_FLOPS_mass
xjjiang 02957e4
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 495a314
Update bwb_1a_FLOPS_data.py
xjjiang 1ba33b3
Add Engine scaled thrust to anti-icing test
xjjiang 78610fd
add a note
xjjiang 4057fcc
remove aircraft:engine:starter_mass
xjjiang 2858f10
remove aircraft:engine:starter_mass
xjjiang 4164ed4
enable value checking for BWB since we have BWB data now.
xjjiang 602ab4b
update FLOPS based BWB data.
xjjiang a907880
update wing area for BWB to match with FLOPS run
xjjiang 28d2085
update start mass by adding scale avg_diam by thrust ratio
xjjiang a9d8cc4
deal with the case that vertical tail area is zero
xjjiang 8d6531d
add/update FLOPS based mass unit tests for BWB.
xjjiang adfc649
update FLOPS based mass TotalSummationTest
xjjiang 2ff6007
update bwb_1a_FLOPS_data.py
xjjiang 6f908f6
add unit tests for detailed layout and detailed wing data set of BWB.
xjjiang 303cbdd
add unit tests for detailed layout and detailed wing data set of BWB.
xjjiang c64ae19
rename bwb_1a_FLOPS_data.py bwb_simple_FLOPS_data.py
xjjiang 8681b8b
remove LANDG.THROF because it does not exist.
xjjiang e0684f0
add BWB detailed layout and detailed wing data set for unit testing
xjjiang 61a9de3
add BWBdetailedFLOPS to FLOPS_Test_Data
xjjiang b30be93
add BWB test case
xjjiang c4c1c2b
remove an unnecessary input
xjjiang ff9f071
minor update
xjjiang 35e5dd0
remove unimported variables
xjjiang 84ab7ce
renamed a couple of test classes
xjjiang 5b5d708
minor updates
xjjiang 7656a87
add use_tempdirs wherever needed
xjjiang c954476
minor updates
xjjiang 75ec810
minor updates
xjjiang 71f9933
minor updates
xjjiang f58c80d
add unit test in test_propulsion_premission.py
xjjiang 44262b5
update TOTAL_SCALED_SLS_THRUST in BWBPropulsionPreMissionTest
xjjiang 01f99c0
update validataion data
xjjiang a36c485
update wing aspect ratio to 7.557 from 3.4488821
xjjiang b0ff436
add Aircraft.Wing.NUM_INPUT_STATION_DIST
xjjiang b54affa
convert NETAW to Aircraft.Wing.NUM_INTEGRATION_STATIONS. Not needed i…
xjjiang 9064f56
minor update
xjjiang 9556f27
set Aircraft.Engine.NUM_ENGINES to np.array([3]) instead of 3
xjjiang 8f6baad
remove newly added variable Aircraft.Wing.NUM_INPUT_STATION_DIST. Als…
xjjiang 7a1ef2f
one more file to update
xjjiang 4f52781
Merge branch 'main' into BWB_FLOPS_mass
jkirk5 076ce3e
Update aviary/models/engines/PAX300_baseline_ENGDEK.csv
jkirk5 eca234b
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang f2ad32e
change print to raise
xjjiang b02a058
rename bwb_wing_detailed.py to wing_detailed_bwb.py
xjjiang 3b51e01
rename CargoMass to PayloadGroup
xjjiang f33d337
change print to raise
xjjiang 6da8939
Merge branch 'main' into BWB_FLOPS_mass
xjjiang 06a63f7
change CargoMassTest to PayloadGroupTest
xjjiang 7eba110
rename some variables
xjjiang cb925d1
update test_cargo
xjjiang eb8a01b
minor modification of docstring
xjjiang 1f0a5c6
removed temp comments
xjjiang cc06326
For horizontal tail, vertical tail and canard, rewrite characteristic…
xjjiang 435b717
roll back my work on characteristic lengths of horizontal tail, verti…
xjjiang 1cee3cb
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 21e93a8
Take Aircraft.Engine.SCALE_FACTOR as input.
xjjiang f6a5f36
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 04be791
minor update to data files
xjjiang b165099
Merge branch 'BWB_FLOPS_mass' of github.com:xjjiang/om-Aviary into BW…
xjjiang 1731995
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 0655b2e
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 3a2c82e
Merge branch 'main' into BWB_FLOPS_mass
xjjiang 082c951
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 4382492
remove unused inputs from EquipMassPartialSum of GASP based mass subs…
xjjiang 1352c30
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 3e2b809
remove unused variables
xjjiang 5d8708c
:Merge branch 'BWB_FLOPS_mass' of github.com:xjjiang/om-Aviary into B…
xjjiang e5b19d3
roll back my new docstring
xjjiang 152584b
Merge branch 'main' into BWB_FLOPS_mass
xjjiang bcdab37
changes based on suggestions from Jason
xjjiang d01a255
minor update
xjjiang 68f56f5
minor updates based on Jason's comments
xjjiang 6d953d7
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang 2b82396
Merge branch 'OpenMDAO:main' into BWB_FLOPS_mass
xjjiang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
434 changes: 434 additions & 0 deletions
434
aviary/models/aircraft/blended_wing_body/bwb_detailed_FLOPS_data.py
Large diffs are not rendered by default.
Oops, something went wrong.
379 changes: 379 additions & 0 deletions
379
aviary/models/aircraft/blended_wing_body/bwb_simple_FLOPS_data.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -16,9 +16,6 @@ class FuselagePrelim(om.ExplicitComponent): | |||||||||
| Aircraft.Fuselage.PLANFORM_AREA = length * max_width. | ||||||||||
| """ | ||||||||||
|
|
||||||||||
| def initialize(self): | ||||||||||
| add_aviary_option(self, Settings.VERBOSITY) | ||||||||||
|
|
||||||||||
| def setup(self): | ||||||||||
| add_aviary_input(self, Aircraft.Fuselage.LENGTH, units='ft') | ||||||||||
| add_aviary_input(self, Aircraft.Fuselage.MAX_HEIGHT, units='ft') | ||||||||||
|
|
@@ -39,16 +36,16 @@ def setup_partials(self): | |||||||||
| ) | ||||||||||
|
|
||||||||||
| def compute(self, inputs, outputs): | ||||||||||
| verbosity = self.options[Settings.VERBOSITY] | ||||||||||
| max_height = inputs[Aircraft.Fuselage.MAX_HEIGHT] | ||||||||||
| max_width = inputs[Aircraft.Fuselage.MAX_WIDTH] | ||||||||||
| length = inputs[Aircraft.Fuselage.LENGTH] | ||||||||||
| if length <= 0.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print('Aircraft.Fuselage.LENGTH must be positive.') | ||||||||||
| raise ValueError( | ||||||||||
| f'Aircraft.Fuselage.LENGTH must be positive, however {length} is provided.' | ||||||||||
| ) | ||||||||||
|
|
||||||||||
| avg_diameter = 0.5 * (max_height + max_width) | ||||||||||
| outputs[Aircraft.Fuselage.REF_DIAMETER] = avg_diameter | ||||||||||
| ref_diameter = 0.5 * (max_height + max_width) | ||||||||||
| outputs[Aircraft.Fuselage.REF_DIAMETER] = ref_diameter | ||||||||||
|
|
||||||||||
| outputs[Aircraft.Fuselage.PLANFORM_AREA] = length * max_width | ||||||||||
|
|
||||||||||
|
|
@@ -64,9 +61,6 @@ def compute_partials(self, inputs, partials, discrete_inputs=None): | |||||||||
| class BWBFuselagePrelim(om.ExplicitComponent): | ||||||||||
| """Calculate fuselage average diameter and planform area for BWB""" | ||||||||||
|
|
||||||||||
| def initialize(self): | ||||||||||
| add_aviary_option(self, Settings.VERBOSITY) | ||||||||||
|
|
||||||||||
| def setup(self): | ||||||||||
| add_aviary_input(self, Aircraft.Fuselage.LENGTH, units='ft') | ||||||||||
| add_aviary_input(self, Aircraft.Fuselage.MAX_WIDTH, units='ft') | ||||||||||
|
|
@@ -99,25 +93,26 @@ def setup_partials(self): | |||||||||
| ) | ||||||||||
|
|
||||||||||
| def compute(self, inputs, outputs): | ||||||||||
| verbosity = self.options[Settings.VERBOSITY] | ||||||||||
| max_width = inputs[Aircraft.Fuselage.MAX_WIDTH] | ||||||||||
| length = inputs[Aircraft.Fuselage.LENGTH] | ||||||||||
| max_height = inputs[Aircraft.Fuselage.MAX_HEIGHT] | ||||||||||
| root_chord = inputs[Aircraft.Wing.ROOT_CHORD] | ||||||||||
| rear_spar_percent_chord = inputs['Rear_spar_percent_chord'] | ||||||||||
|
|
||||||||||
| if length <= 0.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print('Aircraft.Fuselage.LENGTH must be positive.') | ||||||||||
| raise ValueError( | ||||||||||
| f'Aircraft.Fuselage.LENGTH must be positive, however {length} is provided.' | ||||||||||
| ) | ||||||||||
| if rear_spar_percent_chord <= 0.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print('Rear_spar_percent_chord must be positive. It is default to 0.7') | ||||||||||
| raise ValueError( | ||||||||||
| 'Rear_spar_percent_chord must be positive, ' | ||||||||||
| f'however {rear_spar_percent_chord} is provided.' | ||||||||||
| ) | ||||||||||
|
|
||||||||||
| # not sure if this is right definition and not sure if it is used for BWB. | ||||||||||
| avg_diameter = 0.5 * (max_height + max_width) | ||||||||||
| ref_diameter = 0.5 * (max_height + max_width) | ||||||||||
| planform_area = max_width * (length + root_chord / rear_spar_percent_chord) / 2.0 | ||||||||||
|
|
||||||||||
| outputs[Aircraft.Fuselage.REF_DIAMETER] = avg_diameter | ||||||||||
| outputs[Aircraft.Fuselage.REF_DIAMETER] = ref_diameter | ||||||||||
| outputs[Aircraft.Fuselage.PLANFORM_AREA] = planform_area | ||||||||||
|
|
||||||||||
| def compute_partials(self, inputs, partials): | ||||||||||
|
|
@@ -139,15 +134,16 @@ def compute_partials(self, inputs, partials): | |||||||||
|
|
||||||||||
|
|
||||||||||
| class SimpleCabinLayout(om.ExplicitComponent): | ||||||||||
| """Given fuselage length, height and width, compute passenger compartment length.""" | ||||||||||
| """ | ||||||||||
| Given fuselage length, height and width, compute passenger compartment length. | ||||||||||
| This is for transporter aircraft, not BWB. | ||||||||||
| """ | ||||||||||
|
|
||||||||||
| def initialize(self): | ||||||||||
| add_aviary_option(self, Settings.VERBOSITY) | ||||||||||
|
|
||||||||||
| def setup(self): | ||||||||||
| add_aviary_input(self, Aircraft.Fuselage.LENGTH, units='ft') | ||||||||||
| add_aviary_input(self, Aircraft.Fuselage.MAX_HEIGHT, units='ft') | ||||||||||
| add_aviary_input(self, Aircraft.Fuselage.MAX_WIDTH, units='ft') | ||||||||||
|
|
||||||||||
| add_aviary_output(self, Aircraft.Fuselage.PASSENGER_COMPARTMENT_LENGTH, units='ft') | ||||||||||
|
|
||||||||||
|
|
@@ -161,24 +157,19 @@ def compute(self, inputs, outputs): | |||||||||
| verbosity = self.options[Settings.VERBOSITY] | ||||||||||
|
|
||||||||||
| length = inputs[Aircraft.Fuselage.LENGTH] | ||||||||||
| max_height = inputs[Aircraft.Fuselage.MAX_HEIGHT] | ||||||||||
| max_width = inputs[Aircraft.Fuselage.MAX_WIDTH] | ||||||||||
| if length <= 0.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print('Aircraft.Fuselage.LENGTH must be positive to use simple cabin layout.') | ||||||||||
| if max_height <= 0.0 or max_width <= 0.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print( | ||||||||||
| 'Aircraft.Fuselage.MAX_HEIGHT & Aircraft.Fuselage.MAX_WIDTH must be positive.' | ||||||||||
| ) | ||||||||||
| raise ValueError( | ||||||||||
| f'Aircraft.Fuselage.LENGTH must be positive, however {length} is provided.' | ||||||||||
| ) | ||||||||||
|
|
||||||||||
| pax_compart_length = 0.6085 * length * (np.arctan(length / 59.0)) ** 1.1 | ||||||||||
| if pax_compart_length > 190.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print( | ||||||||||
| 'Passenger compartiment lenght is longer than recommended maximum length. ' | ||||||||||
| 'Suggest use detailed laylout algorithm.' | ||||||||||
| raise UserWarning( | ||||||||||
| 'Passenger compartment length is longer than recommended maximum' | ||||||||||
| ' length. Suggest using detailed laylout algorithm.' | ||||||||||
| ) | ||||||||||
|
|
||||||||||
| outputs[Aircraft.Fuselage.PASSENGER_COMPARTMENT_LENGTH] = pax_compart_length | ||||||||||
|
|
||||||||||
| def compute_partials(self, inputs, J): | ||||||||||
|
|
@@ -191,11 +182,12 @@ def compute_partials(self, inputs, J): | |||||||||
|
|
||||||||||
|
|
||||||||||
| class DetailedCabinLayout(om.ExplicitComponent): | ||||||||||
| """Compute fuselage dimensions using cabin seat information.""" | ||||||||||
| """ | ||||||||||
| Compute fuselage dimensions using cabin seat information. | ||||||||||
| This is for transporter aircraft, not BWB. | ||||||||||
| """ | ||||||||||
|
|
||||||||||
| def initialize(self): | ||||||||||
| add_aviary_option(self, Settings.VERBOSITY) | ||||||||||
| add_aviary_option(self, Aircraft.Fuselage.NUM_FUSELAGES) | ||||||||||
| add_aviary_option(self, Aircraft.CrewPayload.Design.NUM_FIRST_CLASS) | ||||||||||
| add_aviary_option(self, Aircraft.CrewPayload.Design.NUM_TOURIST_CLASS) | ||||||||||
| add_aviary_option(self, Aircraft.CrewPayload.Design.NUM_SEATS_ABREAST_FIRST) | ||||||||||
|
|
@@ -215,14 +207,9 @@ def setup(self): | |||||||||
| self.declare_partials('*', '*', method='fd', form='forward') | ||||||||||
|
|
||||||||||
| def compute(self, inputs, outputs): | ||||||||||
| verbosity = self.options[Settings.VERBOSITY] | ||||||||||
| num_first_class_pax = self.options[Aircraft.CrewPayload.Design.NUM_FIRST_CLASS] | ||||||||||
| num_tourist_class_pax = self.options[Aircraft.CrewPayload.Design.NUM_TOURIST_CLASS] | ||||||||||
| fuselage_multiplier = 1.0 | ||||||||||
| num_fuselage = self.options[Aircraft.Fuselage.NUM_FUSELAGES] | ||||||||||
| if num_fuselage > 1: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print('Multiple fuselage configuration is not implemented yet.') | ||||||||||
|
|
||||||||||
| num_seat_abreast_first = self.options[Aircraft.CrewPayload.Design.NUM_SEATS_ABREAST_FIRST] | ||||||||||
| num_seat_abreast_tourist = self.options[ | ||||||||||
|
|
@@ -466,20 +453,20 @@ def compute(self, inputs, outputs): | |||||||||
| bay_width_max = 12.0 # ft | ||||||||||
|
|
||||||||||
| if length <= 0.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print('Aircraft.Fuselage.LENGTH must be positive to use simple cabin layout.') | ||||||||||
| raise ValueError( | ||||||||||
| f'Aircraft.Fuselage.LENGTH must be positive to use simple cabin layout.' | ||||||||||
| ) | ||||||||||
| if max_width <= 0.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print( | ||||||||||
| 'Aircraft.Fuselage.MAX_HEIGHT & Aircraft.Fuselage.MAX_WIDTH must be positive.' | ||||||||||
| ) | ||||||||||
| raise ValueError( | ||||||||||
| f'Aircraft.Fuselage.MAX_HEIGHT must be positive, however {max_width} is provided.' | ||||||||||
| ) | ||||||||||
|
|
||||||||||
| pax_compart_length = rear_spar_percent_chord * length | ||||||||||
| if pax_compart_length > 190.0: | ||||||||||
| if verbosity > Verbosity.BRIEF: | ||||||||||
| print( | ||||||||||
| 'Passenger compartiment lenght is longer than recommended maximum length. ' | ||||||||||
| 'Suggest use detailed laylout algorithm.' | ||||||||||
| raise UserWarning( | ||||||||||
| 'Passenger compartment lenght is longer than recommended maximum' | ||||||||||
| ' length. Suggest using detailed laylout algorithm.' | ||||||||||
|
Comment on lines
+468
to
+469
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| ) | ||||||||||
|
|
||||||||||
| sweep = inputs[Aircraft.BWB.PASSENGER_LEADING_EDGE_SWEEP] | ||||||||||
|
|
@@ -540,8 +527,6 @@ class BWBDetailedCabinLayout(om.ExplicitComponent): | |||||||||
| """Compute BWB fuselage dimensions using cabin seat information.""" | ||||||||||
|
|
||||||||||
| def initialize(self): | ||||||||||
| add_aviary_option(self, Settings.VERBOSITY) | ||||||||||
| add_aviary_option(self, Aircraft.Fuselage.NUM_FUSELAGES) | ||||||||||
| add_aviary_option(self, Aircraft.CrewPayload.Design.NUM_BUSINESS_CLASS) | ||||||||||
| add_aviary_option(self, Aircraft.CrewPayload.Design.NUM_FIRST_CLASS) | ||||||||||
| add_aviary_option(self, Aircraft.CrewPayload.Design.NUM_TOURIST_CLASS) | ||||||||||
|
|
||||||||||
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.