BEM_t Derived Type

type, public :: BEM_t


Contents

Source Code


Components

TypeVisibility AttributesNameInitial
real, public, POINTER, DIMENSION(:,:):: XHC_FLOOR
real, public, POINTER, DIMENSION(:,:):: XTC_FLOOR
real, public, POINTER, DIMENSION(:,:):: XD_FLOOR
real, public, POINTER, DIMENSION(:):: XTCOOL_TARGET
real, public, POINTER, DIMENSION(:):: XTHEAT_TARGET
real, public, POINTER, DIMENSION(:):: XF_WASTE_CAN
real, public, POINTER, DIMENSION(:):: XEFF_HEAT
real, public, POINTER, DIMENSION(:):: XTI_BLD
real, public, POINTER, DIMENSION(:,:):: XT_FLOOR
real, public, POINTER, DIMENSION(:,:):: XT_MASS
real, public, POINTER, DIMENSION(:):: XQIN
real, public, POINTER, DIMENSION(:):: XQIN_FRAD
real, public, POINTER, DIMENSION(:):: XSHGC
real, public, POINTER, DIMENSION(:):: XSHGC_SH
real, public, POINTER, DIMENSION(:):: XU_WIN
real, public, POINTER, DIMENSION(:):: XTRAN_WIN
real, public, POINTER, DIMENSION(:):: XGR
real, public, POINTER, DIMENSION(:):: XFLOOR_HEIGHT
real, public, POINTER, DIMENSION(:):: XINF
real, public, POINTER, DIMENSION(:):: XF_WATER_COND
real, public, POINTER, DIMENSION(:):: XAUX_MAX
real, public, POINTER, DIMENSION(:):: XQIN_FLAT
real, public, POINTER, DIMENSION(:):: XHR_TARGET
real, public, POINTER, DIMENSION(:):: XT_WIN2
real, public, POINTER, DIMENSION(:):: XQI_BLD
real, public, POINTER, DIMENSION(:):: XV_VENT
real, public, POINTER, DIMENSION(:):: XCAP_SYS_HEAT
real, public, POINTER, DIMENSION(:):: XCAP_SYS_RAT
real, public, POINTER, DIMENSION(:):: XT_ADP
real, public, POINTER, DIMENSION(:):: XM_SYS_RAT
real, public, POINTER, DIMENSION(:):: XCOP_RAT
real, public, POINTER, DIMENSION(:):: XT_WIN1
real, public, POINTER, DIMENSION(:):: XALB_WIN
real, public, POINTER, DIMENSION(:):: XABS_WIN
real, public, POINTER, DIMENSION(:):: XT_SIZE_MAX
real, public, POINTER, DIMENSION(:):: XT_SIZE_MIN
real, public, POINTER, DIMENSION(:):: XUGG_WIN
logical, public, POINTER, DIMENSION(:):: LSHADE
real, public, POINTER, DIMENSION(:):: XSHADE
character(len=4), public, POINTER, DIMENSION(:):: CNATVENT
real, public, POINTER, DIMENSION(:):: XNATVENT
logical, public, POINTER, DIMENSION(:):: LSHAD_DAY
logical, public, POINTER, DIMENSION(:):: LNATVENT_NIGHT
real, public, POINTER, DIMENSION(:):: XN_FLOOR
real, public, POINTER, DIMENSION(:):: XGLAZ_O_BLD
real, public, POINTER, DIMENSION(:):: XMASS_O_BLD
real, public, POINTER, DIMENSION(:):: XFLOOR_HW_RATIO
real, public, POINTER, DIMENSION(:):: XF_FLOOR_MASS
real, public, POINTER, DIMENSION(:):: XF_FLOOR_WALL
real, public, POINTER, DIMENSION(:):: XF_FLOOR_WIN
real, public, POINTER, DIMENSION(:):: XF_FLOOR_ROOF
real, public, POINTER, DIMENSION(:):: XF_WALL_FLOOR
real, public, POINTER, DIMENSION(:):: XF_WALL_MASS
real, public, POINTER, DIMENSION(:):: XF_WALL_WIN
real, public, POINTER, DIMENSION(:):: XF_WIN_FLOOR
real, public, POINTER, DIMENSION(:):: XF_WIN_MASS
real, public, POINTER, DIMENSION(:):: XF_WIN_WALL
real, public, POINTER, DIMENSION(:):: XF_WIN_WIN
real, public, POINTER, DIMENSION(:):: XF_MASS_FLOOR
real, public, POINTER, DIMENSION(:):: XF_MASS_WALL
real, public, POINTER, DIMENSION(:):: XF_MASS_WIN

Source Code

TYPE BEM_t
!
! Floor parameters
!
  REAL, POINTER, DIMENSION(:,:) :: XHC_FLOOR     ! floor layers heat capacity        (J/K/m3)
  REAL, POINTER, DIMENSION(:,:) :: XTC_FLOOR     ! floor layers thermal conductivity (W/K/m)
  REAL, POINTER, DIMENSION(:,:) :: XD_FLOOR      ! depth of floor layers             (m)
!
! HVAC parameters
!
  REAL, POINTER, DIMENSION(:)   :: XTCOOL_TARGET ! cooling setpoint of indoor air
  REAL, POINTER, DIMENSION(:)   :: XTHEAT_TARGET ! heating setpoint of indoor air
  REAL, POINTER, DIMENSION(:)   :: XF_WASTE_CAN  ! fraction of waste heat released into the canyon
  REAL, POINTER, DIMENSION(:)   :: XEFF_HEAT     ! efficiency of the heating system
!
! Indoor parameters
!
  REAL, POINTER, DIMENSION(:)   :: XTI_BLD       ! building interior temperature    (K)
  REAL, POINTER, DIMENSION(:,:) :: XT_FLOOR      ! floor layer temperatures         (K)
  REAL, POINTER, DIMENSION(:,:) :: XT_MASS       ! Air cooled building internal th. mass temperature (K)
!
  REAL, POINTER, DIMENSION(:)   :: XQIN          ! internal heat gains [W m-2(floor)]
  REAL, POINTER, DIMENSION(:)   :: XQIN_FRAD     ! radiant fraction of internal heat gains
  REAL, POINTER, DIMENSION(:)   :: XSHGC         ! solar heat gain coef. of windows
  REAL, POINTER, DIMENSION(:)   :: XSHGC_SH      ! solar heat gain coef. of windows + shading
  REAL, POINTER, DIMENSION(:)   :: XU_WIN        ! window U-factor [K m W-2]
  REAL, POINTER, DIMENSION(:)   :: XTRAN_WIN     ! window transmittance (-)
  REAL, POINTER, DIMENSION(:)   :: XGR           ! glazing ratio
  REAL, POINTER, DIMENSION(:)   :: XFLOOR_HEIGHT ! building floor height [m]
  REAL, POINTER, DIMENSION(:)   :: XINF          ! infiltration/ventilation flow rate [AC/H]
!
! New parameters
!
  REAL, POINTER, DIMENSION(:)   :: XF_WATER_COND  ! fraction of evaporation for condensers (cooling system)
  REAL, POINTER, DIMENSION(:)   :: XAUX_MAX      ! Auxiliar variable for autosize calcs
  REAL, POINTER, DIMENSION(:)   :: XQIN_FLAT     ! Latent franction of internal heat gains
  REAL, POINTER, DIMENSION(:)   :: XHR_TARGET    ! Relative humidity setpoint
  REAL, POINTER, DIMENSION(:)   :: XT_WIN2       ! Indoor window temperature [K]
  REAL, POINTER, DIMENSION(:)   :: XQI_BLD       ! Indoor air specific humidity [kg kg-1]
  REAL, POINTER, DIMENSION(:)   :: XV_VENT       ! Ventilation flow rate [AC/H]
  REAL, POINTER, DIMENSION(:)   :: XCAP_SYS_HEAT ! Capacity of the heating system 
                                                 ! [W m-2(bld)]
  REAL, POINTER, DIMENSION(:)   :: XCAP_SYS_RAT  ! Rated capacity of the cooling system
                                                 ! [W m-2(bld)]
  REAL, POINTER, DIMENSION(:)   :: XT_ADP        ! Apparatus dewpoint temperature of the
                                                 ! cooling coil [K]
  REAL, POINTER, DIMENSION(:)   :: XM_SYS_RAT    ! Rated HVAC mass flow rate 
                                                 ! [kg s-1 m-2(bld)]
  REAL, POINTER, DIMENSION(:)   :: XCOP_RAT      ! Rated COP of the cooling system
  REAL, POINTER, DIMENSION(:)   :: XT_WIN1       ! outdoor window temperature [K]
  REAL, POINTER, DIMENSION(:)   :: XALB_WIN      ! window albedo
  REAL, POINTER, DIMENSION(:)   :: XABS_WIN      ! window absortance
  REAL, POINTER, DIMENSION(:)   :: XT_SIZE_MAX   ! Maximum outdoor air temperature for
                                                 ! HVAC sizing [K]
  REAL, POINTER, DIMENSION(:)   :: XT_SIZE_MIN   ! Minimum outdoor air temperature for
                                                 ! HVAC sizing [K]
  REAL, POINTER, DIMENSION(:)   :: XUGG_WIN      ! Window glass-to-glass U-factor [K m W-2]
  LOGICAL, POINTER, DIMENSION(:):: LSHADE        ! flag to activate shading devices -> LOGICAL in the code
  REAL,    POINTER, DIMENSION(:):: XSHADE        ! flag to activate shading devices -> REAL for i/o 0. or 1.
  CHARACTER(LEN=4), POINTER, DIMENSION(:) :: CNATVENT ! flag to activate natural ventilation 'NONE', 'MANU', 'AUTO'
  REAL,    POINTER, DIMENSION(:):: XNATVENT      ! flag to describe surventilation system for i/o 
                                                 ! 0 for NONE, 1 for MANU and 2 for AUTO
  LOGICAL, POINTER, DIMENSION(:):: LSHAD_DAY     !Has shading been necessary this day ?
  LOGICAL, POINTER, DIMENSION(:):: LNATVENT_NIGHT !Has nocturnal surventilation been necessary and possible this night ?
  !
  !indoor relative surfaces and view factors
  REAL, POINTER, DIMENSION(:) :: XN_FLOOR        ! Number of floors     
  REAL, POINTER, DIMENSION(:) :: XGLAZ_O_BLD    ! Window area [m2_win/m2_bld]
  REAL, POINTER, DIMENSION(:) :: XMASS_O_BLD    ! Mass area [m2_mass/m2_bld]
  REAL, POINTER, DIMENSION(:) :: XFLOOR_HW_RATIO ! H/W ratio of 1 floor level
  REAL, POINTER, DIMENSION(:) :: XF_FLOOR_MASS   ! View factor floor-mass
  REAL, POINTER, DIMENSION(:) :: XF_FLOOR_WALL   ! View factor floor-wall
  REAL, POINTER, DIMENSION(:) :: XF_FLOOR_WIN    ! View factor floor-window
  REAL, POINTER, DIMENSION(:) :: XF_FLOOR_ROOF   ! View factor floor-roof
  REAL, POINTER, DIMENSION(:) :: XF_WALL_FLOOR   ! View factor wall-floor
  REAL, POINTER, DIMENSION(:) :: XF_WALL_MASS    ! View factor wall-mass
  REAL, POINTER, DIMENSION(:) :: XF_WALL_WIN     ! View factor wall-win
  REAL, POINTER, DIMENSION(:) :: XF_WIN_FLOOR    ! View factor win-floor
  REAL, POINTER, DIMENSION(:) :: XF_WIN_MASS     ! View factor win-mass
  REAL, POINTER, DIMENSION(:) :: XF_WIN_WALL     ! View factor win-wall
  REAL, POINTER, DIMENSION(:) :: XF_WIN_WIN      ! indoor View factor win-win
  REAL, POINTER, DIMENSION(:) :: XF_MASS_FLOOR   ! View factor mass-floor
  REAL, POINTER, DIMENSION(:) :: XF_MASS_WALL    ! View factor mass-wall
  REAL, POINTER, DIMENSION(:) :: XF_MASS_WIN     ! View factor mass-window


! 
END TYPE BEM_t