Replies: 7 comments 8 replies
-
Dear @jsalesphi, When enabling the super controller, you must also use an updated individual controller that is compatible with the super controller. This is provided in the DISCON_SC.f90 / Best regards, |
Beta Was this translation helpful? Give feedback.
-
Dear @jjonkman , I was not using it previously, but even after replacing with the compatible individual controller, the problem remains, showing the same access violation message. I replaced the files: ---------------------- BLADED INTERFACE ---------------------------------------- [used only with Bladed Interface] ---------------------- BLADED INTERFACE ---------------------------------------- [used only with Bladed Interface] |
Beta Was this translation helpful? Give feedback.
-
Dear @jjonkman , Yes, even using the executable and DLLs from https://github.com/OpenFAST/openfast/releases the access violation message remains. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Dear @jjonkman, I resumed the attempts and using your SC_DLL.dll compilation I finally got it to run correctly. Thank you very much for your help, it will be fundamental for the progress of my research. Best regards. |
Beta Was this translation helpful? Give feedback.
-
Dear @jjonkman, How to use to_sc in multiple wind turbines to send parameters to the supercontroller? could you give me some example?thank you! Best regards. |
Beta Was this translation helpful? Give feedback.
-
Hello,@jjonkman https://github.com/OpenFAST/openfast/issues/2499, As mentioned earlier, I was able to create a 2.2 MW stand-alone model in OpenFAST (so far, the run has not detected an error) . And I use FAST. Farm to simulate a Wind Farm consisting of four 2.2 MW WTs. I used FAST. Farm's |
Beta Was this translation helpful? Give feedback.
-
Hello, @jjonkman |
Beta Was this translation helpful? Give feedback.
-
I'm trying to run FAST.Farm using the supercontroller, but it always gives me the same result below:
FAST.Farm
Copyright (C) 2023 National Renewable Energy Laboratory
Copyright (C) 2023 Envision Energy USA LTD
This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.
FAST.Farm-Unversioned from 1870408
Compile Info:
Execution Info:
Heading of the FAST.Farm input file:
FAST.Farm input file, using two turbines separated by 3D downstream and an offset of 30m, with
a turbulent inflow given by one turbsim box
Running AWAE.
Running InflowWind.
Reading a 101x35 grid (1000 m wide, 5 m to 345 m above ground) with a characteristic wind
speed of 9.243 m/s. This full-field file was generated by TurbSim (from
OpenFAST-v3.0.0-98-g7bde6b54) on 14-Sep-2021 at 11:37:08.
Processed 2000 time steps of 10-Hz full-field data (period of 200 seconds).
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
Maybe I'm not doing the right steps to run correctly.
1-Initially I compile the .sln files from the \vs-build directory.
2-After that, I update the useSC flag of the FAST.Farm.fstf file to "True" which is found in the path \openfast-3.4.1\reg_tests\r-test\glue-codes\fast-farm\TSinflow.
3-I add the SC_DLL.dll file path in SC_FileName.
4-Finally, I update YCMode to number 5 in NRELOffshrBsline5MW_Onshore_ServoDyn_WT1.dat and NRELOffshrBsline5MW_Onshore_ServoDyn_WT2.dat.
After these changes to the input files, start FAST.Farm at the prompt as follows
C:\openfast-3.4.1\openfast-3.4.1\build\bin>FAST.Farm_x64_Debug.exe C:\openfast-3.4.1\openfast-3.4.1\reg_tests\r-test\glue-codes\fast-farm \TSinflow\FAST.Farm.fstf
Am I doing something incorrect? Or are there additional steps that I'm not doing?
I'm very grateful if anyone who has managed to use the supercontroller properly can help me, because I've been doing this for a long time without success.
Note: Without the supercontroller FAST.Farm runs perfectly.
Beta Was this translation helpful? Give feedback.
All reactions