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

Fixed bug where TRA_LastRefSpd was set to a generator speed not the L… #381

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

BenClaytonARUP
Copy link

…SS speed

Description and Purpose

Hi. I believe I have found a bug in the RefSpeedExclusion subroutine. When FA_Hist is zero, currently VS_RefSpd_TRA is set to VS_RefSpd, which is based on the generator speed. I believe it should be set to VS_RefSpeed_LSS, which is based on the rotor speed.

Type of change

What types of change is it?
Select the appropriate type(s) that describe this PR

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

TODO Items General:

  • Add example/test for new feature
  • Update registry
  • Run testing

TODO Items API Change:

  • Update docs with API change
  • Run update_rosco_discons.py in Test_Cases/
  • Update DISCON schema

Github issues addressed, if one exists

Examples/Testing, if applicable

@dzalkind
Copy link
Collaborator

dzalkind commented Oct 3, 2024

I think this is the correct fix, thanks!

@dzalkind dzalkind changed the base branch from main to vbf October 3, 2024 14:34
@dzalkind dzalkind merged commit 4486d7a into NREL:vbf Oct 3, 2024
22 of 30 checks passed
dzalkind added a commit that referenced this pull request Oct 11, 2024
* Update .readthedocs.yaml

* Docs: Fix small bug in docs that caused errors with links

* Start using automatic documentation for examples (#371)

* Added autodocumentation template for all examples

* Check for IPC openfast flag when using AWC

* Fix GB and gen efficiencies
GB efficiency reduces LSS to HSS
GEN reduces HSS to generator electrical output
We apply the GenTq at the HSS

* Allow updating of Ind_BldPitch from int to array

* Add a note about building docs

* Fix global variables in Example 17a and 17b

* Try numpy<2.0

* Fixed bug where TRA_LastRefSpd was set to a generator speed not the LSS speed (#381)

* Check for Ind_BldPitch in original_vt

---------

Co-authored-by: AbhineetGupta <abhineet.gupta@nrel.gov>
Co-authored-by: Ben Clayton <55184924+BenClaytonARUP@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.

2 participants