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

Establish tests and clarify naming #24

Merged
merged 19 commits into from
Dec 21, 2023

Conversation

misi9170
Copy link
Collaborator

This pull requests implements tests for the InterfaceBase and ControllerBase classes as well as beginning to build out tests for the other Interface and Controller objects.

In addition, verbiage regarding "setpoints" was changed to "controls" for generality, causing changes throughout the code. It is expected that this may cause some minor issues with the Hercules repository, which will be investigated before this is merged.

Addresses #11

@misi9170 misi9170 changed the base branch from main to develop December 21, 2023 22:30
@misi9170 misi9170 merged commit 98250d2 into NREL:develop Dec 21, 2023
3 checks passed
@misi9170 misi9170 deleted the enhancement/establish-tests branch December 21, 2023 22:58
This was referenced Dec 21, 2023
achenry pushed a commit to achenry/wind-hybrid-open-controller that referenced this pull request Apr 22, 2024
* Testing interface_base.

* Remove repeated class definition.

* renaming send_setpoints and compute_setpoints to send_controls and compute_controls, respectively, for generality.

* Move controller_base into controllers/ directory.

* Beginning to build out interface library tests.

* Updating to check_controls.

* setpoints -> controls for dicts.

* Test imports, methods implemented.

* Tests for HerculesADYawInterface.

* Explicit dictionary input.

* Simplified tests for HerculesWindBatteryInterface

* Ruff.

* Inheritance tests.

* Beginnings of controller library test.

* Improved developer installation instructions.

* Add note for future test for HerculesWindBatteryController.

* Ruff.

* Add zmq to requirements.

* Reverting some changes from setpoints to controls in the wind battery controlller/interface for current compatibility with Hercules.
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

1 participant