"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"from __future__ import division\n",
"import math\n",
"import cmath\n",
"#initializing the variables:\n",
"Ph1 = 40;# in W\n",
"Pe1 = 20;# in W\n",
"f1 = 50;# in Hz\n",
"x = 1/2;\n",
"f2 = 60;# in Hz\n",
"t1 = 1;\n",
" #calculation: \n",
" #hysteresis loss Ph = kh*v*f*(Bm)**n = k1*f\n",
" #Thus when the hysteresis is 40 W and the frequency 50 Hz,\n",
"k1 = Ph1/f1\n",
" #If the frequency is increased to 60 Hz,\n",
"Ph2 = k1*f2\n",
" #eddy current loss, Pe = ke*(Bm1*f1*t1)**2 = k2*f**2\n",
" #since the flux density and lamination thickness are constant.\n",
" #When the eddy current loss is 20 W the frequency is 50 Hz. Thus\n",
"k2 = Pe1/(f1**2)\n",
" #If the frequency is increased to 60 Hz,\n",
"Pe2 = k2*(f2**2)\n",
" #hysteresis loss Ph = kh*v*f*(Bm)**n, is independent of the thickness of the laminations. \n",
" #Thus, if the thickness of the laminations is halved, the hysteresis loss remains at \n",
"Phb2 = Ph1\n",
" #eddy current loss, Pe = ke*(Bm1*f1*t1)**2 = k2*t**3\n",
"k3 = Pe1/(t1**3)\n",
"t2 = 0.5*t1\n",
"Peb2 = k3*t2**3\n",
" #total core loss when the thickness of the laminations is halved is given by\n",
"TL = Phb2 + Peb2\n",
"\n",
"\n",
"#Results\n",
"print \"\\n\\n Result \\n\\n\"\n",
"print \"\\n(a)If the frequency is increased to 60 Hz,hysteresis loss is \",Ph2,\" W and eddy current loss \", Pe2,\" W\"\n",
"print \"\\n(b)the total core loss when the thickness of the laminations is halved \",TL,\" W\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
"\n",
" Result \n",
"\n",
"\n",
"\n",
"(a)If the frequency is increased to 60 Hz,hysteresis loss is 48.0 W and eddy current loss 28.8 W\n",
"\n",
"(b)the total core loss when the thickness of the laminations is halved 42.5 W\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"
Example 8, page no. 701
"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"from __future__ import division\n",
"import math\n",
"import cmath\n",
"#initializing the variables:\n",
"V1 = 500;# in Volts\n",
"V2 = 1000;# in Volts\n",
"Ph1 = 400;# in W\n",
"Pe1 = 150;# in W\n",
"f1 = 50;# in Hz\n",
"n = 1.6;# Steinmetz index\n",
"f2 = 100;# in Hz\n",
"\n",
" #calculation: \n",
" #hysteresis loss Ph = k1*f*(E/f)**n\n",
" #At 500 V and 50 Hz\n",
"k1 = Ph1/(f1*(V1/f1)**1.6)\n",
" #At 1000 V and 100 Hz,\n",
"Ph2 = k1*f2*(V2/f2)**1.6\n",
" #eddy current loss, Pe = k2*E**2\n",
" #At 500 V,\n",
"k2 = Pe1/(V1**2)\n",
" #At 1000 V,\n",
"Pe2 = k2*(V2**2)\n",
" #the new total core loss\n",
"TL = Ph2 + Pe2\n",
"\n",
"\n",
"#Results\n",
"print \"\\n\\n Result \\n\\n\"\n",
"print \"\\n the new total core loss \",TL,\" W\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
"\n",
" Result \n",
"\n",
"\n",
"\n",
" the new total core loss 1400.0 W"
]
}
],
"prompt_number": 8
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"
Example 9, page no. 702
"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"from __future__ import division\n",
"import math\n",
"import cmath\n",
"#from pylab import *\n",
"%matplotlib inline\n",
"#initializing the variables:\n",
"f1 = 50;# in Hz\n",
"f2 = 60;# in Hz\n",
"\n",
"#calculation:\n",
"k1 = 0.5\n",
"k2 = 0.032\n",
"f = [30, 50, 70,90]\n",
"Pcf = [1.5, 2.1, 2.7, 3.4]\n",
"fig = plt.figure()\n",
"ax = fig.add_subplot(1, 1, 1)\n",
"ax.plot(f,Pcf,'-')\n",
"xlabel('f')\n",
"ylabel('Pc/f')\n",
"show()\n",
"HL1 = k1*f1\n",
"ECL1 = k2*f1**2\n",
"\n",
"HL2 = k1*f2\n",
"ECL2 = k2*f2**2\n",
"\n",
"#Results\n",
"print \"\\n\\n Result \\n\\n\"\n",
"print \"\\n (a) at Frequency = 50 Hz, hysteresis loss is\", HL1,\" W and eddy current loss is\", ECL1,\" W\"\n",
"print \"\\n (b) at Frequency = 60 Hz, hysteresis loss is\", HL2,\" W and eddy current loss is\", ECL2,\" W\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
"Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.zmq.pylab.backend_inline].\n",
"For more information, type 'help(pylab)'."
]
},
{
"metadata": {},
"output_type": "display_data",
"png": "iVBORw0KGgoAAAANSUhEUgAAAYMAAAEKCAYAAADw2zkCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAF3FJREFUeJzt3XtwVPX5x/HPAplAkCIINcwY7pRy2+wSSOhUNFCLGgyp\nBQczFiimM9RiCyIOg6UjTBmodiAwtsZLocOIyDjQsRAQKMhmLJeN4RKQi1yUIVigBAskciff3x+R\n/Ii57S57ds+efb9mdoZkzx6/X2H2yfM5z564jDFGAIC41izaCwAARB/FAABAMQAAUAwAAKIYAABE\nMQAAyKJicPXqVWVkZMjj8WjIkCHKz8+vc4zP51Pbtm3l9Xrl9Xo1d+5cK5YCAAhACytO2rJlS23d\nulVJSUm6du2a0tLSlJ2drZ49e9Y67uGHH9aaNWusWAIAIAiWxURJSUmSpMrKSt28eVOJiYl1juHz\nbgBgD5YVg6qqKqWmpur+++/X888/r5SUlFrPu1wubd++XR6PR9OmTdPx48etWgoAoCnGYl9++aXp\n06eP2b17d63vX7p0yXzzzTfm+vXr5p133jEjR46s9/WSePDgwYNHCI9gWD5N1LVrV2VlZcnv99f6\nfps2bZSUlKSEhATl5eXp008/1bVr1+o9hzHGsY9X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YII=\n"
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
"\n",
" Result \n",
"\n",
"\n",
"\n",
" (a) at Frequency = 50 Hz, hysteresis loss is 25.0 W and eddy current loss is 80.0 W\n",
"\n",
" (b) at Frequency = 60 Hz, hysteresis loss is 30.0 W and eddy current loss is 115.2 W"
]
}
],
"prompt_number": 1
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"
Example 10, page no. 703
"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"from __future__ import division\n",
"import math\n",
"import cmath\n",
"#initializing the variables:\n",
"TL1 = 400;# in Watt\n",
"TL2 = 498;# in Watt\n",
"x = 0.25;\n",
"y = 0.4;\n",
"f1 = 50;# in Hz\n",
"n = 1.7;# Steinmetz index\n",
"f2 = 60;# in Hz\n",
"\n",
" #calculation: \n",
" #if volume v and the maximum flux density are constant\n",
" #hysteresis loss Ph = kh*v*f*(Bm)**n = k1*f\n",
" #(if the maximum flux density and the lamination thickness are constant)\n",
" #eddy current loss, Pe = ke*(Bm1*f1*t1)**2 = k2*f**2\n",
" #At 50 Hz frequency, TL1 = k1*f1 + k2*f1**2\n",
" #At 60 Hz frequency, TL2 = k1*f2 + k2*f2**2\n",
" #Solving equations gives the values of k1 and k2.\n",
"k2 = (5*TL2 - 6*TL1)/(5*(f2**2) - 6*(f1**2))\n",
"k1 = (TL1 - k2*f1**2)/f1\n",
" #hysteresis loss Ph = k1*f\n",
"Ph1 = k1*f1\n",
" #eddy current loss\n",
"Pe1 = k2*f1**2\n",
" #Since at 50 Hz the flux density is increased by 25%, the new hysteresis loss is\n",
"Ph2 = Ph1*(1 + x)**1.7\n",
" #Since at 50 Hz the flux density is increased by 25%, and the lamination thickness is increased by 40%, \n",
" #the new eddy current loss is\n",
"Pe2 = Pe1*((1 + x)**2)*(1 + y)**3\n",
"\n",
"\n",
"#Results\n",
"print \"\\n\\n Result \\n\\n\"\n",
"print \"\\n (a)the hysteresis and eddy current losses at 50 Hz are \",round(Ph1,2),\" W and \",round( Pe1,2),\" W resp.\"\n",
"print \"\\n (b)the hysteresis and eddy current losses at 50 Hz after increement are \",round(Ph2,2),\" W and \",round( Pe2,2),\" W resp.\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
"\n",
" Result \n",
"\n",
"\n",
"\n",
" (a)the hysteresis and eddy current losses at 50 Hz are 325.0 W and 75.0 W resp.\n",
"\n",
" (b)the hysteresis and eddy current losses at 50 Hz after increement are 474.93 W and 321.56 W resp.\n"
]
}
],
"prompt_number": 3
}
],
"metadata": {}
}
]
}