Skip to content
Snippets Groups Projects
Commit e50c394c authored by Paolo Gnata's avatar Paolo Gnata
Browse files

Fixed an error

parent 4095e282
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,6 @@ Pc = engine.acquisition.cutData.PEng; ...@@ -29,7 +29,6 @@ Pc = engine.acquisition.cutData.PEng;
%%% PARAMETERS %%% PARAMETERS
cT = engineSim.performances.cT; cT = engineSim.performances.cT;
etaCT = engine.data.etacT; etaCT = engine.data.etacT;
lambda = engine.data.lambda;
At = pi * engine.data.rt^2; At = pi * engine.data.rt^2;
...@@ -40,7 +39,7 @@ cT = interp1(engineSim.time, cT, time); ...@@ -40,7 +39,7 @@ cT = interp1(engineSim.time, cT, time);
%% PERFORMANCES %% PERFORMANCES
% Computing the thrust % Computing the thrust
T = Pc .* cT * At * etaCT * lambda * 1e5; T = Pc .* cT * At * etaCT * 1e5;
% Computing the total impulse % Computing the total impulse
Itot = trapz(time, T); Itot = trapz(time, T);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment