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 | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | RadSysNum |
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 SizeHighTempRadiantSystem(RadSysNum)
! SUBROUTINE INFORMATION:
! AUTHOR Fred Buhl
! DATE WRITTEN February 2002
! MODIFIED August 2013 Daeho Kang, add component sizing table entries
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine is for sizing high temperature radiant components for which max power input has not been
! specified in the input.
! METHODOLOGY EMPLOYED:
! Obtains design heating load from the zone sizing arrays
! REFERENCES:
! na
! USE STATEMENTS:
USE DataSizing
USE ReportSizingManager, ONLY: ReportSizingOutput
USE General, ONLY: RoundSigDigits
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
Integer, Intent(IN) :: RadSysNum
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS
REAL(r64) :: MaxPowerCapacDes ! Design maximum capacity for reproting
REAL(r64) :: MaxPowerCapacUser ! User hard-sized maximum capacity for reproting
LOGICAL :: IsAutosize ! Indicator to autosizing nominal capacity
IsAutosize = .FALSE.
MaxPowerCapacDes = 0.0d0
MaxPowerCapacUser = 0.0d0
IF (HighTempRadSys(RadSysNum)%MaxPowerCapac == AutoSize) THEN
IsAutosize = .TRUE.
END IF
IF (CurZoneEqNum > 0) THEN
IF (.NOT. IsAutosize .AND. .NOT. ZoneSizingRunDone) THEN ! Simulation should continue
IF (HighTempRadSys(RadSysNum)%MaxPowerCapac > 0.0d0) THEN
CALL ReportSizingOutput('ZoneHVAC:HighTemperatureRadiant', HighTempRadSys(RadSysNum)%Name, &
'User-Specified Maximum Power Input [W]', HighTempRadSys(RadSysNum)%MaxPowerCapac)
END IF
ELSE ! Autosize or hard-size with sizing run
CALL CheckZoneSizing('ZoneHVAC:HighTemperatureRadiant', HighTempRadSys(RadSysNum)%Name)
IF ((CalcFinalZoneSizing(CurZoneEqNum)%DesHeatLoad * CalcFinalZoneSizing(CurZoneEqNum)%HeatSizingFactor) >= SmallLoad) THEN
MaxPowerCapacDes = &
(CalcFinalZoneSizing(CurZoneEqNum)%DesHeatLoad * CalcFinalZoneSizing(CurZoneEqNum)%HeatSizingFactor) / &
(HighTempRadSys(RadSysNum)%FracRadiant + HighTempRadSys(RadSysNum)%FracConvect)
ELSE
MaxPowerCapacDes = 0.0d0
END IF
IF (IsAutosize) THEN
HighTempRadSys(RadSysNum)%MaxPowerCapac = MaxPowerCapacDes
CALL ReportSizingOutput('ZoneHVAC:HighTemperatureRadiant', HighTempRadSys(RadSysNum)%Name, &
'Design Size Maximum Power Input [W]', MaxPowerCapacDes)
ELSE ! Hard-size with sizing data
IF (HighTempRadSys(RadSysNum)%MaxPowerCapac > 0.0d0 .AND. MaxPowerCapacDes > 0.0d0) THEN
MaxPowerCapacUser = HighTempRadSys(RadSysNum)%MaxPowerCapac
CALL ReportSizingOutput('ZoneHVAC:HighTemperatureRadiant', HighTempRadSys(RadSysNum)%Name, &
'Design Size Maximum Power Input [W]', MaxPowerCapacDes, &
'User-Specified Maximum Power Input [W]', MaxPowerCapacUser)
IF (DisplayExtraWarnings) THEN
IF ((ABS(MaxPowerCapacDes - MaxPowerCapacUser)/MaxPowerCapacUser ) > AutoVsHardSizingThreshold) THEN
CALL ShowMessage('SizeHighTempRadiantSystem: Potential issue with equipment sizing for ' &
// 'ZoneHVAC:HighTemperatureRadiant = "'// &
TRIM(HighTempRadSys(RadSysNum)%Name)//'".')
CALL ShowContinueError('User-Specified Maximum Power Input of '// &
TRIM(RoundSigDigits(MaxPowerCapacUser,2))// ' [W]')
CALL ShowContinueError('differs from Design Size Maximum Power Input of ' // &
TRIM(RoundSigDigits(MaxPowerCapacDes,2))// ' [W]')
CALL ShowContinueError('This may, or may not, indicate mismatched component sizes.')
CALL ShowContinueError('Verify that the value entered is intended and is consistent with other components.')
END IF
ENDIF
END IF
END IF
END IF
END IF
RETURN
END SUBROUTINE SizeHighTempRadiantSystem