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 #259

Merged
merged 14 commits into from
Feb 15, 2024
Merged

Greenheart #259

merged 14 commits into from
Feb 15, 2024

Conversation

jaredthomas68
Copy link
Collaborator

Make a place for Greenheart

This pull requests creates a new repository for Greenheart and adds it as an additional package installed along side HOPP. The Greenheart directory currently contains a single script that contains a set of OpenMDAO components for doing with farm layout optimization with HOPP. The components are: a HOPP wrapper, a boundary constraint, a turbine spacing constraint, and a wrapper to the NREL's electrolyzer.py model.

Related issue

This pull request is related to #231 in that it prepares a path forward for removing the to_organize directory but does not resolve the issue.

Impacted areas of the software

HOPP/greenheart/
setup.py
tests/greenheart/
requirements.txt

Additional supporting information

In order for the tests to pass, I had to add OpenMDAO and electrolyzer.py as dependencies. The electrolyzer dependency is tied to a personal branch of the model that needs to get merged in. I will create a separate pull request for that branch on the proper repo and then I can update the dependency in HOPP.

Test results, if applicable

Passing.

@jaredthomas68 jaredthomas68 marked this pull request as ready for review February 14, 2024 00:16
@bayc bayc merged commit 3354063 into NREL:dev/refactor Feb 15, 2024
4 checks passed
bayc added a commit to jaredthomas68/HOPP that referenced this pull request Feb 15, 2024
* create place for greenheart

* boundary distance test correct

* add electrolyzer as dependency

* add electrolyzer as dependency

* add test for spacing component

* make openmdao a requirement

* include testing inputs

* get initial electrolyzer rating from input config dict

* create hopp structure for greenheart

* move hopp_tools_test.py to greenheart test directory

* include greenheart init files and additional test input files

---------

Co-authored-by: Chris Bay <12664940+bayc@users.noreply.github.com>
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