diff options
author | Trupti Kini | 2016-02-08 23:30:15 +0600 |
---|---|---|
committer | Trupti Kini | 2016-02-08 23:30:15 +0600 |
commit | efe6636e4f2e6355a247753260890e746af053be (patch) | |
tree | ca95e0d7086e1476ff4f367cc86ffa11699e1dc7 /Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb | |
parent | d8e941a792d6ed7a34e6cb719c8d8ea5bb26a303 (diff) | |
download | Python-Textbook-Companions-efe6636e4f2e6355a247753260890e746af053be.tar.gz Python-Textbook-Companions-efe6636e4f2e6355a247753260890e746af053be.tar.bz2 Python-Textbook-Companions-efe6636e4f2e6355a247753260890e746af053be.zip |
Added(A)/Deleted(D) following books
A Generation_Distribution_and_Utilization_of_Electrical_Energy_by_C._L._Wadhwa/README.txt
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chaper12.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter10.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter11.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter13.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter14.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter15.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter2.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter20.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter23.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter3.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter4.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter5.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter7.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter8.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter9.ipynb
A Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/EnergyLoadnMassCurve.png
A Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadCurve2.png
A Generation_Of_Electrical_Energy_by_B._R._Gupta/screenshots/loadDurnECur.png
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter11_Control_of_DC_Motors.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter12_Controllers_and_Their_Optimisation.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter13_Choppers_and_Transportation_system_Application.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter15_The_AC_motor_control.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter16_Faults_and_Protection.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter3_Fabrication_and_Thermal_characteristics.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter4_Series_and_Parallel_Connection_of_Thyristors.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter5_Line_Commutated_converters.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter7_Inverter_Circuits.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter8_Harmonic_and_PowerFactor_with_the_converter_system.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter_2_The_Device_.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/11.png
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/13.png
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/8.png
A Turbomachines_by_A._V._Arasu/README.txt
A sample_notebooks/UmangAgarwal/Sample_Notebook_Umang.ipynb
A "sample_notebooks/Vishwajith VRao/Chapter1_1.ipynb"
Diffstat (limited to 'Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb')
-rw-r--r-- | Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb | 359 |
1 files changed, 359 insertions, 0 deletions
diff --git a/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb new file mode 100644 index 00000000..dccece3a --- /dev/null +++ b/Generation_Of_Electrical_Energy_by_B._R._Gupta/Chapter17.ipynb @@ -0,0 +1,359 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:95ea4a7b39974854edf27cd54ce8388d8f0d40efb44e4e2ed2e5394147a23212" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-17, Generating Capacity Reliability Evaluation" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "example 17.1 Page 421" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import factorial\n", + "#given\n", + "n=2 #number of generating station\n", + "f=0.03 #F.O.R\n", + "a=1-f\n", + "p=40 #generation station power \n", + "g = range(0,3)\n", + "Pg = range(0,3) \n", + "def comb(m,r):\n", + " y = factorial(m)/(factorial(m-r)*factorial(r))\n", + " return y\n", + "print \"No. of Units out\\t\\tCapacity Out MW\\t\\tCapacity Available MW\\t\\tProbability\"\n", + "for i in g:\n", + " Pg[i] = comb(n,i)*f**i*a**(n-i)\n", + " \n", + " print i,'\\t\\t\\t\\t',p*i,'\\t\\t\\t\\t',p*(n-i),'\\t\\t\\t',Pg[i]\n", + " \n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "No. of Units out\t\tCapacity Out MW\t\tCapacity Available MW\t\tProbability\n", + "0 \t\t\t\t0 \t\t\t\t80 \t\t\t0.9409\n", + "1 \t\t\t\t40 \t\t\t\t40 \t\t\t0.0582\n", + "2 \t\t\t\t80 \t\t\t\t0 \t\t\t0.0009\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "example 17.2 Page: 422" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#given\n", + "n1=2 #number of generating station\n", + "f1=0.03 #F.O.R\n", + "a1=1-f1\n", + "p1=40 #genetaion station power\n", + "n2=1 #number of genreting station \n", + "f2=0.03 #F.O.R for second set\n", + "a2=1-f2\n", + "p2=30 #generating station power in second set \n", + "def comb(m,r):\n", + " y=factorial(m)/(factorial(m-r)*factorial(r))\n", + " return y\n", + "pg2=range(0,n2+1)\n", + "co2=range(0,n2+1)\n", + "ca2=range(0,n2+1)\n", + "print \"Part(a):\"\n", + "for i in range(0,n2+1):\n", + " pg2[i]=comb(n2,i)*((f2)**i)*((a2)**(n2-i))\n", + " co2[i]=p2*i ;ca2[i]=p2*(n2-i)\n", + " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %0.2f \"%(i,co2[i],ca2[i],pg2[i])\n", + "\n", + "pg1=range(0,n1)\n", + "co1=range(0,n1)\n", + "ca1=range(0,n1)\n", + "print \"Part(b):\"\n", + "print \"\\nfor exp 17 1 \"\n", + "for i in range(0,n1):\n", + " pg1[i]=comb(n1,i)*((f1)**i)*((a1)**(n1-i))\n", + " co1[i]=p1*i ;ca1[i]=p1*(n1-i)\n", + " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %4f \"%(i,co1[i],ca1[i],pg1[i])\n", + "\n", + "print \"combination of 2 set of stations\"\n", + "tp=1\n", + "pocg=0\n", + "for i in range(0,n1):\n", + " \n", + " for j in range(0,n2):\n", + " og=co1[i]+co2[j] #now total system capacity out\n", + " cg=ca1[i]+ca2[j] #now total system capacity available\n", + " tp=tp-pocg\n", + " pocg=pg1[i]*pg2[j] #individual stste probability\n", + " print \"\\ncapacity out %dMW ,capacity available %dMW ,individual state probability %.6f ,cumulative probability %.6f\"%(og,cg,pocg,tp)\n", + " \n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Part(a):\n", + "\n", + "number of units out 0 ,capacity out 0MW ,capacity available 30MW ,probability 0.97 \n", + "\n", + "number of units out 1 ,capacity out 30MW ,capacity available 0MW ,probability 0.03 \n", + "Part(b):\n", + "\n", + "for exp 17 1 \n", + "\n", + "number of units out 0 ,capacity out 0MW ,capacity available 80MW ,probability 0.940900 \n", + "\n", + "number of units out 1 ,capacity out 40MW ,capacity available 40MW ,probability 0.058200 \n", + "combination of 2 set of stations\n", + "\n", + "capacity out 0MW ,capacity available 110MW ,individual state probability 0.912673 ,cumulative probability 1.000000\n", + "\n", + "capacity out 40MW ,capacity available 70MW ,individual state probability 0.056454 ,cumulative probability 0.087327\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "example 17.3: Page 423" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#given\n", + "n=4 #number of generating station\n", + "f=0.05 #F.O.R\n", + "a=1-f\n", + "p=50 #generation station power \n", + "mp=150 #maximum alowable power\n", + "lf=50 #load factor in persentage\n", + "def comb(m,r):\n", + " y=factorial(m)/(factorial(m-r)*factorial(r))\n", + " return y\n", + "pg = range(0,n)\n", + "co = range(0,n)\n", + "ca = range(0,n)\n", + "for i in range(0,n):\n", + " pg[i]=comb(n,i)*((f)**i)*((a)**(n-i))\n", + " co[i]=p*i ;ca[i]=p*(n-i)\n", + " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %4f \"%(i,co[i],ca[i],pg[i])\n", + "from numpy import arange\n", + "ld=arange(mp,0,-lf)\n", + "#[m n]=size(ld)\n", + "n =len(ld)\n", + "\n", + "%matplotlib inline\n", + "from matplotlib import pyplot as plt\n", + "plt.plot(ld)\n", + "plt.title('Load Duration Curve')\n", + "plt.xlabel('Time -->')\n", + "plt.ylabel('MW -->')\n", + "plt.show()\n", + "tg = range(0,n+1)\n", + "tg[n-2]=round(10000/(n-2))/100\n", + "tg[n-1]=tg[n-2]*2\n", + "tg[n]=100\n", + "tg[1]=0 ;tg[0]=0 #maximum load limit\n", + "el = range(0,n)\n", + "for i in range(0,n):\n", + " el[i]=pg[i]*tg[i]\n", + " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %4f ,tg in persentage %.2f ,expected load %.6fMW\"%(i,co[i],ca[i],pg[i],tg[i],el[i])\n", + "\n", + "lt=sum(el)\n", + "print \"\\n\\nexpected loss of load is %.6fMW percent of time. assuming 365 days in a year, then expected loss of load is %.3fMW days per year\"%(lt,lt*365/100)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "\n", + "number of units out 0 ,capacity out 0MW ,capacity available 200MW ,probability 0.814506 \n", + "\n", + "number of units out 1 ,capacity out 50MW ,capacity available 150MW ,probability 0.171475 \n", + "\n", + "number of units out 2 ,capacity out 100MW ,capacity available 100MW ,probability 0.013538 \n", + "\n", + "number of units out 3 ,capacity out 150MW ,capacity available 50MW ,probability 0.000475 \n" + ] + }, + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEZCAYAAACNebLAAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAG5BJREFUeJzt3X+8HHV97/HXOwkUEE2AaCAQDFoSgoIKEnJpaVa9WKsW\nvCmPBjGAgD76KG2I96oQqE0Oty3BC4qplse9lR9GeRDgqqTJvYBEymKESkATiIbkgIokUEIiQRBi\nCZxP/5g5YbPZc87uOTs7s7vv5+OxD2ZnZ2c+u2z2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B3AXpIObF2JHcWfzSbyZ7MxkvYCvgPcGBHLaizS0OeziA3iIeBISZMl7Q3MBpZX\nLbMcOBtA0gzg+Xj9Ok62uyHfT0kTJCmdnk5y+vNzrS+1I/iz2UT+bNYvfZ+uA9ZHxFcGWKyhz2fh\nDjFFxKuS/hr4HskZONdFxKOS/iJ9/P9ExO2SPizpceAl4NwcSy60et5P4HTgLyW9CrwMnJFbwQUn\naSkwExgvaROwkOTsMH82h2Go9xN/NhvxB8Ac4BFJa9J5lwKHw/A+nx4oZ2ZmNRXxEJOZmRWAG4SZ\nmdXkBmFmZjW5QZiZWU1uEGZmVpMbhJmZ1eQGYV1J0kEVl5D+d0mb0+kXJX0t7/rMisDjIKzrSVoI\nvBgRX85p+/sBO9Or7ZoVhvcgzBL9l3MoSVqRTvdIWiLpB5KekDRL0lWSHpF0h6Qx6XLHSypLekjS\nnZIObnDbU4GNkq6UdFRzX5bZ8LlBmA3uCOB9JNfRvxFYGRHHAjuAj6QXR/sq8GcR8V7gBuAfGtlA\nRKwBjgU2ANdKWiXpk5Le0MTXYdawwl2LyaxAArgjIl6T9FNgVER8L31sHcmv9E0B3gF8P72m3Gjg\n6YY3lFyW+TrgOknT0unFwNiRvgiz4XKDMBvcKwAR0SepMiPoI/n3I+BnEXHSQCuQNBr4MUnDWQ6s\nIbkoHcD5EfGTdLnJwDkkF6RbCyxo5gsxa5QbhNnA6vmpy43AmyXNiIgfpYecjoyI9f0LRMRrwLur\nnrfrWv1pY7gWOAi4HjgpIob6GU6zzLlBmCWi4r+1pmHPX96KiNgp6XTgHyWNJfk3dTWwnvq9CsyP\niIcaL9ssOz7N1czMavJZTGZmVpMbhJmZ1eQGYWZmNblBmJlZTW4QZmZWkxuEmZnV5AZhZmY1uUGY\nmVlN/wkVxRcaayYErQAAAABJRU5ErkJggg==\n", + "text": [ + "<matplotlib.figure.Figure at 0x7f056d41bb90>" + ] + }, + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "\n", + "number of units out 0 ,capacity out 0MW ,capacity available 200MW ,probability 0.814506 ,tg in persentage 0.00 ,expected load 0.000000MW\n", + "\n", + "number of units out 1 ,capacity out 50MW ,capacity available 150MW ,probability 0.171475 ,tg in persentage 0.00 ,expected load 0.000000MW\n", + "\n", + "number of units out 2 ,capacity out 100MW ,capacity available 100MW ,probability 0.013538 ,tg in persentage 200.00 ,expected load 2.707500MW\n", + "\n", + "\n", + "expected loss of load is 2.707500MW percent of time. assuming 365 days in a year, then expected loss of load is 9.882MW days per year\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "example 17.4 Page 425" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#given\n", + "n=4 #number of generating station\n", + "f=0.02 #F.O.R\n", + "a=1-f\n", + "p=50 #generation station power \n", + "mp=150 #maximum alowable power\n", + "minp=30 #minimum power \n", + "lf=60 #load factor in persentage\n", + "def comb(m,r):\n", + " y=factorial(m)/(factorial(m-r)*factorial(r))\n", + " return y\n", + "\n", + "pg = range(0,n)\n", + "co = range(0,n)\n", + "ca = range(0,n)\n", + "for i in range(0,n):\n", + " pg[i]=comb(n,i)*((f)**i)*((a)**(n-i))\n", + " co[i]=p*i ;ca[i]=p*(n-i)\n", + " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %.7f \"%(i,co[i],ca[i],pg[i])\n", + "\n", + "from numpy import arange\n", + "ld=arange(mp,minp,-lf)\n", + "#[m n1]=size(ld)\n", + "n1=len(ld)\n", + "#[mm m]=max(co)\n", + "m=max(co)\n", + "\n", + "%matplotlib inline\n", + "from matplotlib import pyplot as plt\n", + "plt.plot(ld)\n", + "plt.title('Load Duration Curve')\n", + "plt.xlabel('Time -->')\n", + "plt.ylabel('MW -->')\n", + "plt.show()\n", + "\n", + "tg = range(0,n)\n", + "tg[0]=0\n", + "for i in range(1,n):\n", + " \n", + " tg[i]=(mp-ca[i])*100/(2*lf) #percentage time \n", + "\n", + "print \"\"\n", + "el = range(0,n)\n", + "for i in range(0,n):\n", + " el[i]=pg[i]*tg[i]\n", + " print \"\\nnumber of units out %d ,capacity out %dMW ,capacity available %dMW ,probability %4f ,tg in persentage %.2f ,expected load %.6fMW\"%(i-1,co[i],ca[i],pg[i],tg[i],el[i])\n", + "\n", + "lt=sum(el)\n", + "print \"\\n\\nexpected loss of load is %.6fMW percent of time. assuming 365 days in a year, then expected loss of load is %.3fMW days per year ,some times the loss of load is also expressed as reciprocal of this figure and then the units are years per day this result is %.4fMW years per day.\"%(lt,lt*365/100,100/(lt*365))" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "\n", + "number of units out 0 ,capacity out 0MW ,capacity available 200MW ,probability 0.9223682 \n", + "\n", + "number of units out 1 ,capacity out 50MW ,capacity available 150MW ,probability 0.0752954 \n", + "\n", + "number of units out 2 ,capacity out 100MW ,capacity available 100MW ,probability 0.0023050 \n", + "\n", + "number of units out 3 ,capacity out 150MW ,capacity available 50MW ,probability 0.0000314 \n" + ] + }, + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEZCAYAAACNebLAAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHE1JREFUeJzt3X20HHWd5/H3RwKjBHkIWZE8YDIa0PDkEwEZkXZYWUad\nRI07RHcvQnTWs8wCa5xRiLPkuo4g6grMOOTsKOEgHq5CUEhcntWWrDy4KMRgJkMiRBLAQEjQkMEh\nkO/+UXWTTtP33u57ux66+/M6555UV1VXfbtyb/36U79fdSsiMDMzq/eKogswM7NycgNhZmYNuYEw\nM7OG3ECYmVlDbiDMzKwhNxBmZtaQGwjrWJL6JV1TdB3DkXSYpG2SVHQtZq1yA2GZkLRe0ikZ72bI\nm3gkVSTtTE/O2yRtkPRdSW/PsqD0df/prgIjHouIV0cGNxwpca6kVZKeS1/jdZKOave+rDe5gbCs\nBMOcwHPyeHp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3OcusmIxyK92fB7wH+OiHUF1JiXEY9FRPxxREyPiOkk\n/RD/tQsbB2jub+Qm4J2S9ko/8+x4YHXOdeahmWOxBvj3AOk19yOAR3KtshxaPm+WLkFExIuS/htw\nG8kIhSsj4p8lfTJd/r8j4mZJ75W0juTznM4qsOTMNHMsgAuBg4DF6TvnHRExq6ias9LksegJTf6N\nrJF0K/BLYCfJ9650XQPR5O/FRcBVklaSvCn+TESM8XNOy0fSAHAyMFHSBmARyaXGUZ83faOcmZk1\nVMZLTGZmVgJuIMzMrCE3EGZm1pAbCDMza8gNhJmZNeQGwszMGnIDYT1J0sHpR2E/IOlJSRvT6W2S\nvl50fWZl4PsgrOdJWgRsi4ivFbT/fUlucNxRxP7NhuIEYZYQ7PqSneXpdL+kqyXdJWm9pA9J+mr6\n5Uy3SBqXrvc2SdX0U1NvlfTaFvd9BPAvkr4i6Y3tfVlmo+cGwmx404F3k3yW/reBOyLiGOB54H2S\n9gb+geTLid4OXEX6wXDNiogHgGNIPjPom5JWSDpT0vg2vg6zlpXus5jMSiSAWyLiJUkPAa+IiNvS\nZatIvsXscOBI4M70s7D2Ap5oeUcRzwFXAldKelM6fTlwwFhfhNlouYEwG94LABGxU1JtH8FOkr8f\nAb+KiBOH2oCkvYCfkzQ4y4AHSD5IDeDjEfGLdL1pwMeAeSRfnXlhO1+IWavcQJgNrZkvHPoX4N9J\nOiEi7k0vOc2o/eTUiHgJeHPd827ctZOkYfgmcDCwBDixi7/XwzqIGwizRNT822gaXv7tWxEROyR9\nGPh7SQeQ/E1dSmvfvfAiyTfh9doX2FjJeZirmZk15FFMZmbWkBsIMzNryA2EmZk15AbCzMwacgNh\nZmYNuYEwM7OG3ECYmVlDbiDMzKyh/w8YEJUAVpFFJgAAAABJRU5ErkJggg==\n", + "text": [ + "<matplotlib.figure.Figure at 0x7f0576ba1810>" + ] + }, + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "\n", + "\n", + "number of units out -1 ,capacity out 0MW ,capacity available 200MW ,probability 0.922368 ,tg in persentage 0.00 ,expected load 0.000000MW\n", + "\n", + "number of units out 0 ,capacity out 50MW ,capacity available 150MW ,probability 0.075295 ,tg in persentage 0.00 ,expected load 0.000000MW\n", + "\n", + "number of units out 1 ,capacity out 100MW ,capacity available 100MW ,probability 0.002305 ,tg in persentage 41.00 ,expected load 0.094503MW\n", + "\n", + "number of units out 2 ,capacity out 150MW ,capacity available 50MW ,probability 0.000031 ,tg in persentage 83.00 ,expected load 0.002603MW\n", + "\n", + "\n", + "expected loss of load is 0.097106MW percent of time. assuming 365 days in a year, then expected loss of load is 0.354MW days per year ,some times the loss of load is also expressed as reciprocal of this figure and then the units are years per day this result is 2.8214MW years per day.\n" + ] + } + ], + "prompt_number": 6 + } + ], + "metadata": {} + } + ] +} |