Bajaj Pulsar 150cc PV Diagram visualizer for otto cycle
Objective:
1) To analyse and plot PV diagram of Bajaj Pulsar 150cc working on otto cycle.
2) To calculate thermal efficiency of otto cyle.
Program
%ploting and caluting various otto_cyle parameters
clc;
clear all;
close all;
% Input( temp in kelvin)
gamma=1.4;
t3=2800;
%Engine geometric parameters for Bajaj Pulsar 150cc see reference
bore= 0.058;
stroke=0.0564;
rc=10;
c_rod_length=0.1;
%state variables
t1=500;
p1=101325;
%cal swept and clearance
volumev_swept=(pi*(bore^2)*stroke)/4;
v_clearance= v_swept/(rc-1);
%cal v1 and v2
v1= v_clearance + v_swept;
v2=v_clearance;
% cal p2 and t2
p2=p1*rc^gamma;
t2=t1*rc^(gamma-1);
const=p1*v1^gamma;
v_compression=engine_kinematics(bore,stroke,rc,c_rod_length,180,0);
p_compression=const./v_compression.^gamma;
%calp3
p3=p2*t3/t2;
v3=v2;
const=p3*v3^gamma;
v_expansion=engine_kinematics(bore,stroke,rc,c_rod_length,0,180);
p_expansion=const./v_expansion.^gamma;
% cal p4
p4=p3/(rc^gamma);
v4=v1;
hold on
plot(v_compression,p_compression,'color','r');
plot([v2 v3],[p2 p3],'color','r');
plot(v_expansion,p_expansion,'color','r');
plot([v4 v1],[p4 p1],'color','r');
xlabel('Volume (m3)');
ylabel('Pressure[ N/m2)');
%calculating thermal efficiency of cylce
efficiency=1-(1/(rc)^(gamma -1));
display(efficiency);
Results
Fig 1 Pv Diagram of Bajaj Pulsar 150cc working on otto cycle.
Fig 2 Figure showing thermal efficiency of Bajaj Pulsar
References
1. Dynamic Analysis of Bajaj Pulsar 150cc Connecting RodUsing ANSYS 14.0 by Amit Kumar1, Bhingole P.P and Dinesh Kumar2
2. http://mechteacher.com/otto-cycle-air-standard-efficiency-derivation/