TYPE DefineOptStartSysAvailManager ! Derived type for Optimal Start Sys Avail Managers
CHARACTER(len=MaxNameLength) :: Name = ' ' ! Name of the manager object
INTEGER :: MgrType = 0 ! Integer equivalent of availability manager type
INTEGER :: SchedPtr = 0 ! Applicability schedule pointer
CHARACTER(len=MaxNameLength) :: FanSched = ' ' ! Fan schedule name
INTEGER :: FanSchedPtr = 0 ! Fan schedule pointer
INTEGER :: CtrlType = 0 ! Type of control: Stay Off, ControlZone, MaximumofZoneList
CHARACTER(len=MaxNameLength) :: CtrlZoneName = ' ' ! Name of the control zone
INTEGER :: ZoneNum = 0 ! zone number of control zone
INTEGER :: ControlledZoneNum = 0 ! controlled zone number of control zone
CHARACTER(len=MaxNameLength) :: ZoneListName = ' ' ! Zone List name
INTEGER :: NumOfZones = 0 ! Number of zones in the list
INTEGER, ALLOCATABLE, DIMENSION(:) :: ZonePtrs ! Pointers to zones in the list
REAL(r64) :: MaxOptStartTime = 6.0d0 ! Maximum value of start time in hours
INTEGER :: CtrlAlgType = 0 ! Control algorithm: ConstantTemperatureGradient,
! AdaptiveTemperatureGradient, AdaptiveASHRAE, ConstantStartTime
REAL(r64) :: ConstTGradCool = 1.0d0 ! Constant temperature gradient in cooling mode, unit: degC per hour
REAL(r64) :: ConstTGradHeat = 1.0d0 ! Constant temperature gradient in heating mode, unit: degC per hour
REAL(r64) :: InitTGradCool = 1.0d0 ! Initial value for temperature gradient in cooling mode, unit: degC per hour
REAL(r64) :: InitTGradHeat = 1.0d0 ! Initial value for temperature gradient in heating mode, unit: degC per hour
REAL(r64) :: AdaptiveTGradCool = 1.0d0 ! Calculated adaptive temperature gradient in cooling mode, unit: degC per hour
REAL(r64) :: AdaptiveTGradHeat = 1.0d0 ! Calculated adaptive temperature gradient in heating mode, unit: degC per hour
REAL(r64) :: ConstStartTime = 2.0d0 ! Constant start time in hours
INTEGER :: NumPreDays = 1 ! Number of previous days for adaptive control
INTEGER :: AvailStatus = 0 ! reports status of availability manager
REAL(r64) :: NumHoursBeforeOccupancy = 0.0d0
END TYPE DefineOptStartSysAvailManager