BasicDTUController issueshttps://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues2020-06-22T09:24:47Zhttps://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/43Compilation error on ubuntu2020-06-22T09:24:47ZNico W.Compilation error on ubuntuI tried compiling the Controller with gfortran 7 on a fresh ubuntu with
```
cd src
make FC=gfortran
```
and I receive an error about
```
misc_mod.f90:6:7:
use user_defined_types
1
Fatal Error: Can't open module file 'user_de...I tried compiling the Controller with gfortran 7 on a fresh ubuntu with
```
cd src
make FC=gfortran
```
and I receive an error about
```
misc_mod.f90:6:7:
use user_defined_types
1
Fatal Error: Can't open module file 'user_defined_types.mod' for reading at (1): No such file or directory
```
In fact, there is no user_defined_types.mod anywhere, just a .f90 file. I have no clue about fortran, can you provide help how to get it compiling?
Thanks! :)https://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/38test2020-09-02T15:02:08Zmadstesthttps://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/37Errors in Linux compilation2020-09-28T14:05:09ZJean-Baptiste Le DreffErrors in Linux compilationHi all,
I wanted to use the controller with a FAST model of the 10MW but I'm struggling to compile on Linux the version that I downloaded on 28/02/2019.
I had to modify a couple of files in the "dtu_we_controller" folder because of some...Hi all,
I wanted to use the controller with a FAST model of the 10MW but I'm struggling to compile on Linux the version that I downloaded on 28/02/2019.
I had to modify a couple of files in the "dtu_we_controller" folder because of some errors when I compiled (see the new files attached). And I could not get the git_version.inc file so for now I'm just using an empty file for now (which may be what is causing the errors afterwards I guess).
But now I am getting loads of error when the makefile tries to compile "flap_controller_cyclic_fcns.f90" (see below), and I'm not really sure how to solve them...I've had a look and I believe there is something wrong with the "if" loops in lines 142-145, but I'm not sure what all the "Unclassifiable statement" errors come from.
I don't know if anyone can be of help ?
Thanks,
Jean-Baptiste
Compiler message:
> make -C dtu_we_controller
> make[1]: Entering directory '/home/h27577/Documents/2-Projet_Offshore/1-Lot_Structure/10-Models_Database/5-DTU10MW/1-Controller/DownloadFromGIT190228/BasicDTUController-master/src/dtu_we_controller'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory '/home/h27577/Documents/2-Projet_Offshore/1-Lot_Structure/10-Models_Database/5-DTU10MW/1-Controller/DownloadFromGIT190228/BasicDTUController-master/src/dtu_we_controller'
> make -C dtu_we_controller_bladed
> make[1]: Entering directory '/home/h27577/Documents/2-Projet_Offshore/1-Lot_Structure/10-Models_Database/5-DTU10MW/1-Controller/DownloadFromGIT190228/BasicDTUController-master/src/dtu_we_controller_bladed'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory '/home/h27577/Documents/2-Projet_Offshore/1-Lot_Structure/10-Models_Database/5-DTU10MW/1-Controller/DownloadFromGIT190228/BasicDTUController-master/src/dtu_we_controller_bladed'
> make -C flap_controller_cyclic
> make[1]: Entering directory '/home/h27577/Documents/2-Projet_Offshore/1-Lot_Structure/10-Models_Database/5-DTU10MW/1-Controller/DownloadFromGIT190228/BasicDTUController-master/src/flap_controller_cyclic'
> gfortran -fPIC -c -O3 -I../dtu_we_controller flap_controller_cyclic_fcns.f90 -o flap_controller_cyclic_fcns.o
> flap_controller_cyclic_fcns.f90:114.2:
>
> PIDvar.outset1=0
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:115.2:
>
> PIDvar.outres1=0
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:116.2:
>
> PIDvar.error1=0
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:117.2:
>
> PIDvar.error1_old=0.0
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:118.2:
>
> PIDvar.outset1_old=0.0
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:119.2:
>
> PIDvar.outres1_old=0.0
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:122.20:
>
> if (stepno.gt.PIDvar.stepno1) then
> 1
> Error: Syntax error in IF-expression at (1)
> flap_controller_cyclic_fcns.f90:123.2:
>
> PIDvar.outset1_old=PIDvar.outset1
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:124.2:
>
> PIDvar.outres1_old=PIDvar.outres1
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:125.2:
>
> PIDvar.error1_old=PIDvar.error1
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:126.3:
>
> endif
> 1
> Error: Expecting END FUNCTION statement at (1)
> flap_controller_cyclic_fcns.f90:128:
>
> PIDvar.outset=PIDvar.outset1_old+0.5d0*(error+PIDvar.error1)*kgain(2)*PIDvar.Kint*dt
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:130:
>
> PIDvar.outpro=kgain(1)*PIDvar.Kpro*0.5d0*(error+PIDvar.error1)
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:132:
>
> PIDvar.outdif=kgain(3)*PIDvar.Kdif*(error-PIDvar.error1_old)/dt
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:134:
>
> PIDvar.outres=PIDvar.outset+PIDvar.outpro+PIDvar.outdif
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:137.2:
>
> PIDvar.outres=PIDvar.outmin
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:139.2:
>
> PIDvar.outres=PIDvar.outmax
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:142.20:
>
> if (PIDvar.velmax.gt.eps) then
> 1
> Error: Syntax error in IF-expression at (1)
> flap_controller_cyclic_fcns.f90:143.17:
>
> if ((abs(PIDvar.outres-PIDvar.outres1_old)/dt).gt.PIDvar.velmax) then
> 1
> Error: Syntax error in argument list at (1)
> flap_controller_cyclic_fcns.f90:144.4:
>
> PIDvar.outres=PIDvar.outres1_old+dsign(PIDvar.velmax*dt,PIDvar.outres-PIDvar.outres1_old)
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:145.5:
>
> endif
> 1
> Error: Expecting END FUNCTION statement at (1)
> flap_controller_cyclic_fcns.f90:146.3:
>
> endif
> 1
> Error: Expecting END FUNCTION statement at (1)
> flap_controller_cyclic_fcns.f90:148:
>
> PIDvar.outset1 = PIDvar.outres-PIDvar.outpro-PIDvar.outdif ! . makes the integral term react faster
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:149:
>
> PIDvar.outres1 = PIDvar.outres
> 1
> Error: Unclassifiable statement at (1)
> flap_controller_cyclic_fcns.f90:150:
>
> PIDvar.error1 = error
> 1
> Error: Unclassifiable statement at (1)
> Fatal Error: Error count reached limit of 25.
> ../config.mk:5: recipe for target 'flap_controller_cyclic_fcns.o' failed
> make[1]: *** [flap_controller_cyclic_fcns.o] Error 1
> make[1]: Leaving directory '/home/h27577/Documents/2-Projet_Offshore/1-Lot_Structure/10-Models_Database/5-DTU10MW/1-Controller/DownloadFromGIT190228/BasicDTUController-master/src/flap_controller_cyclic'
> Makefile:19: recipe for target 'flap_controller_cyclic' failed
> make: *** [flap_controller_cyclic] Error 2
[dtu_we_controller.f90](/uploads/94e3842a04a5d288b10a1532c22f78d8/dtu_we_controller.f90)
[git_version.inc](/uploads/11701293ab33fab3504d8b9f560b9dbe/git_version.inc)
[safety_system.f90](/uploads/9c7f0be5715b331f23a96694080f5381/safety_system.f90)
[turbine_controller.f90](/uploads/ae38005a449624493c710e492a48950c/turbine_controller.f90)https://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/10Make and gfortran compiling2020-09-28T14:05:10ZMikkel Friis-MøllerMake and gfortran compiling*Created by: leobwind*
Hey guys,
I'm having a minor issue on compiling with MAKE and GFORTRAN (thank you for provinding the makefiles, cool stuff for whoever doesn't have intel fortran!).
There seems to be a problem with src\dtu_we_...*Created by: leobwind*
Hey guys,
I'm having a minor issue on compiling with MAKE and GFORTRAN (thank you for provinding the makefiles, cool stuff for whoever doesn't have intel fortran!).
There seems to be a problem with src\dtu_we_controller\write_version.f90:
- The File Is not included in the SRC listing of the dtu_we_controller\Makefile (and thus it gives an error for the missing module)
- Once included, the write_version.f90 has the “include 'git_version.inc' “ instruction, but the git hub distribution does not include the git_version.inc file, nor the .exe to generate it. By commenting out this line the .dll seems to compile OK (haven't try to run it though)
Thank you, greetings from Jutland!
Leo
https://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/35Compiling for FAST2020-09-28T14:05:09ZMikkel Friis-MøllerCompiling for FAST*Created by: benoitpaillard*
Hi all,
I could not make this work with FAST, here are a couple of edits that needed to be done. Some of them were already in [fast_version](https://github.com/DTUWindEnergy/BasicDTUController/tree/fast_ver...*Created by: benoitpaillard*
Hi all,
I could not make this work with FAST, here are a couple of edits that needed to be done. Some of them were already in [fast_version](https://github.com/DTUWindEnergy/BasicDTUController/tree/fast_version) but not all.
[diffBP.txt](https://github.com/DTUWindEnergy/BasicDTUController/files/2679787/diffBP.txt)
https://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/9controller_input.txt dq/dtheta value2019-02-14T10:31:23ZMikkel Friis-Møllercontroller_input.txt dq/dtheta value*Created by: christosgal*
In the controller_input.txt file which is output from HAWCSTAB2 (see attached photo which is provided with the DTU 10MW rwt model with some explanations) it is not clear in which point dq/dtheta is evaluated. ...*Created by: christosgal*
In the controller_input.txt file which is output from HAWCSTAB2 (see attached photo which is provided with the DTU 10MW rwt model with some explanations) it is not clear in which point dq/dtheta is evaluated. I refer to the value in the 'PI pitch angle controller in region 3' part of the txt file. Is it at zero theta? If yes could it be written as dq/dtheta_zero which is more clear?
same for the dq/domega in the 'Additional terms due to the Aerodynamic damping' part of the file.
![controller_input_quadratic_example](https://cloud.githubusercontent.com/assets/26140726/23508260/1fd35826-ff51-11e6-853e-ce121f276a8a.PNG)
https://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/6Where can I find2019-02-14T10:31:24ZMikkel Friis-MøllerWhere can I find*Created by: madsmpedersen*
I cannot find a list of status signals codes.
*Created by: madsmpedersen*
I cannot find a list of status signals codes.
https://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/8Possible bug in line 432 of dtu_controller.f902019-02-14T10:31:24ZMikkel Friis-MøllerPossible bug in line 432 of dtu_controller.f90*Created by: profhansen*
Sorry in Norwegian:
I dtu_we_controller.f90 på linje 485 så står det at GenTorque ref = TorqueRef*GearRatio, men burde det ikke være TorqueRef/GearRatio? Da omega_rotor=omega_gen/GearRatio på linje 432. I HAW...*Created by: profhansen*
Sorry in Norwegian:
I dtu_we_controller.f90 på linje 485 så står det at GenTorque ref = TorqueRef*GearRatio, men burde det ikke være TorqueRef/GearRatio? Da omega_rotor=omega_gen/GearRatio på linje 432. I HAWC2 eksemplene er GearRatio=1, så da vil jo dette ikke ha noe å si.https://gitlab.windenergy.dtu.dk/OpenLAC/BasicDTUController/-/issues/14Pitch-step going from start-up to normal operation2019-02-14T10:31:24ZMikkel Friis-MøllerPitch-step going from start-up to normal operation*Created by: jantoreh*
Experiencing a dramatic change in pitch reference, which is not handled well by my simulation program. The issue seems to be that the pitch rate is not limited when going from controlstatus=-1 to 0. See attach fig...*Created by: jantoreh*
Experiencing a dramatic change in pitch reference, which is not handled well by my simulation program. The issue seems to be that the pitch rate is not limited when going from controlstatus=-1 to 0. See attach figure, for two time-steps when the controller status is switched.
<img width="471" alt="screen shot 2017-03-29 at 12 27 06" src="https://cloud.githubusercontent.com/assets/22801649/24450695/197e37e4-147c-11e7-9d25-609ce75bf717.png">