Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | ChillerName | |||
integer, | intent(in) | :: | ChillerType | |||
real(kind=r64), | intent(in) | :: | IPLVValueSI | |||
real(kind=r64), | intent(in) | :: | IPLVValueIP |
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.
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.
SUBROUTINE ReportChillerIPLV(ChillerName,ChillerType, IPLVValueSI,IPLVValueIP)
! SUBROUTINE INFORMATION:
! AUTHOR Chandan Sharma
! DATE WRITTEN January 2012
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine writes the IPLV values in SI and IP units to
! the "eio" and tabular output files for EIR Chillers.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE OutputReportPredefined
USE DataGlobals, ONLY : OutputFileInits
USE General, ONLY : RoundSigDigits
USE DataPlant, ONLY: TypeOf_Chiller_ElectricEIR, TypeOf_Chiller_ElectricReformEIR
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*), INTENT(IN) :: ChillerName ! Name of Chiller for which IPLV is calculated
INTEGER, INTENT(IN) :: ChillerType ! Type of Chiller - EIR or Reformulated EIR
REAL(r64), INTENT(IN) :: IPLVValueSI ! IPLV value in SI units {W/W}
REAL(r64), INTENT(IN) :: IPLVValueIP ! IPLV value in IP units {Btu/W-h}
! SUBROUTINE PARAMETER DEFINITIONS:
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
LOGICAL, SAVE :: MyOneTimeFlag = .TRUE.
IF (MyOneTimeFlag) THEN
WRITE(OutputFileInits, 990)
MyOneTimeFlag = .FALSE.
END IF
SELECT CASE (ChillerType)
CASE (TypeOf_Chiller_ElectricEIR)
WRITE (OutputFileInits, 991) 'Chiller:Electric:EIR', TRIM(ChillerName), &
TRIM(RoundSigDigits(IPLVValueSI,2)),TRIM(RoundSigDigits(IPLVValueIP,2))
CALL PreDefTableEntry(pdchMechType,TRIM(ChillerName),'Chiller:Electric:EIR')
CASE (TypeOf_Chiller_ElectricReformEIR)
WRITE (OutputFileInits, 991) 'Chiller:Electric:ReformulatedEIR', TRIM(ChillerName), &
TRIM(RoundSigDigits(IPLVValueSI,2)),TRIM(RoundSigDigits(IPLVValueIP,2))
CALL PreDefTableEntry(pdchMechType,TRIM(ChillerName),'Chiller:Electric:ReformulatedEIR')
END SELECT
CALL PreDefTableEntry(pdchMechIPLVSI,TRIM(ChillerName),TRIM(RoundSigDigits(IPLVValueSI,2)))
CALL PreDefTableEntry(pdchMechIPLVIP,TRIM(ChillerName),TRIM(RoundSigDigits(IPLVValueIP,2)))
990 FORMAT('! <Chiller Standard Rating Information>, Component Type, Component Name, ', &
'IPLV in SI Units {W/W}, ', 'IPLV in IP Units {Btu/W-h}')
991 FORMAT(' Chiller Standard Rating Information, ',A,', ',A,', ',A,', ',A)
RETURN
END SUBROUTINE ReportChillerIPLV