About TurbSim Input File.

Dear @Jundong.Wang,

The Python scripts are located here: python-toolbox/pyFAST/fastfarm at main · OpenFAST/python-toolbox · GitHub, as referenced in the Modeling Guidance section of the online FAST.Farm documentation: 4.2.15.6. Modeling Guidance — OpenFAST v3.3.0 documentation. But as I mentioned above, we have recently reviewed and improved these Python scripts and intend to upload an update soon.

Regarding (1), you shouldn’t need to use the writeTurbSimTimeSeriesInput.m script if you are using the python scripts. But I suppose this script would be useful if you are trying to write the equivalent in MATLAB. Regardless, input_file is the name of the user time series input file of TurbSim.

Regarding (2), data_file is just the name of the file where the data came from. The writeTurbSimTimeSeriesInput.m script only uses this filename to write to the user time series input file of TurbSim.

Regarding (3), nPoints is the number of points where the user-defined time series are known apriori and RefPtID is the specific point that will be used to correlate to for the simulated points. For generating the high-resolution domain for FAST.Farm, the known time series is taken as the time series of wind from the low-resolution domain at the hub of a given wind turbine in the farm (based on the location and hub height of that turbine). We’ve used nPoints = RefPtID = 1 for each high-resolution domain file.

Best regards,

Dear @Jason.Jonkman

Thanks for your help. I plan to try to use the MATLAB script first.
I have another question when I use it, it seems a function called FitCohFun is missing.

                [~, ~, ~, c2(:,i), ~, ~] = FitCohFun(f(1:nfft_fit), Cxy(1:nfft_fit,i), Dist, avgU);

It is on line 68 of the file (InertialData_to_Coherence. m, which could be found in https://github.com/bjonkman/matlab-tools/tree/master/TurbSim). Perhaps you or someone else can provide this file?

Best regards,

Dear @Jundong.Wang,

A similar question was asked and answered here: User time series - Turbsim Alpha.

Best regards,

Dear @Jason.Jonkman

Oh, I got it! Thank you.

Best regards,