diff options
author | kinitrupti | 2017-05-12 18:40:35 +0530 |
---|---|---|
committer | kinitrupti | 2017-05-12 18:40:35 +0530 |
commit | d36fc3b8f88cc3108ffff6151e376b619b9abb01 (patch) | |
tree | 9806b0d68a708d2cfc4efc8ae3751423c56b7721 /Power_System_Operation_and_Control_by_B._R._Gupta | |
parent | 1b1bb67e9ea912be5c8591523c8b328766e3680f (diff) | |
download | Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.tar.gz Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.tar.bz2 Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.zip |
Revised list of TBCs
Diffstat (limited to 'Power_System_Operation_and_Control_by_B._R._Gupta')
6 files changed, 0 insertions, 4457 deletions
diff --git a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter1.ipynb b/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter1.ipynb deleted file mode 100755 index 2002d085..00000000 --- a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter1.ipynb +++ /dev/null @@ -1,980 +0,0 @@ -{ - "metadata": { - "name": "", - "signature": "sha256:157c81ca45c25f5c9b68a8a7337d5214dee7e7e0f1df3168b61c9836541cb6d6" - }, - "nbformat": 3, - "nbformat_minor": 0, - "worksheets": [ - { - "cells": [ - { - "cell_type": "heading", - "level": 1, - "metadata": {}, - "source": [ - "Ch-1 : Introduction" - ] - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.1 page 1" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from __future__ import division\n", - "import numpy as np\n", - "B=100 #W(8Bulb)\n", - "F=60 #W(2Fan)\n", - "L=100 #W(2Light)\n", - "LoadConnected=8*B+2*F+2*L #W\n", - "print \"(a) Connected Load = %0.2f W \"%LoadConnected\n", - "#12 midnight to 5am\n", - "demand1=1*F #W\n", - "#5am to 7am\n", - "demand2=2*F+1*L #W\n", - "#7am to 9am\n", - "demand3=0 #W\n", - "#9am to 6pm\n", - "demand4=2*F #W\n", - "#6pm to midnight\n", - "demand5=2*F+4*B #W\n", - "DEMAND=np.array([demand1,demand2, demand3, demand4, demand5])\n", - "max_demand=max(DEMAND) \n", - "print \"(b) Maximum demand = %0.2f W \"%max_demand \n", - "df=max_demand/LoadConnected #demand factor\n", - "print \"(c) Demand factor = %0.3f\"%df \n", - "E=demand1*5+demand2*2+demand3*2+demand4*9+demand5*6 #Wh\n", - "E=E/1000 #kWh\n", - "print \"(d) Energy consumed during 24 hours = %0.2f kWh \"%E\n", - "Edash=LoadConnected*24/1000 #kWh\n", - "print \"(e) Energy consumed during 24 hours if all devices are used = %0.2f kWh\"%Edash" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "(a) Connected Load = 1120.00 W \n", - "(b) Maximum demand = 520.00 W \n", - "(c) Demand factor = 0.464\n", - "(d) Energy consumed during 24 hours = 4.94 kWh \n", - "(e) Energy consumed during 24 hours if all devices are used = 26.88 kWh\n" - ] - } - ], - "prompt_number": 1 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.2 page 3" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "import numpy as np\n", - "LoadA=2.5*1000 #W\n", - "#12 midnight to 5am\n", - "d1A=100 #W\n", - "#5am to 6am\n", - "d2A=1.1*1000 #W\n", - "#6am to 8am\n", - "d3A=200 #W\n", - "#8am to 5pm\n", - "d4A=0 #W\n", - "#5pm to 12 midnight\n", - "d5A=500 #W\n", - "LoadB=3*1000 #W\n", - "#11 pm to 7am\n", - "d1B=0 #W\n", - "#7 am to 8 am\n", - "d2B=300 #W\n", - "#8 am to 10 am\n", - "d3B=1*1000 #W\n", - "#10 am to 6 pm\n", - "d4B=200 #W\n", - "#6 pm to 11 pm\n", - "d5B=600 #W\n", - "DEMAND_A=np.array([d1A, d2A, d3A, d4A, d5A]) #W\n", - "DEMAND_B=np.array([d1B, d2B, d3B, d4B, d5B]) #W\n", - "max_demand_A=max(DEMAND_A) #W\n", - "max_demand_B=max(DEMAND_B) #W\n", - "df_A=max_demand_A/LoadA #demand factor\n", - "df_B=max_demand_B/LoadB #demand factor\n", - "print \"Demand factor of consumer A & B are : %0.2f & %0.2f\"%(df_A,df_B) \n", - "gd_factor=(max_demand_A+max_demand_B)/max_demand_A \n", - "print \"Group diversity factor = %0.3f\"%gd_factor\n", - "E_A=d1A*5+d2A*1+d3A*2+d4A*9+d5A*7 #Wh\n", - "E_B=d1B*8+d2B*1+d3B*2+d4B*8+d5B*5 #Wh\n", - "E_A=E_A/1000 #kWh\n", - "E_B=E_B/1000 #kWh\n", - "print \"Energy consumed by A & B during 24 hours = %0.2f & %0.2f kWh \"%(E_A,E_B)\n", - "Emax_A=max_demand_A*24/1000 #kWh\n", - "Emax_B=max_demand_B*24/1000 #kWh\n", - "print \"Maximum energy consumer A & B can consume during 24 hours = %0.2f & %0.2f kWh \"%(Emax_A,Emax_B)\n", - "ratio_A=E_A/Emax_A \n", - "ratio_B=E_B/Emax_B \n", - "print \"Ratio of actual energy to maximum energy of consumer A & B : %0.4f & %0.4f\"%(ratio_A,ratio_B) " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Demand factor of consumer A & B are : 0.44 & 0.33\n", - "Group diversity factor = 1.909\n", - "Energy consumed by A & B during 24 hours = 5.50 & 6.90 kWh \n", - "Maximum energy consumer A & B can consume during 24 hours = 26.40 & 24.00 kWh \n", - "Ratio of actual energy to maximum energy of consumer A & B : 0.2083 & 0.2875\n" - ] - } - ], - "prompt_number": 2 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.3 page 6" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "n1=600 #No. of apartments\n", - "L1=5 #kW#Each Apartment Load\n", - "n2=20 #No. of general purpose shops\n", - "L2=2 #kW#Each Shop Load\n", - "df=0.8 #demand factor\n", - "#1 Floor mill\n", - "L3=10 #kW#Load\n", - "df3=0.7 #demand factor\n", - "#1 Saw mill\n", - "L4=5 #kW#Load\n", - "df4=0.8 #demand factor\n", - "#1 Laundry\n", - "L5=20 #kW#Load\n", - "df5=0.65 #demand factor\n", - "#1 Cinema\n", - "L6=80 #kW#Load\n", - "df6=0.5 #demand factor\n", - "#Street lights\n", - "n7=200 #no. of tube lights\n", - "L7=40 #W#Load of each light\n", - "#Residential Load\n", - "df8=0.5 #demand factor\n", - "gdf_r=3 #group diversity factor\n", - "pdf_r=1.25 #peak diversity factor\n", - "#Commertial Load\n", - "gdf_c=2 #group diversity factor\n", - "pdf_c=1.6 #peak diversity factor\n", - "#Solution :\n", - "#Maximum demand of each apartment\n", - "dmax_1a=L1*df8 #kW\n", - "#Maximum demand of 600 apartment\n", - "dmax_a=n1*dmax_1a/gdf_r #kW\n", - "#demand of apartments at system peak time\n", - "d_a_sp=dmax_a/pdf_r #kW\n", - "#Maximum Commercial demand\n", - "dmax_c=(n2*L2*df+L3*df3+L4*df4+L5*df5+L6*df6)/gdf_c #kW\n", - "#Commercial demand at system peak time\n", - "d_c_sp=dmax_c/pdf_c #kW\n", - "#demand of street light at system peak time\n", - "d_sl_sp=n7*L7/1000 #kW\n", - "#Increase in system peak demand\n", - "DI=d_a_sp+d_c_sp+d_sl_sp #kW\n", - "print \"Increase in system peak demand %0.2f kW\" %DI," - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Increase in system peak demand 438.00 kW\n" - ] - } - ], - "prompt_number": 3 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.4 page 12" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#12 to 5 am\n", - "L1=20 #MW\n", - "t1=5 #hours\n", - "#5 to 9 am\n", - "L2=40 #MW\n", - "t2=4 #hours\n", - "#9 to 6 pm\n", - "L3=80 #MW\n", - "t3=9 #hours\n", - "#6 to 10 pm\n", - "L4=100 #MW\n", - "t4=4 #hours\n", - "#10 to 12 am\n", - "L5=20 #MW\n", - "t5=2 #hours\n", - "#Energy Poduced in 24 hours\n", - "E=L1*t1+L2*t2+L3*t3+L4*t4+L5*t5 #MWh\n", - "print \"Energy Supplied by the plant in 24 hours = %0.2f MWh\" %E\n", - "LF=E/24 #%#Load Factor\n", - "print \"Load Factor = %0.2f %% \"%LF " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Energy Supplied by the plant in 24 hours = 1420.00 MWh\n", - "Load Factor = 59.17 % \n" - ] - } - ], - "prompt_number": 4 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.5 page 13" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "C=125 #MW#Installed Capacity\n", - "#12 to 5 am\n", - "L1=20 #MW\n", - "t1=5 #hours\n", - "#5 to 9 am\n", - "L2=40 #MW\n", - "t2=4 #hours\n", - "#9 to 6 pm\n", - "L3=80 #MW\n", - "t3=9 #hours\n", - "#6 to 10 pm\n", - "L4=100 #MW\n", - "t4=4 #hours\n", - "#10 to 12 am\n", - "L5=20 #MW\n", - "t5=2 #hours\n", - "#Energy Poduced in 24 hours\n", - "E=L1*t1+L2*t2+L3*t3+L4*t4+L5*t5 #MWh\n", - "LF=E/24 #%#Load Factor\n", - "CF=LF/C #%#Capacity Factor\n", - "print \"Capacity Factor = %0.3f\" %CF\n", - "UF=100/C #%#Utilisation Factor\n", - "print \"Utilisation Factor = %.1f\" %UF" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Capacity Factor = 0.473\n", - "Utilisation Factor = 0.8\n" - ] - } - ], - "prompt_number": 5 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.6 page 13" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "%matplotlib inline\n", - "from matplotlib.pyplot import plot, show, title, xlabel, ylabel, subplot\n", - "from numpy import array\n", - "import numpy as np\n", - "#12 to 5 am & 10 to 12 am\n", - "L1=20 #MW\n", - "E1=L1*24 #MWh\n", - "#5 to 9 am\n", - "L2=40 #MW\n", - "E2=E1+(L2-L1)*17 #MWh\n", - "#9 to 6 pm\n", - "L3=80 #MW\n", - "E3=E2+(L3-L2)*13 #MWh\n", - "#6 to 10 pm\n", - "L4=100 #MW\n", - "E4=E3+(L4-L3)*4 #MWh\n", - "#Plotting Energy load curve\n", - "L=np.array([0,L1,L2,L3,L4]) #MW\n", - "E=np.array([0,E1,E2,E3,E4]) #Mwh\n", - "subplot(2,1,1)\n", - "plot(E,L)\n", - "xlabel('Energy(MWh)') \n", - "ylabel('Load(MW)') \n", - "title('Energy Load Curve') \n", - "#Energy Supplied\n", - "#Upto 5am\n", - "t1=5 #hours\n", - "E1=L1*t1 #MWh\n", - "#Upto 9am\n", - "t2=4 #hours\n", - "E2=E1+L2*t2 #MWh\n", - "#Upto 6pm\n", - "t3=9 #hours\n", - "E3=E2+L3*t3 #MWh\n", - "#Upto 10pm\n", - "t4=4 #hours\n", - "E4=E3+L4*t4 #MWh\n", - "#Upto 12pm\n", - "t4=2 #hours\n", - "E4=E3+L4*t4 #MWh\n", - "#Plotting Mass curve\n", - "T=[0,1,2,3,4] #MW\n", - "E=[0,E1,E2,E3,E4] #Mwh\n", - "subplot(2,1,2)\n", - "plot(T,E)\n", - "ylabel('Ener2y(MWh)') \n", - "xlabel('0-1: 12-5am 1-2: 5-9am 2-3: 9-6pm 3-4: 6-10pm above4: 10-12pm') \n", - "title('Mass Curve') \n", - "show()" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "metadata": {}, - "output_type": "display_data", - "png": "iVBORw0KGgoAAAANSUhEUgAAAZMAAAEZCAYAAABSN8jfAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnXmYV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CdETfmf47pL\nkmgfhXIW9wFjEg8wSU4Crox/n2mmxpJoVZ5JjEXm0r/PBMaZ2az69lVIbf4MsJOkBZLOjOsL9plI\nmgf8BhgRj9lZobbypcAuwIvxKeOseg7vCDwiaTrhB20BIbQAMBK4W9Jk4B1qnyyMuk8Z+U9e6z2J\nSfqaQqr2ocA/JD1c370QvITOwPio+YZ4fKF4cEP68/mtpFeAp4BfJX4My3afhfTXw68kzYhhkmHA\njxq5z4b053MRMDK2yam5c0e9bwKTCH053zKzVY3cZ/62HOcpdDBPJYxGa3pq8MJ9JlcAx8ew4y+A\ncwocf0H8Tm1NSF3/R4DYP/O6Qn/OTdT2i0D4kf6upJlAV+DGuL6he67v/h8BNozn+RUh1JXjY4J3\nPIPw2eYGEwwHro6fy+6J9RAMz6nUhiFXEX7cr4zfkanUhomSJPugCn53JF0V22rj+Bvxs7jpZmAz\nSXOA7wMXFzh+73j814GbVDt14URCeHlEIuKxe+LQ7vF+zyf0j6ynm+L+r5qNp6B3nDKjMFLmwQJP\nkK2e6Jk8aGYDU5bSJiiD11QWWpVn4jhOZvCn1JYjE23tnonjOI5TMu6ZOI7jOCXjxsRxHMcpGTcm\njuM4Tsm4MXEcx3FKxo2J4ziOUzJuTBzHcZyS+f8LR3s+TL5ESQAAAABJRU5ErkJggg==\n", - "text": [ - "<matplotlib.figure.Figure at 0x7f26e82c2e90>" - ] - } - ], - "prompt_number": 6 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.7 page 14" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "dmax=40 #MW#Maximum demand\n", - "CF=0.5 #Capacity Factor\n", - "UF=0.8 #Utilisation Factor\n", - "LF=CF/UF #/Load Factor\n", - "print \"(a) Load Factor : %0.3f\"%LF \n", - "C=dmax/UF #MW#Plant Capacity\n", - "print \"(b) Plant Capacity = %0.2f MW \"%C \n", - "RC=C-dmax #MW#Reserve Capacity\n", - "print \"(c) Reserve Capacity = %0.02f MW \"%RC \n", - "p=dmax*LF*24*365 #MWh#Annual Energy Production\n", - "print \"(d) Annual Energy Production = %0.2f MWh \"%p " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "(a) Load Factor : 0.625\n", - "(b) Plant Capacity = 50.00 MW \n", - "(c) Reserve Capacity = 10.00 MW \n", - "(d) Annual Energy Production = 219000.00 MWh \n" - ] - } - ], - "prompt_number": 7 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.8 page 14" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "%matplotlib inline\n", - "from matplotlib.pyplot import plot, show, title, xlabel, ylabel, subplot\n", - "from numpy import array\n", - "L1=50 #MW#Initial\n", - "t1=5 #hours\n", - "L2=50 #MW#5am\n", - "t2=4 #hours\n", - "L3=100 #MW#9am\n", - "t3=9 #hours\n", - "L4=100 #MW#6pm\n", - "t4=2 #hours\n", - "L5=150 #MW#8pm\n", - "t5=2 #hours\n", - "L6=80 #MW#10pm\n", - "t6=2 #hours\n", - "L7=50 #MW\n", - "#Energy Required in 24 hours\n", - "E=L1*t1+(L2+L3)/2*t2+(L3+L4)/2*t3+(L4+L5)/2*t4+(L5+L6)/2*t5+(L6+L1)/2*t6 #MWh\n", - "print \"Energy required in one day = %0.2f MWh \"%E \n", - "DLF=E/L5/24*100 #%#Daily Load Factor\n", - "print \"Daily Load Factor = %0.2f %%\" %DLF\n", - "#Plotting load curve\n", - "T=np.array([0,1,2,3,4,5,6]) #Slots\n", - "L=np.array([L1,L2,L3,L4,L5,L6,L7]) #MW\n", - "plot(T,L)\n", - "ylabel('Load(MW)') \n", - "xlabel('0-1: 12-5am 1-2: 5-9am 2-3: 9-6pm 3-4: 6-8pm 4-5:8-10pm 5-6 :10-12pm') \n", - "title('Chronological Load Curve') \n", - "show()" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Energy required in one day = 2060.00 MWh \n", - "Daily Load Factor = 57.22 %\n" - ] - }, - { - "metadata": {}, - "output_type": "display_data", - "png": "iVBORw0KGgoAAAANSUhEUgAAAZEAAAEZCAYAAABWwhjiAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XucHFWZ//HPlxDUgBIQ5RokiihRUGBB0EVHFBVcEsD1\ngooGVBTWoAg/CYoSXUREvBEFVlgi4hJABAQJCiKjsFwFQrhKQC4JSLjI1bgQyPP745xJOp3unp6e\n7q6+fN+v17zSXV1d/VTPpJ465zl1ShGBmZlZI1YpOgAzM+teTiJmZtYwJxEzM2uYk4iZmTXMScTM\nzBrmJGJmZg1zErGGSZoh6bSi4wCQtFTSq5uwnTmS9h7lNqZKuny0sYwyhkFJnyoyBusPTiJWk6SP\nSvqzpKclPZgPsm/LL/fcRUYRsWtEtCwxStokJ7xW/98Lavx+JG0m6ZeSHpH0hKSbJB3Uhrisx/gP\nxqqS9CXgB8CRwCuBCcBPgN2GVhnBtlZteoDWEEmvAa4B7gPeGBHjgQ8C2wAvbWB7Y5oboXUTJxGr\nSNKawDeAAyLivIj4Z0S8EBEXRsT0vFoAq0k6VdJTkm6RtE3JNu6V9GVJ84CnJY2RNFnSrZIel3SZ\npNeXrX9wPit+QtIZkl5U8vpnJM2X9JikX0tav1rskn4u6eG8za9KUn5tFUnfy2fgf5X0+dKWQXk3\nUP7M2/L+3Sppq7x8uqS7Spbv3oTvfANJ5+f9my/p0yWvbSfpqvy9PShppqSxJa/vLOmO/L3NJCX4\nakn+G8AVEXFIRCwCiIg7I+LjEfGkpAFJC8piu1fSTvnxDElnSzpN0pPAVyQtlrRWyfpb5e94TH6+\nb/4e/y7pt5I2Hu33ZZ3BScSq2QF4MXBujXUETAZmA2sC5wM/LlvnI8AuwHjgNcDpwIHAOsAc4IKS\nVkqQzojfC0wEtgSmAuQD2FH59fVJZ9FnVIlrJumMeiLwDuATwD75tf2A9wFvArYGdmfF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y6pJFq\nD+Xvu1ZNYzTdzv8O7C/peWAx6R4kQKqJAJ/KMVSLeQWSDiSdjKxLupXAhRGxX0TMURomfBep+6j0\ne/8LqevpFNLBvFIdZ7i/aRjZNPHDTreuVKD+l6EurUrHq4i4g1TD+RmpJ2BOVLllgqRjgL2Al+Rj\n5EkR8U3gGGB14Owc+30RMVScvw74MbAp6d4w51bZ/+G+m+VxpC5Os/5RciZ9zrArdzFJRwDPRMT3\nio6lXfJZ9gURsUXBoXQcpds2HxwRNUdbjZSvWDfrbf14ltiP+1yP0bYyK3JLxMzMGuaWiJmZNcxJ\nxMzMGuYkYmZmDXMSMTOzhjmJmJlZw5xEzMysYf8fAHl1R8P2C3cAAAAASUVORK5CYII=\n", - "text": [ - "<matplotlib.figure.Figure at 0x7f26d514bd90>" - ] - } - ], - "prompt_number": 8 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.9 page 15" - ] - }, - { - "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+QNCnh9VpJ50v6GPgoWjdU0heSvpX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aF7geWG5mvwKmAKdH77kLuNDM9on2vyMrURcoL1bIL5+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 0x7f26d4f5edd0>" - ] - } - ], - "prompt_number": 9 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.10 page 15" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from __future__ import division\n", - "E=438*10**4 #kWh\n", - "LF=20 #% annual\n", - "CF=15 #%#Capacity Factor\n", - "Lmax=E/(LF/100)/24/365 #kW\n", - "Lmax=Lmax/1000 #MW\n", - "C=Lmax/CF*LF #MW#Plant Capacity\n", - "print \"Plant Capacity = %0.2f MW \"%C \n", - "RC=C-Lmax #MW#Reserve Capacity\n", - "print \"Reserve Capacity = %0.2f MW\"%RC" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Plant Capacity = 3.33 MW \n", - "Reserve Capacity = 0.83 MW\n" - ] - } - ], - "prompt_number": 10 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.11 page 16" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "L1=10000 #kW\n", - "L2=6000 #kW\n", - "L3=8000 #kW\n", - "L4=7000 #kW\n", - "df=1.5 #diversity factor\n", - "LF=65 #%#Load Factor\n", - "Dinc=60 #%#Increase in maximum demand\n", - "L=L1+L2+L3+L4 #kW#Sum \n", - "L=L/1000 #MW\n", - "Dmax=L/df #MW\n", - "print \"Maximum demand on station = %0.3f MWh \" %Dmax\n", - "E=Dmax*365*24*LF/100 #MWh#Annual Energy\n", - "print \"Annual Energy Supplied = %0.0f MWh \"%E \n", - "Din_max=Dinc/100*Dmax #MW\n", - "C=Dmax+Din_max #MW\n", - "print \"Installed Capacity = %0.3f MW\"%C" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Maximum demand on station = 20.667 MWh \n", - "Annual Energy Supplied = 117676 MWh \n", - "Installed Capacity = 33.067 MW\n" - ] - } - ], - "prompt_number": 11 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.12 page 16" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#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/YhvUbS45J+LmnfPAPK3vchbwUYsTwitowcBiwpmSRpiaSXs/d4haQ9+vtc1tqcKCwvQY0P8jp5\nIvuQ3hLYH7gfuKX6g3xjSNqkB7sFUK+rh38DJgFfAN4NjAHmAn+1sQeSNLB/Q7Nm4kRhdSVpsKR/\nlfRE9rhY0qBs21BJ10h6WtLzkq6WtEPVa0dL+o2k1ZJuBLbr6Xkj4omImAJcCnw3O97O2VXHW38H\nktolTcyWT5N0m6SLJD0LTJH0Pkm/lvSspGck/UzS1tn+04FRwNXZVcyXOp9D0ghJ8yQ9J+khSZ+r\nOvfU7IpgWvYe75X0Z938HHcFTgdOjIj2iFgbEa9FxMyIqLy/t95L1fu5pep5h6TTJT0IPCjpEknf\n73SeX0o6oyr2q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], - "prompt_number": 12 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.13 page 17" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "LF=0.825 #Daily Load Factor\n", - "ratio1=0.87 #daily peak load to monthly peak load\n", - "ratio2=0.78 #monthly peak load to annually peak load\n", - "LF_annual=LF*ratio1*ratio2 #Annual Load Factor\n", - "print \"Annual Load Factor : %0.4f\" %LF_annual" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Annual Load Factor : 0.5598\n" - ] - } - ], - "prompt_number": 13 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.14 page 19" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#Transformer1\n", - "Lm=300 #kW\n", - "df_m=0.6 #demand factor\n", - "Lc=100 #kW#Commercial Load\n", - "df_c=0.5 #demand factor\n", - "#Transformer2\n", - "Lr2=500 #kW#Residential Load\n", - "df_Lr2=0.4 #demand factor\n", - "#Transformer3\n", - "Lr3=400 #kW\n", - "df_Lr3=0.5 #demand factor\n", - "#Diversity factors\n", - "df1=2.3 \n", - "df2=2.5 \n", - "df3=2 \n", - "DF=1.4 #Diversity factor between transformers\n", - "#Solution :\n", - "print \"Part(a)\" \n", - "Lp1=(Lm*df_m+Lc*df_c)/df1 #kW#Peak load on Transformer1\n", - "print \"Peak load on Transformer1 = %0.2f kW\"%Lp1\n", - "Lp2=Lr2*df_Lr2/df2 #kW#Peak load on Transformer2\n", - "print \"Peak load on Transformer2 = %0.2f kW\"%Lp2 \n", - "Lp3=Lr3*df_Lr3/df3 #kW#Peak load on Transformer3\n", - "print \"Peak load on Transformer3 = %0.2f kW \"%Lp3 \n", - "print \"Part(b)\" \n", - "LpF=(Lp1+Lp2+Lp3)/DF #Peak load on feeder\n", - "print \"Peak load on feeder = %0.2f kW \"%LpF " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Peak load on Transformer1 = 100.00 kW\n", - "Peak load on Transformer2 = 80.00 kW\n", - "Peak load on Transformer3 = 100.00 kW \n", - "Part(b)\n", - "Peak load on feeder = 200.00 kW \n" - ] - } - ], - "prompt_number": 14 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.16 page 23" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "L=[20, 25, 30 ,25 ,35 ,20] #MW\n", - "T=[6, 4, 2 ,4 ,4 ,4] #Hours\n", - "Lmax=max(L) #MW\n", - "print \"(a) Maximum demand = %0.2f MW \"%Lmax \n", - "E=L[0]*sum(T)+(L[1]-L[0])*T[1]+(L[2]-L[0])*T[2]+(L[3]-L[0])*T[3]+(L[4]-L[0])*T[4]+(L[5]-L[0])*T[5] #MWh\n", - "E=E*1000 #kWh\n", - "print \"(b) Units generated per day = %0.e kWh \"%E \n", - "Lavg=E/sum(T) #/kWh\n", - "Lavg=Lavg/1000 #/MW\n", - "print \"(c) Average Load = %0.2f MW \"%Lavg \n", - "LF=Lavg/Lmax*100 #%\n", - "print \"(d) Load Factor = %0.2f %%\" %LF" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "(a) Maximum demand = 35.00 MW \n", - "(b) Units generated per day = 6e+05 kWh \n", - "(c) Average Load = 25.00 MW \n", - "(d) Load Factor = 71.43 %\n" - ] - } - ], - "prompt_number": 15 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.17 page 24" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import acos, sin\n", - "pf=0.8 #power factor\n", - "delf=1 #%#drop in frequency(delf/f)\n", - "#delP=-2*(sind(theta))**2*delf\n", - "theta=acos(pf) #degree\n", - "delP_BY_delf=-2*sin(theta)**2 #increase in load wrt frequency\n", - "print \"1%% drop in frequency, Increased in Load = %0.2f %%\"%-delP_BY_delf " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "1% drop in frequency, Increased in Load = 0.72 %\n" - ] - } - ], - "prompt_number": 16 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.18 page 24" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "Lmax=100 #MW\n", - "LF=40 #%#Load Factor\n", - "Lavg=Lmax*LF/100 #MW\n", - "E=Lavg*24*365 #MWh\n", - "print \"Energy generated in a year = %0.f MWh \"%E " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Energy generated in a year = 350400 MWh \n" - ] - } - ], - "prompt_number": 17 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 1.19 page 25" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import sqrt\n", - "V=400 #V\n", - "s1=0.03 #initial slip\n", - "delV=1 #%#/Voltage Drop\n", - "R1=0.290 #ohm/phase\n", - "R2=0.15 #ohm/phase\n", - "X=0.7 #ohm/phase(X1+X2)\n", - "#V1**2*s1=V2**2*s2 for speed independent torque\n", - "#taking for calculating s2\n", - "V1=1 #V \n", - "V2=V1-V1*delV/100 #V\n", - "s2=V1**2/V2**2*s1 #slip\n", - "I2ByI1=sqrt((R1+R2/s1)**2+X**2)/sqrt((R1+R2/s2)**2+X**2)*(V2/V1)\n", - "delI=(I2ByI1-1)*100 #%#Current Increase\n", - "print \"1%% drop in Voltage increases current by = %0.2f %%\"%delI\n", - "#P=(R1+R2/s)*I**2\n", - "P2ByP1=(R1+R2/s2)/(R1+R2/s1)*I2ByI1**2 #ratio\n", - "delP=(1-P2ByP1)*100 #%#Power Decrease\n", - "print \"1%% drop in Voltage decreases power input by = %0.1f %%\"%delP \n", - "#Answer in the textbook is not accurate." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "1% drop in Voltage increases current by = 0.86 %\n", - "1% drop in Voltage decreases power input by = 0.2 %\n" - ] - } - ], - "prompt_number": 18 - } - ], - "metadata": {} - } - ] -}
\ No newline at end of file diff --git a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter2.ipynb b/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter2.ipynb deleted file mode 100755 index 3715bfd2..00000000 --- a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter2.ipynb +++ /dev/null @@ -1,1251 +0,0 @@ -{ - "metadata": { - "name": "", - "signature": "sha256:70df2c2ea162c91143e39d28a0492123af67480921c2426118d0264aa7d3e7f6" - }, - "nbformat": 3, - "nbformat_minor": 0, - "worksheets": [ - { - "cells": [ - { - "cell_type": "heading", - "level": 1, - "metadata": {}, - "source": [ - "Ch- 2 : Economic Operation of Power System & Unit Commitment" - ] - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.2 page 39" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from __future__ import division\n", - "from sympy.mpmath import quad\n", - "#For equal incremental cost\n", - "L1=125 #MW\n", - "L2=100 #MW\n", - "#For equal sharing\n", - "L=(L1+L2)/2 #MW\n", - "#Change in cost Unit 1\n", - "f1 = lambda P1:0.2*P1+30 \n", - "dC1=quad(f1,[L1,L]) #Rs./hour\n", - "#Change in cost Unit 2\n", - "f2 = lambda P2 : 0.15*P2+40\n", - "dC2=quad(f2,[L2,L]) #Rs./hour\n", - "dCyearly=(dC1+dC2)*24*365 #Rs./year\n", - "print \"Saving per year in economic load allocation = %0.2f Rs./year \"%(dCyearly) \n", - "#Answer in the textbook is not accurate." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Saving per year in economic load allocation = 239531.25 Rs./year \n" - ] - } - ], - "prompt_number": 1 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.3 page 43" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "L=400 #/MW#/total load\n", - "delPD=50 #MW#increase in demand\n", - "#dC1/dP1=0.2*P1+30\n", - "#dC2/dP2=0.15*P2+40\n", - "twoC1=0.2 #from above equation\n", - "twoC2=0.15 #from above equation\n", - "delP1_by_delPD=(1/twoC1)/(1/twoC1+1/twoC2) \n", - "delP2_by_delPD=(1/twoC2)/(1/twoC1+1/twoC2) \n", - "delP1=delP1_by_delPD*delPD #MW\n", - "print \"Increase in generation of unit1 = %0.2f MW \"%delP1 \n", - "delP2=delP2_by_delPD*delPD #MW\n", - "print \"Increase in generation of unit2 = %0.2f MW \"%delP2 \n", - "P1=L/2+delP1 #load on unit 1\n", - "print \"Total load on unit1 = %0.2f MW \"%P1 \n", - "P2=L/2+delP2 #load on unit 2\n", - "print \"Total load on unit2 = %0.2f MW\" %P2\n", - "print \"Checking incremental cost :\" \n", - "dC1_by_dP1=0.2*P1+30 #Rs./MWh\n", - "print \"Incremental cost of unit 1 = %0.2f Rs./MWh \"%dC1_by_dP1 \n", - "dC2_by_dP2=0.2*P2+30 #Rs./MWh\n", - "print \"Incremental cost of unit 2 = %0.2f Rs./MWh \"%dC2_by_dP2 \n", - "print \"Conclusion : Cost are same(Approximately).\" \n", - "#Note : Values calculated in the book are slightly wrong because of accuracy in calculation as compared to scilab accuracy." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Increase in generation of unit1 = 21.43 MW \n", - "Increase in generation of unit2 = 28.57 MW \n", - "Total load on unit1 = 221.43 MW \n", - "Total load on unit2 = 228.57 MW\n", - "Checking incremental cost :\n", - "Incremental cost of unit 1 = 74.29 Rs./MWh \n", - "Incremental cost of unit 2 = 75.71 Rs./MWh \n", - "Conclusion : Cost are same(Approximately).\n" - ] - } - ], - "prompt_number": 2 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.5 page 47" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import atan, cos\n", - "I1=0.8 #p.u.\n", - "I2=1 #p.u.\n", - "Za=0.04+1J*0.12 #p.u.\n", - "Zb=0.03+1J*0.1 #p.u.\n", - "Zc=0.03+1J*0.12 #p.u.\n", - "V=1 #p.u.\n", - "#Solution : \n", - "V1=V+(I1+I2)*Za+I1*(Zb) #p.u.\n", - "V2=V+(I1+I2)*Za+I2*(Zc) #p.u.\n", - "P1=(I1*V1).real #p.u.\n", - "P2=(I2*V2).real #p.u.\n", - "fi1=atan((V1.imag)/(V1.real)) \n", - "fi2=atan((V2.imag)/(V2.real)) \n", - "print \"Loss Coefficients are : \"\n", - "B11=((Za.real)+(Zb.real))/(abs(V1)**2*cos(fi1)**2) #p.u.\n", - "print \"B11 = %0.5f\"%B11,\"p.u.\" \n", - "B22=((Za.real)+(Zc.real))/(abs(V2)**2*cos(fi2)**2) #p.u.\n", - "print \"B22 = %0.4f\"%B22,\"p.u. \" \n", - "B12=((Za.real))/(abs(V1)*abs(V2)*cos(fi1)*cos(fi2)) #p.u.\n", - "print \"B12 = %0.4f\"%B12,\"p.u.\" \n", - "PL=P1**2*B11+P2**2*B22+2*P1*P2*B12 #p.u.\n", - "print \"Transmission Loss = %0.6f p.u.\" %PL\n", - "#Note : Values calculated in the book are slightly wrong because of accuracy in calculation as compared to scilab accuracy." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Loss Coefficients are : \n", - "B11 = 0.05827 p.u.\n", - "B22 = 0.0576 p.u. \n", - "B12 = 0.0331 p.u.\n", - "Transmission Loss = 0.178800 p.u.\n" - ] - } - ], - "prompt_number": 3 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.7 page 53" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import atan, degrees, cos, pi\n", - "Za=0.03+1J*0.09 #p.u.\n", - "Ia=1.5-1J*0.4 #p.u.\n", - "Zb=0.10+1J*0.30 #p.u.\n", - "Ib=0.5-1J*0.2 #p.u.\n", - "Zc=0.03+1J*0.09 #p.u.\n", - "Ic=1-1J*0.1 #p.u.\n", - "Zd=0.04+1J*0.12 #p.u.\n", - "Id=1-1J*0.2 #p.u.\n", - "Ze=0.04+1J*0.12 #p.u.\n", - "Ie=1.5-1J*0.3 #p.u.\n", - "V=1 #p.u.\n", - "base=100 #MVA\n", - "#Solution\n", - "#Currents of load\n", - "IL1=0.4 #p.u.\n", - "IL2=0.6 #p.u.\n", - "#Current distribution factors :\n", - "Na1=1; Na2=0 \n", - "Nb1=0.6; Nb2=-0.4 \n", - "Nc1=0 ;Nc2=1 \n", - "Nd1=0.4; Nd2=0.4 \n", - "Ne1=0.6 ;Ne2=0.6 \n", - "#Bus Voltages\n", - "V1=V+Ia*Za #p.u.\n", - "V2=V-Ib*Zb+Ic*Zc #p.u.\n", - "#Phase Angles\n", - "theta1=degrees(atan((Ia.imag)/(Ia.real)) )#degree\n", - "theta2=degrees(atan((Ic.imag)/(Ic.real)) )#degree\n", - "#Power Factors : \n", - "cos_fi1=cos(atan((V1.imag)/(V1.real))-theta1*pi/180) #source 1 power factor\n", - "cos_fi2=cos(atan((V2.imag)/(V2.real))-theta2*pi/180) #source 2 power factor\n", - "print \"Loss formula Coefficients in p.u. :\"\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*cos_fi1) #p.u.\n", - "print \"B11 = %0.5f p.u \"%B11 \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*cos_fi2) #p.u.\n", - "print \"B22 = %0.5f p.u\" %B22\n", - "B12=(Na1*Na2*(Za.real)+Nb1*Nb2*(Zb.real)+Nc1*Nc2*(Zc.real)+Nd1*Nd2*(Zd.real)+Ne1*Ne2*(Zc).real)/(abs(V1)*abs(V2)*cos_fi1*cos_fi2*(cos(theta1*pi/180-theta2*pi/180))) #p.u.\n", - "print \"B12 = %0.5f\"%B12,\"p.u \" \n", - "#Converting p.u. to actual value\n", - "print \"Loss formula Coefficients in MW**-1 :\"\n", - "B11=B11/base #MW**-1\n", - "print \"B11 = %0.5f\"%B11,\"MW**-1\" \n", - "B22=B22/base #MW**-1\n", - "print \"B22 = %0.5f\"%B22,\"MW**-1\" \n", - "B12=B12/base #MW**-1\n", - "print \"B12 = %0.5f\"%B12,\"MW**-1\" \n", - "#Note : Values calculated in the book are slightly wrong because of accuracy in calculation as compared to scilab accuracy." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Loss formula Coefficients in p.u. :\n", - "B11 = 0.07877 p.u \n", - "B22 = 0.07735 p.u\n", - "B12 = -0.00732 p.u \n", - "Loss formula Coefficients in MW**-1 :\n", - "B11 = 0.00079 MW**-1\n", - "B22 = 0.00077 MW**-1\n", - "B12 = -0.00007 MW**-1\n" - ] - } - ], - "prompt_number": 4 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.8 page 54" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#dC1/dP1=0.2*P1+22 #Rs./MWh\n", - "#dC2/dP2=0.15*P2+30 #Rs./MWh\n", - "B22=0; B12=0 #Because Loss is independent wrt P2\n", - "P1=100 #MW\n", - "PL=15 #MW\n", - "B11=PL/P1**2 #MW**-1\n", - "L1=1/(1-0.003*P1)#Penalty Factor plant 1\n", - "L2=1 #Penalty Factor of plant 2\n", - "lamda=60 \n", - "#lamda=dC1/dP1*L1=dC2/dP2*L2\n", - "#dC1/dP1*L1=dC2/dP2*L2\n", - "P2=((0.2*P1+22)*L1-30)/0.15 #MW\n", - "P=P1+P2-B11*P1**2 #MW#Total Load\n", - "print \"Required generation at plant1 = %0.2f MW \"%P1 \n", - "print \"Required generation at plant2 = %0.2f MW\" %P2\n", - "print \"Total Load = %0.2f MW \"%P " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Required generation at plant1 = 100.00 MW \n", - "Required generation at plant2 = 200.00 MW\n", - "Total Load = 285.00 MW \n" - ] - } - ], - "prompt_number": 5 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.9 page 55" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#dC1/dP1=0.2*P1+22 #Rs./MWh\n", - "#dC2/dP2=0.15*P2+30 #Rs./MWh\n", - "B22=0 ;B12=0 #Because Loss is independent wrt P2\n", - "P1=100 #MW\n", - "PL=15 #MW\n", - "B11=PL/P1**2 #MW**-1\n", - "L1=1/(1-0.003*P1) #Penalty Factor plant 1\n", - "L2=1 #Penalty Factor of plant 2\n", - "lamda=60 \n", - "#lamda=dC1/dP1*L1=dC2/dP2*L2\n", - "#dC1/dP1*L1=dC2/dP2*L2\n", - "P2=((0.2*P1+22)*L1-30)/0.15 #MW\n", - "P=P1+P2-B11*P1**2 #MW#Total Load\n", - "#dC1/dP1=dC2/dP2 neglecting transmission loss\n", - "#clear('P2') #for recalculation\n", - "#0.2*P1-0.15*P2-8=0 #/eqn(1)\n", - "#P1=0.75*P2+40 #P1+P2-B11*P1**2-P=0 #eqn(2)\n", - "#1.75*P2-B11*P1**2=P-40\n", - "#Eqn=[-B11 1.75 40-P] \n", - "from sympy import symbols, solve\n", - "P22 = symbols('P22')\n", - "Eqn=-B11*P22**2+1.75*P22+40-P \n", - "P22=solve(Eqn, P22)\n", - "P2=P22[0]#MW#neglecting higher value\n", - "P1=0.75*P2+40 #MW\n", - "from sympy.mpmath import quad\n", - "dC1=quad(lambda P: 0.2*P+22,[100,P1]) #Rs.#Additional Cost plant1\n", - "dC2=quad(lambda P: 0.15*P+30,[200,P2]) #Rs.#Decreased Cost plant2\n", - "dC=dC1+dC2 #Rs./hour#Net change in cost\n", - "print \"Taking transmission loss in account, Net saving per hour in fuel cost = %0.2f Rs./hour \"%dC \n", - "#Note : Values calculated in the book are slightly wrong because of accuracy in calculation as compared to scilab accuracy." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Taking transmission loss in account, Net saving per hour in fuel cost = 854.74 Rs./hour \n" - ] - } - ], - "prompt_number": 6 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.10 page 55" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "B11=0.001 #MW**-1\n", - "B22=0.0024 #MW**-1\n", - "B12=-0.0005 #MW**-1\n", - "#dC1/dP1=0.8*P1+16 #Rs./MWh\n", - "#dC2/dP2=0.08*P2+12 #Rs./MWh\n", - "lamda=20 \n", - "#Iterations for calculating value\n", - "P1 = range(0,10)\n", - "P1[0]=0 \n", - "P2 = range(0,10)\n", - "P2[0]=0 \n", - "for i in range(1,10):\n", - " P1[i] =( 0.2+0.001*P2[i-1])/0.006 \n", - " P2[i] = (0.4+0.001*P1[i])/0.0088 \n", - " if P1[i]==P1[i-1]:\n", - " break \n", - " \n", - "\n", - "P1=P1[i] #MW\n", - "print \"Generation P1 = %0.2f MW\" %P1\n", - "P2=P2[i] #MW\n", - "print \"Generation P2 = %02.f MW \"%P2 \n", - "PL=B11*P1**2+2*B12*P1*P2+B22*P2**2 #MW\n", - "print \"Transmission Loss = %0.2f MW \"%PL \n", - "Pr=P1+P2-PL #MW\n", - "print \"Received Power = %0.2f MW \"%Pr " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Generation P1 = 41.70 MW\n", - "Generation P2 = 50 MW \n", - "Transmission Loss = 5.69 MW \n", - "Received Power = 86.20 MW \n" - ] - } - ], - "prompt_number": 7 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.11 page 56" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#C1=561+7.92*P1+0.001562*P1**2 #Rs./hour\n", - "#C2=310+7.85*P2+0.00194*P2**2 #Rs./hour\n", - "a1=561 ;a2=310 \n", - "b1=7.92 ;b2=7.85 \n", - "c1=0.001562 ;c2=0.00194 \n", - "ce=c1*c2/(c1+c2) \n", - "be=ce*(b1/c1+b2/c2) \n", - "ae=a1-b1**2/4/c1+a2-b2**2/4/c2+be**2/4/ce \n", - "print \"Coefficients are : \" \n", - "print \"ae = \",(ae),\" & be = \",(be)\n", - "print \"ce = \",ce\n", - "from sympy import symbols\n", - "PT = symbols('PT') \n", - "CT = round(ae,2)+round(be,2)*PT+round(ce,4)*PT**2\n", - "print \"Cost Characteristics : \",CT\n", - "#print \"CT=870.753+7.8888*PT+0.0008653*PT**2\" " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Coefficients are : \n", - "ae = 870.650199886 & be = 7.88877784123\n", - "ce = 0.000865299828669\n", - "Cost Characteristics : 0.0009*PT**2 + 7.89*PT + 870.65\n" - ] - } - ], - "prompt_number": 8 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.12 page 57" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from sympy import symbols,solve\n", - "#C1=7700+52.8*P1+5.5*10**-3*P1**2 #Rs./hour\n", - "#C2=2500+15*P2+0.05*P2**2 #Rs./hour\n", - "a1=7700 ;a2=2500 \n", - "b1=52.8 ;b2=15 \n", - "c1=5.5*10**-3 ;c2=0.05 \n", - "P1, P2 = symbols('P1 P2')\n", - "dC1bydP1=52.8+2*5.5*10**-3*P1 \n", - "dC2bydP2=15+2*0.05*P2 \n", - "print \"For 1200 MW Load :\" \n", - "P=1200 #MW\n", - "#Let loads of unit are P1 & 1200-P1\n", - "#Economical Loading dC1/dP1=dC2/dP2\n", - "eqn=52.8+2*5.5*10**-3*P1-15-2*0.05*(1200-P1) \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=P-P1 #MW\n", - "print \"P1 = %0.2f MW \"%P1 \n", - "print \"P2 = %0.2f MW \"%P2 \n", - "print \"For 900 MW Load :\" \n", - "P=900 #MW\n", - "#clear('P1','P2') \n", - "P1, P2 = symbols('P1 P2')\n", - "#Let loads of unit are P1 & 900-P1\n", - "#Economical Loading dC1/dP1=dC2/dP2\n", - "eqn=52.8+2*5.5*10**-3*P1-15-2*0.05*(900-P1) \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=P-P1 #MW\n", - "print \"P1 = %0.2f MW \"%P1 \n", - "print \"P2 = %0.2f MW \"%P2 \n", - "print \"For 500 MW Load :\" \n", - "P=500 #MW\n", - "#clear('P1','P2') \n", - "P1, P2 = symbols('P1 P2')\n", - "#Let loads of unit are P1 & 500-P1\n", - "#Economical Loading dC1/dP1=dC2/dP2\n", - "eqn=52.8+2*5.5*10**-3*P1-15-2*0.05*(500-P1) \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=P-P1 #MW\n", - "#Minimum load is 200MW\n", - "if P1<200:\n", - " P2=P1+P2\n", - " P1=0 \n", - "print \"P1 = %0.2f MW \"%P1 \n", - "print \"P2 = %0.2f MW \"%P2 \n", - "C=(2500+15*P2+0.05*P2**2)*10 #Rs.#Operating cost for 10 hour\n", - "print \"Operating cost for 10 hour = %0.2f Rs. \"%C \n", - "print \"Other option : \" \n", - "P1=200 #MW\n", - "P2=300 #MW\n", - "print \"P1 = %0.2f MW \"%P1 \n", - "print \"P2 = %0.2f MW \"%P2 \n", - "C1=7700+52.8*P1+5.5*10**-3*P1**2 #Rs./hour\n", - "C2=2500+15*P2+0.05*P2**2 #Rs./hour\n", - "C=10*(C1+C2) #Rs.#Operating cost for 10 hour\n", - "print \"Operating cost for 10 hour = %0.2f Rs. \"%C \n" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "For 1200 MW Load :\n", - "P1 = 740.54 MW \n", - "P2 = 459.46 MW \n", - "For 900 MW Load :\n", - "P1 = 470.27 MW " - ] - }, - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "\n", - "P2 = 429.73 MW \n", - "For 500 MW Load :\n", - "P1 = 0.00 MW \n", - "P2 = 500.00 MW \n", - "Operating cost for 10 hour = 225000.00 Rs. \n", - "Other option : \n", - "P1 = 200.00 MW \n", - "P2 = 300.00 MW \n", - "Operating cost for 10 hour = 299800.00 Rs. \n" - ] - } - ], - "prompt_number": 9 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.13 page 58" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#C1=2000+20*P1+0.05*P1**2 #Rs./hour\n", - "#C2=2750+26*P2+0.03091*P2**2 #Rs./hour\n", - "P1=350 #MW\n", - "P2=550 #MW\n", - "C1=2000+20*P1+0.05*P1**2 #Rs./hour\n", - "C2=2750+26*P2+0.03091*P2**2 #Rs./hour\n", - "C=C1+C2 #Rs./hour\n", - "print \"(a) Total Cost = %0.2f Rs./hour \"%C \n", - "P=P1+P2 #MW#Total Load\n", - "P1, P2 = symbols('P1 P2')\n", - "dC1bydP1=20+2*0.05*P1 \n", - "dC2bydP2=26+2*0.03091*P2 \n", - "print \"(b) For Economic Scheduling\"\n", - "#dC1/dP1=dC2/dP2 for economic sheduling\n", - "#Let loads of unit are P1 & P-P1\n", - "eqn=20+2*0.05*P1-26-2*0.03091*(P-P1) \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=P-P1 #MW\n", - "print \"Loads P1 & P2 = %0.2f & %0.2f MW\"%(P1, P2)\n", - "C1=2000+20*P1+0.05*P1**2 #Rs./hour\n", - "C2=2750+26*P2+0.03091*P2**2 #Rs./hour\n", - "Cnew=C1+C2 #Rs./hour\n", - "print \"Total Cost = %0.2f Rs./hour \"%Cnew \n", - "saving=C-Cnew #Rs./hour\n", - "print \"Total saving %0.2f Rs./hour \"%saving \n", - "Lt=P1-350 #MW#Tie line load\n", - "print \"Tie line load from Plant1 to Plant2 = %0.2f MW \"%Lt" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "(a) Total Cost = 41525.28 Rs./hour \n", - "(b) For Economic Scheduling\n", - "Loads P1 & P2 = 380.90 & 519.10 MW" - ] - }, - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "\n", - "Total Cost = 41448.00 Rs./hour \n", - "Total saving 77.28 Rs./hour \n", - "Tie line load from Plant1 to Plant2 = 30.90 MW \n" - ] - } - ], - "prompt_number": 10 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.14 page 59" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#C=5000+450*P+0.5*P**2 #Rs./hour\n", - "e1=+2 #%#error\n", - "e2=-2 #%#error\n", - "P=200 #MW#Total Load\n", - "#Considering error\n", - "P1, P2 = symbols('P1 P2')\n", - "C1=(5000+450*P+0.5*P1**2)*0.98 #Rs./hour\n", - "C2=(5000+450*P+0.5*P2**2)*1.02 #Rs./hour\n", - "#Let loads of unit are P1 & P-P1\n", - "#dC1/dP1=dC2/dP2 for economic sheduling\n", - "eqn=450*0.98+2*0.5*P1*0.98-450*1.02-2*0.5*(P-P1)*1.02 \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=P-P1 #MW\n", - "#if no instrumention error\n", - "C1=(5000+450*P1+0.5*P1**2)*0.98 #Rs./hour\n", - "C2=(5000+450*P2+0.5*P2**2)*1.02 #Rs./hour\n", - "C=C1+C2 #Rs./hour\n", - "#Due to intrumentation error\n", - "P1=P/2 #MW\n", - "P2=P/2 #MW\n", - "C1=(5000+450*P1+0.5*P1**2)*0.98 #Rs./hour\n", - "C2=(5000+450*P2+0.5*P2**2)*1.02 #Rs./hour\n", - "Cerr=C1+C2 #Rs./hour\n", - "Cextra=Cerr-C #Rs,/hour\n", - "print \"Extra operating cost = %0.2f Rs./hour \"%Cextra " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Extra operating cost = 121.00 Rs./hour \n" - ] - } - ], - "prompt_number": 11 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.15 page 59" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "P1, P2, P3 = symbols('P1 P2 P3')\n", - "Q1=0.002*P1**2+0.86*P1+20 #tons/hour\n", - "Q2=0.004*P2**2+1.08*P2+20 #tons/hour\n", - "Q3=0.0028*P3**2+0.64*P3+36 #tons/hour\n", - "Pmax=120 #MW\n", - "Pmin=36 #MW\n", - "P=200 #MW\n", - "C=500 #Rs./ton\n", - "#C1=C*Q1 C2=C*Q2 C3=C*Q3 #Rs./ton\n", - "dC1bydP1=2*P1+430 #Rs./hour\n", - "dC2bydP2=4*P2+540 #Rs./hour\n", - "dC3bydP3=2.8*P3+320 #Rs./hour\n", - "#P1+P2+P3=P\n", - "A1=[1 ,1 ,1] #Coefficient Matrix\n", - "B1=[P] #Coefficient Matrix\n", - "#For minimal cost above 3 equation should be equal\n", - "#eqn1=2*P1-4*P2+430-540 \n", - "#eqn2=4*P2-2.8*P3-320+540 \n", - "A2=[0 ,4 ,-2.8] #Coefficient Matrix\n", - "B2=[-540+320] #Coefficient Matrix\n", - "#eqn3=-2*P1+2.8*P3+320-430 \n", - "A3=[-2 ,0 ,2.8] #Coefficient Matrix\n", - "B3=[430-320] #Coefficient Matrix\n", - "#solving by matrix method\n", - "import numpy as np\n", - "A=np.mat([A1[:] ,A2[:], A3[:]]) #Coefficient Matrix\n", - "B=[B1 ,B2 ,B3] #Coefficient Matrix\n", - "X=A**-1*B #Solution Matrix\n", - "P1=X[0] #MW\n", - "P2=X[1] #MW\n", - "P3=X[2] #MW\n", - "Pmax=120 #MW\n", - "Pmin=36 #MW\n", - "if P2<Pmin:\n", - " P2=Pmin #MW \n", - "\n", - "#P1+P3=P-P2#eqn(4)\n", - "A1=[1 ,1] #Coefficient Matrix\n", - "B1=[P-P2] #Coefficient Matrix\n", - "#eqn3=-2*P1+2.8*P3+320-430 \n", - "A2=[-2, 2.8] #Coefficient Matrix\n", - "B2=[430-320] #Coefficient Matrix\n", - "#solving by matrix method\n", - "A=np.mat([A1[:], A2[:]]) #Coefficient Matrix\n", - "B=np.mat([B1[:], B2[:]]) #Coefficient Matrix\n", - "X=A**-1*B #Solution Matrix\n", - "P1=X[0] #MW\n", - "P3=X[1] #MW\n", - "print \"According to optimum scheduling, Load distriution is :\" \n", - "print \"P1 = %0.2f MW \"%P1 \n", - "print \"P2 = %0.2f MW \"%P2 \n", - "print \"P3 = %0.2f MW \"%P3 " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "According to optimum scheduling, Load distriution is :\n", - "P1 = 72.75 MW \n", - "P2 = 36.00 MW \n", - "P3 = 91.25 MW \n" - ] - } - ], - "prompt_number": 12 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.16 page 60" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "L=30 #MW\n", - "#I=(32+32*L+1.68*L**2)*10**5 \n", - "t1=18 #/hours\n", - "t2=6 #/hours\n", - "#Full load 18 hours\n", - "I1=(32+32*L+1.68*L**2)*10**5*t1 #kJ\n", - "#Half load 6 hours\n", - "I2=(32+32*L/2+1.68*(L/2)**2)*10**5*t2\n", - "I=I1+I2 #kJ\n", - "print \"(a) Heat input per day = %0.2e kJ \"%I \n", - "E=L*t1+L/2*t2 #MWh#/Energy produced in 24 hours\n", - "Lu=E/(t1+t2) #MW\n", - "Inew=(32+32*Lu+1.68*Lu**2)*10**5*(t1+t2) #kJ\n", - "saving=I-Inew #/kJ\n", - "saving=saving/(E*1000) #kJ/kWh\n", - "print \"(b) Saving in heat per kWh of energy = %0.2f kJ/kWh \" %saving" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "(a) Heat input per day = 5.04e+09 kJ \n", - "(b) Saving in heat per kWh of energy = 270.00 kJ/kWh \n" - ] - } - ], - "prompt_number": 13 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.17 page 61" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "P=800 #MW(Total Load)\n", - "#Using Variable for Cost Curve Equation\n", - "P1, P2, P3 = symbols('P1 P2 P3')\n", - "#Cost Curve Equation\n", - "C1=450+6.5*P1+0.0013*P1**2 #Rs./hour\n", - "C2=300+7.8*P2+0.0019*P2**2 #Rs./hour\n", - "C3=80+8.1*P3+0.005*P3**2 #Rs./hour\n", - "#Part(a) is not computational\n", - "#Part (b)\n", - "dC1BydP1=6.5+2*0.0013*P1 #Rs./MWh#/eqn(1)\n", - "dC2BydP2=7.8+2*0.0019*P2 #Rs./MWh#/eqn(2)\n", - "dC3BydP3=8.1+2*0.005*P3 #Rs./MWh#/eqn(3)\n", - "#P1+P2+P3=P #MW#/eqn(4)\n", - "A1=[1 ,1 ,1] #Coefficient Matrix\n", - "B1=[800] #Coefficient Matrix\n", - "#Equating eqn(1) & (2)\n", - "A2=[2*0.0013, -2*0.0019, 0] #Coefficient Matrix\n", - "B2=[7.8-6.5] #Coefficient Matrix\n", - "#Equating eqn(2) & (3)\n", - "A3=[0 ,2*0.0019, -2*0.005] #Coefficient Matrix\n", - "B3=[8.1-7.8] #Coefficient Matrix\n", - "#Solution By Matrix method\n", - "import numpy as np\n", - "A=np.mat([A1[:], A2[:], A3]) #Coefficient Matrix\n", - "B=np.mat([B1[:], B2[:], B3[:]]) #Coefficient Matrix\n", - "X=A**-1*B #Solution Matrix\n", - "P1=X[0] #MW\n", - "P2=X[1] #MW\n", - "P3=X[2] #MW\n", - "print \"(b) According to optimum scheduling, Load distriution is :\" \n", - "print \"P1 = %0.2f MW\" %P1\n", - "print \"P2 = %0.2f MW\" %P2\n", - "print \"P3 = %0.2f MW\" %P3\n", - "#Part(c)\n", - "print \"(c) Optimum scheduling : \" \n", - "P1max=600 #MW\n", - "P1min=100 #MW\n", - "P2max=400 #MW\n", - "P2min=50 #MW\n", - "P3max=200 #MW\n", - "P3min=50 #MW\n", - "if P2<P2max and P2>P2min:\n", - " print \"P2 is within maximum and minimum limits.\" \n", - " P1=P1max #MW\n", - " P3=P3min #MW\n", - " P2=P-P1-P3 #MW\n", - "\n", - "#Lambda=dC2/dP2 as P2 is niether maximum limit nor minimum limit.\n", - "dC2BydP2=7.8+2*0.0019*P2 #Rs./MWh\n", - "lamda=dC2BydP2 #Rs./MWh\n", - "dC1BydP1=6.5+2*0.0013*P1 #Rs./MWh\n", - "dC3BydP3=8.1+2*0.005*P3 #Rs./MWh\n", - "if dC1BydP1<lamda :\n", - " print \"Condition for P1 satisfied.\" \n", - "\n", - "if dC3BydP3>lamda:\n", - " print \"Condition for P3 satisfied.\" \n", - "\n", - "print \"Load distribution is : \" \n", - "print \"P1 = %0.2f MW\" %P1\n", - "print \"P2 = %0.2f MW\" %P2\n", - "print \"P3 = %0.2f MW\" %P3" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "(b) According to optimum scheduling, Load distriution is :\n", - "P1 = 669.73 MW\n", - "P2 = 116.13 MW\n", - "P3 = 14.13 MW\n", - "(c) Optimum scheduling : \n", - "P2 is within maximum and minimum limits.\n", - "Condition for P1 satisfied.\n", - "Condition for P3 satisfied.\n", - "Load distribution is : \n", - "P1 = 600.00 MW\n", - "P2 = 150.00 MW\n", - "P3 = 50.00 MW\n" - ] - } - ], - "prompt_number": 14 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.18 page 62" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "import numpy as np\n", - "Bmn=np.mat([[0.0676, 0.00953, -0.00507],[0.00953 ,0.0521, 0.00901],[-0.00507, 0.00901, 0.0294]]) #Loss Coefficient\n", - "Bno=np.mat([[-0.0766],[0.00342],[0.0189]]) #Loss Coefficient\n", - "Boo=0.04357 #Loss Coefficient\n", - "P1=107.9 #MW\n", - "P2=50 #MW\n", - "P3=60 #MW\n", - "#solution : \n", - "#PL=np.mat([[P1], [P2], [P3]])*Bmn+np.mat([[P1], [P2], [P3]])*Bno+Boo #MW\n", - "PL=np.mat([P1, P2, P3])*Bmn+np.mat([P1, P2, P3])*Bno+Boo #MW\n", - "pl= 0\n", - "for x in range(0,1):\n", - " for y in range(0,3):\n", - " pl+= PL[x,y]\n", - "print \"Transmission Loss = %0.2f MW \"%-pl \n", - "#Note : Values calculated in the book are slightly wrong because of accuracy in calculation as compared to scilab accuracy." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Transmission Loss = 7.44 MW \n" - ] - } - ], - "prompt_number": 15 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.19 page 64" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#lambda1=0.1*P1+20 #Rs./MWh\n", - "#lambda2=0.12*P2+16 #Rs./MWh\n", - "P=180 #MW\n", - "#Let loads are P1 & P-P1\n", - "#Economical loading lambda1=lambda2\n", - "P1, P2 = symbols('P1 P2')\n", - "eqn=0.1*P1+20-0.12*(P-P1)-16 \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=P-P1 #MW\n", - "print \"Load P1 = %0.2f MW \"%P1 \n", - "print \"Load P2 = %0.2f MW \"%P2" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Load P1 = 80.00 MW \n", - "Load P2 = 100.00 MW \n" - ] - } - ], - "prompt_number": 16 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.20 page 65" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#F1=0.004*P1**2+2*P1+80 #Rs./hr\n", - "#F2=0.006*P2**2+1.5*P2+100 #Rs./hr\n", - "P=250 #MW\n", - "P1, P2 = symbols('P1 P2')\n", - "dF1bydP1=2*0.004*P1+2 \n", - "dF2bydP2=2*0.006*P2+1.5 \n", - "#Let loads are P1 & P-P1\n", - "#Economical loading lambda1=lambda2\n", - "eqn=2*0.004*P1+2-2*0.006*(P-P1)-1.5 \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=P-P1 #MW\n", - "print \"Load P1 = %0.2f MW \"%P1 \n", - "print \"Load P2 = %0.2f MW \"%P2" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Load P1 = 125.00 MW \n", - "Load P2 = 125.00 MW \n" - ] - } - ], - "prompt_number": 17 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.21 page 65" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#F1=(8*P1+0.024*P1**2+80)*10**6 #Btu./hr\n", - "#F2=(6*P2+0.04*P2**2+120)*10**6 #Btu./hr\n", - "Pmax=100 #MW\n", - "Pmin=10 #MW\n", - "C=2.5 #Rs./million Btu\n", - "#C1=2.5*F1/10**6\n", - "#C2=2.5*F2/10**6\n", - "#For Maximum Load of 100 MW\n", - "P1, P2 = symbols('P1 P2')\n", - "dC1bydP1=8*2.5+2.5*2*0.024*P1 \n", - "dC2bydP2=6*2.5+2.5*2*0.04*P2 \n", - "#Let loads are P1 & Pmax-P1\n", - "#Economical loading lambda1=lambda2\n", - "eqn=8*2.5+2.5*2*0.024*P1-6*2.5-2.5*2*0.04*(Pmax-P1) \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=Pmax-P1 #MW\n", - "C1=2.5*((8*P1+0.024*P1**2+80)*10**6)/10**6 #Rs./hour\n", - "C2=2.5*((6*P2+0.04*P2**2+120)*10**6)/10**6 #Rs./hour\n", - "C100=(C1+C2)*12 #Rs.(Total cost of 12 hours on 100MW load)\n", - "#For Maximum load of 50 MW\n", - "#Let loads are P1 & Pmax-P1\n", - "#Economical loading : lambda1=lambda2\n", - "Pmax1=50 #MW\n", - "P1, P2 = symbols('P1 P2')\n", - "eqn=8*2.5+2.5*2*0.024*P1-6*2.5-2.5*2*0.04*(Pmax1-P1) \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P2=Pmax1-P1 #MW\n", - "C1=2.5*((8*P1+0.024*P1**2+80)*10**6)/10**6 #Rs./hour\n", - "C2=2.5*((6*P2+0.04*P2**2+120)*10**6)/10**6 #Rs./hour\n", - "C50=(C1+C2)*12 #Rs.(Total cost of 12 hours on 50MW load)\n", - "C=C100+C50 #Rs.(Total cost for 24 hours)\n", - "print \"Minimum total cost for 24 hours = %0.2f Rs. \"%C \n", - "E=(Pmax*12+Pmax1*12)*10**3 #kWh\n", - "#Operating cost per unit energy\n", - "Co=C/E #Rs./kWh\n", - "print \"Operating cost per unit energy = %0.2f Rs./kWh \"%Co \n", - "#Answer is wrong in the textbook. Calculation mistake in energy generation calculation & Cost calculation.\n" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Minimum total cost for 24 hours = 49312.50 Rs. \n", - "Operating cost per unit energy = 0.03 Rs./kWh \n" - ] - } - ], - "prompt_number": 18 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.22 page 66" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#F1=0.05*P1**2+21.5*P1+800 #Rs./hr\n", - "#F2=0.1*P2**2+27*P2+500 #Rs./hr\n", - "#F3=0.07*P3**2+16*P3+900 #Rs./hr\n", - "PT=200 #MW\n", - "Pmax=120 #MW\n", - "Pmin=39 #MW\n", - "#coefficients : \n", - "c1=0.05; c2=0.1; c3=0.07 \n", - "b1=21.5 ;b2=27 ;b3=16 \n", - "a1=800 ;a2=500 ;a3=900 \n", - "lamda=(1/2*(b1/c1+b2/c2+b3/c3)+PT)/(1/2*(1/c1+1/c2+1/c3)) \n", - "#Economical loading dF1/dP1=dF2/dP2=dF3/dP3\n", - "from sympy import symbols, solve\n", - "P1=symbols('P1') \n", - "P2=symbols('P2') \n", - "P3=symbols('P3') \n", - "dF1bydP1=2*0.05*P1+21.5 \n", - "dF2bydP2=2*0.1*P2+27 \n", - "dF2bydP3=2*0.07*P3+16 \n", - "#Solving equation :\n", - "import numpy as np\n", - "A=np.mat([[2*0.05 ,0 ,0] ,[0 ,2*0.1, 0], [0, 0, 2*0.07]]) \n", - "B=np.mat([[lamda-21.5], [lamda-27], [lamda-16]]) \n", - "X=A**-1*B \n", - "P1=X[0] #MW\n", - "P2=X[1] #MW\n", - "P3=X[2] #MW\n", - "if P2<Pmin:\n", - " P2=Pmin \n", - "\n", - "P1plusP3=PT-P2 #MW\n", - "#dF1/dP1=dF3/dP3\n", - "#Let loads are P1 & P1plusP3-P1\n", - "P1=symbols('P1') \n", - "P3=symbols('P3') \n", - "eqn=2*0.05*P1+21.5-2*0.07*(P1plusP3-P1)-16 \n", - "P1=solve(eqn, P1)[0] #MW\n", - "P3=P1plusP3-P1 #MW\n", - "print \"Optimum scheduling :\" \n", - "print \"Loads P1, P2 & P3 are %0.2f, %0.2f & %0.2f MWs \" %(P1, P2, P3)\n", - "F1=0.05*P1**2+21.5*P1+800 #Rs./hr\n", - "F2=0.1*P2**2+27*P2+500 #Rs./hr\n", - "F3=0.07*P3**2+16*P3+900 #Rs./hr\n", - "C=F1+F2+F3 #Rs/hour\n", - "print \"For this schedule, total cost per hour = %0.2f Rs./hour \" %C" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Optimum scheduling :\n", - "Loads P1, P2 & P3 are 71.00, 39.00 & 90.00 MWs \n", - "For this schedule, total cost per hour = 7190.65 Rs./hour \n" - ] - } - ], - "prompt_number": 19 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.23 page 67" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#dF1/dP1=0.025*P1+15 #\n", - "#dF2/dP2=0.05*P2+20 #\n", - "PL=15.625 #MW\n", - "P1=125 #MW\n", - "lamda=24 #Rs. per MWh\n", - "B11=PL/P1**2 #Coefficient Loss\n", - "#dF2/dP2*L2=lambda\n", - "P2=symbols('P2') \n", - "L2=1 #penalty factor\n", - "eqn=(0.05*P2+20)*L2-lamda \n", - "P2=solve(eqn, P2)[0] #MW\n", - "#PL=B11*P1**2\n", - "P1=symbols('P1') \n", - "dPLbydP1=2*B11*P1 \n", - "L1=1/(1-dPLbydP1) #penalty factor\n", - "eqn=(0.025*P1+15)-lamda/L1\n", - "#P1=solve(numer(eqn)) #MW\n", - "P1=solve((eqn), P1)[0] #MW\n", - "print \"Generation P1 & P2 are %0.2f & %0.2f MW\"%(P1, P2)\n", - "PL=B11*P1**2 #MW\n", - "LD=P1-PL+P2 #MW\n", - "print \"Load Demand = %0.2f MW \"%LD " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Generation P1 & P2 are 123.29 & 80.00 MW\n", - "Load Demand = 188.09 MW \n" - ] - } - ], - "prompt_number": 20 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 2.24 page 68" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "#dC1/dP1=0.02*P1+16 #\n", - "#dC2/dP2=0.04*P2+20 #\n", - "PL=10 #MW\n", - "P1=100 #MW\n", - "lamda=25 #Rs. per MWh\n", - "B11=PL/P1**2; B22=0; B12=0 #Coefficient Loss\n", - "#dF2/dP2*L2=lambda\n", - "P2=symbols('P2') \n", - "L2=1 #penalty factor\n", - "eqn=(0.04*P2+20)*L2-lamda \n", - "P2=solve(eqn, P2)[0] #MW\n", - "#PL=B11*P1**2\n", - "P1=symbols('P1') \n", - "dPLbydP1=2*B11*P1 \n", - "L1=1/(1-dPLbydP1) #penalty factor\n", - "eqn=(0.02*P1+16)-lamda/L1\n", - "P1=solve((eqn), P1)[0] #MW\n", - "print \"Generation P1 & P2 are %0.2f & %0.2f MW\"%(P1, P2)\n", - "PL=B11*P1**2 #MW\n", - "LD=P1-PL+P2 #MW\n", - "print \"Load Demand = %0.2f MW \"%LD" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Generation P1 & P2 are 128.57 & 125.00 MW\n", - "Load Demand = 237.04 MW \n" - ] - } - ], - "prompt_number": 21 - } - ], - "metadata": {} - } - ] -}
\ No newline at end of file diff --git a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter3.ipynb b/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter3.ipynb deleted file mode 100755 index f49e3430..00000000 --- a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter3.ipynb +++ /dev/null @@ -1,209 +0,0 @@ -{ - "metadata": { - "name": "", - "signature": "sha256:069f3652d0985b68c88deb4b29ec7c9faf615f62221a7a1d559cf07f972df11e" - }, - "nbformat": 3, - "nbformat_minor": 0, - "worksheets": [ - { - "cells": [ - { - "cell_type": "heading", - "level": 1, - "metadata": {}, - "source": [ - "Ch-3 : Hydrothermal Coordination" - ] - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 3.1 page 83" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from __future__ import division\n", - "head=205 #m(Mean Head)\n", - "A=1000 #km**2(Catchment area)\n", - "rf=125 #cm(Annual Rainfall)\n", - "a=80 #%(Available rainfall for power generation)\n", - "LF=75 #%(Load factor)\n", - "head_loss=5 #m(Head Loss)\n", - "Eta_turbine=0.9 #Efficiency of turbine\n", - "Eta_generator=0.95 #Efficiency of generator\n", - "#Calculation\n", - "WaterUsed=A*10**6*rf/100*a/100 #m**3/year(Discharge)\n", - "WaterUsed=WaterUsed/(365*24*60*60) #m**3/sec\n", - "Eff_Head=head-head_loss #m(Effective Head)\n", - "P=735.5/75*WaterUsed*Eff_Head*Eta_turbine*Eta_generator/1000 #MW(Load of station)\n", - "Ppeak=P/(LF/100) #MW(Peak Load )\n", - "print \"MW rating of station = %0.2f MW\"%Ppeak \n", - "#type ot turbine\n", - "if head>200:\n", - " print \"Pelton turbine is more suitable because head>200 meter.\" \n", - "else:\n", - " print \"Pelton turbine is not suitable\"" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "MW rating of station = 70.90 MW\n", - "Pelton turbine is more suitable because head>200 meter.\n" - ] - } - ], - "prompt_number": 1 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 3.2 page 85" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "WF=50 #m**3/sec(Water flow)\n", - "head=90 #m\n", - "LF=75 #%(Load factor)\n", - "Eta=90 #%(Efficiency of hydro plant)\n", - "L=5 #%(Transmission losses)\n", - "TC=350 #MW\n", - "hp=140 #MW#Hydro power\n", - "#Calculation\n", - "P=735.5/75*WF*head*Eta/100/1000 #MW(Power available)\n", - "Pnet=P*(100-L)/100 #MW#/Net Available hydro power\n", - "E=Pnet*24 #MW-hours##Hydro Energy\n", - "print \"Available hydro energy = %0.2f MW-hours\"%E\n", - "C1=hp/((100-L)/100) #MW#Capacity of hydro plant\n", - "print \"Capacity of hydro plant = %0.2f MW \"%C1 \n", - "C2=TC-hp #MW#Capacity of thermal plant\n", - "print \"Capacity of thermal plant = %0.2f MW \"%C2" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Available hydro energy = 905.55 MW-hours\n", - "Capacity of hydro plant = 147.37 MW \n", - "Capacity of thermal plant = 210.00 MW \n" - ] - } - ], - "prompt_number": 2 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 3.3 page 92" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "P1=700 #MW(Load for 14 hours)\n", - "P2=500 #MW(Load for 10 hours)\n", - "B22=0.0005 #Loss Coefficient\n", - "t1=14 #hour\n", - "t2=10 #hour\n", - "r2=2.5 #Rs/hour/(m**3/sec\n", - "#Characteristics of units : \n", - "#C1=(24+0.02*P1)*P1 #Rs./hour\n", - "#W2=(6+0.0025*P2)*P2 #m**3/sec\n", - "lamda=37.944 #Rs./MWh(For peak load conditions)\n", - "P1=348.6 #MW(For peak load conditions)\n", - "P2=454.84 #MW(For peak load conditions)\n", - "PL=103.44 #MW(For peak load conditions)\n", - "lambda_dash=31.73 #Rs./MWh(For peak load conditions)\n", - "P1_dash=193.25 #MW(For peak off conditions)\n", - "P2_dash=378.25 #MW(For peak off conditions)\n", - "PL_dash=71.50 #MW(For peak off conditions)\n", - "W=((6+0.0025*P2)*P2*t1+(6+0.0025*P2_dash)*P2_dash*t2)*3600/10**3 #m**3#D3ily water used\n", - "print \"Daily water used by plant = %0.2f m**3\" %W\n", - "C=(24+0.02*P1)*P1*t1+(24+0.02*P1_dash)*P1_dash*t2 #Rs.\n", - "print \"Daily operating cost of plant = %0.2f Rs. \"%C " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Daily water used by plant = 258189.00 m**3\n", - "Daily operating cost of plant = 205004.86 Rs. \n" - ] - } - ], - "prompt_number": 3 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 3.4 page 93" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "\n", - "t1=14 #hour(working hour of hydro station)\n", - "t2=24 #hour(Working hour of steam station)\n", - "#Characteristics of units : \n", - "#C=(5+8*Ps+0.05*Ps**2) #Rs./hour\n", - "#dW/dPh=30+0.05*Ph #m**3/MW-sec\n", - "W=500*10**6 #m**3(Water Quantity used)\n", - "Ps=250 #MW(Load on steam station)\n", - "lamda=8+0.1*Ps #Rs./MW-hour\n", - "#W=Ph*(30+0.05*Ph)*t1*3600 #\n", - "#0.05*Ph**2*t1*3600+Ph*30*t1*3600-W=0\n", - "from sympy import symbols, solve\n", - "Ph=symbols('Ph') \n", - "Ph=solve(0.05*Ph**2*t1*3600+Ph*30*t1*3600-W, Ph) #MW\n", - "Ph=Ph[1] #MW#Leaving negative root\n", - "print \"Load on hydro plant = %0.2f MW\"%Ph \n", - "r=lamda/(30+0.05*Ph) #Rs./hour/(m**3/sec)\n", - "print \"Cost of water use = %0.2f Rs./hour/(m**3/sec)\"%r \n", - "#Answer is slightly differ due to accuracy in calculations." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Load on hydro plant = 237.04 MW\n", - "Cost of water use = 0.79 Rs./hour/(m**3/sec)\n" - ] - } - ], - "prompt_number": 4 - } - ], - "metadata": {} - } - ] -}
\ No newline at end of file diff --git a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter4.ipynb b/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter4.ipynb deleted file mode 100755 index 79e88e49..00000000 --- a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter4.ipynb +++ /dev/null @@ -1,377 +0,0 @@ -{ - "metadata": { - "name": "", - "signature": "sha256:d4343686248bdcf3008e99590e00a02578e59b6d649633ef952a482176f262f1" - }, - "nbformat": 3, - "nbformat_minor": 0, - "worksheets": [ - { - "cells": [ - { - "cell_type": "heading", - "level": 1, - "metadata": {}, - "source": [ - "Ch-4 : Modelling of Turbine, Generator & Automatic Controllers" - ] - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 4.1 page 107" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "kVA=4000 #kVA#rating\n", - "f1_nl=50 #Hz(No load frequency of machine1)\n", - "f1_fl=47.5 #Hz(No load frequency of machine1)\n", - "f2_nl=50 #Hz(No load frequency of machine2)\n", - "f2_fl=48 #Hz(No load frequency of machine2)\n", - "L=6000 #kW(Load)\n", - "from sympy import symbols, solve\n", - "L1=symbols('L1') #Load of machine1\n", - "#f1_nl-(f1_nl-f1_fl)*L1/kVA=f1_nl-(f2_nl-f2_fl)*L2/kVA where L2=L-L1\n", - "L1=(f2_nl-f2_fl)*L/((f1_nl-f1_fl)+(f2_nl-f2_fl)) #kW\n", - "L2=L-L1 #kW\n", - "print \"Part(a)\" \n", - "print \"Load supplied by first machine = %0.2f kW\"%L1 \n", - "print \"Load supplied by second machine = %0.2f kW \"%L2 \n", - "print \"Part(b)\" \n", - "L2=4000 #kW#Machine2 is supplying 4000kW\n", - "fdrop1=f1_nl-f1_fl #Hz(frequency drop of machine 1)\n", - "fdrop2=f2_nl-f2_fl #Hz(frequency drop of machine 2)\n", - "L1=L2*fdrop2/fdrop1 #kW#Load supplied by machine 1\n", - "L=L1+L2 #kW#Total Load\n", - "print \"Total load supplied without getting over loaded = %0.2f kW\"%L" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Load supplied by first machine = 2666.67 kW\n", - "Load supplied by second machine = 3333.33 kW \n", - "Part(b)\n", - "Total load supplied without getting over loaded = 7200.00 kW\n" - ] - } - ], - "prompt_number": 1 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 4.2 page 107" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import degrees, acos, asin, atan, sqrt, cos, sin\n", - "Lt=3000 #kW#Total Load\n", - "pf=0.8 #Power factor Lagging\n", - "I=150 #A\n", - "ZA=0.4+1J*12 #ohm#synchronous impedence\n", - "ZB=0.5+1J*10 #ohm#synchronous impedence\n", - "Vt=6.6 #kV#Terminal Voltage\n", - "L=Lt/2 #kW#Load supplied by each machine\n", - "LA=L #kW\n", - "LB=L #kW\n", - "#LB=sqrt(3)*Vt*IB*cosd(theta_B) \n", - "theta_B=acos(LB/sqrt(3)/Vt/I) #radian\n", - "IB=I*(cos(theta_B)-1J*sin(theta_B)) #A\n", - "I_total=Lt/sqrt(3)/Vt/pf #A#Total Current\n", - "IA_plus_IB=I_total*(0.8-1J*0.6) #A\n", - "IA=IA_plus_IB-IB #A\n", - "cos_thetaA=(IA).real/abs(IA) #lagging power factor\n", - "EA=Vt/sqrt(3)+IA*ZA/1000 #kV per phase\n", - "del_A=atan((EA).imag/(EA).real) #radian#Load Angle\n", - "emf_A=abs(EA) #kV per phase#Induced emf of machine A\n", - "EB=Vt/sqrt(3)+IB*ZB/1000 #kV per phase\n", - "del_B=atan((EB).imag/(EB).real) #radian#Load Angle\n", - "emf_B=abs(EB) #kV per phase#Induced emf of machine A\n", - "IA=abs(IA) #A\n", - "print \"Current on machine A = %0.2f A \"%IA \n", - "pfA=cos_thetaA #power factor\n", - "print \"Lagging power factor of machine A = %0.4f\"%pfA \n", - "print \"Induced emf of machine A = %0.2f kV per phase \"%emf_A, \n", - "print \"Load angle of machine A = %0.2f degree \"%degrees(del_A) \n", - "print \"Load angle of machine B = %0.2f degree \"%degrees(del_B) \n", - "print \"Induced emf of machine B = %0.2f kV per phase\"%emf_B \n", - "#Answer in the textbook is not accurate." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Current on machine A = 180.64 A \n", - "Lagging power factor of machine A = 0.7264\n", - "Induced emf of machine A = 5.57 kV per phase Load angle of machine A = 15.90 degree \n", - "Load angle of machine B = 15.49 degree \n", - "Induced emf of machine B = 4.78 kV per phase\n" - ] - } - ], - "prompt_number": 2 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 4.3 page 111" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from __future__ import division\n", - "from math import pi\n", - "P=5 #MVA\n", - "V=1000 #V\n", - "speed=1500 #rpm#speed\n", - "ns=speed/60 #rps\n", - "f=50 #Hz\n", - "pf=0.8 #Power factor Lagging\n", - "Xs=20 #%#synchronous reluctance\n", - "Xs=Xs/100 #/p.u.\n", - "print \"Part(a)\" \n", - "V=1 #p.u.#on no load\n", - "E=1 #p.u.#on no load\n", - "Ps=V*E/Xs #p.u.\n", - "Ps=Ps*P #MW per elect. radian\n", - "Ps=Ps*1000 #kW per elect. radian\n", - "#1 mech. radian=pi/90 elect. radian\n", - "Ps=Ps*pi/90 #kW per mech. degree\n", - "print \"Synchronising power per mech. degree = %0.2f kW\"%Ps \n", - "d=0.5 #degree##displacement\n", - "Ts=Ps*1000*d/2/pi/ns #N-m\n", - "print \"Synchronising torque = %0.2f N-m\"%Ts \n", - "print \"Part(b)\" \n", - "theta=acos(pf) #radian\n", - "E=V+(cos(theta)-1J*sin(theta))*1J*Xs #p.u.\n", - "Ps=V*E/Xs #p.u.\n", - "Ps=Ps*P #MW per elect. radian\n", - "Ps=Ps*1000 #kW per elect. radian\n", - "#1 mech. radian=pi/90 elect. radian\n", - "Ps=Ps*pi/90 #kW per mech. degree\n", - "Ps=abs(Ps) #kW per mech. degree\n", - "print \"Synchronising power per mech. degree = %0.2f kW \"%Ps \n", - "d=0.5 #degree##displacement\n", - "Ts=abs(Ps)*1000*d/2/pi/ns #N-m\n", - "print \"Synchronising torque = %0.2f N-m \"%Ts \n", - "#Answer in the textbook is not accurate." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Synchronising power per mech. degree = 872.66 kW\n", - "Synchronising torque = 2777.78 N-m\n", - "Part(b)\n", - "Synchronising power per mech. degree = 987.31 kW \n", - "Synchronising torque = 3142.70 N-m \n" - ] - } - ], - "prompt_number": 3 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 4.4 page 112" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "P=2 #MVA\n", - "V=6000 #V\n", - "speed=750 #rpm#speed\n", - "ns=speed/60 #rps\n", - "Zs=6 #ohm/phase\n", - "f=50 #Hz\n", - "pf=0.8 #Power factor Lagging\n", - "#Calculation\n", - "I=P*10**6/sqrt(3)/V #A#Current\n", - "theta=acos(pf) #radian\n", - "E=V/sqrt(3)+I*(cos(theta)-1J*sin(theta))*1J*Zs #V\n", - "Ps=V*sqrt(3)*E/Zs/1000 #kw per elect. radian\n", - "Ps=Ps*4*pi/180 #kW per mech. degree\n", - "Ps=abs(Ps) #kW per mech. degree\n", - "print \"Synchronising power per mech. degree = %0.2f kW \"%Ps \n", - "Ts=abs(Ps)*1000/2/pi/ns #N-m\n", - "print \"Synchronising torque = %0.2f N-m\" %Ts\n", - "#Answer in the textbook is not accurate." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Synchronising power per mech. degree = 514.92 kW \n", - "Synchronising torque = 6556.12 N-m\n" - ] - } - ], - "prompt_number": 4 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 4.5 page 112" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "I=100 #A#/Current\n", - "V=11 #kV\n", - "Xs=4 #ohm/phase\n", - "f=50 #Hz\n", - "pf=0.8 #Power factor Lagging\n", - "#Calculation\n", - "theta=acos(pf) #radian\n", - "print \"Part(a)\" \n", - "E=V*1000/sqrt(3)+I*(cos(theta)-1J*sin(theta))*1J*Xs #V\n", - "Del=atan((E).imag/(E).real) #radian\n", - "E=abs(E) #V/phase\n", - "print \"Open circuit phase emf %0.2f V/phase \"%E \n", - "print \"Angle delta = %0.2f degree\"%degrees(Del) \n", - "print \"Part(b)\" \n", - "del_dash=10+degrees(Del) #degree\n", - "P_by_V=E*sin(del_dash*pi/180)/Xs #per phase\n", - "#P=V*I*cos_fi\n", - "I_cos_fi=P_by_V \n", - "#V*1000/sqrt(3)+I*(cos_fi-%i*sin_fi)*%i*Xs=E\n", - "I_sin_fi=(sqrt(E**2-(4*I_cos_fi**2))-V*1000/sqrt(3))/4 \n", - "tan_fi=I_sin_fi/I_cos_fi \n", - "fi=degrees(atan(tan_fi)) #degree\n", - "I=I_cos_fi/cos(fi*pi/180) #A\n", - "print \"New load current = %0.2f A \"%I \n", - "pf=cos(fi*pi/180) #lagging power factor\n", - "print \"Its power factor = %0.4f lagging \" %pf\n", - "print \"Part(c)\" \n", - "pf1=0.8 #/original power factor\n", - "Idash=I*pf/pf1 #Current\n", - "print \"New value of load current = %0.2f A \"%Idash \n", - "#Answer is slightly differ because of accuracy in calculations." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Open circuit phase emf 6598.62 V/phase \n", - "Angle delta = 2.78 degree\n", - "Part(b)\n", - "New load current = 368.57 A \n", - "Its power factor = 0.9901 lagging \n", - "Part(c)\n", - "New value of load current = 456.13 A \n" - ] - } - ], - "prompt_number": 5 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 4.6 page 119" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "G=200 #MVA\n", - "H=6 #MJ/MVA#/Inertia Constant\n", - "V=11 #kV\n", - "f=50 #Hz\n", - "L1=120 #MW\n", - "L2=160 #MW\n", - "\n", - "#Calculation\n", - "print \"Part(a)\" \n", - "Es=G*H #MJ##Stored Energy\n", - "print \"Stored energy = %0.2f MJ \"%Es \n", - "print \"Part(b)\" \n", - "Pa=L1-L2 #MW\n", - "M=G*H/180/f #MJ-sec/elect.deg.\n", - "alfa=-Pa/M #elect.deg./sec**2#/Retardation\n", - "print \"Motor retardation = %0.2f elect.deg.sec**2\" %alfa\n", - "print \"Part(c)\" \n", - "n=5 #cycles\n", - "t=n/f #sec\n", - "del_change=1/2*-alfa*t**2 #elect.deg.\n", - "print \"Change in power angle = %0.2f elect.deg. \"%del_change \n", - "alfa=alfa*60/(180*4) #rpm/sec\n", - "ns=1500 #rpm\n", - "nr=ns+(-alfa)*t #rpm #/rotor speed\n", - "print \"Rotor speed at the end of 5 cycle = %0.2f rpm \"%nr \n", - "print \"Part(d)\"\n", - "H2=4 #MJ/MVA\n", - "G2=150 #MVA\n", - "Gb=100 #MVA\n", - "Heb=H*G/Gb+H2*G2/Gb #MJ/MVA\n", - "print \"Inertia constant for the equivalent generator = %0.2f MJ/MVA \"%Heb " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Stored energy = 1200.00 MJ \n", - "Part(b)\n", - "Motor retardation = 300.00 elect.deg.sec**2\n", - "Part(c)\n", - "Change in power angle = -1.50 elect.deg. \n", - "Rotor speed at the end of 5 cycle = 1497.50 rpm \n", - "Part(d)\n", - "Inertia constant for the equivalent generator = 18.00 MJ/MVA \n" - ] - } - ], - "prompt_number": 6 - } - ], - "metadata": {} - } - ] -}
\ No newline at end of file diff --git a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter5.ipynb b/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter5.ipynb deleted file mode 100755 index 8d7e5943..00000000 --- a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter5.ipynb +++ /dev/null @@ -1,1103 +0,0 @@ -{ - "metadata": { - "name": "", - "signature": "sha256:b45200f85baf8ca49b3eb8c7e7ad096c02135fdb6a27b2db5c0131f5c89667ec" - }, - "nbformat": 3, - "nbformat_minor": 0, - "worksheets": [ - { - "cells": [ - { - "cell_type": "heading", - "level": 1, - "metadata": {}, - "source": [ - "Ch-5 : Load Frequency Control" - ] - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.1 page 145" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from __future__ import division\n", - "P=100 #MW\n", - "drop=4 #%(No load to full load drop)\n", - "f=50 #Hz\n", - "print \"Part(i)\" \n", - "p=1 #MW(For calculating per unit MW)\n", - "R=(drop/100)*f/p #Hz/p.u.MW\n", - "print \"Speed regulation = %0.2f Hz/p.u.MW\" %R\n", - "R=(drop/100)*f/P #Hz/MW\n", - "print \"Speed regulation = %0.2f Hz/MW\" %R\n", - "print \"Part(ii)\" \n", - "del_f=-0.1 #Hz(Frequency drop)\n", - "delP=-1/R*del_f #MW(Change in power output)\n", - "print \"Change in power output = %0.2f MW \"%delP" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(i)\n", - "Speed regulation = 2.00 Hz/p.u.MW\n", - "Speed regulation = 0.02 Hz/MW\n", - "Part(ii)\n", - "Change in power output = 5.00 MW \n" - ] - } - ], - "prompt_number": 1 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.2 page 146" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import sqrt\n", - "P=100 #MVA\n", - "f=50 #Hz\n", - "H=5 #kW-sec/kVA(Constant)\n", - "delP=50 #MW(Increased Load)\n", - "td=0.5 #s(Time delay)\n", - "P=P/1000 #kVA\n", - "KE=P*H #kW-sec\n", - "delP=delP/1000 #kW(Increased Load)\n", - "KE_loss=delP*td #kW-s\n", - "f_new=sqrt((KE-KE_loss)/KE)*f #Hz\n", - "f_dev=(f-f_new)/f*100 #%(Frequency deviation)\n", - "print \"Frequency deviation = %0.2f %%\"%f_dev" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Frequency deviation = 2.53 %\n" - ] - } - ], - "prompt_number": 2 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.3 page 146" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "P1=500 #MW\n", - "P2=200 #MW\n", - "f=50 #Hz\n", - "delP=140 #MW(System load increase)\n", - "f_new=49.5 #Hz(Frequency after drop)\n", - "delP1=delP*P1/(P1+P2) #MW\n", - "delP2=delP*P2/(P1+P2) #MW\n", - "f_dev=f_new-f #Hz\n", - "#For delPdash=0, R1 &R2 can be calculated as :\n", - "R1=-1/delP1*f_dev #Hz/MW\n", - "R2=-1/delP2*f_dev #Hz/MW\n", - "print \"Value of R for unit 1 & 2 are : %0.4f & %0.4f Hz/MW \"%(R1, R2) " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Value of R for unit 1 & 2 are : 0.0050 & 0.0125 Hz/MW \n" - ] - } - ], - "prompt_number": 3 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.4 page 146" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "\n", - "f=50 #Hz\n", - "R=2 #Hz/pu MW\n", - "Pr=10000 #MW(Rated Capacity)\n", - "P=Pr/2 #MW(Operating Power)\n", - "delP=2 #%(Load Increase)\n", - "del_f=f*1/100 #Hz(1% change in frequency)\n", - "del_PL=P*1/100 #MW(1% change in load)\n", - "#Rate of change of load with frequency :\n", - "D=del_PL/del_f #MW/Hz\n", - "D=D/Pr #p.u. MW/Hz\n", - "#Frequency response characteristic : \n", - "Beta=D+1/R #p.u. MW/Hz\n", - "M=delP/100*P #MW\n", - "M=M/Pr #p.u. MW\n", - "del_fo=-M/Beta #Hz\n", - "print \"Static frequency drop = %0.2f Hz\"%del_fo\n", - "R=float('inf')\n", - "Beta=D+1/R #p.u. MW/Hz\n", - "del_fo=-M/Beta #Hz\n", - "print \"If speed governer loop is open, frequency drop = %0.2f Hz \"%del_fo" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Static frequency drop = -0.02 Hz\n", - "If speed governer loop is open, frequency drop = -1.00 Hz \n" - ] - } - ], - "prompt_number": 4 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.5 page 147" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "C=10000 #MW(Control area capacity)\n", - "P=5000 #MW\n", - "H=5 #s\n", - "R=3 #Hz/pu MW\n", - "f=50 #Hz\n", - "del_f=f*1/100 #Hz\n", - "del_PL=P*1/100 #MW\n", - "D=del_PL/del_f #MW/Hz\n", - "D=D/C #p.u. MW/Hz\n", - "#Primary ALFC loop parameters :\n", - "Kp=1/D #Hz/p.u. MW\n", - "Tp=2*H/f/D #s\n", - "print \"Primary ALFC loop parameters :\"\n", - "print \"Kp = %0.2f Hz/p.u. MW \"%Kp \n", - "print \"Tp = %0.2f seconds \"%Tp" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Primary ALFC loop parameters :\n", - "Kp = 100.00 Hz/p.u. MW \n", - "Tp = 20.00 seconds \n" - ] - } - ], - "prompt_number": 5 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.6 page 147" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "f=50 #Hz\n", - "R=2 #Hz/pu MW\n", - "Pr=10000 #MW(Rated Capacity)\n", - "P=Pr/2 #MW(Operating Power)\n", - "delP=2 #%(Load Increase)\n", - "del_f=f*1/100 #Hz(1% change in frequency)\n", - "del_PL=P*1/100 #MW(1% change in load)\n", - "#Rate of change of load with frequency :\n", - "D=del_PL/del_f #MW/Hz\n", - "D=D/Pr #p.u. MW/Hz\n", - "#Frequency response characteristic : \n", - "Beta=D+1/R #p.u. MW/Hz\n", - "M=delP/100*P #MW\n", - "M=M/Pr #p.u. MW\n", - "del_fo=-M/Beta #Hz\n", - "delP_fo=-del_fo*(D*Pr) #MW\n", - "print \"Frequency drop contribution to increase in load = %0.2f MW\" %delP_fo\n", - "delP_gen=-del_fo/R*Pr #MW\n", - "print \"Increase in generation to meet the increase load = %.2f MW \" %delP_gen " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Frequency drop contribution to increase in load = 1.96 MW\n", - "Increase in generation to meet the increase load = 98.04 MW \n" - ] - } - ], - "prompt_number": 6 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.7 page 152" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "G=100 #MVA\n", - "f=50 #Hz\n", - "n=3000 #rpm\n", - "L=25 #MW#Load\n", - "td=0.5 #sec\n", - "H=4.5 #MW-sec/MVA\n", - "#Calculation\n", - "KE=H*G #MW-sec##at no load\n", - "KE_Loss=L*td #MW-sec#/due to increase in load\n", - "f_new=sqrt((KE-KE_Loss)/KE)*f #Hz\n", - "delF=(f-f_new)/f*100 #%##frequency deviation\n", - "print \"Frequency deviation = %0.2f %%\" %delF" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Frequency deviation = 1.40 %\n" - ] - } - ], - "prompt_number": 7 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.8 page 152" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "C=4000 #MW\n", - "f=50 #Hz\n", - "L=2500 #MW#Load\n", - "R=2 #Hz/p.u.MW##Speed regulation constant\n", - "H=5 #sec##Inertia constant\n", - "delPL=2 #%##change in load\n", - "delf=1 #%##change in frequency\n", - "print \"Part(a)\" \n", - "D=delPL/delf*L/f #MW/Hz\n", - "D=D/C #p.u.MW/Hz\n", - "Beta=D+1/R #p.u.MW/Hz\n", - "delf0=-0.2 #Hz\n", - "M=-(delf0)*Beta #p.u.MW\n", - "M=M*C #MW\n", - "print \"Largest change in step load = %0.2f MW \"%M \n", - "print \"Part(b)\" \n", - "Kp=1/D #Hz/p.u.MW\n", - "Tp=2*H/f/D #sec\n", - "Tdash=(R+Kp)/R/Tp #sec\n", - "print \"(R+Kp)/(R*Tp) = %0.2f seconds \"%(Tdash) \n", - "print 'Change in frequency as a funtion of time, \\ndelf(t) = -0.2*(1-epsilon**(%.3f*t))'%(Tdash) " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Largest change in step load = 420.00 MW \n", - "Part(b)\n", - "(R+Kp)/(R*Tp) = 2.62 seconds \n", - "Change in frequency as a funtion of time, \n", - "delf(t) = -0.2*(1-epsilon**(2.625*t))\n" - ] - } - ], - "prompt_number": 8 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.9 page 153" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "C=4000 #MW\n", - "f=50 #Hz\n", - "L=C #MW#Load\n", - "R=2.5 #%##Speed regulation constant\n", - "H=5 #sec##Inertia constant\n", - "delPL=1 #%##change in load\n", - "delf=1 #%##change in frequency\n", - "print \"Part(a)\" \n", - "Ls=80 #MW #increase in step to load\n", - "R=R/100*f #z/p.u.MW\n", - "D=delPL/delf*L/f #MW/Hz\n", - "D=D/C #p.u.MW/Hz\n", - "M=Ls/L #unitless#for given step load\n", - "Kp=1/D #Hz/p.u.MW\n", - "Tp=2*H/f/D #sec\n", - "Tdash1=(R+Kp)/R/Tp #sec\n", - "print \"(R+Kp)/(R*Tp) = %0.2f seconds \"%Tdash1 \n", - "Tdash2=(R*Kp*M)/(R+Kp) #sec\n", - "print \"(R*Kp*M)/(R+Kp) = %0.2f seconds\"%Tdash2\n", - "delf0=-Tdash2 #Hz##Static frequency error\n", - "print \"Static frequency error = %0.2f Hz \"%delf0 \n", - "print \"Part(b)\" \n", - "Ki=(1+Kp/R)**2/4/Tp/Kp #p.u.MW/Hz\n", - "print \"Critical value of Ki = %0.2f p.u.MW/Hz \"%Ki" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "(R+Kp)/(R*Tp) = 4.10 seconds \n", - "(R*Kp*M)/(R+Kp) = 0.02 seconds\n", - "Static frequency error = -0.02 Hz \n", - "Part(b)\n", - "Critical value of Ki = 0.84 p.u.MW/Hz \n" - ] - } - ], - "prompt_number": 9 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.10 page 154" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from sympy import symbols, solve\n", - "s=symbols('s') #for transfer function\n", - "Tg=0.2 #sec#/time constant of governing system\n", - "Tt=2 #sec#/time constant of turbine\n", - "Gr=1/(1+Tg*s) #Transfer function of governer\n", - "Gt=1/(1+Tt*s) #Transfer function of turbine\n", - "C=1500 #MW\n", - "f=50 #Hz\n", - "R=4 #%##Speed regulation constant\n", - "H=5 #sec##Inertia constant\n", - "delPL=1 #%##change in load\n", - "delf=1 #%##change in frequency\n", - "print \"Part(a)\" \n", - "R=R/100*f #z/p.u.MW\n", - "D=delPL/delf*C/f #MW/Hz\n", - "D=D/C #p.u.MW/Hz\n", - "Kp=1/D #Hz/p.u.MW\n", - "Tp=2*H/f/D #sec\n", - "Gp=Kp/(1+Tp*s) #Transfer function of power system\n", - "delFs=-Gp/(1+Gr*Gt*Gp/R) \n", - "print \"delFs = M/s*\",delFs \n", - "print \"Part(b)\" \n", - "delf0_by_M=-Kp/(1+Kp/R) #Hz\n", - "delf0=delf/100*f #Hz\n", - "M=delf0/delf0_by_M #p.u.MW\n", - "M=M*C #MW\n", - "print \"Largest step change = %0.2f MW \"%M \n", - "#Transfer functions multiplication Gr*Gt*Gp is calculated & it is not possible to show together without calculated as in the book." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "delFs = M/s* -50.0/((1 + 25.0/((0.2*s + 1)*(2*s + 1)*(10.0*s + 1)))*(10.0*s + 1))\n", - "Part(b)\n", - "Largest step change = -390.00 MW \n" - ] - } - ], - "prompt_number": 10 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.11 page 157" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "GA=5000 #MW\n", - "GB=10000 #MW\n", - "R=2 #Hz/p.u.MW##Speed regulation constant\n", - "D=0.01 #p.u.MW/Hz\n", - "Ls=100 #MW#Load increase\n", - "RA=R*GB/GA #Hz/p.u.MW\n", - "DA=D*GA/GB #p.u.MW/Hz\n", - "RB=R #Hz/p.u.MW\n", - "DB=D #p.u.MW/Hz\n", - "Beta_A=DA+1/RA #p.u.MW/Hz\n", - "Beta_B=DB+1/RB #p.u.MW/Hz\n", - "MA=0 #Load increase\n", - "MB=Ls/GB #p.u.MW\n", - "delf0=-MB/(Beta_A+Beta_B) #Hz\n", - "print \"Static frequency drop = %0.2f Hz \"%delf0 \n", - "delPAB=Beta_A*MB/(Beta_A+Beta_B) #p.u.MW\n", - "delPAB=delPAB*GB #MW\n", - "print \"Change in tie line power = %0.2f MW \"%delPAB " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Static frequency drop = -0.01 Hz \n", - "Change in tie line power = 33.33 MW \n" - ] - } - ], - "prompt_number": 11 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.12 page 159" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "GA=500 #MW\n", - "GB=2000 #MW\n", - "RA=2.5 #Hz/p.u.MW##Speed regulation constant\n", - "RB=2 #Hz/p.u.MW##Speed regulation constant\n", - "Ls=20 #MW#Load increase\n", - "f=50 #Hz\n", - "delL=1 #%##change in load\n", - "delf=1 #%##change in frequency\n", - "DA=delL/delf*GA/f #MW/Hz\n", - "DA=DA/GB #p.u.MW/Hz\n", - "DB=delL/delf*GB/f #MW/Hz\n", - "DB=DB/GB #p.u.MW/Hz\n", - "RA=RA*GB/GA #Hz/p.u.MW\n", - "Beta_A=DA+1/RA #p.u.MW/Hz\n", - "Beta_B=DB+1/RB #p.u.MW/Hz\n", - "print \"Part(a)\" \n", - "MA=Ls/GB #unitless\n", - "MB=0 #unitless\n", - "delf0=-MA/(Beta_A+Beta_B) #Hz\n", - "print \"Change in frequency = %0.2f Hz \"%delf0 \n", - "delPAB=-Beta_B*MA/(Beta_B+Beta_A) #p.u.MW\n", - "delPAB=delPAB*GB #MW\n", - "print \"Change in tie line power = %0.2f MW \"%delPAB \n", - "print \"Part(b)\" \n", - "MB=Ls/GB #unitless\n", - "MA=0 #unitless\n", - "delf0=-MB/(Beta_A+Beta_B) #Hz\n", - "print \"Change in frequency = %0.2f Hz \"%delf0 \n", - "delPAB=Beta_A*MB/(Beta_B+Beta_A) #p.u.MW\n", - "delPAB=delPAB*GB #MW\n", - "print \"Change in tie line power = %0.2f MW \"%delPAB " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Change in frequency = -0.02 Hz \n", - "Change in tie line power = -16.64 MW \n", - "Part(b)\n", - "Change in frequency = -0.02 Hz \n", - "Change in tie line power = 3.36 MW \n" - ] - } - ], - "prompt_number": 12 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.13 page 160" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import cos, pi\n", - "G=4000 #MW\n", - "R=2 #Hz/p.u.MW##Speed regulation constant\n", - "H=5 #sec\n", - "C=600 #MW#Capacity\n", - "theta=40 #degree#/Power angle\n", - "f=50 #Hz\n", - "print \"Part(a)\" \n", - "T=C/G*cos(pi/180*theta) #sec\n", - "omega0=sqrt((2*pi*f*T/H-(f/4/R/H)**2)) #radian/sec\n", - "print \"Frequency of oscillation = %0.2f radian/sec \"%omega0 \n", - "print \"Part(b)\" \n", - "delLB=100 #MW#change in load in area B\n", - "delPAB=delLB/2 #MW#because Beta_A=Beta_B\n", - "print \"Change in tie line power = %0.2f MW \"%delPAB \n", - "print \"Part(c)\" \n", - "omega0=sqrt((2*pi*f*T/H)) #radian/sec\n", - "print \"Frequency of oscillation = %0.2f radian/sec \"%omega0" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Frequency of oscillation = 2.38 radian/sec \n", - "Part(b)\n", - "Change in tie line power = 50.00 MW \n", - "Part(c)\n", - "Frequency of oscillation = 2.69 radian/sec \n" - ] - } - ], - "prompt_number": 13 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.14 page 168" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "C1=300 #MW\n", - "C2=400 #MW\n", - "G1=4 #%#droop characteristics of governer\n", - "G2=5 #%#droop characteristics of governer\n", - "L=600 #MW\n", - "f=50 #Hz\n", - "#Load on first generator =L1\n", - "#Load on second generator =L-L1\n", - "#f-G1*f/100*(L1/C1)=f-G2*f/100*(L2/C2)\n", - "L1=G2*L/C2/(G1/C1+G2/C2) #MW\n", - "L2=L-L1 #MW\n", - "print \"Load on first generator = %0.2f MW \"%L1 \n", - "print \"Load on second generator = %0.2f MW \"%L2 \n", - "fLoad=f*(1-L1/C1*G1/100) #Hz\n", - "print \"Frequency at load = %0.2f Hz \"%fLoad" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Load on first generator = 290.32 MW \n", - "Load on second generator = 309.68 MW \n", - "Frequency at load = 48.06 Hz \n" - ] - } - ], - "prompt_number": 14 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.15 page 169" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "G=100 #MVA\n", - "f=50 #Hz\n", - "delL=50 #MW\n", - "Tc=0.4 #sec\n", - "H=5 #/kWs/kVA\n", - "KE=G*1000*H #kWs\n", - "delKE=delL*1000*Tc ##kWs#/due to decrease in load\n", - "fnew=sqrt((KE+delKE)/KE) *f #Hz\n", - "fdev=(fnew-f)/f*100 #%\n", - "print \"New frequency = %0.2f Hz \"%fnew \n", - "print \"Frequency deviation = %0.2f %%\"%fdev" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "New frequency = 50.99 Hz \n", - "Frequency deviation = 1.98 %\n" - ] - } - ], - "prompt_number": 15 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.16 page 169" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "G=100 #MVA\n", - "f=50 #Hz\n", - "delL=60 #MW\n", - "Tc=0.35 #sec\n", - "H=5 #/kWs/kVA\n", - "KE=G*1000*H #kWs\n", - "delKE=(G-delL)*1000*Tc ##kWs#/due to decrease in load\n", - "fnew=sqrt((KE+delKE)/KE) *f #Hz\n", - "fdev=(fnew-f)/f*100 #%\n", - "print \"New frequency = %0.2f Hz \"%fnew \n", - "print \"Frequency deviation = %0.2f %%\" %fdev" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "New frequency = 50.70 Hz \n", - "Frequency deviation = 1.39 %\n" - ] - } - ], - "prompt_number": 16 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.17 page 169" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "KE=1500 #MJ\n", - "Pin=5 #MW\n", - "f=50 #Hz\n", - "t=1 #sec\n", - "delKE=Pin*t ##MJ#/due to power inputs\n", - "fnew=sqrt((KE+delKE)/KE) *f #Hz\n", - "delf=fnew-f #/Hz/second\n", - "print \"Frequency increase rate = %0.2f Hz/sec \"%delf" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Frequency increase rate = 0.08 Hz/sec \n" - ] - } - ], - "prompt_number": 17 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.18 page 169" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "C=2000 #MW#/Capacity\n", - "L=1000 #MW#Load\n", - "H=5 #kWs/KVA\n", - "R=2.4 #Hz/puMW#Regulation\n", - "f=50 #Hz\n", - "delL=1 #%##change in load\n", - "delf=1 #%##change in frequency\n", - "D=delL/delf*L/f #MW/Hz\n", - "D=D/C #p.u.MW/Hz\n", - "Kp=1/D #Hz/p.u.MW\n", - "Tp=2*H/f/D #sec\n", - "print \"Primary ALFC loop parameters are : \" \n", - "print \"D = \",D,\"p.u.MW/Hz\" \n", - "print \"Kp = \",Kp,\"Hz/p.u.MW\" \n", - "print \"Tp = \",Tp,\"sec \" " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Primary ALFC loop parameters are : \n", - "D = 0.01 p.u.MW/Hz\n", - "Kp = 100.0 Hz/p.u.MW\n", - "Tp = 20.0 sec \n" - ] - } - ], - "prompt_number": 18 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.19 page 170" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "Tp=10 #sec\n", - "Tg=0 #sec\n", - "Tt=0 #sec\n", - "Kp=100 #Hz/p.u.MW\n", - "R=3 #/Hz/CuMW\n", - "delPD=0.1 #p.u.\n", - "Ki=0.1 #constant\n", - "f=50 #Hz\n", - "from sympy import symbols\n", - "s=symbols('s') \n", - "delFs=-Kp/Tp*(delPD/(s**2+s*((1+Kp/R)/Tp)+Ki*Kp/Tp))\n", - "n=1 #cycle\n", - "time_error=n/f #sec\n", - "print \"Total time error = %0.3f sec\"%time_error" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Total time error = 0.020 sec\n" - ] - } - ], - "prompt_number": 19 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.20 page 171" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "L=14 #MW#Total Load\n", - "C1=15 #MW\n", - "R1=3 #%#speed regulation\n", - "C2=4 #MW\n", - "R2=4 #%#speed regulation\n", - "LB=4 #MW#Load on bus bar\n", - "LA=10 #MW#/Load on bus bar\n", - "f=50 #Hz\n", - "#Load on station A= L1 MW\n", - "#Load on station B= L-L1 MW\n", - "#f-C1*f/100*(L1/C1)=f-C2*f/100*(L2/C2)\n", - "L1=R2*L/C2/(R1/C1+R2/C2) #MW\n", - "L2=L-L1 #MW\n", - "print \"Load generation at station A = %0.2f MW \"%L1 \n", - "print \"Load generation at station B = %0.2f MW \"%L2\n", - "Pt=L1-LA #MW#Power transmitted A to B\n", - "f_oper=f-R1/100/C1*(L1)*f #Hz\n", - "print \"Operating Frequency = %0.2f Hz \"%f_oper " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Load generation at station A = 11.67 MW \n", - "Load generation at station B = 2.33 MW \n", - "Operating Frequency = 48.83 Hz \n" - ] - } - ], - "prompt_number": 20 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.21 page 171" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "C1=300 #MW\n", - "C2=400 #MW\n", - "G1=4 #%#droop characteristics of governer\n", - "G2=6 #%#droop characteristics of governer\n", - "L=400 #MW\n", - "f=50 #Hz\n", - "L1=C1*L/(C1+C2) #MW#Load on 300 MW generator\n", - "L2=L*C2/(C1+C2) #MW#Load on 400 MW generator\n", - "f01=f*(C1)/(C1-G1/100*L1) #Hz#/No load frequency\n", - "print \"No load frequency of 300 MW generator = %0.2f Hz \"%f01 \n", - "f02=f*(C2)/(C2-G2/100*L2) #Hz#/No load frequency\n", - "print \"No load frequency of 400 MW generator = %0.2f Hz \"%f02" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "No load frequency of 300 MW generator = 51.17 Hz \n", - "No load frequency of 400 MW generator = 51.78 Hz \n" - ] - } - ], - "prompt_number": 21 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.22 page 174" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "C1=200 #MW\n", - "C2=100 #MW\n", - "R1=1.5 #%#speed regulation\n", - "R2=3 #%#speed regulation\n", - "L=100 #MW#/Load on each bus\n", - "f=50 #Hz\n", - "RA=R1/100*f/C1 #Hz/MW\n", - "RB=R2/100*f/C2 #Hz/MW\n", - "#Let PA= generation at plant A\n", - "#PB=2*L-PA will be generation at plant B\n", - "#RA*PA=RB*PB\n", - "PA=RB*2*L/(RA+RB) #MW\n", - "PB=2*L-PA #MW\n", - "print \"Load generation at plant A = %0.2f MW \"%PA \n", - "print \"Load generation at plant B = %0.2f MW \"%PB\n", - "Pt=PA-L #MW#/Power transfer\n", - "print \"Power transfer from A to B = %0.2f MW \"%Pt " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Load generation at plant A = 160.00 MW \n", - "Load generation at plant B = 40.00 MW \n", - "Power transfer from A to B = 60.00 MW \n" - ] - } - ], - "prompt_number": 22 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.23 page 174" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import acos\n", - "Z=1.5+1J*2.5 #ohm\n", - "V=11 #kV\n", - "P=20 #MW\n", - "pf=0.8 #power factor\n", - "theta=acos(pf*pi/180) \n", - "I=P*1000/sqrt(3)/V/pf #\n", - "from cmath import rect\n", - "I=rect(I,-theta*pi/180) #A\\\n", - "Vdrop=I*Z #V\n", - "Vboost=Vdrop #V\n", - "print \"Voltage boost needed at station A = \",(Vboost),\"V\"" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Voltage boost needed at station A = (2056.63661402+3225.71419437j) V\n" - ] - } - ], - "prompt_number": 23 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 5.24 page 174" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import degrees, atan, sin, acos, cos, pi\n", - "Z=3+1J*9 #%#/impedence\n", - "Z=Z/100 #p.u.#/Impedence\n", - "I=1 #p.u.\n", - "IZ=Z #p.u.\n", - "print \"Part(a)\" \n", - "#2*I**2-2*cos(del)=[abs(IZ)]**2\n", - "cos_del=degrees(acos((2*I**2-(abs(IZ))**2)/2)) #degree\n", - "print \"Phase angle between two station = %0.2f degree \"%cos_del \n", - "angle_abc=87.277 #/degree\n", - "theta=180-angle_abc-degrees(atan((IZ).imag/(IZ).real)) #degree\n", - "Preal=I**2*cos(pi/180*theta) #p.u.\n", - "print \"Real power transfer = %0.2f p.u. \"%Preal \n", - "Preactive=I**2*sin(pi/180*theta) #p.u.\n", - "print \"Reactive power transfer = %0.2f p.u.\"%Preactive \n", - "print \"Part(b)\" \n", - "#1.05**2+1**2-2*1.05*cos(del)=[abs(IZ)]**2\n", - "cos_del=degrees(acos((1.05**2+1**2-(abs(IZ))**2)/2/1.05)) #degree\n", - "print \"Phase angle between two station = %0.2f degree \"%cos_del \n", - "angle_dbc=60.53 #/degree\n", - "theta=degrees(atan((IZ).imag/(IZ).real))-angle_dbc#degree\n", - "Preal=I**2*cos(pi/180*theta) #p.u.\n", - "print \"Real power transfer = %0.2f p.u. \"%Preal \n", - "Preactive=I**2*sin(pi/180*theta) #p.u.\n", - "print \"Reactive power transfer = %0.2f p.u. \"%Preactive \n", - "#Answer in the textbook is not accurate." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a)\n", - "Phase angle between two station = 5.44 degree \n", - "Real power transfer = 0.93 p.u. \n", - "Reactive power transfer = 0.36 p.u.\n", - "Part(b)\n", - "Phase angle between two station = 4.51 degree \n", - "Real power transfer = 0.98 p.u. \n", - "Reactive power transfer = 0.19 p.u. \n" - ] - } - ], - "prompt_number": 24 - } - ], - "metadata": {} - } - ] -}
\ No newline at end of file diff --git a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter6.ipynb b/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter6.ipynb deleted file mode 100755 index 34c2fa23..00000000 --- a/Power_System_Operation_and_Control_by_B._R._Gupta/Chapter6.ipynb +++ /dev/null @@ -1,537 +0,0 @@ -{ - "metadata": { - "name": "", - "signature": "sha256:af61fb7eed7d4ff39296b02a1d4e98cabd8ac46cf41e81ede4624c653dbd8b75" - }, - "nbformat": 3, - "nbformat_minor": 0, - "worksheets": [ - { - "cells": [ - { - "cell_type": "heading", - "level": 1, - "metadata": {}, - "source": [ - "Ch-6 : Reactive Power Control" - ] - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.1 page 201" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import sqrt, atan, pi, degrees, cos\n", - "from scipy.linalg import expm\n", - "kV=220 #kV\n", - "Z=0.8+1J*0.2 #pu\n", - "V=1 #V(Voltage at load terminal)\n", - "X=0.2+0.05 #pu(line and transformer reactance)\n", - "P=(Z).real #pu\n", - "Q=(Z).imag #pu\n", - "BaseMVA=100 #MVA\n", - "BasekV=220 #kV\n", - "I=sqrt((P**2+Q**2)/V**2)*expm([[1J*atan(-(Z).imag/(Z).real)]])[0,0] #pu\n", - "Vb=V+I*(X*expm([[1J*pi/2]]))[0,0] #pu(Voltage at 200 kV bus)\n", - "fi_p=(atan((Vb).imag/(Vb).real)) #degree(power angle)\n", - "Vb=abs(Vb)*kV #kV(Voltage at 200 kV bus)\n", - "pf=cos(fi_p+(atan((Z).imag/(Z).real))) #power factor at 220 kV bus\n", - "print \"Voltage at 220 kV bus = %0.2f kV \"%Vb \n", - "print \"Power factor at 220 kV bus %0.4f lagging \"%pf" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Voltage at 220 kV bus = 235.15 kV \n", - "Power factor at 220 kV bus 0.9076 lagging \n" - ] - } - ], - "prompt_number": 1 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.2 page 201" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from scipy.linalg import expm\n", - "kV=220 #kV\n", - "Z=0.8+1J*0.2 #pu\n", - "V=1 #V(Voltage at load terminal)\n", - "X=0.2+0.05 #pu(line and transformer reactance)\n", - "P=(Z).real #pu\n", - "Q=(Z).imag #pu\n", - "BaseMVA=100 #MVA\n", - "BasekV=220 #kV\n", - "I=sqrt((P**2+Q**2)/V**2) #pu\n", - "Vb=V+I*(X*expm([[1J*pi/2]])) #pu(Voltage at 200 kV bus)\n", - "fi_p=degrees(atan((Vb).imag/(Vb).real)) #degree(power angle)\n", - "Vb=abs(Vb)*kV #kV(Voltage at 200 kV bus)\n", - "pf=cos(fi_p*pi/180) #power factor at 220 kV bus\n", - "print \"Voltage at 220 kV bus = %0.2f kV \"%Vb \n", - "print \"Power factor at 220 kV bus = %0.4f lagging \"%pf" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Voltage at 220 kV bus = 224.63 kV \n", - "Power factor at 220 kV bus = 0.9794 lagging \n" - ] - } - ], - "prompt_number": 2 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.3 page 202" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from cmath import sinh, cosh, tan, sin\n", - "import cmath as cmt\n", - "l=350 #km(length of line)\n", - "Z=cmt.rect(180,75*pi/180) #ohm/phase(Total)\n", - "Y=cmt.rect(1*10**-3,90*pi/180) #Siemens/phase(Total)\n", - "z=Z/l #ohm/km\n", - "y=Y/l #Siemens/km\n", - "re=l*cmt.sqrt(z*y) #\n", - "Zc=cmt.sqrt(z/y) #ohm\n", - "print \"Part(a) A,B,C,D parameters are : \" \n", - "A=cosh(re) #unitless\n", - "D=A #unitless\n", - "B=Zc*sinh(re) #ohm\n", - "C=sinh(re)/Zc #unitless\n", - "A_mag=abs(A) #unitless\n", - "A_angle=atan((A).imag/(A).real) #radian\n", - "B_mag=abs(B) #ohm\n", - "B_angle=atan((B).imag/(B).real) #radian\n", - "C_mag=abs(C) #unitless\n", - "C_angle=atan((C).imag/(C).real) #radian\n", - "C_angle=(degrees(C_angle)+180)*180/pi #degree(Converting -ve to +ve angle)\n", - "D_mag=abs(D) #unitless\n", - "D_angle=atan((D).imag/(D).real) #radian\n", - "print \"Magnitude of A : %0.2f \"% A_mag \n", - "print \"Angle of A = %0.2f degree \"%degrees(A_angle) \n", - "print \"Magnitude of B = %0.2f ohm\"%B_mag \n", - "print \"Angle of B = %0.2f degree \"%degrees(B_angle) \n", - "print \"Magnitude of C : %0.2f\"%C_mag \n", - "print \"Angle of C = %0.2f degree \"%degrees(C_angle) \n", - "print \"Magnitude of D : %0.2f\"%D_mag \n", - "print \"Angle of D = %0.2f degree\" %degrees(D_angle)\n", - "#60% series compensation\n", - "B=B-1J*60/100*abs(Z)*sin(atan((Z).imag/(Z).real)) #ohm(considering series compensation=60%)\n", - "#For Equivalent pi-circuit\n", - "print \"Part(b) A,B,C,D parameters of compensated line are : \" \n", - "Ydash=2/Zc*((cosh(re)-1)/sinh(re)) #S\n", - "A=1+B*Ydash/2 #unitless\n", - "D=A #unitless\n", - "C=2*Ydash/2+B*(Ydash/2)**2 #unitless\n", - "A_mag=abs(A) #unitless\n", - "A_angle=atan((A).imag/(A).real) #radian\n", - "B_mag=abs(B) #ohm\n", - "B_angle=atan((B).imag/(B).real) #radian\n", - "C_mag=abs(C) #unitless\n", - "C_angle=atan((C).imag/(C).real) #radian\n", - "C_angle=(degrees(C_angle)+180)*180/pi #radian(Converting -ve to +ve angle)\n", - "D_mag=abs(D) #unitless\n", - "D_angle=atan((D).imag/(D).real) #degree\n", - "print \"Magnitude of A : %0.2f \"% A_mag \n", - "print \"Angle of A = %0.2f degree \"%degrees(A_angle) \n", - "print \"Magnitude of B = %0.2f ohm\"%B_mag \n", - "print \"Angle of B = %0.2f degree \"%degrees(B_angle) \n", - "print \"Magnitude of C : %0.2f\"%C_mag \n", - "print \"Angle of C = %0.2f degree \"%degrees(C_angle) \n", - "print \"Magnitude of D : %0.2f\"%D_mag \n", - "print \"Angle of D = %0.2f degree\" %degrees(D_angle)\n", - "#Answer for some parts are not accurate in the textbook." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Part(a) A,B,C,D parameters are : \n", - "Magnitude of A : 0.91 \n", - "Angle of A = 1.42 degree \n", - "Magnitude of B = 174.83 ohm\n", - "Angle of B = 75.45 degree \n", - "Magnitude of C : 0.00\n", - "Angle of C = 296930.22 degree \n", - "Magnitude of D : 0.91\n", - "Angle of D = 1.42 degree\n", - "Part(b) A,B,C,D parameters of compensated line are : \n", - "Magnitude of A : 0.97 \n", - "Angle of A = 1.33 degree \n", - "Magnitude of B = 78.37 ohm\n", - "Angle of B = 55.91 degree \n", - "Magnitude of C : 0.00\n", - "Angle of C = 296850.37 degree \n", - "Magnitude of D : 0.97\n", - "Angle of D = 1.33 degree\n" - ] - } - ], - "prompt_number": 5 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.4 page 202" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from cmath import rect, sqrt\n", - "from numpy import conj\n", - "l=350 #km(length of line)\n", - "Z=rect(180,75*pi/180) #ohm/phase(Total)\n", - "Y=rect(1*10**-3,90*pi/180) #Siemens/phase(Total)\n", - "z=Z/l #ohm/km\n", - "y=Y/l #Siemens/km\n", - "re=l*sqrt(z*y) #\n", - "Zc=sqrt(z/y) #ohm\n", - "print \"For Uncompensated Line, Constants are :\" \n", - "B=Z #ohm#B Parameter\n", - "A=1+Z*Y/2 #unitless#A Parameter\n", - "D=A #unitless#D Parameter\n", - "C=Y*(1+Z*Y/4) #S#C Parameter\n", - "A_mag=abs(A) #unitless\n", - "A_angle=atan((A).imag/(A).real) #radian\n", - "B_mag=abs(B) #ohm\n", - "B_angle=atan((B).imag/(B).real) #radian\n", - "C_mag=abs(C) #unitless\n", - "C_angle=atan((C).imag/(C).real) #radian\n", - "C_angle=(degrees(C_angle)+180)*180/pi #radian(Converting -ve to +ve angle)\n", - "D_mag=abs(D) #unitless\n", - "D_angle=atan((D).imag/(D).real) #degree\n", - "print \"Magnitude and Angle of B = %0.2f ohm & %0.2f degree \"%(B_mag,B_angle) \n", - "print \"Magnitude and Angle of A = %0.2f & %0.2f degree \"%(A_mag,A_angle) \n", - "print \"Magnitude and Angle of D = %0.2f & %0.2f degree \"%(D_mag,D_angle) \n", - "\n", - "print \"Magnitude of C is %0.2f\"%C_mag \n", - "print \"Angle of C = %0.2f degree\"%C_angle\n", - "print \"For Compensated Line, Constants are :\" \n", - "B=Z-0.6*1J*406 #ohm#B Parameter\n", - "A=1+conj(B)*Y/2 #unitless#A Parameter\n", - "D=A #unitless#D Parameter\n", - "C=Y*(1+Z*Y/4) #S#C Parameter\n", - "A_mag=abs(A) #unitless\n", - "A_angle=atan((A).imag/(A).real) #radian\n", - "B_mag=abs(B) #ohm\n", - "B_angle=atan((B).imag/(B).real) #radian\n", - "C_mag=abs(C) #unitless\n", - "C_angle=atan((C).imag/(C).real) #radian\n", - "C_angle=(degrees(C_angle)+180)*180/pi #radian(Converting -ve to +ve angle)\n", - "D_mag=abs(D) #unitless\n", - "D_angle=atan((D).imag/(D).real) #degree\n", - "print \"Magnitude and Angle of B = %0.2f ohm & %0.2f degree \"%(B_mag,B_angle) \n", - "print \"Magnitude and Angle of A = %0.2f & %0.2f degree \"%(A_mag,A_angle) \n", - "print \"Magnitude and Angle of D = %0.2f & %0.2f degree \"%(D_mag,D_angle) \n", - "print \"Magnitude of C is %0.2f\"%C_mag \n", - "print \"Angle of C = %0.2f degree\"%C_angle\n" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "For Uncompensated Line, Constants are :\n", - "Magnitude and Angle of B = 180.00 ohm & 1.31 degree \n", - "Magnitude and Angle of A = 0.91 & 0.03 degree \n", - "Magnitude and Angle of D = 0.91 & 0.03 degree \n", - "Magnitude of C is 0.00\n", - "Angle of C = 5196.59 degree\n", - "For Compensated Line, Constants are :\n", - "Magnitude and Angle of B = 83.86 ohm & -0.98 degree \n", - "Magnitude and Angle of A = 0.97 & 0.02 degree \n", - "Magnitude and Angle of D = 0.97 & 0.02 degree \n", - "Magnitude of C is 0.00\n", - "Angle of C = 5196.59 degree\n" - ] - } - ], - "prompt_number": 6 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.5 page 203" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "kv1=220 #kv\n", - "kv2=132 #kv\n", - "baseMVA=200 #MVA\n", - "#Base impedence in 132 kv circuit\n", - "baseZ2=kv2**2/baseMVA #ohm\n", - "z1=1J*75 #ohm\n", - "z2=1J*70 #ohm\n", - "z3=1J*90 #ohm\n", - "z1=z1/baseZ2 #pu\n", - "z2=z2/baseZ2 #pu\n", - "z3=z3/baseZ2 #pu\n", - "X_AD=1J*0.08+z1 #pu#Reactance from A to D\n", - "X_BD=1J*0.08+z2 #pu#Reactance from A to D\n", - "Zp=z3*X_AD*X_BD/(z3*X_AD+z3*X_BD+X_BD+X_AD) #parallel combination\n", - "sc_D=baseMVA/abs(Zp) #MVA#Short Circuit MVA at D\n", - "delQBYdelV=sc_D/kv2 #MVA/kv\n", - "delQ=delQBYdelV*4 #MVar\n", - "print \"Var injection at Bus D = %0.2f MVar\" %delQ\n", - "#Answer in the textbook is not accurate." - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Var injection at Bus D = 18.48 MVar\n" - ] - } - ], - "prompt_number": 7 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.6 page 204" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from cmath import rect, acos\n", - "A=rect(0.98,3*pi/180) #Constant\n", - "B=rect(110,75*pi/180) #ohm/phase\n", - "P=50 #MVA\n", - "pf=0.8 #lagging\n", - "V=132 #kV\n", - "#Formula : Pr=|Vs|*|Vr|/|B|*cosd(Beta-delta)-|A|*|Vr|**2/|B|*cosd(Beta-alfa) :\n", - "betaSUBdelta=acos((P*pf+abs(A)*V**2/abs(B)*cos(atan((B).imag/(B).real)-atan((A).imag/(A).real)))/V**2*abs(B)) \n", - "Qr=V**2/abs(B)*sin(betaSUBdelta)-abs(A)*V**2/abs(B)*sin(atan((B).imag/(B).real)-atan((A).imag/(A).real)) #MVar\n", - "Qr=P*0.6-Qr #MVar#Since load require lagging component\n", - "print \"(a) Capacity of shunt compensation equipment = %0.2f MVar \" %Qr.real\n", - "#part(b)\n", - "#Formula : Pr=|Vs|*|Vr|/|B|*cosd(Beta-delta)-|A|*|Vr|**2/|B|*cosd(Beta-alfa) :\n", - "P=0 #MW\n", - "betaSUBdelta=acos((P*pf+abs(A)*V**2/abs(B)*cos(atan((B).imag/B.real)-atan((A).imag/(A).real)))/V**2*abs(B)) \n", - "Qr=V**2/abs(B)*sin(betaSUBdelta)-abs(A)*V**2/abs(B)*sin(atan((B).imag/(B).real)-atan((A).imag/(A).real)) #MVar\n", - "Qr=P*0.6-Qr #MVar#Since load require lagging component\n", - "print \"(b) Capacity of shunt compensation equipment = %0.2f MVar \"%-Qr.real " - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "(a) Capacity of shunt compensation equipment = 45.91 MVar \n", - "(b) Capacity of shunt compensation equipment = 3.33 MVar \n" - ] - } - ], - "prompt_number": 12 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.7 page 206" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import acos, sin\n", - "V=220 #kV\n", - "Z=20+1J*60 #ohm\n", - "Pr=100 #MVA\n", - "pf=0.8 #lagging pf\n", - "P=Pr*10**6*pf/3 #W\n", - "theta=acos(pf) #radian\n", - "Q=Pr*10**6*sin(theta)/3 #Vars\n", - "V1=V/sqrt(3)*1000 #V\n", - "V2=V1 #V\n", - "#ts**2*[1-(R*P+X*Q)/V1/V2]=V2/V1\n", - "ts=sqrt(V2/V1/(1-((Z).real*P+(Z).imag*Q)/V1/V2)) \n", - "tr=1/ts \n", - "print \"Tap settings : ts = %0.2f \"%ts.real\n", - "print \"tr = %0.2f \"%tr.real" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Tap settings : ts = 1.06 \n", - "tr = 0.94 \n" - ] - } - ], - "prompt_number": 15 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.8 page 207" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from __future__ import division\n", - "kV1=132 #kV\n", - "kV2=33 #kV\n", - "kV3=11 #kV\n", - "MVA1=75 #MVA\n", - "MVA2=50 #MVA\n", - "MVA3=25 #MVA\n", - "X=0.12 #p.u.\n", - "#part(a)\n", - "P=60 #MW\n", - "V1=125 #kV\n", - "V1=V1/kV1 #p.u.\n", - "Q=MVA2/MVA1 #p.u.\n", - "#V1=Vn+X*Q/Vn\n", - "from sympy import symbols, solve\n", - "Vn=symbols('Vn') \n", - "eqn=Vn**2-V1*Vn+X*Q\n", - "Vn=solve(eqn, Vn) #p.u.\n", - "Vn=Vn[0] #p.u.\n", - "Vn=Vn*kV1 #kV\n", - "k=Vn/kV2 #Transformer ratio\n", - "print \"Under Load condition, transformer ratio = %0.3f \"%k \n", - "#part(b)\n", - "V1=140 #kV\n", - "V1=V1/kV1 #p.u.\n", - "Q=MVA3/MVA1 #p.u.\n", - "#V1=Vn+X*Q/Vn\n", - "Vn=symbols('Vn') \n", - "eqn=Vn**2-V1*Vn+X*Q\n", - "Vn=solve(eqn, Vn) #p.u.\n", - "Vn=Vn[0] #p.u.\n", - "Vn=Vn*kV1 #kV\n", - "k=Vn/kV2 #Transformer ratio\n", - "print \"Under No Load condition, transformer ratio = %0.3f\" % k" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Under Load condition, transformer ratio = 0.375 \n", - "Under No Load condition, transformer ratio = 0.157" - ] - }, - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "\n" - ] - } - ], - "prompt_number": 16 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": [ - "exa 6.9 page 209" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "from math import tan, acos\n", - "V=132 #kV\n", - "Z=25+1J*66 #ohm\n", - "Pr=100 #MW\n", - "pf=0.9 #lagging pf\n", - "P=Pr*10**6/3 #W\n", - "theta=acos(pf) #radian\n", - "Q=Pr*10**6*tan(theta)/3 #vars\n", - "V1=V/sqrt(3)*1000 #V\n", - "V2=V1 #V\n", - "#ts**2*[1-(R*P+X*Q)/V1/V2]=V2/V1\n", - "ts=sqrt(V2/V1/(1-((Z).real*P+(Z).imag*Q)/V1/V2)) \n", - "tr=1/ts \n", - "print \"Tap settings : ts = %0.2f \"%ts.real \n", - "print \"tr = %0.2f \"%tr.real" - ], - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Tap settings : ts = 1.22 \n", - "tr = 0.82 \n" - ] - } - ], - "prompt_number": 18 - } - ], - "metadata": {} - } - ] -}
\ No newline at end of file |