Solving a 4th degree energy balance

조회 수: 7 (최근 30일)
Paneermeeuw
Paneermeeuw 2018년 1월 5일
편집: ayman alkezza 2019년 7월 13일
Hi!
For my graduation I am working on a energy balance. It looks like this:
Heat flow from radiation (sun) = heat flow from convection + heat flow from radiation(emission)
Using the formulas from thermodynamic's and a known heat flux from the sun, I get this:
α x A x Q = αc x A x (T1-T2) + ε x σ x A x T1^4
All values except T1 are known which leaves me with the next equation:
T1^4 + 1,8E8 T1 - 2,3E10 = 0
Can I calculate this with MATLAB? And if so, how do I approach this problem?
Thanks.

채택된 답변

Birdman
Birdman 2018년 1월 5일
편집: Birdman 2018년 1월 5일
Requires Symbolic Toolbox:
syms T1
eq=T1.^4 + 1.8e8*T1 - 2.3e10 == 0
%4 solutions
sol=vpasolve(eq)
%real one
sol=sol(2)
  댓글 수: 1
Paneermeeuw
Paneermeeuw 2018년 1월 5일
Thanks! It returns 126 °C, which seems about right.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Torsten
Torsten 2018년 1월 5일
help roots
Best wishes
Torsten.
  댓글 수: 1
Paneermeeuw
Paneermeeuw 2018년 1월 5일
This one returns 129 °C which also seems right, thanks!

댓글을 달려면 로그인하십시오.


ayman alkezza
ayman alkezza 2019년 7월 13일
편집: ayman alkezza 2019년 7월 13일
any one help me :
when running the code give me infinity results
-------------------------
for t=0:1800:36000
dt=1800 ;
QCBW=135.*(Ab).*(Tb-tw);
QLOSS=14.*(Ab).*(Tb-Ta);
Qcwg= hcwg.*Aw.*(tw-Tg);
Qrwg=hrwg.*Aw.*(tw-Tg);
Qe=hevwg.*Aw.*(tw-Tg);
Qcga= hcgo.*Ag.*(Tg-Ta);
Qrga= hrgoa.*Ag.*(Tg-Ta);
(s=dT/dt)---------------------------
s1=(((I.*Ab.*ab)-(QCBW-QLOSS))./(mb.*cpb));
s2=(((I.*Aw.*aw)+(QCBW-Qrwg-Qcwg-Qe))./(mw.*cpw));
s3=(((I.*Ag.*ag)+(Qcwg+Qrwg+Qe-Qcga-Qrga))./(mg.*cpg));
Tb=s1.*t;
tw=s2.*t;
Tg=s3.*t
end

카테고리

Help CenterFile Exchange에서 Thermal Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by