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

class Turbine()——genetate_rotperf_fast():from pCrunch import Processing #402

Open
WANG-KUI-TJU opened this issue Dec 11, 2024 · 3 comments

Comments

@WANG-KUI-TJU
Copy link

WANG-KUI-TJU commented Dec 11, 2024

Desired use case

I am modifying the blade design and using '02_ccblade.py' to calculate the blade's Cp coefficient. However, since ccblade does not account for blade deformation, I decided to use the generate_rotperf_fast() method from the Turbine class for calculations. But I found that this method references Processing from pCrunch. After downloading pCrunch, I noticed that 'Processing' is not present in its __init__.py
pCrunch.git

Description

Code versions

  • Python 3.10
  • ROSCO 2.90
@dzalkind
Copy link
Collaborator

Hi,

The method you're referencing is not tested in the normal ROSCO examples, so it may have fallen outside of our support.

It's likely you will be able to make the fixes before we can support this part of the code. Here is a template in pCrunch that you might be able to follow to do the requisite post processing of the OpenFAST runs: https://github.com/NREL/pCrunch/blob/master/examples/post_BatchRun.py

If you develop a solution, we would be glad to support it with an example/test. I'll keep this open until we either support this part of the Turbine class or remove it.

Thanks for bringing this to our attention.

Best, Dan

@WANG-KUI-TJU
Copy link
Author

Thank you for your reply!
I have checked pCrunch different version,modules Processing first came in version 0.1.0,which is not supported now. Since my recent work has been focused on solving engineering problems, I might not have time to fix this issue. I'm currently facing an engineering challenge: the wind turbine manufacturers only provide thrust curves, power curves, and some basic mass inertia parameters. I need to use these parameters (outputs) to infer a series of input parameters in order to apply these turbine parameters to the design of the floating structure. I'm currently doing this by modifying publicly available reference turbines, such as the IEA-15MW. If you have any suggestions, that would be great.Once I successfully complete the project, I will work on optimizing my workflow and improving automation efficiency. At that point, I hope I can contribute to the code.

@dzalkind
Copy link
Collaborator

At NREL, we typically do an inverse design using WISDEM to solve the challenge you shared.

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

No branches or pull requests

2 participants