In: Mechanical Engineering
9.43 An ideal air-standard
state with compressor inlet conditions of 300 K and 100 kPa and a
fixed turbine inlet temperature of 1700 K. For the cycle,
Plot the net work developed per unit mass flowing, in kJ/kg, and the thermal efficiency, each versus compressor pressure ratio ranging from 2 to 50.
I need the IT Thermodynamics software code, or at least I need to know how to set the code up. Also, please note that this is an air-standard cycle.
Note- I used the value of specific heat ratio =1.4 (air)
MATLAB script-
clear
clc
% air properties used in calcualtion
Cp=1.005; gamma=1.4;
% create a pressure ration vector from 2 to 50 and
% divide it into 10000000 points to get the smoothe graph
rp=linspace(2,50,10000000);
% equation (1)
T2=((rp).^0.2857).*300;
% equation (2)
T4=1700./((rp.^0.2857));
% equation (3)
Wnet=Cp.*((1700-T2)-(T4-300));
% equation ()
Eff=1-(1./(rp.^0.2857));
% plotting of results
figure(1)
plot(rp,Wnet)
xlabel('Pressure Ratio (rp)'); ylabel('Wnet ');
figure(2)
plot(rp,Eff)
xlabel('Pressure Ratio (rp)'); ylabel('Efficiency');
---------------------------------------------------------------------------------------------------------------------------------------
Output-