# Solar Heating System

Bit Stumped at the moment....

I am attempting to design a system to take advantage of the solar energy available this summer, but am struggle to get the equation correct.

Broken down, i have an aluminium pipe with water running thorugh it, which will gain energy from solar radiation, but will also loose energy to the air around via convection and to the atmosphere in thermal radiation. The pipe will also be covered in black absorber coating.

My target is to find the temperature of the fluid as is leaves the exposed pipe,
However my unknown at this point is that of the fluid, obviosuly i know the inlet temperature, but obviosuly this would change as we go down the length of the pipe,

I think right now im looking at tranient heat trasnfer, am i making this more complex than it is?

My solution so far is,

Q=(alpha)(area of pipe)(solar Heat flux) = mdot(Cp)(T'out-T'in)
alpha being absobitivty
mdot is mass flow rate

I then assume the temperature of the pipe is assumed to be that of T'out and use it in the following;

Q/L=2pie(T'pipe-T'air) / [(1/h1r1)+(1/k1)(lnr2/r1)+(1/r2h2)]

r1 being the inner pipe radia
r2 being the outer pipe radia
h1 being convection of water
h2 being convetion of air
k1 is conductivity of pipe

This doesnt make sense for me, unless i am expected to assume that the water is maintained at the pre calcuated outlet temperature, or do i take an average instead?