Nodes of different colours represent the following:
Solid arrows point from one derived type to another which extends (inherits from) it. Dashed arrows point from a derived type to another type containing it as a components, with a label listing the name(s) of said component(s). 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 one derived type to another which extends (inherits from) it. Dashed arrows point from a derived type to another type containing it as a components, with a label listing the name(s) of said component(s). Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=MaxNameLength), | public | :: | Name | = | ' ' | ||
character(len=MaxNameLength), | public | :: | ControlType | = | ' ' | ||
real(kind=r64), | public | :: | MinVolFlowRate | = | 0.0d0 | ||
real(kind=r64), | public | :: | MaxVolFlowRate | = | 0.0d0 | ||
real(kind=r64), | public | :: | MinMassFlowRate | = | 0.0d0 | ||
real(kind=r64), | public | :: | MaxMassFlowRate | = | 0.0d0 | ||
integer, | public | :: | TotalComponents | = | 0 | ||
integer, | public, | ALLOCATABLE, DIMENSION(:) | :: | FirstCompIndex | |||
integer, | public, | ALLOCATABLE, DIMENSION(:) | :: | LastCompIndex | |||
integer, | public | :: | NodeNumIn | = | 0 | ||
integer, | public | :: | NodeNumOut | = | 0 | ||
integer, | public | :: | DuctType | = | 0 | ||
type(AirLoopCompData), | public, | ALLOCATABLE, DIMENSION(:) | :: | Comp | |||
integer, | public | :: | TotalNodes | = | 0 | ||
integer, | public, | ALLOCATABLE, DIMENSION(:) | :: | NodeNum |
TYPE AirLoopBranchData ! a branch is a sequence of components
CHARACTER(len=MaxNameLength) :: Name =' ' ! Name of the branch
CHARACTER(len=MaxNameLength) :: ControlType =' ' ! Control type for the branch (not used)
REAL(r64) :: MinVolFlowRate =0.0d0 ! minimum flow rate for the branch (m3/s)
REAL(r64) :: MaxVolFlowRate =0.0d0 ! maximum flow rate for the branch (m3/s)
REAL(r64) :: MinMassFlowRate =0.0d0 ! minimum mass flow rate for the branch (kg/s)
REAL(r64) :: MaxMassFlowRate =0.0d0 ! maximum mass flow rate for the branch (kg/s)
INTEGER :: TotalComponents =0 ! Total number of high level components on the branch
INTEGER,ALLOCATABLE,DIMENSION(:) :: FirstCompIndex ! Gives the component index in AllComp that corresponds to Comp
INTEGER,ALLOCATABLE,DIMENSION(:) :: LastCompIndex ! Gives comp index in AllComp that corresponds to last subcomponent
INTEGER :: NodeNumIn =0 ! Branch inlet node number
INTEGER :: NodeNumOut =0 ! Branch outlet node number
INTEGER :: DuctType =0 ! 1=main, 2=cooling, 3=heating, 4=other
TYPE(AirLoopCompData), &
ALLOCATABLE, DIMENSION(:) :: Comp ! Component list--high level components
! TYPE(ExpandedCompData), &
! ALLOCATABLE, DIMENSION(:) :: MegaComp ! Component list
! This list would include children, grandchildren, etc.
INTEGER :: TotalNodes = 0 ! total number of nodes on branch
INTEGER, ALLOCATABLE, DIMENSION(:) :: NodeNum ! node list (numbers)
END TYPE AirLoopBranchData