forked from NREL/ROSCO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Unknown
committed
Jun 21, 2018
1 parent
fbe3a5a
commit 8a506a4
Showing
12 changed files
with
302 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
!Wind file for Trivial turbine. | ||
!Time Wind Wind Vert. Horiz. Vert. LinV Gust | ||
! Speed Dir Speed Shear Shear Shear Speed | ||
0.00 7.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
0.10 7.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
100.00 7.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
100.10 8.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
200.00 8.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
200.10 9.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
300.00 9.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
300.10 10.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
400.00 10.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
400.10 11.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
500.00 11.0 00.0 0.00 0.00 0.00 0.00 0.00 | ||
500.10 10.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
600.00 10.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
600.10 11.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
700.00 11.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
700.10 12.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
800.00 12.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
800.10 13.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
900.00 13.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
900.10 14.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1000.00 14.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1000.10 15.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1100.00 15.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1100.10 16.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1200.00 16.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1200.10 17.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1300.00 17.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1300.10 18.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1400.00 18.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1400.10 19.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1500.00 19.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1500.10 20.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1600.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1600.10 21.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1700.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1700.10 22.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1800.00 22.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1800.10 23.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1900.00 23.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1900.10 24.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
2000.00 24.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
2000.10 25.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
2100.00 25.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
!Wind file for Trivial turbine. | ||
!Time Wind Wind Vert. Horiz. Vert. LinV Gust | ||
! Speed Dir Speed Shear Shear Shear Speed | ||
0.00 7.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
0.10 7.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
100.00 7.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
100.10 8.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
200.00 8.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
200.10 9.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
300.00 9.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
300.10 10.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
400.00 10.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
400.10 11.0 0.00 0.00 0.00 0.00 0.00 0.00 | ||
500.00 11.0 00.0 0.00 0.00 0.00 0.00 0.00 | ||
500.10 10.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
600.00 10.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
600.10 11.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
700.00 11.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
700.10 12.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
800.00 12.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
800.10 13.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
900.00 13.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
900.10 14.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1000.00 14.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1000.10 15.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1100.00 15.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1100.10 16.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1200.00 16.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1200.10 17.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1300.00 17.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1300.10 18.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1400.00 18.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1400.10 19.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1500.00 19.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1500.10 20.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1600.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1600.10 21.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1700.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1700.10 22.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1800.00 22.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1800.10 23.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1900.00 23.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
1900.10 24.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
2000.00 24.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
2000.10 25.00 0.00 0.00 0.00 0.00 0.00 0.00 | ||
2100.00 25.00 0.00 0.00 0.00 0.00 0.00 0.00 |
104 changes: 52 additions & 52 deletions
104
Debug/CompileRunAndDebug.cmd → #Archive/Debug/CompileRunAndDebug.cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,53 @@ | ||
:: Compiling and Testing Discon.f90 | ||
|
||
echo off | ||
|
||
:: Set this to the absolute path of FAST. In that | ||
:: case also make sure the correct drive is selected | ||
set "FASTdir=C:\FAST" | ||
|
||
:: Set these to the absolute path of your archive directory. Does not necessarily have | ||
:: to be the current directory | ||
set "ArchiveDir=C:\FASTArchive" | ||
|
||
:: Go to the drive where FAST is located | ||
C: | ||
|
||
Remove old .dll file | ||
DEL %FASTdir%\CertTest\5MW_Baseline\ServoData\DISCON_gwin32.dll | ||
|
||
:: Compile new .dll file | ||
cd %FASTdir%\Compiling | ||
mingw32-make.exe | ||
|
||
:: Run Test18 | ||
echo off | ||
cd ..\CertTest | ||
echo on | ||
FAST_Win32.exe Test18.fst | ||
|
||
echo off | ||
:: Make new directory with correct timestamp | ||
|
||
Get the timestamp | ||
for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a" | ||
set "YYYY=%dt:~0,4%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%" | ||
set "HH=%dt:~8,2%" & set "Min=%dt:~10,2%" | ||
set "stamp=%YYYY%_%MM%_%DD%_%HH%%Min%" | ||
|
||
:: Put together the directory name and create it | ||
set "dbFolder=%ArchiveDir%\%stamp%" | ||
mkdir %dbFolder% | ||
|
||
:: Copy debug files to this directory | ||
copy Test18.sum %dbFolder%\Test18.sum | ||
copy Test18.AD.sum %dbFolder%\Test18.AD.sum | ||
copy Test18.ED.sum %dbFolder%\Test18.ED.sum | ||
copy Test18.out %dbFolder%\Test18.out | ||
copy Test18.SrvD.dbg %dbFolder%\Test18.SrvD.dbg | ||
copy Test18.SrvD.dbg2 %dbFolder%\Test18.SrvD.dbg2 | ||
|
||
|
||
:: Echo the debug directory so matlab can potentially pick it up | ||
echo %dbFolder% | ||
:: Compiling and Testing Discon.f90 | ||
|
||
echo off | ||
|
||
:: Set this to the absolute path of FAST. In that | ||
:: case also make sure the correct drive is selected | ||
set "FASTdir=C:\FAST" | ||
|
||
:: Set these to the absolute path of your archive directory. Does not necessarily have | ||
:: to be the current directory | ||
set "ArchiveDir=C:\FASTArchive" | ||
|
||
:: Go to the drive where FAST is located | ||
C: | ||
|
||
Remove old .dll file | ||
DEL %FASTdir%\CertTest\5MW_Baseline\ServoData\DISCON_gwin32.dll | ||
|
||
:: Compile new .dll file | ||
cd %FASTdir%\Compiling | ||
mingw32-make.exe | ||
|
||
:: Run Test18 | ||
echo off | ||
cd ..\CertTest | ||
echo on | ||
FAST_Win32.exe Test18.fst | ||
|
||
echo off | ||
:: Make new directory with correct timestamp | ||
|
||
Get the timestamp | ||
for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a" | ||
set "YYYY=%dt:~0,4%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%" | ||
set "HH=%dt:~8,2%" & set "Min=%dt:~10,2%" | ||
set "stamp=%YYYY%_%MM%_%DD%_%HH%%Min%" | ||
|
||
:: Put together the directory name and create it | ||
set "dbFolder=%ArchiveDir%\%stamp%" | ||
mkdir %dbFolder% | ||
|
||
:: Copy debug files to this directory | ||
copy Test18.sum %dbFolder%\Test18.sum | ||
copy Test18.AD.sum %dbFolder%\Test18.AD.sum | ||
copy Test18.ED.sum %dbFolder%\Test18.ED.sum | ||
copy Test18.out %dbFolder%\Test18.out | ||
copy Test18.SrvD.dbg %dbFolder%\Test18.SrvD.dbg | ||
copy Test18.SrvD.dbg2 %dbFolder%\Test18.SrvD.dbg2 | ||
|
||
|
||
:: Echo the debug directory so matlab can potentially pick it up | ||
echo %dbFolder% | ||
pause |
44 changes: 22 additions & 22 deletions
44
Debug/CompileRunAndPause.cmd → #Archive/Debug/CompileRunAndPause.cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
:: Compiling DISCON dll and run Test 18 | ||
:: Pauses afterwards so command window output can be read | ||
|
||
:: Change these to the absolute path of FAST. In that | ||
:: case also make sure the correct drive is selected | ||
set "FASTdir=C:\FAST" | ||
|
||
:: Go to the correct drive | ||
C: | ||
|
||
:: Remove old .dll file | ||
DEL %FASTdir%\CertTest\5MW_Baseline\ServoData\DISCON_gwin32.dll | ||
|
||
:: Compile new .dll file | ||
cd %FASTdir%\Compiling | ||
mingw32-make.exe | ||
|
||
:: Run Test18 | ||
cd ..\CertTest | ||
FAST_Win32.exe Test18.fst | ||
|
||
pause | ||
:: Compiling DISCON dll and run Test 18 | ||
:: Pauses afterwards so command window output can be read | ||
|
||
:: Change these to the absolute path of FAST. In that | ||
:: case also make sure the correct drive is selected | ||
set "FASTdir=C:\FAST" | ||
|
||
:: Go to the correct drive | ||
C: | ||
|
||
:: Remove old .dll file | ||
DEL %FASTdir%\CertTest\5MW_Baseline\ServoData\DISCON_gwin32.dll | ||
|
||
:: Compile new .dll file | ||
cd %FASTdir%\Compiling | ||
mingw32-make.exe | ||
|
||
:: Run Test18 | ||
cd ..\CertTest | ||
FAST_Win32.exe Test18.fst | ||
|
||
pause |
Oops, something went wrong.