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

high_bypass_turbofan example SolverWarning - bounds violation #78

Open
flight-test-engineering opened this issue Jan 7, 2025 · 0 comments · May be fixed by #80
Open

high_bypass_turbofan example SolverWarning - bounds violation #78

flight-test-engineering opened this issue Jan 7, 2025 · 0 comments · May be fixed by #80

Comments

@flight-test-engineering
Copy link

When running (in Jupyterlab) the high_bypass_turbofan.py example, I am getting a few SolverWarning(s) like this one below.

[...](.../usr/local/lib/python3.12/site-packages/openmdao/solvers/solver.py#line=781): SolverWarning:Your model has stalled three times and may be violating the bounds. In the future, turn on print_bound_enforce in your solver options here: 
OD_part_pwr.inlet.out_stat.base_thermo.chem_eq.nonlinear_solver.linesearch.options['print_bound_enforce']=True. 
The bound(s) being violated now are:

[...](.../usr/local/lib/python3.12/site-packages/openmdao/solvers/linesearch/backtracking.py#line=38): SolverWarning:'OD_part_pwr.inlet.out_stat.base_thermo.chem_eq.n' exceeds lower bounds
  Val: [ 3.23319235e-04 -3.12735719e-08  1.10444969e-05 -5.37642162e-08
 -8.84034290e-09 -3.31331533e-09 -9.28796959e-09  2.69579225e-02
 -2.69167841e-08  7.23201312e-03]
  Lower: [1.e-10 1.e-10 1.e-10 1.e-10 1.e-10 1.e-10 1.e-10 1.e-10 1.e-10 1.e-10]
flight-test-engineering added a commit to flight-test-engineering/pyCycle that referenced this issue Jan 7, 2025
Proposed fix for [issue OpenMDAO#78](OpenMDAO#78)

SolverWarning can be avoided by having off-design points that are closer together (in terms of Mach and Altitude for this case).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant