{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Chapter 4: Properties of Steam" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 4.10: Example_10.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "clc\n", "clear\n", "//DATA GIVEN\n", "V=0.9; //capacity of spherical vessel in m^3\n", "p1=8; //pressure of steam in bar\n", "x1=0.9; //dryness fraction of steam\n", "p2=4; //pressure of steam after blow off in bar\n", "p3=3; //final pressure of steam in bar\n", "\n", "//At 8 bar, from steam tables\n", "hf1=720.9; //kJ/kg\n", "hfg1=2046.5; //kJ/kg\n", "vg1=0.240; //m^3/kg\n", "\n", "m1=V/(x1*vg1); //mass of steam in the vessel in kg\n", "\n", "h1=hf1+x1*hfg1; //enthalpy of steam before blowing off (per kg)\n", "//enthalpy of steam before blowing off (per kg) = enthalpy of steam after blowing off (per kg)\n", "h2=h1;\n", "//h2=hf2+x2*hfg2\n", "//At 4 bar, from steam tables\n", "hf2=604.7; //kJ/kg\n", "hfg2=2133; //kJ/kg\n", "vg2=0.462; //m^3/kg\n", "x2=(h2-hf2)/hfg2; //dryness fraction at 2\n", "\n", "m2=V/(x2*vg2); //mass of steam in the vessel in kg\n", "m=m1-m2; //mass of steam blown off in kg\n", "\n", "//As it is constant volume cooling, x2*vg2(at 4 bar)=x3*vg3(at 3 bar)\n", "//At 3 bar, from steam tables\n", "hf3=561.4; //kJ/kg\n", "hfg3=2163.2; //kJ/kg\n", "vg3=0.606; //m^3/kg\n", "\n", "x3=x2*vg2/vg3;\n", "h3=hf3+x3*hfg3;\n", "\n", "//heat lost during cooling, Qlost=m(u3-u2)\n", "u2=h2-p2*10^5*x2*vg2*10^-3;\n", "u3=h3-p3*10^5*x3*vg3*10^-3;\n", "Qlost=m*(u3-u2);\n", "\n", "printf(' (i) The Mass of of steam blown off is: %1.3f kg. \n',m);\n", "printf(' (ii) The Dryness fraction of steam in the vessel after cooling is: %1.4f. \n',x3);\n", "printf('(iii) The Heat lost during cooling is: %3.2f kJ. \n',(-Qlost));\n", "\n", "//NOTE:\n", "//The answers of m1,x3 are INCORRECT in the book,\n", "//thus, the answers of m, x3 and Qlost are INCORRECT in the book\n", "//while, the values obtained her (in scilab) are CORRECT.\n", "" ] } , { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 4.11: Example_11.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "clc\n", "clear\n", "//DATA GIVEN\n", "p=8; //pressure of steam in bar\n", "x=0.8; //dryness fraction\n", "\n", "//At 8 bar, from steam tables\n", "vg=0.240; //m^3/kg\n", "hfg=2046.5; //kJ/kg\n", "\n", "We=p*10^5*x*vg/1000; //external work done during evaporation in kJ\n", "LHi=x*hfg-We; //Internal latent heat in kJ\n", "\n", "printf(' (i) The External work done during evaporation is: %3.1f kJ. \n',We);\n", "printf(' (ii) The Internal latent heat is: %4.1f kJ. \n',LHi);" ] } , { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 4.12: Example_12.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "clc\n", "clear\n", "//DATA GIVEN\n", "p=10; //pressure of steam, p1=p2 in bar\n", "x1=0.85; //dryness fraction\n", "V1=0.15; //volume of steam in m^3\n", "Tsup2=300+273; //temp. of steam in K\n", "Cps=2.2; //specific heat of steam in kJ/kgK\n", "\n", "//At 10 bar, from steam tables\n", "vg1=0.194; //m^3/kg\n", "hfg1=2013.6; //kJ/kg\n", "Ts1=179.9+273; //in K\n", "m=V1/(x1*vg1); //mass of steam in kg\n", "hnet=(1-x1)*hfg1+Cps*(Tsup2-Ts1); //heat supplied per kg of steam\n", "Htotal=m*hnet; //total heat supplied\n", "\n", "//External work done during the process We=p*(vsup2-x*vg1)\n", "//since p1=p2=p, \n", "//vg1/Ts1=vsup2/Tsup2\n", "vsup2=vg1*Tsup2/Ts1;\n", "We=p*10^5*(vsup2-x1*vg1)*10^-3;\n", "hp=We/hnet; //% of total heat supplied (per kg) which appears as external work\n", "\n", "printf(' (i) The Total heat supplied is: %3.1f kJ. \n',Htotal);\n", "printf(' (ii) The Percentage of total heat supplied (per kg) which appears as external work is: %2.1f percent. \n',(hp*100));" ] } , { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 4.13: Example_13.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "clc\n", "clear\n", "//DATA GIVEN\n", "p=18; //pressure of steam\n", "x=0.85; //dryness fraction\n", "\n", "//At 18 bar, from steam tables\n", "hf=884.6; //kJ/kg\n", "hfg=1910.3; //kJ/kg\n", "vg=0.110; //m^3/kg\n", "uf=883; //kJ/kg\n", "ug=2598; //kJ/kg\n", "\n", "v=x*vg; //specific volume of wet steam\n", "h=hf+x*hfg; //specific enthalpy of wet steam\n", "u=(1-x)*uf+x*ug; //specific internal energy of wet steam\n", "\n", "printf(' (i) The Specific volume v is: %1.4f m^3/kg. \n',v);\n", "printf(' (ii) The Specific enthalpy h is: %4.2f kJ/kg. \n',h);\n", "printf('(iii) The Specific internal energy u is: %4.2f kJ/kg. \n',u);" ] } , { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 4.14: Example_14.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "clc\n", "clear\n", "//DATA GIVEN\n", "p=7; //pressure of steam\n", "h=2550; //enthalpy of steam\n", "\n", "//At 7 bar, from steam tables\n", "hf=697.1; //kJ/kg\n", "hfg=2064.9; //kJ/kg\n", "vg=0.273; //m^3/kg\n", "uf=696; //kJ/kg\n", "ug=2573; //kJ/kg\n", "\n", "hg=hf+hfg;\n", "//At 7 bar, hg=2762 kJ/kg, hence since actual enthalpy is given as 2550 kJ/kg, the steam must be in wet vapour state\n", "//specific enthalpy of wet steam, h=hf+x*hfg\n", "x=(h-hf)/hfg; //dryness fraction\n", "v=x*vg; //specific volume of wet steam\n", "u=(1-x)*uf+x*ug; //specific internal energy of wet steam\n", "\n", "printf(' (i) The Dryness fraction x is: %1.3f. \n',x);\n", "printf(' (ii) The Specific volume v is: %1.4f m^3/kg. \n',v);\n", "printf('(iii) The Specific internal energy u is: %4.2f kJ/kg. \n',u);" ] } , { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 4.15: Example_15.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "clc\n", "clear\n", "//DATA GIVEN\n", "p=120; //pressure of steam\n", "v=0.01721; //specific volume of steam\n", "\n", "//At 120 bar, from steam tables\n", "vg=0.0143; //m^3/kg\n", "//since vg