Skip to content

Commit 3fbd2ef

Browse files
Changed the scenario, model update, and power bus inclusion.
1 parent ec6e7d2 commit 3fbd2ef

25 files changed

+33
-31
lines changed

Model/TractorEnergyComputation.slx

13.6 KB
Binary file not shown.
36.3 KB
Loading
-47.3 KB
Loading

Overview/html/TractorModelOverview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<title>Tractor Model with Simscape</title>
1010
<meta name="generator" content="MATLAB 24.1">
1111
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
12-
<meta name="DC.date" content="2024-06-10">
12+
<meta name="DC.date" content="2024-07-11">
1313
<meta name="DC.source" content="TractorModelOverview.m">
1414
<style type="text/css">
1515
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
@@ -150,7 +150,7 @@ <h2 id="4">Model</h2>
150150
%% Tractor Model with Simscape
151151
%
152152
% This project contains custom libraries, models, and code to help
153-
% you Model tractors. You can learn to evaluate transmission losses and
153+
% you model tractors. You can learn to evaluate transmission losses and
154154
% visualize energy charts for a tractor.
155155
%
156156
45.8 KB
Loading
7.64 KB
Loading

Scripts/ImplementMask.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@
9292
end
9393
end
9494

95-
implementPortConnectivity(methodForceComputation);
95+
implementPortConnectivity(gcb,methodForceComputation);

Scripts/TractorEnergyComputationInput.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
pump.displacementRamp = -0.5; % (cm^3/(rev*s)) Displacement ramp
1414
pump.positiveDisplacementLimit = 60; % (cm^3/rev) Positive displacement limit
1515
pump.negativeDisplacementLimit = 10; % (cm^3/rev) Negative displacement limit
16-
pump.rampStartTime = 1950; % (s) Ramp start time
16+
pump.ramp1StartTime = 1950; % (s) Ramp 1 start time
17+
pump.ramp2StartTime = 2100; % (s) Ramp 2 start time
1718

1819
% Body Parameters
1920

@@ -107,7 +108,8 @@
107108

108109
%% Implement Parameters
109110

110-
implement.depthTillage = 10; % (cm) Tillage depth
111+
implement.depth1Tillage = 9; % (cm) Tillage depth 1
112+
implement.depth2Tillage = 10; % (cm) Tillage depth 2
111113
implement.angleRake = 55; % (deg) Rake angle of implement tool
112114
implement.numberTools = 5; % (1) Number of tools for a narrow implement
113115

Scripts/TractorEnergyComputationModelOverview.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
%
8585
% <matlab:open_system('TractorEnergyComputation/Tractor/Front%20Left%20Tire') Open Front Left Tire Subsystem>
8686

87-
open_system('TractorEnergyComputation/Tractor/Front Left Tire');
87+
open_system('TractorEnergyComputation/Tractor/Tire FL');
8888

8989
%%
9090
% The Tire-Soil Interaction block is a custom Simscape component that models
@@ -169,23 +169,23 @@
169169
% The Energy Calculations subsystem computes the energy consumed by the various
170170
% components of the transmission.
171171
%
172-
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations') Open Energy Calculations Subsystem>
172+
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations') Open Energy Calculations Subsystem>
173173

174-
open_system('TractorEnergyComputation/System Signals and Information/Energy Calculations');
174+
open_system('TractorEnergyComputation/System Signals and Information/Power and Energy Calculations');
175175

176176
%%
177177
%
178-
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations/Pump%20Energy%20Computation/Pump%20Input%20Energy%20Computation') Open Transmission Pump Input Energy Computation Subsystem>
178+
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations/Pump%20Computation/Pump%20Input%20Energy%20Computation') Open Transmission Pump Input Energy Computation Subsystem>
179179

180-
open_system('TractorEnergyComputation/System Signals and Information/Energy Calculations/Pump Energy Computation/Pump Input Energy Computation');
180+
open_system('TractorEnergyComputation/System Signals and Information/Power and Energy Calculations/Pump Computation/Pump Input Energy Computation');
181181

182182
%%
183183
% You can compute the transmission pump input energy as a product of the
184184
% engine speed and engine torque.
185185
%
186-
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations/Pump%20Energy%20Computation/Pump%20Output%20Energy%20Computation') Open Transmission Pump Output Energy Computation Subsystem>
186+
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations/Pump%20Computation/Pump%20Output%20Energy%20Computation') Open Transmission Pump Output Energy Computation Subsystem>
187187

188-
open_system('TractorEnergyComputation/System Signals and Information/Energy Calculations/Pump Energy Computation/Pump Output Energy Computation');
188+
open_system('TractorEnergyComputation/System Signals and Information/Power and Energy Calculations/Pump Computation/Pump Output Energy Computation');
189189

190190
%%
191191
% You can compute the transmission pump output energy as a product of the

Scripts/html/TractorEnergyComputationModelOverview.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<title>Tractor Energy Computation Model</title>
1010
<meta name="generator" content="MATLAB 24.1">
1111
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
12-
<meta name="DC.date" content="2024-06-17">
12+
<meta name="DC.date" content="2024-07-11">
1313
<meta name="DC.source" content="TractorEnergyComputationModelOverview.m">
1414
<style type="text/css">
1515
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
@@ -162,14 +162,14 @@ <h2 id="12">Driver Controls Subsystem</h2>
162162
<h2 id="14">Energy Calculations Subsystem</h2>
163163
<p>The Energy Calculations subsystem computes the energy consumed by the various components of the transmission.</p>
164164
<p>
165-
<a href="matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations')">Open Energy Calculations Subsystem</a>
165+
<a href="matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations')">Open Energy Calculations Subsystem</a>
166166
</p>
167167
<img vspace="5" hspace="5" src="TractorEnergyComputationModelOverview_09.png" alt=""> <p>
168-
<a href="matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations/Pump%20Energy%20Computation/Pump%20Input%20Energy%20Computation')">Open Transmission Pump Input Energy Computation Subsystem</a>
168+
<a href="matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations/Pump%20Computation/Pump%20Input%20Energy%20Computation')">Open Transmission Pump Input Energy Computation Subsystem</a>
169169
</p>
170170
<img vspace="5" hspace="5" src="TractorEnergyComputationModelOverview_10.png" alt=""> <p>You can compute the transmission pump input energy as a product of the engine speed and engine torque.</p>
171171
<p>
172-
<a href="matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations/Pump%20Energy%20Computation/Pump%20Output%20Energy%20Computation')">Open Transmission Pump Output Energy Computation Subsystem</a>
172+
<a href="matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations/Pump%20Computation/Pump%20Output%20Energy%20Computation')">Open Transmission Pump Output Energy Computation Subsystem</a>
173173
</p>
174174
<img vspace="5" hspace="5" src="TractorEnergyComputationModelOverview_11.png" alt=""> <p>You can compute the transmission pump output energy as a product of the pump volumetric flow rate and the pressure difference across the pump.</p>
175175
<h2 id="18">Transmission Energy Chart Dashboard</h2>
@@ -281,7 +281,7 @@ <h2 id="20">Useful Links</h2>
281281
%
282282
% <matlab:open_system('TractorEnergyComputation/Tractor/Front%20Left%20Tire') Open Front Left Tire Subsystem>
283283
284-
open_system('TractorEnergyComputation/Tractor/Front Left Tire');
284+
open_system('TractorEnergyComputation/Tractor/Tire FL');
285285
286286
%%
287287
% The Tire-Soil Interaction block is a custom Simscape component that models
@@ -366,23 +366,23 @@ <h2 id="20">Useful Links</h2>
366366
% The Energy Calculations subsystem computes the energy consumed by the various
367367
% components of the transmission.
368368
%
369-
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations') Open Energy Calculations Subsystem>
369+
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations') Open Energy Calculations Subsystem>
370370
371-
open_system('TractorEnergyComputation/System Signals and Information/Energy Calculations');
371+
open_system('TractorEnergyComputation/System Signals and Information/Power and Energy Calculations');
372372
373373
%%
374374
%
375-
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations/Pump%20Energy%20Computation/Pump%20Input%20Energy%20Computation') Open Transmission Pump Input Energy Computation Subsystem>
375+
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations/Pump%20Computation/Pump%20Input%20Energy%20Computation') Open Transmission Pump Input Energy Computation Subsystem>
376376
377-
open_system('TractorEnergyComputation/System Signals and Information/Energy Calculations/Pump Energy Computation/Pump Input Energy Computation');
377+
open_system('TractorEnergyComputation/System Signals and Information/Power and Energy Calculations/Pump Computation/Pump Input Energy Computation');
378378
379379
%%
380380
% You can compute the transmission pump input energy as a product of the
381381
% engine speed and engine torque.
382382
%
383-
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Energy%20Calculations/Pump%20Energy%20Computation/Pump%20Output%20Energy%20Computation') Open Transmission Pump Output Energy Computation Subsystem>
383+
% <matlab:open_system('TractorEnergyComputation/System%20Signals%20and%20Information/Power%20and%20Energy%20Calculations/Pump%20Computation/Pump%20Output%20Energy%20Computation') Open Transmission Pump Output Energy Computation Subsystem>
384384
385-
open_system('TractorEnergyComputation/System Signals and Information/Energy Calculations/Pump Energy Computation/Pump Output Energy Computation');
385+
open_system('TractorEnergyComputation/System Signals and Information/Power and Energy Calculations/Pump Computation/Pump Output Energy Computation');
386386
387387
%%
388388
% You can compute the transmission pump output energy as a product of the

0 commit comments

Comments
 (0)