| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=MaxNameLength), | public | :: | Name | = | ' ' | ||
| character(len=MaxNameLength), | public | :: | ZoneName | = | ' ' | ||
| integer, | public | :: | ActualZoneNum | = | 0 | ||
| character(len=MaxNameLength), | public | :: | AvaiSchedule | = | ' ' | ||
| integer, | public | :: | AvaiSchedPtr | = | 0 | ||
| character(len=MaxNameLength), | public | :: | SetPointSchedName | = | ' ' | ||
| integer, | public | :: | SPSchedIndex | = | 0 | ||
| logical, | public | :: | EMSOverrideCO2SetpointOn | = | .FALSE. | ||
| real(kind=r64), | public | :: | EMSOverrideCO2SetpointValue | = | 0.0D0 | ||
| integer, | public | :: | NumOfZones | = | 0 | ||
| integer, | public, | DIMENSION(:), ALLOCATABLE | :: | ControlZoneNum | |||
| character(len=MaxNameLength), | public | :: | ZoneMinCO2SchedName | = | ' ' | ||
| integer, | public | :: | ZoneMinCO2SchedIndex | = | 0 | ||
| integer, | public | :: | ZoneContamControllerSchedIndex | = | 0 | ||
| character(len=MaxNameLength), | public | :: | GCAvaiSchedule | = | ' ' | ||
| integer, | public | :: | GCAvaiSchedPtr | = | 0 | ||
| character(len=MaxNameLength), | public | :: | GCSetPointSchedName | = | ' ' | ||
| integer, | public | :: | GCSPSchedIndex | = | 0 | ||
| logical, | public | :: | EMSOverrideGCSetpointOn | = | .FALSE. | ||
| real(kind=r64), | public | :: | EMSOverrideGCSetpointValue | = | 0.0D0 | 
TYPE :: ZoneContControls
  CHARACTER(len=MaxNameLength) :: Name                 =' ' ! Name of the contaminant controller
  CHARACTER(len=MaxNameLength) :: ZoneName             =' ' ! Name of the zone
  INTEGER                      :: ActualZoneNum        =0
  CHARACTER(len=MaxNameLength) :: AvaiSchedule         =' ' ! Availability Schedule name
  INTEGER  :: AvaiSchedPtr                             =0   ! Pointer to the correct schedule
  CHARACTER(len=MaxNameLength) :: SetPointSchedName =' '    ! Name of the schedule which determines the CO2 setpoint
  INTEGER :: SPSchedIndex                              =0   ! Index for this schedule
  LOGICAL   :: EMSOverrideCO2SetpointOn          = .FALSE.  ! EMS is calling to override CO2 setpoint
  REAL(r64) :: EMSOverrideCO2SetpointValue       = 0.0D0    ! value EMS is directing to use for CO2 setpoint
  INTEGER :: NumOfZones                                =0   ! Number of controlled zones in the same airloop
  INTEGER,DIMENSION(:),ALLOCATABLE  :: ControlZoneNum       ! Controlled zone number
  CHARACTER(len=MaxNameLength) :: ZoneMinCO2SchedName =' '    ! Name of the schedule which determines minimum CO2 concentration
  INTEGER :: ZoneMinCO2SchedIndex                              =0   ! Index for this schedule
  INTEGER :: ZoneContamControllerSchedIndex                    =0   ! Index for this schedule
  CHARACTER(len=MaxNameLength) :: GCAvaiSchedule       =' ' ! Availability Schedule name for generic contamiant
  INTEGER  :: GCAvaiSchedPtr                           =0   ! Pointer to the correct generic contaminant availability schedule
  CHARACTER(len=MaxNameLength) :: GCSetPointSchedName =' '  ! Name of the schedule which determines the generic contaminant setpoint
  INTEGER :: GCSPSchedIndex                            =0   ! Index for this schedule
  LOGICAL   :: EMSOverrideGCSetpointOn           = .FALSE.  ! EMS is calling to override generic contaminant setpoint
  REAL(r64) :: EMSOverrideGCSetpointValue        = 0.0D0    ! value EMS is directing to use for generic contaminant setpoint
END TYPE ZoneContControls