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 | :: | ScheduleIndex | ||||
real(kind=r64) | :: | Value |
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 ExternalInterfaceSetSchedule(ScheduleIndex, Value)
! FUNCTION INFORMATION:
! AUTHOR Michael Wetter
! DATE WRITTEN February 2010
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine sets all values of the schedule referenced by 'ScheduleIndex'
! to the value specified by 'Value'. The subroutine is used by the ExternalInterface to
! write real-time data into a schedule so that EnergyPlus modules can use
! real-time data by referencing a schedule. This allows overwriting setpoint
! for supervisory controls or internal gains obtained from real-time occupancy
! measurements.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE DataGlobals, ONLY: NumOfTimeStepInHour
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER ScheduleIndex
REAL(r64) Value ! The new value for the schedule
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
INTEGER TS ! Counter for Num Of Time Steps in Hour
INTEGER Hr ! Hour Counter
! Assign the value of the variable
DO Hr=1,24
DO TS=1,NumOfTimeStepInHour
DaySchedule(ScheduleIndex)%TSValue(Hr,TS)=Value
ENDDO
ENDDO
END SUBROUTINE ExternalInterfaceSetSchedule