summaryrefslogtreecommitdiff
path: root/sample_notebooks/AviralYadav/Chapter5.ipynb
blob: 5780e6b54d9c64327d04e414fbc191d13b21bf48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Chapter 5:INTRODUCTION TO THERMAL POWER PLANT"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex5.1:pg-271"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "The coal required per hour,W= 50.95  tons/hr\n"
     ]
    }
   ],
   "source": [
    "# Example 5_1\n",
    " \n",
    "# Given data\n",
    "P=100.0;# Plant capacity in Mw\n",
    "CV=25600.0;# Calorific value in kJ/kg\n",
    "n_th=30.0;# The thermal efficiency of the plant in %\n",
    "n_eg=92.0;# Electrical generation efficiency in %\n",
    "\n",
    "# Calculation\n",
    "# Mechanical energy available=W*CV*(n_th/100) in kJ/hr\n",
    "# Electrical energy available=W*CV*(n_th/100)*(n_eg/100) in kJ/hr\n",
    "q_e=P*10**3*3600;# Heat equivalent in kJ/hr\n",
    "W=(q_e/(CV*(n_th/100)*(n_eg/100)));# The coal required per hour in kg/hr\n",
    "W=(W/1000);# The coal required per hour in tons/hr\n",
    "print \"\\nThe coal required per hour,W=\",round(W,2),\" tons/hr\"\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex5.2:pg-273"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      " The capacity of the power plant,P= 62.05  MW\n"
     ]
    }
   ],
   "source": [
    "# Example 5_2\n",
    " \n",
    "# Given data\n",
    "CV=28900.0;#kJ/kg\n",
    "n_b=83.0;# The boiler efficiency in %\n",
    "n_t=32.0;# The turbine efficiency in %\n",
    "n_g=97.0;# The generator efficiency in %\n",
    "W=30.0;# The coal consumption of the station in tons/hr\n",
    "\n",
    "# Calculation\n",
    "P=((W*1000*CV)*(n_b/100)*(n_t/100)*(n_g/100))/(3600*1000);# The capacity of the power plant in MW\n",
    "print \"\\n The capacity of the power plant,P=\",round(P,2),\" MW\"\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex5.3:pg-273"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The volume of gas required per hour,V= 450.0  m**3/hr\n"
     ]
    }
   ],
   "source": [
    "#Example 5_3\n",
    "\n",
    "# Given values\n",
    "P=100.0;# Power in kW\n",
    "CV=4000.0;# Calorific value in kJ/m**3\n",
    "n_o=0.20;# Over all efficiency of the plant\n",
    "\n",
    "# Calculation\n",
    "V=(3600*P)/(CV*n_o);# m**3/hr\n",
    "print \"The volume of gas required per hour,V=\",round(V,2),\" m**3/hr\"\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}