heatPlant

Name Type Variability Description/Comments
hpSched OFFAVAILONVC Start of hour hourly choice of OFF, AVAIL (default; plant runs on demand), or ON (at least 1st stage runs).
hpPipeLossF number Start of phase
  • pipe loss, default .01, fraction of largest stage boiler capac whenever any boiler running
  • heatplant user inputs: staging: 7 arrays, each of up to 7 boiler subscripts, or TI_ALL, or TI_ALLBUT and up to 6 subscripts
hpStage1[index] TI Array [8] Start of phase defaulted by code, if NO hpStage values entered:
hpStage2[index] TI Array [8] Start of phase defaulted by code, if NO hpStage values entered:
hpStage3[index] TI Array [8] Start of phase ... stage 1: TI_ALL. stages 2-7: none (0).
hpStage4[index] TI Array [8] Start of phase ... stage 1: TI_ALL. stages 2-7: none (0).
hpStage5[index] TI Array [8] Start of phase
hpStage6[index] TI Array [8] Start of phase
hpStage7[index] TI Array [8] Start of phase
  • CAUTION: code may access stages by subscripting, assuming they follow hpStage1 in order.
  • CAUTION: code uses internal subscript values 0-6 to access variables named hpStage1-7.
  • heatplant setup time
blr1 TI Start of run subscript of 1st BOILER for this HEATPLANT. Next is BOILER.nxBlr4hp.
tu1 TI Start of run subscript of 1st TU with HW coil served by this HEATPLANT. Next is TU.tuhc.nxTu4hp.
ah1 TI Start of run subscript of 1st AH with HW coil served by this HEATPLANT. Next is AH.ahhc.nxAh4hp.
hl1 TI Start of run subscript of 1st HPLOOP with HX for this HEATPLANT
qPipeLoss DBL Start of run
  • POWER
  • pipe loss power: [hpPipeLossF][hppipelossf] * capStg[stgMxQ]
stgCap[index] DBL Array [7] Start of run
  • POWER
  • max power output of stages 0-6: boiler caps + pump heats.
stgPQ[index] DBL Array [7] Start of run
  • POWER
  • pump heats of stages 0-6.
stgN number Start of run max+1 used stage subscript 1-7 (used stages need not be contiguous)
stgMxQ number Start of run
  • most powerful stage subscript 0-6
  • heatplant runtime
hpClf BOO End of subhour call-flag: set nz if must call hpCompute so it can test tr, etc to see if computation needed.
hpPtf BOO End of subhour compute-flag: set if must call hpCompute and it should unconditionally recompute this plant.
hpMode choice:OFFON End of subhour mode this subhour: off or on: per hpSched; per demand for AVAIL. Set in hpEstimate, hpCompute.
capF DBL End of subhour
  • FRAC
  • 1.0 or, when overloaded, derating fraction for capacity of each coil/hx.
stgi number End of subhour
  • stage in use, 0-6 for hpStage1-7.
  • for heatplant loop temp is not simulated; plant output and coil load q are always same and same variable used.
qNx DBL End of subhour
  • POWER
  • latest coil/hx load, copied to .q at decision to compute, else may remain slightly different.
q DBL End of subhour
  • POWER
  • current output, total from boilers & boiler pumps === total load of connected coils & hx's.
  • autoSizing
qPk number End of subhour peak load re error autosizing overload message
qPkAs number End of subhour
  • peak load on a converged autoSizing design day re error autosizing overload message
  • prior values for runtime change-detection
hpModePr choice:OFFON End of subhour
qPr number End of subhour
capFPr number End of subhour