summaryrefslogtreecommitdiff
path: root/Electric_Machinery_and_Transformers/APPENDIX.ipynb
blob: 38a77ec0ecee4c78220d68a50acb3b4b51e0a059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "APPENDIX A-3: APPLICABLE SECTIONS OF THE NATIONAL ELECTRIC CODE(NEC)"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 1, Page number 594"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "hp = 5.0       #Power rating of motor(hp)\n",
      "V = 220.0      #Voltage rating of motor(V)\n",
      "Va_a = 180.0   #Armature voltage(V)\n",
      "Va_b = 240.0   #Armature voltage(V)\n",
      "\n",
      "#Calculation\n",
      "I1 = 27.0              #Current(A). From Appendix A-3 table for 180V\n",
      "I_L1 = I1*(Va_a/V)     #Full load current(A)\n",
      "I2 = 20.0              #Current(A). From Appendix A-3 table for 240V\n",
      "I_L2 = I2*(Va_b/V)     #Full load current(A)\n",
      "\n",
      "#Result\n",
      "print('Case(a): Full-load current for armature voltage of 180 V , I_L1 = %.f A' %I_L1)\n",
      "print('Case(b): Full-load current for armature voltage of 240 V , I_L2 = %.f A' %I_L2)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Case(a): Full-load current for armature voltage of 180 V , I_L1 = 22 A\n",
        "Case(b): Full-load current for armature voltage of 240 V , I_L2 = 22 A\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2, Page number 594"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "hp = 10.0      #Power rating of motor(hp)\n",
      "V = 600.0      #Voltage rating of motor(V)\n",
      "Va = 550.0     #Armature voltage(V)\n",
      "\n",
      "#Calculation\n",
      "I = 16.0              #Current(A). From Appendix A-3 table for 550 V\n",
      "I_L = I*(Va/V)        #Full load current(A)\n",
      "\n",
      "#Result\n",
      "print('Line current at rated load , I_L = %.1f A' %I_L)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Line current at rated load , I_L = 14.7 A\n"
       ]
      }
     ],
     "prompt_number": 1
    }
   ],
   "metadata": {}
  }
 ]
}