Dear Dr. Jonkman
Thank you for your reply.
1 I’m not familiar with matlabtoolbox, I search the readme.md from(GitHub - OpenFAST/matlab-toolbox: Collection of Matlab tools developed for use with OpenFAST). The three command require OpenFAST 2.3. Maybe only these commands shown requires OpenFAST 2.3?
Campbell/examples/runCampbell.m
Campbell/examples/runCampbell_Trim.m
Campbell/examples/runCampbell_Trim.m
This script requires OpenFAST 2.3 dev (August 2020).
2 Another question is that the formats of linearization file generated from OpenFAST 3.5.1 is different to that of Test01.lin file provided by CertTest as shown below. And also the GetMats command from MBC fails to read both linearization file. (I’m not familiar with matlabtoolbox, did I use the wrong command to extract mooring stiffness matrix?)
Part from Test01.lin ( Line 8 ~ Line 15)
Some Useful Information:
Type of steady state solution found Trimmed collective blade pitch (TrimCase = 3)
Azimuth-average rotor speed, RotSpeed (rad/s) 4.36681E+00
Period of steady state solution (sec) 1.43885E+00
Iterations needed to find steady state solution 34
Displacement 2-norm of steady state solution (rad) 1.86006E-05
Velocity 2-norm of steady state solution (rad/s) 1.02082E-04
Part form .lin file from OpenFAST 3.5.1 (Line 7~Line 17)
Simulation information:
Simulation time: 0.0000 s
Rotor Speed: 0.0000 rad/s
Azimuth: 0.0000 rad
Wind Speed: 0.0000 m/s
Number of continuous states: 28
Number of discrete states: 0
Number of constraint states: 0
Number of inputs: 7
Number of outputs: 154
Jacobians included in this file? No
3 Now I obtain the map.lin file from OpenFAST. Must I install welib to extract mooring stiffness matrix from map.lin file with reference to this article?( How to output ptfmFx/Fy/Fz/Mx/My/Mz - Wind & Water / Structural Analysis - NREL Forum)
Or is there a command provided in matlabtoolbox to achieve the matrix extraction purpose?
4 The last question is that should I reset the coordinates of fix point and vessel point (in MAP.dat) when I change the reference point (PtfmRefzt) of ElastoDyn.dat? For example, PtfmRefzt = -70 means depth of fix point and vessel point need to be -250 and -70 if the water depth is 320m since doc from (Input File — MAP++ 1.15 documentation (map-plus-plus.readthedocs.io))
Global z coordinate if node is FIX or CONNECT [m].
Local z cooridinate relative to vessel if node is VESSEL [m].
1 fix 400 0 depth 0 0 # # #
2 connect #90 #0 #-80 0 0 0 0 0
3 vessel 20 20 -10 0 0 # # #
Best regards and thank you in advance,
Xing Tan