summaryrefslogtreecommitdiff
path: root/rewrew_by_J._B._Gupta/aviral.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-10-03 23:30:50 +0600
committerTrupti Kini2016-10-03 23:30:50 +0600
commita83bd28f0f2ede4c5ff0fabceef738b1b7cd4147 (patch)
treebb16b62c062d990790d0f0329bf1a39ee414f721 /rewrew_by_J._B._Gupta/aviral.ipynb
parent35ad114063db70a8ecae0bf3db27bc3d94f91edf (diff)
downloadPython-Textbook-Companions-a83bd28f0f2ede4c5ff0fabceef738b1b7cd4147.tar.gz
Python-Textbook-Companions-a83bd28f0f2ede4c5ff0fabceef738b1b7cd4147.tar.bz2
Python-Textbook-Companions-a83bd28f0f2ede4c5ff0fabceef738b1b7cd4147.zip
Added(A)/Deleted(D) following books
A f_by_df/abhishek.ipynb A f_by_df/abhishek_1.ipynb A f_by_df/screenshots/anshul.png A f_by_df/screenshots/blank1.png A f_by_df/screenshots/blog.png A f_by_df/screenshots/sai.png A f_by_df/screenshots/snippet1.png A f_by_df/screenshots/srinivas.png A hfgd_by_Gayakwad/README.txt A hfgd_by_Gayakwad/abhishek.ipynb A hfgd_by_Gayakwad/screenshots/anshul.png A hfgd_by_Gayakwad/screenshots/anshul_1.png A hfgd_by_Gayakwad/screenshots/anshul_2.png A rewrew_by_J._B._Gupta/README.txt A rewrew_by_J._B._Gupta/aviral.ipynb A rewrew_by_J._B._Gupta/screenshots/array_factor.png A rewrew_by_J._B._Gupta/screenshots/book.png A rewrew_by_J._B._Gupta/screenshots/error.png A sample_notebooks/JeevanLal/aditya.ipynb
Diffstat (limited to 'rewrew_by_J._B._Gupta/aviral.ipynb')
-rw-r--r--rewrew_by_J._B._Gupta/aviral.ipynb146
1 files changed, 146 insertions, 0 deletions
diff --git a/rewrew_by_J._B._Gupta/aviral.ipynb b/rewrew_by_J._B._Gupta/aviral.ipynb
new file mode 100644
index 00000000..5780e6b5
--- /dev/null
+++ b/rewrew_by_J._B._Gupta/aviral.ipynb
@@ -0,0 +1,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
+}