summaryrefslogtreecommitdiff
path: root/2063/CH1/EX1.30/1_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '2063/CH1/EX1.30/1_30.sce')
-rwxr-xr-x2063/CH1/EX1.30/1_30.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2063/CH1/EX1.30/1_30.sce b/2063/CH1/EX1.30/1_30.sce
new file mode 100755
index 000000000..d358ca31f
--- /dev/null
+++ b/2063/CH1/EX1.30/1_30.sce
@@ -0,0 +1,14 @@
+clc
+clear
+//Input data
+P1=1;//Initial pressure of air received by gas turbine plant in bar
+T1=310;//Initial tamperature in K
+P2=5.5;//Pressure at the end of compression in bar
+r=1.4;//isentropic index
+
+//Calculations
+rp=P2/P1;//pressure ratio
+n=(1-(1/rp)^((r-1)/r))*100;//Thermal efficiency of the turbine in percent
+
+//Output data
+printf('Thermal efficiency of the turbine unit is %3.2f percent',n)