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

Check the interpolators and use more efficient versions where applicable. #37

Merged
merged 10 commits into from
Jan 22, 2024

Conversation

Kenneth-T-Moore
Copy link
Member

Summary

  1. Replaced a few interpolation methods with faster ones.
  2. Adjusted the values on one of the swap benchmarks that was failing.
  3. Added an upper bound on mass throughout the detailed takeoff phases so that IPOPT would perform better (and not hang.)

Related Issues

Backwards incompatibilities

This PR requires the following PR in OpenMDAO, which fixes a bug in the 2D-slinear interpolation:

OpenMDAO/OpenMDAO#3094

New Dependencies

None

@Kenneth-T-Moore
Copy link
Member Author

Should I just switch all of our workflows over to use the OpenMDAO dev branch, once my fix there is merged? It will be a while before the next release.

@johnjasa
Copy link
Member

johnjasa commented Jan 8, 2024

Should I just switch all of our workflows over to use the OpenMDAO dev branch, once my fix there is merged? It will be a while before the next release.

I think this is worth discussing in the Aviary dev meeting.
I believe we don't want to require OpenMDAO dev because we want users to be able to pip install openmdao to use Aviary.
We may need to start to follow a policy of releasing Aviary soon after OM releases and allowing Aviary dev to depend on OM dev.

@johnjasa johnjasa assigned johnjasa and unassigned johnjasa Jan 9, 2024
@johnjasa johnjasa self-requested a review January 9, 2024 19:51
Copy link
Member

@johnjasa johnjasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting a hold on this until the pypi release

@@ -55,6 +55,16 @@ jobs:
auto-update-conda: true
python-version: ${{ matrix.PY }}

- name: Install OpenMDAO Dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filename: test_workflow_no_dev_install.yml
test name: Install OpenMDAO Dev

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, with this PR, we can't run anything without dev. My choices would be to remove this workflow, or just have it load "dev" until the next release, and then remove that task to go back to a no-dev run. I went with the latter.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just pointing out the irony, not requesting changes

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the pypi release, can these be changed back from dev?

@crecine crecine added this pull request to the merge queue Jan 22, 2024
Merged via the queue into OpenMDAO:main with commit e111ea9 Jan 22, 2024
6 checks passed
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 this pull request may close these issues.

Interpolation Check (Legacy 54)
3 participants