From e50c394c139dd52f8f7a48ac2bde230774263c83 Mon Sep 17 00:00:00 2001
From: "paolo.gnata" <paolo.gnata@skywarder.eu>
Date: Sun, 24 Sep 2023 23:39:21 +0200
Subject: [PATCH] Fixed an error

---
 .../postprocessing/RPS/src/performanceReconstruction.m         | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/RoccarasoFlight/postprocessing/RPS/src/performanceReconstruction.m b/RoccarasoFlight/postprocessing/RPS/src/performanceReconstruction.m
index 3d1ceff..7ceb117 100644
--- a/RoccarasoFlight/postprocessing/RPS/src/performanceReconstruction.m
+++ b/RoccarasoFlight/postprocessing/RPS/src/performanceReconstruction.m
@@ -29,7 +29,6 @@ Pc     = engine.acquisition.cutData.PEng;
 %%% PARAMETERS
 cT     = engineSim.performances.cT;
 etaCT  = engine.data.etacT;
-lambda = engine.data.lambda;
 At     = pi * engine.data.rt^2;
 
 
@@ -40,7 +39,7 @@ cT = interp1(engineSim.time, cT, time);
 
 %% PERFORMANCES
 % Computing the thrust
-T = Pc .* cT * At * etaCT * lambda * 1e5;
+T = Pc .* cT * At * etaCT * 1e5;
 
 % Computing the total impulse
 Itot = trapz(time, T);
-- 
GitLab