TP Cycle Diesel
TP Cycle Diesel
TP Cycle Diesel
………………………………………………………………………………………………………………………………………………………………
…………………………
I. Objectif du TP
Figure 1.
Données du problème
1
II. Travail demandé
%inputs
D = 0.20; %cylinder diameter or bore of cylinder in [m]
L = 0.30; %stroke length in [m]
conn_rod = 0.42; %Connecting rod length in [m]
Cr = 15; %Compression ratio
cutoff = 8/100;
%Calculate cut off ratio
%COr = cut off ratio
%cut_off = (COr-1)/(Cr-1)
%COr-1 = (Cr-1)*Cutoff
COr = (Cr-1)*cutoff+1;
gamma = 1.4; %cp/cv constant
%State variables
p1 = 1*10^5; %pressure at point 1 in [pascal]
t1 = 27+273; %temp at point 1 in [kelvin]
constant = p1*v1^gamma;
V_comp = prac(D,L,Cr,conn_rod,180,0);
P_comp = constant./V_comp.^gamma;
constant = p3*v3^gamma;
V_exp = prac(D,L,Cr,conn_rod,0,180);
for i = 1:length(V_exp)
if V_exp(i)<v3
V_exp(i)=v3;
end
2
end
P_exp = constant./V_exp.^gamma;
%plotting
hold on
plot(v1,p1,'*','color','k')
plot(V_comp,P_comp,'color','k')
text(v1,p1,'State 1','color','g')
plot(v2,p2,'*','color','k')
text(v2,p2,'State 2','color','g')
plot(v3,p3,'*','color','k')
plot(V_exp,P_exp,'color','k')
text(v3,p3,'State 3','color','g')
plot(v4,p4,'*','color','k')
text(v4,p4,'State 4','color','g')
line([v2 v3],[p2 p3],'color','k')
line([v4 v1],[p4 p1],'color','k')
title('PV Diagram "Diesel Cycle"')
xlabel('Volume')
ylabel('pressure')
%clear all
%close all
%clc
function V = prac(D,L,Cr,conn_rod,start_crank,end_crank)
%D = 0.20; %bore
%L = 0.30; %stroke
%Cr = 15; %compression ratio
%conn_rod = 0.42; %connecting rod
a = L/2;
R = conn_rod/a;
theta = linspace(start_crank,end_crank,100);
%calclute formula
%V/Vc = 1+0.5*(Cr-1)[(R+1-cosd(theta)) - (R^2-sin(theta)^2)^0.5]
term1 = 0.5*(Cr-1);
term2 = R+1 - cosd(theta);
term3 = (R^2 - sind(theta).^2).^0.5;
V = (1+term1*(term2-term3)).*Vc;
3
end
r P1 P2 P3 P4 V1 V2 V3 V4
(bar) (bar) (bar) (bar) (m3/kg) (m3/kg) (m3/kg) (m3/kg)
4
6
8
10
12
Tableau 1. Points du cycle P-V
r T1 T2 T3 T4
(K) (K) (K) (K)
4
6
8
10
12
4
6
8
10
12
Avec: r : rapport de compression volumétrique et T1, T2, T3, T4, P1, P2, P3, P4, V1, V2, V3, V4
sont les points du cycle.
4
Q.3 Tracer la variation du rendement du cycle « ηth » en fonction de « r »
5
Q.6 Interpréter les résultats
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
6
………………………………………………………………………………………………
……………………………………………………………………………………………….
Q.7 Conclusion générale
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
………………………………………………………………………………………………
……………………………………………………………………………………………….
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………………………………………………………………………………..
7
………………………………………………………………………………………………
……………………………………………………………………………………………….