summaryrefslogtreecommitdiff
path: root/3731/CH4/EX4.1/Ex4_1.sce
blob: 152d1bea0e1ca079a43cf9cf8dc4639595b3da3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//Chapter 4: Selection of Motor Power Rating
//Example 1
clc;

//Variable Initialization
t_min=40       // Minimum Temperature Rise in degree Celsius
t_ri=15          // Temperature Rise in degree Celsius
t_cl=10          // Clutched Time in sec
t_de=20          // Declutched Time in sec
k= 60           // Heating and Cooling time constant  

//Solution

x=exp(-t_de/k)
y=exp(-t_cl/k)

th2= (t_min-t_ri*(1-x))/x       //as t_min=t_ri(1-x)+th2*x
th_s=(th2-t_min*y)/(1-y)   //as th2=th_s(1-y)+t_min*y

mprintf("Maximum temperature during the duty cycle :%.1f °C",th2)
mprintf("\n Temperature when the load is clutched continuously :%.1f °C",th_s)