summaryrefslogtreecommitdiff
path: root/3472/CH39/EX39.26/Example39_26.sce
blob: a61686a0434c044464cd2bddee258798ce6fbb5e (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
// A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION 

// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS

// EXAMPLE : 1.26 :
// Page number 707-708
clear ; clc ; close ; // Clear the work space and console

// Given data
hp_1 = 100.0       // Motor load(hp)
t_1 = 10.0         // Time of operation(min)
hp_2 = 0           // Motor load(hp)
t_2 = 5.0          // Time of operation(min)
hp_3 = 60.0        // Motor load(hp)
t_3 = 8.0          // Time of operation(min)
hp_4 = 0           // Motor load(hp)
t_4 = 4.0          // Time of operation(min)

// Calculations
t_total = t_1+t_2+t_3+t_4                                               // Total time of operation(min)
rms = ((hp_1**2*t_1+hp_2**2*t_2+hp_3**2*t_3+hp_4**2*t_4)/t_total)**0.5  // rms horsepower

// Results
disp("PART IV - EXAMPLE : 1.26 : SOLUTION :-")
printf("\nRequired size of continuously rated motor = %.f H.P\n", rms)
printf("\nNOTE: ERROR: Calculation mistake in the textbook")
printf("\n      Actual value is written here instead of standard values")