Fuselage layout enhancement and modification#1205
Conversation
…ECONOMY. Fixed a bug DetailedCabinLayout. Added business class to DetailedCabinLayout
…ECONOMY. added Aircraft.Fuselage.SEAT_WIDTH_BUSINESS and Aircraft.Fuselage.SEAT_WIDTH_FIRST. removed LEAPS1.
…ge.SEAT_WIDTH_FIRST
…fect fuselage layout
…t is used for transporter aircraft using FLOPS based geometry.
| else: | ||
| if design_type == AircraftTypes.BLENDED_WING_BODY: | ||
| if verbosity >= Verbosity.BRIEF: | ||
| raise UserWarning('Aircraft.Fuselage.SEAT_WIDTH_ECONOMY is not set.') |
There was a problem hiding this comment.
Does it default? If so we should let the user know what value it defaulted to.
There was a problem hiding this comment.
GASP does not have a default value. This will throw an error message. Maybe, we can take the FLOPS default (20 inches)? @cmbenne3
There was a problem hiding this comment.
I think this is either:
- a required input (in which case we should error if it is not set, regardless of verbosity).
- an input which is defaulted if not set (In this case we should tell the user that we are setting it for them. I would use the FLOPS default if GASP doesn't have one.)
I think I prefer option 2.
jkirk5
left a comment
There was a problem hiding this comment.
Some additional comments, full review WIP
| if design_type == AircraftTypes.BLENDED_WING_BODY: | ||
| if verbosity >= Verbosity.BRIEF: | ||
| raise UserWarning('Aircraft.Fuselage.SEAT_WIDTH_ECONOMY is not set.') |
There was a problem hiding this comment.
As far as I can tell there isn't a reason to raise an error if this variable is missing, I don't think we need these lines
There was a problem hiding this comment.
GASP does not have a default value. It we read from a GASP input file, we may set Aircraft.Fuselage.SEAT_WIDTH_ECONOMY and will be set to 0.0. Are you sure we don't need this line?
Summary
For FLOPS based geometry, business seats are added to transporter aircraft. For GASP based geometry, business class seats are added to BWB aircraft. In both cases, users can set:
For FLOPS based models, there will be differences of fuselage layout if business class seats are included for transporter aircraft because FLOPS does not consider business seats in its layout algorithm. This message is added to the top of output .csv file.
GASP based geometry does not have a detailed layout for transporter aircraft. We do not add this feature in this PR.
Related Issues
Backwards incompatibilities
None
New Dependencies
None