TYPE TemperValveData
! user input data
CHARACTER(len=MaxNameLength) :: Name =' ' ! User identifier
INTEGER :: PltInletNodeNum = 0 ! Node number on the inlet side of the plant
INTEGER :: PltOutletNodeNum = 0 ! Node number on the outlet side of the plant
INTEGER :: PltStream2NodeNum = 0 ! Node number on the outlet side of the second stream
INTEGER :: PltSetPointNodeNum = 0 ! Node number for the setpoint node.
INTEGER :: PltPumpOutletNodeNum = 0 ! node number for the pump outlet (for flow rate)
! Calculated and from elsewhere
LOGICAL :: Init = .true. ! flag for initializationL true means do the initializations
REAL(r64) :: FlowDivFract = 0.0d0 ! Fraction of flow sent down diversion path
REAL(r64) :: Stream2SourceTemp = 0.0d0 ! Temperature [C] of stream 2 being mixed
REAL(r64) :: InletTemp = 0.0d0 ! Temperature [C] of inlet to valve
REAL(r64) :: SetpointTemp = 0.0d0 ! setpoint Temperatures [C] at control node.
REAL(r64) :: MixedMassFlowRate = 0.0d0 ! Flow rate downstream of mixer [kg/s]
REAL(r64) :: DivertedFlowRate = 0.0d0 ! flow rate through tempering valve's diversion path [kg/s]
!loop topology variables
INTEGER :: LoopNum =0
INTEGER :: LoopSideNum =0
INTEGER :: BranchNum =0
INTEGER :: CompNum =0
END TYPE TemperValveData