forked from WEC-Sim/WEC-Sim_Applications
-
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.
Bug fixes for WEC-Sim Applications (WEC-Sim#49)
* update mostIO - remove clear calls, convert to functions, remove turbsim exe * add multiple wave headings test and standardize naming * use backwards compatible optional parameter definition in nexttile call * make call to tiledlayout backwards compatible * updating dev tests to run on windows * updating dev tests to run on windows with 2023a * remove processed turbsim file so that mostIO is tested * make paths OS-agnostic * updating desal test to run on windows with 2023a * running on windows and desal test on 2023a * one last attempt to resolve windows test failure * reverting to Linux and removing MoorDyn tests * fix capitalization for paths in linux, macOS * only running tests on latest version of MATLAB --------- Co-authored-by: kmruehl <[email protected]>
- Loading branch information
Showing
25 changed files
with
80 additions
and
111 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
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,11 +1,7 @@ | ||
clear all | ||
close all | ||
clc | ||
foldernemoh = 'VolturnUS15MW_nemoh'; | ||
|
||
hydro = struct(); | ||
hydro = readNEMOH(hydro,[pwd,filesep,foldernemoh,filesep]); | ||
hydro = readNEMOH(hydro,fullfile('VolturnUS15MW_nemoh')); | ||
hydro = radiationIRF(hydro,90,201,201,[],[]); | ||
hydro = radiationIRFSS(hydro,[],[]); | ||
hydro = excitationIRF(hydro,90,[],[],[],[]); | ||
writeBEMIOH5(hydro) | ||
writeBEMIOH5(hydro) |
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
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,31 +1,27 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
%% Script to pre-process all required inputs for WEC-Sim+MOST %% | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
%% Initialization | ||
clearvars -except testCase | ||
close all | ||
clc | ||
%% TurbSim Data | ||
cd turbSim | ||
run_turbsim | ||
Wind = run_turbsim(); | ||
cd .. | ||
|
||
%% Mooring Data | ||
cd mooring | ||
Create_Mooring_Matrix | ||
moor_matrix = Create_Mooring_Matrix(); | ||
cd .. | ||
|
||
%% Turbine Data | ||
cd windTurbine | ||
cd turbine_properties | ||
WTproperties | ||
BladeData | ||
WTcomponents = WTproperties(); | ||
bladedata = BladeData(); | ||
cd .. | ||
cd control | ||
Steady_States | ||
Controller | ||
[BEM_data, SS] = Steady_States(); | ||
[BEM_data, Ctrl] = Controller(); | ||
cd .. | ||
cd aeroloads | ||
AeroLoads | ||
[BEM_data, aeroloads] = AeroLoads(); | ||
cd .. | ||
cd .. |
Binary file not shown.
Binary file not shown.
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
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
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
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
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
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
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
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
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
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.