Please any one help me how to connect last equation (Go) with others about my code

1 回表示 (過去 30 日間)
Jose Louis
Jose Louis 2016 年 7 月 14 日
編集済み: Walter Roberson 2016 年 7 月 14 日
n=1:1:365 ; %the day of the year [a number 1 through 365]
fi=19.9450; %is the latitude [°]
GMT=2 ;% Time Zone for example poland +2
LT=5; % local time (LT).
lambda=50.067;% longitude
Zc=15*GMT;%Local Standard Time Meridian
B=(360/365)*(n-81)*pi/180;% in degrees and d is the number of days since the start of the year
E=9.87*sin(2*B)-7.53*cos(B)-1.5*sin(B); % (in minutes) is an empirical equation that corrects for the eccentricity of the Earth's orbit and the Earth's axial tilt.
tc=4*(lambda-Zc)+E;%Time Correction Factor
ts=LT+(tc/60);%Local Solar Time (LST) can be found by using the previous two corrections to adjust the local time (LT).
w=15*(ts-12);%Hour Angle converts the local solar time (w) into the number of degrees which the sun moves across the sky
segma=23.45*sin((284+n)/36.25); %The solar declination
Gsc=1.367;%solar constant [1.367 kW/m2],
Gon=Gsc*(1+0.033*cos(360*n/365));
Go=Gon*(12/pi)*(cos(fi)*cos(segma)*((sind(w+1)-sind(w))+(pi*((w+1)-w)/180)*sin(fi)*sin(segma)));%extraterrestrial horizontal radiation averaged over the time step [kW/m2]
  1 件のコメント
John D'Errico
John D'Errico 2016 年 7 月 14 日
編集済み: John D'Errico 2016 年 7 月 14 日
What is your question? What do you mean by "connect"? If you make up jargon that has no clear meaning, then expect people to not know what you want.
By the way, learn to format your code so as to be readable. As I am sure you can see, what you have here is not so. Use the "{} Code" button when you paste in that code.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGravitation, Cosmology & Astrophysics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by