Clarification on Recommended Workflow for Heterogeneous Engines #837
Unanswered
OscarEspinosaBarcenas
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Hey Oscar, So, in pseudocode this is what the setup would look like once you've defined all your individual engine and full aircraft input sets: engine1 = EngineDeck(name, engine1_inputs) # setup engine 1
engine2 = EngineDeck(name, engine2_inputs) # setup engine 2
# define problem
prob = AviaryProblem()
prob.load_inputs(full_input_set, phase_info, engine_builders=[engine1, engine2])
prob.check_and_preprocess_inputs()
# and the rest of the level2 API calls |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Aviary Team,
I'm working on modeling an aircraft with two heterogeneous engines and I'm finding the integration process a bit confusing. I would be very grateful for some clarification on the recommended workflow.
Currently, my setup involves a main
AviaryValuesobject, which I'll callinputs, where I define a single propulsion system (and other non-propulsion aircraft data) in detail. It looks something like this:My goal is to replace this single-engine definition with two different engines, each with its own data deck. My understanding is that I need to:
av.EngineDeckobjects, one for each engine.av.preprocess_propulsion()with a list of these engine objects.prob.load_inputs()as before.My main point of confusion is how to properly create these
EngineDeckobjects and how they interact with my maininputsobject, which already contains values for a single engine.My specific questions are:
Given that my
inputsobject already defines one engine, what is the correct way to introduce two new, different engines? Do I need to create a separateAviaryValuesobject for each engine's configuration?For example, is this the correct approach?
AviaryValuesfor each engine to hold its unique data (like its deck file, mass, etc.).EngineDeckobjects using these dedicated options.preprocess_propulsion, passing in my maininputsobject.After running
preprocess_propulsion, is it still correct to useprob.load_inputs(inputs, phase_info, verbosity=verbosity)to load all the aircraft and phase data, or does using theEngineDeckobjects require a different approach for this step?Thank you for your time and for developing such a powerful and flexible tool. Any guidance you can provide on this workflow would be extremely helpful.
Best regards,
Oscar Espinosa
Beta Was this translation helpful? Give feedback.
All reactions