Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. /**
  2. * Evaluates superior surface temperature
  3. *
  4. * @param $tsr total solar reflectance
  5. * @param $g heat solar flux
  6. * @param $t_ext exterior temperature
  7. * @param $h_ext external heat transfer coefficient
  8. * @param $e thickness of the sandwich panel
  9. * @param $y thermal conductivity of the insulation material
  10. */
  11. function evaluateSupSurfTemp($tsr, $g, $t_ext, $h_ext, $e, $y)
  12. {
  13. // External thermal resistance
  14. $r_ext = 1 / $h_ext;
  15. // Internal thermal resistance
  16. $r_int = (1 / 7.7) + (($e/1000) / $y);
  17.  
  18. $surf_sup = (((1-$tsr) * $g) + (($t_ext + 273.15)/$r_ext) + ((21 + 273.15)/$r_int)) / ((1/$r_ext) + (1/$r_int));
  19. return $surf_sup;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement