fengguoFUAS / OpenFAST3.0_LidSim

OpenFAST 3.0 version from NREL, the SWE lidar simulation module is additionally added
Apache License 2.0
1 stars 4 forks source link

Collective pitch feedforward control #3

Open yisehakabreham opened 1 year ago

yisehakabreham commented 1 year ago

Hello,

I apprciate your work on Lidar-assisted control and I want to test some cases using the modified version of OpenFAST with the 4D wind evolution.

In your recent paper ("Evolution of lidar-assisted wind turbine control under various turbulence characteristics"), you used"wrapper DLL" for communicating the FFP from lidar data and the FB ROSOC DLL. However, these feedforward modules are not available in this github. Did you modify the ROSCO (ROSCO_discon_selfbuilt) source code to include it?

The simulation responses I am getting with the Lidar module and without the Lidar module are the same.

Thank you for your support. Yisehak A.

fengguoFUAS commented 1 year ago

Hi Yisehak,

I am glad that you are interested in this topic. I guess you mean this paper: https://wes.copernicus.org/preprints/wes-2022-62/#discussion. Actually, this paper is recently accepted and it is in this last step (format editing) before a final version could be published. You are right, to see the difference, you need to run the LAC package DLLs mentioned in this paper. All the open-source code (including the wrapper, LDP, FFP, and modified ROSCO) mentioned in this paper are now available by this repository: https://github.com/MSCA-LIKE/Baseline-Lidar-assisted-Controller.

In mid of this year, we will publish a tutorial paper on lidar-assisted control, after which we will upload some examples into this repository to provide more guide lines for LAC design.

BR Feng

yisehakabreham commented 1 year ago

Dear @fengguoFUAS

Thank you for uploading the LAC baseline package. Since there is no workflow or example files, I tried to run a case in the following procedure.

  1. make turbulent wind evolution with evoTurb for specific wind condition.
  2. match Lidar Trajectory in LDP_v1.IN as in the Lidar Simulator Input File.
  3. call WRAPPER.dll file in ServoDyn (OpenFAST) with WRAPPER.IN as input file. Classic OF calls discon.dll.
  4. run the case with OpenFAST_Lidar.exe simulator

But, the case keeps failing at inducing the Wrapper LAC with the following error... " DISCON: Error loading the sub DLLs by DISCON.dll: the DLL procedure LDP_v1.dll could not be loaded."

I tried the Release version with VS 2015, but shows the above error. And also compiled all LAC packages with VS 2019 + intel Fortran Compiler 2022 and VS 2022 + intel Fortran Compiler 2022. Both methods gave me the same error.

  1. Is there any problem with the workflow I followed?
  2. Or, are the LAC package require specific VS and compiler versions?

Thank you for your continuous support. Yisehak A.

fengguoFUAS commented 1 year ago

Hi Yisehak,

I think your workflow is correct. May you try to compile the modified ROSCO with VS compiler you have and then run the Wrapper.DLL calling only ROSCO?


From: yisehakabreham @.***> Sent: 16 January 2023 06:43:41 To: fengguoFUAS/OpenFAST3.0_LidSim Cc: Feng Guo; Mention Subject: Re: [fengguoFUAS/OpenFAST3.0_LidSim] Collective pitch feedforward control (Issue #3)

Dear @fengguoFUAShttps://github.com/fengguoFUAS

Thank you for uploading the LAC baseline package. Since there is no workflow or example files, I tried to run a case in the following procedure.

  1. make turbulent wind evolution with evoTurb for specific wind condition.
  2. match Lidar Trajectory in LDP_v1.IN as in the Lidar Simulator Input File.
  3. call WRAPPER.dll file in ServoDyn (OpenFAST) with WRAPPER.IN as input file. Classic OF calls discon.dll.
  4. run the case with OpenFAST_Lidar.exe simulator

But, the case keeps failing at inducing the Wrapper LAC with the following error... " DISCON: Error loading the sub DLLs by DISCON.dll: the DLL procedure LDP_v1.dll could not be loaded."

I tried the Release version with VS 2015, but shows the above error. And also compiled all LAC packages with VS 2019 + intel Fortran Compiler 2022 and VS 2022 + intel Fortran Compiler 2022. Both methods gave me the same error.

  1. Is there any problem with the workflow I followed?
  2. Or, are the LAC package require specific VS and compiler versions?

Thank you for your continuous support. Yisehak A. 4.

— Reply to this email directly, view it on GitHubhttps://github.com/fengguoFUAS/OpenFAST3.0_LidSim/issues/3#issuecomment-1383520830, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO5GN5TRCQCHRZZYEKXQGDDWSTNY3ANCNFSM6AAAAAAT2MISKY. You are receiving this because you were mentioned.Message ID: @.***>

yisehakabreham commented 1 year ago

Hi @fengguoFUAS ,

I am still unable to know the source of the error. I tried to compile all LAC package DLLs and the OpenFAST.exe in the same environment. I used the VS 2022 and the latest Fortran compiler.

The WRAPPER.dll is refusing to call any of the DLLs. The case can only run by directly linking OpenFAST with the modified ROSCO (ROSCO_v2d6). I originally thought the problem is related to the compiler version, but now I'm not seeing the link.

Do you have any suggestions in mind?

Thank you, Yisehak A.

yisehakabreham commented 1 year ago

Hi @fengguoFUAS,

The problem in reading the DLLs is SOLVED! I had given it a relative path to the LAC package folder, but I think it needs to be located in the same folder with the fast primary input file.

Thank you for your help. I hope you will guide me through other queries.

Yisehak A.