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

GreenHEART optimization interface #311

Merged
merged 27 commits into from
Apr 29, 2024

Conversation

jaredthomas68
Copy link
Collaborator

GreenHEART optimization interface

The pull request adds an optimization interface to GreenHEART. The interface allows optimization of a range of plant configurations (whatever greenheart can model). Adding new objectives, constraints, and design variables should be fairly straight forward. Note that the bulk of the optimization interface came from NREL's open source tool WISDEM.

Related issue

Impacted areas of the software

greenheart and tests

Additional supporting information

The optimization interface relies heavily on OpenMDAO

Test results, if applicable

@kbrunik kbrunik requested review from kbrunik and bayc April 24, 2024 16:17
greenheart/simulation/greenheart_simulation.py Outdated Show resolved Hide resolved
greenheart/simulation/greenheart_simulation.py Outdated Show resolved Hide resolved
greenheart/tools/eco/hopp_mgmt.py Show resolved Hide resolved
greenheart/tools/optimization/gc_PoseOptimization.py Outdated Show resolved Hide resolved
greenheart/tools/optimization/gc_PoseOptimization.py Outdated Show resolved Hide resolved
greenheart/tools/optimization/openmdao.py Show resolved Hide resolved
greenheart/tools/optimization/openmdao.py Show resolved Hide resolved
greenheart/tools/optimization/openmdao.py Outdated Show resolved Hide resolved
tests/greenheart/test_openmdao.py Show resolved Hide resolved
@kbrunik
Copy link
Collaborator

kbrunik commented Apr 26, 2024

It would be good to run black to autoformat the files in this PR

@jaredthomas68
Copy link
Collaborator Author

It would be good to run black to autoformat the files in this PR

I think this should wait as well. I tried running black I there are some things I really don't like that it is doing. I think it is just a settings thing. Let's get this PR in and the next one and then try the reformatting.

@jaredthomas68 jaredthomas68 merged commit 95b1738 into NREL:greensteel-eco-sync Apr 29, 2024
4 checks passed
@jaredthomas68 jaredthomas68 deleted the run_optimization branch April 29, 2024 16:20
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.

None yet

2 participants