Skip to content

Python infrastructure improvements#2719

Merged
andrew-platt merged 12 commits into
OpenFAST:dev-cbindfrom
rafmudaf:python_upgrades
Apr 17, 2025
Merged

Python infrastructure improvements#2719
andrew-platt merged 12 commits into
OpenFAST:dev-cbindfrom
rafmudaf:python_upgrades

Conversation

@rafmudaf

@rafmudaf rafmudaf commented Apr 1, 2025

Copy link
Copy Markdown
Collaborator

Python infrastructure improvements

This pull request makes some changes to the Python infrastructure in OpenFAST. It includes #2680 from @faisal-bhuiyan (merged into another branch) which brought a major refactoring of aerodyn_inflow_library.py and some of the Python infrastructure in r-test. Additionally, I've consolidated the existing Python interfaces (aerodyn_inflow, inflow wind, hydrodyn, moordyn, fastlib) into a pip-installable package called OpynFAST 😜 .

While this pull request is relatively small in scope, it sets up additional changes to the Python infrastructure in the future. Currently, there is a ton of boilerplate Python code in the OpenFAST repository. In an effort to make what exist more reusable, I wanted to start migrating it into a pip-installable package that can be used like below instead of having to manually include a variety of paths:

from OpynFAST import fast

fast.init()
fast.sim()
fast.end()

The long term hope is that this package can evolve into a useful interface to drive OpenFAST modules. The scope here is distinct from openfast_io though closely related.

@rafmudaf

Copy link
Copy Markdown
Collaborator Author

@mayankchetan I've renamed the library to pyOpenFAST from OpynFAST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants