Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | Tm | |||
real(kind=r64), | intent(in) | :: | Ibc | |||
real(kind=r64), | intent(in) | :: | Idc | |||
real(kind=r64), | intent(in) | :: | fd | |||
real(kind=r64), | intent(in) | :: | DT0 |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
REAL(r64) Function SandiaTcellFromTmodule(Tm,Ibc,Idc,fd,DT0)
! FUNCTION INFORMATION:
! AUTHOR G. Barker
! DATE WRITTEN unknown
! MODIFIED na
! RE-ENGINEERED B. Griffith Jan 2004 F77 -> f90
! PURPOSE OF THIS FUNCTION:
! Returns cell temperature, deg C
! METHODOLOGY EMPLOYED:
! This is for the Sandia model method of determining cell temperatures
! module temperature differs from solar cell temperature
! because panel temperatures are not uniform
! REFERENCES:
!Equations (11) in Davis, M.W., A.H. Fanney, B.P. Dougherty. Measured versus
! predicted performance of building integrated photovoltaics,
! Solar 2002, Sunrise on the Reliable Energy Economy,
! June 15-19, 2002, Reno, NV.
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
REAL(r64), INTENT(IN) :: Tm ! module temperature (deg C)
REAL(r64), INTENT(IN) :: Ibc ! beam radiation on collector plane, W/m2
REAL(r64), INTENT(IN) :: Idc ! Diffuse radiation on collector plane, W/m2
REAL(r64), INTENT(IN) :: fd ! fraction of Idc used (empirical constant)
REAL(r64), INTENT(IN) :: DT0 ! (Tc-Tm) at E=1000 W/m2 (empirical constant known as delta T), deg C
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: E ! total irradiance working variable
E = Ibc + fd * Idc
SandiaTcellFromTmodule = Tm + (E / 1000.0d0) * DT0
RETURN
END FUNCTION SandiaTcellFromTmodule