summaryrefslogtreecommitdiff
path: root/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter7.ipynb
blob: 5639c996ef2c423181d93e0d0b10cdb296c0e47b (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:4bf0487ef61060d74c76e88260cd9371bbf64a818ec5d960914c1be96c7eb7a6"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Ch-7, Thermal Power Plants"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "example7.1 Page 127"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "pow=100*10**6\n",
      "calv=6400\n",
      "threff=0.3\n",
      "elceff=0.92\n",
      "kcal=0.239*10**-3\n",
      "eo=pow*3600\n",
      "ei=eo/(threff*elceff)\n",
      "eikc=ei*kcal\n",
      "colreq=eikc/6400\n",
      "print \" energy output in 1 hour is %eWatt.sec \"%eo\n",
      "print \"\\n energy input in one hour is %ejoules Watt.sec\\n\"%ei\n",
      "print \" energy input in 1 hour is %ekcal.\"%eikc\n",
      "print \"\\n coal required is %.3fkg per hour\"%colreq"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " energy output in 1 hour is 3.600000e+11Watt.sec \n",
        "\n",
        " energy input in one hour is 1.304348e+12joules Watt.sec\n",
        "\n",
        " energy input in 1 hour is 3.117391e+08kcal.\n",
        "\n",
        " coal required is 48709.239kg per hour\n"
       ]
      }
     ],
     "prompt_number": 9
    }
   ],
   "metadata": {}
  }
 ]
}