Skip to content
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

Options for propulsion model #376

Open
vinx012 opened this issue Jul 29, 2021 · 2 comments
Open

Options for propulsion model #376

vinx012 opened this issue Jul 29, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@vinx012
Copy link

vinx012 commented Jul 29, 2021

Hello,

Is there a way to pass a variable from the configuration file to the propulsion module? Just to be more specific, imagine I want to pass the "bypass_ratio" variable of the "RubberEngine" class as an option of the perfomance module. Is this possible?

In my case I have a variable that triggers the choice of the fidelity level of the propeller model to be used in my turboprop_engine class. I'd like this variable to be an option in the configuration file.

Thanks,
Vincenzo

@vinx012 vinx012 added the enhancement New feature or request label Jul 29, 2021
@christophe-david
Copy link
Contributor

Hello,

indeed, the mechanism of propulsion wrapper does not allow to pass options from configuration file, unlike the standard modules. That would be a nice feature to add, I guess.
In the meantime, the workaround is to do the choice at compute() time, on the basis of variable values, but I understand it may be not satisfactory.

@vinx012
Copy link
Author

vinx012 commented Jul 29, 2021

That is the workaround I've been using but I think being able to do it from the configuration file would make much more sense. I've tried to find a solution, but I couldn't find a nice and proper way to do it.

@christophe-david christophe-david self-assigned this Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants