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.
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 CheckForRequestedReporting
! SUBROUTINE INFORMATION:
! AUTHOR Linda Lawrie
! DATE WRITTEN January 2009
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! EnergyPlus does not automatically produce any results files. Because of this, users may not request
! reports and may get confused when nothing is produced. This routine will provide a warning when
! results should be produced (either sizing periods or weather files are run) but no reports are
! requested.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE InputProcessor, ONLY: GetNumObjectsFound
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
! na
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
LOGICAL :: SimPeriods
LOGICAL :: ReportingRequested
ReportingRequested=.false.
SimPeriods = (GetNumObjectsFound('SizingPeriod:DesignDay') > 0 .or. &
GetNumObjectsFound('SizingPeriod:WeatherFileDays') > 0 .or. &
GetNumObjectsFound('SizingPeriod:WeatherFileConditionType') > 0 .or. &
GetNumObjectsFound('RunPeriod') > 0)
IF ((DoDesDaySim .or. DoWeathSim) .and. SimPeriods) THEN
ReportingRequested=(GetNumObjectsFound('Output:Table:SummaryReports') > 0 .or. &
GetNumObjectsFound('Output:Table:TimeBins') > 0 .or. &
GetNumObjectsFound('Output:Table:Monthly') > 0 .or. &
GetNumObjectsFound('Output:Variable') > 0 .or. &
GetNumObjectsFound('Output:Meter') > 0 .or. &
GetNumObjectsFound('Output:Meter:MeterFileOnly') > 0 .or. &
GetNumObjectsFound('Output:Meter:Cumulative') > 0 .or. &
GetNumObjectsFound('Output:Meter:Cumulative:MeterFileOnly') > 0)
! Not testing for : Output:SQLite or Output:EnvironmentalImpactFactors
IF (.not. ReportingRequested) THEN
CALL ShowWarningError('No reporting elements have been requested. No simulation results produced.')
CALL ShowContinueError('...Review requirements such as "Output:Table:SummaryReports", "Output:Table:Monthly", '// &
'"Output:Variable", "Output:Meter" and others.')
ENDIF
ENDIF
RETURN
END SUBROUTINE CheckForRequestedReporting