OpenFAST / openfast

Main repository for the NREL-supported OpenFAST whole-turbine and FAST.Farm wind farm simulation codes.
http://openfast.readthedocs.io
Apache License 2.0
681 stars 456 forks source link

MLife Questions #2029

Open LIUYUXIN-SA opened 8 months ago

LIUYUXIN-SA commented 8 months ago

Discussed in https://github.com/OpenFAST/openfast/discussions/1691

Originally posted by **lt72884** July 19, 2023 I have now completed the tasks of creating a turbsim.bts file that works. I have tested the .bts file in my 5MW_LAND_DLL_WTURB.fst and it works great. Thank you so much for all the help. I am very grateful. Now that i have the one outb file and can view it in matlab and produce the plots. I would like to use MLife next for fatigue I have installed Mlife and i have the documentation. What do i need to do specifically in Mlife to have it read the .outb file and calculate the fatigue and cycles to failure. 1. Do i need to have any of the mlife files in the 5MW_LAND_DLL_WTRUB folder? 2.Do i need to edit any files and if so, what are the file extension endings fo those files? 3. What code command do i need to run in matlab to use mlife and calculate values? 4. Once values are calculated, how do i view them? 5. Is there by chance a video or teams meeting or demonstration on Mlife that could help me? thanks for all the help thus far. It is really appreciated.
jjonkman commented 8 months ago

Dear @LIUYUXIN-SA,

It seems like you post the same questions form #1691. I would say that these questions were already answered in that Discussion. The MLife user and theory documentation are your best source of information.

Best regards,

LIUYUXIN-SA commented 8 months ago

When I run mlife, I always get the following error, I want to ask if the matlab version and the function version are not compatible (I use Matlab2020b), what version should I use to open or solve the problem? 错误使用 rainflow 输入参数太多。出错

jjonkman commented 8 months ago

Dear @LIUYUXIN-SA,

I translated this to English and it translates to:

Error using rainflow with too many input parameters. Error

I've not seen this error before and not sure what the problem is. Given that NREL has no active development of MLife, I'm not sure what to suggest other than to spend some time debugging it yourself.

Best regards,

SimonLee-ZH commented 7 months ago

这个问题有解决办法了吗?