summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Generation_Distribution_and_Utilization_of_Electrical_Energy_by_C._L._Wadhwa/README.txt10
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chaper12.ipynb343
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter10.ipynb674
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter11.ipynb140
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter13.ipynb522
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter14.ipynb907
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter15.ipynb495
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb359
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter2.ipynb935
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter20.ipynb158
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter23.ipynb177
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter3.ipynb525
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter4.ipynb1202
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter5.ipynb406
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter7.ipynb68
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter8.ipynb416
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter9.ipynb296
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/EnergyLoadnMassCurve.pngbin0 -> 27727 bytes
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadCurve2.pngbin0 -> 18008 bytes
-rw-r--r--Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadDurnECur.pngbin0 -> 14511 bytes
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter11_Control_of_DC_Motors.ipynb402
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter12_Controllers_and_Their_Optimisation.ipynb362
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter13_Choppers_and_Transportation_system_Application.ipynb304
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter15_The_AC_motor_control.ipynb623
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter16_Faults_and_Protection.ipynb281
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter3_Fabrication_and_Thermal_characteristics.ipynb213
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter4_Series_and_Parallel_Connection_of_Thyristors.ipynb106
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter5_Line_Commutated_converters.ipynb349
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter7_Inverter_Circuits.ipynb138
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter8_Harmonic_and_PowerFactor_with_the_converter_system.ipynb457
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter_2_The_Device_.ipynb250
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/11.pngbin0 -> 366080 bytes
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/13.pngbin0 -> 77888 bytes
-rw-r--r--Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/8.pngbin0 -> 395823 bytes
-rw-r--r--Turbomachines_by_A._V._Arasu/README.txt10
-rw-r--r--sample_notebooks/UmangAgarwal/Sample_Notebook_Umang.ipynb163
-rw-r--r--sample_notebooks/Vishwajith VRao/Chapter1_1.ipynb2750
37 files changed, 14041 insertions, 0 deletions
diff --git a/Generation_Distribution_and_Utilization_of_Electrical_Energy_by_C._L._Wadhwa/README.txt b/Generation_Distribution_and_Utilization_of_Electrical_Energy_by_C._L._Wadhwa/README.txt
new file mode 100644
index 00000000..531d9aa3
--- /dev/null
+++ b/Generation_Distribution_and_Utilization_of_Electrical_Energy_by_C._L._Wadhwa/README.txt
@@ -0,0 +1,10 @@
+Contributed By: Saleem Ahmed
+Course: btech
+College/Institute/Organization: UKTU
+Department/Designation: EN
+Book Title: Generation Distribution and Utilization of Electrical Energy
+Author: C. L. Wadhwa
+Publisher: NEW AGE INTERNATIONAL PUBLISHERS LTD.-NEW DELHI
+Year of publication: 2010
+Isbn: 9788122428216
+Edition: 3 \ No newline at end of file
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chaper12.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chaper12.ipynb
new file mode 100644
index 00000000..e57b4fb8
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chaper12.ipynb
@@ -0,0 +1,343 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:b9d84b1a6a0dbb810fc6a5bae05f1ff37f6ce977a8c979c290e417ab5d5dbdef"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-12, Parallel Operation of alternators"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 12.1 Page 243"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=4000 #given kva of alternator\n",
+ "fnl1=50 #frequency on no load\n",
+ "fl1=47.5 #frequency on load\n",
+ "fnl2=50 #frequency on no load on second alternator\n",
+ "fl2=48 #frequency on load on second alternator\n",
+ "l=6000 #load given two to alternator\n",
+ "df1=fnl1-fl1 #change in 1 alternator frequency\n",
+ "df2=fnl2-fl2 #change in 2 alternator frequency\n",
+ "l1=df2*(l)/(df2+df1) #load on 1 alternator\n",
+ "print 'a'\n",
+ "l2=l-l1\n",
+ "print \" load on 1 alternator %.2fkW \\n load on 2 alternator %.2fkW\"%(l1,l2)\n",
+ "ml1=df2*p/df1 #load on 1 machine when machine 2 on full load\n",
+ "ll=ml1+p \n",
+ "print 'b'\n",
+ "print \" load supplied by machine 1 with full load on machine2 %dkW \\n total load is %dkW\"%(ml1,l1) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ " load on 1 alternator 2666.67kW \n",
+ " load on 2 alternator 3333.33kW\n",
+ "b\n",
+ " load supplied by machine 1 with full load on machine2 3200kW \n",
+ " total load is 2666kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 12.2 page 243"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt, atan, acos, pi, sin\n",
+ "l1=3000 #load on 1 machine\n",
+ "pf1=0.8 #pf on 1 machine\n",
+ "i2=150 #current on 2 machine\n",
+ "z1=0.4+12*1J #synchronour impedence\n",
+ "z2=0.5+10*1J\n",
+ "vt=6.6 #terminal voltage\n",
+ "al=l1/2 #active load on each machine\n",
+ "cosdb=al/(vt*i2*sqrt(3)) #cos db\n",
+ "db=acos(cosdb)*180/pi #angle in digree\n",
+ "ib=i2*complex(cosdb,-sin(db*pi/180)) #current in complex number\n",
+ "it=l1/(vt*pf1*sqrt(3)) #total current\n",
+ "itc=complex(it*pf1,-it*sin(acos(pf1))) #total current in complex\n",
+ "ia=itc-ib \n",
+ "pfa=atan(ia.imag/ia.real) #pf of current a\n",
+ "ea=(vt/sqrt(3))+ia*(z1)/1000 #voltage a\n",
+ "pha=atan(ea.imag/ea.real)*180/pi #phase angle of unit a\n",
+ "print \"induced emf of a machine a %.2f+%.2fi =%fkV per phase\"%(ea.real,ea.imag,abs(ea))\n",
+ "eb=(vt/sqrt(3))+ib*(z2)/1000 #voltage b\n",
+ "phb=atan(eb.imag/eb.real)*180/pi #phase angle of unit b\n",
+ "print \"\\ninduced emf of a machine b %.2f+%.2fi =%fkV per phase\"%(eb.real,eb.imag,abs(eb))"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "induced emf of a machine a 5.35+1.52i =5.565708kV per phase\n",
+ "\n",
+ "induced emf of a machine b 4.60+1.28i =4.776461kV per phase\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 12.3 Page 244"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import cos\n",
+ "e1=3000 ;ph1=20 ;e2=2900; ph2=0 #given induced emf of two machines\n",
+ "z1=2+20*1J ;z2=2.5+30*1J #impedence of two synchronous machine\n",
+ "zl=10+4*1J #load impedence\n",
+ "e11=e1*(cos(ph1*pi/180)+sin(ph1*pi/180)*1J)\n",
+ "e22=e2*(cos(ph2*pi/180)+sin(ph2*pi/180)*1J)\n",
+ "Is=(e11-e22)*zl/(z1*z2+(z1+z2)*zl)\n",
+ "print \"current is %.2f%.2fiA =%.2fA\"%((Is).real,(Is).imag,abs(Is))"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current is 10.37-4.56iA =11.33A\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 12.4 Page 244"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "z=10+5*1J #load\n",
+ "e1=250 ;e2=250 #emf of generator\n",
+ "z1=2*1J; z2=2*1J #synchronous impedence\n",
+ "v=(e1*z2+z1*e2)/((z1*z2/z)+z1+z2) \n",
+ "vph=atan(v.imag/v.real)*180/pi #substitution the value in equation 12.10\n",
+ "i1=(z2*e1+(e1-e2)*z)/(z1*z2+(z1+z2)*z); iph=atan((i1).imag/(i1).real)*180/pi #substitution the value in equation 12.7\n",
+ "pf1=cos(pi/180*(vph-iph))\n",
+ "pd=v*i1*pf1\n",
+ "z=10+5*1J #load\n",
+ "e1=250 ;e2=250 #emf of generator\n",
+ "z1=2*1J; z2=2*1J #synchronous impedence\n",
+ "v=(e1*z2+z1*e2)/((z1*z2/z)+z1+z2) \n",
+ "vph=atan(v.imag/v.real)*180/pi #substitution the value in equation 12.10\n",
+ "i1=(z2*e1+(e1-e2)*z)/(z1*z2+(z1+z2)*z) \n",
+ "iph=atan(i1.imag/i1.real)*180/pi #substitution the value in equation 12.7\n",
+ "pf1=cos(pi/180*(vph-iph))\n",
+ "pd=v*i1*pf1\n",
+ "print \"terminal voltage %.2fV \\ncurrent supplied by each %.2fA \\npower factor of each %.3f lagging \\npower delivered by each %.4fKW\"%(abs(v),abs(i1),abs(pf1),abs(pd))"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "terminal voltage 239.68V \n",
+ "current supplied by each 10.72A \n",
+ "power factor of each 0.894 lagging \n",
+ "power delivered by each 2297.7941KW\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 12.5 Page 247"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "po=5 #mva rating\n",
+ "v=10 #voltage in kv\n",
+ "n=1500 ;ns=n/60 #speed\n",
+ "f=50 #freaquency\n",
+ "pfb=0.8#power factor in b\n",
+ "x=0.2*1J #reactance of machine\n",
+ "md=0.5 #machanical displacement\n",
+ "#no load\n",
+ "v=1 ;e=1 \n",
+ "p=4\n",
+ "spu=v*e/abs(x); sp=spu*po*1000 ;mt=(pi*p)/(180*2)\n",
+ "spm=sp*mt #synchronous power in per mech.deree\n",
+ "st=spm*md*1000/(2*ns*pi)\n",
+ "print '(a)'\n",
+ "print \" synchronous power %dkW \\n synchronous torque for %.1f displacement %dN-M\"%(spm,md,st)\n",
+ "print '(b) full load'\n",
+ "ee=e+x*(pfb-sin(acos(pfb))*1J)\n",
+ "spb=v*abs(ee)*cos(atan(ee.imag/ee.real))/abs(x) #synchronous power \n",
+ "sppm=spb*po*1000*mt #synchronous power per mech.degree\n",
+ "stp=sppm*md*1000/(2*pi*ns)#synchrounous torque under load\n",
+ "print \" synchronous power %dkW \\n synchronous torque for %.1f displacement %dN-M\"%(sppm,md,stp)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ " synchronous power 872kW \n",
+ " synchronous torque for 0.5 displacement 2777N-M\n",
+ "(b) full load\n",
+ " synchronous power 977kW \n",
+ " synchronous torque for 0.5 displacement 3111N-M\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 12.6 page 248"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "po=2*10**6 ;p=8 ;n=750; v=6000 ;x=6*1J ;pf=0.8 #given \n",
+ "i=po/(v*sqrt(3))\n",
+ "e=(v/sqrt(3))+i*x*(pf-sin(acos(pf))*1J)\n",
+ "mt=p*pi/(2*180)\n",
+ "cs=cos(atan(e.imag/e.real))\n",
+ "ps=abs(e)*v*sqrt(3)*cs*mt/(1000*abs(x))\n",
+ "ns=n/60\n",
+ "ts=ps*1000/(2*pi*ns)\n",
+ "print \" synchronous power %.1fkW per mech.degree \\n synchrounous torque %dN-m\"%(ps,ts)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " synchronous power 502.7kW per mech.degree \n",
+ " synchrounous torque 6666N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 12.7 page 248"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "i=100 ;pf=-0.8 ;v=11*1000 ;x=4*1J ;ds=10; pfc=-0.8 #given,currents,power factor,voltage,reactance,delta w.r.t steem supply,pf of alternator\n",
+ "e=(v/sqrt(3))+(i*x*(pf-sin(acos(pf))*1J))\n",
+ "print 'a'\n",
+ "ph=atan(e.imag/e.real)*180/pi\n",
+ "print \" open circuit emf %dvolts per phase and %.2f degree\"%(abs(e),ph)\n",
+ "d=ds-ph\n",
+ "eee=round(abs(e)/100)*100\n",
+ "ic=round(abs(eee)*sin(d*pi/180)/abs(x))\n",
+ "iis=(eee**2-(abs(x)*ic)**2)**(0.5)\n",
+ "Is=(iis-v/sqrt(3))/abs(x)\n",
+ "tad=Is/ic\n",
+ "d=atan(tad)*180/pi\n",
+ "ii=ic/cos(d*pi/180)\n",
+ "pff=cos(d*pi/180)\n",
+ "print 'b.'\n",
+ "print \" current %.1fA \\n power factor %.3f\"%(ii,pff)\n",
+ "print 'c.'\n",
+ "ia=ii*pff/abs(pfc)\n",
+ "print \"current %.2fA\"%(ia)\n",
+ "\n",
+ "ia=ii*pff/abs(pfc)\n",
+ "print \"current %.2fA\"%(ia)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ " open circuit emf 6598volts per phase and -2.78 degree\n",
+ "b.\n",
+ " current 365.6A \n",
+ " power factor 0.998\n",
+ "c.\n",
+ "current 456.25A\n",
+ "current 456.25A\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter10.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter10.ipynb
new file mode 100644
index 00000000..cdaa827a
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter10.ipynb
@@ -0,0 +1,674 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:b75473f9f4345efd6ca0ec6782f30e07c9e95389ed3851945260a1b3129ea6b2"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-10, Economic Operations of Steam Plants"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.2 Page 193"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "mp=250 #from example 10.1\n",
+ "def unit1(p1):\n",
+ " ic=0.2*p1+30\n",
+ " return ic\n",
+ "def unit2(p2):\n",
+ " ic=0.15*p2+40\n",
+ " return ic\n",
+ "mil=20\n",
+ "ttt=225\n",
+ "def un(ic):\n",
+ " p1=(ic-30)/0.2\n",
+ " p2=(ic-40)/0.15\n",
+ " return [p1, p2]\n",
+ "from numpy import arange\n",
+ "for x in arange(40,61,5):\n",
+ " [e,r]=un(x)\n",
+ " if ttt==e+r:\n",
+ " print \"for the same incremental costs unit1 should supply %dMW and unit 2 shold supply %dMW,for equal sharing each unit should supply %3.1fMW\"%(e,r,ttt/2)\n",
+ " break\n",
+ " \n",
+ "\n",
+ "opo=ttt/2\n",
+ "from sympy.mpmath import quad\n",
+ "u1=quad(unit1,[opo,e])\n",
+ "u2=quad(unit2,[r,opo])\n",
+ "uuu=(u1+u2)*8760\n",
+ "print \"\\nyearly extra cost is (%3.2f-%3.2f)8760 =%dper year\"%(u1,u2,uuu)\n",
+ "print \"\\nthis if the load is equally shared by the two units an extra cost of Rs.%d will be incurred.in other words economic loading would result in saving of Rs.%dper year\"%(uuu,uuu)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "for the same incremental costs unit1 should supply 125MW and unit 2 shold supply 100MW,for equal sharing each unit should supply 112.0MW\n",
+ "\n",
+ "yearly extra cost is (698.10-670.80)8760 =11991564per year\n",
+ "\n",
+ "this if the load is equally shared by the two units an extra cost of Rs.11991564 will be incurred.in other words economic loading would result in saving of Rs.11991564per year\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.3 Page 198"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "def unit1(p1):\n",
+ " ic=0.2*p1+30\n",
+ " return ic\n",
+ "def unit2(p2):\n",
+ " ic=0.15*p2+40\n",
+ " return ic\n",
+ "tol=400\n",
+ "pd=50\n",
+ "u1c=5\n",
+ "u2c=1/0.15#from example10_1\n",
+ "p1pd=u1c/(u1c+u2c)\n",
+ "p2pd=u2c/(u1c+u2c)\n",
+ "pi=p1pd*pd\n",
+ "pt=p2pd*pd\n",
+ "print \"p1=%1.5fMW\\np2=%1.5fMW\"%(pi,pt)\n",
+ "p11=pi+tol/2\n",
+ "p22=pt+tol/2\n",
+ "up1=unit1(p11)\n",
+ "up2=unit2(p22)\n",
+ "print \"\\nthe total load on 2 units would be %3.2fMW and %3.2fMW respectevily. it is easy to check that incremental cost will be same for two units at these loading.\\n incremental cost of unit1 is %3.2fRs.MW,\\n incremantal cost of unit 2 is %3.2fRs./MW\"%(p11,p22,up1,up2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "p1=21.42857MW\n",
+ "p2=28.57143MW\n",
+ "\n",
+ "the total load on 2 units would be 221.43MW and 228.57MW respectevily. it is easy to check that incremental cost will be same for two units at these loading.\n",
+ " incremental cost of unit1 is 74.29Rs.MW,\n",
+ " incremantal cost of unit 2 is 74.29Rs./MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example10.5 Page 200"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "i1=0.8\n",
+ "i2=1.0\n",
+ "l1=complex(0.04,0.12)\n",
+ "l2=complex(0.03,0.1)\n",
+ "l3=complex(0.03,0.12)\n",
+ "vl=1\n",
+ "\n",
+ "i3=i1+i2\n",
+ "v1=vl+i3*(l1)+i1*(l2)\n",
+ "v2=vl+i3*(l1)+i2*(l3)\n",
+ "p1=(i1*v1).real\n",
+ "p2=(i2*v2).real\n",
+ "cos1=(v1).real/abs(v1)\n",
+ "cos2=(v2).real/abs(v2)\n",
+ "b11=abs(((l1).real+(l2).real)/(v1**2*cos1**2))\n",
+ "b22=abs(((l1).real+(l3).real)/(v2**2*cos2**2))\n",
+ "b12=abs(((l1).real/(v1*v2*cos1*cos2)))\n",
+ "pl=(p1**2)*b11+(p2**2)*b22+2*p1*p2*b12\n",
+ "print \"i1+i3=%dpu\\nv1=%1.3f+%1.3fp.u\\nv2=%1.3f+%1.3fp.u\\np1=%1.3fp.u\\np2=%1.3fp.u\\ncos(ph1)=%1.3f\\ncos(ph2)=%1.3f\\nb11=%1.5fp.u\\nb22=%1.5fp.u\\nb12=%1.5fp.u\\npl=%1.6fp.u\"%(i3,v1.real,(v1).imag,v2.real,(v2).imag,p1,p2,cos1,cos2,b11,b22,b12,pl)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i1+i3=1pu\n",
+ "v1=1.096+0.296p.u\n",
+ "v2=1.102+0.336p.u\n",
+ "p1=0.877p.u\n",
+ "p2=1.102p.u\n",
+ "cos(ph1)=0.965\n",
+ "cos(ph2)=0.957\n",
+ "b11=0.05827p.u\n",
+ "b22=0.05764p.u\n",
+ "b12=0.03312p.u\n",
+ "pl=0.178800p.u\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example10.7 Page 206"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import atan, cos\n",
+ "za=complex(0.03,0.09)\n",
+ "zb=complex(0.1,0.3)\n",
+ "zc=complex(0.03,0.09)\n",
+ "zd=complex(0.04,0.12)\n",
+ "ze=complex(0.04,0.12)\n",
+ "ia=complex(1.5,-0.4)\n",
+ "ib=complex(0.5,-0.2)\n",
+ "ic=complex(1,-0.1)\n",
+ "id=complex(1,-0.2)\n",
+ "ie=complex(1.5,-0.3)\n",
+ "il1=.4\n",
+ "il2=.6\n",
+ "na1=1 ;nb1=0.6; nc1=0; nd1=.4; ne1=.6\n",
+ "na2=0 ;nb2=-0.4; nc2=1 ;nd2=.4; ne2=.6\n",
+ "vl=1\n",
+ "#some thing is messed\n",
+ "v1=vl+za*ia\n",
+ "v2=vl-zb*ib+zc*ic\n",
+ "a1=atan((ia).imag/(ia).real)\n",
+ "a2=atan((ic).imag/(ic).real)\n",
+ "cosa=cos(a1-a2)\n",
+ "cosph1=cos(atan((v1).imag/(v1).real)-a1)\n",
+ "cosph2=cos(atan((v2).imag/(v2).real)-a2)\n",
+ "b11=(na1**2*(za).real+nb1**2*(zb).real+nc1**2*(zc).real+nd1**2*(zd).real+ne1**2*(ze).real)/(abs(v1)**2*cosph1)\n",
+ "b22=(na2**2*(za).real+nb2**2*(zb).real+nc2**2*(zc).real+nd2**2*(zd).real+ne2**2*(ze).real)/((abs(v2)**2)*cosph2)\n",
+ "bb12=(abs(v1)*abs(v2)*cosph1*cosph2)\n",
+ "ab12=(na2*na1*(za).real+nb2*nb1*(zb).real+nc1*nc2*(zc).real+nd2*nd1*(zd).real+ne2*ne1*0.03)\n",
+ "b12=cosa*ab12/bb12\n",
+ "print \"bus voltages at 2 buses are \\nv1=%1.3f+i%1.3f,\\nv2=%1.3f+i%1.3f\"%((v1).real,(v1).imag,(v2).real,(v2).imag)\n",
+ "print \"\\nloss coffecients are \\nb11=%1.5fp.u\\nb22=%1.5fp.u\\nb12=%1.5fp.u \\n\"%(b11,b22,b12)\n",
+ "print \"loss coffecients in actual values is \\nb11=%eM(W)-1\\nb22=%eM(W)-1\\nb12=%eM(W)-1\\n\"%(b11/100,b22/100,b12/100)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "bus voltages at 2 buses are \n",
+ "v1=1.081+i0.123,\n",
+ "v2=0.929+i-0.043\n",
+ "\n",
+ "loss coffecients are \n",
+ "b11=0.07877p.u\n",
+ "b22=0.07735p.u\n",
+ "b12=-0.00714p.u \n",
+ "\n",
+ "loss coffecients in actual values is \n",
+ "b11=7.877236e-04M(W)-1\n",
+ "b22=7.734557e-04M(W)-1\n",
+ "b12=-7.136298e-05M(W)-1\n",
+ "\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.8 Page 207"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "r1=22 ;r2=30 ;q1=0.2 ;q2=0.15\n",
+ "b22=0; b12=0 ;p1=100 ;pl=15#transmission losses are 0\n",
+ "b11=pl/(p1)**2\n",
+ "def power(x): #mathematical computation\n",
+ " p1=(x-r1)/(q1+2*b11*x)\n",
+ " p2=(x-r2)/q2\n",
+ " return [p1, p2]\n",
+ "[a,b]=power(60)\n",
+ "print \"l1=1/(1-%.3f*p1)\\nl2=[1/(1-0)]=1\\ngiven lamda=60\\nsince ic1*l1=lamda ic2*l2=lamda\\ntotal load=%dMW\"%(b11*2,a+b-(b11*a**2))"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "l1=1/(1-0.000*p1)\n",
+ "l2=[1/(1-0)]=1\n",
+ "given lamda=60\n",
+ "since ic1*l1=lamda ic2*l2=lamda\n",
+ "total load=390MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.9 Page 208"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "r1=22 ;r2=30 ;q1=0.2 ;q2=0.15\n",
+ "b22=0; b12=0 ;p1=100 ;pl=15#transmission losses are 0\n",
+ "b11=pl/(p1)**2\n",
+ "def power(x): #mathematical computation\n",
+ " p1=(x-r1)/(q1+2*b11*x)\n",
+ " p2=(x-r2)/q2\n",
+ " return [p1,p2]\n",
+ "[a,b]=power(60)\n",
+ "pt=a+b-(b11*a**2)\n",
+ "from sympy.mpmath import quad\n",
+ "#z=quad('q1*u+r1','u',a,161.80)\n",
+ "z=quad(lambda u:q1*u+r1,[a,161.80])\n",
+ "#y=quad('q2*v+r2','v',b,162.5)\n",
+ "y=quad(lambda v:q2*v+r2,[b,162.5])\n",
+ "m=z+y\n",
+ "print \"net change in cost =Rs.%dper hour\"%(m)\n",
+ "print \"\\nthus scheduling the generation by taking transmission losses into account would mean a saving of Rs.%dper hour in fuel cost\"%(m)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "net change in cost =Rs.-3757per hour\n",
+ "\n",
+ "thus scheduling the generation by taking transmission losses into account would mean a saving of Rs.-3757per hour in fuel cost\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.10 Page 208"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "b11=0.001\n",
+ "b12=-0.0005\n",
+ "b22=0.0024\n",
+ "q1=0.08\n",
+ "r1=16\n",
+ "q2=0.08\n",
+ "r2=12\n",
+ "lamda=20\n",
+ "\n",
+ "p2=0\n",
+ "for x in range(1,5):\n",
+ " p1=(1-(r1/lamda)-(2*p2*b12))/((q1/lamda)+2*b11)\n",
+ " p2=(1-(r2/lamda)-(2*p1*b12))/((q2/lamda)+2*b22)\n",
+ "\n",
+ "pl=b11*p1**2+2*b12*p1*p2+b22*p2**2\n",
+ "pr=p1+p2-pl\n",
+ "print \"p1=%2.1fMW,p2=%2.1fMW\\npl=%1.1fMW\\npower recevied %2.1fMW\"%(p1,p2,pl,pr)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "p1=189.2MW,p2=135.1MW\n",
+ "pl=54.1MW\n",
+ "power recevied 270.3MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.11 Page 209"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "a1=561 ;b1=7.92 ;c1=0.001562\n",
+ "a2=310 ;b2=7.85 ;c2=0.00194\n",
+ "ce=c1*c2/(c1+c2)\n",
+ "print \"ce=%e\"%(ce)\n",
+ "be=((b1/c1)+(b2/c2))*ce\n",
+ "print \"be=%1.4f\"%(be)\n",
+ "ae=a1-((b1**2)/4*c1)+a2-((b2**2)/4*c2)+((be**2)/4*ce)\n",
+ "print \"ae=%3.3f \\ncost characteristics of composite unit for demand pt is \\nct=%3.3f+%1.4f*p1+%ep1**2\"%(ae,ae,be,ce)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ce=8.652998e-04\n",
+ "be=7.8888\n",
+ "ae=870.959 \n",
+ "cost characteristics of composite unit for demand pt is \n",
+ "ct=870.959+7.8888*p1+8.652998e-04p1**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.12 Page 210"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "a1=7700 ;b1=52.8 ;c1=5.5*10**-3\n",
+ "a2=2500; b2=15 ;c2=0.05#given eqution\n",
+ "plo=200 ;pup=800\n",
+ "ct=1000\n",
+ "l=[500,900,1200,500] ;t=[6, 16 ,20 ,24]#from given graph\n",
+ "def cost(y):\n",
+ " p1=(2*c2*y-(b1-b2))/(2*(c1+c2))\n",
+ " p2=y-p1\n",
+ " return [p1,p2]\n",
+ "ma=max(l)\n",
+ "mi=min(l)\n",
+ "for x in range(0,3):\n",
+ " [e ,g]=cost(l[x])\n",
+ " if e<plo or g<plo or e>pup or g>pup:\n",
+ " if e<plo or g<plo:\n",
+ " v=min(e,g)\n",
+ " [u for u, j in enumerate((e,g)) if j == v]\n",
+ " if u==0:\n",
+ " e=plo\n",
+ " g=l(x)-e\n",
+ " else:\n",
+ " g=plo\n",
+ " e=l[x]-g\n",
+ " \n",
+ " \n",
+ "print \"\\np1=%3.2fMW\\tp2=%3.2fMW\"%(e,g)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "p1=1000.00MW\tp2=200.00MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.13 Page 211"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "a1=2000 ;b1=20 ;c1=0.05; p1=350; p2=550\n",
+ "a2=2750 ;b2=26 ;c2=0.03091\n",
+ "def cost(a,b,c,p):\n",
+ " co=a+b*p+c*p**2\n",
+ " return co\n",
+ "print \"(a)\"\n",
+ "toco=cost(a1,b1,c1,p1)+cost(a2,b2,c2,p2)\n",
+ "print \"total cost when each system supplies its own load Rs%.3f per hour\"%(toco)\n",
+ "l=p1+p2\n",
+ "p11=(b2-b1+2*c2*l)/(2*(c1+c2))\n",
+ "p22=l-p11\n",
+ "totco=cost(a1,b1,c1,p11)+cost(a2,b2,c2,p22)\n",
+ "sav=toco-totco\n",
+ "tilo=p11-p1\n",
+ "print \"(b)\"\n",
+ "print \"\\n total cost when load is supplied in economic load dispatch method Rs%d per hour \\n saving %.3f \\n tie line load %.3f MW\"%(totco,sav,tilo)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "total cost when each system supplies its own load Rs41525.275 per hour\n",
+ "(b)\n",
+ "\n",
+ " total cost when load is supplied in economic load dispatch method Rs41447 per hour \n",
+ " saving 77.277 \n",
+ " tie line load 30.905 MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example10.14 Page 212"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "a1=5000 ;b1=450 ;c1=0.5 #for system 1 \n",
+ "e1=0.02 ;e2=-0.02#error\n",
+ "a1c=a1*(1-e1); b1c=b1*(1-e1) ;c1c=c1*(1-e1)\n",
+ "a2c=a1*(1-e2) ;b2c=b1*(1-e2) ;c2c=c1*(1-e2)\n",
+ "tl=200\n",
+ "def cost(a,b,c,p):\n",
+ " co=a+b*p+c*p**2\n",
+ " return co\n",
+ "p11=(b2c-b1c+2*c2c*tl)/(2*(c1c+c2c))\n",
+ "p22=tl-p11\n",
+ "totco=cost(a1c,b1c,c1c,p11)+cost(a2c,b2c,c2c,p22)\n",
+ "print \"\\npower at station 1 is %dMW \\t power at station 2 is %dMW \\n total cost on economic critieria method Rs%d per hour\"%(p11,p22,totco)\n",
+ "tocoe=cost(a1c,b1c,c1c,tl/2)+cost(a2c,b2c,c2c,tl/2)\n",
+ "eop=tocoe-totco\n",
+ "print \"\\nextra operating cost due to erroneous scheduling Rs.%d per hour\"%(eop)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "power at station 1 is 111MW \t power at station 2 is 89MW \n",
+ " total cost on economic critieria method Rs109879 per hour\n",
+ "\n",
+ "extra operating cost due to erroneous scheduling Rs.121 per hour\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.16 Page 215"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "ia=32 ;ib=32 ;ic=1.68; f=10**5\n",
+ "wt=18; rt=24-wt\n",
+ "p=30\n",
+ "def inpu(a,b,c,f,t,p):\n",
+ " In=(a+b*p+c*p**2)*f*t\n",
+ " return In\n",
+ "hi1=inpu(ia,ib,ic,f,wt,p); hi2=inpu(ia,ib,ic,f,rt,p/2)\n",
+ "print \"(a)\"\n",
+ "print \"for full load condition for %d hours is %ekj \\n for half load condition for%d s %ekj \\n total load %ekj\"%(wt,hi1,rt,hi2,hi1+hi2)\n",
+ "print \"(b)\"\n",
+ "te=p*wt+(p/2)*rt\n",
+ "ul=te/24\n",
+ "hin=inpu(ia,ib,ic,f,24,ul)\n",
+ "sav=hi1+hi2-hin\n",
+ "savp=sav/(te*1000)\n",
+ "print \"\\n total energy produced\\t%dMW \\n unifor load\\t%dMW \\n heat input under uniform load condition %ekj \\n saving in heat energy %ekj \\n saving in heat energy per kWh %dkj/kWh\"%(te,ul,hin,sav,savp)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "for full load condition for 18 hours is 4.507200e+09kj \n",
+ " for half load condition for6 s 5.340000e+08kj \n",
+ " total load 5.041200e+09kj\n",
+ "(b)\n",
+ "\n",
+ " total energy produced\t630MW \n",
+ " unifor load\t26MW \n",
+ " heat input under uniform load condition 4.799232e+09kj \n",
+ " saving in heat energy 2.419680e+08kj \n",
+ " saving in heat energy per kWh 384kj/kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 10.17 Page 216"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "a1=450 ;b1=6.5 ;c1=0.0013\n",
+ "a2=300 ;b2=7.8 ;c2=0.0019\n",
+ "a3=80 ;b3=8.1 ;c3=0.005\n",
+ "tl=800#total load\n",
+ "ma = [600, 400, 200]\n",
+ "mi = [100, 50, 50]\n",
+ "d=np.mat([[1 ,1, 1] ,[2*c1, -2*c2, 0], [0, -2*c2, 2*c3]])\n",
+ "p=np.mat([[tl], [(b2-b1)], [(b2-b3)]]) \n",
+ "pp=(d**-1)*p #matrix inversion method\n",
+ "print \"\\nloads on generaating station by economic creatirian method isp1=%fMW,p2=%fMW,p3=%fMW\"%(pp[0],pp[1],pp[2])\n",
+ "for i in range(0,3):\n",
+ " if pp[i]<mi[i]:\n",
+ " pp[i]=mi[i]\n",
+ " \n",
+ " if pp[i]>mi[i]:\n",
+ " pp[i]=ma[i]\n",
+ " \n",
+ "\n",
+ "pp[1] = tl-pp[0] - pp[2]\n",
+ "print \"\\nloads on generating station under critical conditions p1=%dMW p2=%dMW p3=%dMW\"%(pp[0],pp[1],pp[2])"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "loads on generaating station by economic creatirian method isp1=669.734705MW,p2=116.134272MW,p3=14.131023MW\n",
+ "\n",
+ "loads on generating station under critical conditions p1=600MW p2=150MW p3=50MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter11.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter11.ipynb
new file mode 100644
index 00000000..60b17609
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter11.ipynb
@@ -0,0 +1,140 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:efee43f3cff9fdca8c69d559c1c84e6f19cd4b3e6da3711c7567d0790f5b7290"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-11, Hydro-Thermal Co-Ordination"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 11.2 Page 234"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "l1=700 ;t1=14 ;l2=500; t2=10\n",
+ "ac=24 ;bc=0.02#variables of cost equation\n",
+ "aw=6 ;bw=0.0025 #variables of watere quantity equation\n",
+ "b22=0.0005 #loss coefficient\n",
+ "r2=2.5\n",
+ "from numpy import arange, mat\n",
+ "lam=arange(1,40,0.001)\n",
+ "gg=1; q=1\n",
+ "for lam in arange(25,4,0.0010):\n",
+ " a=[2*bc, 0, 0, r2*bw*2+2*b22*lam]\n",
+ " b=[lam-ac ,lam-aw*r2]\n",
+ " p=inv(a)*b\n",
+ " g=round(p(1)+p(2))\n",
+ " l=round(l1+b22*p(2)**2)\n",
+ " lq=round(l2+b22*p(2)**2)\n",
+ " if g>=l:\n",
+ " print \"\\nfor load condition %dMW \\n then, \\n \\t lamda %f \\t p1=%fMW \\n \\t p2=%fMW \\t pl=%fMW\"%(l1,lam,p[0],p[1],2*b22*p[1])\n",
+ " break\n",
+ " #end\n",
+ "#end\n",
+ "for lam in arange(25,40,0.001):\n",
+ " a=mat([[2*bc ,0],[0, r2*bw*2+2*b22*lam]])\n",
+ " b=([[lam-ac] ,[lam-aw*r2]])\n",
+ " pq=(a**-1)*b\n",
+ " \n",
+ " g=round(pq[0]+pq[1])\n",
+ " lq=round(l2+b22*pq[1]**2)\n",
+ "\n",
+ " if g>=lq:\n",
+ " print \"\\nfor load condition %dMW \\n then, \\n \\t lamda %f \\t p1=%fMW \\n \\t p2=%fMW \\t pl=%fMW\"%(l2,lam,pq[0],pq[1],2*b22*pq[1])\n",
+ " break\n",
+ " #end\n",
+ "#end\n",
+ "dwu=[(aw+bw*p)*p*t1+t2*(aw+bw*pq[1])*pq[1]]*3600\n",
+ "doc=[(ac+bc*p)*p*t1+(ac+bc*pq[0])*pq[0]*t2]\n",
+ "print \"\\ndaily water used %fm**3 \\ndaily operating cost of thermal plant Rs%f\"%(dwu[0],doc[0])\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "for load condition 500MW \n",
+ " then, \n",
+ " \t lamda 31.705000 \t p1=192.625000MW \n",
+ " \t p2=377.898428MW \t pl=0.377898MW\n",
+ "\n",
+ "daily water used 26664.961210m**3 \n",
+ "daily operating cost of thermal plant Rs55337.878125\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 11.3 Page "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "#given \n",
+ "p=250#load\n",
+ "rt=14 #run time\n",
+ "t=24#total time\n",
+ "ac=5 ;bc=8; cc=0.05 #variables of cost equation\n",
+ "bw=30; cw=0.05 #variables of water per power\n",
+ "qw=500#quantity of water\n",
+ "lam=bc+cc*2*p #lambda\n",
+ "a=-qw*(10**6)/(3600*rt)\n",
+ "inn=sqrt(bw**2-4*cw*a)\n",
+ "phh1=(-bw+inn)/(2*cw)#solution of quadratic equation\n",
+ "phh2=(-bw-inn)/(2*cw)\n",
+ "if phh1>0 :\n",
+ " r=lam/(bw+cw*phh1) \n",
+ " print \" hydro plant power is %fMW \\n the cost of water is %fRs.per hour/m**3/sec\"%(phh1,r) \n",
+ "\n",
+ "if phh2>0 :\n",
+ " r=lam/(bw+cw*phh2) \n",
+ " print \" hydro plant power is %fMW \\n the cost of water is %fRs.per hour/m**3/sec\"%(phh2,r) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " hydro plant power is 237.047484MW \n",
+ " the cost of water is 0.788486Rs.per hour/m**3/sec\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter13.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter13.ipynb
new file mode 100644
index 00000000..2ff5f29b
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter13.ipynb
@@ -0,0 +1,522 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:e3f5e499dcd1ee49e675b7d331eadcbb56a69331fd31c0617d103de1bd691963"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-13, Major Electrical Equipment in Power Plant"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13.1 Page 277"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pg=3000 #kva rating of generators single phase\n",
+ "xg=0.1 #10%reactanse of generator\n",
+ "vg=11 #voltage at the terminals of generator\n",
+ "xbf=5 #reactanse of feeder fron bus to fault\n",
+ "pb=pg ;vb=vg ;ib=pg/vg #let power and voltage of as respective base then current base\n",
+ "zb=(vb*10**3)/ib #base impedence\n",
+ "xpu=xbf/zb #per unit reactance of feeder\n",
+ "tx=(xg/2)+(xpu) #total reactance \n",
+ "sckva=pg/tx #short circuit kva is ratio ofpower to total reactance\n",
+ "sci=sckva/vg #short circuit current\n",
+ "print 'a'\n",
+ "print \" p.u.feeder reactor %.3fp.u \\n total reactance is %.3fp.u \\n short circuit kVA %dkVA \\n short circuit current %.1fA\"%(xpu,tx,sckva,sci)\n",
+ "gz=zb*xg #generator impedence\n",
+ "tz=(gz/2)+xbf #total impedence\n",
+ "scc=(vg*10**3)/tz #short circuit current in ampears\n",
+ "print 'b' \n",
+ "print \" generator impedence %.3fohm \\n total impedence %.3f ohm \\n short circuit current %.1fA\"%(gz,tz,scc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ " p.u.feeder reactor 0.000p.u \n",
+ " total reactance is 0.050p.u \n",
+ " short circuit kVA 60000kVA \n",
+ " short circuit current 5454.5A\n",
+ "b\n",
+ " generator impedence 4.000ohm \n",
+ " total impedence 7.000 ohm \n",
+ " short circuit current 1571.4A\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13.2 page 277"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "pa1=20000 ; pa2=30000 #kva in in 3 ph power\n",
+ "va1=11 ; va2=11 #voltage in kilo volts\n",
+ "pt1=20000 ; pt2=30000#kva of 3 ph transformer\n",
+ "vpt1=11 ; vpt2=11#voltage of primery of transformer\n",
+ "vst1=132 ; vst2=132#voltage of secondary of transformer\n",
+ "xg1=0.5 ; xg2=0.65 #reactance of generator\n",
+ "xt1=0.05 ;xt2=0.05 #reactance of transformer with their own kva\n",
+ "pb=pa2; vbg=va2 ;vbt=vpt2 #assumeing base quantoties\n",
+ "xtn1=xt1*pb/pa1 ;xtn2=xt2*pb/pa2 #transformer reactance with new base\n",
+ "xgn1=xg1*pb/pa1; xgn2=xg2*pb/pa2\n",
+ "xn1=xtn1+xgn1 ;xn2=xtn2+xgn2 #reactancee up to fault from each generator\n",
+ "xn=(xn1*xn2)/(xn1+xn2) #equalent reactance between generator and fault\n",
+ "sckva=pb/xn #short circuit KVA\n",
+ "print '(a)'\n",
+ "print \" equivalent reactance is %.4f p.u \\n short circuit KVA %dKVA\"%(xn,sckva)\n",
+ "print '(b)'\n",
+ "sccb=sckva/(vst1*sqrt(3))\n",
+ "sccg1=sccb*(xn2/(xn1+xn2))*vst1/vpt1\n",
+ "sccg2=sccb*(xn1/(xn1+xn2))*vst2/vpt2\n",
+ "print \" short circuit current on bus bar side %.1fA \\n short circuit current of generator 1 is %.1fA \\n short circuit current of generator 2 is %.1fA \\n\"%(sccb,sccg1,sccg2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ " equivalent reactance is 0.3787 p.u \n",
+ " short circuit KVA 79220KVA\n",
+ "(b)\n",
+ " short circuit current on bus bar side 346.5A \n",
+ " short circuit current of generator 1 is 1908.6A \n",
+ " short circuit current of generator 2 is 2249.4A \n",
+ "\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13.3 Page 278"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pa1=20000 ; pa2=30000 #kva in in 3 ph power\n",
+ "va1=11 ; va2=11 #voltage in kilo volts\n",
+ "pt1=20000 ; pt2=30000#kva of 3 ph transformer\n",
+ "vpt1=11 ; vpt2=11#voltage of primery of transformer\n",
+ "vst1=132 ; vst2=132#voltage of secondary of transformer\n",
+ "xg1=0.5 ;xg2=0.65 #reactance of generator\n",
+ "xt1=0.05 ;xt2=0.05 #reactance of transformer with their own kva\n",
+ "pb=pa2 ;vbg=va2 ;vbt=vpt2 #assumeing base quantoties\n",
+ "xtn1=xt1*pb/pa1 ;xtn2=xt2*pb/pa2 #transformer reactance with new base\n",
+ "xgn1=xg1*pb/pa1 ;xgn2=xg2*pb/pa2\n",
+ "xn1=xtn1+xgn1 ;xn2=xtn2+xgn2 #reactancee up to fault from each generator\n",
+ "xn=(xn1*xn2)/(xn1+xn2) #equalent reactance between generator and fault\n",
+ "sckva=pb/xn #short circuit KVA\n",
+ "pf=50000 #fault kva rating\n",
+ "xf=pb/pf #reactance from fault\n",
+ "xx=xf*xn1/(xn1-xf)\n",
+ "x=xx-xn2 #reactance to be added \n",
+ "bi=(vst1**2)*1000/(pb)\n",
+ "xo=x*bi\n",
+ "print \" reactance to be added in circuit of generator 2 have %.1f p.u. \\n reactance in ohms %.1f\"%(x,xo)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " reactance to be added in circuit of generator 2 have -0.7 p.u. \n",
+ " reactance in ohms -406.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13.4 Page 278"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pa=50; xgb=0.5; xb=0.1 #given power,reactance of generator\n",
+ "x1=xgb+xb \n",
+ "x=x1*x1*xgb/(x1*x1+x1*xgb+x1*xgb)\n",
+ "f=pa/x\n",
+ "print \" total reactance %.4f.p.u \\n fault MVA %.1fMVA\"%(x,f)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " total reactance 0.1875.p.u \n",
+ " fault MVA 266.7MVA\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example13_5 Page 279"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "vb=33\n",
+ "pb=20 ;zb=vb**2/pb #base voltage and base power\n",
+ "pa1=10 ;pa2=10; xa1=0.08; xa2=0.08 #given power and reactance for different branches\n",
+ "pbb=20 ;xb=0.06 ;pc=15 ;xc=0.12; pd=20; xd=0.08 \n",
+ "xab=2.17; xbc=3.26; xcd=1.63; xda=4.35 \n",
+ "xap1=xa1*pb/pa1 \n",
+ "xap2=xa2*pb/pa2 ;xap=xap1*xap2/(xap1+xap2)\n",
+ "xbp=xb*pb/pbb \n",
+ "xcp=xc*pb/pc \n",
+ "xdp=xd*pb/pd #generators reactance in per unit\n",
+ "xabp=round(xab*100/zb)/100 \n",
+ "xbcp=round(xbc*100/zb)/100 \n",
+ "xcdp=round(xcd*100/zb)/100 \n",
+ "xdap=round(xda*100/zb)/100 #reactance in per unit between bus\n",
+ "def del2star(d12,d23,d31):\n",
+ " dsum=d12+d23+d31\n",
+ " s1=d12*d31/(dsum)\n",
+ " s2=d12*d23/(dsum)\n",
+ " s3=d31*d23/dsum\n",
+ " return [s1,s2,s3]\n",
+ "def star2del(s1,s2,s3):\n",
+ " d12=s1+s2+(s1*s2)/s3\n",
+ " d23=s2+s3+(s2*s3)/s1\n",
+ " d31=s3+s1+(s3*s1)/s2\n",
+ " return [d12,d31,d23]\n",
+ "[xac,xrc,xra]=star2del(xcdp,xdap,xdp)\n",
+ "rc=xrc*xcp/(xrc+xcp)\n",
+ "ra=xra*xap/(xra+xap)\n",
+ "[xpr,xpc,xpa]=del2star(xac,rc,ra)\n",
+ "xf1=xbcp+xpc\n",
+ "xf2=xpr+xabp\n",
+ "xf=xf1*xf2/(xf1+xf2)\n",
+ "xfr=xf+xpa\n",
+ "xx=xfr*xbp/(xfr+xbp)\n",
+ "netr=xx #net reactance\n",
+ "fkva=pb*1000/xx\n",
+ "print \"the rating of circuit breaker should be %d KVA, or %d MVA\"%(fkva,fkva/1000)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the rating of circuit breaker should be 671200 KVA, or 671 MVA\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13_6 Page 285"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=150 #given ,power\n",
+ "v=11 #given voltage\n",
+ "xg=0.12 #reactance of generator\n",
+ "xb=0.08 #reactance of line\n",
+ "scca=1/xg\n",
+ "ms=scca**2\n",
+ "sccb=1/(xg+xb)\n",
+ "ms1=sccb**2\n",
+ "print 'a'\n",
+ "print \"short circuit current is %.3fp.u \\n ratio of mechanical stress on short circuit to aech. stresses on full load %.2f\"%(scca,ms)\n",
+ "print 'b'\n",
+ "print \"short circuit current is with reactor %.3fp.u \\n ratio of mechanical stress on short circuit to aech. stresses on full load with reactor %.f\"%(sccb,ms1)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ "short circuit current is 8.333p.u \n",
+ " ratio of mechanical stress on short circuit to aech. stresses on full load 69.44\n",
+ "b\n",
+ "short circuit current is with reactor 5.000p.u \n",
+ " ratio of mechanical stress on short circuit to aech. stresses on full load with reactor 25\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example13_7 Page 286"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import acos, pi, sin, cos, atan\n",
+ "xf=complex(0,0.04)\n",
+ "pf=0.8 ;ph=acos(pf)*180/pi\n",
+ "v=1 ;i=1 #let v and i\n",
+ "vb=v+i*xf*(complex(cos(ph*pi/180),-sin(ph*pi/180)))\n",
+ "iv=vb-abs(v) \n",
+ "print \"bus bar voltage %.4f.p.u at angle %.1f\\nincrease in voltage %.4f =%.4f percent\"%(abs(vb),atan(vb.imag/vb.real)*180/pi,abs(iv),abs(iv*100))"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "bus bar voltage 1.0245.p.u at angle 1.8\n",
+ "increase in voltage 0.0400 =4.0000 percent\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13.8 page 286"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p1=30 ;x1=0.3 #power and reactance of different sets\n",
+ "p2=30 ;x2=0.3\n",
+ "p3=20 ;x3=0.3\n",
+ "l=10 ;xl=0.04\n",
+ "pb=p1 ;xp3=x3*pb/p3\n",
+ "tr=(xp3*x1*x2)/(xp3*x1+xp3*x2+x1*x2)\n",
+ "sc=pb/tr\n",
+ "print 'a'\n",
+ "print \"total reactance %.4f p.u \\n short circuit MVA on l.v.bus %.2fMVA\"%(tr,sc)\n",
+ "print 'b'\n",
+ "xlp=xl*pb/l\n",
+ "trr=tr+xlp\n",
+ "scc=pb/trr\n",
+ "print \"total reactance seen from h.v.side of transformer %.2fp.u \\n short circuit MVA %.2fMVA\"%(trr,scc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ "total reactance 0.1125 p.u \n",
+ " short circuit MVA on l.v.bus 266.67MVA\n",
+ "b\n",
+ "total reactance seen from h.v.side of transformer 0.23p.u \n",
+ " short circuit MVA 129.03MVA\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13.9 Page 287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p1=30 ;x1=0.15; p2=10; x2=0.125 \n",
+ "pt=10 ;vs=3.3 ;pm=100\n",
+ "pb=p1 #let base as power of unit 1\n",
+ "x22=x2*pb/p2; x11=x1*pb/p1\n",
+ "xx=1/((1/x22)+(1/x11)+(1/x11))\n",
+ "xl=(pb/pm)-xx\n",
+ "xt2=xl*pt/pb\n",
+ "bi=vs**2/pt\n",
+ "xtt=xt2*bi\n",
+ "print \" reactance of transformer is %.4f.p.u \\n reactance of transformer on %dMVA base is %.5fp.u. \\n reactance of transformer %.4fohm\"%(xl,pt,xl,xtt)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " reactance of transformer is -0.0625.p.u \n",
+ " reactance of transformer on 10MVA base is -0.06250p.u. \n",
+ " reactance of transformer -0.0227ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13.10 Page 287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given #p=power/v=voltage/f=frequency/x=reactance/iff=feeder reactance take off\n",
+ "pa=20 ;va=11 ;f=50 ;xa=0.2 ;pb=30 ;xb=0.2 ;pf=10 ;xf=0.06; iff=0.5\n",
+ "pba=20 ;vba=11\n",
+ "xap=xa*pba/pb\n",
+ "xfp=xf*pba/pf\n",
+ "nx=xfp+(xa/2)*(xa/2+xap)/(xa+xap)\n",
+ "fcp=nx**(-1)\n",
+ "bc=pba*1000/(va*sqrt(3))\n",
+ "fc=fcp*bc\n",
+ "print 'a'\n",
+ "print \"fault current %.2fohm\"%(fc)\n",
+ "ic=iff*fcp\n",
+ "xtx=ic**(-1)\n",
+ "xn=xtx-nx\n",
+ "zb=va**2/pba\n",
+ "xnn=xn*zb\n",
+ "print 'b'\n",
+ "print \"reactance required %.4fohm\"%(xnn)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ "fault current 5524.88ohm\n",
+ "b\n",
+ "reactance required 1.1400ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 13 11 Page 288"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "n1=5 ;x=0.4 ;d=0.1; g=20 #given\n",
+ "mva=(g/x)+(g*(n1-1)/(x+n1*d))\n",
+ "n2=10 #given\n",
+ "mva2=(g/x)+(g*(n2-1)/(x+n2*d))\n",
+ "print 'a'\n",
+ "print \"fault MVA =(g/x)+(g*(n-1)/(x+nd)) \\n fault level is to equal to fault MVA if n=infinity\"\n",
+ "print 'b'\n",
+ "print \" MVA=%.2fMVA if n=%d \\n MVA=%.2fMVA if n=%d\"%(mva,n1,mva2,n2)\n",
+ "fl=g*((1/x)+(1/d))\n",
+ "print 'c'\n",
+ "print \"\\nfault level %dMVA\"%(fl)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ "fault MVA =(g/x)+(g*(n-1)/(x+nd)) \n",
+ " fault level is to equal to fault MVA if n=infinity\n",
+ "b\n",
+ " MVA=138.89MVA if n=5 \n",
+ " MVA=178.57MVA if n=10\n",
+ "c\n",
+ "\n",
+ "fault level 250MVA\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter14.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter14.ipynb
new file mode 100644
index 00000000..a2681fd4
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter14.ipynb
@@ -0,0 +1,907 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:7ee8895bf918e29dc996fcc120f35aefc5913500e53b4df4d74c03c3d0bc218c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-14, System Interconnections"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.1 Page 302"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=100 #rating of alternater\n",
+ "sd=0.04 #speed of alrternator drops \n",
+ "df=-0.1 #change in frequency and drops so -ve\n",
+ "f=50 #frequency is 50hz\n",
+ "r=sd*f/p #r in hz/MW\n",
+ "dp=-(df)/r \n",
+ "print \" speed regulation of alternator is %.2fHz/MW \\n change in power output %dMW\"%(r,dp)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " speed regulation of alternator is 0.02Hz/MW \n",
+ " change in power output 5MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example14.2 Page 302"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=100 #power of alternator\n",
+ "f=50 #frequency\n",
+ "h=5 #h constant of machine kW-sec kVA\n",
+ "inl=50 #load suddenly increase by\n",
+ "de=0.5 #time delay\n",
+ "ke=h*p*10**3 #kinetic energy\n",
+ "lke=inl*10**3*de #loss in kinetic energy\n",
+ "nf=((1-(lke/ke))**(de))*f #now frequency \n",
+ "fd=(1-nf/f)*100 #frequency deviation\n",
+ "print \"kinetic energy stored at rated speed %.1e kW-sec \\nloss in kinetic energy due to increase in load %.1e kW-sec \\nnew frequency %.3fHz \\nfrequency deviation %.3f\"%(ke,lke,nf,fd)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "kinetic energy stored at rated speed 5.0e+05 kW-sec \n",
+ "loss in kinetic energy due to increase in load 2.5e+04 kW-sec \n",
+ "new frequency 48.734Hz \n",
+ "frequency deviation 2.532\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.3 Page 303"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "ar1=500 #alternator rating1\n",
+ "pl=0.5 #each alternator is operating at half load \n",
+ "ar2=200 #alternator rating2\n",
+ "f=50 #frequency\n",
+ "il=140 #load increase by 140 MW\n",
+ "fd=49.5 #frequency drops\n",
+ "fdd=-f+fd #frequency deviation \n",
+ "dp1=(ar1*pl)-il #change in load alternator 1\n",
+ "dp2=-(ar2*pl)+il #change in load of alternator 2\n",
+ "r1=-fdd/dp1 \n",
+ "r2=-fdd/dp2\n",
+ "print \" R1=%.3fohm \\n R2=%.4fohm\"%(r1,r2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " R1=0.005ohm \n",
+ " R2=0.0125ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example14.4 Page 303"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "rc=10000 #rated capacity\n",
+ "r=2 #regulation in all units\n",
+ "li=0.02 #load increase\n",
+ "f=50 #frequency\n",
+ "d=rc/(2*f) #d=partial derevative with respect to frequency\n",
+ "d=d/rc\n",
+ "b=d+1/r\n",
+ "m=li*rc/2\n",
+ "mpu=m/rc\n",
+ "df=-mpu/b \n",
+ "dff=-mpu/d\n",
+ "print \"static frequency drop %fHz \\nfrequency drop %dHz\"%(df,dff)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "static frequency drop -0.019608Hz \n",
+ "frequency drop -1Hz\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.5 Page 303"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "cac=10000 #control area capacity\n",
+ "nol=5000 #normal operating\n",
+ "h=5 #inertial constent\n",
+ "r=3 #regulation\n",
+ "cf=1 #1%change in corresponds to 1% change in load\n",
+ "f=50 #frequency\n",
+ "d=cac/(2*f)\n",
+ "dpu=d/(cac)\n",
+ "kp=1/dpu\n",
+ "tp=2*h/(f*dpu)\n",
+ "print \"d=%.2fp.u.MW/hz, \\nkp=%dhz/p.u.MW \\ntp=%dsecond\"%(dpu,kp,tp)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d=0.01p.u.MW/hz, \n",
+ "kp=100hz/p.u.MW \n",
+ "tp=20second\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.6 Page 304"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "rc=10000 #rated capacity\n",
+ "r=2 #regulation in all units\n",
+ "li=0.02 #load increase\n",
+ "f=50 #frequency\n",
+ "d=rc/(2*f) #d=partial derevative with respect to frequency\n",
+ "dd=d/rc\n",
+ "b=dd+1/r\n",
+ "m=li*rc/2\n",
+ "mpu=m/rc\n",
+ "df=-mpu/b \n",
+ "dff=-mpu/dd\n",
+ "cf=abs(df*d)\n",
+ "inc=-(df/r)*10**4\n",
+ "print \"the contribution of frequency drop to meet increase in load %.3fMW \\nincrease in generation cost Rs%.2f\"%(cf,inc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the contribution of frequency drop to meet increase in load 1.961MW \n",
+ "increase in generation cost Rs98.04\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.7 Page 307"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=100 #MVA of generated\n",
+ "f=50 #frequency\n",
+ "rpm=3000 #no load rpm\n",
+ "lad=25 #load applied to the machiene\n",
+ "t=0.5 #time delay \n",
+ "h=4.5 #inertia constent\n",
+ "ke=h*p #kinetic energy is product of h*p\n",
+ "lke=lad*t #loss of ke\n",
+ "nf=(((ke-lke)/ke)**t)*f #new frequency ((1-lke/ke)**t)*f\n",
+ "fd=(1-(nf/f))*100 #frequency deviation\n",
+ "print \"ke at no load %dMW-sec \\nloss in k.e due to load %.1fMW-sec \\nnew frequency %.1fHz \\nfrequency deviation %.1fpercent\"%(ke,lke,nf,fd)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ke at no load 450MW-sec \n",
+ "loss in k.e due to load 12.5MW-sec \n",
+ "new frequency 49.3Hz \n",
+ "frequency deviation 1.4percent\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.8 Page 307"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "c=4000#capacity\n",
+ "f=50 #frequency\n",
+ "ol=2500 #operating load\n",
+ "r=2 #speed regulation\n",
+ "h=5 #inertial constant\n",
+ "dl=0.02 #change in load\n",
+ "df=0.01 #change in frequency\n",
+ "dff=-0.2 #change in steady state frequency\n",
+ "d=(dl*ol)/(df*f) #\n",
+ "dpu=d/c #din pu\n",
+ "b=dpu+(1/r)\n",
+ "m=-dff*b\n",
+ "print \"largest chang in load is %.3fp.u.MW=%dMW\"%(m,m*c)\n",
+ "kp=(1/dpu)\n",
+ "tp=(kp)*2*h/f\n",
+ "tt=(r+kp)/(r*tp) #time constant \n",
+ "print \"\\ndf=(dff)(1-e**%f*t)\"%(tt)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "largest chang in load is 0.105p.u.MW=420MW\n",
+ "\n",
+ "df=(dff)(1-e**2.625000*t)\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example14.9 Page 307"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "c=4000 #capacity of system\n",
+ "f=50 #frequency #operatingload=rated area capacity\n",
+ "h=5 #time constent\n",
+ "r=0.025 #\n",
+ "dl=0.01 #change in load\n",
+ "df=0.01 #change in frequency\n",
+ "rr=r*f #\n",
+ "d=(dl*c)/(df*f) \n",
+ "dpu=d/c\n",
+ "kp=1/dpu\n",
+ "tp=(kp)*(2*h/f)\n",
+ "tt=(rr+kp)/(rr*tp)\n",
+ "sfe=(kp*rr*dpu)/(rr+kp)\n",
+ "ki=(1+(kp/r))**2/(4*tp*kp)\n",
+ "print \" df=-%.5f(1-e**(-%.1f)) \\n ki=%.4fp.u.MW/Hz\"%(sfe,tt,ki)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " df=-0.02439(1-e**(-4.1)) \n",
+ " ki=2002.0005p.u.MW/Hz\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example14.10 Page 308"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "tg=0.2 #time constent of steam turbine\n",
+ "t=2 #time constant of turbine\n",
+ "h=5 #inertia constent\n",
+ "r=0.04 #given\n",
+ "dl=0.01 #change in load\n",
+ "df=0.01 #change in frequency\n",
+ "c=1500 #capacity\n",
+ "f=50 #frequency\n",
+ "adl=0.01 #max allowable change in load\n",
+ "print '(a)'\n",
+ "print \"\\ntransfer function of governor gr= 1/(1+%.1f*s) \\n transfer function of turbine gt=1/(1+%d*s)\"%(tg,t)\n",
+ "rr=r*f\n",
+ "d=(dl*c)/(df*f)\n",
+ "dpu=(d/c)\n",
+ "kp=(1/dpu)\n",
+ "tp=(kp*(2*h)/(f))\n",
+ "print \"\\ntransfer function of power system \\n Gp=(%d/(1+%d*s)\\n Df=-gp/(1+(0.5*(gr*gt*gp)))\"%(kp,tp)\n",
+ "ddf=-(kp)/(1+kp/r)\n",
+ "dff=df*f\n",
+ "m=dff/(ddf)\n",
+ "mm=m*c\n",
+ "print '(b)'\n",
+ "print \"\\nthe largest step in the load if the frequency change by more than %.2f in steady state %dMW\"%(adl,mm)\n",
+ "if mm<0:\n",
+ " print \"\\nthe minu sign is becose of the that if frequency is to increase by %f \\nthe change in load be negative.\"%(adl)\n",
+ "else:\n",
+ " print \"\\nthe largest step in load if the frequency is to decrease by %f /n the change in load be positive\"%(adl)\n",
+ "print '(c)'\n",
+ "\n",
+ "print 'when integral controller is used,static frequency error is zero'"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "\n",
+ "transfer function of governor gr= 1/(1+0.2*s) \n",
+ " transfer function of turbine gt=1/(1+2*s)\n",
+ "\n",
+ "transfer function of power system \n",
+ " Gp=(50/(1+10*s)\n",
+ " Df=-gp/(1+(0.5*(gr*gt*gp)))\n",
+ "(b)\n",
+ "\n",
+ "the largest step in the load if the frequency change by more than 0.01 in steady state -18765MW\n",
+ "\n",
+ "the minu sign is becose of the that if frequency is to increase by 0.010000 \n",
+ "the change in load be negative.\n",
+ "(c)\n",
+ "when integral controller is used,static frequency error is zero\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.11 Page 312"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pa=5000 #power of unit a\n",
+ "pb=10000 #power of unit b\n",
+ "r=2 #given speed regulation in p.uMW\n",
+ "d=0.01 #d in p.u.MW/Hz\n",
+ "dpa=0 #change in power in unit a\n",
+ "dpb=-100 #change in power in unit b \n",
+ "pbas=10000 #assume base as 10000 \n",
+ "ra=r*pbas/pa #speed regulation of the unit a\n",
+ "da=d*pa/pbas #da of unit b\n",
+ "rb=r*pbas/pb #speed regulation of unit b\n",
+ "db=d*pb/pbas #db of unit b\n",
+ "ba=da+(1/ra) #area frequency response of a\n",
+ "bb=db+(1/rb) #area frequency response of b\n",
+ "ma=dpa/pbas #change in power a in per unit in unit a \n",
+ "mb=dpb/pbas #change in power a in per unit in unit b\n",
+ "df=(ma+mb)/(ba+bb) #change in frequency\n",
+ "dpab=(ba*mb-bb*ma)/(ba+bb) #change in power between ab\n",
+ "print \"change in frequency is %.5fHz \\nchange in power %.6f p.u.MW\"%(df,dpab)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "change in frequency is -0.01307Hz \n",
+ "change in power -0.003333 p.u.MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.12 page 314"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pa=500 #power of unit a\n",
+ "pb=2000 #power of unit b\n",
+ "ra=2.5 #speed regulation of a\n",
+ "rb=2 #speed regulation of b\n",
+ "dl=0.01 #change in load\n",
+ "df=0.01 # change in frequency\n",
+ "pt=20 #change in tie line power \n",
+ "ptl=0 #let other power station has zero \n",
+ "pbas=2000 #assume base as 2000MW\n",
+ "f=50 #assume frequency\n",
+ "da=(dl*pa)/(df*f) #change in power w.r.t frequency\n",
+ "dapu=da/(pbas) # change in power w.r.t frequency in per unit\n",
+ "db=(dl*pb)/(df*f) #change in power in unit b\n",
+ "dbpu=db/pbas #change in power w.r.t frequency in per unit\n",
+ "raa=ra*pbas/pa #speed regulation with pbase\n",
+ "rbb=rb*pbas/pb #speed regulation with pbase\n",
+ "ba=dapu+(1/raa) #area frequency response a\n",
+ "bb=dbpu+(1/rbb) #area frequency response b\n",
+ "ma=pt/pbas #assume change in power in unit a alone due to tie power\n",
+ "mb=ptl/pbas #change in power in unit b\n",
+ "df=-(ma+mb)/(ba+bb) #change in frequency\n",
+ "dpp=(ba*mb-bb*ma)/(ba+bb) #change in power\n",
+ "print '(a)'\n",
+ "print \"change in frequency is %.3fHz \\n change in power between ab %.5fp.u.MW \\n \\t\\t%.2fMW\"%(df,dpp,dpp*pbas)\n",
+ "ma2=ptl/pbas #assume change in power in unit a alone due to tie power\n",
+ "mb2=pt/pbas #change in power in unit b\n",
+ "df2=-(ma2+mb2)/(ba+bb) #change in frequency\n",
+ "dpp2=(ba*mb2-bb*ma2)/(ba+bb) #change in power\n",
+ "print '(b)'\n",
+ "dpba=dpp2*pbas\n",
+ "print \" change in frequency is %.3fHz \\n change in power between ab %.5fp.u.MW \\n\"%(df2,dpp2)\n",
+ "print \" change in power %fMW\"%(dpba)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "change in frequency is -0.016Hz \n",
+ " change in power between ab -0.00832p.u.MW \n",
+ " \t\t-16.64MW\n",
+ "(b)\n",
+ " change in frequency is -0.016Hz \n",
+ " change in power between ab 0.00168p.u.MW \n",
+ "\n",
+ " change in power 3.360000MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.13 Page 315"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import cos, pi\n",
+ "p=4000 #power area\n",
+ "n=2 #number of units\n",
+ "r=2 #speed regulation\n",
+ "h=5 \n",
+ "pt=600 #given tie power\n",
+ "pan=40 #power angle\n",
+ "stp=100\n",
+ "f=50\n",
+ "t=(pt/p)*cos(pan*pi/180)\n",
+ "wo=((2*pi*f*t/h)**2-(f/(4*r*h))**2)**(0.5)\n",
+ "print '(a)'\n",
+ "print \" the damped angular frequency is %.2fradians/sec if speed govenor loop is closed\"%(wo)\n",
+ "print '(b)'\n",
+ "print \" since the two area are imilier ,each area will supply half of increase in load .this also evident besause ba=bb \\n change in power %dMW \\n speed regulation is infininy\"%(stp/2)\n",
+ "wo1=(2*pi*f*t/h)**(0.5) #if govenor loop is open alpha is zero\n",
+ "print \" damped angular frequency if speed governor loop is open %.3frad/sec \"%(wo1)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ " the damped angular frequency is 7.11radians/sec if speed govenor loop is closed\n",
+ "(b)\n",
+ " since the two area are imilier ,each area will supply half of increase in load .this also evident besause ba=bb \n",
+ " change in power 50MW \n",
+ " speed regulation is infininy\n",
+ " damped angular frequency if speed governor loop is open 2.687rad/sec \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example14.14 Page 325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import cos, acos, sin\n",
+ "Aa=0.98; Ap=3 #magnitude and angle of constant A\n",
+ "Ba=110 ;Bp=75 #magnitude and angle of constant B\n",
+ "p=50 #given power 50\n",
+ "pf=0.8 #given power factor is 0.8\n",
+ "vr=132 #voltage at reseving station\n",
+ "vs=132 #voltage at source station to be maintained\n",
+ "vsr1=p*pf+(Aa*(vr**2)/Ba)*cos(pi/180*(Bp-Ap))\n",
+ "ph=vsr1*Ba/(vs*vr)\n",
+ "phh=acos(ph)*180/pi\n",
+ "Del=Bp-phh\n",
+ "qrr=((vs*vr/Ba)*sin(phh*pi/180))-((Aa*(vr)**(2)/Ba)*sin((Bp-Ap)*pi/180)) #reactive power to maintain voltage equal\n",
+ "qrre=p*sin(acos(pf)) #reactive power for the load\n",
+ "qrc=qrre-qrr\n",
+ "print \"the reactive power supply and reseving power is %dkV \\nreactive power %.2fMvar\"%(vs,qrr)\n",
+ "print \"\\nthe required compensator network neeeded %.2fMvar\"%(qrc)\n",
+ "print '(b)'\n",
+ "cosb=(Aa*cos(pi/180*(Bp-Ap))*(vr)**(2)/Ba)*(Ba/(vs*vr)) #under no oad condition\n",
+ "phb=acos(cosb)*180/pi\n",
+ "qrb=(vs*vr*sin(phb*pi/180)/Ba)-(Aa*vr*vr*sin(pi/180*(Bp-Ap))/Ba)\n",
+ "if qrb>0 :\n",
+ " print \"thus under no load condition the line delivers %.2fMvar at receiving end.the reactive power must be absorbed by shunt reactor at receving end. thus the capacity of shunt reactor, for no load condition is %.2fMvar. \"%(qrb,qrb)\n",
+ "else:\n",
+ " print \"thus under no load condition the line absorbs %.2fMvar at receiving end.the reactive power must be delivered by shunt reactor at receving end. or reactive must suppiled by the source thus the capacity of shunt reactor, for no load condition is %.2fMvar. \"%(qrb,qrb)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the reactive power supply and reseving power is 132kV \n",
+ "reactive power -15.91Mvar\n",
+ "\n",
+ "the required compensator network neeeded 45.91Mvar\n",
+ "(b)\n",
+ "thus under no load condition the line delivers 3.33Mvar at receiving end.the reactive power must be absorbed by shunt reactor at receving end. thus the capacity of shunt reactor, for no load condition is 3.33Mvar. \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.15 Page 326"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "v=220 #line voltage\n",
+ "ps=11 ; ss=220; pr=220 ;sr=11 #primer and secondary end terminal voltages of tapping transformer\n",
+ "zr=20; zi=60 #impedence of line in real ndimagenary parts\n",
+ "p=100 #power at recieving end is 100MVA\n",
+ "pf=0.8 #power factor at recievin t=1 #prodect of 2 off terminal tap setting is 1\n",
+ "vt=11 #tap setting for 11 kv voltage bus\n",
+ "P=(p*pf*10**6)/3 #real power \n",
+ "Q=(p*sin(acos(pf))*10**6)/3 #reactance power\n",
+ "v1=v*(10**3)/sqrt(3)\n",
+ "ts=(1/(1-(zr*P+zi*Q)/(v1**2)))**(0.5)\n",
+ "print \" tapping ratio at the source %.3f \\n tapping ratio at the receving end %.2f\"%(ts,1/ts)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " tapping ratio at the source 1.058 \n",
+ " tapping ratio at the receving end 0.94\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.16 page 327"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "vp=132; vs=33; vt=11 #voltage at primary ,secondary ,teritiory\n",
+ "pp=75; ps=50; pt=25 #MVA rating at prinary ,secondary,teritiory \n",
+ "rpr=0.12 ;rv=132; rp=75 #reactance power of primary under rv and rp as voltage and power base\n",
+ "poa=60 ;rea=50 #load real and reactive power a\n",
+ "pva=125 ;svaa=33 #primary and secondary voltage a\n",
+ "svsb=25 ;pvb=140; svbb=33 #primary and secondary voltage at no load\n",
+ "print '(a)'\n",
+ "vbas=132 ;mvabas=75 #assume voltage and MVA base \n",
+ "v1pu=pva/vbas #voltage in per unit\n",
+ "v1apu=round(v1pu*1000)/1000 #rounding off \n",
+ "qre=rea/mvabas #reactive power in per unit\n",
+ "vn1a=(v1apu+sqrt(v1apu**2-4*rpr*qre))/2 #voltage using quadratic equation formulae\n",
+ "vn2a=(v1apu-sqrt(v1apu**2-4*rpr*qre))/2\n",
+ "vnaa=vn1a*vbas\n",
+ "v12=pvb/vbas\n",
+ "q=svsb/mvabas\n",
+ "vn1b=(v12+sqrt(v12**2-4*rpr*q))/2 #voltage using quadratic equation formulae\n",
+ "vn1b=round(vn1b*1000)/1000\n",
+ "vnbb=vn1b*vbas #vn in no load condition\n",
+ "print \"vn=%.3f.p.u \\n vn=%.3fkV\"%(vn1a,vnaa)\n",
+ "print '(b)'\n",
+ "print \"vn=%.3f.p.u \\n vn=%.3fkV\"%(vn1b,vnbb)\n",
+ "z=vnaa/svaa ;x=vnbb/svbb \n",
+ "print \"\\n transformation ratio under load condition %.3f \\n transformation ratio under no load condition %.3f \\n the actual ratio can be taken as mean of the above value i.e.%.3fpercent\\n varying by (+/-)%.3fpercent\"%(z,x,(z+x)/2,x-(z+x)/2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "vn=0.853.p.u \n",
+ " vn=112.628kV\n",
+ "(b)\n",
+ "vn=1.021.p.u \n",
+ " vn=134.772kV\n",
+ "\n",
+ " transformation ratio under load condition 3.413 \n",
+ " transformation ratio under no load condition 4.084 \n",
+ " the actual ratio can be taken as mean of the above value i.e.3.748percent\n",
+ " varying by (+/-)0.336percent\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.7 page 331"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "ca=200 #capacity of unit a\n",
+ "cb=100 #capacity of unit b\n",
+ "ra=1.5 #speed regulation of unit a \n",
+ "rb=3 #speed regulation of unit b\n",
+ "f=50 #frequency\n",
+ "pla=100 #load on each bus\n",
+ "plb=100\n",
+ "raa=ra*f/(pla*ca)\n",
+ "rbb=rb*f/(plb*cb)\n",
+ "pa=rbb*(pla+plb)/(raa+rbb)\n",
+ "pb=pla+plb-pa\n",
+ "tp=pa-pla\n",
+ "print \" generation at the plant a is %dMW and \\n generation at the plant b is %dMW \\n transfer power from plant a to b is %dMW\"%(pa,pb,tp)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " generation at the plant a is 160MW and \n",
+ " generation at the plant b is 40MW \n",
+ " transfer power from plant a to b is 60MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.18 Page 332"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "za=1.5 ;zb=2.5 #impedence between two lines \n",
+ "v=11 #plant operatio\\ng voltage\n",
+ "l=20 ; pf=0.8 #load at 20 MW at 0.8 pf\n",
+ "i=l*10**3/(v*pf*sqrt(3)) ;ph=-acos(pf)*180/pi #current and phase angle of transfrming current\n",
+ "vd=complex(za,zb)*complex(i*cos(ph*pi/180),i*sin(ph*pi/180)) #voltage drop due to loss\n",
+ "print \"the current transfer is %.1fA at an angle %.2f\"%(i,ph)\n",
+ "print \"\\nvoltage drop in the interconnector is %.2f+j%.2fV \\nso voltage boost needed is %.2f+j%.2fV \"%(vd.real,vd.imag,vd.real,vd.imag)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the current transfer is 1312.2A at an angle -36.87\n",
+ "\n",
+ "voltage drop in the interconnector is 3542.83+j1443.38V \n",
+ "so voltage boost needed is 3542.83+j1443.38V \n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 14.19 Page 332"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import atan, cos\n",
+ "zaa=3 ;zbb=9 #impedence given between line\n",
+ "pas=1 #power at two units are equal to 1p.u \n",
+ "par=1 \n",
+ "pbs=1.05 #power at sending end is 1.05 and power at receiving end is 1p.u\n",
+ "pbr=1\n",
+ "i=1 #assume current is 1p.u\n",
+ "los=i*complex(zaa/100,zbb/100)\n",
+ "csd=((abs(los)**2)-pas**2-par**2)/(2*pas*par) #load angle between two stations\n",
+ "csa=(pas**2+abs(los)**2-par**2)/(2*pas*abs(los)) #angle between source and loss\n",
+ "ta=180-atan(zbb/zaa)*180/pi-acos(csa)*180/pi #transfering power factor angle\n",
+ "print \"(a)\"\n",
+ "print \"load angle is %.2f\\n\"%(cos(csd*pi/180))\n",
+ "if sin(ta*pi/180)<0:\n",
+ " print \"real power is %.3fp.u \\nreactive power %.3fp.u lagging\"%(cos(ta*pi/180),abs(sin(ta*pi/180)))\n",
+ "else:\n",
+ " print \"real power is %.3fp.u \\nreactive power %.3fp.u leading\"%(cos(ta*pi/180),sin(ta*pi/180))\n",
+ "\n",
+ "csd2=(abs(los)**2-pbs**2-pbr**2)/(2*pbs*pbr) #load angle between two stations\n",
+ "csa2=(pbr**2-pbs**2+abs(los)**2)/(2*pbr*abs(los)) #angle between source and loss\n",
+ "f=180-atan(zbb/zaa)*180/pi-acos(csa2)*180/pi #transfering power factor angle\n",
+ "print '(b)'\n",
+ "\n",
+ "print \"load angle is %.2f\\n\"%(cos(csd2*pi/180))\n",
+ "if sin(f*pi/180)<0 :\n",
+ " print \"real power is %.3fp.u \\nreactive power %.3fp.u lagging\"%(cos(f*pi/180),abs(sin(f*pi/180)))\n",
+ "else:\n",
+ " print \"real power is %.3fp.u \\nreactive power %.3fp.u leading\"%(cos(f*pi/180),sin(f*pi/180))"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "load angle is 1.00\n",
+ "\n",
+ "real power is 0.933p.u \n",
+ "reactive power 0.361p.u leading\n",
+ "(b)\n",
+ "load angle is 1.00\n",
+ "\n",
+ "real power is 0.981p.u \n",
+ "reactive power 0.192p.u lagging\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter15.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter15.ipynb
new file mode 100644
index 00000000..737eae87
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter15.ipynb
@@ -0,0 +1,495 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:543241e2957635d03b859da9db1a20b76f4037f0de553827d6103edb92a77b0c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-15, New Energy Sources"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.1 Page 345"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "a=0.1 #plate area\n",
+ "b=3 #flux density\n",
+ "d=0.5 #distence between plates\n",
+ "v=1000 #average gas velosity\n",
+ "c=10 #condectivity\n",
+ "e=b*v*d\n",
+ "ir=d/(c*a) #internal resistence\n",
+ "mapo=e**2/(4*ir) #maximum power output\n",
+ "print \"E=%dV \\ninternal resistence %.1fohm \\nmaximum power output %dW =%.3fMW\"%(e,ir,mapo,mapo/10**6)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "E=1500V \n",
+ "internal resistence 0.5ohm \n",
+ "maximum power output 1125000W =1.125MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.2 Page 345"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "b=4.2 #flux density\n",
+ "v=600 #gas velocity\n",
+ "d=0.6 #dimension of plate\n",
+ "k=0.65 #constent\n",
+ "e=b*v*d #open circuit voltage\n",
+ "vg=e/d #voltage gradient\n",
+ "v=k*e #voltage across load\n",
+ "vgg=v/d #voltage gradient due to load voltage\n",
+ "print \" voltage E=%dV \\n voltage gradient %dV/m \\n voltage across load %.1fV \\n voltage gradient due to load voltage %dv\"%(e,vg,v,vgg)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " voltage E=1512V \n",
+ " voltage gradient 2520V/m \n",
+ " voltage across load 982.8V \n",
+ " voltage gradient due to load voltage 1638v\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.3 Page 346"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "b=4.2 #flux density\n",
+ "v=600 #gas velocity\n",
+ "d=0.6 #dimension of plate\n",
+ "k=0.65 #constent\n",
+ "sl=0.6 #length given\n",
+ "sb=0.35 #breath given\n",
+ "sh=1.7 #height given\n",
+ "c=60 #given condectivity\n",
+ "e=b*v*d #open circuit voltage\n",
+ "vg=e/d #voltage gradient\n",
+ "v=k*e #voltage across load\n",
+ "vgg=v/d #voltage gradient due to load voltage\n",
+ "rg=d/(c*sb*sh)\n",
+ "vd=e-v #voltage drop in duct\n",
+ "i=vd/rg #current due to voltage drop in duct\n",
+ "j=i/(sb*sh) #current density\n",
+ "si=e/(rg) #short circuit current\n",
+ "sj=si/(sb*sh) #short circuit current density\n",
+ "pd=j*vg #power density\n",
+ "p=pd*sl*sh*sb #power \n",
+ "pp=e*i #also power\n",
+ "pde=v*i #power delevered is V*i\n",
+ "los=p-pde #loss\n",
+ "eff=pde/p #efficiency\n",
+ "maxp=e**2/(4*rg)\n",
+ "print \" resistence of duct %fohms \\n voltage drop in duct %.1fV \\n current %.1fA \\n current density %fA/m**2 \\n short circuit current %.1fA \\n short current density %fA/m**2 \\n power %fMW \\n power delivered to load %fW \\n loss in duct %fW \\n efficiency is %f \\n maximum power delivered to load %dMW\"%(rg,vd,i,j,si,sj,p/10**6,pde/10**6,los/10**6,eff,maxp/10**6) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " resistence of duct 0.016807ohms \n",
+ " voltage drop in duct 529.2V \n",
+ " current 31487.4A \n",
+ " current density 52920.000000A/m**2 \n",
+ " short circuit current 89964.0A \n",
+ " short current density 151200.000000A/m**2 \n",
+ " power 47.608949MW \n",
+ " power delivered to load 30.945817W \n",
+ " loss in duct 16.663132W \n",
+ " efficiency is 0.650000 \n",
+ " maximum power delivered to load 34MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.4 Page 347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "c=50 #conduntance\n",
+ "a=0.2 #area\n",
+ "d=0.24 #distence between electrodes\n",
+ "v=1800 #gas velosity\n",
+ "b=1 #flux density\n",
+ "k=0.7 \n",
+ "ov=k*b*v*d\n",
+ "tp=c*d*a*b**2*v**2*(1-k)\n",
+ "eff=k\n",
+ "op=eff*tp\n",
+ "e=b*v*d\n",
+ "rg=d/(c*a)\n",
+ "si=e/rg\n",
+ "maxp=e**2/(4*rg)\n",
+ "print \" output voltage %.1fV \\n total power %.4fMW \\n efficiency %.1f \\n output power %fMW \\n open circuit voltage %dV \\n internal resistence %.3fohm \\n short circuit current %dA \\n maximum power output is %.3fMW\"%(ov,tp/10**6,eff,op/10**6,e,rg,si,maxp/10**6)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " output voltage 302.4V \n",
+ " total power 2.3328MW \n",
+ " efficiency 0.7 \n",
+ " output power 1.632960MW \n",
+ " open circuit voltage 432V \n",
+ " internal resistence 0.024ohm \n",
+ " short circuit current 18000A \n",
+ " maximum power output is 1.944MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.5 Page 363"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import cos, pi\n",
+ "a=100 #area\n",
+ "spd=0.7 #sun light power density\n",
+ "m=1000 #weight of water collector\n",
+ "tp=30 #temperature of water\n",
+ "th2=60 #angle of incidence\n",
+ "cp=4186 #specific heat of water\n",
+ "sp=spd*cos(th2*pi/180)*a #solar power collected by collector\n",
+ "ei=sp*3600*10**3 #energy input in 1 hour\n",
+ "temp=ei/(cp*10**3)\n",
+ "tw=tp+temp\n",
+ "print \" solar power collected by collector %dkW \\n energy input in one hour %e J \\n rise in temperature is %.1f`C \\n temperature of water %.1f`c\"%(sp,ei,temp,tw)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " solar power collected by collector 35kW \n",
+ " energy input in one hour 1.260000e+08 J \n",
+ " rise in temperature is 30.1`C \n",
+ " temperature of water 60.1`c\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.6 Page 364"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt, ceil\n",
+ "vo=100 #motor rated voltage\n",
+ "efm=0.4 #efficiency of motor pump\n",
+ "efi=0.85 #efficiency of inverter\n",
+ "h=50 #head of water\n",
+ "v=25 #volume of water per day\n",
+ "ov=18 #pv pannel output module\n",
+ "pr=40 #power rating\n",
+ "ao=2000 #annual output of array\n",
+ "dw=1000 #density of water\n",
+ "en=v*dw*h*9.81 #energy needed to pump water every day\n",
+ "enkw=en/(3.6*10**6) #energy in kilo watt hour\n",
+ "oe=efm*efi #overall efficiency\n",
+ "epv=round(enkw/oe) #energy out of pv system\n",
+ "de=ao/365 #daily energy output\n",
+ "pw=epv*10**3/de #peak wattage of pv array\n",
+ "rv=vo*(pi)/sqrt(2) #rms voltage\n",
+ "nm=rv/ov #number of modules in series\n",
+ "nm=ceil(nm)\n",
+ "rpp=nm*pr #rated peak power output\n",
+ "np=pw/rpp #number of strings in parallel\n",
+ "np=round(np)\n",
+ "print \" energy needed o pump water every day %fkWh/day \\n overall efficiency %.2f \\n energy output of pv system %dkWh/day \"%(enkw,oe,epv)\n",
+ "print \"\\n annual energy out of array %dWh/Wp \\n daily energy output of array %.3fWh/Wp \\n peak wattage of pv array %.2fWp \\n rms output voltage %.2fV\\n number of modules in series %d \\n rated peak power output of each string %.2fW \\n number of strings in parallel %d\"%(epv,de,pw,rv,nm,rpp,np)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " energy needed o pump water every day 3.406250kWh/day \n",
+ " overall efficiency 0.34 \n",
+ " energy output of pv system 10kWh/day \n",
+ "\n",
+ " annual energy out of array 10Wh/Wp \n",
+ " daily energy output of array 5.000Wh/Wp \n",
+ " peak wattage of pv array 2000.00Wp \n",
+ " rms output voltage 222.14V\n",
+ " number of modules in series 13 \n",
+ " rated peak power output of each string 520.00W \n",
+ " number of strings in parallel 4\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.7 Page 373"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "ws=20 #wind speed\n",
+ "rd=10 #rotor diameter\n",
+ "ros=30 #rotor speed\n",
+ "ad=1.293 #air density\n",
+ "mc=0.593 #maximum value of power coefficient\n",
+ "p1=0.5*ad*(pi)*(rd**2)*(ws**3)/4 #power\n",
+ "p=p1/10**3\n",
+ "pd=p/((pi)*(rd/2)**2) #power density\n",
+ "pm=p*(mc) #maximum power\n",
+ "mt=(pm*10**3)/((pi)*rd*(ros/60))\n",
+ "print \" power %.fkW \\n power density %.3fkW/m**3 \\n maximum power %fkW \\n maximum torque %.1fN-m\"%(p,pd,pm,mt)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " power 406kW \n",
+ " power density 5.172kW/m**3 \n",
+ " maximum power 240.881303kW \n",
+ " maximum torque 15335.0N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.8 Page 373"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "cp=0.593\n",
+ "d=1.293\n",
+ "s=15\n",
+ "a=2/3\n",
+ "dp=2*d*(s**2)*a*(1-a)\n",
+ "dlp=760*dp/(101.3*10**3) #760 mmhg=101.3*10**3pascal then pressure in mm of hg\n",
+ "dpa=dlp/760 #pressure in atmosphere\n",
+ "print \"pressure in pascal %.1fpascal \\npressure in height of mercury %.2fmm-hg \\npressure in atmosphere %.5fatm\"%(dp,dlp,dpa)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pressure in pascal 129.3pascal \n",
+ "pressure in height of mercury 0.97mm-hg \n",
+ "pressure in atmosphere 0.00128atm\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.9 Page 385"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import floor\n",
+ "ng=50 #number of generator\n",
+ "r=30 #rated power \n",
+ "mah=10 #maximum head\n",
+ "mih=1 #minimum head\n",
+ "tg=12 #duration of generation\n",
+ "efg=0.9 #efficiency of generated\n",
+ "g=9.81 #gravity\n",
+ "le=5 #lenght of embankment\n",
+ "ro=1025 #density\n",
+ "ti=r/(0.9)**2\n",
+ "q=ti*10**(6)/(ro*g*mah) #maximum input\n",
+ "q=floor(q*10**2)/10**2\n",
+ "qw=q*ng #total quantity of water\n",
+ "tcr=qw*tg*3600/2 #total capacity of resevoir\n",
+ "sa=tcr/mah #surface area \n",
+ "wbe=sa/(le*10**6) #wash behind embankment\n",
+ "avg=r/2\n",
+ "te=avg*tg*365*ng #total energy output\n",
+ "print \"quantity of water for maximum output %fm**3-sec \"%(q)\n",
+ "print \"\\nsurface area of reservoir %fkm**3 \"%(sa/10**6)\n",
+ "print \"\\nwash behind embankment %fkm \\ntotal energy output %eMWh\"%(wbe,te) \n",
+ "\n",
+ "print \"area of reservoir %fkm**3 \"%(sa/10**6)\n",
+ "print \"\\nwash behind embankment %fkm \\ntotal energy output %eMWh\"%(wbe,te) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "quantity of water for maximum output 368.330000m**3-sec \n",
+ "\n",
+ "surface area of reservoir 39.779640km**3 \n",
+ "\n",
+ "wash behind embankment 7.955928km \n",
+ "total energy output 3.285000e+06MWh\n",
+ "area of reservoir 39.779640km**3 \n",
+ "\n",
+ "wash behind embankment 7.955928km \n",
+ "total energy output 3.285000e+06MWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 15.10 Page 385"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "tc=2100 #total capacity of plant\n",
+ "n=60 #number of generaed\n",
+ "p=35 #power of generated by each generator\n",
+ "h=10 #head of water\n",
+ "d=12 #duration of generation\n",
+ "cee=2.1 #cost of electrical energy per kWh\n",
+ "efft=0.85 #efficiency of turbine\n",
+ "effg=0.9 #efficiency of generator\n",
+ "g=9.81 #gravity\n",
+ "ro=1025 #density\n",
+ "acc=0.7 #assuming coal conumotion\n",
+ "pi=p/(efft*effg) #power input\n",
+ "q=pi*10**6/(h*g*ro) #quantity of water\n",
+ "tqr=q*n*d*3600/2 #total quantity of water in reservoir\n",
+ "avp=tc/2 #average output during 12h\n",
+ "toe=avp*d #total energy in 12 hours\n",
+ "eg=toe*365 #energy generated for totel year\n",
+ "coe=eg*cee*10**3 #cost of electrical energy generated\n",
+ "sc=eg*10**3*acc #saving cost \n",
+ "print \"total quantity of water in reservoir %em**3 \\nenergy generated per year %eMW \\ncost of electrical energy Rs%e \\nsaving in cost Rs.%e \"%(tqr,eg,coe,sc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total quantity of water in reservoir 5.896832e+08m**3 \n",
+ "energy generated per year 4.599000e+06MW \n",
+ "cost of electrical energy Rs9.657900e+09 \n",
+ "saving in cost Rs.3.219300e+09 \n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb
new file mode 100644
index 00000000..dccece3a
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb
@@ -0,0 +1,359 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:95ea4a7b39974854edf27cd54ce8388d8f0d40efb44e4e2ed2e5394147a23212"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-17, Generating Capacity Reliability Evaluation"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 17.1 Page 421"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import factorial\n",
+ "#given\n",
+ "n=2 #number of generating station\n",
+ "f=0.03 #F.O.R\n",
+ "a=1-f\n",
+ "p=40 #generation station power \n",
+ "g = range(0,3)\n",
+ "Pg = range(0,3) \n",
+ "def comb(m,r):\n",
+ " y = factorial(m)/(factorial(m-r)*factorial(r))\n",
+ " return y\n",
+ "print \"No. of Units out\\t\\tCapacity Out MW\\t\\tCapacity Available MW\\t\\tProbability\"\n",
+ "for i in g:\n",
+ " Pg[i] = comb(n,i)*f**i*a**(n-i)\n",
+ " \n",
+ " print i,'\\t\\t\\t\\t',p*i,'\\t\\t\\t\\t',p*(n-i),'\\t\\t\\t',Pg[i]\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "No. of Units out\t\tCapacity Out MW\t\tCapacity Available MW\t\tProbability\n",
+ "0 \t\t\t\t0 \t\t\t\t80 \t\t\t0.9409\n",
+ "1 \t\t\t\t40 \t\t\t\t40 \t\t\t0.0582\n",
+ "2 \t\t\t\t80 \t\t\t\t0 \t\t\t0.0009\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 17.2 Page: 422"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "n1=2 #number of generating station\n",
+ "f1=0.03 #F.O.R\n",
+ "a1=1-f1\n",
+ "p1=40 #genetaion station power\n",
+ "n2=1 #number of genreting station \n",
+ "f2=0.03 #F.O.R for second set\n",
+ "a2=1-f2\n",
+ "p2=30 #generating station power in second set \n",
+ "def comb(m,r):\n",
+ " y=factorial(m)/(factorial(m-r)*factorial(r))\n",
+ " return y\n",
+ "pg2=range(0,n2+1)\n",
+ "co2=range(0,n2+1)\n",
+ "ca2=range(0,n2+1)\n",
+ "print \"Part(a):\"\n",
+ "for i in range(0,n2+1):\n",
+ " pg2[i]=comb(n2,i)*((f2)**i)*((a2)**(n2-i))\n",
+ " co2[i]=p2*i ;ca2[i]=p2*(n2-i)\n",
+ " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %0.2f \"%(i,co2[i],ca2[i],pg2[i])\n",
+ "\n",
+ "pg1=range(0,n1)\n",
+ "co1=range(0,n1)\n",
+ "ca1=range(0,n1)\n",
+ "print \"Part(b):\"\n",
+ "print \"\\nfor exp 17 1 \"\n",
+ "for i in range(0,n1):\n",
+ " pg1[i]=comb(n1,i)*((f1)**i)*((a1)**(n1-i))\n",
+ " co1[i]=p1*i ;ca1[i]=p1*(n1-i)\n",
+ " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %4f \"%(i,co1[i],ca1[i],pg1[i])\n",
+ "\n",
+ "print \"combination of 2 set of stations\"\n",
+ "tp=1\n",
+ "pocg=0\n",
+ "for i in range(0,n1):\n",
+ " \n",
+ " for j in range(0,n2):\n",
+ " og=co1[i]+co2[j] #now total system capacity out\n",
+ " cg=ca1[i]+ca2[j] #now total system capacity available\n",
+ " tp=tp-pocg\n",
+ " pocg=pg1[i]*pg2[j] #individual stste probability\n",
+ " print \"\\ncapacity out %dMW ,capacity available %dMW ,individual state probability %.6f ,cumulative probability %.6f\"%(og,cg,pocg,tp)\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Part(a):\n",
+ "\n",
+ "number of units out 0 ,capacity out 0MW ,capacity available 30MW ,probability 0.97 \n",
+ "\n",
+ "number of units out 1 ,capacity out 30MW ,capacity available 0MW ,probability 0.03 \n",
+ "Part(b):\n",
+ "\n",
+ "for exp 17 1 \n",
+ "\n",
+ "number of units out 0 ,capacity out 0MW ,capacity available 80MW ,probability 0.940900 \n",
+ "\n",
+ "number of units out 1 ,capacity out 40MW ,capacity available 40MW ,probability 0.058200 \n",
+ "combination of 2 set of stations\n",
+ "\n",
+ "capacity out 0MW ,capacity available 110MW ,individual state probability 0.912673 ,cumulative probability 1.000000\n",
+ "\n",
+ "capacity out 40MW ,capacity available 70MW ,individual state probability 0.056454 ,cumulative probability 0.087327\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 17.3: Page 423"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "n=4 #number of generating station\n",
+ "f=0.05 #F.O.R\n",
+ "a=1-f\n",
+ "p=50 #generation station power \n",
+ "mp=150 #maximum alowable power\n",
+ "lf=50 #load factor in persentage\n",
+ "def comb(m,r):\n",
+ " y=factorial(m)/(factorial(m-r)*factorial(r))\n",
+ " return y\n",
+ "pg = range(0,n)\n",
+ "co = range(0,n)\n",
+ "ca = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " pg[i]=comb(n,i)*((f)**i)*((a)**(n-i))\n",
+ " co[i]=p*i ;ca[i]=p*(n-i)\n",
+ " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %4f \"%(i,co[i],ca[i],pg[i])\n",
+ "from numpy import arange\n",
+ "ld=arange(mp,0,-lf)\n",
+ "#[m n]=size(ld)\n",
+ "n =len(ld)\n",
+ "\n",
+ "%matplotlib inline\n",
+ "from matplotlib import pyplot as plt\n",
+ "plt.plot(ld)\n",
+ "plt.title('Load Duration Curve')\n",
+ "plt.xlabel('Time -->')\n",
+ "plt.ylabel('MW -->')\n",
+ "plt.show()\n",
+ "tg = range(0,n+1)\n",
+ "tg[n-2]=round(10000/(n-2))/100\n",
+ "tg[n-1]=tg[n-2]*2\n",
+ "tg[n]=100\n",
+ "tg[1]=0 ;tg[0]=0 #maximum load limit\n",
+ "el = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " el[i]=pg[i]*tg[i]\n",
+ " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %4f ,tg in persentage %.2f ,expected load %.6fMW\"%(i,co[i],ca[i],pg[i],tg[i],el[i])\n",
+ "\n",
+ "lt=sum(el)\n",
+ "print \"\\n\\nexpected loss of load is %.6fMW percent of time. assuming 365 days in a year, then expected loss of load is %.3fMW days per year\"%(lt,lt*365/100)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "number of units out 0 ,capacity out 0MW ,capacity available 200MW ,probability 0.814506 \n",
+ "\n",
+ "number of units out 1 ,capacity out 50MW ,capacity available 150MW ,probability 0.171475 \n",
+ "\n",
+ "number of units out 2 ,capacity out 100MW ,capacity available 100MW ,probability 0.013538 \n",
+ "\n",
+ "number of units out 3 ,capacity out 150MW ,capacity available 50MW ,probability 0.000475 \n"
+ ]
+ },
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ecjoyI9f0LRMRrwLur\nnrfrWv1pY7gWOAi4HjgpIob6GU6zzLlBmCWi4r+1pmHPX96KiNgp6XTgHyWNJfk3dTWwnvq9CsyP\niIcaL9ssOz7N1czMavJZTGZmVpMbhJmZ1eQGYWZmNblBmJlZTW4QZmZWkxuEmZnV5AZhZmY1uUGY\nmVlN/wkVxRcaayYErQAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f056d41bb90>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "number of units out 0 ,capacity out 0MW ,capacity available 200MW ,probability 0.814506 ,tg in persentage 0.00 ,expected load 0.000000MW\n",
+ "\n",
+ "number of units out 1 ,capacity out 50MW ,capacity available 150MW ,probability 0.171475 ,tg in persentage 0.00 ,expected load 0.000000MW\n",
+ "\n",
+ "number of units out 2 ,capacity out 100MW ,capacity available 100MW ,probability 0.013538 ,tg in persentage 200.00 ,expected load 2.707500MW\n",
+ "\n",
+ "\n",
+ "expected loss of load is 2.707500MW percent of time. assuming 365 days in a year, then expected loss of load is 9.882MW days per year\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 17.4 Page 425"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "n=4 #number of generating station\n",
+ "f=0.02 #F.O.R\n",
+ "a=1-f\n",
+ "p=50 #generation station power \n",
+ "mp=150 #maximum alowable power\n",
+ "minp=30 #minimum power \n",
+ "lf=60 #load factor in persentage\n",
+ "def comb(m,r):\n",
+ " y=factorial(m)/(factorial(m-r)*factorial(r))\n",
+ " return y\n",
+ "\n",
+ "pg = range(0,n)\n",
+ "co = range(0,n)\n",
+ "ca = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " pg[i]=comb(n,i)*((f)**i)*((a)**(n-i))\n",
+ " co[i]=p*i ;ca[i]=p*(n-i)\n",
+ " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %.7f \"%(i,co[i],ca[i],pg[i])\n",
+ "\n",
+ "from numpy import arange\n",
+ "ld=arange(mp,minp,-lf)\n",
+ "#[m n1]=size(ld)\n",
+ "n1=len(ld)\n",
+ "#[mm m]=max(co)\n",
+ "m=max(co)\n",
+ "\n",
+ "%matplotlib inline\n",
+ "from matplotlib import pyplot as plt\n",
+ "plt.plot(ld)\n",
+ "plt.title('Load Duration Curve')\n",
+ "plt.xlabel('Time -->')\n",
+ "plt.ylabel('MW -->')\n",
+ "plt.show()\n",
+ "\n",
+ "tg = range(0,n)\n",
+ "tg[0]=0\n",
+ "for i in range(1,n):\n",
+ " \n",
+ " tg[i]=(mp-ca[i])*100/(2*lf) #percentage time \n",
+ "\n",
+ "print \"\"\n",
+ "el = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " el[i]=pg[i]*tg[i]\n",
+ " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %4f ,tg in persentage %.2f ,expected load %.6fMW\"%(i-1,co[i],ca[i],pg[i],tg[i],el[i])\n",
+ "\n",
+ "lt=sum(el)\n",
+ "print \"\\n\\nexpected loss of load is %.6fMW percent of time. assuming 365 days in a year, then expected loss of load is %.3fMW days per year ,some times the loss of load is also expressed as reciprocal of this figure and then the units are years per day this result is %.4fMW years per day.\"%(lt,lt*365/100,100/(lt*365))"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "number of units out 0 ,capacity out 0MW ,capacity available 200MW ,probability 0.9223682 \n",
+ "\n",
+ "number of units out 1 ,capacity out 50MW ,capacity available 150MW ,probability 0.0752954 \n",
+ "\n",
+ "number of units out 2 ,capacity out 100MW ,capacity available 100MW ,probability 0.0023050 \n",
+ "\n",
+ "number of units out 3 ,capacity out 150MW ,capacity available 50MW ,probability 0.0000314 \n"
+ ]
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MSiSAWyLiJUkPAa+IiNvS\nZatIvsXscOBI4M70s7D2Ap5oeUcRzwFXAldKelM6fTlwwFhfhNlouYEwG94LABGxU1JtH8FOkr8f\nAb+KiBOH2oCkvYCfkzQ4y4AHSD5IDeDjEfGLdL1pwMeAeSRfnXlhO1+IWavcQJgNrZkvHPoX4N9J\nOiEi7k0vOc2o/eTUiHgJeHPd827ctZOkYfgmcDCwBDixi7/XwzqIGwizRNT822gaXv7tWxEROyR9\nGPh7SQeQ/E1dSmvfvfAiyTfh9doX2FjJeZirmZk15FFMZmbWkBsIMzNryA2EmZk15AbCzMwacgNh\nZmYNuYEwM7OG3ECYmVlDbiDMzKyh/w8YEJUAVpFFJgAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f0576ba1810>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "\n",
+ "number of units out -1 ,capacity out 0MW ,capacity available 200MW ,probability 0.922368 ,tg in persentage 0.00 ,expected load 0.000000MW\n",
+ "\n",
+ "number of units out 0 ,capacity out 50MW ,capacity available 150MW ,probability 0.075295 ,tg in persentage 0.00 ,expected load 0.000000MW\n",
+ "\n",
+ "number of units out 1 ,capacity out 100MW ,capacity available 100MW ,probability 0.002305 ,tg in persentage 41.00 ,expected load 0.094503MW\n",
+ "\n",
+ "number of units out 2 ,capacity out 150MW ,capacity available 50MW ,probability 0.000031 ,tg in persentage 83.00 ,expected load 0.002603MW\n",
+ "\n",
+ "\n",
+ "expected loss of load is 0.097106MW percent of time. assuming 365 days in a year, then expected loss of load is 0.354MW days per year ,some times the loss of load is also expressed as reciprocal of this figure and then the units are years per day this result is 2.8214MW years per day.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter2.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter2.ipynb
new file mode 100644
index 00000000..7d5827eb
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter2.ipynb
@@ -0,0 +1,935 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:44ae6f2363996556e5b7037bd7c1155f8bdd64b6afae6e0bd73f2af88b36b33a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-2, Loads & Load Curves"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.1, page - 17"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "print \"solution for (a)\"\n",
+ "nb=8; nf=2; nl=2 #given number of equipments is 8 bulbs 2 fans 2plugs\n",
+ "lb=100 ;lf=60 ;ll=100 #corresponding wattages\n",
+ "cl=nb*lb+nf*lf+nl*ll #total connected load\n",
+ "print \"connected load = %dW\\n\"%(cl) \n",
+ "print \"solution for (b)\"\n",
+ "t1=5 ;t2=2 ;t3=2; t4=9; t5=6; # time periods in hours\n",
+ "# let = [bulb, fan, light]\n",
+ "w1=1*lf #12 to 5am period of duration 5h\n",
+ "w2=2*lf+1*ll #5am to 7am period of duration 2h\n",
+ "w3=0 #7am to 9am period of duration 2h\n",
+ "w4=2*lf #9am to 6pm period of duration 9h\n",
+ "w5=4*lb+2*lf #6pm to 12pm period of duration 6h\n",
+ "w=[w1 ,w2 ,w3, w4, w5]\n",
+ "print \"\\nthe maximum demand is %d W\\n\"%(max(w))\n",
+ "m=max(w)\n",
+ "print \"solution for (c)\"\n",
+ "df=m/cl\n",
+ "print \"\\ndemand factor =%0.3f\\n\"%(df)\n",
+ "print \"solution for (d)\"\n",
+ "#energy consumed is power multiply by corresponding time\n",
+ "energy=[w1*t1 ,w2*t2 ,w3*t3 ,w4*t4, w5*t5]\n",
+ "e=sum(energy)\n",
+ "print \"\\ntotal energy consumed during 24 hours = %d Wh = %0.2f kWh\\n\"%(e,e/1e3)\n",
+ "print \"solution for (e)\" \n",
+ "ec=cl*24 \n",
+ "print \"\\nif all devices are used throughout the day the energy consumed = %d Wh = %.2fkWh\"%(ec,ec/1000) \n",
+ "#for 24 hours of max. load\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "solution for (a)\n",
+ "connected load = 1120W\n",
+ "\n",
+ "solution for (b)\n",
+ "\n",
+ "the maximum demand is 520 W\n",
+ "\n",
+ "solution for (c)\n",
+ "\n",
+ "demand factor =0.464\n",
+ "\n",
+ "solution for (d)\n",
+ "\n",
+ "total energy consumed during 24 hours = 4940 Wh = 4.94 kWh\n",
+ "\n",
+ "solution for (e)\n",
+ "\n",
+ "if all devices are used throughout the day the energy consumed = 26880 Wh = 26.88kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.2, page - 19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "print \"(a)\" \n",
+ "mca=1.1 ;cla=2.5; mcb=1; clb=3; #mca=maximum demand of consumera cla=connected load of a mcb=maximum load of consumer b clb=connected load of consumer b\n",
+ "print \"maximum demand of consumer A = %0.1fkW \\n \\ndemand factor of consumer A = %0.2f \\n \\nmaximum demand of consumer B = %dkW\\n \\ndemand factor of consumer B = %0.3f\"%(mca,mca/cla,mcb,mcb/clb)\n",
+ "print \"(b)\"\n",
+ "print \"The variation in demand versus time curves are plotted and shown in Fig This is known as chronological load curve.\"\n",
+ "a=([100]*5,[1100]*1,[200]*2,[0]*9,[500]*7)\n",
+ "i=0\n",
+ "A=range(1,25)\n",
+ "for x in a:\n",
+ "\n",
+ " for y in x:\n",
+ " \n",
+ " A[i]=y\n",
+ " i+=1\n",
+ "\n",
+ " \n",
+ "b=([0]*(7),[300]*(1),[1000]*(2),[200]*(8),[600]*(5),[0]*(1)) #time line of different periods by a and b consumers\n",
+ "i=0\n",
+ "B=range(1,25)\n",
+ "for x in b:\n",
+ "\n",
+ " for y in x:\n",
+ " \n",
+ " B[i]=y\n",
+ " i+=1\n",
+ "from numpy import arange, nditer\n",
+ "t=arange(1,25,1) #for 24 hours ploting\n",
+ "ma=max(A) ;mb=max(B) \n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, subplot, title, title, show, hist\n",
+ "\n",
+ "subplot(211) #matrix plotting\n",
+ "plot(t,A) \n",
+ "plot(t,B) \n",
+ "title(\"load curves of A and B: fig(1) \\n\")\n",
+ "show()\n",
+ "C=range(1,25)\n",
+ "i=0\n",
+ "for x,y in nditer([A,B]):\n",
+ " C[i]=x+y \n",
+ " i+=1 \n",
+ "subplot(222) \n",
+ "plot(t,C) \n",
+ "title(\"chronological load of group : fig(2) \\n\")\n",
+ "show()\n",
+ "mg=max(C) #maximum demand of group\n",
+ "print \"(c)\"\n",
+ "print \"maximum demand of the group is %dW\"%(mg) \n",
+ "gd=(ma+mb)/mg \n",
+ "print \"group diversity factor = %.3f\"%(gd) #group diversity factor is sum of individual maximum consumaer load to the group max load \n",
+ "print \"(d)\"\n",
+ "sa=sum(A)\n",
+ "print \"energy consumed by A during 24 hours is = %d Wh = %0.2f kWh\"%(sa,sa/1e3)\n",
+ "sb=sum(B) \n",
+ "print \"(e)\" \n",
+ "print \"maximum energy which A could consume in 24hours = %.2fkWh \\nmaximum energy which B consume in 24 hours is =%.2fkWh\"%(mca*24,mcb*24 ) \n",
+ "print \"(f)\" \n",
+ "print \"actual energy/maximum energy\" \n",
+ "mca=mca*10**3; mcb=mcb*10**3\n",
+ "aemea=sa/(mca*24)\n",
+ "aemeb=sb/(mcb*24)\n",
+ "print \"\\nfor A = %0.4f \\nfor b = %.4f\"%(sa/(mca*24),aemeb) \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "maximum demand of consumer A = 1.1kW \n",
+ " \n",
+ "demand factor of consumer A = 0.44 \n",
+ " \n",
+ "maximum demand of consumer B = 1kW\n",
+ " \n",
+ "demand factor of consumer B = 0.333\n",
+ "(b)\n",
+ "The variation in demand versus time curves are plotted and shown in Fig This is known as chronological load curve.\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAACfCAYAAAD+tbJvAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmYFPXV6PHvGfYdZB32AQFBNmcUxIggjEaNcX1iXEPU\nuMTEN/HJo3GJEXKNuTdvfGPeGzWvuKFGc6MRMSauENwGCDvILIhsM8AwIOuwzjDn/lHV0owzPb1U\nV/VyPs/TD93V1VWnq5szv/7Vr35HVBVjjDHZIyfoAIwxxvjLEr8xxmQZS/zGGJNlLPEbY0yWscRv\njDFZxhK/McZkGUv8GUZENorI1CRsd7qIvOj1dlORiFwuIuUisl9ExgQdT7hkfw5h732fiIwVkc9E\n5JwYXv8bEflJlOv+TkRujz9aEy9L/JlH3VsytpstfgfcoaodVHVlQyuIY72IrPE5tkY/BxGZLCJ1\n7h+s/SJSISLTY9x+6L13VNUVqjpSVT+K5oUi0h24AfiT+7iFiLwmIhvcuCY1sK/7RaRFjDGaBFni\nNylDRJqnQAwC9AeKm1j1HKAV0F1ETk96YNHb4v7B6gCcDdwsIpdG88IY3ntjvg/8Q1WPhC37CLge\nqKTeHy1VrQRKgUvi3J+JkyX+DCYirUTkMRHZ4t5+LyIt3ec6i8hbIlIlIrtE5O8i0ifstXki8qH7\nk/89oFsT+7pURFaIyF4RWSci57vLT+h6Cu+qEJGBbkvwJhHZBMwVkX+KyI/qbXuliFzm3j9FRN4X\nkS9FpFREvhO23kUissaNuUJEftZIrC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y8LuhqpWqusK9Xw2U4FwXlHXfjQjHAmL4bqRC\n4m/owq4+jaybDRT4QESWiEgGlpmJWU9V3e7e3w7EViEm89wpIitF5Jls6NqoT0QGAqcBi8jy70bY\nsVjoLor6u5EKid/OLp/oG6p6GnAh8CP3J78B1OmXzObvy5NAHjAW2AY8Gmw4/nK7Nv4G/ERV94c/\nl23fDfdYvIZzLKqJ8buRCom/yQu7somqbnP/3QHMxukKy2bb3X5NRCQXqAo4nsCoapW6gKfJou+G\niLTASfovquob7uKs/G6EHYuXQsci1u9GKiR+u7DLJSJtRaSDe78dcD6wOvKrMt6bwDT3/jTgjQjr\nZjQ3uYVcTpZ8N0REgGeAYlV9LOyprPtuNHYsYv1uBD6qB0BELgQe4/iFXb8JOKRAiEgeTisfnIvr\n/pxNx0JEXgEmAd1w+mx/CcwB/gr0BzYCV6nqnqBi9EsDx+IhYDLOT3kFNgC3hfVxZywRORv4CFjF\n8e6c+4B/k2XfjUaOxf3ANcTw3UiJxG+MMcY/qdDVY4wxxkeW+I0xJstY4jfGmCxjid8YY7KMJX5j\njMkylviNMSbLWOI3xpgs8/8BKUtFIkGhS28AAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31dcdedc90>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAN0AAACfCAYAAAB9VNx9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGUtJREFUeJztnXm0HVWVh79fEjKRAIFMBDIxBAIqYCMzdIyIAQFRVyu0\n2EwtC0WwtVsEpU1ARERoULu1oQWUqEEEtVFBAU1IAEEikIQESAJkDhneCyFAh7zk7f7jnCL1bu69\n7451q+4931pvvbo1nVPDr/Y+59TeJTMjEAgkR49GVyAQaDWC6AKBhAmiCwQSJoguEEiYILpAIGGC\n6AKBhKlKdJLOlTSrVpWpBklLJH2gBvv5oaQrq9zHBEnLiyzvlLR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II=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31dcadf050>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(c)\n",
+ "maximum demand of the group is 1100W\n",
+ "group diversity factor = 1.909\n",
+ "(d)\n",
+ "energy consumed by A during 24 hours is = 5500 Wh = 5.50 kWh\n",
+ "(e)\n",
+ "maximum energy which A could consume in 24hours = 26.40kWh \n",
+ "maximum energy which B consume in 24 hours is =24.00kWh\n",
+ "(f)\n",
+ "actual energy/maximum energy\n",
+ "\n",
+ "for A = 0.2083 \n",
+ "for b = 0.2875\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.3 : page - 22"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "cola=5 ;na=600; ns=20 \n",
+ "cls=2 ;clfm=10 ;clsm=5; cll=20; i=80 \n",
+ "dffl=0.7; dfsm=0.8; dfl=0.65; dfci=0.5 \n",
+ "nsl=200 ;clsl=0.04 ;dfa=0.5; gdfa=3.0 \n",
+ "pdfa=1.25; gdfc=2 ;pdfc=1.6; dfs=0.8 #given col||cl=connected load,n=number,df=demand factor,gdf=group diversity factor,pdf=peak diversity factor,a=appartement,c=commertials,s=shop,sl=streetlight,fm=flourmill,sm=saw mill,l=laundry,ci=cinema complex.\n",
+ "mdea=cola*dfa\n",
+ "print \"maximum demand of each appartment =%.2fkWh \\n\"%(mdea)\n",
+ "mda=(na*mdea)/gdfa\n",
+ "print \"maximum demand of 600 apatments =%.2fkW \\n\"%(mda) \n",
+ "datsp=mda/pdfa\n",
+ "print \"demand of 600 apartments at time of the system peak =%dkW \\n\"%(datsp) \n",
+ "mdtcc=((cls*ns*dfs)+(clfm*dffl)+(clsm*dfsm)+(cll*dfl)+(i*dfci))/gdfc\n",
+ "print \"maximum demand of total commertial complex=%dkW \\n\"%(mdtcc)\n",
+ "dcsp=mdtcc/pdfc\n",
+ "print \"demand of the commertial load at the time of the peak = %dkW\\n\"%(dcsp) \n",
+ "dsltsp=nsl*clsl\n",
+ "print \"demand of the street lighting at the time of the system peak =%dkW\"%(dsltsp) \n",
+ "ispd=datsp+dcsp+dsltsp\n",
+ "print \"\\nincrease in system peak deamand =%dkW \"%(ispd)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum demand of each appartment =2.50kWh \n",
+ "\n",
+ "maximum demand of 600 apatments =500.00kW \n",
+ "\n",
+ "demand of 600 apartments at time of the system peak =400kW \n",
+ "\n",
+ "maximum demand of total commertial complex=48kW \n",
+ "\n",
+ "demand of the commertial load at the time of the peak = 30kW\n",
+ "\n",
+ "demand of the street lighting at the time of the system peak =8kW\n",
+ "\n",
+ "increase in system peak deamand =438kW \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.4 : page -28"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "print \"the chronological load curve is plotted in fig 1 the durition of loads is as under :\"\n",
+ "LC=([20]*(5),[40]*4,[80]*9,[100]*4,[20]*2)\n",
+ "\n",
+ "i=0\n",
+ "lc=range(1,25)\n",
+ "for x in LC:\n",
+ " for y in x:\n",
+ " lc[i] = y\n",
+ " i+=1\n",
+ "lc.sort()\n",
+ "\n",
+ "nn=len(lc)\n",
+ "\n",
+ "e=sum(lc)\n",
+ "print lc\n",
+ "print \"\\nthe load duration curve is ploted in 2 the energy produced by plant in 24 hours = %d MWh \\n\"%(e) \n",
+ "lff=e/(24*max(lc)) \n",
+ "print \"load factor = %0.4f= %.2f %%\"%(lff,lff*100)\n",
+ "t=range(1,25)\n",
+ "subplot(211) \n",
+ "plot(t,lc) \n",
+ "show()\n",
+ "title(\"chronological curve\")\n",
+ "subplot(212) \n",
+ "plot(t,lc) \n",
+ "title(\"load duration curve\")\n",
+ "show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the chronological load curve is plotted in fig 1 the durition of loads is as under :\n",
+ "[20, 20, 20, 20, 20, 20, 20, 40, 40, 40, 40, 80, 80, 80, 80, 80, 80, 80, 80, 80, 100, 100, 100, 100]\n",
+ "\n",
+ "the load duration curve is ploted in 2 the energy produced by plant in 24 hours = 1420 MWh \n",
+ "\n",
+ "load factor = 0.5917= 59.17 %\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAXgAAACGCAYAAADXcpF7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAD39JREFUeJzt3XuQVOWZx/HvD3A2ATXCIhAVAxpQ0Y24XhNFB4OWseIl\n2SrFlBZlibvZXS9rXEvxAkRLJKQSXSulyRpNEU0krDFeokkQFLUoVyMZCchNDKSA1UERSNCoCM/+\ncc447ciM9Omec3q6f5+qrjl9+nT3U2+deead97zvcxQRmJlZ/elVdABmZtY9nODNzOqUE7yZWZ1y\ngjczq1NO8GZmdcoJ3sysTnWZ4CXdI6lV0uKSfQMkPSFppaQ5kvYqeW2SpFckLZd0ancGbmZmXfuk\nHvxPgNM67LsGeCIiRgLz0udIGgWcC4xK33OHJP+HYGZWkC4TcEQ8C2zqsPtMYGa6PRM4O90+C7g/\nIrZFxBpgFXBM9UI1M7NyZOlhD46I1nS7FRicbu8DrCs5bh2wbwWxmZlZBfpU8uaICEld1Tr42Guf\ncLyZmXUiIlTO8Vl68K2ShgBI+iywId2/Hhhactx+6b6dBelHBFOmTCk8hlp5uC3cFtVoi6lTg/PP\nLz7u7nhkkSXBPwJMSLcnAA+V7B8vqUnScGAE8EKmqMzMyvTGG3D77fDtbxcdSe3ocohG0v3AScBA\nSWuByc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3xdYW/J8He0BN6IA5kp6UdLFRQdTA7plkVwP\ndqmkRZLuboQhiY7yWEDZU5S0xf+mu3b53Mgzwftq7kcdHxFHAF8hqeUzpuiAakVabrSRz5c7geHA\naOA14HvFhpOvdEjil8DlEfHX0tca7dxI2+IBkrbYSpnnRp4Jfj0wtOT5UJJefEOKiNfSn28AvyIZ\nwmpkrem4I50tkmsUEbEhUsCPaaBzo6sFlOnrDXNulLTFfW1tUe65kWeCfxEYIWmYpCbgXJKFUQ1H\nUl9Je6Tb/YBTgcVdv6vueZFcKk1ibb5Gg5wbXkDZrrO2KPfcyHUevKSvALcBvYG7I+KW3L68hkga\nTtJrh6RcxM8aqS0k3Q+cBAwkGVOdDDxMAy6S20lbTAGaSf4FD2A18C8lY9B1ywso23XSFtcC51HG\nueGFTmZmdSrXhU5mZpYfJ3gzszrlBG9mVqec4M3M6pQTvJlZnXKCNzOrU07wZmZ16v8BPe1n+QRE\nNNIAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31f86db090>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAXgAAACQCAYAAAAC/XD9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFElJREFUeJzt3Xu4VHW9x/H3BxQVvEGoeAHBC15LOXnJFMVbxzx5qZ68\nnTxmUqfTST1mPooXQD2p0VHJp6fLMe0hLUnNTNMMQVEPWYYhgiioiRdCEAQK8ILwPX+s32YPI7PZ\ne+29Z82e+byeZ549s9aaWd9ZDN/5zW/9ft+liMDMzOpPt6IDMDOzzuEEb2ZWp5zgzczqlBO8mVmd\ncoI3M6tTTvBmZnXKCd5aRdJcSUd3wuuOlnRbG7ZfI2mXjo6jhf09KOnMau3PrCNtVHQA1mVEunXG\n69YESaOBXSNibUKPiOOLi8isfdyCt4YgqS4bM5K6Fx2D1S4neGszSZtIGitpXrrdKKlHWre1pN9K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oXVyBakfkcqTZJrFBGxMBLgJzTQZ6OlCZRpfcN8\nNkqOxe1Nx6Ktn41qJvipwO6SBkrqAZxKNjGq4UjqKWmLdL8X8ClgRsvPqnueJJekJNbkszTIZ8MT\nKJtVOhZt/WxUdRy8pE8DY4HuwC0RcW3Vdl5DJA0ia7VDVi7i5410LCTdARwB9CXrUx0J/IYGnCS3\nnmMxChhG9hM8gFeAfy/pg65bnkDZrMKxuBQ4nTZ8NjzRycysTlV1opOZmVWPE7yZWZ1ygjczq1NO\n8GZmdcoJ3sysTjnBm5nVKSd4M7M69f9mVBHwfc39XwAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31dc8e5090>"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.5 : page - 29"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "lf=0.5917; ml=100; ic=125 #lf=load factor,ic=installed capacity,ml=maximum load,cf=capacity factor,uf=utillization factor\n",
+ "cf=(ml*lf)/ic; uf=ml/ic\n",
+ "print \"capacity factor =%0.3f\"%(cf)\n",
+ "print \"\\nutilisation factor =%.2f\"%(uf)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "capacity factor =0.473\n",
+ "\n",
+ "utilisation factor =0.80\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.6 : page - 29"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "t=[24, 24-7, 24-11, 4] # Periods for running load 20,40,80,100\n",
+ "l = [20,40,80,100] # different loads\n",
+ "E= range(0,len(l))\n",
+ "E[0] = t[0]*l[0] # MWh\n",
+ "i=1\n",
+ "for x in E[1:]:\n",
+ " E[i] = E[i-1]+(l[i]-l[i-1])*t[i]\n",
+ " i+=1\n",
+ "\n",
+ "print \"Energy at different load levels:\\nLoad(MW)\\t\\tEnergy(MWh)\\n\"\n",
+ "from numpy import nditer\n",
+ "for x, y in nditer([l, E]):\n",
+ " print ' ',x,'\\t\\t\\t ',y\n",
+ "\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, subplot, title, xlabel, ylabel, show\n",
+ "subplot(211)\n",
+ "plot(E,l,'bo')\n",
+ "plot(E,l)\n",
+ "title('Energy Load Curve')\n",
+ "xlabel('Energy MW Hrs')\n",
+ "ylabel('Load MW')\n",
+ "show()\n",
+ "######### Mass Curve #######\n",
+ "\n",
+ "\n",
+ "t = [5,4,9,4,2]\n",
+ "l = [20,40,80,100,20] # loads on different time of day\n",
+ "Es= range(0,len(l))\n",
+ "Es[0] = t[0]*l[0] # MWh\n",
+ "i=1\n",
+ "for x in Es[1:]:\n",
+ " Es[i] = Es[i-1]+(l[i])*t[i]\n",
+ " i+=1\n",
+ "\n",
+ "\n",
+ "print \"Energy supplied uto different times of day:\\nTime\\t\\tEnergy(MWh)\\n\"\n",
+ "times = ['5am', '9am', '6pm','10pm','12pm']\n",
+ "for x, y in nditer([times, Es]):\n",
+ " print x,'\\t\\t\\t ',y\n",
+ "\n",
+ " \n",
+ "td= range(0,len(t))\n",
+ "td[0] = t[0] # MWh\n",
+ "i=1\n",
+ "for x in td[1:]:\n",
+ " td[i] = td[i-1]+t[i]\n",
+ " i+=1\n",
+ " \n",
+ "subplot(212)\n",
+ "plot(td,Es,'bo')\n",
+ "plot(td,Es)\n",
+ "title('Mass Curve')\n",
+ "xlabel('Time')\n",
+ "ylabel('Load MW')\n",
+ "show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Energy at different load levels:\n",
+ "Load(MW)\t\tEnergy(MWh)\n",
+ "\n",
+ " 20 \t\t\t 480\n",
+ " 40 \t\t\t 820\n",
+ " 80 \t\t\t 1340\n",
+ " 100 \t\t\t 1420\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAACfCAYAAAAFzoX1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl81OW59/HPl10EEapiFUTErbTUHVCLRNlU3B6tCtS9\n9jyPPQeXtqd1PVq3U61bpfW0p25oTdxAik1VUAwgICiKIkilKAhlUQQRRBDC9fxx30OGmIRJmMwv\nM7ner9e8Mr9l5nffIcw19/K7bpkZzjnnXCaaJF0A55xz+cODhnPOuYx50HDOOZcxDxrOOecy5kHD\nOedcxjxoOOecy5gHDecaAEmPSrol6XI4tz0eNFzOSFooab2ktWmP+5Mu1/ZI2iJpv3q+jMVHdWX4\ntqSHJC2V9IWk9yXdJKl1PZfLuW140HC5ZMApZtY27XF5ti8iqWm23zNHVOVOqQMwDWgJ9DazXYAB\nQDugW60vkr+/H9cAeNBwDYKkiyS9Jum3klZJ+lDSiWnH26V9014i6RZJTdJeO0XSPZJWAjdK6iDp\neUlrJM2QdKukyfH8P0i6q9L1x0q6spZlbifpMUmfxFbUdZIUj3WTNEHSSkmfSvqLpHZprz1M0lux\n1fAk0KqGS/0MWGNm55nZxwBmtsTMrjKz2ZL2ja2hrf+fJZVJ+nE1v59bJK2W9N2083ePrcDd4vYp\nkmbF86ZI6lGb340rXB40XK5V+W066gnMA74F3Ak8lHbsUeBrwjfrw4CBwKWVXrsA2AO4HXgAWAt0\nBC4ELqCi++dRYGjaB/xuQD/giVrWZQTQFugK9I3XuDjt+G3At4HvAJ2Bm+L1WgBjgJFAe+AZ4Cyq\n757qD4yuZdkqd3el/35uju83NO34OUCZma2UdBjhd/8ToAPwJ2BsLLdr5DxouFwSMCZ+e009fpx2\nfJGZPWQhIdpjwLcl7SGpI3AScJWZfWVm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QX6/wbSTOBsyVdHsv/jqSSDN7LuYx50HD5aqdK3VNnx/0GfGpmRwD/A/wi7r8OeMXMehHy\n8/w2Zj2FsJjNWWZ2PPDvwGdm9l3gBkKahVQgOFVS0/iai4CHqinbaODM+PwUQv6tlPSgcQwwCdgo\nqU3cnlLNe/ZJry9watoxA1aa2RFm9hRhcahDzewQ4P9W837O1Yl3T7l89VUN3VOj48+3qPjwHkj4\n0E8FkZbAPoQP3PFm9nncfyxwH4CZzZH0bnz+paQJ8T3mEVZHm1PN9T8DVksaQkjauD51wMwWxcRx\nHYGDzewfkt4AehFaHvdX856TzWxroJD0SKXjT6U9fxcoljSGhptcz+UpDxquEG2MP8vZ9m/8TDOb\nn36ipF6EtU222V3N+z5IaLG8Dzxcw/WN8CH+e0Im3MrvNxU4B1gWt18HfkDonppWw/vWJL0Og4Hj\nCK2R6yT1MLPyOr6vc9vw7inXWLwEXJ7akJRqpVT+QJ9C+EBHUnegR+qAhWUxOwHDCOMUNXkOuCNe\nt7KphAXrNtrzAAAA9UlEQVSrpsbtacAFwDIzW5tBXaoVU1zvY2ZlhEW+2gE778h7OpfOWxouX+0U\n+/ZTXjCzayudkz7D6Bbgvtjd1ISQFvs0vjkL6QFgpKQ5hDTSc4A1acefBg6xsL57VQzAzNYBvwUI\nn+PbXGMqYZ3qafHc5ZKaUBFEqnrPTNNRNwUeV1iTXsDvzOyLDF/r3HZ5anTn0sQP7+ZmtlFhCdvx\nwIGpqbjxfol7zOzVJMvpXFK8peHctnYGJkhqTvimfpmZbZa0KzAdmOUBwzVm3tJwzjmXMR8Id845\nlzEPGs455zLmQcM551zGPGg455zLmAcN55xzGfv/dYVxdTo//Y0AAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31f86a5790>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Energy supplied uto different times of day:\n",
+ "Time\t\tEnergy(MWh)\n",
+ "\n",
+ "5am \t\t\t 100\n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YmVnBHDTMzKxgDhpm\nZlYwBw0zMyuYg4aZmRXs/wPsm1Z7E/DGqgAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31dc9118d0>"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.7 : page 30"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "md=40 ;cf=0.5; uf=0.8 #maximum demand in MW capacity factor utility factor\n",
+ "print \"(a)\"\n",
+ "lf=cf/uf #load factor is ratio of capacity factor to the utility factor\n",
+ "print \"load factor = capacity factor/utilisation factor =%0.3f\"%(lf)\n",
+ "print \"(b)\"\n",
+ "pc=md/uf #plant capacity is ratio of maximum demand to utility factor\n",
+ "print \"plant capacity = maximum demand/utilisation factor =%dMW\"%(pc)\n",
+ "print \"(c)\"\n",
+ "rc=pc-md #reserve capacity is plant capacity minus maximum demand \n",
+ "print \"reserve capacity =%dMW\"%(rc)\n",
+ "print \"(d)\"\n",
+ "print \"annual energy production =%dMWh\"%(md*lf*8760)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "load factor = capacity factor/utilisation factor =0.625\n",
+ "(b)\n",
+ "plant capacity = maximum demand/utilisation factor =50MW\n",
+ "(c)\n",
+ "reserve capacity =10MW\n",
+ "(d)\n",
+ "annual energy production =219000MWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.8 : pge 30"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "a=[0, 5, 9 ,18, 20, 22, 24] #time in matrix format\n",
+ "b=[50 ,50 ,100 ,100 ,150 ,80 ,50]#load in matrix format\n",
+ "z= range (1,7)\n",
+ "for x in range (1,6):\n",
+ " \n",
+ " z[x]=((b[x]+b[x+1])/2)*(a[(x+1)])-a[x]\n",
+ "\n",
+ "e = b[0]*a[1]+(b[2]+b[1])*(a[2]-a[1])/2+(b[3]*a[2])+(b[3]+b[4])+(b[4]+b[5])+(b[5]+b[6]) # MWh\n",
+ "\n",
+ "print \"energy required required by the system in 24 hrs = %d MWh\"%(e)\n",
+ "#50x5MWh+((100+50)/2)x4MWh +(100x9)MWh+(100+150)MWh+(150+80)MWh+(80+50)MWh \\n =\n",
+ "dlf=e/(max(b)*24)\n",
+ "print \"\\ndaily load factor = %f or %0.2f %%\"%(dlf,dlf*100)\n",
+ "\n",
+ "#########PLOT##############\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, subplot, title, xlabel, ylabel, show\n",
+ "plot(a,b)\n",
+ "title('Load Curve')\n",
+ "xlabel(\"TIME -->\")\n",
+ "ylabel(\"MW -->\")\n",
+ "show()\n",
+ "#xtitle(\"load curve\"%(\"time\"%(\"MW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "energy required required by the system in 24 hrs = 2060 MWh\n",
+ "\n",
+ "daily load factor = 0.572222 or 57.22 %\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYcAAAEZCAYAAAB8culNAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xu8VHW9//HXRxEUUS5iqIgCKhJGiIKX9MQmr5iJdUzt\nYmReKv15t0TlKFbipfJy7NjRvJEpZccQKSBQ2WRpoAiKbhAVQREBEQSvCOzP74/vGhj37NvsPTPf\nubyfj8c8mLVmzVqfvR7DfOZ7N3dHREQk3VaxAxARkeKj5CAiIhmUHEREJIOSg4iIZFByEBGRDEoO\nIiKSQclBpJnMbLSZ3R87DpFCUHKQsmBmi83siDxfptF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Q7e7vhRmRN2uyvcHdRwGj0nbt/5kThDWwTwL+Clzq7s+3PlyR1lFyEAm8sefuXgPU\npO1L7610kZl9N+09w939jSyuPR0Y5e6fZheySP5oym4REcmgNgcREcmg5CAiIhmUHEREJIOSg4iI\nZFByEBGRDEoOIiKSQclBREQyKDmIiEiG/w8MlRAWa2yxggAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31fa1d4f50>"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.9: page 31"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "print \"load duration curve in fig1\"\n",
+ "print \"the energy consumed upto different times is as \"\n",
+ "a=[0, 5 ,9 ,18, 20, 22, 24] #time in matrix format\n",
+ "b=[50, 50 ,100 ,100 ,150 ,80 ,50] #load in matrix format\n",
+ "\n",
+ "z = range(0,6)\n",
+ "for x in range (0,6):\n",
+ " z[x]=((b[x]+b[x+1])/2)*(a[x+1]-a[x])\n",
+ "\n",
+ "et=0\n",
+ "q = range(0,7)\n",
+ "m = range(0,7)\n",
+ "ett = range(0,6)\n",
+ "for x in range(0,6):\n",
+ " et=et+z[x] \n",
+ " A=a[(x)]\n",
+ " ett[x]=et \n",
+ " q[x]=a[x+1]\n",
+ " print \"\\nfrom mid night upto %d,energy=%dMWh\"%(A,et)\n",
+ "n = sorted(range(len(b)), key=lambda k: b[k], reverse=True)\n",
+ "m = sorted(b, reverse=True)\n",
+ "print \"energy curve in fig 2\"\n",
+ "t=[0, 3.88, 15.88 ,19.88, 23]\n",
+ "k = range(0,6)\n",
+ "for j in range(0,6):\n",
+ " k[j]=a[(j+1)]\n",
+ "M =range(0,5)\n",
+ "#rearranging for mass curve\n",
+ "for i in range(0,5):\n",
+ " M[i] = m[i]\n",
+ "Q = range(0,6)\n",
+ "for i in range(0,6):\n",
+ " Q[i] = q[i]\n",
+ " \n",
+ " \n",
+ "subplot(121) \n",
+ "plot(t,M) \n",
+ "title(\"load duration\")\n",
+ "xlabel(\"hours\")\n",
+ "ylabel(\"MW\")\n",
+ "subplot(122) \n",
+ "plot(Q,ett) \n",
+ "title(\"energy curve\")\n",
+ "xlabel(\"time\")\n",
+ "ylabel(\"MWh\")\n",
+ "show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "load duration curve in fig1\n",
+ "the energy consumed upto different times is as \n",
+ "\n",
+ "from mid night upto 0,energy=250MWh\n",
+ "\n",
+ "from mid night upto 5,energy=550MWh\n",
+ "\n",
+ "from mid night upto 9,energy=1450MWh\n",
+ "\n",
+ "from mid night upto 18,energy=1700MWh\n",
+ "\n",
+ "from mid night upto 20,energy=1930MWh\n",
+ "\n",
+ "from mid night upto 22,energy=2060MWh\n",
+ "energy curve in fig 2\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYcAAAEZCAYAAAB8culNAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XvcVXP6//HXuxJSVEJK5BDJoZooCd3jNA3jOEhICDOM\n4zjV8NDtO8PQMGp+DjOGklNEDlEoxq0ocigiRESlgxRFDh2u3x+fdde2730f23uvfbiej8f9aO21\n9lrrWt1r39den6PMDOeccy5RvbgDcM45l3s8OTjnnKvAk4NzzrkKPDk455yrwJODc865Cjw5OOec\nq8CTQxpImiPpkAwct1TS/bV4/1pJO6U7jirON05S32ydzzmXPQ3iDqBAWPSTiePmBEmlwM5mti4Z\nmNkR8UXknMskf3JwSPIvCS5WkurHHUOyYv9ceHJIM0kbSxoiaX70c6ukhtG2ppKekbRY0lJJT0tq\nnbDvjpJelrRc0nigRTXnukLSl5LmSToraVuZpP4Jr8+QNCnh9VpJ50v6GPgoWjdU0heSvpX0pqQD\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5mvwKmAKdH77kLuNDM9on2vyMrURcoL1bIL5+Z2bvR8lvAzoRxWyZF\n60YANSmnHW9m30TLU4Fh0SiOT5rZO2mN2LmaUyXLAC+Z2ffA95K+AZ6O1s8A9o4GLdwfeDSMOwdA\nw0wGW+j8ySG//JSwvAZInqwj8QO1mvW/302S3reyfCFKLAcShkW/V1Lf9ITqXFol3vtrE16vJXzJ\nrQcsM7POCT97ZDvIQuLJIb99CyxNqCfoC5RFy3OAfaLlEyo7gKTtga/M7G7CGO+dMxKpc9VbATSp\n5T4CsDDJzmeSToAwbLWkvdMcX1HxYqX8klyHYMAZwL8lNQJmE4ZZBrgZGCXpXGBswr7JdRElwBWS\nVhE+nKfjXAzM7GtJr0YV0R9Q+T2bvFz++lTgTknXABsRhvp+F1cnPmS3c865CrxYyTnnXAWeHJxz\nzlXgycE551wFnhycc85V4MnBOedcBZ4cnHPOVeDJwTnnXAWeHJxzzlXw/wGo6EfWAVPtJwAAAABJ\nRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31dc93f790>"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.10 : page 31"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "egd1=438*10**4 ;plp=0.2; pcf=0.15 #annual load duration annual load factor plant capacity factor\n",
+ "pml=egd1/(plp*8760)\n",
+ "pc=(pml*plp)/pcf\n",
+ "print \"annual load factor =energy generated during 1 year/(max. load)x8760=%.1f \\n maximum load =%dkW\"%(plp,pml)\n",
+ "print \"\\ncapacity factor =(max.load/plant capacity)x(load factor)\\n plant capacity =max.load/0.75 =%fMW \\n reserve capacity =3.333-2.5=%fMW\"%(pc,pc-pml)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "annual load factor =energy generated during 1 year/(max. load)x8760=0.2 \n",
+ " maximum load =2500kW\n",
+ "\n",
+ "capacity factor =(max.load/plant capacity)x(load factor)\n",
+ " plant capacity =max.load/0.75 =3333.333333MW \n",
+ " reserve capacity =3.333-2.5=833.333333MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.11: page 32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p1=10; p2=6; p3=8; p4=7 #peak demands of 4 areas\n",
+ "df=1.5 ;lf=0.65 ;imdp=0.6 #diversity factor annual load factor ratio of maximum demand\n",
+ "p=p1+p2+p3+p4\n",
+ "md=p/df\n",
+ "ae=md*lf*8760\n",
+ "imd=imdp*md\n",
+ "ic=md+imd\n",
+ "print \" sum of maximum=%dMW\"%(p)\n",
+ "print \"\\n maximum demand = sum of max.demands/diversity factor =%d/%f = %fMW\"%(p,df,md)\n",
+ "print \"\\n annual energy =%fMWh \\n increase in maximum demand =%fMW \\n installed capacity =%fMW\"%(ae,imd,ic)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " sum of maximum=31MW\n",
+ "\n",
+ " maximum demand = sum of max.demands/diversity factor =31/1.500000 = 20.666667MW\n",
+ "\n",
+ " annual energy =117676.000000MWh \n",
+ " increase in maximum demand =12.400000MW \n",
+ " installed capacity =33.066667MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.12 : page 32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "#Arranging data for Load Duration Curve\n",
+ "#week days 5-9pm load\n",
+ "L1=350 #MW\n",
+ "t1=4*5 #hours\n",
+ "#week days 8-12am & 1-5pm load\n",
+ "L2=250 #MW\n",
+ "t2=t1+8*5 #hours\n",
+ "#saturday & sunday 5-9pm load\n",
+ "L3=200 #MW\n",
+ "t3=t2+4*2 #hours\n",
+ "#All days 150MW load\n",
+ "L4=150 #MW\n",
+ "t4=t3+6*5+15*2 #hours\n",
+ "#All days 100MW load\n",
+ "L5=100 #MW\n",
+ "t5=t4+6*5+5*2 #hours\n",
+ "A=31600 #Total Load Curve Area\n",
+ "LF=A/L1/24/7*100 #%#Weekly load factor\n",
+ "print \"Weekly Load factor = %0.2f %%\"%LF\n",
+ "print \"Load Duration Curve is shown in figure.\" \n",
+ "#Load Duration Curve\n",
+ "L=[L1 ,L2, L3, L4, L5] #MW\n",
+ "T=[t1 ,t2 ,t3 ,t4 ,t5] #hours\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, title, xlabel, ylabel, show\n",
+ "plot(T,L) \n",
+ "title('Load Duration Curve')\n",
+ "xlabel('Time(Hours)')\n",
+ "ylabel('Load(MW)') \n",
+ "show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Weekly Load factor = 53.74 %\n",
+ "Load Duration Curve is shown in figure.\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAEZCAYAAACJjGL9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmYVOWZ9/HvDxHUoBI1QVBQEiVKjFFHGbOorTMuyYwa\nHeNGjA5kltdMCI6JUbOAySSaRZ15Z+LM9UaTIQQwRoGgxg1DJy6jxgQQJS6MCyKKu+ASBft+/3hO\nSdl2F013nzqnqn6f66qLU+ecOueuprvuOs9znudWRGBmZtadAUUHYGZm5eZEYWZmNTlRmJlZTU4U\nZmZWkxOFmZnV5ERhZmY1OVFYw5I0VdL0ouOoRdIoSWskqehYzHrLicJyIelRSX+R82m6HQQkqU1S\nR/Y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cT9hmuXIfhbWqWkVxKh4A3iNpf0j1USSNzbY9RqrrXq27D+xbyOpAZE1Oo7JjPwrs\npWQk3ZSjzCoRDo2I60i12T9ctXl4dhyz3DhRWCuIqn+7WoYu+gsi1UQ+Dvhu1qm8kFRECeBW0jTO\nPTnvJcAASfcAlwOnRqpXfBvwCKnexr+RpqzuKp4tgaslLSYlnTOqto3L1pnlxtOMm/VCVqJ3QUTs\nV2AMWwE3FxmDtQZfUZj1QkS8DCyQdHCBYZxGuhIxy5WvKMzMrCZfUZiZWU1OFGZmVpMThZmZ1eRE\nYWZmNTlRmJlZTU4UZmZW0/8H23KohObdSwQAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f31f86a5950>"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.13 : page 33"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "dlf=0.825 #daily load factor\n",
+ "lptmlp=0.87 #average daily peak load to monthly load peak\n",
+ "mlptalp=0.78 #average monthly peak load to annual load peak\n",
+ "print \"annual load factor = %fx%fx%f = %0.2f\"%(dlf,lptmlp,mlptalp,dlf*lptmlp*mlptalp)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "annual load factor = 0.825000x0.870000x0.780000 = 0.56\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example - 2.14 : page 35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "print \"(a)\"\n",
+ "#given\n",
+ "transformer1_motorload=300 \n",
+ "transformer1_demandfactorm=0.6 \n",
+ "tarnsformer1_commercialload=100 \n",
+ "transformer1_demandfactorc=0.5 \n",
+ "transformer1_diversityfactor=2.3\n",
+ "transformer2_residentalload=500 \n",
+ "transformer2_demandfactor=0.4 \n",
+ "transformer2_diversitryfactor=2.5 \n",
+ "transformer3_residentalload=400 \n",
+ "transformer3_demandfactor=0.5 \n",
+ "transformer3_diversityfactor=2.0 \n",
+ "diversitybtwxmer=1.4\n",
+ "peakloadoftransformer1=((transformer1_motorload*transformer1_demandfactorm)+(tarnsformer1_commercialload*transformer1_demandfactorc))/transformer1_diversityfactor\n",
+ "peakloadonxmer=(transformer2_residentalload*transformer2_demandfactor)/transformer2_diversitryfactor\n",
+ "peakloadonxmer3=(transformer3_residentalload*transformer3_demandfactor)/(transformer3_diversityfactor)\n",
+ "print \"peak load on transformer 1 =(300x0.6+100x0.5)/2.3 =%dkW \\npeak load on transformer 2 =%dkW \\n peak load on transformer 3 =%dkW\"%(peakloadoftransformer1,peakloadonxmer,peakloadonxmer3)\n",
+ "print \"(b)\"\n",
+ "peakloadonfeeder=(peakloadoftransformer1+peakloadonxmer+peakloadonxmer3)/diversitybtwxmer\n",
+ "print \"peak load on feeder =(100+80+100)/1.4 =%dkW\"%(peakloadonfeeder)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "peak load on transformer 1 =(300x0.6+100x0.5)/2.3 =100kW \n",
+ "peak load on transformer 2 =80kW \n",
+ " peak load on transformer 3 =100kW\n",
+ "(b)\n",
+ "peak load on feeder =(100+80+100)/1.4 =200kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter20.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter20.ipynb
new file mode 100644
index 00000000..c676065f
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter20.ipynb
@@ -0,0 +1,158 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:cd162bdb1fe196cb47bf3eb77e7ebc05430fce626f0c2cb37a8e99707eb3d120"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-20, Energy Audit"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example:20.1 Page:461"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import asin, cos, acos, tan\n",
+ "lod=1 #industrial installation load\n",
+ "pf=0.78 #power factor\n",
+ "tf=200 #tariff \n",
+ "md=3.5 #extra maximum demand\n",
+ "ic=500 #installation of capacitor\n",
+ "id=0.15 #interest and depreciation\n",
+ "lf=0.8 #load factor\n",
+ "sinp=ic*id/tf\n",
+ "ph2=asin(sinp)\n",
+ "epf2=cos(ph2)\n",
+ "ph1=acos(pf)\n",
+ "ph1=round(ph1*10**2)/10**2\n",
+ "ph2=round(ph2*10**2)/10**2\n",
+ "q=lod*(tan(ph1)-tan(ph2))\n",
+ "q=round(q*10**4)/10**4\n",
+ "ikva=lod/pf\n",
+ "ikv=round(ikva*(10**5))/10**2\n",
+ "aeu=lod*lf*8760*10**6\n",
+ "eb=ikv*tf+aeu*md\n",
+ "print \"(a)\\neconomic power factor %.3flagging \\n(b) \\ncapacitor kVAr to improve the power factor %.4f \\n(c) \\ninitial kVA %.2fKVA \\nannual energy used %0.3ekWh \\nelectrical bill Rs%e per year\"%(epf2,q,ikv,aeu,eb)\n",
+ "kvc=round((lod*10**3/(round(epf2*1000)/10**3))*10**2)/10**2\n",
+ "ebc=kvc*tf+aeu*md\n",
+ "aidc=q*10**3*ic*id\n",
+ "te=ebc+aidc\n",
+ "asc=eb-te\n",
+ "print \"(d)\\nKVA after installation of capacitors %.2fKVA \\n\"%kvc\n",
+ "print \"energy bill after installation of capacitor Rs%e per year\"%ebc\n",
+ "print \"annual interest and depreciation of capacitor bank Rs%.1fper year \\ntotal expendition after installation of capacitors Rs%e per year \\nannual savings due to installation of capacitors Rs%d per year\"%(aidc,te,asc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "economic power factor 0.927lagging \n",
+ "(b) \n",
+ "capacitor kVAr to improve the power factor 0.4092 \n",
+ "(c) \n",
+ "initial kVA 1282.05KVA \n",
+ "annual energy used 7.008e+09kWh \n",
+ "electrical bill Rs2.452826e+10 per year\n",
+ "(d)\n",
+ "KVA after installation of capacitors 1078.75KVA \n",
+ "\n",
+ "energy bill after installation of capacitor Rs2.452822e+10 per year\n",
+ "annual interest and depreciation of capacitor bank Rs30690.0per year \n",
+ "total expendition after installation of capacitors Rs2.452825e+10 per year \n",
+ "annual savings due to installation of capacitors Rs9970 per year\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example:20.2 Page:468"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "ee=5*10**16 #electrical energy requirement\n",
+ "eer=0.1 #energy requirement\n",
+ "i=5*10**6 #investement\n",
+ "n=20 #life time\n",
+ "ec=4.1 #energy cost\n",
+ "r=0.13 #interest rate\n",
+ "dr=r/((1+r)**(n)-1) #depreciation rate\n",
+ "dr=round(dr*10**5)/10**5\n",
+ "tfc=r+dr #total fixed cost\n",
+ "ace=i*tfc #annual cost\n",
+ "ace=round(ace/10**2)*10**2\n",
+ "eb=i*ec #electrical bill with present motor\n",
+ "teb=eb*(1-eer) #electrical bill with efficiency motor\n",
+ "tac=teb+ace #total annual cost with efficiency cost\n",
+ "As=eb-tac #annual saving\n",
+ "print 'part (a)'\n",
+ "print \" depreciation rate %.5f \\n total fixed charge rate %f\\n annual cost of efficiency motor Rs%eper year \\n total electrical bill with present motors Rs%eper year \\n total electrical bill with efficiency motor Rs.%e \\n total annual cost if motors are replaced by high efficiency motors Rs%e per year \\n annual saving Rs%d per year\"%(dr,tfc,ace,eb,teb,tac,As)\n",
+ "print 'part (b)'\n",
+ "pwf=r/(1-((1+r)**-n)) #present worth factor\n",
+ "pwf=round(pwf*10**5)/10**5\n",
+ "pwm=teb/pwf #present worth annual cost with existing motors\n",
+ "pwm=round(pwm/10**4)*10**4 #present worth with existing motors\n",
+ "pwem=eb/pwf #present worth with efficiency motor\n",
+ "pwem=round(pwem/10**4)*10**4\n",
+ "pwam=teb/pwf\n",
+ "pwam=round(pwam/10**4)*10**4\n",
+ "tpw=pwam+i #total persent worth\n",
+ "print \" present worth factor %.5f \\n present worth of annual cost with existing motors Rs%e \\n present worth of annual cost with new motor Rs%e \\n total present worth %e per year\"%(pwf,pwem,pwam,tpw)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "part (a)\n",
+ " depreciation rate 0.01235 \n",
+ " total fixed charge rate 0.142350\n",
+ " annual cost of efficiency motor Rs7.118000e+05per year \n",
+ " total electrical bill with present motors Rs2.050000e+07per year \n",
+ " total electrical bill with efficiency motor Rs.1.845000e+07 \n",
+ " total annual cost if motors are replaced by high efficiency motors Rs1.916180e+07 per year \n",
+ " annual saving Rs1338200 per year\n",
+ "part (b)\n",
+ " present worth factor 0.14235 \n",
+ " present worth of annual cost with existing motors Rs1.440100e+08 \n",
+ " present worth of annual cost with new motor Rs1.296100e+08 \n",
+ " total present worth 1.346100e+08 per year\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter23.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter23.ipynb
new file mode 100644
index 00000000..939a2b1a
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter23.ipynb
@@ -0,0 +1,177 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:787894feae8b9f9d4e62ecf0f6a482facb95a154f8e7d91d492783a33e4a8cc8"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-23, Captive Power Generation"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example:23.1 Page:500"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sp=11*10**3;pc=300*10**6 ; ir=0.15 ;lp=15 ;fc=7 ;eff=0.35; cv=10100; mc=0.02; lf=0.8 ;er=860 #let the given variable be --sp=size of plant ,pc=project cost,ir=interest rate,lp=life of the plant,fc=fuel cost,eff=efficiency,cv=calorific value,er=860,mc=maintenance cost,lf=load factor,\n",
+ "cac=pc/sp #let the variable cac be captel cost\n",
+ "print \"capitel cost is %.1f/kW\"%(cac)\n",
+ "crfd1=(1+ir)**(-lp)\n",
+ "crfd=1-crfd1\n",
+ "crf=ir/crfd #crf=capitel cost recovery factor\n",
+ "print \"CRF=%.3f\"%(crf)\n",
+ "anfc=cac*crf #anual fixed cost is prodect of capitel cost and capitel recovery factor\n",
+ "print \"annual fixed cost is Rs%.2f/kW\"%(anfc)\n",
+ "hr=er/eff #heat rate is energy ratedivided by efficiency\n",
+ "print \"heat rate is %fcal/kWh\"%(hr) \n",
+ "gpf=cv/hr #kW generated per liter is division of calorific value to hr\n",
+ "print \"number of kWh generated per liter of fuel is %.2fkWh/litre\"%(gpf)\n",
+ "fcp=fc/gpf #fuel cost per unit is fuel cost divided by generated per liter\n",
+ "print \"fuel cost per unit Rs%fper kWh\"%(fcp)\n",
+ "aomc=cac*mc #annual operation and maintenence cost\n",
+ "print \"annual operation cost Rs.%.4f/kW\"%(aomc)\n",
+ "afom=anfc+aomc \n",
+ "print \"annual fixed, operation and maintence cost Rs.%.2f/kW\"%(afom)\n",
+ "egpy=8760*lf #energy generated is 24*12*60\n",
+ "print \"energygenerated per year is %dkWh\"%(egpy)\n",
+ "afomc=afom/egpy\n",
+ "print \"annual fixed operation and maintenence cost per kWh of energy %.4f/kWh\"%(afomc)\n",
+ "gco=fcp+afomc #generated cost is sum of fuel cost and maintenence cost\n",
+ "print \"generated cost is Rs%.4f/kWh\"%(gco)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "capitel cost is 27272.0/kW\n",
+ "CRF=0.171\n",
+ "annual fixed cost is Rs4663.98/kW\n",
+ "heat rate is 2457.142857cal/kWh\n",
+ "number of kWh generated per liter of fuel is 4.11kWh/litre\n",
+ "fuel cost per unit Rs1.702970per kWh\n",
+ "annual operation cost Rs.545.4400/kW\n",
+ "annual fixed, operation and maintence cost Rs.5209.42/kW\n",
+ "energygenerated per year is 7008kWh\n",
+ "annual fixed operation and maintenence cost per kWh of energy 0.7434/kWh\n",
+ "generated cost is Rs2.4463/kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example:23.2 page:501"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sp=25*10**3 #size of the plant\n",
+ "cc=800*10**6 #capital cost\n",
+ "ir=0.1 #interest rate\n",
+ "lp=20 #life of the plant\n",
+ "mc=0.05 #maintence cost\n",
+ "lf=0.6 #load factor \n",
+ "sub=0.3 #subsidy\n",
+ "nc=cc*(1-sub)\n",
+ "nck=nc/sp \n",
+ "crf=ir/(1-(1+ir)**(-lp))\n",
+ "afc=nck*crf\n",
+ "aomc=nck*mc\n",
+ "tac=afc+aomc\n",
+ "aeg=8760*lf\n",
+ "gc=tac/aeg\n",
+ "print \"net capital cost Rs%d*10**6 \\nnet capital cost per KW Rs%f/kW \\ncrf %f \\nannual fixed cost Rs%d per kW \\nannual operation and maintenance cost Rs%dper kW \\nTotal annual cost Rs%dper kW \\nAnnual energy generated per kW of plant capacity %.1fkWh \\ngeneration cost Rs%.3fkWh\"%(nc/(10**6),nck,crf,afc,aomc,tac,aeg,gc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "net capital cost Rs560*10**6 \n",
+ "net capital cost per KW Rs22400.000000/kW \n",
+ "crf 0.117460 \n",
+ "annual fixed cost Rs2631 per kW \n",
+ "annual operation and maintenance cost Rs1120per kW \n",
+ "Total annual cost Rs3751per kW \n",
+ "Annual energy generated per kW of plant capacity 5256.0kWh \n",
+ "generation cost Rs0.714kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Problem:23.11.2 Page:505"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pp=11 #power capacity\n",
+ "cost=35 #cost of the system\n",
+ "In=0.14 #interest\n",
+ "lis=30 #life of system\n",
+ "sv=0.15 #salvage value\n",
+ "es=13.5*10**6 #energy sent\n",
+ "los=0.05 #losses\n",
+ "omc=0.02 #O&M charges\n",
+ "gr=0.006 #general revenue\n",
+ "rd=(1-sv)*100/lis\n",
+ "rdd=rd/100\n",
+ "tac=cost*(In+omc+rdd+gr)\n",
+ "ery=es*(1-los)\n",
+ "wc=(tac/ery)*10**5\n",
+ "print \"rate of depreciation is %.3fpercent \\ntotal annual cost is Rs.%.5f lakhs/year \\nenergy received per year %ekWh/year \\nwheeling charges Rs%f\"%(rd,tac,ery,wc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rate of depreciation is 2.833percent \n",
+ "total annual cost is Rs.6.80167 lakhs/year \n",
+ "energy received per year 1.282500e+07kWh/year \n",
+ "wheeling charges Rs0.053034\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter3.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter3.ipynb
new file mode 100644
index 00000000..581f21ef
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter3.ipynb
@@ -0,0 +1,525 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d6e7f2f9dbbec04ab6ce85a655cc4a2febb0f8dbb382c2ed7a309b8620f6b4b2"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-3, Power Plant Economics"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 3.1 - pg 43"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "totpow=110*10**3 #(kW)\n",
+ "uc1=18000; fcr1=0.1; cf1=0.55; fuelcons1=0.7; fuelcost1=1500/1000; om1=0.2; utilizationf1=1 \n",
+ "uc2=30000 ;fcr2=0.1; cf2=0.60 ;fuelcons2=0.65 ;fuelcost2=1500/1000 ;om2=0.15 ;utilizationf2=1 \n",
+ "#given uck=unit capital cost k fcrk= fixed charge rate of kth unit cfk=capacity factor at k th unit omk=annual cost of operating labour totpow=total power rating of units\n",
+ "afc1=fcr1*uc1*totpow; afc2=fcr2*uc2*totpow \n",
+ "e1=8760*cf1*totpow; e2=8760*cf2*totpow \n",
+ "annualfuel1=e1*fuelcons1 ;annualfuel2=e2*fuelcons2 \n",
+ "fc1=annualfuel1*fuelcost1 ;fc2=annualfuel2*fuelcost2 \n",
+ "om11=om1*fc1; om22=om2*fc2 \n",
+ "aoc1=fc1+om1 ;aoc2=fc2+om22 \n",
+ "apc1=aoc1+afc1; apc2=aoc2+afc2 \n",
+ "gc1=apc1/fc1 ;gc2=apc2/fc2\n",
+ "print \" solution for (a)\"\n",
+ "print \" afc1=Rs.%0.2e\\n e1=%0.4e kWh\\n annualfual1=%0.5e kg \\n fc1=Rs.%0.5e \\n om1=Rs.%0.6e \\n aoc1=Rs.%0.6e \\n apc1=Rs.%0.5e \\n gc1=%0.4f kWh\\n\"%(afc1,e1,annualfuel1,fc1,om11,aoc1,apc1,gc1)\n",
+ "print \" solution for (b)\"\n",
+ "print \" afc2=Rs.%0.2e \\n e2=%0.4e kWh\\n annualfual2=%0.5e kg \\n fc2=Rs.%d \\n om22=Rs.%d \\n aoc2=Rs.%.f \\n apc2=Rs.%.f \\n gc2=%.fkWh\\n\"%(afc2,e2,annualfuel2,fc2,om22,aoc2,apc2,gc1)\n",
+ "ogc=(apc1+apc2)/(e1+e2)\n",
+ "\n",
+ "print \" solution of (c)\\n ogc=Rs.%0.3f/kWh\"%(ogc)\n",
+ "# Ans in the textbook are not accurate."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " solution for (a)\n",
+ " afc1=Rs.1.98e+08\n",
+ " e1=5.2998e+08 kWh\n",
+ " annualfual1=3.70986e+08 kg \n",
+ " fc1=Rs.5.56479e+08 \n",
+ " om1=Rs.1.112958e+08 \n",
+ " aoc1=Rs.5.564790e+08 \n",
+ " apc1=Rs.7.54479e+08 \n",
+ " gc1=1.3558 kWh\n",
+ "\n",
+ " solution for (b)\n",
+ " afc2=Rs.3.30e+08 \n",
+ " e2=5.7816e+08 kWh\n",
+ " annualfual2=3.75804e+08 kg \n",
+ " fc2=Rs.563706000 \n",
+ " om22=Rs.84555900 \n",
+ " aoc2=Rs.648261900 \n",
+ " apc2=Rs.978261900 \n",
+ " gc2=1kWh\n",
+ "\n",
+ " solution of (c)\n",
+ " ogc=Rs.1.564/kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 3.2 - pg 45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "c=2*10**8 #cost\n",
+ "s=0.15 #salvage value\n",
+ "ul=25 #/useful value\n",
+ "i=0.08 #life of plant\n",
+ "print \"solution for (a)\"\n",
+ "print \"annual straight line depreciation reserve =Rs. %.1e per year\\n\"%(c*(1-s)/ul)\n",
+ "print \"solution for (b)\"\n",
+ "it=(i+1)**25-1\n",
+ "iit=i/it\n",
+ "asdr=c*(1-s)*iit*100\n",
+ "print \"annual sinking fund depreciation reserve is =Rs. %.3e per year\"%(asdr)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "solution for (a)\n",
+ "annual straight line depreciation reserve =Rs. 6.8e+06 per year\n",
+ "\n",
+ "solution for (b)\n",
+ "annual sinking fund depreciation reserve is =Rs. 2.325e+08 per year\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 3.3 - pg 45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "cost=2*10**8\n",
+ "sal=0.15\n",
+ "use=25\n",
+ "t=(1-(sal**(1/use)))\n",
+ "print \"rate of depretion by fixed percentage method = %0.1f %%\"%(t*100)\n",
+ "rd=cost*(1-t)**10\n",
+ "print \"remaining depreciation at the end of 10th year = Rs.%0.3e\"%(rd)\n",
+ "print \"accumulated depreciation at the end of 10 year is Rs.%0.3e\"%(cost-rd)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rate of depretion by fixed percentage method = 7.3 %\n",
+ "remaining depreciation at the end of 10th year = Rs.9.364e+07\n",
+ "accumulated depreciation at the end of 10 year is Rs.1.064e+08\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 3.4 - pg 46"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=100 #ratring of steam station\n",
+ "fc=3000 #fixed cost of plant per year\n",
+ "rg=0.9 #90 paise per kv generation\n",
+ "uf=1 #utilization factor 1\n",
+ "import numpy as np\n",
+ "lf=np.arange(20,101,20) #let load factor be 5 discreate units\n",
+ "lm=uf*lf #lwt load MW is as same as lf as utilisation factor is 1\n",
+ "n=len(lm)\n",
+ "fc=[fc*1e5]*n\n",
+ "op=[rg*100]*n\n",
+ "negp = range(0,n)\n",
+ "fcgp = range(0,n)\n",
+ "tgc = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " negp[i]=lm[i]*8760 * 1e3 # kW-hrs/year\n",
+ " fcgp[i]=fc[i]*10000/negp[i]* 1e2 # Paisa/unit\n",
+ " tgc[i]=fcgp[i]+op[i]\n",
+ "\n",
+ "print \"negp : \",tgc\n",
+ " \n",
+ " \n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot\n",
+ "plot(lf,tgc)\n",
+ "print \"load factor\"\n",
+ "print lf\n",
+ "print \"load MW\\n\"\n",
+ "#fcgp=fcgp/100 ;op=op/100; tgc=tgc/100\n",
+ "print \"%dMW\\t%dMW\\t%dMW\\t%dMW\\t%dMW\"%(lm[0],lm[1],lm[2],lm[3],lm[4])\n",
+ "print \"fixed cost\"\n",
+ "print \"Rs%d\\tRS%d\\tRs%d\\tRs%d\\tRs%d\"%(fc[0],fc[1],fc[2],fc[3],fc[4])\n",
+ "print \"number of KW hrs of energy generated in paise per unit of energy\"\n",
+ "print \"%dkWh\\t%dkWh\\t%dkWh\\t%dkWh\\t%dkWh\"%(negp[0],negp[1],negp[2],negp[3],negp[4])\n",
+ "print \"fixed cost in paise per unit of energy\"\n",
+ "print \"Rs%.3f\\tRS%.3f\\tRs%.3f\\tRs%.3f\\tRs%.3f\"%(fcgp[0],fcgp[1],fcgp[2],fcgp[3],fcgp[4])\n",
+ "print \"operating cost in paise per unit of energy\"\n",
+ "print \"Rs%.3f\\tRS%.3f\\tRs%.3f\\tRs%.3f\\tRs%.3f\"%(op[0],op[1],op[2],op[3],op[4])\n",
+ "print \"total generation cost in paise per unit of energy\"\n",
+ "print \"Rs%.3f\\tRS%.3f\\tRs%.3f\\tRs%.3f\\tRs%.3f\"%(tgc[0],tgc[1],tgc[2],tgc[3],tgc[4])"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "negp : [1712418.7671232875, 856254.38356164377, 570866.25570776255, 428172.19178082189, 342555.75342465751]\n",
+ "load factor"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "[ 20 40 60 80 100]\n",
+ "load MW\n",
+ "\n",
+ "20MW\t40MW\t60MW\t80MW\t100MW\n",
+ "fixed cost\n",
+ "Rs300000000\tRS300000000\tRs300000000\tRs300000000\tRs300000000\n",
+ "number of KW hrs of energy generated in paise per unit of energy\n",
+ "175200000kWh\t350400000kWh\t525600000kWh\t700800000kWh\t876000000kWh\n",
+ "fixed cost in paise per unit of energy\n",
+ "Rs1712328.767\tRS856164.384\tRs570776.256\tRs428082.192\tRs342465.753\n",
+ "operating cost in paise per unit of energy\n",
+ "Rs90.000\tRS90.000\tRs90.000\tRs90.000\tRs90.000\n",
+ "total generation cost in paise per unit of energy\n",
+ "Rs1712418.767\tRS856254.384\tRs570866.256\tRs428172.192\tRs342555.753\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAZQAAAEACAYAAACUMoD1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAA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Tw/\nAPwhIpZH2o7pVuBQ6vBnGRHXRsQHIuJw4FVgHvX1syzaUFyLgX6F6/rmsg1q8wlF2uQiS1h/kWUp\nJO3SPHtC0vakvt9HqLM4I2JMRPSLiP6kro97I+I06ixOSTtI6pqPdyT1+8+hzuKMiKXAC5L2yUUf\nB54k9f/XTZwFp7Cuuwvq6+c5FzhE0vb53/3HSRNH6u5nKend+evuwKeBX1BfP8uiDcV1BzBcUmdJ\n/ckL0jdaUxmDQjUeYPoIqa//UdIv6EdIMxJ6kAaW55Gant1LjvMA4OEc5+PAl3N5XcXZIubDgTvq\nMU7S2MSj+fUEMLoe48wxHUSahPEY6a/qbnUa547Ay6QdwJvL6ipO0uD2k6Q/HiaStoCqqxhznP+d\n43yUNLuzLn6WpD8WlgBvkDbfPXNjcZEWkC8gJfOjNlW/FzaamVlNtPkuLzMzqw9OKGZmVhNOKGZm\nVhNOKGZmVhNOKGZmVhNOKGZmVhNOKGZmVhNOKGZmVhP/Hwz5z370O+0BAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f2bafc6d9d0>"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 3.5 page 47"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "ic=120 #installed capacity\n",
+ "ccppkw=40000 #/capital cost of plant\n",
+ "iand=0.15 #interest and depreciation\n",
+ "fco=0.64 #fuel consumption\n",
+ "fc=1.5#fuel cost\n",
+ "oc=50*10**6 #operating cost\n",
+ "pl=100#peak load\n",
+ "lf=0.6 #load factor\n",
+ "al=lf*pl#avarrage load\n",
+ "print \"average load %dMW\"%(al)\n",
+ "eg=al*8760*10**3#energy generated\n",
+ "print \"energy generated =%ekWhr\"%(eg)\n",
+ "ti=ic*ccppkw #total investiment\n",
+ "print \"total investement Rs.%e\"%(ti)\n",
+ "ind=ti*iand*10**3#interest and depreciation\n",
+ "print \"investement amd depression is Rs.%e\"%(ind)\n",
+ "fcons=eg*fco #fual consumption\n",
+ "print \"fuel consumtion is %ekgper year\"%(fcons)\n",
+ "fcost=fcons*fc#fuel cost\n",
+ "aco=ti+fcost+ind+oc#annual cost\n",
+ "print \"fuel cost Rs.%eper year \\nannual plant cost Rs%eper year \\ngeneration cost Rs%fper year\"%(fcost,aco,aco/eg)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "average load 60MW\n",
+ "energy generated =5.256000e+08kWhr\n",
+ "total investement Rs.4.800000e+06\n",
+ "investement amd depression is Rs.7.200000e+08\n",
+ "fuel consumtion is 3.363840e+08kgper year\n",
+ "fuel cost Rs.5.045760e+08per year \n",
+ "annual plant cost Rs1.279376e+09per year \n",
+ "generation cost Rs2.434125per year\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 3.6 page 47"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "md=50*10**3 #maximum demand in kW\n",
+ "ecy=0\n",
+ "pst=600*md+2.5*ecy#public supply tariff equation\n",
+ "lfr=0.5 #load factor\n",
+ "rc=20*10**3 #reserve capacity\n",
+ "cik=30000 #capital investiment\n",
+ "inad=0.15 #/interest and depreciation\n",
+ "fuc=0.6 ;fuco=1.4; oct=0.8#fuel consumption#fuel cost#other cost\n",
+ "avl=md*lfr #average load\n",
+ "ecy=avl*8760 #energy cosumption per year\n",
+ "print \"solution of (a)\"\n",
+ "print \" average load = %dkW \\n energy consumton =%dkWh\\n annual expenditure is Rs%dperyear\\n\"%(avl,ecy,pst)\n",
+ "print \"(b) private steam plant\"\n",
+ "ict=md+rc #installed capacity\n",
+ "caint=cik*ict #capital investiment\n",
+ "iande=inad*caint #interest and depreciation\n",
+ "fuelcon=ecy*fuc #fuel consumption\n",
+ "fucost=fuelcon*fuco #fuel cost\n",
+ "opwe=oct*ecy #other expenditure\n",
+ "totex=iande+fucost+opwe#total expenditure\n",
+ "print \" installed capacity is Rs%d \\n capital investiment is Rs%d \\n interest and depreciation is Rs.%d \\n fuel consumption is Rs.%f \\n fuel cost is Rs.%f per year \\n wage,repair and other expenses are Rs%f per year \\n total expenditure is Rs%e per year\"%(ict,caint,iande,fuelcon,fucost,opwe,totex)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "solution of (a)\n",
+ " average load = 25000kW \n",
+ " energy consumton =219000000kWh\n",
+ " annual expenditure is Rs30000000peryear\n",
+ "\n",
+ "(b) private steam plant\n",
+ " installed capacity is Rs70000 \n",
+ " capital investiment is Rs2100000000 \n",
+ " interest and depreciation is Rs.315000000 \n",
+ " fuel consumption is Rs.131400000.000000 \n",
+ " fuel cost is Rs.183960000.000000 per year \n",
+ " wage,repair and other expenses are Rs175200000.000000 per year \n",
+ " total expenditure is Rs6.741600e+08 per year\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 3.7 page 48"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "md=500 #given maximum demand\n",
+ "lf=0.5 #load factor\n",
+ "hp=7200 ;he=0.36#operating cost of hydro plant\n",
+ "tp=3600; te=1.56 #operating cost of thermal plant\n",
+ "teg=md*1000*lf*8760 #total energy generated\n",
+ "print \"total energy generated per year %2.2eW\"%(teg)\n",
+ "t=(hp-tp)/(te-he) #time of operating useing (de/dp)\n",
+ "ph=md*(1-t/8760) #from triangle adf\n",
+ "pt=md-ph\n",
+ "et=pt*t*1000/2\n",
+ "eh=teg-et\n",
+ "co=hp*ph*1000+he*eh+tp*pt*1000+te*et\n",
+ "ogc=co/teg\n",
+ "print \"capacity of hydro plant is %dMW \\n capacity of thermal plant %dMW\\n energy generatede by hydro plant %dkWh\\n energy generated by thermal plant %dkWh\\n over all generation cost is %.3f/kWh\"%(ph,pt,eh,et,ogc)\n",
+ "\n",
+ "\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total energy generated per year 2.19e+09W\n",
+ "capacity of hydro plant is 328MW \n",
+ " capacity of thermal plant 171MW\n",
+ " energy generatede by hydro plant 1933150684kWh\n",
+ " energy generated by thermal plant 256849315kWh\n",
+ " over all generation cost is 1.863/kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Data 3.16 page 52"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pu=500*10**3 ; pc=2*pu #plant unit,plant capacity\n",
+ "land=11.865*10**9\n",
+ "cicost=30.135*10**9\n",
+ "ccost=land+cicost #capital cost =land cost+civil cost\n",
+ "plife=25 #plant life\n",
+ "ir=0.16 #interest rate\n",
+ "ond=1.5*10**-2 # o and mof capital cost\n",
+ "gr=0.5*10**-2 #grneral reserve of capital cost\n",
+ "calv=4158 #calorific value kj per kg\n",
+ "coalcost=990 #caol cost per ton\n",
+ "heat=2500#heat rate kcal/kWh\n",
+ "retur=0.08 #return\n",
+ "salvage=0\n",
+ "plf=0.69 ;auxcons=0.075 #auxiliary consumption\n",
+ "print \"cost calculation \"\n",
+ "print \"using sinking fund depreciation\"\n",
+ "ande=(ir/((ir+1)**(plife)-1))*100\n",
+ "afixcost=ccost*(ir+ond+retur+gr+(ande/100))\n",
+ "afcppc=afixcost/pc\n",
+ "print \"annual depretion reserve is %fpersent \\n annual fixed cost Rs%f \\n annual fixed cost per Rs%dkWh\"%(ande,afixcost,afcppc)\n",
+ "fo=(heat*coalcost)/(calv*1000)\n",
+ "engepc=24*365*plf\n",
+ "enavil=engepc*(1-auxcons)\n",
+ "gencost=(afcppc/enavil)+fo\n",
+ "print \"fuel cost Rs.%f/kWh \\nenergy generated per kW of plant capacity Rs.%fkWh \\nenergy available bus bar %fkWh \\n generation cost Rs%f perkWh\"%(fo,engepc,enavil,gencost)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "cost calculation \n",
+ "using sinking fund depreciation\n",
+ "annual depretion reserve is 0.401262persent \n",
+ " annual fixed cost Rs11088529841.947702 \n",
+ " annual fixed cost per Rs11088kWh\n",
+ "fuel cost Rs.0.595238/kWh \n",
+ "energy generated per kW of plant capacity Rs.6044.400000kWh \n",
+ "energy available bus bar 5591.070000kWh \n",
+ " generation cost Rs2.578495 perkWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "data 3.17 page 53"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pco=120*10**3 #3 units of 40MW\n",
+ "caco=68*10**8 #6 year of consumption\n",
+ "inr=0.16 #intrest rate\n",
+ "de=2.5*10**-2 #depreciation\n",
+ "oanm=1.5*10**-2#OandM\n",
+ "ger=0.5*10**-2#general reserve\n",
+ "pllf=0.6 #plant load facot\n",
+ "aucon=0.5*10**-2 #auxiliary consumption\n",
+ "tac=caco*(inr+de+oanm+aucon) #/total cost\n",
+ "engpy=pco*pllf*24*365 #energy generatedper year\n",
+ "eabb=engpy*(1-ger) #energy available at bus bar\n",
+ "geco=tac/eabb #generation cost\n",
+ "print \" total annual costs is Rs%e per year \\n energy generated per year =%ekWh/year \\n energy available at bus bar %ekWh/year \\n generation cost is Rs.%fper kWh\"%(tac,engpy,eabb,geco)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " total annual costs is Rs1.394000e+09 per year \n",
+ " energy generated per year =6.307200e+08kWh/year \n",
+ " energy available at bus bar 6.275664e+08kWh/year \n",
+ " generation cost is Rs.2.221279per kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter4.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter4.ipynb
new file mode 100644
index 00000000..18d6d7fd
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter4.ipynb
@@ -0,0 +1,1202 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:fb68f886b3c2cdc28623218c177a66cd2a93d17c7bf83ed92891b0a04da2f4c6"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-4, Tariffs & Power Factor Improvement"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.1 page 59"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "day=30 #days \n",
+ "pll=40 ;nll=5; tll=3 #light load \n",
+ "pfl=100; nfl=3 ;tfl=5 #fan load\n",
+ "prl=1*1000 #refrigerator\n",
+ "pml=1*1000; nml=1 #misc. load \n",
+ "t1=2.74 ;t11=15#tariff\n",
+ "t2=2.70 ;t22=25 #tariff on 25 units\n",
+ "tr=2.32 #reamaining units\n",
+ "tc=7.00 #constant charge\n",
+ "dis=0.05#discount for prompt payment\n",
+ "te=(pll*nll*tll+pfl*nfl*tfl)*day+prl*day+pml*day\n",
+ "tee=te/1000\n",
+ "mb=tc+tr*(tee-t11-t22)+t1*t11+t2*t22\n",
+ "nmb=mb*(1-dis)\n",
+ "print \"total energy consumption in %d day %dunits \\nthe monthly bill Rs%.2f \\nnet monthly bill Rs%.2f\"%(day,tee,mb,nmb)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total energy consumption in 30 day 123units \n",
+ "the monthly bill Rs308.16 \n",
+ "net monthly bill Rs292.75\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.2 Page 59"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l=100 #connected load\n",
+ "md=80 #maximum demand\n",
+ "wt=0.6 #working time\n",
+ "c=6000 #constant cost\n",
+ "t=700 #cost on per kW\n",
+ "re=1.8 #rate\n",
+ "ec=l*wt*8760#electricity consumption per year\n",
+ "teb=c+md*t+re*ec #total electricity bill per year\n",
+ "print \" energy consumption %dkWh \\n total electricity bill per year Rs%d\"%(ec,teb)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " energy consumption 525600kWh \n",
+ " total electricity bill per year Rs1008080\n"
+ ]
+ }
+ ],
+ "prompt_number": 76
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.3 Page 60"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "md=160 ;lff=0.7 ;dfc=1.7#maximum demand #load factor#diversity factor bt consumers\n",
+ "ic=200 #installed capacity\n",
+ "ccp=30000#capital cost of plant per kW\n",
+ "ctds=1800*10**6 #capital cost of transmission and distribution\n",
+ "idi=0.11 #interest,depreciation insurance and taxes on capital investiment\n",
+ "fmc=30*10**6 #fixed managerial and general maintanance cost\n",
+ "ol=236*10**6 #operating labour,maintanance and suppies\n",
+ "cm=90*10**6 #cost of metering,billing and collection\n",
+ "eca=0.05 #energy consumed by auxillary\n",
+ "el=0.15#energy loss and maintanance\n",
+ "p=0.25\n",
+ "lf=0.8#load factor\n",
+ "ap=0.5 #addition energy for profit\n",
+ "print 'a'\n",
+ "print \" capital cost of plant Rs%e \\n total capital cost Rs%e\\n interest,depereiation system Rs%e \"%(ccp*ic*10**3,ccp*ic*10**3+ctds,(ccp*ic*10**3+ctds)*idi)\n",
+ "print \"\\n sum of maximum demand of consumers energy prodused %dMW \\n energy produced %ekWh \\n energy consumed by auxilliries %ekWh\\n energy output %ekWH \\n energy sold to consumer %ekWh\\n\"%(md*dfc,md*8760*lff*10**3,md*8760*lff*eca*10**3,md*8760*lff*10**3*(1-eca),md*8760*lff*10**3*(1-eca)*(1-el))\n",
+ "print '(b)fixed cost'\n",
+ "idetc=(ccp*ic*10**3+ctds)*idi\n",
+ "tot=idetc+fmc \n",
+ "print \" interest, deprecition etc Rs%e per year\\n managerial and maintence Rs%.eper year \\n total \\t Rs%e \"%(idetc,fmc,tot)\n",
+ "pro=p*tot\n",
+ "gtot=tot+pro\n",
+ "print \"\\n profit@%d \\tRs%eper year \\n grand total Rs%e per year\"%(p*100,pro,gtot)\n",
+ "print 'Operating cost'\n",
+ "tot2=ol+cm\n",
+ "pro2=tot2*p\n",
+ "gtot2=tot2+pro2\n",
+ "print \" Operating labour,supplies maintenance etc Rs.%eper year \\n metering,billing etc Rs%eper year\\n total\\t\\tRs%e per year\\n profit \\t Rs%eper year \\n grand total \\t Rs%e per year\"%(ol,cm,tot2,pro2,gtot2)\n",
+ "print 'tariff'\n",
+ "co=gtot/(md*dfc*1000)\n",
+ "es=md*8760*lff*10**3*(1-eca)*(1-el)\n",
+ "cs=gtot2/es\n",
+ "print \" cost per kW \\tRs%e \\n cost per kWh \\tRs%e\"%(co,cs)\n",
+ "print '(b)'\n",
+ "ep=md*1000*8760*lf\n",
+ "print \" energy produced %ekWh \\n energy consumed by auxiliaries %ekWh/year \\n energy output of plant %ekWh \\n energy sold to consumer %ekWh\"%(ep,ep*eca,ep*(1-eca),ep*(1-eca)*(1-el))\n",
+ "estc=ep*(1-eca)*(1-el)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ " capital cost of plant Rs6.000000e+09 \n",
+ " total capital cost Rs7.800000e+09\n",
+ " interest,depereiation system Rs8.580000e+08 \n",
+ "\n",
+ " sum of maximum demand of consumers energy prodused 272MW \n",
+ " energy produced 9.811200e+08kWh \n",
+ " energy consumed by auxilliries 4.905600e+07kWh\n",
+ " energy output 9.320640e+08kWH \n",
+ " energy sold to consumer 7.922544e+08kWh\n",
+ "\n",
+ "(b)fixed cost\n",
+ " interest, deprecition etc Rs8.580000e+08 per year\n",
+ " managerial and maintence Rs3e+07per year \n",
+ " total \t Rs8.880000e+08 \n",
+ "\n",
+ " profit@25 \tRs2.220000e+08per year \n",
+ " grand total Rs1.110000e+09 per year\n",
+ "Operating cost\n",
+ " Operating labour,supplies maintenance etc Rs.2.360000e+08per year \n",
+ " metering,billing etc Rs9.000000e+07per year\n",
+ " total\t\tRs3.260000e+08 per year\n",
+ " profit \t Rs8.150000e+07per year \n",
+ " grand total \t Rs4.075000e+08 per year\n",
+ "tariff\n",
+ " cost per kW \tRs4.080882e+03 \n",
+ " cost per kWh \tRs5.143550e-01\n",
+ "(b)\n",
+ " energy produced 1.121280e+09kWh \n",
+ " energy consumed by auxiliaries 5.606400e+07kWh/year \n",
+ " energy output of plant 1.065216e+09kWh \n",
+ " energy sold to consumer 9.054336e+08kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 77
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.4 Page 61"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "v=230 ;ec=2020 #voltage #energy consumption\n",
+ "i=40; pf=1 ;t=2; c=3.5; rc=1.8 ;mon=30 #current/power factor/time/cost/reamining cost/month\n",
+ "ecd=v*i*pf*t*mon/1000 #energy corresponding to maximum demand\n",
+ "cost=ecd*c\n",
+ "ren=ec-ecd\n",
+ "rcost=ren*rc\n",
+ "tmb=cost+rcost\n",
+ "at=tmb/ec\n",
+ "print \" energy corresponding to maximum demand %dkWh \\n cost of above energy Rs%d \\n remaining energy %dkWh \\n cost of reamaining energy Rs%.1f \\n total monthly bill Rs.%.1f\\n avarage tariff Rs%.3fper kWh\"%(ecd,cost,ren,rcost,tmb,at)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " energy corresponding to maximum demand 552kWh \n",
+ " cost of above energy Rs1932 \n",
+ " remaining energy 1468kWh \n",
+ " cost of reamaining energy Rs2642.4 \n",
+ " total monthly bill Rs.4574.4\n",
+ " avarage tariff Rs2.265per kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 78
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.5 Page 62"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "t1=3000 ;t11=0.9 #cost equation \n",
+ "t2=3 #rate\n",
+ "x=t1/(t2-t11)\n",
+ "print \"if energy consumption per month is more than %.1fkWh,\\ntariff is more suitable\"%(x)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "if energy consumption per month is more than 1428.6kWh,\n",
+ "tariff is more suitable\n"
+ ]
+ }
+ ],
+ "prompt_number": 79
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.6 Page 62"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "aec=201500 #annual energy consumption\n",
+ "lf=0.35#load factor constnt\n",
+ "t=4000#tariff\n",
+ "tmd=1200#tariff for maximum demand\n",
+ "t3=2.2\n",
+ "lfb=0.55 #load factor improved\n",
+ "ecd=0.25#energy consumption reduced\n",
+ "md=aec/(8760*lf)\n",
+ "yb=t+md*tmd+t3*aec\n",
+ "mdb=aec/(8760*lfb)\n",
+ "ybb=t+mdb*tmd+t3*aec\n",
+ "ne=aec*(1-ecd)\n",
+ "md3=ne/(8760*lf)\n",
+ "ybc=t+md3*tmd+t3*ne\n",
+ "aeca=yb/aec\n",
+ "aecb=ybb/aec\n",
+ "aecc=ybc/ne\n",
+ "print 'a'\n",
+ "print \"maximum demand %.2fkW \\n yearly bill Rs.%d per year \\n(b)\\n maximum demand %.2fkW \\n yearly bill Rs.%dper year\"%(md,yb,mdb,ybb)\n",
+ "print \"c\"\n",
+ "print \" new energy %dkWh \\n maximum demand %.2fkW \\n yearly bill Rs.%dper year \\n average energy cost in case a Rs%.4fper kWh \\n average energy cost in case b Rs%.3fper kWh\\n average energy cost in case c Rs%.3fper kWh \"%(ne,md3,ybc,aeca,aecb,aecc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ "maximum demand 65.72kW \n",
+ " yearly bill Rs.526164 per year \n",
+ "(b)\n",
+ " maximum demand 41.82kW \n",
+ " yearly bill Rs.497486per year\n",
+ "c\n",
+ " new energy 151125kWh \n",
+ " maximum demand 49.29kW \n",
+ " yearly bill Rs.395623per year \n",
+ " average energy cost in case a Rs2.6112per kWh \n",
+ " average energy cost in case b Rs2.469per kWh\n",
+ " average energy cost in case c Rs2.618per kWh \n"
+ ]
+ }
+ ],
+ "prompt_number": 80
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.7 Page 66"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pl1=20 ;pf1=0.8; t1=2000#load in MVA #power factor #duration\n",
+ "pl2=10 ;pf2=0.8 ;t2=1000#load in MVA #power factor #duration\n",
+ "pl3=2 ;pf3=0.8 ;t3=500#load in MVA #power factor #duration\n",
+ "pt=20 #/transformar power rating\n",
+ "fte=0.985 ;ste=0.99 #/full load efficiency for first and second transformer\n",
+ "ftl=120 ;stl=90 #core loss inKW for first and second transformer\n",
+ "cst=200000 #cost of second transformer with compared with first transformer\n",
+ "aid=0.15 #annual interest and depreciation\n",
+ "ce=0.8 #cost of energy\n",
+ "tfl=pt*(1-fte)*1000#total full load\n",
+ "fle=tfl-ftl #full load copper loss\n",
+ "elc=fle*t1+(fle*t2/(pt/pl2)**2)+(fle*t3/(pt/pl3)**2) #energy loss due to copper loss\n",
+ "eli=ftl*(t1+t2+t3)#energy loss due to iron loss\n",
+ "celo=(elc+eli)*ce #cost of energy loss\n",
+ "print \" \\nfirst transformer : \"\n",
+ "print \" total full load losses %dkW \\n full load copper losses %dkW \\n energy loss due to copper losses %dkWh/year\\n energy loss due to iron losses %dkWh/year \\n cost of energy losses Rs%dper year\"%(tfl,fle,elc,eli,celo)\n",
+ "stfl=pt*(1-ste)*1000#total full load\n",
+ "sle=stfl-stl#full load copper loss\n",
+ "selc=sle*t1+(sle*t2/(pt/pl2)**2)+(sle*t3/(pt/pl3)**2)#energy loss due to copper loss\n",
+ "seli=stl*(t1+t2+t3)#energy loss due to iron loss\n",
+ "scelo=(selc+seli)*ce#cost of energy loss\n",
+ "print \" \\nsecond transformer :\"\n",
+ "print \" total full load losses %dkW \\n full load copper losses %dkW \\n energy loss due to copper losses %dkWh/year\\n energy loss due to iron losses %dkWh/year \\n cost of energy losses Rs%dper year\"%(stfl,sle,selc,seli,scelo)\n",
+ "aidc=stfl*aid*1000\n",
+ "tybc=aidc+scelo\n",
+ "print \" additional interest and depreciation due to higher cost of second transformer Rs%d \\n total yearly charges for second transformer Rs%d per year\"%(aidc,tybc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " \n",
+ "first transformer : \n",
+ " total full load losses 300kW \n",
+ " full load copper losses 180kW \n",
+ " energy loss due to copper losses 405900kWh/year\n",
+ " energy loss due to iron losses 420000kWh/year \n",
+ " cost of energy losses Rs660720per year\n",
+ " \n",
+ "second transformer :\n",
+ " total full load losses 200kW \n",
+ " full load copper losses 110kW \n",
+ " energy loss due to copper losses 248050kWh/year\n",
+ " energy loss due to iron losses 315000kWh/year \n",
+ " cost of energy losses Rs450440per year\n",
+ " additional interest and depreciation due to higher cost of second transformer Rs30000 \n",
+ " total yearly charges for second transformer Rs480440 per year\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.8 Page 67"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import asin, acos, tan, cos\n",
+ "p=500 #load\n",
+ "pf=0.8#power factor\n",
+ "t=400 #tariff\n",
+ "md=100 #maximum demand tariff\n",
+ "ccb=600 #cost of capacitor bank\n",
+ "id=0.11#interest and deprecistion\n",
+ "sd=ccb*id/t#sin(ph2)\n",
+ "d2=asin(sd)\n",
+ "pf2=cos(d2)\n",
+ "kva=p*(tan(acos(pf))-tan(d2))\n",
+ "print \" the most economic power factor %.3f lagging \\n kvar requirement %.2fkVAR\"%(pf2,kva)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " the most economic power factor 0.986 lagging \n",
+ " kvar requirement 291.35kVAR\n"
+ ]
+ }
+ ],
+ "prompt_number": 82
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.9 Page 68"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l1=300 #load and power factor for three different loads\n",
+ "pf1=1 \n",
+ "l2=1000 \n",
+ "pf2=0.9 \n",
+ "l3=1500 \n",
+ "pf3=0.8\n",
+ "print \" for %dkW unit power factor load \\n power factor angle %.f\\n reactive power %.fkvr\"%(l1,acos(pf1),l1*(tan(acos(pf1))))\n",
+ "print \" \\nfor %dkW unit power factor load \\n power factor angle %.2f\\n reactive power %.2fkvr\"%(l2,acos(pf2),l2*(tan(acos(pf2))))\n",
+ "print \" \\nfor %dkW unit power factor load \\n power factor angle %.2f\\n reactive power %.2fkvr\"%(l3,acos(pf3),l3*(tan(acos(pf3))))\n",
+ "tl=l1+l2+l3\n",
+ "tt=l3*(tan(acos(pf3)))+l2*(tan(acos(pf2)))+l1*(tan(acos(pf1)))\n",
+ "print \"\\n total kW \\t%dkW\\n total kVAR %.1fkVAR \\n total kVA %.2fkVA \\n overall power factor %.3flagging\"%(tl,tt,(tl**2+tt**2)**0.5,tl/(tl**2+tt**2)**0.5)\n",
+ "print \"\\n the maximum unity power factor load which yhe station can supply is equal to the kVA i.e.%.2fkVR\"%((tl**2+tt**2)**0.5)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " for 300kW unit power factor load \n",
+ " power factor angle 0\n",
+ " reactive power 0kvr\n",
+ " \n",
+ "for 1000kW unit power factor load \n",
+ " power factor angle 0.45\n",
+ " reactive power 484.32kvr\n",
+ " \n",
+ "for 1500kW unit power factor load \n",
+ " power factor angle 0.64\n",
+ " reactive power 1125.00kvr\n",
+ "\n",
+ " total kW \t2800kW\n",
+ " total kVAR 1609.3kVAR \n",
+ " total kVA 3229.54kVA \n",
+ " overall power factor 0.867lagging\n",
+ "\n",
+ " the maximum unity power factor load which yhe station can supply is equal to the kVA i.e.3229.54kVR\n"
+ ]
+ }
+ ],
+ "prompt_number": 83
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.10 Page 68"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt, pi\n",
+ "v=400#voltage\n",
+ "i=25#/current\n",
+ "pf=0.8#at power factor\n",
+ "pf2=0.9#over all power factor\n",
+ "kw=v*i*pf*sqrt(3)/1000\n",
+ "print \"kw rating of induction motor %.2fkW\"%(kw)\n",
+ "dm=acos(pf)\n",
+ "rp=kw*tan(dm)\n",
+ "print \"\\n power factor angle %.2f \\n reactive power %.2fkVR\"%(dm,rp)\n",
+ "fdm=acos(pf2)\n",
+ "rp2=kw*tan(fdm)\n",
+ "print \"\\n final power factor %.2f \\n final reactance power %.2fkVR\"%(fdm,rp2)\n",
+ "ckvb=rp-rp2\n",
+ "cc=ckvb*1000/(sqrt(3)*v)\n",
+ "vc=v/sqrt(3)\n",
+ "xc=vc/cc\n",
+ "f=50\n",
+ "cec=1*10**(6)/(xc*2*pi*f)\n",
+ "print \"\\n kvar rating of capacitor bank %.4f \\n current through each capacitor %.2fA\\n voltage across each capacitor %.2f \\n reactance of each capacitor %.2fohm \\n capacitance of each capacitance %.2fuf\"%(ckvb,cc,vc,xc,cec)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "kw rating of induction motor 13.86kW\n",
+ "\n",
+ " power factor angle 0.64 \n",
+ " reactive power 10.39kVR\n",
+ "\n",
+ " final power factor 0.45 \n",
+ " final reactance power 6.71kVR\n",
+ "\n",
+ " kvar rating of capacitor bank 3.6813 \n",
+ " current through each capacitor 5.31A\n",
+ " voltage across each capacitor 230.94 \n",
+ " reactance of each capacitor 43.46ohm \n",
+ " capacitance of each capacitance 73.24uf\n"
+ ]
+ }
+ ],
+ "prompt_number": 84
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.11 Page 69"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "v=400#line voltage\n",
+ "i=50 #line current\n",
+ "pf=0.8 #at power factor\n",
+ "pf2=0.95 # overall power factor\n",
+ "sm=25 #hp of synchronous motor \n",
+ "e=0.9#efficiency\n",
+ "kwri=v*i*pf*sqrt(3)/1000\n",
+ "kvari=v*i*sqrt(3)/1000\n",
+ "karri=(-kwri**2+kvari**2)**0.5\n",
+ "kwsm=sm*735.5/(e*1000)\n",
+ "tkw=kwri+kwsm\n",
+ "print \" kw rating of installation %.1fkW \\n kVA rating of installation %.2fkva \\n kVAR rating %.2fkvar \\n kw input to synchrounous motor %.2fkw \\n total kw=%.2f\\n\"%(kwri,kvari,karri,kwsm,tkw)\n",
+ "pd=acos(pf2)\n",
+ "tkr=tkw*tan(pd)\n",
+ "krsm=tkr-karri\n",
+ "kasm=(kwsm**2+krsm**2)**0.5\n",
+ "pfsm=kwsm/kasm\n",
+ "if krsm<0:\n",
+ " ch='capacitor'\n",
+ " ich='leading'\n",
+ "else:\n",
+ " ch='inductive'\n",
+ " ich='lagging'\n",
+ "\n",
+ "print \" overall power factor angle %.2fkw \\n total kvar %.2fkvar \\n kvar of synchrounous motor %.2fkvar %s \\n kva of synchrounous motor %.2fkva \\n power factor of synchrounous motor %.2f %s\"%(pd,tkr,krsm,ch,kasm,pfsm,ich)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " kw rating of installation 27.7kW \n",
+ " kVA rating of installation 34.64kva \n",
+ " kVAR rating 20.78kvar \n",
+ " kw input to synchrounous motor 20.43kw \n",
+ " total kw=48.14\n",
+ "\n",
+ " overall power factor angle 0.32kw \n",
+ " total kvar 15.82kvar \n",
+ " kvar of synchrounous motor -4.96kvar capacitor \n",
+ " kva of synchrounous motor 21.02kva \n",
+ " power factor of synchrounous motor 0.97 leading\n"
+ ]
+ }
+ ],
+ "prompt_number": 85
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.12 page 69"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sin, atan\n",
+ "psm=100 #power of synchrounous motors\n",
+ "pim=200 #power of inducion motor\n",
+ "v=400 #voltage \n",
+ "pff=0.71; pp=-1#power factor\n",
+ "rsm=0.1 #resistance of synchrounous motor\n",
+ "rt=0.03 #resistance of cable\n",
+ "#pf(1)=1 ;p(1)=1 #power factor in a\n",
+ "#pf(2)=0.8 ;p(2)=1 #power factor in b\n",
+ "#pf(3)=0.6 ;p(3)=1 #power factor in c\n",
+ "pf =[1,0.8,0.6]\n",
+ "p = [1,1,1]\n",
+ "\n",
+ "i1=pim*1000/(v*pff*sqrt(3))\n",
+ "i11=i1*(complex(pff,pp*sin(acos(pff))))\n",
+ "i2f=psm*1000/(v*sqrt(3))\n",
+ "ch=['a', 'b', 'c']\n",
+ "it = range(0,3)\n",
+ "opf = range(0,3)\n",
+ "for i in range(0,3):\n",
+ " print \"\\n (%s)\"%(ch[i])\n",
+ " d=acos(pf[i])\n",
+ " #it(i)=i11(1)+complex(i2f,(p(i)*i2f*tand(d)))\n",
+ " it[i]=i11+complex(i2f,(p[i]*i2f*tan(d)))\n",
+ " opf[i]=cos(atan((it[i]).imag/(it[i]).real))\n",
+ " clsm=3*((i2f)**2)*rsm\n",
+ " clt=3*(abs(it[i])**2)*rt/1000\n",
+ " print \"\\n total current =\",it[i]\n",
+ " print \"\\n overall power factor %.3f lagging \\n copper losses in synchrounous motor %.fW \\n copper losses in cable %.2fKW\"%(opf[i],clsm,clt)\n",
+ "\n",
+ "print \"(d)\"\n",
+ "print \"copper loss of synchronous motor this is evidently minimum when tand=%d cosd=%d\"%(0,1)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " (a)\n",
+ "\n",
+ " total current = (433.012701892-286.317624651j)\n",
+ "\n",
+ " overall power factor 0.834 lagging \n",
+ " copper losses in synchrounous motor 6250W \n",
+ " copper losses in cable 24.25KW\n",
+ "\n",
+ " (b)\n",
+ "\n",
+ " total current = (433.012701892-178.064449178j)\n",
+ "\n",
+ " overall power factor 0.925 lagging \n",
+ " copper losses in synchrounous motor 6250W \n",
+ " copper losses in cable 19.73KW\n",
+ "\n",
+ " (c)\n",
+ "\n",
+ " total current = (433.012701892-93.8675349216j)\n",
+ "\n",
+ " overall power factor 0.977 lagging \n",
+ " copper losses in synchrounous motor 6250W \n",
+ " copper losses in cable 17.67KW\n",
+ "(d)\n",
+ "copper loss of synchronous motor this is evidently minimum when tand=0 cosd=1\n"
+ ]
+ }
+ ],
+ "prompt_number": 86
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.13 Page 71"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import atan\n",
+ "p=2#constant output in MW\n",
+ "pf=0.9#power factor\n",
+ "pa=10#load\n",
+ "pb=5\n",
+ "pfb=0.8#power factor at load of 5MW\n",
+ "td=tan(acos(pf))\n",
+ "go=p*(1-td*1J)\n",
+ "op=0.8\n",
+ "tp=tan(acos(pfb))\n",
+ "print \"power factor of indection generator is leading therefor induction generator output %d%.2fiMVA /n (a) \\n\"%(go.real,go.imag)\n",
+ "tl=pa*(1+tp*1J)\n",
+ "sg=tl-go\n",
+ "da=atan(sg.imag/sg.real)\n",
+ "print \" total load %d+%.1fiMW \\n synchronous generator load %d+%.3fiMW \\n\\t\\t=%.2fMW at angle %.2f \\n power factor of synchronous generator is %.2flagging\"%(tl.real,tl.imag,sg.real,sg.imag,abs(sg),da,cos(da))\n",
+ "tl1=pb*(1+tp*1J)\n",
+ "sg1=tl1-go\n",
+ "da1=atan(sg1.imag/sg1.real)\n",
+ "print \"(b)\"\n",
+ "print \" total load %d+%.1fiMW \\n synchronous generator load %d+%.3fiMW \\n\\t\\t=%.2fMW at angle %.2f \\n power factor of synchronous generator is %.2flagging\"%(tl1.real,(tl1).imag,sg1.real,(sg1).imag,abs(sg1),da1,cos(da1))"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "power factor of indection generator is leading therefor induction generator output 2-0.97iMVA /n (a) \n",
+ "\n",
+ " total load 10+7.5iMW \n",
+ " synchronous generator load 8+8.469iMW \n",
+ "\t\t=11.65MW at angle 0.81 \n",
+ " power factor of synchronous generator is 0.69lagging\n",
+ "(b)\n",
+ " total load 5+3.7iMW \n",
+ " synchronous generator load 3+4.719iMW \n",
+ "\t\t=5.59MW at angle 1.00 \n",
+ " power factor of synchronous generator is 0.54lagging\n"
+ ]
+ }
+ ],
+ "prompt_number": 87
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.14 page 71"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "c=40*10**(-6) #bank of capacitors in farads\n",
+ "v=400 #line voltage\n",
+ "i=40#/line current\n",
+ "pf=0.8#power factor\n",
+ "f=50#line frequency\n",
+ "xc=1/(2*pi*f*c)\n",
+ "ic=v/(sqrt(3)*xc)\n",
+ "il=i*(pf-sin(acos(pf))*1J)\n",
+ "til=il+1J*ic\n",
+ "od=atan(til.imag/til.real)\n",
+ "opf=cos(od)\n",
+ "nlol=(abs(od)/i)**2\n",
+ "print \"(a)\"\n",
+ "print \" line current of capacitor bank %.1fA \\n load current %d%diA \\n total line current %d%.1fjA \\n overall p.f %.3f \\n new line loss to old line loss %.3f\"%(ic,il.real,il.imag,(til).real,(til).imag,opf,nlol)\n",
+ "pcb=(v/xc)\n",
+ "print \"\\n phase current of capacitor bank %.3fA\"%(pcb)\n",
+ "lcb=pcb*sqrt(3)\n",
+ "print \"\\n line current of capacitor bank %.1fA\"%(lcb)\n",
+ "tcu=il+lcb*1J\n",
+ "print \"\\n total current =\",tcu\n",
+ "print \"%.1fjA =%.2fA at an angle %.2f\"%(tcu.imag,abs(tcu),atan(tcu.imag/tcu.real))\n",
+ "pf2=cos(atan(tcu.imag/(tcu).real))\n",
+ "print \"\\n power factor %.1f \\n ratio of new line loss to original loss %.3f\"%(pf2,(abs(tcu)/i)**2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ " line current of capacitor bank 2.9A \n",
+ " load current 32-23iA \n",
+ " total line current 32-21.1jA \n",
+ " overall p.f 0.835 \n",
+ " new line loss to old line loss 0.000\n",
+ "\n",
+ " phase current of capacitor bank 5.027A\n",
+ "\n",
+ " line current of capacitor bank 8.7A\n",
+ "\n",
+ " total current = (32-15.2937630517j)\n",
+ "-15.3jA =35.47A at an angle -0.45\n",
+ "\n",
+ " power factor 0.9 \n",
+ " ratio of new line loss to original loss 0.786\n"
+ ]
+ }
+ ],
+ "prompt_number": 88
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.15 Page 72"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=30 #b.h.p of induction motor\n",
+ "f=50#line frequency\n",
+ "v=400#line voltage\n",
+ "e=0.85#effiency\n",
+ "pf=0.8 #power factor\n",
+ "i=p*746/(v*e*pf*sqrt(3))\n",
+ "i=i*complex(pf,-sin(acos(pf)))\n",
+ "ccb=(i).imag/sqrt(3)\n",
+ "xc=v/ccb\n",
+ "c=10**6/(2*f*pi*xc)\n",
+ "prl=((abs(i)**2-i.real**2)/abs(i)**2)*100\n",
+ "print \" current drawn by motor is %.1fA \\n \"%abs(i)\n",
+ "print \"the line loss will be minimum when i is munimum.the minimum value of i is\",i,\"A\"\n",
+ "print \" and occurs when the capacitor bank draws a line current of %djA \\n capacitor C %.2fuf \\n percentage loss reduction %d\"%(i.imag,abs(c),prl)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " current drawn by motor is 47.5A \n",
+ " \n",
+ "the line loss will be minimum when i is munimum.the minimum value of i is (38.0032324249-28.5024243187j) A\n",
+ " and occurs when the capacitor bank draws a line current of -28jA \n",
+ " capacitor C 130.95uf \n",
+ " percentage loss reduction 35\n"
+ ]
+ }
+ ],
+ "prompt_number": 89
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.16 page 72"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "po=666.66 #power\n",
+ "f=50 #frequency\n",
+ "v=400 #voltage\n",
+ "pf=0.8 ;p=-1#power factor\n",
+ "pf2=0.95 ;p2=-1#improved power factor\n",
+ "vc=2200 #capacitor voltage \n",
+ "rc=vc\n",
+ "il=po*1000/(v*pf*sqrt(3))\n",
+ "il1=il*(complex(pf,p*sin(acos(pf))))\n",
+ "i2c=il*pf\n",
+ "tad=tan(acos(pf2))\n",
+ "i2=complex(i2c,i2c*tad*p2)\n",
+ "print \" load current i1 =\",il1,\"A \"\n",
+ "print \"\\n load current current on improved power factor =\",i2,\"A\"\n",
+ "print \"(a)\"\n",
+ "ic=abs(il1-i2)\n",
+ "ilc=ic*v/vc\n",
+ "pic=ilc/sqrt(3)\n",
+ "xc=vc/pic\n",
+ "ca=10**6/(2*pi*f*xc)\n",
+ "print \" line current of %dV capacitor bank %.2fA\\n line current of %d capacitor bank %.2fA \\n phase current of capacitor bank %.2fA \\n reactance %.2f \\n capacitance %.2fF*10**(-6)\"%(v,ic,vc,ilc,pic,xc,ca)\n",
+ "print \"(b)\"\n",
+ "kr=3*vc*pic/1000\n",
+ "print \" kVA rating %.1fkVA \\n kVA rating of transformer to convert %dV to %dV will be the same as the kVA rating of capacitor bank\"%(kr,v,vc)\n",
+ "pl=100*(abs(il1)**2-abs(i2)**2)/abs(il1)**2\n",
+ "print \"percentage reduction in losses %d percent\"%(pl)\n",
+ "print \"(d)\"\n",
+ "pi=ic/sqrt(3)\n",
+ "xcc=v/pi\n",
+ "cc=1*10**6/(2*pi*f*xcc)\n",
+ "roc=ca/cc\n",
+ "print \" phase current %.1fA \\n reactance %.2fohm \\n capasitance %.2f*10**-6F \\n ratio of capacitance %.3f\"%(pi,xcc,cc,roc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " load current i1 = (962.240826145-721.680619609j) A \n",
+ "\n",
+ " load current current on improved power factor = (962.240826145-316.273264908j) A\n",
+ "(a)\n",
+ " line current of 400V capacitor bank 405.41A\n",
+ " line current of 2200 capacitor bank 73.71A \n",
+ " phase current of capacitor bank 42.56A \n",
+ " reactance 51.70 \n",
+ " capacitance 61.57F*10**(-6)\n",
+ "(b)\n",
+ " kVA rating 280.9kVA \n",
+ " kVA rating of transformer to convert 400V to 2200V will be the same as the kVA rating of capacitor bank\n",
+ "percentage reduction in losses 29 percent\n",
+ "(d)\n",
+ " phase current 234.1A \n",
+ " reactance 1.71ohm \n",
+ " capasitance 25.00*10**-6F \n",
+ " ratio of capacitance 2.463\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.17 Page 74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "v1=132#line voltage at primary\n",
+ "v2=11#line voltage at secondary\n",
+ "p=10 #power\n",
+ "pf=0.8 #power factor\n",
+ "mva=p*(complex(pf,sin(acos(pf))))\n",
+ "print \" MVA rating of secondary = %dMVA =%d+%djMVA \\n \"%(p,abs(mva),mva.imag)\n",
+ "print \"\\n since the power factor at primary terminals is unity,rating of primary need be %dMVA only \\n the tertiary will supply capacitor curren.since p.f is to be raised to 1 ,the mav compensation needed is 6MVA so rating of teritiary is %dMVA\"%(abs(mva),mva.imag)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " MVA rating of secondary = 10MVA =9+5jMVA \n",
+ " \n",
+ "\n",
+ " since the power factor at primary terminals is unity,rating of primary need be 9MVA only \n",
+ " the tertiary will supply capacitor curren.since p.f is to be raised to 1 ,the mav compensation needed is 6MVA so rating of teritiary is 5MVA\n"
+ ]
+ }
+ ],
+ "prompt_number": 91
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.18 Page 74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "v=11 #line voltage\n",
+ "f=50#line frequency\n",
+ "l=400 #load of alternator\n",
+ "pf=0.8 #power factor\n",
+ "e=0.85#efficiency\n",
+ "p=l/pf\n",
+ "lo=l+p*sin(acos(pf))*1J\n",
+ "print \"a\"\n",
+ "print \"when pf is rased to 1 the alternator can supply %dkW for the same value of armture current hence it can supply %dKW to synchronous motor\"%(p,p-l)\n",
+ "print \"b\"\n",
+ "print \"b.h.p =%.2fHP\"%(100*e/0.746)\n",
+ "kvam=p-lo\n",
+ "td=atan((kvam).imag/(kvam).real)\n",
+ "pff=cos(td)\n",
+ "print \"\\ncosd=%.3fleading\"%(pff)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a\n",
+ "when pf is rased to 1 the alternator can supply 500kW for the same value of armture current hence it can supply 100KW to synchronous motor\n",
+ "b\n",
+ "b.h.p =113.94HP\n",
+ "\n",
+ "cosd=0.316leading\n"
+ ]
+ }
+ ],
+ "prompt_number": 92
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.19 Page 74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "kw=100 #let kw=100kw\n",
+ "pf=0.6 #power foctor\n",
+ "pf2=0.8 #power factor\n",
+ "kvar=kw*tan(acos(pf))\n",
+ "kvar2=kw*tan(acos(pf2))\n",
+ "ckar=((kvar-kvar2))/10\n",
+ "ck=round(ckar)*10\n",
+ "print \" capacitor kVAR required for %dkW\\n load for same power factor improvement %dKVAR\"%(round(ckar),ck)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " capacitor kVAR required for 6kW\n",
+ " load for same power factor improvement 60KVAR\n"
+ ]
+ }
+ ],
+ "prompt_number": 93
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.20 Page 75"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "p=160 #kva for transformer \n",
+ "pf=0.6 #power factor\n",
+ "el=96 #effective load\n",
+ "eli=120 #effective load increase\n",
+ "rc=eli*(tan(acos(pf))-tan(acos(eli/p)))\n",
+ "opf=eli/p\n",
+ "print \" required capacitor kVAR %dKVAR \\n overall power factor %.2f \\n it is seen that point d is on %.2f line\"%(rc,opf,opf)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " required capacitor kVAR 54KVAR \n",
+ " overall power factor 0.75 \n",
+ " it is seen that point d is on 0.75 line\n"
+ ]
+ }
+ ],
+ "prompt_number": 94
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.21 page 76"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "md=800 #maximum demand\n",
+ "pf=0.707 #power factor\n",
+ "c=80 #cost\n",
+ "p=200 #power\n",
+ "e=0.99#efficiency\n",
+ "pff=0.8 #fulload pf\n",
+ "ikva=md/pf\n",
+ "iafc=(round(ikva*100)*(c)/100)\n",
+ "rsm=ikva*pf\n",
+ "act=p*(0.7355)/e\n",
+ "at=-act*sin(acos(pff))\n",
+ "tkw=rsm+act\n",
+ "tkvr=rsm+at\n",
+ "tkva=(tkw**2+tkvr**2)**0.5\n",
+ "ikvad=tkva-ikva\n",
+ "infc=ikvad*c\n",
+ "print \" initial kVA %.2fkVA \\n initial annual fixed charges Rs%.1f \\n after installation of synchronous motor reactive power of induction motor %dkVars\\n active power input of synchrounous motor %.2fkW\\n reactive power input to synchrounous motor %.2fKVAR \\n total kW %.2fKW \\n total kVars %.2fkVARS \\n total kVA %.2fkVA \\n increase in KVA demand %.2fkVA\\n increase in annual fixed charges Rs%.1f \"%(ikva,iafc,rsm,act,at,tkw,tkvr,tkva,ikvad,infc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " initial kVA 1131.54kVA \n",
+ " initial annual fixed charges Rs90523.2 \n",
+ " after installation of synchronous motor reactive power of induction motor 800kVars\n",
+ " active power input of synchrounous motor 148.59kW\n",
+ " reactive power input to synchrounous motor -89.15KVAR \n",
+ " total kW 948.59KW \n",
+ " total kVars 710.85kVARS \n",
+ " total kVA 1185.38kVA \n",
+ " increase in KVA demand 53.84kVA\n",
+ " increase in annual fixed charges Rs4306.9 \n"
+ ]
+ }
+ ],
+ "prompt_number": 95
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 4.22 Page 77"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "t=16#working time\n",
+ "d=300 #working days\n",
+ "hv=1 ;hvmd=50 #tariff on high voltage\n",
+ "lv=1.1 ;lvmd=60 #tariff on low voltage\n",
+ "al=250#avarage load\n",
+ "pf=0.8#power factor\n",
+ "md=300 #maximum demand\n",
+ "hvec=500#cost of hv equipment\n",
+ "l=0.05 #loss of hv equipment\n",
+ "id=0.12 #interest and deprecistion\n",
+ "ter=al*md*t \n",
+ "mdv=md/pf\n",
+ "print \" total energy requirement %2.2ekWH \\n maximum demand %dKVA\"%(ter,mdv)\n",
+ "print \"(a)HV supply\"\n",
+ "chv=mdv*hvec\n",
+ "idc=chv*id\n",
+ "ere=ter/(1-l)\n",
+ "dch=mdv*hvmd\n",
+ "ech=round(ere*hv/1000)*1000\n",
+ "tanc=ech+dch+idc\n",
+ "print \" cost of HV equipment Rs%e\\n interest and depreciation charges Rs%d \\n energy received %ekWh\\n demand charges Rs%d \\n energy charges Rs%2e \\n total annual cost Rs%d\"%(chv,idc,ere,dch,ech,tanc)\n",
+ "print \"(b) LV supply\"\n",
+ "lvdc=mdv*lvmd\n",
+ "lvec=ter*lv\n",
+ "lvtac=lvec+lvdc\n",
+ "lvdac=lvtac-tanc\n",
+ "print \" demand charges Rs%d \\n energy charges Rs%2.e \\n total annual cost Rs%d \\n difference in annual cost Rs%d\"%(lvdc,lvec,lvtac,lvdac)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " total energy requirement 1.20e+06kWH \n",
+ " maximum demand 375KVA\n",
+ "(a)HV supply\n",
+ " cost of HV equipment Rs1.875000e+05\n",
+ " interest and depreciation charges Rs22500 \n",
+ " energy received 1.263158e+06kWh\n",
+ " demand charges Rs18750 \n",
+ " energy charges Rs1.263000e+06 \n",
+ " total annual cost Rs1304250\n",
+ "(b) LV supply\n",
+ " demand charges Rs22500 \n",
+ " energy charges Rs1e+06 \n",
+ " total annual cost Rs1342500 \n",
+ " difference in annual cost Rs38250\n"
+ ]
+ }
+ ],
+ "prompt_number": 96
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter5.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter5.ipynb
new file mode 100644
index 00000000..94d5fce1
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter5.ipynb
@@ -0,0 +1,406 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:06110b459e793fe6a13fb1d3a89d2d5ed8547f434fe98d182911c57050d94ef4"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-5, Selection of Plant"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 5.1 Page 87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "aerpe=100*10**6\n",
+ "md=25*10**3\n",
+ "def ucc(dd,e):\n",
+ " u=600*dd+0.3*e #rs per kW\n",
+ " return u\n",
+ "sc=30*10**3\n",
+ "\n",
+ "a_cci=9000#per kW\n",
+ "a_shr=4000\n",
+ "b_cci=10500\n",
+ "b_shr=3500\n",
+ "c_cci=12000\n",
+ "c_shr=3000\n",
+ "salc=3000\n",
+ "sal=2280\n",
+ "sh=10\n",
+ "tax=0.04\n",
+ "ins=0.5*10**-2\n",
+ "cir=0.07\n",
+ "hv=5000#l cal per kg\n",
+ "fuc=225#rs per ton\n",
+ "acsnm=150000#for each plan\n",
+ "pl=20\n",
+ "dr=cir/((cir+1)**pl-1)\n",
+ "tfcr=cir+dr+tax+ins\n",
+ "print \"depreciation rate %f \\ntotal fixed rate =%f\"%(dr,tfcr)\n",
+ "a_ci=a_cci*sc ;b_ci=b_cci*sc ;c_ci=c_cci*sc\n",
+ "a_afca=a_ci*tfcr ;b_afca=b_ci*tfcr ;c_afca=c_ci*tfcr\n",
+ "a_afuc=a_shr*fuc*10**8/(hv*10**3)\n",
+ "b_afuc=b_shr*fuc*10**8/(hv*10**3)\n",
+ "c_afuc=c_shr*fuc*10**8/(hv*10**3)\n",
+ "ass=12*(salc+sh*sal)\n",
+ "tota=a_afca+ass+a_afuc+acsnm\n",
+ "totb=b_afca+ass+b_afuc+acsnm\n",
+ "totc=c_afca+ass+c_afuc+acsnm\n",
+ "print \"\\nannual fixed cost of a is Rs%d fuel cost of plan a is Rs%d and total cost of a is Rs%d\"%(a_afca,a_afuc,tota)\n",
+ "print \"\\nannual fixed cost of b is Rs%d fuel cost of plan b is Rs%d and total cost of b is Rs%d\"%(b_afca,b_afuc,totb)\n",
+ "print \"\\nannual fixed cost of c is Rs%d fuel cost of plan c is Rs%d and total cost of c is Rs%d\"%(c_afca,c_afuc,totc)\n",
+ "\n",
+ "ppt=ucc(md,aerpe)\n",
+ "print \"\\nannual cost of purchasing electricty from utility is Rs600x%d+0.3x%.1e is Rs%d\"%(md,aerpe,ppt)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "depreciation rate 0.024393 \n",
+ "total fixed rate =0.139393\n",
+ "\n",
+ "annual fixed cost of a is Rs37636089 fuel cost of plan a is Rs18000000 and total cost of a is Rs56095689\n",
+ "\n",
+ "annual fixed cost of b is Rs43908771 fuel cost of plan b is Rs15750000 and total cost of b is Rs60118371\n",
+ "\n",
+ "annual fixed cost of c is Rs50181453 fuel cost of plan c is Rs13500000 and total cost of c is Rs64141053\n",
+ "\n",
+ "annual cost of purchasing electricty from utility is Rs600x25000+0.3x1.0e+08 is Rs45000000\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 5.2 Page 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "aer=100*10**6\n",
+ "md=25*10**3\n",
+ "def ucc(dd,e):\n",
+ " u=600*dd+0.3*e #rs per kW\n",
+ " return u\n",
+ "p=30*10**3\n",
+ "ap=9000#per kW\n",
+ "ahr=4000\n",
+ "bp=10500\n",
+ "bhr=3500\n",
+ "cp=12000\n",
+ "Chr=3000\n",
+ "salc=3000\n",
+ "sal=2280\n",
+ "sh=10\n",
+ "t=0.04\n",
+ "i=0.5*10**-2\n",
+ "r=0.07\n",
+ "hv=5000#l cal per kg\n",
+ "fuc=225#rs per ton\n",
+ "mc=150000#for each plan\n",
+ "n=20\n",
+ "dr=r/((r+1)**n-1)\n",
+ "pwf=r/(1-(r+1)**(-n))\n",
+ "print \"persent of worth factor is %f\"%(pwf)\n",
+ "afc=ahr*fuc*10**8/(hv*10**3)\n",
+ "bfc=bhr*fuc*10**8/(hv*10**3)\n",
+ "cfc=Chr*fuc*10**8/(hv*10**3)\n",
+ "ass=12*(salc+sh*sal)\n",
+ "aaoc=ass+mc+afc\n",
+ "baoc=ass+mc+bfc\n",
+ "caoc=ass+mc+cfc\n",
+ "ai=ap*p ;bi=bp*p ;ci=cp*p\n",
+ "atac=(t+i)*ap*p+aaoc\n",
+ "btac=(i+t)*bp*p+baoc\n",
+ "ctac=(i+t)*cp*p+caoc\n",
+ "uts=ucc(md,aer)\n",
+ "apw=atac/pwf ;bpw=btac/pwf ;cpw=ctac/pwf; utss=uts/pwf\n",
+ "ta=apw+ai ;tb=bpw+bi; tc=cpw+ci\n",
+ "print \"\\nannual cost excludinding interest and \\ndepreciation of a \\t\\tRs%d \\npersent worth factor \\t\\t %f \\npresent worth annual cost of a is Rs%d \\n investement of a is \\tRs%d \\n total persent worth of a is \\t%d\"%(atac,pwf,apw,ai,ta)\n",
+ "print \"\\n\\n annual cost excludinding interest and \\ndepreciation of b \\t\\tRs%d \\npersent wort factor \\t\\t%f \\npresent worth annual cost of b is Rs%d \\n investement of b is \\tRs%d \\n total persent worth of b is \\t%d\"%(btac,pwf,bpw,bi,tb)\n",
+ "print \"\\n \\nannual cost excludinding interest and \\ndepreciation of c \\t\\tRs%d \\npersent wort factor \\t\\t%f \\npresent worth annual cost of c is Rs%d \\n investement of c is \\tRs%d \\n total persent worth of c is \\t%d\"%(ctac,pwf,cpw,ci,tc)\n",
+ "print \"\\n \\nannual cost excludinding interest and \\ndepreciation of utility service \\tRs%d \\npersent wort factor \\t\\t\\t%f \\npresent worth annual cost of utility service is Rs%d \\n investement of utility service is \\t\\t nill \\n total persent worth of utility service is %d\"%(uts,pwf,utss,utss)\n",
+ "print \"\\n\\n\\tsince the present worth of the utility service is the minimum,it is the obvious choice \\nout of the other plans,plan A is the best since it has the lowest present worth\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "persent of worth factor is 0.094393\n",
+ "\n",
+ "annual cost excludinding interest and \n",
+ "depreciation of a \t\tRs30609600 \n",
+ "persent worth factor \t\t 0.094393 \n",
+ "present worth annual cost of a is Rs324278538 \n",
+ " investement of a is \tRs270000000 \n",
+ " total persent worth of a is \t594278538\n",
+ "\n",
+ "\n",
+ " annual cost excludinding interest and \n",
+ "depreciation of b \t\tRs30384600 \n",
+ "persent wort factor \t\t0.094393 \n",
+ "present worth annual cost of b is Rs321894885 \n",
+ " investement of b is \tRs315000000 \n",
+ " total persent worth of b is \t636894885\n",
+ "\n",
+ " \n",
+ "annual cost excludinding interest and \n",
+ "depreciation of c \t\tRs30159600 \n",
+ "persent wort factor \t\t0.094393 \n",
+ "present worth annual cost of c is Rs319511232 \n",
+ " investement of c is \tRs360000000 \n",
+ " total persent worth of c is \t679511232\n",
+ "\n",
+ " \n",
+ "annual cost excludinding interest and \n",
+ "depreciation of utility service \tRs45000000 \n",
+ "persent wort factor \t\t\t0.094393 \n",
+ "present worth annual cost of utility service is Rs476730641 \n",
+ " investement of utility service is \t\t nill \n",
+ " total persent worth of utility service is 476730641\n",
+ "\n",
+ "\n",
+ "\tsince the present worth of the utility service is the minimum,it is the obvious choice \n",
+ "out of the other plans,plan A is the best since it has the lowest present worth\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 5.3 Page 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "aer=100*10**6 #from example 5.1\n",
+ "md=25*10**3\n",
+ "def ucc(dd,e):\n",
+ " u=600*dd+0.3*e #rs per kW\n",
+ " return u\n",
+ "p=30*10**3\n",
+ "ap=9000#per kW\n",
+ "ahr=4000\n",
+ "bp=10500\n",
+ "bhr=3500\n",
+ "cp=12000\n",
+ "Chr=3000\n",
+ "salc=3000\n",
+ "sal=2280\n",
+ "sh=10\n",
+ "t=0.04\n",
+ "i=0.5*10**-2\n",
+ "r=0.07\n",
+ "hv=5000#l cal per kg\n",
+ "fuc=225#rs per ton\n",
+ "mc=150000#for each plan\n",
+ "n=20\n",
+ "dr=r/((r+1)**n-1)\n",
+ "pwf=r/(1-(r+1)**(-n))\n",
+ "uts=ucc(md,aer)\n",
+ "afc=ahr*fuc*10**8/(hv*10**3)\n",
+ "bfc=bhr*fuc*10**8/(hv*10**3)\n",
+ "cfc=Chr*fuc*10**8/(hv*10**3)\n",
+ "ass=12*(salc+sh*sal)\n",
+ "aaoc=ass+mc+afc\n",
+ "baoc=ass+mc+bfc\n",
+ "caoc=ass+mc+cfc\n",
+ "aw=(((dr+t+i)*ap*p+aaoc)/r)+ap*p\n",
+ "bw=(((dr+t+i)*bp*p+baoc)/r)+bp*p\n",
+ "cw=(((dr+t+i)*cp*p+caoc)/r)+cp*p\n",
+ "utt=uts/r+p\n",
+ "print \"\\n plan A is \\t\\tRs.%d \\n plan B is \\t\\tRs.%d \\n planC is \\t\\tRs.%d \\nutility services is \\tRs%d\"%(aw,bw,cw,utt)\n",
+ "print \"the utility service has the lowest capitalized cost and is the obvious choice. Out of the other plans,plan A is the best\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " plan A is \t\tRs.801366999 \n",
+ " plan B is \t\tRs.858833880 \n",
+ " planC is \t\tRs.916300760 \n",
+ "utility services is \tRs642887142\n",
+ "the utility service has the lowest capitalized cost and is the obvious choice. Out of the other plans,plan A is the best\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 5.4 page 90"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "aer=100*10**6\n",
+ "md=25*10**3\n",
+ "utse=6600*10**4\n",
+ "p=30*10**3\n",
+ "ap=9000#per kW\n",
+ "ahr=4000\n",
+ "bp=10500\n",
+ "bhr=3500\n",
+ "cp=12000\n",
+ "Chr=3000\n",
+ "salc=3000\n",
+ "sal=2280\n",
+ "sh=10\n",
+ "t=0.04\n",
+ "i=0.5*10**-2\n",
+ "r=0.07\n",
+ "hv=5000#l cal per kg\n",
+ "fuc=225#rs per ton\n",
+ "mc=150000#for each plan\n",
+ "n=20\n",
+ "dr=r/((r+1)**n-1)\n",
+ "pwf=r/(1-(r+1)**(-n))\n",
+ "afc=ahr*fuc*10**8/(hv*10**3)\n",
+ "bfc=bhr*fuc*10**8/(hv*10**3)\n",
+ "cfc=Chr*fuc*10**8/(hv*10**3)\n",
+ "ass=12*(salc+sh*sal)\n",
+ "aaoc=ass+mc+afc\n",
+ "baoc=ass+mc+bfc\n",
+ "caoc=ass+mc+cfc\n",
+ "\n",
+ "sol_a_totalannualcost=(t+i)*ap*p+aaoc\n",
+ "sol_b_totalannualcost=(i+t)*bp*p+baoc\n",
+ "sol_c_totalannualcost=(i+t)*cp*p+caoc\n",
+ "\n",
+ "sol_a_pinvestement=ap*p \n",
+ "sol_b_pinvestement=bp*p \n",
+ "sol_c_pinvestement=cp*p\n",
+ "\n",
+ "sol_a_annuity=utse-sol_a_totalannualcost \n",
+ "sol_b_annuity=utse-sol_b_totalannualcost \n",
+ "sol_c_annuity=utse-sol_c_totalannualcost \n",
+ "\n",
+ "sol_a_ratioaandp=sol_a_annuity/sol_a_pinvestement \n",
+ "sol_b_ratioaandp=sol_b_annuity/sol_b_pinvestement \n",
+ "sol_c_ratioaandp=sol_c_annuity/sol_c_pinvestement \n",
+ "def alt(r):\n",
+ " R=abs(r/(1-wr))\n",
+ " return R\n",
+ "ra=round((sol_a_ratioaandp)*100)\n",
+ "rb=round((sol_b_ratioaandp)*100)\n",
+ "rc=round((sol_c_ratioaandp)*100)\n",
+ "from numpy import arange\n",
+ "for x in arange(-0.12,-0.07,0.001): #for itration\n",
+ " wr=(1+x)**n\n",
+ " re=alt(x)\n",
+ " re=(round(re*100))\n",
+ " if re==ra :\n",
+ " sol_a_return=(abs(x)*100)\n",
+ " #end\n",
+ " if re==rb :\n",
+ " sol_b_return=(abs(x)*100)\n",
+ " #end\n",
+ " if re==rc :\n",
+ " sol_c_return=(abs(x)*100)\n",
+ " #end\n",
+ " #end\n",
+ "print \"for (a)\"\n",
+ "print \"total annual cost Rs.%d\\ninvestement Rs.%d\\nannuity Rs%d \\nratio of a and b %f \\nrate of return %.1fpercent\"%(sol_a_totalannualcost,sol_a_pinvestement,sol_a_annuity,sol_a_ratioaandp,sol_a_return)\n",
+ "print \"for (b)\"\n",
+ "print \"total annual cost Rs.%d\\ninvestement Rs.%d\\nannuity Rs%d \\nratio of a and b %f \\nrate of return %.1fpercent\"%(sol_b_totalannualcost,sol_b_pinvestement,sol_b_annuity,sol_b_ratioaandp,sol_b_return)\n",
+ "print \"for (c)\"\n",
+ "print \"total annual cost Rs.%d\\ninvestement Rs.%d\\nannuity Rs%d \\nratio of a and b %f \\nrate of return %.1fpercent\"%(sol_c_totalannualcost,sol_c_pinvestement,sol_c_annuity,sol_c_ratioaandp,sol_c_return)\n",
+ "sb=sol_b_annuity-sol_a_annuity\n",
+ "sc=sol_c_annuity-sol_b_annuity\n",
+ "ib=sol_b_pinvestement-sol_a_pinvestement\n",
+ "ic=sol_b_pinvestement-sol_a_pinvestement\n",
+ "rcb=sb/ib; rcc=sc/ic \n",
+ "print \"\\nsaving in annual cost excluding interest and depreciation B over A \\t %d C over A \\t %d\"%(sb,sc)\n",
+ "print \"\\nadditional investement P is \\t\\t\\t\\tB over A \\t %d C over A \\t %d\"%(ib,ic)\n",
+ "print \"\\nrate of saving to investement \\t\\t\\t\\tAoverB \\t\\t %f BoverC \\t%f\"%(rcb,rcc)\n",
+ "print \"\\nrate of return on capital investement\\n evidently plan A is the best \\t\\t\\t\\tA over B \\tNegative B over C \\tNegative\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "for (a)\n",
+ "total annual cost Rs.30609600\n",
+ "investement Rs.270000000\n",
+ "annuity Rs35390400 \n",
+ "ratio of a and b 0.131076 \n",
+ "rate of return 11.4percent\n",
+ "for (b)\n",
+ "total annual cost Rs.30384600\n",
+ "investement Rs.315000000\n",
+ "annuity Rs35615400 \n",
+ "ratio of a and b 0.113065 \n",
+ "rate of return 8.9percent\n",
+ "for (c)\n",
+ "total annual cost Rs.30159600\n",
+ "investement Rs.360000000\n",
+ "annuity Rs35840400 \n",
+ "ratio of a and b 0.099557 \n",
+ "rate of return 7.6percent\n",
+ "\n",
+ "saving in annual cost excluding interest and depreciation B over A \t 225000 C over A \t 225000\n",
+ "\n",
+ "additional investement P is \t\t\t\tB over A \t 45000000 C over A \t 45000000\n",
+ "\n",
+ "rate of saving to investement \t\t\t\tAoverB \t\t 0.005000 BoverC \t0.005000\n",
+ "\n",
+ "rate of return on capital investement\n",
+ " evidently plan A is the best \t\t\t\tA over B \tNegative B over C \tNegative\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter7.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter7.ipynb
new file mode 100644
index 00000000..5639c996
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter7.ipynb
@@ -0,0 +1,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": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter8.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter8.ipynb
new file mode 100644
index 00000000..8e55bc2d
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter8.ipynb
@@ -0,0 +1,416 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:89d211f2bab9ed7eb89e6e1658fcc2ecaf90b3f2ef927e14d02a2cb79920c159"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-8, Hydro-Electric Plants"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 8.1 Page 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "h=100 #given height\n",
+ "q=200 #discharge\n",
+ "e=0.9 #efficiency\n",
+ "p=(735.5/75)*q*h*e\n",
+ "print \"\\npower developed by hydro plant is %0.2f MW\"%(p/1e3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "power developed by hydro plant is 176.52 MW\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 8.2 page 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "flow=[0, 1000, 800, 600 ,400 ,400 ,1200, 2400 ,2400, 1000 ,400 ,400 ,1000] #flow in matrix from in the order of months\n",
+ "y=range(0,13)\n",
+ "yy = [(0,1),(1,2),(2,3),(3,4),(4,5)]\n",
+ "xx = [(0,1),(1,2),(2,3),(3,4),(4,5)]\n",
+ "h=150\n",
+ "e=0.85\n",
+ "avg=sum(flow)/12\n",
+ "print \"\\naverage rate of inflow is %dcu-m/sec\"%(avg)\n",
+ "p=(735.5/75)*avg*h*e\n",
+ "print \"\\npower developed is %0.2f MW\"%(p/1e3)\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, title, xlabel, ylabel, show\n",
+ "plot(y,flow)\n",
+ "title('hydrograph')\n",
+ "xlabel('months')\n",
+ "ylabel('run in cu-m/sec')\n",
+ "show()\n",
+ "print \"hydrograph is ploted in figure\"\n",
+ "flow1 = range(0,12)\n",
+ "for x in range(0,12):\n",
+ " t=flow[x]\n",
+ " a=avg\n",
+ " if t<a or t==avg:\n",
+ " t=0\n",
+ " else:\n",
+ " t=t-1000\n",
+ " #end\n",
+ " flow1[x]=t \n",
+ " #end\n",
+ "sto=sum(flow1)\n",
+ "print \"\\nstorage capacity of given plant is %dsec-m-month\"%(sto)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "average rate of inflow is 1000cu-m/sec\n",
+ "\n",
+ "power developed is 1250.35 MW\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEZCAYAAABrUHmEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xm8XfO9//HXRwiRhKBEIkhEDCGEyIC6TlRJW1OLalWN\nddvSGu69lGgJrTad/Mot2hLEWONVQVSaOGpMiIQQmUgqcyRSiYiMn98f37XZOc7J2eecvfYa9vv5\neJxH1l577bU+OznZn72+08fcHRERkVJsknQAIiKSHUoaIiJSMiUNEREpmZKGiIiUTElDRERKpqQh\nIiIlU9KQXDOzWWb2pbScpxLMrNbMzkk6DsknJQ3JO49+0nKeSshSrJIxShoiLWRmrcp4rk3LdS6R\nOChpSDU4wMxeN7N/m9lfzWxzM3vTzI4pHGBmm5nZYjPbP3r8XTP7V7RvcPHJzGyImT1kZneZ2YfA\nGWbW2cweM7MlZjbdzL5XdHwbMxtuZh+Y2WQzu9TMZhc9Pyva9waw3MxamdllZjbDzJaZ2VtmdkLR\n8Wea2Qtm9r/Re3rbzI6o8567mtnz0ev/bmbblfnvVKqUkobknQEnA0cD3YD9gDOB4cBpRcd9FZjr\n7q+bWU/gJuA7QGdgO6BLnfMeBzzo7lsD9wJ/Bd4DOgEnAb80s4HRsVcBu0TX/3J03brNR98CvgJ0\ncPd1wAzgi+6+FXA1cLeZdSw6vl90zHbR+R8xsw5F7/nU6H3uALQG/qfxvyqRxilpSN45cIO7L3D3\npcAIoDdwN/A1M2sXHfdd4K5o+yRghLs/7+6rgZ8B6+uc90V3fyza3h44BPiJu69299eBW4HTo+dP\nBn7p7h+6+1zgesIHe90Y57r7KgB3f8jdF0TbDwDTgf5Fr1nk7te7+7ro+anAMUXnu83dZ7j7J8AD\n0XsWaTElDakGC4q2VwJt3X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rMfFj2uyeOy8JJPShoilbcNcF7SQYg0h5KGyEZEy9NMiVaqnWpm95jZUWb2QlSUp29UpOfR\nqIjNS2bWK3rtkKjozTNm9o6Z/Tg67VCgezT79jeEmfDtzOzBqBjO3UXXHxoVOXrdzH5b+b8BkQ1l\noka4SMK6AycSlql5BTjF3Q81s+OAwYSl+ce7+wlmNpCwtMYB0Wv3AAYCWwFToyUafkIoenMAhOap\n6PiewHzgBTM7lLC20wnuvld03FaVeLMiG6M7DZHGzXT3t6Jlsd8CCjUjJhFqZnwRuAvA3Z8BtjOz\n9oQ7iCfcfY27LyGsjtqR+peBH+fu86JrTAR2Bf4NfGJmw8zs68DK+N6iSGmUNEQat6poez2wOtp2\nQolTp+F6IKuLttfR8N39qjrHbebu6wiVKR8CjgGealrYIuWnpCHScs8R1SGImpred/flNJxIlgPt\nGzupmbUFOrj7SOC/gP3LEq1IC6hPQ6RxdZeC9jrbVwO3Rcufr+Cz2gv1Vnlz9yVRR/okQmnNJxu4\nRnvgb2a2BSEBXdzSNyLSUloaXURESqbmKRERKZmShoiIlExJQ0RESqakISIiJVPSEBGRkilpiIhI\nyZQ0RESkZEoaIiJSsv8PaXLtlrcgX/kAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7fb702908bd0>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "hydrograph is ploted in figure\n",
+ "\n",
+ "storage capacity of given plant is 3000sec-m-month\n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 8.3 Page 135"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "flow=[1500, 1000, 500, 500, 500, 1200, 2900, 2900, 1000, 400 ,600 ,1600]\n",
+ "cod=1000#constant demand\n",
+ "#plot2d2(flow)\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, title, xlabel, ylabel, show\n",
+ "plot(flow)\n",
+ "title('hydrograph for exp 8.3')\n",
+ "xlabel('months')\n",
+ "ylabel('run off in m**3/sec')\n",
+ "avg=sum(flow)/12\n",
+ "if cod<avg:\n",
+ " flow1 = range(0,6)\n",
+ " for x in range(0,6):\n",
+ " t=flow[x]\n",
+ " if t>cod|t==avg:\n",
+ " t=0\n",
+ " else:\n",
+ " t=cod-t\n",
+ " #end \n",
+ " flow1[x]=t \n",
+ " #end\n",
+ " \n",
+ " else:\n",
+ " flow = range(0,12)\n",
+ " flow1 = range(0,12)\n",
+ " for x in range(0,12):\n",
+ " t=flow[x]\n",
+ " a=cod\n",
+ " if t>a|t==avg:\n",
+ " t=0\n",
+ " else:\n",
+ " t=t-cod\n",
+ " #end\n",
+ " flow1[x]=t \n",
+ " #end\n",
+ "#end\n",
+ "\n",
+ "sto=sum(flow1)\n",
+ "print \"storage capacity of plant is %dsec-m-month\"%(sto)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "storage capacity of plant is -11934sec-m-month\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEZCAYAAABrUHmEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmYXGWZ9/HvLwmrYQtIIGxhSYCwhiBBQWlAeRllAEVF\nRhAEF8QBxNcZCSpEdBiES0UdwEFlFVAGFBEQQYZ+RSQJSwiBAAkaQhJIWAMJYAjJ/f7xnCInTS/V\n3VV1qk7/PtdVV6pOnTp1n0533fWc+1kUEZiZmVVjUNEBmJlZ63DSMDOzqjlpmJlZ1Zw0zMysak4a\nZmZWNScNMzOrmpOG1YWkpyQd2GzHqjdJ7ZJO6MX+X5K0UNKrkjaoZ2xmteCkYfUS2a3ZjlVvVccq\naTXg+8CBEbFuRLxc18hqSNK+ku6T9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8mwH8umQD//YBjgb2z7ql\nTs3+k8uojM3+k4GrJU0j9Z46p+B4aiYipgFXkr64PZxtvqS4iPpP0rXAX4HtJc2V9FngXOBDkmYC\nB2SPW1In53c88BNgKHBH9vlyUbfH8OA+MzOrVsu3NMzMrHGcNMzMrGpOGmZmVjUnDTMzq5qThpmZ\nVc1Jw8zMquakYdZgktaT9KXc47YyTgtv5eSkYdZ4GwAnFR2EWV84aZh1I5ue5vFsptonJF0t6SBJ\n92SL8rwnW6TnxmwRm3sl7ZK9dmK26M1dkv4m6eTssOcC22ajb88jjYQfKul/ssVwfpl7/3OzRY6m\nSTq/8T8Bs1W1xBrhZgXbFjiCNE3NfcCREbGPpEOBM0hT8z8QEYdL2p80tcbY7LWjgf2BdYEnsika\nvk5a9GYspMtT2f5jgGeBeyTtQ5rb6fCI2CHbb91GnKxZd9zSMOvZ7Ih4NJsW+1GgsmbEdNKaGfsC\nVwFExF3AhpLWIbUgbomIZRHxIml21OF0Pg38lIh4JnuPh4CtgEXAPyT9QtJHgTfqd4pm1XHSMOvZ\n0tz9FcCb2f0gLXEadL0eyJu5+8vpunW/tMN+q0XEctLKlNcDhwC39S5ss9pz0jDrv7vJ1iHILjU9\nHxGL6TqRLAbW6emgkt4FrB8RfwC+CuxWk2jN+sE1DbOedZwKOjrc/zZwaTb9+WusXHuh01XeIuLF\nrJA+nbS05q1dvMc6wO8krUlKQKf190TM+stTo5uZWdV8ecrMzKrmpGFmZlVz0jAzs6o5aZiZWdWc\nNMzMrGpOGmZmVjUnDTMzq5qThpmZVe3/A5bEHGlcYpBIAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7fb702908050>"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 8.4 Page 135"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "flow=[1500, 1000, 500, 500, 500, 1200, 2900, 2900, 1000, 400 ,600 ,1600]\n",
+ "cod=1000#constant demand\n",
+ "#[m n]=size(flow)len\n",
+ "n=len(flow)\n",
+ "mf = range(0,n)\n",
+ "mf[0]=1500\n",
+ "for i in range(2,n):\n",
+ " mf[i]=mf[i-1]+flow[i]\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, title, xlabel, ylabel, show\n",
+ "\n",
+ "plot(mf)\n",
+ "from numpy import arange\n",
+ "dd= arange(1,mf[n-1],cod)\n",
+ "\n",
+ "avg=sum(flow)/12\n",
+ "if cod<avg:\n",
+ " for x in range(0,6):\n",
+ " t=flow[x]\n",
+ " if t>cod|t==avg:\n",
+ " t=0\n",
+ " else:\n",
+ " t=cod-t\n",
+ " #end\n",
+ " flow1[x]=t \n",
+ " #end\n",
+ " \n",
+ "else: \n",
+ " for x in range(0,12):\n",
+ " t=flow[x]\n",
+ " a=cod\n",
+ " if t>a|t==avg:\n",
+ " t=0\n",
+ " else:\n",
+ " t=t-cod\n",
+ " #end\n",
+ " flow1[x]=t \n",
+ " #end\n",
+ "#end\n",
+ "\n",
+ "sto=sum(flow1)\n",
+ "print \"storage capacity of plant is %dsec-m-month\"%(sto)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "storage capacity of plant is -5149sec-m-month\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEACAYAAACznAEdAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmUFdW5/vHvEw0qhp/G6EURrmDSBDCOmGAcjxOiUXFl\nAExiuIojGofEKO1dSruMijdOaBxuHMEIihoVDSFwkXYGokFFEZFcUUBoTRyIESPD+/ujqvXcDjT0\n6dNdZ3g+a7Gos09V9VvQ67xn73fXLkUEZmZmX8g6ADMzKw1OCGZmBjghmJlZ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7Aj4ED06mZs9P/wEpUiV3xnwJ3\nS3qRZJbRZRnHUzQR8SIwluRL2Utp82+yi6j1JI0HngG+LmmRpOOBUcChkuYDB6Wvy9Jaru8E4Hrg\nS8DU9PPlxmbP4RvTzMwMSryHYGZm7ccJwczMACcEMzNLOSGYmRnghGBmZiknBDMzA5wQzMws5YRg\nZmYA/H9u+wc6AAAABElEQVS6oEf5Os2H4wAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7fb702585410>"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 8.5 Page 154"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "flow=[80, 50 ,40 ,20 ,0 ,100, 150 ,200 ,250 ,120 ,100, 80]\n",
+ "h=100; e=80\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, title, xlabel, ylabel, show, subplot\n",
+ "\n",
+ "subplot(211)\n",
+ "plot(flow)\n",
+ "title('hydrograph')\n",
+ "xlabel('months')\n",
+ "ylabel('run off,millon m**3/month' )\n",
+ "fd=sorted(flow)\n",
+ "\n",
+ "subplot(212)\n",
+ "plot(fd)\n",
+ "title('flow duration')\n",
+ "xlabel('months')\n",
+ "ylabel('run off')\n",
+ "\n",
+ "t= range(0,12)\n",
+ "for x in range(1,10):\n",
+ " d=fd[x]\n",
+ " ad=fd[(x-1)]\n",
+ " if d==ad:\n",
+ " t[x]=[]\n",
+ " t[x-1]=t[x-1]+1\n",
+ " fd[x]=[]\n",
+ " #end\n",
+ "#end\n",
+ "ffw=fd+t\n",
+ "print \"load duration data is as under\"\n",
+ "print ffw\n",
+ "mf=sum(flow)*10**6/(30*24*3600)\n",
+ "print \"(a)\"\n",
+ "print \"meanflow is %fm**3-sec\"%(mf)\n",
+ "print \"(b)\"\n",
+ "p=(735.5/75)*mf*h*e\n",
+ "print \"power delevered in %dkW=%.3fMW\"%(p,p/1000)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "load duration data is as under\n",
+ "[0, 20, 40, 50, 80, [], 100, [], 120, 150, 200, 250, 0, 1, 2, 3, 5, [], 7, [], 8, 9, 10, 11]\n",
+ "(a)\n",
+ "meanflow is 459.104938m**3-sec\n",
+ "(b)\n",
+ "power delevered in 36018312kW=36018.313MW\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYcAAAEZCAYAAAB8culNAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xe8U/X9x/HXu4gLRXFUHCio4B7gouK4OCqCVftrXbVa\nRW2r1lU7gA6w9mEVa6uitraVKgioqHUBAo6rVqsoIiqIgICCAiKCOJB1P78/vifemLtyk5ycJPfz\nfDzyIDk5OflEMJ9850dmhnPOOZfuG0kH4JxzrvR4cnDOOVeHJwfnnHN1eHJwzjlXhycH55xzdXhy\ncM45V4cnB1f2JM2TdHSpXKcYJFVLOi/pOFzlWq+pEyQdBgwEOqadb2a2c4xxOdccFt1K5TrFUE6x\nujLUZHIA7gAuB14F1sUbjnOlSVIrMyvIv39J65nZ2kJcy7m4ZNOttNzMxpnZYjP7KHWLPTLnmqer\npKmSlku6R9IGkt6UdELqBEmtJX0kab/o8VmS3o2ODUi/mKRBku6XNFzSJ8CPJG0n6RFJSyXNknR+\n2vkbSbpL0seSpkv6laT5ac/Pi469DnwqqZWkfpJmS1ohaZqkk9POP0fS85KGRJ/pLUlHZXzmjpL+\nG71+vKQtC/zf1LVgDSYHSQdIOgB4WtL1kr4lqVvqVsQYnWuKgFOA44BOwL7AOcBdwA/TzusNvG9m\nUyXtCdwGnAlsB2wJ7JBx3ROB0Wa2GTASuAd4D9gW+D5wjaSe0bkDgR2j9z82et/Mbp/TgeOBzaNW\nyG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YtB+ecc8Xl\nycE551wdnhycc87V4cnBOedcHZ4cnHPO1eHJwTnnXB2eHJyLgaTNJF2Y9riqErcqd5XLk4Nz8WgH\nXJR0EM7lypODa/GibVlmRLuqvi1phKRvS3o+Kv5yUFQM5qGoWMr/JO0TvXZQVFzlaUnvSLokuuy1\nwC7RatTBhFXhm0gaHRVduTvt/a+NCulMlXR98f8LOFdXSdWQdi5BuwDfI2zP8jJwmpn1kHQiMICw\nZfxkMztZUk/CdhJdo9d2AXoCbYG3o60Jfk0ortIVQrdSdP6ewELgeUk9CPsWnWxmu0fntS3Gh3Wu\nKd5ycC6Ya2bTou2apwGpegVvEOo1HAYMBzCzp4EtJW1KaBGMMbM1ZraUsJvnNtS/NfkkM/sgeo/X\ngJ2A5cCXku6Q9F1gZXwf0bnseXJwLliVdr8GWB3dN0JZTKPhWhSr0+6vo+EW+aqM81qb2TpCpcP7\ngROAx5sXtnPx8OTgXHaeI9oHP+oiWmJmn9JwwvgU2LSpi0pqA2xuZuOAnwP7FSRa5/LkYw7OBZnb\nE1vG/auAodGW3J9Tu/d/vVXDzGxpNKD9BqEk49gG3mNT4GFJGxISzRX5fhDnCsG37HbOOVeHdys5\n55yrw5ODc865Ojw5OOecq8OTg3POuTo8OTjnnKvDk4Nzzrk6PDk455yrw5ODc865Ov4fj5I2Zx0G\nJg4AAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7fb70255f810>"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 8.6 Page 156"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "mh=205#mean height\n",
+ "a=1000*10**6#in miters\n",
+ "r=1.25#annual rain fall\n",
+ "er=0.8#efficiency\n",
+ "lf=0.75#load factor\n",
+ "hl=5#head loss\n",
+ "et=0.9#efficiency of turbine\n",
+ "eg=0.95#efficiency of generator\n",
+ "wu=a*r*er/(365*24*3600)\n",
+ "print \"\\nwater used is \\t\\t%fm**3/sec\"%(wu)\n",
+ "eh=mh-hl\n",
+ "print \"\\neffective head is \\t%dm\"%(eh)\n",
+ "p=(735.5/75)*(wu*eh*et*eg)\n",
+ "print \"\\npower generated is \\t%fkW =\\t%fMW\"%(p,p/1000)\n",
+ "pl=p/lf\n",
+ "print \"\\npeak load is \\t\\t%fMw \\ntherefore the MW rating of station is \\t%fMW\"%(pl/1000,pl/1000)\n",
+ "if eh<=200:\n",
+ " print \"\\nfor a head above 200m pelton turbine is suitable,\\nfrancis turbine is suitable in the range of 30m-200m.,\\nhowever pelton is most suitable\"\n",
+ "else:\n",
+ " print \"only pelton turbine is most suitable\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "water used is \t\t31.709792m**3/sec\n",
+ "\n",
+ "effective head is \t200m\n",
+ "\n",
+ "power generated is \t53175.418569kW =\t53.175419MW\n",
+ "\n",
+ "peak load is \t\t70.900558Mw \n",
+ "therefore the MW rating of station is \t70.900558MW\n",
+ "\n",
+ "for a head above 200m pelton turbine is suitable,\n",
+ "francis turbine is suitable in the range of 30m-200m.,\n",
+ "however pelton is most suitable\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter9.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter9.ipynb
new file mode 100644
index 00000000..fab737f3
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter9.ipynb
@@ -0,0 +1,296 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:5804a8cf03ec2dc9fe48e7282fc5bb2ad9c57bb262c9f4fea9720f853cbc6882"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch-9, Nuclear Power Stations"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 9.1 Page 169"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "m=1*10**-3#mass of 1 grm in kgs\n",
+ "c=3*10**8\n",
+ "e=m*c**2 \n",
+ "E=e/(1000*3600)\n",
+ "print \"energy equivalent of 1 gram is %dkWh\"%E"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "energy equivalent of 1 gram is 25000000kWh\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 9.2 Page 169"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "amu=1.66*10**-27#mass equvalent in kgs\n",
+ "c=3*10**8\n",
+ "j=6.242*10**12\n",
+ "e=amu*c**2\n",
+ "E=e*j \n",
+ "print \" energy evalent in joules is %ejoules \\n energy equvalent in Mev is %dMeV \\n hense shown\"%(e,E)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " energy evalent in joules is 1.494000e-10joules \n",
+ " energy equvalent in Mev is 932MeV \n",
+ " hense shown\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 9.3 Page 169"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "hm=2.0141\n",
+ "hp=1.007825\n",
+ "hn=1.008665\n",
+ "nm=58.9342\n",
+ "np=28\n",
+ "nn=59\n",
+ "um=235.0439\n",
+ "up=92\n",
+ "un=235\n",
+ "hmd=hp+hn-hm ;nmd=np*hp+(nn-np)*hn-nm ;umd=up*hp+(un-up)*hn-um \n",
+ "hbe=931*hmd ;nbe=931*nmd; ube=931*umd \n",
+ "ahbe=hbe/2 ;anbe=nbe/nn ;aube=ube/un \n",
+ "print \"\\t(a)\\n mass defect is for hydrogen %famu \\n total binding energy for hydrogens %fMev \\n average binding energy for hydrogen is %fMeV\"%(hmd,hbe,ahbe)\n",
+ "print \"\\n\\t(b)\\n mass defect is for nickel %famu \\n total binding energy for nickel is %fMev \\n average binding energy for nickelis %fMeV\"%(nmd,nbe,anbe)\n",
+ "print \"\\n\\t(c)\\n mass defect of uranium is %famu \\n total binding energy uranium is %fMev \\n average binding energy uranium is %fMeV\"%(umd,ube,aube)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\t(a)\n",
+ " mass defect is for hydrogen 0.002390amu \n",
+ " total binding energy for hydrogens 2.225090Mev \n",
+ " average binding energy for hydrogen is 1.112545MeV\n",
+ "\n",
+ "\t(b)\n",
+ " mass defect is for nickel 0.553515amu \n",
+ " total binding energy for nickel is 515.322465Mev \n",
+ " average binding energy for nickelis 8.734279MeV\n",
+ "\n",
+ "\t(c)\n",
+ " mass defect of uranium is 1.915095amu \n",
+ " total binding energy uranium is 1782.953445Mev \n",
+ " average binding energy uranium is 7.587036MeV\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 9.4 Page 170"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import exp\n",
+ "no=1.7*10**24\n",
+ "hl=7.1*10**8\n",
+ "t=10*10**8\n",
+ "lm=0.693/(hl)\n",
+ "lmda=lm/(8760*3600)\n",
+ "ia=lmda*no\n",
+ "n=no*(exp(-lm*t))\n",
+ "print \"(lamda) disintegrations per sec is %ebq \\n initial activity is lamda*na is %ebq \\n final number of atoms is %eatoms\"%(lmda,ia,n)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(lamda) disintegrations per sec is 3.095054e-17bq \n",
+ " initial activity is lamda*na is 5.261592e+07bq \n",
+ " final number of atoms is 6.405500e+23atoms\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 9.5 Page 170"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "um=5\n",
+ "owp=2.6784*10**15\n",
+ "an=6.023*10**23\n",
+ "na1g=an/235\n",
+ "na5g=an*5/235\n",
+ "p=na5g/owp\n",
+ "print \" 1 watt power requvires %efussions per day \\n number of atoms in 5 gram is %eatoms \\n power is %eMW \"%(owp,na5g,p)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " 1 watt power requvires 2.678400e+15fussions per day \n",
+ " number of atoms in 5 gram is 1.281489e+22atoms \n",
+ " power is 4.784533e+06MW \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 9.6 Page 171"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "pp=235\n",
+ "pe=0.33\n",
+ "lf=1\n",
+ "teo=pp*8760*3600*10**6\n",
+ "ei=teo/pe\n",
+ "nfr=3.1*10**10#fessions required\n",
+ "tnfr=nfr*ei\n",
+ "t1gu=2.563*10**21 #total uranium atoms in 1 grm\n",
+ "fure=tnfr/t1gu\n",
+ "print \"total energy input %eWatt sec \\n energy input is %eWatt-sec\\n total number of fissions required is %efissions \\n fuel required is %e grams %dkg\"%(teo,ei,tnfr,fure,fure/1000)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total energy input 7.410960e+15Watt sec \n",
+ " energy input is 2.245745e+16Watt-sec\n",
+ " total number of fissions required is 6.961811e+26fissions \n",
+ " fuel required is 2.716274e+05 grams 271kg\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 9.7 Page 171"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import log\n",
+ "en=3*10**6\n",
+ "a=12\n",
+ "fen=0.1\n",
+ "Es=2/(12+2/3)\n",
+ "re=exp(Es)\n",
+ "print \"(a)\\nratio of energies per collision is %f\"%(re)\n",
+ "rietf=en/fen\n",
+ "ldie=log(rietf)\n",
+ "nc=ldie/Es\n",
+ "print \"(b)\\npatio of iniial to final energies is %e \\nlogarithemic decrement in energy is %f \\nnumber of collisions is %d\"%(rietf,ldie,nc)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)\n",
+ "ratio of energies per collision is 1.171043\n",
+ "(b)\n",
+ "patio of iniial to final energies is 3.000000e+07 \n",
+ "logarithemic decrement in energy is 17.216708 \n",
+ "number of collisions is 109\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/EnergyLoadnMassCurve.png b/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/EnergyLoadnMassCurve.png
new file mode 100644
index 00000000..9993d13d
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/EnergyLoadnMassCurve.png
Binary files differ
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadCurve2.png b/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadCurve2.png
new file mode 100644
index 00000000..be07af4b
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadCurve2.png
Binary files differ
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadDurnECur.png b/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadDurnECur.png
new file mode 100644
index 00000000..c21d78a0
--- /dev/null
+++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadDurnECur.png
Binary files differ
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter11_Control_of_DC_Motors.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter11_Control_of_DC_Motors.ipynb
new file mode 100644
index 00000000..e8d8bf79
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter11_Control_of_DC_Motors.ipynb
@@ -0,0 +1,402 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter11 Control of DC Motors"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example11.1,Pg.no.30"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Rated motor current=Idc= 434.8 amps\n",
+ "Hence AC voltage for six pulse configuration= 408.89 volts\n",
+ "AC rating of field converter = 170.37 V\n",
+ "DC power= 2300.0 Watts\n",
+ "AC power= 2415.0 Watts\n",
+ "Field converter shall be locked at an angle of A= 35.61 degrees\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "from math import pi \n",
+ "Idc=(200.0/460.0)*(1000.0) #Rated motor current in amps\n",
+ "Idc=round(Idc,1)\n",
+ "print 'Rated motor current=Idc=',Idc,'amps' #Thus the main armature converter will be having dc side rating of 500Amps and 460 volts \n",
+ "Ac=552.0/1.35\n",
+ "Ac=round(Ac,2)\n",
+ "print 'Hence AC voltage for six pulse configuration=',Ac,'volts' #Hence a 3phase ,415v AC supply will be adequate for armature control\n",
+ "AC=230.0/1.35\n",
+ "AC=round(AC,2)\n",
+ "print 'AC rating of field converter =',AC,'V'\n",
+ "DCp=230.0*10.0\n",
+ "print 'DC power=',DCp,'Watts'\n",
+ "ACp=1.05*2300\n",
+ "print 'AC power=',ACp,'Watts'\n",
+ "Edca=(170+170/10)*1.35 #available voltage in volts\n",
+ "Edc=1.35*230\n",
+ "A=math.acos(Edca/Edc)*180/pi\n",
+ "A=round(A,2)\n",
+ "print 'Field converter shall be locked at an angle of A=',A,'degrees'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example11.2,Pg.no.31"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Required voltage after allowing 10 percent drop=Edca= 484.0 volts\n",
+ "Cosine of the locked angle=C= 0.86\n",
+ "Converter shall be locked at an angle of A = 30.68 degrees\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi \n",
+ "Vdc=440.0 #Rated dc voltage in volts\n",
+ "Edca=Vdc+Vdc/10.0 #Required voltage after allowing 10 % drop\n",
+ "print 'Required voltage after allowing 10 percent drop=Edca=',Edca,'volts'\n",
+ "Edc=1.35*415.0\n",
+ "C=Edca/Edc\n",
+ "C=round(C,2)\n",
+ "print 'Cosine of the locked angle=C=',C\n",
+ "A=math.acos(C)*180/pi #locked angle in degrees\n",
+ "A=round(A,2)\n",
+ "print 'Converter shall be locked at an angle of A =',A,'degrees'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example11.3,Pg.no.32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Eb1= 210.0 volts\n",
+ "Eb2= 105.0 volts\n",
+ "Edca2= 145.0 volts\n",
+ "Cosine of the firing angle corresponding to 500 rpm load=C2= 0.63\n",
+ "firing angle corresponding to 500 rpm load A= 50.95 degrees\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "Edca1=230.0\n",
+ "N1=1000.0\n",
+ "N2=500.0\n",
+ "Eb1=210.0\n",
+ "Eb1=Edca1-20.0\n",
+ "print 'Eb1=',Eb1,'volts'\n",
+ "Eb2=Eb1*N2/N1\n",
+ "print 'Eb2=',Eb2,'volts'\n",
+ "V=40.0 #motor armature drop at rated load in volts\n",
+ "Edca2=Eb2+V\n",
+ "print 'Edca2=',Edca2,'volts'\n",
+ "C1=1.0 #cosine of the firing angle corresponding to 1000 rpm load\n",
+ "C2=C1*Edca2/Edca1 #cosine of the firing angle corresponding to 500 rpm load\n",
+ "C2=round(C2,2)\n",
+ "print 'Cosine of the firing angle corresponding to 500 rpm load=C2=',C2\n",
+ "A=math.acos(C2)*180/pi #firing angle corresponding to 500 rpm load in degrees\n",
+ "A=round(A,2)\n",
+ "print 'firing angle corresponding to 500 rpm load A=',A,'degrees'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example11.4,Pg.np.32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 18,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Rated output voltage from the converter= Edca1= 506.0 volts\n",
+ "Cosine of the triggering angle=C2= 0.6 Triggering angle=A2= 34.38 degrees\n",
+ "Powerfactor=PF2= 0.59\n",
+ "Reactive power at 75 percent load=RP2= 71.12 KVAR\n",
+ "Sixth harmonic ripple current=I6= 16 Amps\n",
+ "Inductance required in dc circuit=L= 4.06 mH\n",
+ "Cosine of the triggering angle=C1= 0.9\n",
+ "Triggering angle=A1= 51.57 degrees\n",
+ "Powerfactor=PF1= 0.9\n",
+ "Reactive power at 75 percent load=RP1= 51.2 KVAR\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "Edca1=1.15*440.0 #Rated output voltage from the converter for rated speed of750rpm\n",
+ "print 'Rated output voltage from the converter= Edca1=',Edca1,'volts'\n",
+ "N1=750.0\n",
+ "N2=500.0\n",
+ "Edca2=Edca1*N2/N1\n",
+ "E2=415.0\n",
+ "C2=Edca2/(1.35*E2)\n",
+ "C2=round(C2,2)\n",
+ "print 'Cosine of the triggering angle=C2=',C2,\n",
+ "A2=C2*180/pi\n",
+ "A2=round(A2,2)\n",
+ "print 'Triggering angle=A2=',A2,'degrees'\n",
+ "PF2=C2*(1+math.cos(15.0*pi/180.0))/2\n",
+ "PF2=round(PF2,2)\n",
+ "print 'Powerfactor=PF2=',PF2\n",
+ "Id=200 #dc current in amps\n",
+ "I2=0.75*0.817*Id #Current at 75 percent load in amps\n",
+ "RP2=sqrt(3)*E2*I2*sqrt(1-PF2**2)/1000 #Reactive power drawn at 75% load\n",
+ "RP2=round(RP2,2)\n",
+ "print 'Reactive power at 75 percent load=RP2=',RP2,'KVAR'\n",
+ "h=6\n",
+ "Wv=24.17 #maximum voltage ripple in percent\n",
+ "Wi=8 #maximum permissible current ripple in percent\n",
+ "I6=Wi*Id/100\n",
+ "print 'Sixth harmonic ripple current=I6=',I6,'Amps'\n",
+ "W=314\n",
+ "L=(Wv*Edca1*10)/(I6*h*W)\n",
+ "L=round(L,2)\n",
+ "print 'Inductance required in dc circuit=L=',L,'mH'\n",
+ "C1=Edca1/(1.35*E2)\n",
+ "C1=round(C1,2)\n",
+ "print 'Cosine of the triggering angle=C1=',C1\n",
+ "A1=C1*180/pi\n",
+ "A1=round(A1,2)\n",
+ "print 'Triggering angle=A1=',A1,'degrees'\n",
+ "PF1=C1*(1+math.cos(15*pi/180))/2\n",
+ "PF1=round(PF1,1)\n",
+ "print 'Powerfactor=PF1=',PF1\n",
+ "I1=0.817*Id # Current at 75 percent load in amps\n",
+ "RP1=sqrt(3)*E2*I1*sqrt(1-PF1**2)/1000.0 #Reactive power drawn at 75% load\n",
+ "RP1=round(RP1,1)\n",
+ "print 'Reactive power at 75 percent load=RP1=',RP1,'KVAR'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example11.5,Pg.no.34"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 20,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Cosine of the triggering angle=C= 0.82\n",
+ "Triggering angle=A= 47.0 degrees\n",
+ "Cosine of the triggering angle=C10= 0.1\n",
+ "Triggering angle=A10= 5.7 degrees\n",
+ "Active power drawn from the system at rated speed=AP= 104.5 KW\n",
+ "Reactive power drawn from the system=RP= 72.9 KVAR\n",
+ "Activepower drawn from thesystem at 10 percentrated speed=AP10= 12.7 KW\n",
+ "Reactive power drawn from the system=RP10= 126.8 KVAR\n",
+ "P= 1.7\n",
+ "Thus reactive power has increased by 74.589 percent due to reduction in motor speed\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "Edca=460\n",
+ "E2=415\n",
+ "C=Edca/(1.35*E2)\n",
+ "C=round(C,2)\n",
+ "print 'Cosine of the triggering angle=C=',C\n",
+ "A=C*180/pi\n",
+ "A=round(A,1)\n",
+ "print 'Triggering angle=A=',A,'degrees'\n",
+ "Edca10=0.1*460\n",
+ "C10=Edca10/(1.35*E2)\n",
+ "C10=round(C10,1)\n",
+ "print 'Cosine of the triggering angle=C10=',C10\n",
+ "A10=C10*180/pi\n",
+ "A10=round(A10,1)\n",
+ "print 'Triggering angle=A10=',A10,'degrees'\n",
+ "Id=10**5/Edca #dc current in amps\n",
+ "I2=0.817*Id #Current at rated speed in amps\n",
+ "AP=sqrt(3)*E2*I2*C/1000\n",
+ "AP=round(AP,1)\n",
+ "print 'Active power drawn from the system at rated speed=AP=',AP,'KW'\n",
+ "RP=sqrt(3)*E2*I2*sqrt(1-C**2)/1000 #Reactive power drawn from the system\n",
+ "RP=round(RP,1)\n",
+ "print 'Reactive power drawn from the system=RP=',RP,'KVAR'\n",
+ "AP10=sqrt(3)*E2*I2*C10/1000\n",
+ "AP10=round(AP10,1)\n",
+ "print 'Activepower drawn from thesystem at 10 percentrated speed=AP10=',AP10,'KW'\n",
+ "RP10=sqrt(3)*E2*I2*sqrt(1-C10**2)/1000 #Reactive power drawn from the system\n",
+ "RP10=round(RP10,1)\n",
+ "print 'Reactive power drawn from the system=RP10=',RP10,'KVAR'\n",
+ "P=RP10/RP\n",
+ "P=round(P,1)\n",
+ "print 'P=',P\n",
+ "print 'Thus reactive power has increased by 74.589 percent due to reduction in motor speed'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example11.6,Pg.no.35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 21,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Reactive power at rated speed and rated load =72.79KVAR\n",
+ "Reactive power at rated speed and 10 percent load= 7.279 KVAR\n",
+ "reactive power at 10 percent speed and 10 percent load= 12.708 KVAR\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "#given\n",
+ "Rp=72.79\n",
+ "Rp1=0.1*72.79 #Reactive power at rated speed and 10 percent load \n",
+ "Rp2=0.1*127.08 #reactive power at 10 percent speed and 10 percent load\n",
+ "print 'Reactive power at rated speed and rated load =72.79KVAR'\n",
+ "print 'Reactive power at rated speed and 10 percent load=',Rp1,'KVAR'\n",
+ "print 'reactive power at 10 percent speed and 10 percent load=',Rp2,'KVAR'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example11.7,Pg.no.35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 22,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Eb2= 328 volts\n",
+ "Ia= 227.0 Amps\n",
+ "Ra= 0.1 ohms\n",
+ "Terminal voltage of dc motor at 500 rpm and 75 percent load=Edca= 345.0 volts\n",
+ "Cosine of the triggering angle of the converter=C2= 0.6\n",
+ "triggering angle of the converter A= 53.1 degrees\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "N1=500\n",
+ "N2=400\n",
+ "Eb1=410\n",
+ "Eb2=Eb1*N2/N1\n",
+ "print 'Eb2=',Eb2,'volts'\n",
+ "V=440 #operating voltage of dc motor in volts\n",
+ "P=100 #input power of dc motor in KW\n",
+ "Ia=P*1000/V\n",
+ "Ia=round(Ia,1)\n",
+ "print 'Ia=',Ia,'Amps'\n",
+ "Ra=(V-Eb1)/Ia;\n",
+ "Ra=round(Ra,1)\n",
+ "print 'Ra=',Ra,'ohms'\n",
+ "E2=415\n",
+ "Edca=Eb2+(0.75*Ia*Ra) #terminal voltage of dc motor at 500 rpm and 75% load\n",
+ "Edca=round(Edca,1)\n",
+ "print 'Terminal voltage of dc motor at 500 rpm and 75 percent load=Edca=',Edca,'volts'\n",
+ "C=Edca/(1.35*E2) #cosine of the triggering angle of the converter\n",
+ "C=round(C,1)\n",
+ "print 'Cosine of the triggering angle of the converter=C2=',C\n",
+ "A=math.acos(C)*180/pi #triggering angle of the converter in degrees\n",
+ "A=round(A,1)\n",
+ "print 'triggering angle of the converter A=',A,'degrees'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter12_Controllers_and_Their_Optimisation.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter12_Controllers_and_Their_Optimisation.ipynb
new file mode 100644
index 00000000..290111f3
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter12_Controllers_and_Their_Optimisation.ipynb
@@ -0,0 +1,362 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 12 Controllers and Their Optimisation"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example12.1,Pg.no.37"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "permanent Error of P controller=P= 2 percent\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "V=40 #gain of the controller in volts\n",
+ "P=100/(1+V) #permanent error of p controller in percent\n",
+ "print 'permanent Error of P controller=P=',P,'percent'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example12.2,Pg.no.37"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gain of the controller=V= 54.6 volts\n",
+ "Motor armature time constant=T1= 873.6 milliseconds\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "P=1.8 #permanent error of p controller in percent\n",
+ "V=100/1.8-1 #gain of the controller in volts\n",
+ "V=round(V,1)\n",
+ "print 'gain of the controller=V=',V,'volts'\n",
+ "G=8 #sum of all time constants in milliseconds \n",
+ "T1=2*G*V #motor armature time constant\n",
+ "T1=round(T1,1)\n",
+ "print 'Motor armature time constant=T1=',T1,'milliseconds'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example12.3,Pg.no.38"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "time constant for the current loop=t1= 1 ms\n",
+ "Smaller time constant=G= 2.5 ms\n",
+ "Time constant of the controller in AVO=Tn= 30 ms\n",
+ "Gain of the control system=V= 6.0\n",
+ "Gain of the PI controller=Vr= 0.43\n",
+ "R1= 25.6 Kiloohms\n",
+ "C1= 1.2 microfarads\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "f=50 #frequency in hz\n",
+ "p=6 #pulse number\n",
+ "t1=1000/(2*f*p) #time constant for the current loop in ms\n",
+ "print 'time constant for the current loop=t1=',t1,'ms'\n",
+ "t2=1.5 #time constant of feedback channel in ms\n",
+ "G=t1+t2 #smaller time constant in ms\n",
+ "print 'Smaller time constant=G=',G,'ms'\n",
+ "T1=30 #bigger time constant in ms\n",
+ "Tn=T1 #time constant of the controller in ms\n",
+ "print 'Time constant of the controller in AVO=Tn=',Tn,'ms'\n",
+ "V=T1/(2*G) #gain of the control system\n",
+ "print 'Gain of the control system=V=',V\n",
+ "Vg=14 #gain of the regulating current link\n",
+ "Vr=V/Vg #gain of the PI controller\n",
+ "Vr=round(Vr,2)\n",
+ "print 'Gain of the PI controller=Vr=',Vr\n",
+ "R2=11 #R2 in KiloOhms\n",
+ "R1=R2/Vr #R1 in kiloohms\n",
+ "R1=round(R1,1)\n",
+ "print 'R1=',R1,'Kiloohms'\n",
+ "C1=Tn/R1 #C1 in microfarads\n",
+ "C1=round(C1,1)\n",
+ "print 'C1=',C1,'microfarads'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example12.4,Pg.no.39"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Time constant of the controller in SO=Tn= 80.0 ms\n",
+ "Gain of the control system=V= 8.75\n",
+ "Gain of the PI regulator=Vr= 8.75\n",
+ "R2= 96.25 Kiloohms\n",
+ "C2= 0.8 microfarads\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "G=20.0 #smaller time constant in ms\n",
+ "T1=350.0 #bigger time constant in ms\n",
+ "Tn=4*G #time constant of the controller in ms\n",
+ "print 'Time constant of the controller in SO=Tn=',Tn,'ms'\n",
+ "V=T1/(2*G) #gain of the control system\n",
+ "print 'Gain of the control system=V=',V\n",
+ "Vg=1.0 #gain of the regulating current link\n",
+ "Vr=V/Vg #gain of the PI regulator\n",
+ "print 'Gain of the PI regulator=Vr=',Vr\n",
+ "R1=11.0 #R1 in KiloOhms\n",
+ "R2=R1*Vr #R2 in kiloohms\n",
+ "print 'R2=',R2,'Kiloohms'\n",
+ "C2=Tn/R2 #C1 in microfarads\n",
+ "C2=round(C2,1)\n",
+ "print 'C2=',C2,'microfarads'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example12.5,Pg.no.39"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Time constant of the controller=Tn= 80 ms\n",
+ "Gain of the control system=V= 6\n",
+ "Natural frequency of the system=Wn= 0.118 rad/ ms\n",
+ "time taken by the system to achieve its desired value=Tf= 28.2 ms\n",
+ "Maximum overshoot for a symmetrically optimised system is 4.3 percent\n",
+ "Time at which maximum overload will occur= Tmax= 37.44 ms\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "from math import sqrt\n",
+ "G=6 #smaller time constant in ms\n",
+ "T1=80 #bigger time constant in ms\n",
+ "Tn=T1 #time constant of the controller in ms\n",
+ "print 'Time constant of the controller=Tn=',Tn,'ms'\n",
+ "V=T1/(2*G) #gain of the control system\n",
+ "print 'Gain of the control system=V=',V\n",
+ "Wn=1/(sqrt(2)*G) #Natural frequency of the system in rad/ms\n",
+ "Wn=round(Wn,3)\n",
+ "print 'Natural frequency of the system=Wn=',Wn,'rad/ ms'\n",
+ "Tf=4.7*G #time taken by the system to achiecve i t s desired output for firsttime \n",
+ "print 'time taken by the system to achieve its desired value=Tf=',Tf,'ms'\n",
+ "print 'Maximum overshoot for a symmetrically optimised system is 4.3 percent'\n",
+ "Tmax=6.24*G #time at which maximum overload will occur in ms\n",
+ "print 'Time at which maximum overload will occur= Tmax=',Tmax,'ms'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example12.6,Pg.no.40"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "time constant of the controller=Tn= 80 ms\n",
+ "Gain of the control system=V= 4\n",
+ "time taken by the system to achieve its final value=Tf= 62.0 ms\n",
+ "Maximum overshoot for a symmetrically optimised system is 43 percent\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "G=20 #smaller time constant in ms\n",
+ "Tn=4*G #time constant of the controller in ms\n",
+ "print 'time constant of the controller=Tn=',Tn,'ms'\n",
+ "T1=170 #bigger time constant in ms\n",
+ "V=T1/(2*G) #gain of the control system\n",
+ "print 'Gain of the control system=V=',V\n",
+ "Tf=3.1*G #time taken by the system to achiecve its final value on step input\n",
+ "print 'time taken by the system to achieve its final value=Tf=',Tf,'ms'\n",
+ "print 'Maximum overshoot for a symmetrically optimised system is 43 percent'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example12.7,Pg.no.40"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "time taken by the system to achieve its final value=Tf= 47.0 ms\n",
+ "Maximum overshoot for a symmetrically optimised system is 4.3 percent\n",
+ "Time at which maximum overshoot will occur =Tmax= 62.4 ms\n",
+ "Settling time=Ts= 84.0 ms\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "G=10 #smaller time constant in ms\n",
+ "Tf=4.7*G #time taken by the system to achiecve its final output for firsttime\n",
+ "print 'time taken by the system to achieve its final value=Tf=',Tf,'ms'\n",
+ "print 'Maximum overshoot for a symmetrically optimised system is 4.3 percent'\n",
+ "Tmax=6.24*G #time at which maximum overshoot will occur in ms\n",
+ "print 'Time at which maximum overshoot will occur =Tmax=',Tmax,'ms'\n",
+ "Ts=8.4*G #settling time in ms\n",
+ "print 'Settling time=Ts=',Ts,'ms'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example12.8,Pg.no.41"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Response for an AVO system:\n",
+ "time taken by the system to achieve its final value=Tf= 47.0 ms\n",
+ "Maximum overshoot for a symmetrically optimised system is 4.3 percent\n",
+ "Settling time=Ts= 84.0 ms\n",
+ "Response for an SO system:\n",
+ "time taken by the system to achieve its final value=Tf= 31.0 ms\n",
+ "Settling time=Ts= 166.0 ms\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "print 'Response for an AVO system:'\n",
+ "G=10 #smaller time constant in ms\n",
+ "Tf=4.7*G #time taken by the system to achiecve its f i n a l output for firsttime\n",
+ "print 'time taken by the system to achieve its final value=Tf=',Tf,'ms'\n",
+ "print 'Maximum overshoot for a symmetrically optimised system is 4.3 percent'\n",
+ "Ts=8.4*G #settling time in ms\n",
+ "print 'Settling time=Ts=',Ts,'ms'\n",
+ "print 'Response for an SO system:'\n",
+ "G=10 #smaller time constant in ms\n",
+ "Tf=3.1*G #time taken by the system to achiecve its f i n a l output for firsttime\n",
+ "print 'time taken by the system to achieve its final value=Tf=',Tf,'ms'\n",
+ "Ts=16.6*G #settling time in ms\n",
+ "print 'Settling time=Ts=',Ts,'ms'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter13_Choppers_and_Transportation_system_Application.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter13_Choppers_and_Transportation_system_Application.ipynb
new file mode 100644
index 00000000..798713f1
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter13_Choppers_and_Transportation_system_Application.ipynb
@@ -0,0 +1,304 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter13 Choppers and Transportation system Application"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 13.1,Pg.no.43"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "time constant=t= 4.0 milliseconds\n",
+ "Discontinuous condition starts from Td= 332.5 microseconds\n",
+ "Output voltage=Eo= 88.0 volts\n",
+ "Average current=Iav= 264.0 amp\n",
+ "Maximum current=Imax= 330.85 amp\n",
+ "Minimum current=Imin= 199.87 amp\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import exp\n",
+ "E=220.0 #dc supply voltage in volts\n",
+ "El=22.0 #Load voltage in volts\n",
+ "Ton=1000.0 #conducting period in microseconds\n",
+ "T=2500.0 #Total timeperiod in microseconds\n",
+ "L=1.0 #inductance in milliHenry\n",
+ "R=0.25 #resistance in ohms\n",
+ "t=L/R #time constant in milliseconds\n",
+ "print 'time constant=t=',t,'milliseconds'\n",
+ "A=0.133\n",
+ "Td=A*T #Discontinuous condition starts at\n",
+ "print 'Discontinuous condition starts from Td=',Td,'microseconds'\n",
+ "Eo=0.4*E #output voltage in volts\n",
+ "print 'Output voltage=Eo=',Eo,'volts'\n",
+ "Iav=(Eo-El)/R #Average current in amps\n",
+ "print 'Average current=Iav=',Iav,'amp'\n",
+ "Imax=((E*(1-exp(-Ton/(t*1000))))/(R*(1-exp(-T/(t*1000)))))-(El/R)\n",
+ "Imax=round(Imax,2)\n",
+ "print 'Maximum current=Imax=',Imax,'amp'\n",
+ "Imin=((E*(exp(Ton/(t*1000))-1))/(R*(exp(T/(t*1000))-1)))-(El/R)\n",
+ "Imin=round(Imin,2)\n",
+ "print 'Minimum current=Imin=',Imin,'amp'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 13.2,Pg.no.44"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Conduction period=Ton= 0.75 ms\n",
+ "Total time period=T= 1.0 ms\n",
+ "Blocking period=Toff= 0.25 ms\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "f=1.0 #operating frequency in KHZ\n",
+ "E=220.0 #dc supply voltage in volts\n",
+ "El=165.0 #Load voltage in volts\n",
+ "Ton=El/(E*f) #conduction period in ms\n",
+ "print 'Conduction period=Ton=',Ton,'ms'\n",
+ "T=1/f #total time period in ms\n",
+ "print 'Total time period=T=',T,'ms'\n",
+ "Toff=T-Ton #blocking period in ms\n",
+ "print 'Blocking period=Toff=',Toff,'ms'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 13.3,Pg.no.44"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Load capacitance required for optimum frequency=C= 75.0 microfarad\n",
+ "Inductance parameters=L1=L2= 0.53 milliHenry\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "E=220.0 #dc supply voltage in volts\n",
+ "Toff=200.0 #blocking period in microseconds\n",
+ "Il=50.0 #load current in amps\n",
+ "C=pi*Toff*Il/(2*E) #capacitance for optimum frequency in microfarad\n",
+ "C=75.0\n",
+ "print 'Load capacitance required for optimum frequency=C=',C,'microfarad'\n",
+ "L1=Toff**2*10**-3/C #inductance required in milliHenry\n",
+ "L2=L1\n",
+ "L1=round(L1,2)\n",
+ "print 'Inductance parameters=L1=L2=',L1,'milliHenry'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 13.4,Pg.no.45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Conduction period=Ton= 200.0 microseconds\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "E=220.0 #dc supply voltage in volts\n",
+ "El=660.0 #Load voltage in volts\n",
+ "Toff=100.0 #blocking period in microseconds\n",
+ "Ton=(El/E-1)*Toff #Conduction period in microseconds\n",
+ "print 'Conduction period=Ton=',Ton,'microseconds'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 13.5,Pg.no.45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Average voltage in the circuit=Eav= 53.0 volts\n",
+ "Conduction period=Ton= 1.2 ms\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "f=200.0 #chopper frequency in HZ\n",
+ "E=220.0 #dc supply voltage in volts\n",
+ "Iav=100.0 #Average current in the circuit in amps\n",
+ "Ra=0.02 #Armature resistance in ohms\n",
+ "Rf=0.01 #Field resistance in ohms\n",
+ "Ebav=50 #Average value of the Back emf in volts\n",
+ "Eav=Iav*(Ra+Rf)+Ebav #Average voltage in the circuit in volts\n",
+ "print 'Average voltage in the circuit=Eav=',Eav,'volts'\n",
+ "Ton=Eav*1000/(E*f) #conduction period in ms\n",
+ "Ton=round(Ton,2)\n",
+ "print 'Conduction period=Ton=',Ton,'ms'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 13.6,Pg.no.46"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Rotor resistance referred to stator=R= 5.2 ohms\n",
+ "Motor torque=MT= 662.4 Snc . Watts\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "f=200.0 #chopper frequency in HZ\n",
+ "T=1000/f #total time period in ms\n",
+ "Toff=4.0 #Blocking period in ms\n",
+ "Ton=T-Toff #conduction period in ms\n",
+ "R1=2.0 #R1 in ohms\n",
+ "R2=4.0 #R2 in ohms\n",
+ "R=((R1*Ton)+(R1+R2)*Toff)/T #rotor resistance referred to stator in ohms\n",
+ "print 'Rotor resistance referred to stator=R=',R,'ohms'\n",
+ "V=415.0 #stator voltage in volts\n",
+ "s=0.02 #slip of the motor\n",
+ "MT=V**2*s/R #motor torque in Syn . Watts\n",
+ "MT=round(MT,2)\n",
+ "print 'Motor torque=MT=',MT,'Snc . Watts'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 13.7,Pg.no.46"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "R2=1.5*R1\n",
+ "the above condition satisfies when Ton= Toff\n",
+ "Chopper frequency=f= 250.0 hz\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "#R1=rotor resistance before introduction of control\n",
+ "#R2=rotor resistance after introduction of control \n",
+ "print 'R2=1.5*R1'\n",
+ "R2=((R1*Ton)+(R1+R1)*Toff)/T #rotor resistance referred to stator in ohms\n",
+ "print 'the above condition satisfies when Ton= Toff'\n",
+ "T=4 #total time period in ms\n",
+ "f=1000/T #chopper frequency in hz\n",
+ "f=round(f,1)\n",
+ "print 'Chopper frequency=f=',f,'hz'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter15_The_AC_motor_control.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter15_The_AC_motor_control.ipynb
new file mode 100644
index 00000000..7eaa0c91
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter15_The_AC_motor_control.ipynb
@@ -0,0 +1,623 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 15 The AC motor control"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.1,Pg.no.48"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of slip of motor=S2= 50.0 percentage\n",
+ "value of new stator current=I2= 250.0 Amp\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "S1=2.0 #value of slip in percentage of slip ring induction motor\n",
+ "Ns=1000.0 #value of stator speed in rpm\n",
+ "Nr=500.0 #value of rotor speed in rpm\n",
+ "S2=(Ns-Nr)*100/Ns #valu of slip in percentage of motor\n",
+ "print 'value of slip of motor=S2=',S2,'percentage'\n",
+ "I1=50.0 #stator current in amps\n",
+ "I2=I1*sqrt(S2/S1)\n",
+ "print 'value of new stator current=I2=',I2,'Amp'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.2,Pg.no.48"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of converter rated current=Icr= 75.0 amp\n",
+ "value of converter rated ac voltage=Vac= 74.07 volts\n",
+ "KVA rating of transformer=Pkva= 7.875 KVA\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "Imr=50.0 #motor field rating in amp//\n",
+ "Icr=1.5*Imr #converter rated current in amp\n",
+ "print 'value of converter rated current=Icr=',Icr,'amp'\n",
+ "Vdc=100.0 #converter dc rating in volts\n",
+ "Vac=Vdc/1.35 #converter ac rating voltage required\n",
+ "Vac=round(Vac,2)\n",
+ "print 'value of converter rated ac voltage=Vac=',Vac,'volts'\n",
+ "Pkva=(1.05*100*75)/1000 #KVA rating of the transformer\n",
+ "print 'KVA rating of transformer=Pkva=',Pkva,'KVA'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.3,Pg.no.49"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of speed N1= 1440.0 rpm\n",
+ "value of f= 0.3\n",
+ "value of new torque developed=T2= 6666.7 Watts\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "S1=0.04 #value of slip in of induction motor\n",
+ "Ns=1500.0 #value of initial speed in rpm\n",
+ "N2=1300.0 #value of speed reduced to in rpm\n",
+ "N1=Ns*(1-S1) #value of speed N1 in rpm\n",
+ "print 'value of speed N1=',N1,'rpm'\n",
+ "f=(Ns-N1)/(Ns-N2)\n",
+ "print 'value of f=',f\n",
+ "T1=2000.0 #developing torque in induction motor in watts\n",
+ "T2=T1/f #new value of torque developed by the motor in watts\n",
+ "T2=round(T2,1)\n",
+ "print 'value of new torque developed=T2=',T2,'Watts'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.4,Pg.no.49"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of new torque developed=Tb= 1000.0 Watts\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "f1a=50.0 #initial frequency in hertz\n",
+ "f1b=75.0 #value of frequency increased to in hertz\n",
+ "Ta=1500.0 #developing torque in induction motor in watts\n",
+ "Tb=Ta*f1a/f1b #new value of torque developed by the motor in watts\n",
+ "print 'value of new torque developed=Tb=',Tb,'Watts'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.5,Pg.no.50"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "torque developed by motor=T= 6889.0 watts\n",
+ "value of rotor frequency=f2= 3.0 hertz\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "V=415.0 #operating input voltage of induction motor in volts\n",
+ "S=0.04 #input slip\n",
+ "r2=1.0 #rotor resistance referred to stator in ohms\n",
+ "T=(S*V**2)/r2 #torque developed by motor in watts\n",
+ "print 'torque developed by motor=T=',T,'watts'\n",
+ "f1=75.0 #input stator frequency in hertz\n",
+ "f2=S*f1 #rotor frequency in hertz\n",
+ "print 'value of rotor frequency=f2=',f2,'hertz'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.6,Pg.no.50"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of input voltage to the motor=Vb= 249.0 volts\n",
+ "value of input power to the motor=Pb= 60.0 KVA\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "f1a=50.0 #intial frequency in hertz\n",
+ "f1b=30.0 #value of frequency reduced to in hertz\n",
+ "Va=415.0 #operating voltage of induction motor in volts\n",
+ "Vb=Va*f1b/f1a #input voltage to the motor in volts\n",
+ "print 'value of input voltage to the motor=Vb=',Vb,'volts'\n",
+ "Pa=100.0 #operating power of induction motor in KVA\n",
+ "Pb=Pa*f1b/f1a #input power to the motor in KVA\n",
+ "print 'value of input power to the motor=Pb=',Pb,'KVA'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.7,Pg.no.51"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of frequency changed to f1b= 30.0 hz\n",
+ "speed at 4 percent slip=Nb= 864.0 rpm\n",
+ "value of stator voltage to the motor=Vb= 243.75 volts\n",
+ "torque if stator drop is negligible=T= 1592.36 watts\n",
+ "rotor copper loss=P2= 6.0 KVA\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "f1a=40.0 #intial frequency in hertz\n",
+ "Pa=200.0 #input power of squirrel cage motor in KVA\n",
+ "Pb=150.0 #input power to the motor after change in speed in KVA\n",
+ "f1b=f1a*Pb/Pa #frequency changed to in hertz\n",
+ "print 'value of frequency changed to f1b=',f1b,'hz'\n",
+ "Nsa=1200.0 #motor initial syncronous speed in rpm\n",
+ "Nsb=Nsa*f1b/f1a\n",
+ "Sb=0.04\n",
+ "Nb=Nsb*(1-Sb) #speed in rpm at 4% slip\n",
+ "print 'speed at 4 percent slip=Nb=',Nb,'rpm'\n",
+ "Va=325 #operating voltage of induction motor in volts\n",
+ "Vb=Va*f1b/f1a #stator voltage to the motor in volts\n",
+ "print 'value of stator voltage to the motor=Vb=',Vb,'volts'\n",
+ "Pag=150.0 #power transferred from stator to rotor at 30 hz in KVA\n",
+ "Ws=2*3.14*Nsb/60\n",
+ "T=Pag*1000/Ws #torque if stator drop is negligible in watts\n",
+ "T=round(T,2)\n",
+ "print 'torque if stator drop is negligible=T=',T,'watts'\n",
+ "P2=Sb*Pag #rotor copper loss in KVA\n",
+ "print 'rotor copper loss=P2=',P2,'KVA'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.8,Pg.no.52"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of stator frequency increased to f1b= 57.74 hertz\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "f1a=50.0 #i n t i a l input frequency in hertz\n",
+ "Ta=2000.0 #developing torque in induction motor in watts\n",
+ "Tb=1500.0 #new value of torque reduced to in watts\n",
+ "f1b=f1a*sqrt(Ta/Tb) #value of stator frequency increased to in hertz\n",
+ "f1b=round(f1b,2)\n",
+ "print 'value of stator frequency increased to f1b=',f1b,'hertz'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.9,Pg.no.52"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 17,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "firing angle starts from A1= 84.0 degrees\n",
+ "firing angle ends at A2= 65.2 degrees\n",
+ "input power factor=IPF= 0.0591\n",
+ "distortion factor=Mh= 0.3379\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "Vom1=sqrt(2)*41.5 #starting rms value of output voltage\n",
+ "Vom2=sqrt(2)*166 #ending rms value of output voltage\n",
+ "V=415.0 #operating voltage of cyclo converter\n",
+ "A1=(math.acos(Vom1/(1.35*V)))*180/pi #firing angle starts from\n",
+ "A1=round(A1,1)\n",
+ "print 'firing angle starts from A1=',A1,'degrees'\n",
+ "A2=(math.acos(Vom2/(1.35*V)))*180/pi #f i r i n g angle ends at \n",
+ "A2=round(A2,1)\n",
+ "print 'firing angle ends at A2=',A2,'degrees'\n",
+ "PFl=0.8 #load power factor\n",
+ "IPF=math.cos(pi*7/15)*PFl/sqrt(2) #input power factor\n",
+ "DF=0.7 #input displacement factor\n",
+ "IPF=round(IPF,4)\n",
+ "print 'input power factor=IPF=',IPF\n",
+ "Mh=math.cos(pi*0.3627)*PFl/(sqrt(2)*DF)\n",
+ "Mh=round(Mh,4)\n",
+ "print 'distortion factor=Mh=',Mh"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.10,Pg.no.53"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 19,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "trigger angle ranges fromA5= 83.99 degrees\n",
+ "trigger angle ranges upto A51= 96.01 degrees\n",
+ "highest value of input power factor=HIPF= 0.2\n",
+ "lowest value of input power factor=LIPF= 0.07\n",
+ "highest value of distortion factor=HDF= 0.27\n",
+ "lowest value of distortion factor=LDF= 0.09\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "Vo5m=sqrt(2)*41.5 #rms value of output voltage\n",
+ "V=415.0 #operating voltage of cyclo converter\n",
+ "A5=(math.acos(Vo5m/(1.35*V)))*180/pi #trigger angle ranges from\n",
+ "A5=round(A5,2)\n",
+ "print 'trigger angle ranges fromA5=',A5,'degrees'\n",
+ "A51=180.0-A5 #trigger angle ranges upto\n",
+ "A51=round(A51,2)\n",
+ "print 'trigger angle ranges upto A51=',A51,'degrees'\n",
+ "LPF=0.9 #load power factor\n",
+ "CA15=0.3132 #maximum cosine value corresponding to operating frequency 15hz\n",
+ "HIPF=CA15*LPF/sqrt(2) #highest value of input power factor\n",
+ "HIPF=round(HIPF,2)\n",
+ "print 'highest value of input power factor=HIPF=',HIPF\n",
+ "LIPF=math.cos(A5*pi/180)*LPF/sqrt(2) #lowest value of input power factor\n",
+ "LIPF=round(LIPF,2)\n",
+ "print 'lowest value of input power factor=LIPF=',LIPF\n",
+ "IDF=0.75 #input displacement factor\n",
+ "HDF=CA15*LPF/(sqrt(2)*IDF) #highest value of distortion factor\n",
+ "HDF=round(HDF,2)\n",
+ "print 'highest value of distortion factor=HDF=',HDF\n",
+ "LDF=HDF*math.cos(A5*pi/180)/CA15 #lowest value of distortion factor\n",
+ "LDF=round(LDF,2)\n",
+ "print 'lowest value of distortion factor=LDF=',LDF"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.11,Pg.no.54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 22,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "highest value of cosAm= 0.866\n",
+ "laod power factor of cyclo converter= 0.817\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "from math import sqrt\n",
+ "PFm=0.5 #highest value of input factor\n",
+ "Am=3.14/6 #highest value of input powerfactor occurs at 30 degrees\n",
+ "A=math.cos(Am) #highest value of cosAm if firingangle ranging from 30 to 150\n",
+ "A=round(A,3)\n",
+ "print 'highest value of cosAm=',A\n",
+ "PFl=(sqrt(2)*PFm)/A\n",
+ "PFl=round(PFl,3)\n",
+ "print 'laod power factor of cyclo converter=',PFl"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.12,Pg.no.54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "input displacement factor= 0.857\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "PFi=0.6 #input powerfactor\n",
+ "DF=0.7 #distortion factor\n",
+ "IDF=PFi/DF #input displacement factor\n",
+ "IDF=round(IDF,3)\n",
+ "print 'input displacement factor=',IDF"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.13,Pg.no.54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "firing angle of cyclo converter drive=A= 81.0 degrees\n",
+ "distortion factor=DF= 0.143\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "PFi=0.1 #input powerfactor\n",
+ "PFl=0.9 #load powerfactor\n",
+ "A=(math.acos(sqrt(2)*PFi/PFl))*180/3.14 #firing angle indegrees\n",
+ "A=round(A,2)\n",
+ "print 'firing angle of cyclo converter drive=A=',A,'degrees'\n",
+ "IDF=0.7 #leading input displacement factor\n",
+ "DF=PFi/IDF #distortion factor\n",
+ "DF=round(DF,3)\n",
+ "print 'distortion factor=DF=',DF"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.14,Pg.no.55"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "triggering angle of negative group=An= 150.0 degrees\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "Ap=30.0 #triggering angle of positive group in degrees\n",
+ "An=180-Ap #triggering angle of negative group in degrees\n",
+ "print 'triggering angle of negative group=An=',An,'degrees'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.15,Pg.no.55"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 29,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "input current to the converter=I= 100.362 amp\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "V=415.0 #input operating voltage of cycloconverter in volts\n",
+ "Pi=50.0 #input power of the cycloconverter in KVA\n",
+ "PF=0.8 #input power factor\n",
+ "A=0.785 #firing angle in radians \n",
+ "I=(Pi*1000*sqrt(2))/(3*V*PF*math.cos(A)) #input current to the converter in amp\n",
+ "I=round(I,3)\n",
+ "print 'input current to the converter=I=',I,'amp'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 15.16,Pg.no.56"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 31,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "load power factor of motor=PF= 0.83\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "Vo=200.0 #input operating voltage of cycloconverter in volts\n",
+ "Po=50*10**3 #input power of the cycloconverter in VA\n",
+ "Io=100.0 #drawing current from motor in amp\n",
+ "PF=Po/(3*Vo*Io) #load power factor\n",
+ "PF=round(PF,2)\n",
+ "print 'load power factor of motor=PF=',PF"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter16_Faults_and_Protection.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter16_Faults_and_Protection.ipynb
new file mode 100644
index 00000000..07232131
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter16_Faults_and_Protection.ipynb
@@ -0,0 +1,281 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter16 Faults and Protection"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example16.1,Pg.no.57"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "peak inverse voltage of the device=PIV= 2969.71 Volts\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "V=415.0 #AC input voltage\n",
+ "Vf=2.53 #voltage safety factor\n",
+ "PIV=2*sqrt(2)*V*Vf #peak inverse voltage of the device\n",
+ "PIV=round(PIV,2)\n",
+ "print 'peak inverse voltage of the device=PIV=',PIV,'Volts'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example16.2,Pg.no.57"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "voltage safety factor of the device=Vf= 2.3\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "V=415.0 #AC input voltage in volts\n",
+ "PIV=1350.0 #peak inverse voltage of the device in volts\n",
+ "Vf=PIV/(sqrt(2)*V) #voltage safety factor of the device\n",
+ "Vf=round(Vf,2)\n",
+ "print 'voltage safety factor of the device=Vf=',Vf"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example16.3,Pg.no.58"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "choke power of the converter=Pc= 8.0 KVA\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "P=100.0 #input power in KVA\n",
+ "Xt=0.04 #limiting ac reactance value\n",
+ "Fov=2.0 #current ovarload factor\n",
+ "Pc=Xt*P*Fov #choke power of the converter in KVA\n",
+ "print 'choke power of the converter=Pc=',Pc,'KVA'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example16.4,Pg.no.58"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "capacitance in snubber circuit=C= 625.0 nanofarads\n",
+ "Resistance in snubber circuit=R= 3.58 Kilo Ohms\n",
+ "Permissible dv/dt of the circuit= 30.0 MV/s\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "Ls=0.1 #stray inductance in the circui t in milli Henry\n",
+ "L=2*Ls #inductance required for the snubber ckt for protection in mH\n",
+ "Im=250.0 #mean value of current in amp\n",
+ "C=2.5*Im #capacitance required for the snubber ckt in nano Farads\n",
+ "print 'capacitance in snubber circuit=C=',C,'nanofarads'\n",
+ "R=2*100*sqrt(L/C) #resistance in snubber circ uit in Kilo Ohms\n",
+ "R=round(R,2)\n",
+ "print 'Resistance in snubber circuit=R=',R,'Kilo Ohms'\n",
+ "Pdif=1*30.0 #permissible dv/dt of the circuit\n",
+ "print 'Permissible dv/dt of the circuit=',Pdif,'MV/s'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example16.5,Pg.no.59"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "number of plates in series in the circuit=N= 9.6\n",
+ "So,we will use 10 plates in the circuit\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "V=240.0 #dc input voltage in volts\n",
+ "Vh=25.0 #each selenium plate handling voltage in volts\n",
+ "N=V/Vh #number of plates in series in the circuit\n",
+ "print 'number of plates in series in the circuit=N=',N\n",
+ "print 'So,we will use 10 plates in the circuit'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example16.6,Pg.no.59"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "number of plates in series in each direction =N= 9.0\n",
+ "total number of plates in series in both directions=Nt= 18.0\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "V=230.0 #ac input voltage in volts\n",
+ "Vh=30.0 #each selenium plate handling voltage in volts\n",
+ "N=(V/Vh)+1 #number of plates in series in each direction in the ckt\n",
+ "N=round(N,0)\n",
+ "print 'number of plates in series in each direction =N=',N\n",
+ "Nt=2*N #total number of plates in series in the circuit\n",
+ "Nt=round(Nt,0)\n",
+ "print 'total number of plates in series in both directions=Nt=',Nt"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example16.7,Pg.no.59"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "number of plates in each branch=N= 15.0\n",
+ "total number of plates=Nt= 45.0\n",
+ "Armature circuit inductance=L= 5.25 mH\n",
+ "Energy stored in armature circuit=Es= 48.55 wattsec\n",
+ "Energy dissipated per plate=Ed= 3.24 wattsec\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "V=415.0 #ac input voltage in volts\n",
+ "Vdc=440.0 #supplied voltage to dc motor in volts\n",
+ "Vh=30.0 #each selenium plate handling voltage in volts\n",
+ "N=Vdc/Vh #number of plates in series in each direction in the ckt\n",
+ "N=15.0\n",
+ "print 'number of plates in each branch=N=',N\n",
+ "Nt=3*N #total number of plates in series in the circuit\n",
+ "Nt=round(Nt,0)\n",
+ "print 'total number of plates=Nt=',Nt\n",
+ "Ipa=136.0 #peak armature current in amperes\n",
+ "T=30.0 #time constant in milliseconds\n",
+ "R=0.175 #Armature resistance in Ohms\n",
+ "L=T*R #Armature circuit Inductance in milliHenry\n",
+ "L=round(L,2)\n",
+ "print 'Armature circuit inductance=L=',L,'mH'\n",
+ "Es=0.5*L*Ipa**2*10**-3 #Energy stored in armature circuit in wattsec\n",
+ "Es=round(Es,2)\n",
+ "print 'Energy stored in armature circuit=Es=',Es,'wattsec'\n",
+ "Ed=Es/N #Energy dissipated per plate in wattsec\n",
+ "Ed=round(Ed,2)\n",
+ "print 'Energy dissipated per plate=Ed=',Ed,'wattsec'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter3_Fabrication_and_Thermal_characteristics.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter3_Fabrication_and_Thermal_characteristics.ipynb
new file mode 100644
index 00000000..c3ba0c41
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter3_Fabrication_and_Thermal_characteristics.ipynb
@@ -0,0 +1,213 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter3 Fabrication and Thermal characteristics"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 3.1, Pg.no 10"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 17,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of junction temperature= 72.5 c\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math \n",
+ "Xa=50 #Ambient temperature\n",
+ "P=150 #on state power loss in Watts\n",
+ "Rjc=0.02 #junction case thermal resistance\n",
+ "Rcs=0.05 #case sink thermal resistance\n",
+ "Rsa=0.08 #sink atmosphere thermal resistance\n",
+ "Xj=Xa+P*(Rjc+Rcs+Rsa) #junction temperature \n",
+ "Xj=round(Xj,1)\n",
+ "print 'value of junction temperature=',Xj,'c'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 3.2,Pg.no 10"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 18,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of time period of one cycle= 248 s\n",
+ "value of junction temperature= 54.75 c\n",
+ "power required to cool down= 325 watts\n",
+ "value of maximum junction temperature= 106.01 c\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import exp\n",
+ "import math\n",
+ "Xa=50 #Ambient temperature\n",
+ "P20=25 #on state power loss at 20%load in Watts\n",
+ "P200=350 #on state power loss at 200%load in Watts\n",
+ "Rjc=0.02 #junction case thermal resistance\n",
+ "Rcs=0.05 #case sink thermal resistance\n",
+ "Rsa=0.12 #sink atmosphere thermal resistance at 20% load cycle\n",
+ "T1=60 #time period for the supply of 200% load\n",
+ "T=((200**2-202)*T1)/(100**2-20**2) #time period of one cycle\n",
+ "print 'value of time period of one cycle=',T,'s'\n",
+ "Ts=140 #thermal time constant for heat sink\n",
+ "Xj20=Xa+P20*(Rjc+Rcs+Rsa) #junction temperature\n",
+ "print 'value of junction temperature=',Xj20,'c'\n",
+ "P=P200 -P20 #power required to cool down from 200 %load cycle to 20% load cycle\n",
+ "print 'power required to cool down=',P,'watts'\n",
+ "Rsa200=((Rsa)*(1-exp(-T1/Ts)))/(1-exp(-T/Ts)) #sink atmosphere thermal resistance at 200% load cycle\n",
+ "Xj200=Xj20+(P*(Rjc+Rcs+Rsa200)) #maximum junction temperature\n",
+ "Xj200=round(Xj200,2)\n",
+ "print 'value of maximum junction temperature=',Xj200,'c'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 3.3 ,Pg.no11"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 19,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of junction temperature= 62.0 c\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math \n",
+ "Xa=35 #Ambient temperature\n",
+ "P=150 #on state power loss in Watts\n",
+ "Rjc=0.01 #junction case thermal resistance\n",
+ "Rcs=0.08 #case sink thermal resistance\n",
+ "Rsa=0.09 #sink atmosphere thermal resistance\n",
+ "Xj=Xa+P*(Rjc+Rcs+Rsa) #junction temperature\n",
+ "print 'value of junction temperature=',Xj,'c'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 3.4,Pg.no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 20,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of on state power loss= 416.67 watts\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "Xa=45 #Ambient temperature \n",
+ "Rjs=0.1 #junction sink thermal resistance \n",
+ "Rsa=0.08 #sink atmosphere thermal resistance \n",
+ "Xj=120 #junction temperature\n",
+ "P=(Xj-Xa)/(Rjs+Rsa) #on state power loss\n",
+ "P=round(P,2)\n",
+ "print 'value of on state power loss=',P,'watts'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 3.5,Pg.no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 21,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of case sink thermal resistance= -0.115 c/w\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "Xa=40 #Ambient temperature\n",
+ "P=300 #on state power loss in Watts\n",
+ "Rjc=0.015 #junction case thermal resistance\n",
+ "Rsa=0.1 #sink atmosphere thermal resistance\n",
+ "Xj=105 #junction temperature\n",
+ "Rcs=((Xj-Xa)/(P))-(Rjc+Rsa) #case sink thermal resistance\n",
+ "print 'value of case sink thermal resistance=',Rcs,'c/w'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter4_Series_and_Parallel_Connection_of_Thyristors.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter4_Series_and_Parallel_Connection_of_Thyristors.ipynb
new file mode 100644
index 00000000..075b01fe
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter4_Series_and_Parallel_Connection_of_Thyristors.ipynb
@@ -0,0 +1,106 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter4 Series and Parallel Connection of Thyristors"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 4.1,Pg.no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Number of Devices in Series= 5.0\n",
+ "Number of Devices in Parallel= 3.0\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "Vc=3500 #voltage rating of circuit\n",
+ "Vt=750 #voltage rating of each thyristor\n",
+ "Ic=1500 #current rating of circuit\n",
+ "It=500 #current rating of each thyristor\n",
+ "DF=0.1 #Derating factor of circuit\n",
+ "Ns=Vc/(Vt*(1-DF)) #number of devices in series\n",
+ "Ns=round(Ns,0)\n",
+ "print 'Number of Devices in Series=',Ns\n",
+ "Np=Ic/(It*(1-DF)) #number of devices in parallel\n",
+ "Np=round(Np,0)\n",
+ "print 'Number of Devices in Parallel=',Np"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 4.2,Pg.no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of equivalent resistance=R= 20000.0 ohms\n",
+ "value of equivalent capacitance=C1= 0.5 microfarads\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "Ed=20.0 #permissible difference in voltage across devices in Volts\n",
+ "Id=1*10**-3 #maximum difference in latching current across devices in Amperes\n",
+ "Qd=10.0 #difference in recovery charge in Micro coloumbs\n",
+ "Vd=20.0 #permissible difference in blocking voltage in Volts\n",
+ "R=Ed/Id #equivalent resistance in Ohms\n",
+ "R1=R\n",
+ "print 'value of equivalent resistance=R=',R1,'ohms'\n",
+ "C1=Qd/Vd #equivalent capacitance in Micro farads\n",
+ "print 'value of equivalent capacitance=C1=',C1,'microfarads'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter5_Line_Commutated_converters.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter5_Line_Commutated_converters.ipynb
new file mode 100644
index 00000000..00a99c8b
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter5_Line_Commutated_converters.ipynb
@@ -0,0 +1,349 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter5 Line Commutated converters"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 5.1,Pg.no15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 20,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "cosine of the firing angle=C= 0.79\n",
+ "firing angle of the converter=A= 37.81 degrees\n",
+ "AC terminal power=Pac= 58.83 KW\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "from math import pi\n",
+ "Edc=440 #dc terminal voltage of the thyristor in volts\n",
+ "E2=415 #input voltage of the thyristor in volts\n",
+ "Id=100 #dc motor current in amps\n",
+ "C=Edc/(1.35*E2)\n",
+ "C=round(C,2)\n",
+ "print 'cosine of the firing angle=C=',C\n",
+ "A=math.acos(C)*180/pi\n",
+ "A=round(A,2)\n",
+ "print 'firing angle of the converter=A=',A,'degrees'\n",
+ "Pac=1.05*1.35*E2*Id/1000 #Ac terminal power in Kilo watts\n",
+ "Pac=round(Pac,2)\n",
+ "print 'AC terminal power=Pac=',Pac,'KW'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 5.2,Pg.no15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 21,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "AC line current of the thyristor=I2= 163.4 amperes\n",
+ "effective reactance of the thyristor=Xt= 0.15 ohms\n",
+ "cosine value of the commutational angle=C= 0.96\n",
+ "commutation angle=CA= 16.2602047083 degrees\n",
+ "Inductive voltage regulation=IVR= 0.02\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "from math import sqrt\n",
+ "Id=200 #rated dc current in amperes\n",
+ "I2=0.817*Id #AC line current in amperes\n",
+ "print 'AC line current of the thyristor=I2=',I2,'amperes'\n",
+ "E2=415 #AC line voltage in volts\n",
+ "Xt=0.06*E2/I2 #effective reactance of the thyristor in ohms\n",
+ "Xt=round(Xt,2)\n",
+ "print 'effective reactance of the thyristor=Xt=',Xt,'ohms'\n",
+ "C=1-((Id*Xt)/(E2*sqrt(3))) #cosine value of the commutational angle\n",
+ "C=round(C,2)\n",
+ "print 'cosine value of the commutational angle=C=',C\n",
+ "CA=math.acos(C)*180/pi\n",
+ "print 'commutation angle=CA=',CA,'degrees'\n",
+ "IVR=(1-C)/2 #inductive voltage regulation\n",
+ "IVR=round(IVR,3)\n",
+ "print 'Inductive voltage regulation=IVR=',IVR"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 5.3,Pg.no16"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 22,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "maximum value of dc voltage=Emax2= 586.9 volts\n",
+ "rms current through the device=Irms= 56.82 amps\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "E2=415 #input voltage in volts\n",
+ "Edc=1.17*E2 #dc terminal voltage in volts \n",
+ "Emax2=sqrt(2)*E2 #maximum value of dc voltage\n",
+ "Z=2 #total impedance in ohms\n",
+ "Emax2=round(Emax2,2)\n",
+ "print 'maximum value of dc voltage=Emax2=',Emax2,'volts'\n",
+ "Irms=Emax2*sqrt(pi/3+sqrt(3)/4)/(2*pi*Z)\n",
+ "Irms=round(Irms,2)\n",
+ "print 'rms current through the device=Irms=',Irms,'amps'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 5.4,Pg.no 17"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 23,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "cosine of the firing angle=C= 0.82\n",
+ "firing angle of the converter=A= 34.92 degrees\n",
+ "dc power delivered by the converter=Pdc= 92 KW\n",
+ "AC terminal power=Pac= 96.6 KVA\n",
+ "AC line current=Iac= 134.39 amps\n",
+ "Branch current through the device=Ib= 116.0 amps\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "Edc=460 #dc terminal voltage of the thyristor in volts\n",
+ "E2=415 #input voltage of the thyristor in volts\n",
+ "Id=200 #dc motor current in amps\n",
+ "C=Edc/(1.35*E2)\n",
+ "C=round(C,2)\n",
+ "print 'cosine of the firing angle=C=',C\n",
+ "A=math.acos(C)*180/pi\n",
+ "A=round(A,2)\n",
+ "print 'firing angle of the converter=A=',A,'degrees'\n",
+ "Pdc=Edc*Id/1000 #dc power delivered by the converter in kilo Watts\n",
+ "print 'dc power delivered by the converter=Pdc=',Pdc,'KW'\n",
+ "Pac=1.05*Pdc #Ac terminal power in KVA\n",
+ "print 'AC terminal power=Pac=',Pac,'KVA'\n",
+ "Iac=Pac*1000/(sqrt(3)*E2)\n",
+ "Iac=round(Iac,2)\n",
+ "print 'AC line current=Iac=',Iac,'amps'\n",
+ "Ib=0.58*Id #Branch current through the device in amps\n",
+ "print 'Branch current through the device=Ib=',Ib,'amps'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 5.5,Pg.no 17"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "cosine value of the commutational angle=C= 0.96\n",
+ "effective reactance of the thyristor=Xt= 0.19 ohms\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "from math import pi,sqrt\n",
+ "Id=150 #rated dc current in amperes\n",
+ "E2=415 #AC line voltage in volts\n",
+ "Emax=sqrt(2)*E2\n",
+ "C=math.cos(16*pi/180) #cosine value of the commutational angle\n",
+ "C=round(C,2)\n",
+ "print 'cosine value of the commutational angle=C=',C\n",
+ "Xt=(1-C)*E2*sqrt(3)/Id #effective reactance of the thyristor in ohms\n",
+ "Xt=round(Xt,2)\n",
+ "print 'effective reactance of the thyristor=Xt=',Xt,'ohms'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 5.6,Pg.no 18"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 25,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "AC load current=Id= 63.81 amps\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "from math import sqrt,pi\n",
+ "E2=230 #AC line voltage in volts\n",
+ "Emax=sqrt(2)*E2 \n",
+ "C=math.cos(13*pi/180) #cosine value of the commutational angle\n",
+ "Xt=0.16 #effective reactance of the thyristor in ohms\n",
+ "Id=(1-C)*E2*sqrt(3)/Xt #AC load current in amperes\n",
+ "Id=round(Id,2)\n",
+ "print 'AC load current=Id=',Id,'amps'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 5.7,Pg.no 18"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Average value of dc voltage=Edc= 96.6 volts\n",
+ "Effective value of voltage=Eeff= 160.27 volts\n",
+ "Load current=Id= 9.66 amps\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "from math import sqrt,pi\n",
+ "E2=230 #input voltage in volts\n",
+ "Emax=sqrt(2)*E2 #maximum value of dc voltage\n",
+ "A=pi/6\n",
+ "Edc=Emax*(1+math.cos(A))/(2*pi)\n",
+ "Edc=round(Edc,2)\n",
+ "print 'Average value of dc voltage=Edc=',Edc,'volts'\n",
+ "Eeff=Emax*sqrt((pi-A)/(4*pi)+(math.sin(2*A)/(8*pi)))\n",
+ "Eeff=round(Eeff,2)\n",
+ "print 'Effective value of voltage=Eeff=',Eeff,'volts'\n",
+ "R=10 #total impedance in ohms\n",
+ "Id=Edc/R\n",
+ "Id=round(Id,2)\n",
+ "print 'Load current=Id=',Id,'amps'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 5.8,Pg.no 19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "dc output voltage=Edc= 161.79 volts\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "E2=415 #input voltage in volts\n",
+ "Emax=sqrt(2)*E2 #maximum value of dc voltage\n",
+ "A=pi/6 #triggering angle in degrees\n",
+ "Edc=Emax*math.cos(A)/pi #dc output voltage in volts\n",
+ "Edc=round(Edc,2)\n",
+ "print 'dc output voltage=Edc=',Edc,'volts'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter7_Inverter_Circuits.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter7_Inverter_Circuits.ipynb
new file mode 100644
index 00000000..8ed5fba6
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter7_Inverter_Circuits.ipynb
@@ -0,0 +1,138 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter7 Inverter Circuits"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 7.1,Pg.no.20"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of w= 24494.9 rad/sec\n",
+ "value of the Output Frequency=F= 3047.0 Hertz\n",
+ "value of the Attenuation Factor=AF= 0.0014\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt,exp\n",
+ "L=10*10**-3 #Inductance of s e r i e s inverter cir cui t in Henry\n",
+ "C=0.1*10**-6 #Capacitance of s e r i e s inverter ci rcu it in Farads\n",
+ "R=400 #Load Resistance in Ohms\n",
+ "Toff=0.2*10**-3 #Off time of Duty cycle in sec\n",
+ "w=sqrt((1/(L*C))-(R**2/(4*L**2))) #Angular Frequency in rad/ sec\n",
+ "w=round(w,1)\n",
+ "print 'value of w=',w,'rad/sec'\n",
+ "F=w/(3.14+(w*Toff)) #Output Frequency in Hertz\n",
+ "F=round(F,1)\n",
+ "print 'value of the Output Frequency=F=',F,'Hertz'\n",
+ "T=1/F #Time period of Output in sec\n",
+ "AF=exp((-R/(2*L))*T) #Attenuation Factor\n",
+ "AF=round(AF,4)\n",
+ "print 'value of the Attenuation Factor=AF=',AF"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 7.2,Pg.no.21"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of Inductance at resonance=L= 0.04 Henry\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "C=1*10**-6 #Capacitance of series inverter circuit in Farads\n",
+ "f=5*10**3 #operating Frequency of series Inverter in Hertz\n",
+ "L=1/(C*(f**2)) #value of Inductance under Resonance condition in Henry\n",
+ "print 'value of Inductance at resonance=L=',L,'Henry'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 7.3,Pg.no.21"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of resistance=R1= -12401.01 Ohms\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "L=5*10**-3 #Inductance of series inverter circuit in Henry\n",
+ "C=1*10**-6 #Capacitance of series inverter circuit in Farads\n",
+ "Rl=400 #Load Resistance in Ohms\n",
+ "R2=10**4 #value of the second resistance in Ohms\n",
+ "DF=0.7 #Damping Factor value of LC filter\n",
+ "R1=(2*(DF)*(sqrt(L/C)))-R2 -(1/(Rl*C)) #value of the first resistance in Ohms\n",
+ "R1=round(R1,2)\n",
+ "print 'value of resistance=R1=',R1,'Ohms'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter8_Harmonic_and_PowerFactor_with_the_converter_system.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter8_Harmonic_and_PowerFactor_with_the_converter_system.ipynb
new file mode 100644
index 00000000..de9d3e6c
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter8_Harmonic_and_PowerFactor_with_the_converter_system.ipynb
@@ -0,0 +1,457 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter8 Harmonic and PowerFactor with the converter system"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.1,Pg.no.22"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of AC converter power=Pc= 5.06 MVAR\n",
+ "value of the capacitance of shunt filter=C = 0.4 millifarads\n",
+ "Inductance of filter=L= 1.08 milliHenry\n",
+ "Resistance of filter=R= 33.91 milliOhms\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "I5=0.2 #amplitude of 5th harmonic current in Kilo Amperes\n",
+ "Vp= 11/(sqrt(3)) #Input supply phase voltage in Kilo Volts\n",
+ "P=5 #supply power per phase of filter in MVAR\n",
+ "Pc=P+((Vp**2*I5**2)/(5*P)) #AC Converter power per phase in MVAR\n",
+ "Pc=round(Pc,2)\n",
+ "print 'value of AC converter power=Pc=',Pc,'MVAR'\n",
+ "C=(Pc*10**3*3) /(11**2*314) #capacitance of the ShuntFilter in milliFarad\n",
+ "C=round(C,2)\n",
+ "print 'value of the capacitance of shunt filter=C =',C,'millifarads'\n",
+ "L=(106*10**6)/(400*4*25*250*3.14**2) #inductance of filter in mHenry\n",
+ "L=round(L,2)\n",
+ "print 'Inductance of filter=L=',L,'milliHenry'\n",
+ "Q=50 #value of Q\n",
+ "W5=2*3.14*5*50 #angular frequency of 5th harmonic\n",
+ "R=(W5*L)/Q #Resistance of filter in milliOhms\n",
+ "R=round(R,2)\n",
+ "print 'Resistance of filter=R=',R,'milliOhms'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.2,Pg.no.23"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 25,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "For six pulse converter most effective harmonic is 6th and for worst case a=90 degree\n",
+ "voltage ripple=Wv= 24.1 percent\n",
+ "Harmonic current for 6th harmonic=I6= 10.0 amp\n",
+ "additional inductance required=L= 4.93 milliHenry\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "print 'For six pulse converter most effective harmonic is 6th and for worst case a=90 degree'\n",
+ "Wv=24.1 #voltage ripple in percentage\n",
+ "print 'voltage ripple=Wv=',Wv,'percent'\n",
+ "Id=200.0\n",
+ "I6=(5*Id)/100 #Harmonic current for 6th harmonic in amp\n",
+ "I6=round(I6,1)\n",
+ "print 'Harmonic current for 6th harmonic=I6=',I6,'amp'\n",
+ "Edc=460.0 #dc voltage in volts\n",
+ "W=2*3.14*50\n",
+ "La=1.0 #inductance already present in the circuit in milliHenry\n",
+ "L=((Wv*Edc*10)/(I6*6*W))-La #additional inductance required in milliHenry\n",
+ "L=5.93-1.0\n",
+ "L=round(L,2)\n",
+ "print 'additional inductance required=L=',L,'milliHenry'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.3,Pg.no.24"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "AC line current of the thyristor=I2= 163.4 amperes\n",
+ "effective reactance of the thyristor=Xt= 0.1 ohms\n",
+ "cosine value of the commutational angle=C= 0.97\n",
+ "commutation angle=CA= 14.07 degrees\n",
+ "cosine value of the firing value=F= 0.72\n",
+ "firing angle=FA= 43.95 degrees\n",
+ "AC line current=I2= 163.4 amps\n",
+ "Current through each device=Ied= 116.0 amps\n",
+ "power factor=PF= 0.71\n",
+ "active power drawn from the mains=AP= 83390.99 Watts\n",
+ "Reactive power drawn=RP= 82709.96 VAR\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "Id=200 #rated dc current in amperes\n",
+ "I2=0.817*Id #AC line current in amperes\n",
+ "print 'AC line current of the thyristor=I2=',I2,'amperes'\n",
+ "E2=415 #AC line voltage in volts\n",
+ "Edc=400 #dc terminal voltage in volts\n",
+ "Xt=0.04*E2/I2 #effective reactance of the thyristor in ohms\n",
+ "Xt=round(Xt,2)\n",
+ "print 'effective reactance of the thyristor=Xt=',Xt,'ohms'\n",
+ "C=1-((Id*Xt)/(E2*sqrt(3))) #cosine value of the commutational angle\n",
+ "C=round(C,2)\n",
+ "print 'cosine value of the commutational angle=C=',C\n",
+ "CA=math.acos(C)*180/pi\n",
+ "CA=round(CA,2)\n",
+ "print 'commutation angle=CA=',CA,'degrees'\n",
+ "F=Edc/(1.35*E2*(1+C)/2) #cosine value of the firing angle\n",
+ "F=round(F,2)\n",
+ "print 'cosine value of the firing value=F=',F\n",
+ "FA=math.acos(F)*180/pi\n",
+ "FA=round(FA,2)\n",
+ "print 'firing angle=FA=',FA,'degrees'\n",
+ "I2=0.817*Id #AC line current in amps\n",
+ "print 'AC line current=I2=',I2,'amps'\n",
+ "Ied=0.58*Id #current through each device in amps\n",
+ "print 'Current through each device=Ied=',Ied,'amps'\n",
+ "PF=F*(1+C)/2 #power factor\n",
+ "PF=round(PF,2)\n",
+ "print 'power factor=PF=',PF\n",
+ "AP=sqrt(3)*E2*I2*PF #active power drawn from the mains in Watts\n",
+ "AP=round(AP,2)\n",
+ "print 'active power drawn from the mains=AP=',AP,'Watts'\n",
+ "RP=sqrt(3)*E2*I2*sqrt(1-PF**2) #reactive power in VAR\n",
+ "RP=round(RP,2)\n",
+ "print 'Reactive power drawn=RP=',RP,'VAR'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.4,Pg.no.25"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "AC line current of the thyristor=I2= 81.7 amperes\n",
+ "power factor=PF= 0.69\n",
+ "Reactive power to be supplied by shunt compensator=RP= 23557.8 VAR\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "Id=100 #rated dc current in amperes\n",
+ "I2=0.817*Id #AC line current in amperes\n",
+ "I2=round(I2,2)\n",
+ "print 'AC line current of the thyristor=I2=',I2,'amperes'\n",
+ "E2=230 #AC line voltage in volts\n",
+ "Edc=200 #dc terminal voltage in volts\n",
+ "PF=math.cos(pi/4)*(1+math.cos(pi/10))/2 #power factor\n",
+ "PF=round(PF,2)\n",
+ "print 'power factor=PF=',PF\n",
+ "RP=sqrt(3)*E2*I2*sqrt(1-PF**2) #reactive power to be supplied by shunt compensator in VAR\n",
+ "RP=round(RP,2)\n",
+ "print 'Reactive power to be supplied by shunt compensator=RP=',RP,'VAR'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.5,Pg.no.25"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 28,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of MVAR rating of the capacitor=Pc= 7.68 MVAR\n",
+ "value of the capacitance of shunt filter=C = 606.41 microfarads\n",
+ "Inductance of filter=L= 0.01 milliHenry\n",
+ "Resistance of filter=R= 0.99 milliOhms\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "I11=400/11 #amplitude of 11th harmonic current in Amperes\n",
+ "V1= 11/(sqrt(3)) #Input supply phase voltage in Kilo Volts\n",
+ "P=7 #supply power per phase of f i l t e r in MVAR/\n",
+ "Pc=P+((V1**2*I11**2*10**-3)/(11*P)) #AC Converter MVAR rating of the capacitor\n",
+ "Pc=round(Pc,2)\n",
+ "print 'value of MVAR rating of the capacitor=Pc=',Pc,'MVAR'\n",
+ "W=2*3.14*50\n",
+ "C=(Pc*10**6)/(V1**2*W) #capacitance of the ShuntFilter in microFarad\n",
+ "C=round(C,2)\n",
+ "print 'value of the capacitance of shunt filter=C =',C,'microfarads'\n",
+ "W11=11*W\n",
+ "L=10**8/(C*W11**2) #inductance of filter in mHenry\n",
+ "L=round(L,2)\n",
+ "print 'Inductance of filter=L=',L,'milliHenry'\n",
+ "Q=35 #value of Q\n",
+ "R=(W11*L)/Q #Resistance of filter in milliOhms\n",
+ "R=round(R,2)\n",
+ "print 'Resistance of filter=R=',R,'milliOhms'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.6,Pg.no.26"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 29,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "For six pulse converter most effective harmonic is 6th and for worst case a=90 degree\n",
+ "voltage ripple=Wv= 24.1 percent\n",
+ "Harmonic current for 6th harmonic=I6= 9.81 amp\n",
+ "max. value of current ripple=Wi= 3.27 percent\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "print 'For six pulse converter most effective harmonic is 6th and for worst case a=90 degree'\n",
+ "h=6.0\n",
+ "Wv=24.1 #voltage ripple in percentage\n",
+ "print 'voltage ripple=Wv=',Wv,'percent'\n",
+ "Edc=460.0 #dc voltage in volts\n",
+ "W=2*3.14*50\n",
+ "Ldc=6.0 #total dc circuit inductance in milliHenry\n",
+ "I6=Wv*Edc*10/(Ldc*h*W) #Harmonic current for 6th harmonic in amp\n",
+ "I6=round(I6,2)\n",
+ "print 'Harmonic current for 6th harmonic=I6=',I6,'amp'\n",
+ "Id=300.0\n",
+ "Wi=100*I6/Id #maximum value of current ripple in percentage\n",
+ "Wi=round(Wi,2)\n",
+ "print 'max. value of current ripple=Wi=',Wi,'percent'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.7,Pg.no.27"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 30,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "voltage ripple of the 6th harmonic=Wv= 17.38 percent\n",
+ "For six pulse converter most effective harmonic is 6th and for worst case A=90degrees\n",
+ "maximum voltage ripple=Wv6= 24.24 percent\n",
+ "voltage ripple of the 12th harmonic=Wv= 8.42 percent\n",
+ "maximum voltage ripple=Wv12= 11.87 percent\n",
+ "percentage reduction in max. voltage ripple=PR= 51.03 percent\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "#given\n",
+ "A=pi/4\n",
+ "h=6\n",
+ "#calculations\n",
+ "Wv=sqrt(2)*sqrt(h**2-math.cos(A)**2*(h**2-1))*100/(h**2-1)\n",
+ "Wv=round(Wv,2)\n",
+ "print 'voltage ripple of the 6th harmonic=Wv=',Wv,'percent'\n",
+ "print 'For six pulse converter most effective harmonic is 6th and for worst case A=90degrees'\n",
+ "A=pi/2\n",
+ "Wv6=sqrt(2)*sqrt(h**2-math.cos(A)**2*(h**2-1))*100/(h**2-1) #maximum voltage ripple in percentage\n",
+ "Wv6=round(Wv6,2)\n",
+ "print 'maximum voltage ripple=Wv6=',Wv6,'percent'\n",
+ "A=pi/4\n",
+ "h=12\n",
+ "Wv=sqrt(2)*sqrt(h**2-math.cos(A)**2*(h**2-1))*100/(h**2-1)\n",
+ "Wv=round(Wv,2)\n",
+ "print 'voltage ripple of the 12th harmonic=Wv=',Wv,'percent'\n",
+ "A=pi/2\n",
+ "Wv12=sqrt(2)*sqrt(h**2-math.cos(A)**2*(h**2-1))*100/(h**2-1) #maximum voltage ripple in percentage\n",
+ "Wv12=round(Wv12,2)\n",
+ "print 'maximum voltage ripple=Wv12=',Wv12,'percent'\n",
+ "PR=(Wv6-Wv12)*100/Wv6 #percentage reduction in max. voltage ripple\n",
+ "PR=round(PR,2)\n",
+ "print 'percentage reduction in max. voltage ripple=PR=',PR,'percent'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.8,Pg.no.28"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 31,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "cosine of triggering angle=C= 0.65\n",
+ "triggering angle of the device=A= 49.46 degrees\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "#givem\n",
+ "Wv=18.6\n",
+ "h=6 \n",
+ "#calculations\n",
+ "C=sqrt(14.68/35) #cosine of triggering angle\n",
+ "C=round(C,2)\n",
+ "print 'cosine of triggering angle=C=',C\n",
+ "A=math.acos(C)*180/pi\n",
+ "A=round(A,2)\n",
+ "print 'triggering angle of the device=A=',A,'degrees'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example8.9,Pg.no.29"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 32,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "cosine of the triggering angle=C= 0.75\n",
+ "triggering angle of the device=A= 41.41 degrees\n",
+ "power factor=PF= 0.74\n",
+ "Reactive power to be supplied by shuntcompensator=RP= 79.0 KVAR\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "E2=415 #AC line voltage in volts\n",
+ "Edc=380 #dc terminal voltage in volts\n",
+ "C=1.1*Edc/(1.35*E2)\n",
+ "C=round(C,2)\n",
+ "print 'cosine of the triggering angle=C=',C\n",
+ "A=math.acos(C)*180/pi\n",
+ "A=round(A,2)\n",
+ "print 'triggering angle of the device=A=',A,'degrees'\n",
+ "PF=C*(1+math.cos(pi/12))/2 #power factor\n",
+ "PF=round(PF,2)\n",
+ "print 'power factor=PF=',PF\n",
+ "Id=200\n",
+ "I2=0.817*Id\n",
+ "RP=sqrt(3)*E2*I2*sqrt(1-PF**2)/1000 #reactive power to be supplied by shunt compensator in KVAR\n",
+ "RP=round(RP,2)\n",
+ "print 'Reactive power to be supplied by shuntcompensator=RP=',RP,'KVAR'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter_2_The_Device_.ipynb b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter_2_The_Device_.ipynb
new file mode 100644
index 00000000..4d4e44fe
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter_2_The_Device_.ipynb
@@ -0,0 +1,250 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 2 The Device"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 2.1,Page number 7"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of voltage safety factor= 2.56\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "import math \n",
+ "Vpiv=1500 # peak inverse voltage\n",
+ "V=415 # main supply\n",
+ "Vf=Vpiv/(sqrt(2)*V) # voltage safety factor\n",
+ "Vf=round(Vf,2)\n",
+ "print 'value of voltage safety factor=',Vf"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 2.2,Page number 7"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of peak inverse voltage= 683.07 volts\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "import math \n",
+ "Vf=2.1 # voltage safety factor \n",
+ "V=230 # main supply\n",
+ "Vpiv=sqrt(2)*Vf*V # peak inverse voltage\n",
+ "Vpiv=round(Vpiv,2)\n",
+ "print 'value of peak inverse voltage=',Vpiv,'volts'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 2.3,Page number 8"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of capacitive current= 0.0045 Amp\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math \n",
+ "C=30*10**-12 # equivalent capacitance \n",
+ "diffV=150*10**6 # dv/dt value of capacitor\n",
+ "Ic=C*(diffV) # capacitive current\n",
+ "print 'value of capacitive current=',Ic,'Amp'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 2.4,Page number 8"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of equivalent capacitance= 28.57 pico farad\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math \n",
+ "Ic=5.0 # capacitive current in milli amperes\n",
+ "difV=175.0 # dv/dt value in mega V/s\n",
+ "C=Ic/(difV)*10**3 # equivalent capacitance in pico farad\n",
+ "C=round(C,2)\n",
+ "print 'value of equivalent capacitance=',C,'pico farad'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 2.5,Page number 8"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of dv/dt= 240.0 Mv/s\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math \n",
+ "Ic=6*10**-3 # capacitive current\n",
+ "C=25*10**-12 # equivalent capacitance\n",
+ "diffV=Ic/C # dv/dt value of capacitor\n",
+ "diffV=diffV/10**6\n",
+ "print 'value of dv/dt=',diffV,'Mv/s'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 2.6,Page number 9"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of dv/dt that can trigger the device= 142 V/microseconds\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math \n",
+ "Ic=5 # capacitive current in milli amperes\n",
+ "C=35 # equivalent capacitance in pico farad\n",
+ "difV=Ic*10**3/C # value of dv/dt that can trigger the device in V/ microseconds\n",
+ "print 'value of dv/dt that can trigger the device=',difV,'V/microseconds'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 2.7,Page number 9"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "value of voltage safety factor= 2.3 v\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "import math \n",
+ "Vpiv=1350 # peak inverse voltage in volts\n",
+ "V=415 # main supply in volts\n",
+ "Vf=Vpiv/(sqrt(2)*V) # voltage safety factor\n",
+ "Vf=round(Vf,2)\n",
+ "print 'value of voltage safety factor=',Vf,'v'"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/11.png b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/11.png
new file mode 100644
index 00000000..578b64c3
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/11.png
Binary files differ
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/13.png b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/13.png
new file mode 100644
index 00000000..c96a0bd3
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/13.png
Binary files differ
diff --git a/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/8.png b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/8.png
new file mode 100644
index 00000000..efb03866
--- /dev/null
+++ b/Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/8.png
Binary files differ
diff --git a/Turbomachines_by_A._V._Arasu/README.txt b/Turbomachines_by_A._V._Arasu/README.txt
new file mode 100644
index 00000000..b90f2a25
--- /dev/null
+++ b/Turbomachines_by_A._V._Arasu/README.txt
@@ -0,0 +1,10 @@
+Contributed By: Mohd arif
+Course: btech
+College/Institute/Organization: UKTU
+Department/Designation: EC
+Book Title: Turbomachines
+Author: A. V. Arasu
+Publisher: Vikas Publishing, Noida
+Year of publication: 2009
+Isbn: 9788125908401
+Edition: 1 \ No newline at end of file
diff --git a/sample_notebooks/UmangAgarwal/Sample_Notebook_Umang.ipynb b/sample_notebooks/UmangAgarwal/Sample_Notebook_Umang.ipynb
new file mode 100644
index 00000000..1eb49726
--- /dev/null
+++ b/sample_notebooks/UmangAgarwal/Sample_Notebook_Umang.ipynb
@@ -0,0 +1,163 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+ "source": [
+ "Sample Notebook - Heat and Mass Transfer by R.K. Rajput : Chapter 1 - Basic Concepts\n",
+ "author: Umang Agarwal\n",
+ "\n",
+ "\n",
+ "# Example 1.1 Page 16-17\n",
+ "\n",
+ "L=.045; \t\t \t\t\t#[m] - Thickness of conducting wall\n",
+ "delT = 350 - 50; \t\t #[C] - Temperature Difference across the Wall\n",
+ "k=370; \t\t\t\t\t#[W/m.C] - Thermal Conductivity of Wall Material\n",
+ "#calculations\n",
+ "#Using Fourier's Law eq 1.1\n",
+ "q = k*delT/(L*10**6); \t\t\t#[MW/m^2] - Heat Flux\n",
+ "#results\n",
+ "print '%s %.2f %s' %(\"\\n \\n Rate of Heat Transfer per unit area =\",q,\" W\");\n",
+ "#END\n",
+ "\n",
+ "# Example 1.2 Page 17\n",
+ "\n",
+ "L = .15; \t\t \t\t\t#[m] - Thickness of conducting wall\n",
+ "delT = 150 - 45; \t\t #[C] - Temperature Difference across the Wall\n",
+ "A = 4.5; #[m^2] - Wall Area\n",
+ "k=9.35; \t\t\t\t\t#[W/m.C] - Thermal Conductivity of Wall Material\n",
+ "#calculations\n",
+ "#Using Fourier's Law eq 1.1\n",
+ "Q = k*A*delT/L; \t\t\t#[W] - Heat Transfer\n",
+ "#Temperature gradient using Fourier's Law\n",
+ "TG = - Q/(k*A); #[C/m] - Temperature Gradient\n",
+ "#results\n",
+ "print '%s %.2f %s' %(\"\\n \\n Rate of Heat Transfer per unit area =\",Q,\" W\");\n",
+ "print '%s %.2f %s' %(\"\\n \\n The Temperature Gradient in the flow direction =\",TG,\" C/m\");\n",
+ "#END\n",
+ "\n",
+ "# Example 1.3 Page 17-18\n",
+ "\n",
+ "x = .0825; \t\t \t\t\t#[m] - Thickness of side wall of the conducting oven\n",
+ "delT = 175 - 75; \t\t #[C] - Temperature Difference across the Wall\n",
+ "k=0.044; \t\t\t\t\t#[W/m.C] - Thermal Conductivity of Wall Insulation\n",
+ "Q = 40.5; #[W] - Energy dissipitated by the electric coil withn the oven \n",
+ "#calculations\n",
+ "#Using Fourier's Law eq 1.1\n",
+ "A = (Q*x)/(k*delT); \t\t#[m^2] - Area of wall\n",
+ "#results\n",
+ "print '%s %.2f %s' %(\"\\n \\n Area of the wall =\",A,\" m^2\");\n",
+ "#END\n",
+ "\n",
+ "# Example 1.4 Page 18-19\n",
+ "\n",
+ "delT = 300-20; \t\t #[C] - Temperature Difference across the Wall\n",
+ "h = 20; \t\t\t\t\t#[W/m^2.C] - Convective Heat Transfer Coefficient\n",
+ "A = 1*1.5; #[m^2] - Wall Area\n",
+ "#calculations\n",
+ "#Using Newton's Law of cooling eq 1.6\n",
+ "Q = h*A*delT; \t\t\t#[W] - Heat Transfer\n",
+ "#results\n",
+ "print '%s %.2f %s' %(\"\\n \\n Rate of Heat Transfer =\",Q,\" W\");\n",
+ "#END\n",
+ "\n",
+ "# Example 1.5 Page 19\n",
+ "\n",
+ "L=.15; \t\t \t\t\t#[m] - Length of conducting wire\n",
+ "d = 0.0015; #[m] - Diameter of conducting wire\n",
+ "A = 22*d*L/7; #[m^2] - Surface Area exposed to Convection\n",
+ "delT = 120 - 100; \t\t #[C] - Temperature Difference across the Wire\n",
+ "h = 4500; \t\t\t\t\t#[W/m^2.C] - Convective Heat Transfer Coefficient\n",
+ "print 'Electric Power to be supplied = Convective Heat loss';\n",
+ "#calculations\n",
+ "#Using Newton's Law of cooling eq 1.6\n",
+ "Q = h*A*delT; \t\t\t#[W] - Heat Transfer\n",
+ "Q = round(Q,1);\n",
+ "#results\n",
+ "print '%s %.2f %s' %(\"\\n \\n Rate of Heat Transfer =\",Q,\" W\");\n",
+ "#END\n",
+ "\n",
+ "# Example 1.6 Page 20-21\n",
+ "\n",
+ "T1 = 300 + 273; \t\t #[K] - Temperature of 1st surface\n",
+ "T2 = 40 + 273; #[K] - Temperature of 2nd surface\n",
+ "A = 1.5; #[m^2] - Surface Area\n",
+ "F = 0.52; \t\t\t\t #[dimensionless] - The value of Factor due geometric location and emissivity\n",
+ "sigma = 5.67*(10**-8) #(W/(m^2 * K^4)) - Stephen - Boltzmann Constant\n",
+ "#calculations\n",
+ "#Using Stephen-Boltzmann Law eq 1.9\n",
+ "Q = F*sigma*A*(T1**4 - T2**4) \t #[W] - Heat Transfer\n",
+ "#Equivalent Thermal Resistance using eq 1.10\n",
+ "Rth = (T1-T2)/Q; #[C/W] - Equivalent Thermal Resistance\n",
+ "#Equivalent convectoin coefficient using h*A*(T1-T2) = Q\n",
+ "h = Q/(A*(T1-T2)); #[W/(m^2*C)] - Equivalent Convection Coefficient\n",
+ "#results\n",
+ "print '%s %.2f %s' %(\"\\n \\n Rate of Heat Transfer =\",Q,\" W\");\n",
+ "print '%s %.2f %s' %(\"\\n The equivalent thermal resistance =\",Rth,\" C/W\");\n",
+ "print '%s %.2f %s' %(\"\\n The equivalent convection coefficient =\",h,\" W/(m^2 * C)\");\n",
+ "#END\n",
+ "\n",
+ "# Example 1.7 Page 21-22\n",
+ "\n",
+ "L = 0.025; #[m] - Thickness of plate\n",
+ "A = 0.6*0.9; #[m^2] - Area of plate \n",
+ "Ts = 310; \t\t #[C] - Surface Temperature of plate\n",
+ "Tf = 15; #[C] - Temperature of fluid(air)\n",
+ "h = 22; \t\t\t\t\t #[W/m^2.C] - Convective Heat Transfer Coefficient\n",
+ "Qr = 250; \t\t\t\t #[W] - Heat lost from the plate due to radiation\n",
+ "k = 45; \t\t\t\t\t #[W/m.C] - Thermal Conductivity of Plate\n",
+ "#calculations\n",
+ "# In this problem, heat conducted by the plate is removed by a combination of convection and radiation\n",
+ "# Heat conducted through the plate = Convection Heat losses + Radiation Losses\n",
+ "# If Ti is the internal plate temperature, then heat conducted = k*A*(Ts-Ti)/L\n",
+ "Qc = h*A*(Ts-Tf); #[W] - Convection Heat Loss\n",
+ "Ti = Ts + L*(Qc + Qr)/(A*k); \t #[C] - Inside plate Temperature\n",
+ "#results\n",
+ "print '%s %.2f %s' %(\"\\n \\n Rate of Heat Transfer =\",Ti,\" C\");\n",
+ "#END\n",
+ "\n",
+ "# Example 1.8 Page 22\n",
+ "\n",
+ "Ts = 250; \t\t #[C] - Surface Temperature\n",
+ "Tsurr = 110; #[C] - Temperature of surroundings\n",
+ "h = 75; \t\t\t\t\t #[W/m^2.C] - Convective Heat Transfer Coefficient\n",
+ "F = 1; \t\t\t\t #[dimensionless] - The value of Factor due geometric location and emissivity\n",
+ "sigma = 5.67*(10**-8) #(W/(m^2 * K^4)) - Stephen - Boltzmann Constant\n",
+ "k = 10; \t\t\t\t\t #[W/m.C] - Thermal Conductivity of Solid\n",
+ "#calculations\n",
+ "# Heat conducted through the plate = Convection Heat losses + Radiation Losses\n",
+ "qr = F*sigma*((Ts+273)**4-(Tsurr+273)**4) #[W/m^2] - #[W] - Heat lost per unit area from the plate due to radiation\n",
+ "qc = h*(Ts-Tsurr); #[W/m^2] - Convection Heat Loss per unit area\n",
+ "TG = -(qc+qr)/k; \t #[C/m] - Temperature Gradient\n",
+ "#results\n",
+ "print '%s %.2f %s' %(\"\\n \\n The temperature Gradient =\",TG,\" C/m\");\n",
+ "#END\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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/sample_notebooks/Vishwajith VRao/Chapter1_1.ipynb b/sample_notebooks/Vishwajith VRao/Chapter1_1.ipynb
new file mode 100644
index 00000000..3b2072cd
--- /dev/null
+++ b/sample_notebooks/Vishwajith VRao/Chapter1_1.ipynb
@@ -0,0 +1,2750 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "#CHAPTER 1: INTRODUCTION"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 1.1, Page Number: 18"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGg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g==\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x80a3190>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEZCAYAAABrUHmEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAIABJREFUeJzt3XeYXWW5/vHvLU2aIqJ0QZQonSC/gHiQoIAQEEQRxaOU\n",
+ "H02aFPGE3qsFEOkoBAEpFooUkQ6WQycESKRokADSSxBLgOf8sVZwJpmZ7L1n7f2ucn+ui8vZe/bs\n",
+ "dfO6mGf2+6z3XYoIzMzMWvGu1AHMzKw6XDTMzKxlLhpmZtYyFw0zM2uZi4aZmbXMRcPMzFrmomFW\n",
+ "IEk7SzqxjdfPJWmipIW6mcusKC4aZgWRNCdwIPDdIV5zi6Ttpz+OiH8B5wD7dT+h2fC5aJgVZzNg\n",
+ "YkQ8M8RrBlpNexGwjaQ5uhPLrDguGmZtkPQRSS9KGpk/XkzSc5LWATYCbh3iZ48G1gZOkTRV0skA\n",
+ "ETEFeBn4ZPf/DcyGx0XDrA0R8TgwFrhA0tzAucC4iLgVWBH40xA/eyBwO7BbRMwfEd/q8+2JwCrd\n",
+ "S25WDBcNszZFxI+Bx4A7gYXJ+hgACwBTW3gLDfDc1PznzUrNRcOsMz8GVgB+FBHT8udeBt4z/QWS\n",
+ "zsinoaZK6tvoHqivMX/+82al5qJh1iZJ8wEnkRWOwyW9L//WA8CI6a+LiG/m01DzR8Rx058e5G2X\n",
+ "A8Z3K7NZUVw0zNr3Q+DOiNgJuBo4I3/+GmCdWfzss8BH+j4haXFgQeB/C85pVjgXDbM2SNoM2ADY\n",
+ "JX9qH2A1SVsBvwY+LmnRId7ih8AWkl6SdFL+3NfImunThvg5s1JQypswSToH2Bh4LiJWGuQ1J5Nd\n",
+ "yvgGsG1E3NfDiGZtkbQjsHxE7N3i6+cC7gfW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44\n",
+ "DvhIfoOg41OHMSuKV4SbdYGkpYCrImKl1FnMiuRPGmbd4RsEWS25aJiZWctcNMy6Yyowf+oQZkVz\n",
+ "0TDrgoh4Efi9pAluhFuduBFuZmYt8ycNMzNrmYuGmZm1zEXDzMxa5qJhZmYtc9EwM7OWuWiYmVnL\n",
+ "XDTMzKxlLhpmZtay/wMQ3XJ1/ql3PAAAAABJRU5ErkJggg==\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7ba2d70>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEZCAYAAABrUHmEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xn8ZnP9//HHM1uRksgeiSm7ke8kvmqUNEaRktJi+RHZ\n",
+ "Iuk79i1rCckSihGi1ZIlISL6yjpGZhI1CjWUMJav9fX745zR5zPzWa7P9bnOeZ/leb/d5uZzrutc\n",
+ "57zm7cz1+pz367zfb0UEZmZmnXhd6gDMzKw+nDTMzKxjThpmZtYxJw0zM+uYk4aZmXXMScPMzDrm\n",
+ "pGFWIEmLS5omaYFB3l8gf3+xsmMz64aThlmx9gPOiYgXACTdIGnH2W/mr5+d72dWeU4aZgXJ7y62\n",
+ "Bc7v8/JAo2kvBLaTNF8pgZmNgpOG2ShIukLS8X22L5L0vXzzvcCTEfFo/t5RwIbAKZJmSToZICIe\n",
+ "Bv4NvK/c6M1Gbt7UAZjV3P8D7pF0BbA0sC6wVv7eGsAfZ+8YEQdKWh84LyLOnuM40/LP3Vh8yGbd\n",
+ "c9IwG4WImClpV+AHwOuBLSLi2fztRYBZA3xMA7w2K9/frNLcPWU2ApI+l3ctzcrvLgAuB+YBpkfE\n",
+ "LX12fwJYeIDDDFTXWJisi8qs0pw0zEYgIi6IiIXzP5vlLx8F3AcsJekzfXa/Bxgz5yEGOfQ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"hDFyI74uK3mnMRRJWwInA4uRDQy8KyI2lbQ0cFZEbBYRL0uaPTBwHuD7Hhg4qGOBH0vakWxm0K0h\n",
+ "G2hJ3p5kXVs/z/+NzgtcEBFekyA32PUmaZf8/TMi4kpJEyU9ADwL7JAw5ErrpD2BrYBdJb0MPAd8\n",
+ "JlnAFSbpQuADwGL5gOpDgfmg++vSg/vMzKxjde+eMjOzEjlpmJlZx5w0zMysY04aZmbWMScNMzPr\n",
+ "mJOGmZl1zEnDrACS3ixp19RxmPWak4ZZMd4C7JY6CLNec9IwK8axwDvzBYKOSx2MWa94RLhZASQt\n",
+ "D1weEWukjsWsl3ynYVYMLxBkjeSkYWZmHXPSMCvGLGDh1EGY9ZqThlkBIuJfwM2SproQbk3iQriZ\n",
+ "mXXMdxpmZtYxJw0zM+uYk4aZmXXMScPMzDrmpGFmZh1z0jAzs445aZiZWcecNMzMrGP/H03/shbz\n",
+ "+VHgAAAAAElFTkSuQmCC\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x5c74c10>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "As x(-t)=-x(t), x(t) is an odd signal\n"
+ ]
+ }
+ ],
+ "source": [
+ "import matplotlib.pyplot as plt\n",
+ "import numpy\n",
+ "import math\n",
+ "%matplotlib inline\n",
+ "\n",
+ "#Variable Declaration\n",
+ "t=numpy.arange(-1.0,1.0,0.01) #Time Base\n",
+ "x=numpy.zeros(numpy.size(t))\n",
+ "y1=numpy.zeros(numpy.size(t))\n",
+ "y2=numpy.zeros(numpy.size(t))\n",
+ "for i in range(0,numpy.size(t)):\n",
+ " \n",
+ " x[i]=math.sin(math.pi*t[i]) #x(t), T is assumed to be 1 \n",
+ " y1[i]=math.sin(-math.pi*t[i]) #y1=x(-t)\n",
+ " y2[i]=-math.sin(math.pi*t[i]) #y2=-x(t)\n",
+ "\n",
+ " \n",
+ "# Plots\n",
+ "#To plot x(t)\n",
+ "plt.plot(t,x)\n",
+ "plt.title('x(t)')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x(t)')\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "#To plot x(-t)\n",
+ "plt.plot(t,y1)\n",
+ "plt.title('x(-t)')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x(-t)')\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "#To plot -x(t)\n",
+ "plt.plot(t,y2)\n",
+ "plt.title('-x(t)')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('-x(t)')\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "#Result\n",
+ "print \"As x(-t)=-x(t), x(t) is an odd signal\"\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 1.2, Page Number: 19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 32,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAZIAAAEZCAYAAAC99aPhAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAH5BJREFUeJzt3Xm0XGWd7vHvk0QGBRkuCiFEghiEgJchSmhbJTRCB1EC\n",
+ "V2kCbQuCt7mkFQeuImg73G6H0FcG9YKtiAdU5kkQEKIScWGTiBI7ChFQoiSEKcztlMDv/rH3geJQ\n",
+ "dU6dU7vq3e+p57NWrVP73buqnlRWzi/7/e1BEYGZmdlYTUgdwMzM8uZCYmZmHXEhMTOzjriQmJlZ\n",
+ "R1xIzMysIy4kZmbWERcSs4QkHSvptGHWv03Shb3MZDZa8nkkZmlIWg+4G5gVEaslTQN+C0yKiGca\n",
+ "tlsGHBERy5IENRuB90jM0pkL3BERq4eMa8jyBcA/9iaS2ei5kJh1kaTtJa2RtHu5vLWk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mac+IeLCHEYGRT9hscD4J/6c/xhNLe2oU32XdDD0BdyrPvxSQjZKkF1Fcc+9b\n",
+ "EXFl6jwjiYjHJV0DvBZYlDhOo9cDB0l6C7AB8FJJ50XEu5pt3DdTWxHxy4jYMiK2i4jtKP7B7pGi\n",
+ "iIxE0vSGxbnAbamyDKfhxNK5Q04srau6nZR6K8WVrKdJWo/iytdXJc6UrfJK4V8Hbo+I01PnaUXS\n",
+ "FpI2LZ9vSHHwT63+jUfEyRExtfxdOQ/4YasiAn1USJqo87TC58p7rywFZgMnJM7TypcoDgZYWB4i\n",
+ "eGbqQENJOkTSvRRH8Vwj6brUmQaVFxl9L3A9xZExF0XEHWlTvZCkC4CfADtIuldSkmnWNvw18E6K\n",
+ "o6BuKx91PNpsMvDD8t/3YuDqiGh6RY4aGfb3pU9INDOzjvTzHomZmVXAhcTMzDriQmJmZh1xITEz\n",
+ "s464kJiZWUdcSMzMrCMuJGYJSdpE0nGpc5h1woXELK3NgPmpQ5h1woXELK3PA9uXZ2EvSB3GbCx8\n",
+ "ZrtZQpK2Bb4bEa9JncVsrLxHYpZW3S4kaTZqLiRmZtYRFxKztJ4ENk4dwqwTLiRmCUXEGuDm8rYB\n",
+ "brZbltxsNzOzjniPxMzMOuJCYmZmHXEhMTOzjriQmJlZR1xIzMysIy4kZmbWERcSMzPriAuJmZl1\n",
+ "5P8DmSwkOvA53rsAAAAASUVORK5CYII=\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7c7def0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAZMAAAEZCAYAAABSN8jfAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xe8XFW9/vHPIwGkF+k1EQMSLCC9h3pjo9gACyB4/Skq\n",
+ "6sUCoqLeK4KKAireQomggCCC0kFI6BBEQpGWi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BrJXO1j4ydxiz\n",
+ "kfAZ8GaZSVoTOC8i3p47i9lI+cjELL+qXXzSbNhcTMzMrG0uJmb5PQcskTuEWTtcTMwyi4gngGvS\n",
+ "LQfcAW+15A54MzNrm49MzMysbS4mZmbWNhcTMzNrm4uJmZm1zcXEzMza5mJiZmZtczExM7O2uZiY\n",
+ "mVnb/j90Co9gOUC1+gAAAABJRU5ErkJggg==\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x8090c90>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAZMAAAEZCAYAAABSN8jfAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmcHGWdx/HPN4QQ7kOUM2ZQYRGNRuVSFMMKiCggggKi\n",
+ "gHKogCKLaCK66GbFgCsreIIQQhQI8ULuU3BZBaIsCUhADgkk4RIihyiQkN/+8dRAZ+iZqUlXd1VN\n",
+ "f9+vV7+6q6qr6judSf+mnuepKkUEZmZmrRhRdgAzM6s/FxMzM2uZi4mZmbXMxcTMzFrmYmJmZi1z\n",
+ "MTEzs5a5mFitSJogaf4Ay6dJmtzJTN1E0sqSLpL0hKTzl2P9V0q6Q9JK/SxfKVu+butprZNcTKxU\n",
+ "kg6SdJukZyQ9JOkHktZsYZORPfrb3waSzpT0oKSnsi+ur0lapYV91kb2s/6khU3sDbwKWCci9lmO\n",
+ "9ScCZ0XEc1me6yQd3Lswmz81e5/ViIuJlUbSMcAU4BhgDWBbYCxwlaQVW9l0P/tbB7gBWAnYNiLW\n",
+ "AHYC1gRe28L+uslY4K6IWDrUFbOjkQOAnzbMblb4zwMObPF3wDotIvzwo+MPUvF4Gti7z/xVgUeB\n",
+ "T2TTKwPTgEXA7cCxwPyG978F+D/gKWAG6Ytocj/7/E9gziC53gH8AXgCmAW8vWHZdcBk4HdZ9guB\n",
+ "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RSOdkR/fisn/EKSRMi4rqSY71I0geARyPiljwX\n",
+ "pByWxaS/kyUlvRHYBJiTXTtyY+BmSVtHxKMdjAgM6aTOcynxL/7Bcko6iHQo3O810dptOU+QrYK+\n",
+ "J+mOYdnLBtkQSVqRdI2+n0bEBWXnGUxEPCnpEmBL4LqS4zR6B7C7pF2B0cAakqZHxAHN3txVzVwR\n",
+ "8aeIWC8iNomITUj/ad9aRiEZjKRNGyb3AG4pK8tAsis3HwvskXUqVl3VTlz9I+kK2D2SRpGumH1h\n",
+ "yZlqK7vC+JnA3Iio7O0mJK0raa3s9cqkAUGV+j8eEV+OiDHZd+W+wG/6KyTQZcWkiSo3MXwzu3fL\n",
+ "bGACcEzJefrzXdIAgauy4YM/KDtQX5L2lDSfNLrnEkmXlZ2pV3Zh0iNJt0aYC5wfEZW7eZuk84Df\n",
+ "A5tJmi+plCbXHLYDPkYaHXVL9qjiKLQNgN9k/79vAi6KiKZX7qiQAb8vfdKimZm1rNuPTMzMrAAu\n",
+ "JmZm1jIXEzMza5mLiZmZtczFxMzMWuZiYmZmLXMxMSuZpDUlfabsHGatcDExK9/apLuImtWWi4lZ\n",
+ "+aYAr83O1j6x7DBmy8NnwJuVTNJY4OKIGFd2FrPl5SMTs/JV7eKTZkPmYmJmZi1zMTEr39PA6mWH\n",
+ "MGuFi4lZySLiceB32S0H3AFvteQOeDMza5mPTMzMrGUuJmZm1jIXEzMza5mLiZmZtczFxMzMWuZi\n",
+ "YmZmLXMxMTOzlrmYmJlZy/4fjDot7dV1ElYAAAAASUVORK5CYII=\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x80efe70>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import matplotlib.pyplot as plt\n",
+ "import numpy\n",
+ "import math\n",
+ "%matplotlib inline\n",
+ "\n",
+ "#Variable Declaration\n",
+ "t=numpy.arange(-4.0,4.0,0.01) #Time Base\n",
+ "x_e=numpy.zeros(numpy.size(t))\n",
+ "x_o=numpy.zeros(numpy.size(t))\n",
+ "x=numpy.zeros(numpy.size(t))\n",
+ "\n",
+ "for i in range(0,numpy.size(t)):\n",
+ " x[i]=(math.e**(-2*t[i]))*math.cos(t[i]) #Given Signal\n",
+ "\n",
+ "#Calculation\n",
+ " x_e[i]=0.5*(math.cos(t[i])*math.e**(-2*t[i])+math.cos(-t[i])*math.e**(2*t[i])) #Even Component\n",
+ " x_o[i]=0.5*(math.cos(t[i])*math.e**(-2*t[i])-math.cos(-t[i])*math.e**(2*t[i])) #Odd Component\n",
+ "\n",
+ "#Results\n",
+ "\n",
+ "#To plot x(t)\n",
+ "plt.plot(t,x)\n",
+ "plt.title('x(t)')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x(t)')\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "#To plot x_e(t)\n",
+ "plt.plot(t,x_e)\n",
+ "plt.title('Even Component of x(t)')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x_e(t)')\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "#To plot x_o(t)\n",
+ "plt.plot(t,x_o)\n",
+ "plt.title('Odd Component of x(t)')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x_o(t)')\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "##Example 1.3, Page Number: 29"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 29,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEZCAYAAABxbJkKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAFohJREFUeJzt3X+MZXV5x/H3g4DaimBqhALbbmJBpaUFfwBBKJtUDawV\n",
+ "LNEI2iiaVmK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A9UnGA9n4R9g\n",
+ "RYiI3SJiG3AX8MXMvGXSuZ25USIiPg/sN+apt2XmZZl5JnBmRLwF+Gd69kmileqrzjkT+EVmfmqu\n",
+ "i5uBOvUVpvv7qFpRtRX0GeAN1URQhGpn4bAqX7wyIjZl5lXjzu1ME8jMurdwf4oe/kt5pfoi4jRg\n",
+ "M/BHc1nQjK3i+pWizs2Q6rCI2AP4LPDJzLyk7fU0ITPvi4jPAc8Grhp3Ti+2gyLioJHDk4Ab21pL\n",
+ "EyLieOBvgJMy8+dtr6dhpdz496ubISNiTxZuhry05TWppogI4KPALZl5dtvrmaWIeHJE7FN9/Xjg\n",
+ "+Uz5mdmXTwd9Bnga8EvgO8DrMvPudlc1OxHxbRYCnMXw5muZ+RctLmmmIuJPgHOAJwP3ATdm5gnt\n",
+ "rmr9IuIE4GyWboac+lG8PomIC4HjgN8A7gbekZkfa3dVsxMRxwBfBr7B0tbeWzPzP9tb1WxExKEs\n",
+ "/Hbm3ao/n8jM9008vw9NQJLUjF5sB0mSmmETkKQBswlI0oDZBCRpwGwCkjRgNgFJGjCbgLQGEbF3\n",
+ "RLyu7XVI62UTkNbmSUAxN/RpuGwC0tq8B3hqRNwYEe9tezHSWnnHsLQGEfHbwH+U+B9c0bA4CUhr\n",
+ "U8ovwtPA2QQkacBsAtLa3A/s1fYipPWyCUhrkJk/Bb4aETcbDKvPDIYlacCcBCRpwGwCkjRgNgFJ\n",
+ "GjCbgCQNmE1AkgbMJiBJA2YTkKQBswlI0oD9P3w7UFn91hYQAAAAAElFTkSuQmCC\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x5b3b830>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEZCAYAAABxbJkKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAGYhJREFUeJzt3XmwZGV9xvH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[
+ "import matplotlib.pyplot as plt\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "\n",
+ "#Variable Declaration\n",
+ "\n",
+ "#To define x(t), assuming T1=1 and T2=2\n",
+ "t1=numpy.arange(-1.0,0.0,.01)\n",
+ "t2=numpy.arange(0.0,2.0,0.01)\n",
+ "\n",
+ "x=numpy.zeros(300) #x(t)\n",
+ "for i in range(0,100):\n",
+ " x[i]=1+t1[i]\n",
+ " \n",
+ "for i in range(0,200):\n",
+ " x[i+100]=1-0.5*t2[i]\n",
+ " \n",
+ "#Plots\n",
+ "#To plot x(t)\n",
+ "t=numpy.arange(-1.0,2.0,0.01) \n",
+ "plt.plot(t,x)\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x(t)')\n",
+ "plt.title('x(t)')\n",
+ "plt.ylim(0,2)\n",
+ "plt.xlim(-3,3)\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "\n",
+ "#Calculation\n",
+ "#To flip the signal\n",
+ "x1=numpy.zeros(numpy.size(x))\n",
+ "\n",
+ "for i in range (0,300):\n",
+ " x1[i]=x[299-i]\n",
+ "\n",
+ "#To plot flipped signal\n",
+ "\n",
+ "t3=numpy.arange(-2.0,1.0,0.01) \n",
+ "plt.plot(t3,x1)\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x(-t)')\n",
+ "plt.title('Reflection of x(t)')\n",
+ "plt.ylim(0,2)\n",
+ "plt.xlim(-3,3)\n",
+ "plt.grid(True)\n",
+ "plt.show() \n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 1.4, Page Number: 29"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEZCAYAAACQK04eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgA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8krRgbPyStGBs/JK0YGz8\n",
+ "krRgbPyStGBs/JK0YP4fh4Hv+J+BOykAAAAASUVORK5CYII=\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x26371b0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEZCAYAAACQK04eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAFoNJREFUeJzt3X+wbXV53/H3B5CZNqA3ZiI2QLyjFRWFXENDGB0Vm6YC\n",
+ "CtRRRmmciE6VFpk6OHGMP5rRmbapdaYhtEZJIrkYDCRCSiDiGPoDtTqlMQJiuKhMIV4wEAtcAmIS\n",
+ "fjz9Y+/j2h7Oj3XuvXuvL2u/XzN37ll7r7PWw4d7n/M9z1lr3VQVkqTlccDQBUiSFsvGL0lLxsYv\n",
+ "SUvGxi9JS8bGL0lLxsYvSUvGxq/RS3J2kl/b4P1Tk1w2p3O/Ksl/3Y/HOzbJl/bX8bScbPwatSQH\n",
+ "A+8H/uN0e3uSx5P84M9+VV0NvDDJMXMo4d8BvzpTz+NJnr1RvUk+keSOJH+d5IYkJ83U+jVgT5LX\n",
+ "zKFWLQkbv8budGBXVf3lqtezavtS4O3788RJfgZ4alX9n03OPesg4NvAy6vqqcAHgD9I8qyZfT4F\n",
+ "nL0/a9VysfHrSS/Ju5Ncvuq1C5KcD5wEfH7mrS9Mf9+T5MEkPzvd/jzw6i2e9+lJdq+svpMckuS2\n",
+ "JG+a7nIycN3M/ivnvml67jNWH7OqHq6qD1XVt6fbnwFuB356ZrfPAz+X5ClbqVdaYePXGPwucFKS\n",
+ "pwEkOQh4A3AxcAzwjZl9Xzb9/WlVdWhVXT/d3gVsT3LI9Bi/keT+dX7dCFBV9wFvBX4ryY8DvwZ8\n",
+ "taoumR7zRbPnrqqXTz88dnruT2/2H5bkMOAo4M9njnMX8Ajwv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ueKX9s4yPphOI2Hj\n",
+ "l6QlY+OX9s6DwKFDFyHtDRu/tBeq6l7gS0lu9oe7erLxh7uStGRc8UvSkrHxS9KSsfFL0pKx8UvS\n",
+ "krHxS9KSsfFL0pKx8UvSkrHxS9KS+f9+6AnuzPxpPAAAAABJRU5ErkJggg==\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7a0fef0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import matplotlib.pyplot as plt\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "\n",
+ "#Variable Declaration\n",
+ "#x(t)\n",
+ "t=numpy.arange(-2.5,2.5,0.01)\n",
+ "x=numpy.zeros(500)\n",
+ "for i in range(200,300):\n",
+ " x[i]=1\n",
+ "\n",
+ "#y(t)=x(t-2)\n",
+ "y=numpy.zeros(500)\n",
+ "for i in range(400,500):\n",
+ " y[i]=1\n",
+ "\n",
+ "#Plots\n",
+ "plt.plot(t,x)\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x(t)')\n",
+ "plt.title('x(t)')\n",
+ "plt.ylim(0,2)\n",
+ "plt.xlim(-2.5,2.5)\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "plt.plot(t,y)\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('y(t)')\n",
+ "plt.title('y(t)=x(t-2)')\n",
+ "plt.ylim(0,2)\n",
+ "plt.xlim(-2.5,2.5)\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 1.5, Page Number: 31"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 30,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEZCAYAAABxbJkKAAAABHNCSVQICAgIfA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yMsrZ0pLzSu8jwG3RMTZtfOMIukZknZtP38qzYUqM/c7HhGnR8Sy\n",
+ "9vnyeOCahQoAJCgCI8zyMPwsSevbOcOVwJsr51nI/6RpXF/dXkL2wdqBRpF0jKSNNFeLXCnpc7Uz\n",
+ "zYmIR2lWu19FcwXGpyJiQ91UTyTpIuArwL6SNkqa1QWZLwFOpLni5qb2Y9auano2cE37+309cEVE\n",
+ "fL5ypi7GPmd6sZiZWY9lHAmYmVkhLgJmZj3mImBm1mMuAmZmPeYiYGbWYy4CZmY95iJgtgUk7SLp\n",
+ "92vnMNtaLgJmW2Y34I21Q5htLRcBsy3zLuB57crWd9cOY7alvGLYbAtIei7w2Yg4sHYWs63hkYDZ\n",
+ "lpm1N7Qz2yIuAmZmPeYiYLZlHgR2qh3CbGu5CJhtgYj4PvC37VuHuzFsabkxbGbWYx4JmJn1mIuA\n",
+ "mVmPuQiYmfWYi4CZWY+5CJiZ9ZiLgJlZj7kImJn1mIuAmVmP/X8FYTtmn8NMcAAAAABJRU5ErkJg\n",
+ "gg==\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7ed8530>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import matplotlib.pyplot as plt\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "\n",
+ "#Variable Declaration\n",
+ "#x(t)\n",
+ "x=numpy.zeros(800)\n",
+ "for i in range(300,500):\n",
+ " x[i]=1\n",
+ " \n",
+ "#v(t)=x(t+3) \n",
+ "v=numpy.zeros(800)\n",
+ "for i in range(0,200):\n",
+ " v[i]=1\n",
+ "\n",
+ "#y(t)\n",
+ "y=numpy.zeros(800)\n",
+ "for i in range(200,300):\n",
+ " y[i]=1\n",
+ " \n",
+ "\n",
+ "#To plot x(t) \n",
+ "t1=numpy.arange(-4.0,4.0,0.01)\n",
+ "plt.plot(t1,x)\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('x(t)')\n",
+ "plt.title('x(t)')\n",
+ "plt.ylim(0,2)\n",
+ "plt.xlim(-4,4)\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "#To plot x(t+3)\n",
+ "plt.plot(t1,v,'b')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('v(t)')\n",
+ "plt.title('x(t+3)')\n",
+ "plt.ylim(0,2)\n",
+ "plt.xlim(-4,4)\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "#To plot y(t)\n",
+ "plt.plot(t1,y,'b')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('y(t)')\n",
+ "plt.title('y(t)=x(2t+3)')\n",
+ "plt.ylim(0,2)\n",
+ "plt.xlim(-4,4)\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 1.6, Page Number: 33"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 31,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAYkAAAEZCAYAAABiu9n+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAFUpJREFUeJzt3XuQZGV5x/HvEwiFBhM1MSCyZlExKsQgKq5Yxo2iLquB\n",
+ "WF6QxFKwMJQGtKKVAJKKJv8o5sbNKgmIQGmiCbEolAXFuK1WeQHkIgjIRTYsKGg0oAQvXJ780Wdh\n",
+ "WObMdG/36XfO299PVVf16T4z53nmbM+z/f66eyIzkSRpMb9SugBJ0srlkJAktXJISJJaOSQkSa0c\n",
+ "EpKkVg4JSVIrh4QkqZVDQpqiiNgUEfdExFkj7r9/RPw0Iu6PiJd1XZ80ru1LFyBVJoFXZ+YXR9o5\n",
+ "8wvAYyLi5uZrpRXFZxKSpFYOCWlMEfHUiPhRRDyn2d41In4QES9p2f+Bi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+fej5QU3PEISFJauWQkLqz9Ucs\n",
+ "+5HL6h0/KlyS1MpnEpKkVg4JSVIrh4QkqZVDQpLUyiEhSWrlkJAktXJISJJaOSQkSa3+H7o6qm50\n",
+ "hfPzAAAAAElFTkSuQmCC\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7c7d2b0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAYkAAAEZCAYAAABiu9n+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAGQJJREFUeJzt3X2wZHV95/H3xyGENbKaJwnCkGtWTSKsgqYIhhhvIsY7\n",
+ "o/GhkqjsJgJGi6oEyPMCSarCpnaNurWLPMTSGB8rUYkm6yLyICacSDYblMAoCKioUwxGiAbBB1QM\n",
+ "890/zhmn59Kn+8z0ued3vrc/r6qu6dN9uvtz75nb33u+33P6KiIwMzOb5mGlA5iZ2Xi5SJiZWSsX\n",
+ "CTMza+UiYWZmrVwkzMyslYuEmZm1cpEwM7NWLhK2FCTtlHS/pLd1XP8kSV+R9KCkZ/aY462SHpD0\n",
+ "mb6es+Pr/krz9eyW9ENDvrbl5iJhyyKA50bEKZ1WjvhgRBwK3NE8ts8cr4qIXt+oJX2vpP8r6YuS\n",
+ "7pN0o6QXfPtFI97UfD1m+8VFwmx4OuAHSpWkZ0y566vAy4BHR8QjgfOAv5T0iAN9LTNwkbBNRNLZ\n",
+ "kt697rYLJF3Qsv5uSadL+qSkL0m6uIcMBze/xZ/RLG9pfsP/gxmPqST9kaS/l/RlSVdJ+t6W1YMp\n",
+ "ezYR8c2I+ERE7Jb0MGA38EXggUW/JltuLhK2mbwT2L7nt2dJW4BfBN4x4zHPAX4MeBLwIknPbltR\n",
+ "0jlNMZl2uQcgIh4Afgn4I0k/ApxDvefw3+dkPxk4FXg0cDDwO/O/3KkZPwZ8HXgr8MImj9k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L\n",
+ "hJmZtXKRMDOzVi4SZmbWykXCzMxauUiYmVkrFwkzM2v1/wEu7lZe2ko4EAAAAABJRU5ErkJggg==\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x5b3b5b0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "image/png": [
+ "iVBORw0KGgoAAAANSUhEUgAAAYkAAAEZCAYAAABiu9n+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\n",
+ "AAALEgAACxIB0t1+/AAAFyxJREFUeJzt3X+QJGV9x/HPR9DSCCIkBkUOVwTKwAUxKB4Swyoge6di\n",
+ "jD+QRAFTWMQKYGmigJiAqagoKj+1VIzl4e8EiaLeHULlWokxKMIhyJ2AcnKAgIIHIgQRvvljeum+\n",
+ "ve7ZaWZ3nt6e96tq6qZneno+++xz+915vj2zjggBAFDlMakDAADaiyIBAKhFkQAA1KJIAABqUSQA\n",
+ "ALUoEgCAWhQJdJLt9bbvs718wP0PtP0b2w/ZPmAOc3zG9u9s/2yujjkXbP+X7fttX5o6C9qNIoGu\n",
+ "Ckkvj4gjBto54pKI2FrSTflj5zLHqRGx8/QNtj9k+zrb99hea/uNc/h808/xetvrbN9t+1e2L7C9\n",
+ "wyOhIl4i6e/m+nnRPRQJYP55xva96hWwJ0k6QtKZtvdtfFB7wvaNNXd/V9JfRMQ2kp4h6T5JH5kl\n",
+ "F7AZigQWLNvvsH3+jNvOsn1Gzf4P2z46/y3+17bPmYMMj7N9pe1j8u0tbH/X9rvrHhMRp0TEdfn1\n",
+ "70u6VNK++eMn8pyH2/657V/aflfTXBGxISLumI4p6SFJv2h6HIAigYXss5KmbG8jSba3lHSopPP6\n",
+ "POZlkp4naU9Jr7N9cN2Otk/Ii0nV5S5JiojfSXqDpH+x/WxJJ6j3Q/m9g3wBtp8g6fmSrplx136S\n",
+ "dpN0gKR/zo/diO0/t71R0j2SdpJ0fNNjABQJLFgRcZt6v4W/Nr9pStIvI+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wCGc7akrSRdnJ/q97HUgUaJN6RuYj9Jb5D04nwuXJn/\n",
+ "EoFZfk504pUEAGB+dOWVBABgHlAkAAC1KBIAgFoUCQBALYoEAKAWRQIAUIsiAQCoRZEAANSiSADz\n",
+ "wPZE/gePPpn/kZuLbD8+dS6gKYoEMH92kXRO/oewNkp6deI8QGMUCWD+3Fj6ux4/lDSRMAvwqFAk\n",
+ "gPnzQOn6Q1pAH80PTKNIAABqUSSA+TPzI5b5yGUsOHxUOACgFq8kAAC1KBIAgFoUCQBALYoEAKAW\n",
+ "RQIAUIsiAQCoRZEAANSiSAAAav0/7YYc6B310o0AAAAASUVORK5CYII=\n"
+ ],
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x5b26750>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import matplotlib.pyplot as plt\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "\n",
+ "#Variable Declaration \n",
+ "x=[0,0,0,-1,-1,0,1,1,0,0,0]\n",
+ "\n",
+ "#Calculation \n",
+ "x1=zeros(11)\n",
+ "for i in range(0,6):\n",
+ " x1[2*i]=x[2*i]\n",
+ "\n",
+ "#Plots\n",
+ "\n",
+ "n1=numpy.arange(-5,6,1)\n",
+ "plt.stem(n1,x)\n",
+ "plt.xlabel('n')\n",
+ "plt.ylabel('x[n]')\n",
+ "plt.title('x[n]')\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "n2=numpy.arange(-2,9,1)\n",
+ "plt.stem(n2,x)\n",
+ "plt.xlabel('n')\n",
+ "plt.ylabel('v[n]')\n",
+ "plt.title('v[n]=x[n+3]')\n",
+ "plt.xlim(-2,6)\n",
+ "plt.grid(True)\n",
+ "plt.show()\n",
+ "\n",
+ "n3=numpy.arange(-6.0,5.0,1)\n",
+ "plt.stem(n3,x1)\n",
+ "plt.xlabel('n')\n",
+ "plt.ylabel('y[n]')\n",
+ "plt.title('y[n]=x[2n+3]')\n",
+ "plt.grid(True)\n",
+ "plt.show()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 1.7, Page Number: 38"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 17,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The common fundamental period is 2.0\n",
+ "Therefore, output signal is:\n",
+ "y[n]= 2.0 cos(5*pi*n -0.52 )\n"
+ ]
+ }
+ ],
+ "source": [
+ "import numpy\n",
+ "import math\n",
+ "\n",
+ "#Variable Declaration\n",
+ "A1=-1 #Amplitude of x1 (in terms of cos)\n",
+ "A2=math.sqrt(3) #Amplitude of x2\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#To find angular frequency\n",
+ "m=1 #Initialise m to 1\n",
+ "while((m*2.0/5!=int(m*2.0/5))): #To find smallest integer value \n",
+ " m=m+1\n",
+ "\n",
+ "\n",
+ "N=2*m*math.pi/(5*math.pi)\n",
+ "\n",
+ "#To find amplitude and phase angle\n",
+ "phi=math.atan(A1/A2) #Phase angle in radians\n",
+ "A=-1/math.sin(phi) #Amplitude\n",
+ "\n",
+ "#Results\n",
+ "\n",
+ "print \"The common fundamental period is\",N\n",
+ "print \"Therefore, output signal is:\"\n",
+ "print \"y[n]=\",A,\"cos(5*pi*n\",round(phi,2),\")\"\n",
+ "\n",
+ "\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.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}