Part 2: Build OpenFAST on Windows Utilising Visual Studio | Editing Source Code | Turbine Technology

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • #NRELs #OpenFAST #windturbine #offshore #onshore #visualstudio
    Design All Components of Onshore & Offshore Wind Turbine | Foundation | Utilising #NREL's #OpenFAST
    To subscribe:
    / @catchmentofresources
    To follow:
    Facebook: / catchmentofresources
    Website: catchmentofres...
    Email: info@catchmentofresources.com
    An opensource application for the complete design of onshore and offshore wind turbines. From blades to nacelle to electrical components to tower to monopile foundation.
    Based on the work by Jonkman et al (2009) for the National Renewable Energy Laboratory NREL.
    Jonkman tutorial video: • Running OpenFAST - Bas...
    Visual Studio Community Edition 2019 download:
    visualstudio.m...
    Intel Fortran Compiler and other prerequisites:
    code.usgs.gov/...

Комментарии • 22

  • @riadelhamoud8224
    @riadelhamoud8224 5 месяцев назад +1

    Thank you veryy much !!!
    You helped me a lot !!!

  • @salifallenballo8954
    @salifallenballo8954 6 месяцев назад

    Hi, thanks for you videos. I am a fourth year Engineering Student and I was hoping to use OpenFast to enhance/validate our windfarm project but I can't get it to compile from source. I keep getting an error at FASTlib. Not sure if you have experienced that before?

    • @salifallenballo8954
      @salifallenballo8954 6 месяцев назад

      x64\Release\simclist.obj: not a COFF object, bitcode, archive, import library or resource file
      FASTlib : error PRJ0019: A tool returned an error code

    • @catchmentofresources
      @catchmentofresources  6 месяцев назад

      Hi Salif, thank you for watching the videos.
      Unfortunately, I'm not familiar with this error notification. But with OpenFAST sometimes troubleshooting errors follow same approach.
      You could verify that you're compiling with the right runtime environment.

    • @salifallenballo8954
      @salifallenballo8954 6 месяцев назад +1

      Thanks for the reply. The run environment tip worked. I switched to Linux Ubuntu and it installed without any problems. I am now having to deal with regression tests failing but at least its progress 👍 @@catchmentofresources

  • @dorsamahdigholi1250
    @dorsamahdigholi1250 5 месяцев назад

    Hello, I hope you are doing well. Thank you for the great video you shared with us. Following the guidance in this video, I installed everything needed for compiling the software with the source code and then, as per the video instructions, compiled the FAST.sln file in vs code 2019. However, unlike in the video, next to the name FAST, the IFORT is not present, and it's incompatible. In fact, instead of 5 projects, there are 4. If possible, please help me.

    • @catchmentofresources
      @catchmentofresources  5 месяцев назад

      Hello Dorsa, the IFORT has to do with Fortran. Kindly view the instructions in the video to install Fortran interface for Visual Studio

  • @kanwarosama8755
    @kanwarosama8755 Год назад

    Hi, Thanks for this video. Everything was fine until I got the errros and warnings in the build. Most of them are related to fortran. Is there a solution for these

  • @krishnarajkp6732
    @krishnarajkp6732 9 месяцев назад

    How can we change the geometric properties of sub structures like monopile, jacket?

    • @catchmentofresources
      @catchmentofresources  9 месяцев назад

      The geometric properties may be changed within the Baseline folder. There are some files that contain array of numbers that describe the geometry of a monopile, jacket or an ITIBarge.
      Editing those array of numbers changes the geometry. Also, if arrays aren't editable then editing of the source code may be required.

    • @krishnarajkp6732
      @krishnarajkp6732 9 месяцев назад

      How to edit source code?

    • @krishnarajkp6732
      @krishnarajkp6732 9 месяцев назад

      In baseline folder which file I have to edit?

    • @catchmentofresources
      @catchmentofresources  9 месяцев назад

      @@krishnarajkp6732 the source code is in C++. I don't edit source code. Let's hope you can edit the array files in the. Baseline folder and don't need to edit source code.
      You can also ask your question from the programmers of OPENFAST. They are on github or their website

    • @catchmentofresources
      @catchmentofresources  9 месяцев назад

      @@krishnarajkp6732 kindly ask this question by email. akpoviroro1@gmail.com. I presently don't have OpenFAST on my current Computer; the former computer crashed.

  • @THEnukemaster11
    @THEnukemaster11 Год назад

    Hi,
    Thank you so much for your video!
    Just one quick question: I've been running OpenFAST with "precompiled binaries" until now, but now I'll need to start using it in the "compile from source" way. So, do I have to uninstall/delete anything before starting this tutorial?
    Thank you for your time!

    • @catchmentofresources
      @catchmentofresources  Год назад +1

      Hi @THEnukemaster11,
      Deleting files is not necessary. You could always create another folder in the C: drive and name it accordingly. Which will be used for the built version of OpenFAST.
      i.e make the new folder the current working directory before cloning the OpenFAST from github.

    • @THEnukemaster11
      @THEnukemaster11 Год назад

      ​@@catchmentofresources Thanks a lot!
      I followed your tutorial and I was able to build successfully (no errors and I got the executable), but I have 1 "skipped" in the last line of the build (it seems you have it too), is that a problem?
      Also, besides that, the "output window" seems perfect, but if I go to the "error window" it shows 15 warnings (12 of which regarding the first line of the CUSTOMBUILD file of the MAP_dll project, saying "derived data type ... of type ... is not passed through C interface" [or sometimes F-C interface]; while the other 3 have code C4267 and regard the bstraux.c or the bstrlib.c files of the MAP_dll project, saying " '...': conversion from 'size_t' to 'int'. Possible data loss"). Is that a problem and will it badly affect the accuracy of my simulations?
      Thanks again for your time!

    • @catchmentofresources
      @catchmentofresources  Год назад +1

      @@THEnukemaster11 It's good to hear it worked for you.
      I Can't really say why 1 was skipped, it may be due to prerequisites not already installed.
      Because while building Fast-Farm, none was skipped.
      Also, regarding accuracy of the simulation... The Reg_test is how to verify that your installation worked out fine. That should be Part 3 of this series.
      There are existing designed wind turbine system files to which a comparison is done.
      Thanks for your feedback.

    • @catchmentofresources
      @catchmentofresources  Год назад +1

      You may also consider deleting the files and building from scratch again.
      In the user documentation, it says something about the compiler throwing errors in a first step. But when you cancel and restart the build process, everything works out fine.

    • @catchmentofresources
      @catchmentofresources  Год назад +1

      Furthermore, there are a several .sln files you should build. Discon, MAP, and Fast. Check Part 3 video, more modules were built.
      No need to build AeroDyn or BeamDyn sln files.