You are on page 1of 5

MATLAB – Report #1 – Solar Calculations

Submitted to:
❖ Prof. Ehab Mouris

Submitted By:

• Mohamed Ahmed Zein


• Mostafa Ahmed Zein

ASU- JAMILA – Solar Energy & Thermal Converters MEP 691 November 2019
Objectives:
• Calculating Solar Intensity/𝒎𝟐 on Solar Collector Facing South 𝜸 = 𝟎𝒐 for
Cairo (𝝓 = 𝟑𝟎𝒐 )
• Plotting a graph of Average Day of each month against Solar Intensity/𝒎𝟐 for
Different Tilt Angles (𝜷 = 𝟏𝟓𝒐 , 𝟑𝟎𝒐 , 𝟒𝟓𝒐 )

Givens:
Month N (Calculation) Average Day Day No. A (𝑊/𝑚2 ) B C

𝐽𝑎𝑛𝑢𝑎𝑟𝑦 𝒊 𝟏𝟕 𝟏𝟕 𝟏𝟐𝟎𝟐 𝟎. 𝟏𝟒𝟏 𝟎. 𝟏𝟎𝟑

𝐹𝑒𝑏𝑟𝑢𝑎𝑟𝑦 𝟑𝟏 + 𝒊 𝟏𝟔 𝟒𝟕 𝟏𝟏𝟖𝟕 𝟎. 𝟏𝟒𝟐 𝟎. 𝟏𝟎𝟒

𝑀𝑎𝑟𝑐ℎ 𝟓𝟗 + 𝒊 𝟏𝟔 𝟕𝟎 𝟏𝟏𝟔𝟒 𝟎. 𝟏𝟒𝟗 𝟎. 𝟏𝟎𝟗

𝐴𝑝𝑟𝑖𝑙 𝟗𝟎 + 𝒊 𝟏𝟓 𝟗𝟓 𝟏𝟏𝟑𝟎 𝟎. 𝟏𝟔𝟒 𝟎. 𝟏𝟐𝟎

𝑀𝑎𝑦 𝟏𝟐𝟎 + 𝒊 𝟏𝟓 𝟏𝟑𝟓 𝟏𝟏𝟎𝟔 𝟎. 𝟏𝟕𝟕 𝟎. 𝟏𝟑𝟎

𝐽𝑢𝑛𝑒 𝟏𝟓𝟏 + 𝒊 𝟏𝟏 𝟏𝟔𝟐 𝟏𝟎𝟗𝟐 𝟎. 𝟏𝟖𝟓 𝟎. 𝟏𝟑𝟕

𝐽𝑢𝑙𝑦 𝟏𝟖𝟏 + 𝒊 𝟏𝟕 𝟏𝟗𝟖 𝟏𝟎𝟗𝟑 𝟎. 𝟏𝟖𝟔 𝟎. 𝟏𝟑𝟖

𝐴𝑢𝑔𝑢𝑠𝑡 𝟐𝟏𝟐 + 𝒊 𝟏𝟔 𝟐𝟐𝟖 𝟏𝟏𝟎𝟕 𝟎. 𝟏𝟖𝟐 𝟎. 𝟏𝟑𝟒

𝑆𝑒𝑝𝑡𝑒𝑚𝑏𝑒𝑟 𝟐𝟒𝟑 + 𝒊 𝟏𝟓 𝟐𝟓𝟖 𝟏𝟏𝟑𝟔 𝟎. 𝟏𝟔𝟓 𝟎. 𝟏𝟐𝟏

𝑂𝑐𝑡𝑜𝑏𝑒𝑟 𝟐𝟕𝟑 + 𝒊 𝟏𝟓 𝟐𝟖𝟖 𝟏𝟏𝟔𝟔 𝟎. 𝟏𝟓𝟐 𝟎. 𝟏𝟏𝟏

𝑁𝑜𝑣𝑒𝑚𝑏𝑒𝑟 𝟑𝟎𝟒 + 𝒊 𝟏𝟒 𝟑𝟏𝟖 𝟏𝟏𝟗𝟎 𝟎. 𝟏𝟒𝟐 𝟎. 𝟏𝟎𝟔

𝐷𝑒𝑐𝑒𝑚𝑏𝑒𝑟 𝟑𝟑𝟒 + 𝒊 𝟏𝟎 𝟑𝟒𝟒 𝟏𝟐𝟎𝟒 𝟎. 𝟏𝟒𝟐 𝟎. 𝟏𝟎𝟑

1|Page
Calculations Procedures:

Calculate 𝜹 , 𝝎𝒔 , 𝜶 , 𝜸𝒔 , 𝜽 , 𝑮𝒃𝒏 , 𝑮𝒃𝒕 , 𝑮𝒅𝒕 , 𝑮𝑹𝒕 , 𝑮𝒕𝒐𝒕𝒂𝒍 Respectively.

MATLAB Code:
tic;
phi =30; %latitude angle
gamma=0;%surface azimuth
for beta=[15,45,30]
omega=15;
rho_g=0.3;
n=[17,47,70,95,135,162,198,228,258,288,318,344];
delta=23.45*sind((n+284)/365*360);% declination
omega_S=acosd(-tand(phi)*tand(delta));
alpha=asind(sind(phi)* sind(delta) +cosd(phi) * cosd(delta)
* cosd(omega));
gamma_S=sign(omega).*acosd((sind(phi)*sind(alpha)-
sind(delta))./(cosd(phi)*cosd(alpha)));
theta=min(90,acosd(sind(alpha)*cosd(beta)+cosd(alpha)*sind(b
eta).*cosd(gamma_S-gamma)));
A=[1202,1187,1164,1130,1106,1092,1093,1107,1136,1116,1190,12
04];
B=[0.141,0.142,0.149,0.164,0.177,0.185,0.186,0.182,0.165,0.1
52,0.142,0.142];
C=[0.103,0.104,0.109,0.12,0.13,0.137,0.138,0.134,0.121,0.111
,0.106,0.103];
Gbn=A.*exp(-B/sind(alpha));
Gbt=Gbn.*cosd(theta);
Gdt=C.*Gbn.*((1+cosd(beta))/2);
Grt=Gbn.*(sind(alpha)+C).*((1-cosd(beta))/2).*rho_g;
G=Gbt+Grt+Gdt;
Ho=((24/pi).*1353.*3600).*(1+0.033.*cosd((360.*n)/365)).*((o
mega_S.*(pi/180).*sind(phi).*sind(delta))+cosd(phi).*cosd(de
lta).*sind(omega_S));
% plot(n,G);
hold on
for n=[21,47,70,95,135,162,198,228,258,288,318,344]
xline(n,':r');
end

2|Page
legend({'beta=15','beta=45','beta=30','n=21','n=47','n=70','
n=95','n=135','n=162','n=198','n=228','n=318','n=344'});
xlabel('Day');
ylabel('Total Solar Intensity/m2 (W/m2)');
text(18,810,'Jan','FontSize',10);
text(44,810,'Feb','FontSize',10);
text(67,810,'Mar','FontSize',10);
text(91,810,'April','FontSize',10);
text(132,810,'May','FontSize',10);
text(159,810,'June','FontSize',10);
text(194,810,'July','FontSize',10);
text(225,810,'Aug','FontSize',10);
text(255,810,'Sep','FontSize',10);
text(285,810,'Oct','FontSize',10);
text(315,810,'Nov','FontSize',10);
text(341,810,'Dec','FontSize',10);
title('G-N Diagram (Average day of each Month)');
text(21,875,'beta= 15','FontSize',10);
text(21,1000,'beta= 30','FontSize',10);
text(21,1075,'beta= 45','FontSize',10);
toc;

Notes:
It is noticed from the calculations on MATLAB and the graph on page 4 that it is
preferable to have a relatively larger tilt angle (𝜷) in winter and relatively smaller
tilt angle in summer to reach the best amount of solar radiation (Solar Intensity/𝒎𝟐 )
falling on the solar panels.

3|Page
Graph:

4|Page

You might also like