-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libdiscon.dylib for the IEA15MW UMaine Semi-Sub Model #67
Comments
Hello Qusay, There is a mac-compiled version of ROSCO associated with our pending updates in the development branch: See the Release Notes in that branch for further description of changes there. Cheers, |
Thanks for your reply! I used the *.dylib file on the UMaine, and I got the following error! Regards, forrtl: No such file or directory |
@dzalkind does this look familiar to you? |
It looks like ROSCO isn't finding the DISCON.IN file, and it's looking for it here: /Users/qusayhawari/Downloads/openfast_IEA_15MW/IEA-15-240-RWT-UMaineSemi/./DISCON-UMaineSemi.IN Is this a valid file path? |
Hi, Yes, my bad! Through the past week I have been trying to obtain the linearized state matrices for the UMaine 15MW model without success! The closest I got was I generated a .lin file, but the simulation stops "normally" on the first DT when I set NLinTimes = 1. When I set NLinTimes >1 I get a FATAL error due to a low TSR. Dr. Jason recommended to go back a step, and check the simulation without using the linearization feature with including the controller. So I did that. The simulation ran in full (10s), but gave the same error of a low TSR. DT: 0.025s WindType:1 PCMode:5 A blade pitch initial condition of 9.5 deg, and a rotor speed initial condition of 5rpm. The rest are 0. Lastly, the simulation crashes if I include DOFs other than GenDOF and DrTrDOF. The following OpenFAST message was using a run for those DOFs only. Thanks in AdvanceOpenFAST input file heading: Running ElastoDyn. Using SS_Excitation Module, with 36 excitation states Using SS_Radiation Module, with 60 of 60 radiation states MAP++ (Mooring Analysis Program++) Ver. 1.20.10 Jun-26-2021 Line run-time options definitions Model option definitions MAP++ Copyright (C) 2014 and Apache'd by Marco Masciola and others MAP++ is free software; see the source for copying conditions. MAP++ environment properties (set externally)... FAST_Solution0:CalcOutputs_And_SolveForInputs:SolveOption2:SrvD_CalcOutput:DLL_controller_call:Running a controller implemented through NREL's ROSCO Toolbox
|
Are you sure you haven't made any other changes to the input files? It also helps to plot the outputs |
Hi, Other than updating the input files to OpenFAST v3.0 (because the files on github are for v2.4) I haven't done any further changes. I will double check and let you know, and if there's a repository that contains the input files for the UMaine for v3.0 that would be helpful. Regards, |
If you consistently use the files in the develop branch, those should be consistent with the latest OpenFAST |
Hi, I just realized the dev input files existed. Thanks for the clarification :) I ran a 10 second simulation (no linearization),and it worked as seen below in run A(using steady input wind at 15m/s). I also checked if I can get the linearized state mats, so I did the appropriate changes as recommended from the prompt. I had to change the MoorDyn file to be the same as the MAP++ in order to linearize. I received the following error when I ran the model. I have attached the .fst file I used for you to look at if you can. Thanks in advance, -----------------RUN A---------------- Generator speed: 7.3 RPM, Pitch angle: 12.9 deg, Power: 13478.5 kW, Est. wind Speed: 15.1 m/s OpenFAST terminated normally. ------------Linearization Run----------- Backtrace for this error: |
Seg faults in openfast might be better addressed in that repository. Be sure to include all the input files and compiler info and packaging up your example helps with debugging a lot. I made a few changes to the inputs in a branch over here and I'm not getting seg faults with linearizations. Maybe try this first? |
Hi, Thanks for the changes you did! I applied said changes to the input file, and I got this error coming from Aerdyn15: FAST_InitializeAll:AD_Init:ValidateInputData:When AFAeroMod=2, UAMod must be 4 for linearization. OpenFAST encountered an error during module initialization. They were set to 1, and 3 for AFAeroMod and UAMod respectively. I changed AFAeroMod=2 and UAMod=4, but got the same exact error. Thanks in advance, |
Are you sure you're pointing to the correct AeroDyn file? It should work fine when AFAeroMod = 1. Your error message makes me think that the value that openfast sees is the same. |
Hi, The previous error I sent through is now gone after I cloned the exact input files that you updated. Talking about linearization only, I think my problem is with the ServoDyn file on lines 28-31. I did several runs by changing those settings and the summary is below. All simulations where run for TMax = 1000s, DT = 0.02s, NlinTimes = 2, and LinTimes at 500s, 1000s. When: 7.56 VS_RtGnSp Simulation crashes with the following message : VS_RtTq.
|
Hi @QusayHawari, It looks like there are a few things going on here:
I pushed all of these changes to this branch. In the coming days, we can work on PR to more easily set up linearizations of this model from the default configuration. I hope this helps. Best, Dan |
Hi, I changed the mass and inertia definitions in the ServoDyn as you did, and reduced the TrimGain to 0.0001 with a DT of 0.01s. The linearization is working well, and OpenFAST terminates normally :) The only issue is that linearizations takes place at random times that don't agree with LinTimes in .fst, but generates the correct number of linearizations as defined in NlinTimes. Thanks for your help, it was much appreciated, |
If |
Ah, I see. Working perfectly now. Thanks! |
Hi, I am not sure what went wrong in the simulation, but now linearization does not reach a steady state solution. Simulation runs in full. I didn't change anything in the recent update from the linearize branch, except adding Beamdyn.dat file in the .fst. I set CalcSteady to true, TMax to 2000s, DT to 0.01s, and steady wind of 15m/s. FAST_Solution:FAST_AdvanceStates:ED_ABM4:ED_CalcContStateDeriv:SetCoordSy:Small angle assumption Time: 10 of 2000 seconds. Estimated final completion at 19:54:40. Time: 20 of 2000 seconds. Estimated final completion at 19:55:03. OpenFAST encountered an error at simulation time 2000 of 2000 seconds. Aborting OpenFAST. My guess is that initial conditions should be close to the steady state value at the input wind speed. Thanks in Advance, |
Are you using BeamDyn in the simulation? It helps to look at the OpenFAST outputs and see if there is convergence to steady-state. If it's close enough, you can try different @ptrbortolotti, have you linearized this model with BeamDyn (and I'm assuming blade DOFs) on? If so, are 2000 seconds enough for convergence, and what value for |
Hi, I checked from the output file that results converge to a final value. I reduced TrimTol to 0.01, but linearization still doesn't reach a steady state solution. I also tried using Beamdyn_c2.dat instead, but the same happened. I am not sure what't the problem as a earlier, a steady state solution was reached using Beamdyn.dat, TrimTol of 0.001. The steady state solution was reached at around 150s. Regards, |
Hi, Thanks for your recommendation about increasing TrimTol. The simulations runs well now using a tolerance of 0.015. Under CalcSteady = T, the first steady state solution took place after 4800s. This high time has to do with the low TrimGain of 0.0001 I am using. I performed frequency response analysis on the linearized state space models, and I got the following: The Bode represents:
My question is that shouldn't all responses be identical or closely related to one another since steady state is reached, and the same wind is applied. I also tried running a 7000s simulation without using CalcSteady, and linearized the model well into it's steady state condition at 5000s,5500s,6500s,and 7000s but the linearized Bodes are still different. The other question is that the frequency response is not found if I plot the Bode from the commanded collective pitch to the output rotor speed. I have also tried the individual pitch angles, but nothing was shown. Another thing I have checked was the time response of the platform pitch. The natural frequency for the platform pitch (IEA15MW UMaine ActiveFloat/Semi-sub) is around 0.03Hz. From the .out file, I plotted the pitch, and it looks like the frequency is a little lower (around 0.01Hz). Thanks in Advance. |
Hi @QusayHawari |
Hi,
I am working on MACOS, and wanted to ask if there's a libdiscon.dylib 64-bit for the semi-sub model available, or do I have to generate it myself via cmake?
Thanks in Advance,
Qusay
The text was updated successfully, but these errors were encountered: