Problems with the Bladed Interface
Hello there, first, I want to say thank you for providing this open source wind turbine controller.
I found some irregularities in the Bladed Interface.
- The gearbox ratio is obtained from array1(82), but according to line 353 of "dtu_we_controller.f90" it should be array1(76).
- The gearbox ratio is applied twice for the generator speed from the avrSWAP. First, it is applied in "dtu_we_controller_bladed.f90" in line 107 before passing array1 to "update_regulation" and also in line 662 of the subroutine "update_regulation" of "dtu_we_controller.f90".
- The generator torque has the same issue, as it is divided twice by the gearbox ratio. Once in the Bladed interface and once in the "update_regulation".
I could make the interface run, by removing the division by the gearbox ratio for array1(2) and array2(1) "dtu_we_controller_bladed.f90", but this solution seems not correct, since array1(2) should contain the rotor speed. My suggestion for a solution is, to remove the gearbox ratio from the subroutine "update_regulation" of "dtu_we_controller.f90". But I don't know if this would cause other problems in the regular interface for HAWC2.