Professional Documents
Culture Documents
Control Systems - Assignment
Control Systems - Assignment
Home Assignment-1
I.P.N.D.ILANGAKOON
210229X
Task – (a)
Assumptions:-
1. Floor has a perfect thermal insulation.
2. Outdoor temperature remains constant.
3. No living beings in the indoor room.
4. Any heat emitting elements in the indoor room such as computers, heaters are in OFF state.
5. Air is kept perfectly mixed.
𝜃0 =Initial Temperature
𝜃𝑜𝑢𝑡 =Outdoor Temperature
U - the heat transfer coefficient
𝐴 - is the area of the walls and ceiling
m - is the mass of the indoor air
c - is the specific heat capacity.
𝑈𝐴(𝜃𝑜𝑢𝑡𝑑−𝜃)− 𝑄𝑜𝑢𝑡=𝑚𝑐dθ
dt
𝑈𝐴(𝜃𝑜𝑢𝑡𝑑)−𝑈𝐴𝜃− 𝑄𝑜𝑢𝑡=𝑚𝑐dθ
dt
(𝜃𝑜𝑢𝑡𝑑− QUA
out
)− 𝜃= mc dθ
UA dt
∫𝑑𝑡=−mc
UA
∫(θ−K
dθ
1)
+𝐶1
𝑡=−mc
UA
ln(𝜃−𝐾1)+𝐶1
ln(𝜃−𝐾1)= −UA
𝑚𝑐
(𝑡−𝐶1)
−𝑈𝐴
𝜃−𝐾1=𝑒 𝑚𝑐 (𝑡−𝐶1)
−𝑈𝐴C1 −𝑈𝐴t −𝑈𝐴C1
𝜃−𝐾1=𝑒 𝑚𝑐 ×𝑒 𝑚𝑐 if we take B=𝑒 𝑚𝑐
−𝑈𝐴t
𝜃−𝐾1=𝐵×𝑒 𝑚𝑐
−𝑈𝐴t
𝜃(𝑡)=𝐵𝑒 𝑚𝑐 +𝐾1
B is a constant determined by using the boundary condition 𝜃(0)=𝜃ₒ ,
When considering t=0,
𝜃(0)=𝜃ₒ=𝐵+𝐾1
𝐵=𝜃ₒ−𝐾1
−𝑈𝐴t
𝜃(𝑡)=(𝜃ₒ−𝐾1) 𝑒 𝑚𝑐 +𝐾1
Where 𝐾1=𝜃𝑜𝑢𝑡𝑑−QUA
out
Task - (b)
When Air conditioner is turned off condition,
𝐾1=𝜃𝑜𝑢𝑡𝑑
−𝑈𝐴t
𝜃(𝑡)=(𝜃ₒ−𝜃𝑜𝑢𝑡𝑑) 𝑒 𝑚𝑐 +𝜃𝑜𝑢𝑡𝑑
ln(𝜃𝑜𝑢𝑡𝑑−𝜃(𝑡))=− UA
𝑚𝑐
𝑡+ln(𝜃𝑜𝑢𝑡𝑑−𝜃ₒ)
𝑦 =m1x + 𝐶1
t [min] 0 5 10 15 20 25 30 35 40
𝜃0𝐶 19.5 24.75 27.75 29.5 30.5 31 31.5 31.75 31.8
x 0 5 10 15 20 25 30 35 40
y=ln (𝜃𝑜𝑢𝑡𝑑 − 𝜃) 2.5257 1.9810 1.4469 0.9163 0.4055 0 -0.6931 -1.3863 -1.6094
m1 = - 0.1061 C1 = 2.5211
UA
= 0.1061
𝑚𝑐
0.1061𝑚𝑐
U=
𝐴
𝐾1=𝜃𝑜𝑢𝑡𝑑−QUA
out
---(2)
Therefore system will not reach 18° 𝐶 even if the AC worked non-stop.
2. If we consider 8 hours as the daily operational hours
We can calculate the total number of hours that the AC operates in 3 years = 8 x 365 x 2 hours
5840 hours
Total energy consumed 18 C = 5840 x 2600 x 10-3 kWh = 15184 kWh
For temperature is set at 18⁰C = 135×2600×5840x 0.001 = LKR 2049840
Set temperature = 26 °C
1 st step
2 st step
Air conditioner turns off and the temperature rises to the upper bound, θset + Δθ.
Let time taken for the temperature to rise from the lower bound to upper bound be t ,
Then Qout = 0, K1 = θoutd, θ(t) = θset + Δθ, θₒ = θset - Δθ
Hence the equation changes to
−𝑈𝐴t
θ(t) = (𝜃set + Δθ )=[(𝜃set− Δθ) – θoutd ] 𝑒 𝑚𝑐 + θoutd
3 rd step
The air conditioner turns back on, and the temperature falls from upper bound to lower bound.
Let time taken for the temperature to drop from the upper bound to lower bound be t.
Then θ(t) = θset - Δθ, θₒ = θset + Δθ
Equation changes to
−𝑈𝐴t
θ(t) = (𝜃set - Δθ )=[(𝜃set+ Δθ) – 𝐾1 ] 𝑒 𝑚𝑐 + 𝐾1
−𝑚𝑐 θset− Δθ−K1
t= 𝑈𝐴
ln (
θset+Δθ−K1
)
−191.16×1 26− 0.5−21.601
t = 0.1409×144 ln (26+ 0.5−21.601)
t = 2.151 minutes
𝑡𝑂𝑁 2.151
Duty Ratio (D) = 𝑡 = = 0.578 → 57.8%
𝑂𝐹𝐹 +𝑡𝑂𝑁 1.57+2.151
𝑡1 +𝐷(8×60−𝑡1 )
Total number of ON hours per day = 60
ℎ𝑟𝑠
[𝑡1 +𝐷(8×60−𝑡1 )]
Total number of ON hours in 3 years = 60
× 365 × 2 ℎ𝑟𝑠
= 3418.084 hrs
Total energy consumed 26 C = 3418.084 x 2600 x 10-3 kWh = 8887.0184 kWh
𝐾1=𝜃𝑜𝑢𝑡𝑑−QUA
out
---(2)
Therefore system will never reach 18° 𝐶 even if the AC worked non-stop.
2 st step
Air conditioner turns off and the temperature rises to the upper bound, θset + Δθ.
Let time taken for the temperature to rise from the lower bound to upper bound be t ,
Then Qout = 0, K1 = θoutd, θ(t) = θset + Δθ, θₒ = θset - Δθ
Hence the equation changes to
−𝑈𝐴t
θ(t) = (𝜃set + Δθ )=[(𝜃set− Δθ) – θoutd ] 𝑒 𝑚𝑐 + θoutd
3 rd step
The air conditioner turns back on, and the temperature falls from upper bound to lower bound.
Let time taken for the temperature to drop from the upper bound to lower bound be t.
Then θ(t) = θset - Δθ, θₒ = θset + Δθ
Equation changes to
−𝑈𝐴t
θ(t) = (𝜃set - Δθ )=[(𝜃set+ Δθ) – 𝐾1 ] 𝑒 𝑚𝑐 + 𝐾1
−𝑚𝑐 θset− Δθ−K1
t= 𝑈𝐴
ln (
θset+Δθ−K1
)
−191.16×1 26− 0.5−24.72
t = 0.1409×144 ln (26+ 0.5−24.72)
t = 7.774 minutes
𝑡1 +𝐷(8×60−𝑡1 )
Total number of ON hours per day = 60
ℎ𝑟𝑠
[𝑡 +𝐷(8×60−𝑡 )]
Total number of ON hours in 3 years = 1 1
× 365 × 2 ℎ𝑟𝑠
60
= 4899.049 hrs
Total energy consumed = 4899.049 x 2600 x 10-3 kWh = 12737.527 kWh
Case 1 Case 2
Efficiency 100% 70%
Minimum temperature that can be achieved 21.601 24.72
Total ON hours 18 C set temp 5840 5840
(within 2 years) 26 C set temp 3418.084 4899.049
Total energy cost 18 C set temp Rs.2049840 Rs.2049840
26 C set temp Rs.1199747.484 Rs.1719566.145
Energy Consumption 18 C set temp 15184 kWh 15184 kWh
26 C set temp 8887.0184 kWh 12737.527 kWh
When the temperature is set to 18 C in both cases achievable temperature is lower in both cases.
Therefore AC units always remain in the ON state. And even if the AC units always remain in the ON
state 18 C is not achievable. Therefore AC units can overheat and the expected life of the unit will
become lower.
When the temperature is set to 26 C it is achievable in both cases. Therefore in both cases AC s will
achieve the set temperature. But in the shaded area energy consumption and cost is low compared to the
heated area case.
Therefore it is recommended that to install the outside unit of the AC in a shaded area.
Matlab simulation graphs
Case I – temperature 18 °C
%Variables and constants declaration
m = 191.16; %indoor air Mass
U = 0.1517; % Heat transfer coefficient
c = 1; % Specific heat capacity-air
outdoor_temp = 32; % Outdoor temp
A = 144; % Area
initial_temp = 31; % Initial indoor temp
set_temp = 18; %indoor temp
Heat_out = 200/0.94787; % Heat output
% Plot
plot(set_temp, temp1), grid on
xlabel('Time (minutes)')
ylabel('Indoor Temperature (Celcius)')
title('Time vs Indoor Temperature Variation Temp = 18 ' );
Case II – temperature 18 °C
%Variables and constants declaration
m = 191.16; %indoor air Mass
U = 0.1517; % Heat transfer coefficient
c = 1; % Specific heat capacity-air
outdoor_temp = 32; % Outdoor temp
A = 144; % Area
initial_temp = 31; % Initial indoor temp
set_temp = 18; %indoor temp
Heat_out = 200/0.94787; % Heat output
% Plot
plot(set_temp, temp1), grid on
xlabel('Time (minutes)')
ylabel('Indoor Temperature (Celcius)')
title('Time vs Indoor Temperature Variation Temp = 18 ' );
Case I – temperature 18 °C
%Variables and constants declaration
m_air = 191.16; %air Mass
c_air = 1; % Specific heat capacity-air
outdoor_temp_C = 32; % Outdoor temp
initial_indoor_temp_C = 31; % indoor temp
set_indoor_temp_C = 26; % Set indoor temp
heat_output_BTU_per_hr = (200)/0.94787; % Heat output of the AC (BTU/hrs)
heat_transfer_coefficient = 0.1517; % Heat transfer coefficient
area = 144; % Area