OpenFAST / openfast

Main repository for the NREL-supported OpenFAST whole-turbine and FAST.Farm wind farm simulation codes.
http://openfast.readthedocs.io
Apache License 2.0
672 stars 454 forks source link

python-openfastDLL #2149

Open yinghanguan opened 5 months ago

yinghanguan commented 5 months ago

Hello, I am trying to call openfast using Python and I have found that there are https://github.com/OpenFAST/openfast/blob/main/glue-codes/python/openfast_library.py It is mentioned that I am not familiar with the compilation method of DLL. How can I obtain this file? My system is Windows

deslaughter commented 5 months ago

This DLL should be included in the conda-forge OpenFAST package. Once you install that package with conda install -c conda-forge openfast, you should find libopenfastlib.dll in the lib directory of your conda environment. If this doesn't work, the dll will need to be complied.