-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit R2019b. Convert to MATLAB Project.
- Loading branch information
1 parent
647ee92
commit 22d5d19
Showing
904 changed files
with
3,045 additions
and
57 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.11 KB
(100%)
Libraries/Blades/Flex_Blades/Libraries/Flex_Cantilever_Element_Lib.slx
Binary file not shown.
Binary file modified
BIN
+1.33 KB
(100%)
Libraries/Blades/Flex_Blades/Libraries/Flex_Cantilever_Lib.slx
Binary file not shown.
Binary file modified
BIN
+1.7 KB
(100%)
Libraries/Blades/Flex_Blades/Wind_Turbine_Flexible_Blades.slx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.42 KB
(100%)
Libraries/Main_Controller/Turbine_State_Machine_Testrig.slx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+2.2 KB
(110%)
Libraries/Pitch_Actuation/Pitch_Actuation_Hydraulic_Testrig.slx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+2 KB
(100%)
Libraries/Pitch_Controller/Pitch_Control_Hydraulic_Testrig.slx
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.44 KB
(100%)
Libraries/Pitch_Controller/Pitch_Controller_Generated_SFunc.slx
Binary file not shown.
Binary file not shown.
31 changes: 31 additions & 0 deletions
31
Libraries/Pitch_Controller/UpdateControlSystemDesigner_Session.m
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
% Copyright 2016-2019 The MathWorks, Inc. | ||
|
||
% MAT file containing session | ||
load('ControlSystemDesignerSession_start.mat'); | ||
|
||
% Updating the operating point | ||
op = ControlSystemDesignerSession.DesignerData.Architecture.Data.OperatingPoints; | ||
ControlSystemDesignerSession.DesignerData.Architecture.Data.OperatingPoints = update(op); | ||
% If needed, here is how to obtain op_snapshot1 | ||
% op_snapshot1 = ControlSystemDesignerSession.DesignerData.Architecture.Data.OperatingPoints | ||
|
||
save ControlSystemDesignerSession_start ControlSystemDesignerSession | ||
|
||
clear ControlSystemDesignerSession | ||
|
||
% MAT file containing session | ||
load('ControlSystemDesignerSession_end.mat'); | ||
|
||
% Updating the operating point | ||
op = ControlSystemDesignerSession.DesignerData.Architecture.Data.OperatingPoints; | ||
ControlSystemDesignerSession.DesignerData.Architecture.Data.OperatingPoints = update(op); | ||
% If needed, here is how to obtain op_snapshot1 | ||
% op_snapshot1 = ControlSystemDesignerSession.DesignerData.Architecture.Data.OperatingPoints | ||
|
||
save ControlSystemDesignerSession_end ControlSystemDesignerSession | ||
|
||
clear ControlSystemDesignerSession | ||
|
||
|
||
% Call controlSystemDesigner with updated OP | ||
%controlSystemDesigner(ControlSystemDesignerSession); |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
% Copyright 2009-2019 The MathWorks, Inc. | ||
cd(fileparts(which('Wind_Turbine.slx'))) | ||
cd(['Libraries' filesep 'Environment']); | ||
if(exist('+AerodynamicLoads','dir') && exist('AerodynamicLoads_Lib.slx','file')) | ||
bdclose('AerodynamicLoads_Lib') | ||
ssc_clean AerodynamicLoads | ||
end | ||
cd(fileparts(which('Wind_Turbine.slx'))) | ||
|
||
% Testing for generated code | ||
if(exist(['Libraries' filesep 'Pitch_Controller' filesep 'PCG'],'dir')) | ||
cd(['Libraries' filesep 'Pitch_Controller' filesep 'PCG']); | ||
%startup_Pitch_Controller_PCG | ||
rmpath([pwd '\Scripts_Test_Case_Data_Slides']); | ||
rmpath([pwd '\DD']); | ||
rmpath([pwd '\wpi_target']); | ||
rmpath(pwd); | ||
cd(fileparts(which('Wind_Turbine.slx'))) | ||
end |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
% Copyright 2009-2019 The MathWorks, Inc. | ||
WT_HomeDir = pwd; | ||
|
||
curr_proj = simulinkproject; | ||
cd(curr_proj.RootFolder); | ||
cd(['Libraries' filesep 'Environment']); | ||
if(exist('+AerodynamicLoads','dir') && ~exist('AerodynamicLoads_Lib.slx','file')) | ||
ssc_build AerodynamicLoads | ||
end | ||
cd(curr_proj.RootFolder); | ||
|
||
% Testing for generated code | ||
if(exist(['Libraries' filesep 'Pitch_Controller' filesep 'PCG'],'dir')) | ||
addpath([pwd filesep 'Libraries' filesep 'Pitch_Controller' filesep 'PCG']); | ||
cd(['Libraries' filesep 'Pitch_Controller' filesep 'PCG']); | ||
startup_Pitch_Controller_PCG | ||
cd(curr_proj.RootFolder); | ||
end | ||
|
||
Wind_Turbine_Parameters | ||
load Actuator_Lookup_data | ||
Wind_Turbine | ||
open('Wind_Turbine_Demo_Script.html') |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MATLABProject xmlns="http://www.mathworks.com/MATLABProjectFile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0"/> |
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.