-
Notifications
You must be signed in to change notification settings - Fork 102
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
Errors in example06.py and example13.py #216
Comments
Hi, Our file writers for OpenFAST are compatible with version 3.3.0. You can download that version of OpenFAST and example_06 should work. I'm not sure about the numpy issue. What version of numpy do you have installed? Dan |
Oh, if you're using the |
I was editing my original issue with the NumPy version just as you wrote the response, sorry about forgetting that! Attaching my entire enviroment.yml just in case, deprecated the version of NumPy: name: openFast
channels:
- conda-forge
dependencies:
- python=3.10.6
- dash=2.7.1
- dash-bootstrap-components=1.3.0
- pandas=1.5.2
- scipy=1.10.0
- numpy=1.23.*
- pip
- sympy=1.11.1
- matplotlib=3.6.2
- ROSCO
- mpi4py
- wisdem
- simpy
- pip:
- -e git+https://github.com/OpenFAST/python-toolbox.git#egg=pyFAST
- dash-bootstrap-templates==1.0.7
- git+https://github.com/NREL/ROSCO
- dearpygui
- ruamel.yaml
- marmot-agents Now in example_06.py I get this error. Which seems related to #199 from a quick view.
Example_13.py also outputs an error:
Thanks for the response! Will try to use Openfast 3.2.0 now. If not I'll use the develop branch. |
Version 3.2.0 seems to work with The problem in
Now, I have
Sorry if these errors are simple to correct, but I'm just blind here, I've checked the routes, FLP_mode seems to be correct in |
It looks like the ROSCO library you are using is looking for Flp_Mode on line 19 and it is not there. You may be using a DISCON that is not compatible. The DISCON input is set in ServoDyn. |
Thank you! Compiling my own and not using anaconda works on Ubuntu WSL2 now! I still have errors on Windows pointing the library though (I have problems compiling it on my own, maybe I'll open another issue). For anyone who goes through my problems, using
This is my environment file, there is unrelated stuff beware, but just in case: name: openFast
channels:
- conda-forge
dependencies:
- python=3.10.6
- openfast=3.2.0
- dash=2.7.1
- dash-bootstrap-components=1.3.0
- numpy=1.23.*
- pandas=1.5.2
- scipy=1.10.0
- pip
- sympy=1.11.1
- matplotlib=3.6.2
- mpi4py
- wisdem
- simpy
- compilers
- cmake
- pip:
- -e git+https://github.com/OpenFAST/python-toolbox.git#egg=pyFAST
- dash-bootstrap-templates==1.0.7
- git+https://github.com/NREL/ROSCO
- dearpygui
- ruamel.yaml
- marmot-agents |
Hello, everyone. After I installed ROSCO according to the process in the manual, some problems occurred during operation. Since I'm new to this, I'd like to hear your suggestions or tips. Thank you very much.
conda config --add channels conda-forge conda create -y --name rosco-env python=3.8 conda activate rosco-env 2、Clone and Install the ROSCO toolbox with ROSCO conda install -c anaconda git git clone GitHub - NREL/ROSCO: A Reference Open Source Controller for Wind Turbines cd ROSCO conda install -c anaconda cmake conda install m2w64-toolchain libpython conda install -y wisdem conda env config vars set FC=gfortran conda activate rosco-env python setup.py install --compile-rosco |
The keyword |
I can't understand the OpenFAST error message, but if I understand your translation correctly, it can't find your ROSCO dll. Please compile it from source or download it from the release page. The ServoDyn input points to the DLL path, and it's set in the code of 12_tune_ipc.py. |
Your fix should work. A slightly easier solution might be to edit this line in runFAST. In an upcoming feature branch I have made it an attribute of |
(rosco2.8.0-env) PS C:\Users\PC\ROSCO\Examples> python 12_tune_ipc.py
|
Are there any notes about why OpenFAST failed in these runs? Have you updated the |
I tried to run on Windows and succeed,but it failed while running in anaconda powershell. Could you please help me by checking this simulation record? |
It looks like you are trying to use OpenFAST 3.5.0 with the ROSCO_Toolbox |
Dear dzalkind, PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're
and use the search bar at the top of the page._ I can't solve this problem. Could you please give me some guidance or advice? |
There is no conda installation for weis yet, and it should not be a dependency of ROSCO. ROSCO can use it when it's part of the WEIS toolset, but it does a check and should use ROSCO's version of the WEIS tools, called I would try with a fresh conda installation and with the installation instructions here: https://rosco.readthedocs.io/en/latest/source/install.html |
I recently had this error come up when I tried example 11. The pyFAST libraries (or WEIS) are required to use the mbc3 function in this example. I have updated the comments in 11_robust_tuning.py in #241 to make this clearer. |
Hello, I'm trying to run example06.py and example13.py, and I get these errors.
Edit: Additional information I forgot:
In example06.py it seems the model .fst has errors in that the buoyancy is not defined:
In example13.py it seems it is a numpy error:
I am a really new user in OpenFAST, so I don't know how to really solve the issue in example06.py.
The text was updated successfully, but these errors were encountered: