-
Notifications
You must be signed in to change notification settings - Fork 68
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
Off design payload #602
Off design payload #602
Conversation
…ti_mission_opt
…passed in problem
…d to sweep a design variable. added SNOPT option. Faster convergance with SLSQP but SNOPT returns the same answer
…tion method of user input suggested by jason
…o multi_mission_opt
…oved exit from multimission
…ss from multi_mission example because not useful outputs.
… for multimission docs
… default, updated warning messages.
…tests do not successfully set these
…iary into off_des_payload
It looks like
This large string of connections, and the resulting impact on Caution would need to be taken when importing GASP and FLOPS files if this change were implemented as the historical names which can be viewed in variable_meta_data.py for these values (i.e. |
I confirmed with @crecine that the current variable: Aircraft.CrewPayload.CARGO_MASS is implemented as a maximum cargo parameter, and this mass is NOT added to the aircraft gross mass for mission analysis. This copies one type of GASP analysis. I plan to:
@crecine / @ehariton - what're your thoughts on this approach? |
Make sure that you have
I don't think you need to check that CARGO_MASS is less than Design.CARGO_MASS, I think it would be better to check that CARGO_MASS + PASSENGER_MASS is less than Design.CARGO_MASS + Design.PASSENGER_MASS, since it is possible to offload passengers in order to load more cargo |
PR #623 created to replace this one. Comments copied to the description of that PR |
Summary
This PR builds on PR #529 and corrects a bug where changes to payload for off design missions incorrectly impacts the design of the aircraft in pre-mission for GASP based missions.
This is in draft status because #529 must be merged first.
There was discussion as to whether Aircraft.CrewPayload.CARGO_MASS should be split into Aircraft.CrewPayload.Design.CARGO_MASS and an 'as-flown' cargo mass. I'd like to discuss this further with Carl to check if this functionality is available in GASP before we change how aviary treats it.
Currently aviary only treats Aircraft.CrewPayload.CARGO_MASS as part of the design of the aircraft, and does not apply any of this mass to the gross mass of the aircraft when the mission is actually flown. If this is desired functionality then renaming this to 'Aircraft.CrewPayload.Design.CARGO_MASS' would seem sensible, but because this mass is not added to the aircraft for flight it would be different to the design passenger numbers (where that number of passengers is actually flown on the aircraft for that mission).
Related Issues
N/A
Backwards incompatibilities
None
New Dependencies
None