terminal

input, in addition to AUTOSIZE tuhcCaptRat, tuVfMxH, tuVfMxC, tuVfMn (these set FsAS field status flag)

Name Type Variability Description/Comments
tuVfMxHC choice:DIFFSAME Start of phase autoSize tuVfMxH and -C SAME or (default) different.
fxCapH FLOAT_GZ Start of phase capacity factor for autoSized heat coil (default 1.1 = 10% oversized)
fxVfHC FLOAT_GZ Start of phase air flow factor for autoSized air flow (default 1.1 = 10% oversized)

setup

Name Type Variability Description/Comments
asHcSame BOO Start of run TRUE to autoSize tuVfMxH and -C the same -- specified with "tuVfMxHC = SAME"
asKVol BOO Start of run
  • TRUE to autoSize for constant volume -- specified with "[AUTOSIZE][autosize] [tuVfMn][tuvfmn]" (implies asHcSame).
  • runtime
hcAs autoSizing data members substruct re tuhc.captRat -- local heat heat coil capacity.
AUSZ
---setup time members
Name Type Variability Description/Comments
hcAs.az_active BOO Start of run TRUE iff autoSizing this member
  • ---runtime
  • set at initialization
Name Type Variability Description/Comments
hcAs.az_a number End of subhour
  • 1a size (load) -- max of warmup-converged design days
  • pass 1 part b and pass 2: enlarge size if necess, real models.
hcAs.az_b number End of subhour
  • 1b rated size plus increases during simulation incl pass 2 -- max of design days
  • for pass 2 (increase size if necess, measure load, reduce oversize sizes) and for main sim load reports
hcAs.ldPk number End of subhour largest load this design day iteration or in main sim
hcAs.ldPkAs number End of day autoSize peak load: max of warmup-converged design days
hcAs.ldPkAs1 number End of day
  • autoSize pass 1 peak load, re reporting overloads of devices that only
  • exceed limit on pass 1, eg supply fan when sizing terminals, 7-6-95.
hcAs.plrPk number End of subhour largest plr this design day iteration or in main sim
hcAs.plrPkAs number End of day autoSize peak plr: max of warmup-converged design days
hcAs.xPk number End of subhour rated size (*px) when plrPk set
hcAs.xPkAs number End of day rated size (xPk) when plrPkAs set - use when reducing oversize in case x has changed. 6-97.
hcAs.az_notDone BOO End of day
  • re convergence: nz says this AUSZ requires additional iterations
  • set to 0 at beg of each iteration; incrd anywhere is calcs if not converged
  • see also Top.tp_auszNotDone = overall notdone flag
vhAs .. re tuVfMxH -- air heat max flow
AUSZ
---setup time members
Name Type Variability Description/Comments
vhAs.az_active BOO Start of run TRUE iff autoSizing this member
  • ---runtime
  • set at initialization
Name Type Variability Description/Comments
vhAs.az_a number End of subhour
  • 1a size (load) -- max of warmup-converged design days
  • pass 1 part b and pass 2: enlarge size if necess, real models.
vhAs.az_b number End of subhour
  • 1b rated size plus increases during simulation incl pass 2 -- max of design days
  • for pass 2 (increase size if necess, measure load, reduce oversize sizes) and for main sim load reports
vhAs.ldPk number End of subhour largest load this design day iteration or in main sim
vhAs.ldPkAs number End of day autoSize peak load: max of warmup-converged design days
vhAs.ldPkAs1 number End of day
  • autoSize pass 1 peak load, re reporting overloads of devices that only
  • exceed limit on pass 1, eg supply fan when sizing terminals, 7-6-95.
vhAs.plrPk number End of subhour largest plr this design day iteration or in main sim
vhAs.plrPkAs number End of day autoSize peak plr: max of warmup-converged design days
vhAs.xPk number End of subhour rated size (*px) when plrPk set
vhAs.xPkAs number End of day rated size (xPk) when plrPkAs set - use when reducing oversize in case x has changed. 6-97.
vhAs.az_notDone BOO End of day
  • re convergence: nz says this AUSZ requires additional iterations
  • set to 0 at beg of each iteration; incrd anywhere is calcs if not converged
  • see also Top.tp_auszNotDone = overall notdone flag
vcAs .. re tuVfMxC -- air cool max flow
AUSZ
---setup time members
Name Type Variability Description/Comments
vcAs.az_active BOO Start of run TRUE iff autoSizing this member
  • ---runtime
  • set at initialization
Name Type Variability Description/Comments
vcAs.az_a number End of subhour
  • 1a size (load) -- max of warmup-converged design days
  • pass 1 part b and pass 2: enlarge size if necess, real models.
vcAs.az_b number End of subhour
  • 1b rated size plus increases during simulation incl pass 2 -- max of design days
  • for pass 2 (increase size if necess, measure load, reduce oversize sizes) and for main sim load reports
vcAs.ldPk number End of subhour largest load this design day iteration or in main sim
vcAs.ldPkAs number End of day autoSize peak load: max of warmup-converged design days
vcAs.ldPkAs1 number End of day
  • autoSize pass 1 peak load, re reporting overloads of devices that only
  • exceed limit on pass 1, eg supply fan when sizing terminals, 7-6-95.
vcAs.plrPk number End of subhour largest plr this design day iteration or in main sim
vcAs.plrPkAs number End of day autoSize peak plr: max of warmup-converged design days
vcAs.xPk number End of subhour rated size (*px) when plrPk set
vcAs.xPkAs number End of day rated size (xPk) when plrPkAs set - use when reducing oversize in case x has changed. 6-97.
vcAs.az_notDone BOO End of day
  • re convergence: nz says this AUSZ requires additional iterations
  • set to 0 at beg of each iteration; incrd anywhere is calcs if not converged
  • see also Top.tp_auszNotDone = overall notdone flag
qhPk number End of subhour peak values of qh and qc, for load reports and -PkAs's. qc negative.
qcPk number End of subhour peak values of qh and qc, for load reports and -PkAs's. qc negative.
qhPkAs number End of subhour
  • peak values for all autoSize converged design days, for size reports
  • [tuVfMn][tuvfmn], -MxH, -C saved at entry to hvacIterSubhr for conditional backtracking while autoSizing
qcPkAs number End of subhour
  • peak values for all autoSize converged design days, for size reports
  • [tuVfMn][tuvfmn], -MxH, -C saved at entry to hvacIterSubhr for conditional backtracking while autoSizing
bVfMn AFLOW_GEZ End of subhour flags TRUE if dT too low for autoSizing tuVfMxH, C (supply temp too close to zone temp, eg due to weak ah coil)
bVfMxH AFLOW_GEZ End of subhour flags TRUE if dT too low for autoSizing tuVfMxH, C (supply temp too close to zone temp, eg due to weak ah coil)
bVfMxC AFLOW_GEZ End of subhour flags TRUE if dT too low for autoSizing tuVfMxH, C (supply temp too close to zone temp, eg due to weak ah coil)
dtLoHSh BOO End of subhour .. this subhr, set in cnztu.cpp:ztuMode, cleared in ztuAbs.
dtLoCSh BOO End of subhour .. this subhr, set in cnztu.cpp:ztuMode, cleared in ztuAbs.
aDtLoHSh BOO End of subhour .. this subhr, set at end of cnah1.cpp:ahCompute
aDtLoCSh BOO End of subhour .. this subhr, set at end of cnah1.cpp:ahCompute
aDtLoTem BOO End of subhour cnah2:antRatTs to ahCompute temp flag re aDtLoHSh, CSh
dtLoH BOO End of subhour .. on this autoSizing design day iteration (or poss run)
dtLoC BOO End of subhour .. on this autoSizing design day iteration (or poss run)
dtLoHAs BOO End of day
  • .. on any converged pass 2 design day: invokes endAutosizing() message.
  • runtime: results: see COIL tuhc.captRat_As, [tuVfMn][tuvfmn]/MxH/MxC_As, ditto _AsNov, below.
dtLoCAs BOO End of subhour
  • .. on any converged pass 2 design day: invokes endAutosizing() message.
  • runtime: results: see COIL tuhc.captRat_As, [tuVfMn][tuvfmn]/MxH/MxC_As, ditto _AsNov, below.

next 2: if neither given, no LH; if setpoint given, tstat-controlled; else if tuQMnLh given, constant power.

Name Type Variability Description/Comments
tuTLh TEMP_GZ Start of hour local heating set point for tstat control. hourly. default: no tstat control.
tuQMnLh POWER_GEZ Start of hour
  • desired continuous output (Btuh) if no setpoint, or minimum if [tuTLh][tutlh] given, hourly, default 0.
  • rest of LH variables disallowed if neither of above given (no LH)
Name Type Variability Description/Comments
tuQMxLh POWER_GEZ Start of hour
  • max desired power, subject to plant limits, Btuh, hourly, RQD if [tuTLh][tutlh] given, else disallowed.
  • *r POWER_GEZ tuQDsLh // was intended to apportion power upon plant overload; instead, using [tuhcCaptRat][tuhccaptrat], 9-92.
  • dflt was max([tuQMnLh][tuqmnlh],[tuQMxLh][tuqmxlh]) or RQD if any of those vbl & [tuTLh][tutlh] or [tuQMnLh][tuqmnlh] given.
tuPriLh SI_GZ Start of phase priority if setpoint equals another, low #'s used first, dfl 100, disallowed if tuTLh not given.
tuLhNeedsFlow choice:NOYES Start of phase
  • YES to disable lh when tu fan off and central fan off or VAV flow 0 (coil in terminal).
  • NO if can heat without flow (baseboard). default: NO.
Name Type Variability Description/Comments
tuhc
  • subrecord for terminal coil, type ELECTRIC or HW.
  • following terminal local heat inputs are in tuhc, and now more!:
  • COILTYCH [tuhcType][tuhctype] // choice of ELEC, HW (hot water), ... . constant.
  • // default NONE if no local heat, else ELEC.
  • //sched: no schedule input for terminal coil: always available, do scheduling with setpoints or min/max heat.
  • POWER_GZ [tuhcCaptRat][tuhccaptrat] // rated capacity (Btu/hr), constant, RQD.
  • TI [tuhcMtr][tuhcmtr] // MTR to which to charge energy use for non-plant-supported coil types.
HEATCOIL
Name Type Variability Description/Comments
tuhc.coilTy choice:COILTY Start of run
  • coil type choice according to application, as follows. constant.
  • air handler cool coil: NONE (default), ELEC, DX, CHW, ...
  • air handler heat coil: NONE (default), ELEC, HW, GAS, OIL, AHP, ...
  • terminal heat coil: NONE (default if no local heat), ELEC (dflt if local heat), HW, GAS,OIL??...
  • "ELEC COOL COIL" is a testing aid that cools with 100% efficiency & capacity at any temp.
Name Type Variability Description/Comments
tuhc.sched OFFAVAILVC Start of hour AVAIL when coil available, OFF when disabled, hourly, default AVAIL.
sensible cap'y: see COOLCOIL.capsRat.
Name Type Variability Description/Comments
tuhc.captRat POWER_NZ End of subhour
  • *s *e for probes, cuz autoSize changes it. hourly for input purposes.
  • total rated cap'y (Btuh), RQD except AHP, ?CHW, hrly vbl for furnaces, const for DX coil.
tuhc.captRat_As number Start of phase captRat determined by autoSizing, w less vbly for easier use in probes in main sim. 6-95.
tuhc.captRat_AsNov number Start of phase
  • raw captRat determined by autoSizing, before overSize added, for reports/probes. 7-95
  • cnausz.cpp code ASSUMES x, x_As, x_AsNov together for access thru one ptr. cuprobe.cpp's name search also requires together.
tuhc.bCaptRat number End of subhour start-subHr captRat, to undo size increases not in use as converged at end subhr (ahhc,ahcc).
Name Type Variability Description/Comments
tuhc.eirRat number Start of hour
  • rated load energy input ratio===heat input ratio===input/output===1/efficiency for DX,GAS,OIL at least.
  • hrly vbl for GAS,OIL; constant for DX, . effRat: see HEATCOIL.
Name Type Variability Description/Comments
tuhc.mtri TI Start of phase MTR to which to charge coil main energy use, if not through a plant.
Name Type Variability Description/Comments
tuhc.aux POWER_GEZ Start of hour additional input energy used by auxiliary controls and devices.
tuhc.auxMtri TI Start of phase Meter for auxiliary energy
coil runtime members
Name Type Variability Description/Comments
tuhc.q number End of subhour average (not fan-on) output power level for subhour
tuhc.qPr number End of subhour output at which coil's plant last computed, for call-flagging plant. set: cnhp.cpp. used: cncoil.cpp
tuhc.p number End of subhour
  • input power level this subhour, from plant or to charge to meter (*subhrDur!).
  • p = input from plant tentative 9-92; implemented for HW coils.
tuhc.plr number End of subhour current fan-on (or furnace-on) relative load (part load ratio)
tuhc.plrAv number End of subhour current average relative load (plr * frFanOn)
tuhc.eir number End of subhour energy input ratio: current input/output, fan on===average. Rob's addition, for probes, 5-92.
tuhc.capMax number End of subhour maximum capacity this subhour, used to calculate tPossH/C.
tuhc.pAux number End of subhour aux power this subhour
  • has all members of base class COIL, and...
  • heat coil additional input members
  • CAUTION: HEATCOIL::setup code used to assume .effRat was 1st derived class member, 7-92.
  • for GAS or OIL furnace "coil" in ah
Name Type Variability Description/Comments
tuhc.effRat FRAC_GZ Start of phase efficiency @ rated load: alternate eir input, converted into eirRat in setup.
tuhc.pyEi
  • cubic polynomial coefficients to correct full-load energy input for part load ratio
  • for GAS or OIL heat coil. Default (per DOE2): .01861, 1.094209, -.112819, 0.
PYCUBIC
Name Type Variability Description/Comments
tuhc.pyEi.k[index] number Array [5] Start of phase
  • FLOAT k[5]. One extra member needed as terminator by cul.cpp array input logic, 5-92.
  • possible future setup optimizations: 1) select ptr to fcn that does not compute terms whose k is 0;
  • 2) precalculate constants to compute in form ((x*k[3] + k[2])*x + k[1])*x + k[0]
tuhc.stackEffect number Start of hour
  • fraction of unused capacity that must be used (increasing plr) to make up for increased
  • infiltration due to hot stack when (indoor) furnace runs but not continuously. Default 0.
  • Expect function of Top.tDbO.
  • for HW coil
tuhc.hpi TI Start of phase
  • subscript of [HEATPLANT][heatplant] serving HW coil
  • heat coil setup time members
  • for HW coil
tuhc.nxTu4hp TI Start of run TuB subscr of next TU with HW coil on same HEATPLANT. 1st is HEATPLANT.tu1.
tuhc.nxAh4hp TI Start of run
  • AhB subscr of next AH with HW coil on same [HEATPLANT][heatplant]. 1st is [HEATPLANT][heatplant].ah1.
  • heat coil runtime members
  • for GAS or OIL furnace "coil" in ah
tuhc.flueLoss number End of subhour
  • part-load flue loss this subhour, GAS and OIL only
  • for HW or AHP coil
tuhc.qWant number End of subhour
  • HW: desired output===input, doHWCoil to hpCompute, used in determining capF.
  • AHP: desired output, doAhpHeatCoil to doAhpHeat
  • *s *e POWER q // current output power: is a COIL member.
  • *s *e POWER qPr // output at which coil's plant last computed, for change-flagged plant: COIL member
  • next 3 determine capability: heat setpoint given-->tstat ctrl'd heat cap; cool setpoint given-->tstat ctrl'd cool cap;
  • neither sp given but min flow given-->continuous output at that flow regardless of zone temp.
Name Type Variability Description/Comments
tuTH TEMP_GZ Start of hour air heating set point (F). hourly. default: no tstat-controlled air heating.
tuTC TEMP_GZ Start of hour air cooling set point (F). hourly. default: no tstat-controlled air cooling.
tuVfMn AFLOW_GEZ End of subhour min flow (cfm actual air); if no setpoints given, this is "specified output". hourly, dlf 0.
tuVfMn_As AFLOW_GEZ Start of phase .. as autoSized (for constant volume), less variable, for probing.
tuVfMn_AsNov AFLOW_GEZ Start of phase
  • .. raw autoSized value before oversize added, for possible probes.
  • cnausz.cpp code ASSUMES x, x_As, x_AsNov together for access thru one ptr. cuprobe.cpp's name search also requires together.
  • if none of [tuTH][tuth]/[tuTC][tutc]/[tuVfMn][tuvfmn] given, rest of air heat/cool variables are disallowed.
Name Type Variability Description/Comments
ai TI input time 0 or AH ss (subscript) for air handler serving tu (input as air handler name). RQD if sp or Mn given.
Name Type Variability Description/Comments
tuVfMxH AFLOW_GEZ End of subhour
  • *s *e cuz autoSize changes it... inputtable hourly. 7-20-95.
  • heating max flow (cfm actual air) b4 ah limits, hourly, RQD if TuTH given else disallowed
tuVfMxH_As AFLOW_GEZ Start of phase .. as determined by autoSizing, less variable, for probing.
tuVfMxH_AsNov AFLOW_GEZ Start of phase
  • .. raw autoSizing result before oversize added, for report/probes.
  • cnausz.cpp code ASSUMES x, x_As, x_AsNov together for access thru one ptr. cuprobe.cpp's name search also requires together.
tuVfMxC AFLOW_GEZ End of subhour cooling max flow (cfm actual air) b4 ah limits, hourly, RQD if TuTC given else disallowed
tuVfMxC_As AFLOW_GEZ Start of phase .. as determined by autoSizing, less variable, for probing.
tuVfMxC_AsNov AFLOW_GEZ Start of phase
  • .. raw autoSizing result before oversize added, for report/probes.
  • cnausz.cpp code ASSUMES x, x_As, x_AsNov together for access thru one ptr. cuprobe.cpp's name search also requires together.
Name Type Variability Description/Comments
tuVfDs AFLOW_GZ Start of run
  • design flow (cfm actual air), constant, to apportion flow when ah fan overloads.
  • default larger of [tuVfMxH][tuvfmxh], [tuVfMxC][tuvfmxc], [tuVfMn][tuvfmn],
  • or RQD if vbl expr given for any of those and [tuTH][tuth], [tuTC][tutc], or [tuVfMn][tuvfmn] given.
Name Type Variability Description/Comments
tuPriH SI_GZ Start of phase heat setpoint priority: lowest # used first when equal setpoints in zone. const. default: 1.
tuPriC SI_GZ Start of phase cool likewise. ... RQD if corress sp given, else disallowed.
Name Type Variability Description/Comments
tuSRLeak number Start of phase
  • leakage 0-.5 of supply air to return, increasing supply vol and return temp. constant; dfl .05.
  • note this is fraction of current cfm, whereas ah leak (before VAV dampers) is fraction max cfm.
  • add [tfanOffLeak][tfanoffleak] to this if terminal has fan that is not running.
Name Type Variability Description/Comments
tuSRLoss number Start of run
  • supply air to return plenum heat loss as a fraction 0 - .5 of supply air to return air
  • temperature difference, constant, default .1. Not allowed if return is ducted.
Name Type Variability Description/Comments
tfanSch TFANSCHVC Start of run
  • terminal fan schedule, choice of OFF, ON, HEATING, or VAV, hourly, RQD if [tfanType][tfantype] not NONE.
  • HEATING: fan ON if local heat output is non-0
  • VAV: fan ON if central fan ON or doing setback/setup heat and ssCtrl is ZONE_HEAT or BOTH.
  • series fan runs whenever ON.
  • parallel fan runs enough to keep terminal cfm at terminal minimum + fan cfm -- makes up
  • any shortage in air thru damper. Code as though variable speed (tho usually cycles).
  • example (rob's) of need for variability: central system cools in daytime but does setback
  • heat at night: tfanSch might be HEATING in daytime and VAV at night.
Name Type Variability Description/Comments
tfanOffLeak number Start of run backdraft leakage when fan off, 0 to .25 of tfanVfDs, constant, dfl .1, or 0 if no fan.
Name Type Variability Description/Comments
tfan
  • terminal fan FAN subrecord. If tfan.fanType is NONE, other tfan inputs disallowed.
  • the following terminal inputs are in tfan:
  • FANTYCH [tfanType][tfantype] // NONE (default), SERIES, or PARALLEL. constant. Fan source is return air.
  • // parallel: fan runs when VAV flow low; tfan cfm is added to VAV cfm to get zone cfm.
  • // series always runs; if VAV cfm < tfan cfm, rest comes from RA.
  • AFLOW_GZ [tfanVfDs][tfanvfds] // terminal fan design flow (cfm actual air), RQD if fan present.
  • // or default to terminal heat design flow? ??
  • PRESAIR_GZ [tfanPress][tfanpress] // tu fan external static pressure, .05 to 1.0 "H2O, constant, default .3.
  • FRAC [tfanEff][tfaneff] // tu fan/motor/drive combinded efficiency, constant, default .08. .08!?
  • MTR tfanMtri // MTR to which energy use is charged 4-11-92
  • PYCUBIC2 tfanCurvePy // part-load energy consumption curve coefficients 6-92, default linear
  • // other fan subrecord members for terminal fan are internally set as follows:
  • // vfMxF: 1.0; motPos: INFLO; shaftPwr: default from eff;
  • // motEff: 1.0: needn't differentiate fan eff from motEff under INFLO.
FAN
Name Type Variability Description/Comments
tfan.fanTy choice:FANTY Start of phase
  • fan position choice, according to application as follows; constant.
  • air handler supply: DRAWTHRU (default) or BLOWTHRU
  • ah return/relief: NONE (default), RETURN, or RELIEF
  • terminal: NONE (default), SERIES, or PARALLEL
  • zone exhaust fan: NONE or EXHAUST (no types, just whether exists)
  • AirNet ([IZXFER][izxfer]): ditto
tfan.vfDs AFLOW_GZ End of subhour design volumetric flow (cfm actual air). constant, RQD except as noted. *s cuz varies when autoSizing.
tfan.vfDs_As AFLOW Start of phase autoSized ditto for ah sfan and rfan for naming consistency. 6-95.
tfan.vfDs_AsNov AFLOW Start of phase
  • raw autoSized ditto b4 overSize added, for report/probes. 7-95.
  • cnausz.cpp code ASSUMES x, x_As, x_AsNov together for access thru one ptr. cuprobe.cpp's name search also requires together.
tfan.vfMxF number Start of phase
  • factor by which fan flow will exceed vfDs (at reduced pressure). default 1.3. constant.
  • Error if < 1.0; typically <= 1.5.
Name Type Variability Description/Comments
tfan.press PRESAIR_GEZ Start of run
  • system design pressure, "H2O (inches of water), constant, used in defaulting power / efficiency.
  • default: supply 3, r/r .75, tu .3, zx ???.
  • 0 allowed 5-1-92 to eliminate fan heat for test/calibration purposes.
only one of eff and shaftPwr may be given:
Name Type Variability Description/Comments
tfan.eff FRAC_GZ Start of run
  • fan (hydraulic) efficiency at vfDs and press (any temp), constant,
  • default from power if given, else .65. (1-eff) of fan shaft power is converted to heat in airstream.
tfan.shaftPwr BHP_GZ Start of run
  • fan shaft power at vfDs and press (any temp). constant. default: from eff
  • Btuh internally, entered in BHP (user name 'shaftBhp') (cvpak converts).
  • ^^^^make user name 'shaftBhp'. field type name??
tfan.elecPwr FLOAT_GZ Start of run
  • motor input power, W/cfm (based on vfDs); shaftPwr and elecPwr cannot both be
  • input
Name Type Variability Description/Comments
tfan.motTy choice:MOTTY Start of run
  • motor type (C_MOTTYCH_PSC or C_MOTTYCH_BPM)
  • [RSYS][rsys] only minimal use 4-12, could effect defaults
Name Type Variability Description/Comments
tfan.motEff FRAC_GZ Start of phase motor/drive efficiency, constant, default .9.
Name Type Variability Description/Comments
tfan.motPos choice:MOTPOS Start of phase
  • motor/drive position: choice of INFLO (default), INRETURN, EXTERNAL. constant.
  • INRETURN is for supply fans only and will be deferred/omitted if difficult
  • chip per taylor 3-4-92).
Name Type Variability Description/Comments
tfan.curvePy fan part-load energy consumption curve cubic polynomial coefficients with x0
PYCUBIC2
Name Type Variability Description/Comments
tfan.curvePy.k[index] number Array [6] Start of phase FLOAT k[6]. [0..3] are coeff, [4] is minimum x, [5] is terminator needed by cul.cpp.
Name Type Variability Description/Comments
tfan.mtri TI input time subscript of meter (MTR) to which energy consumption is charged
tfan.endUse choice:ENDUSE Start of phase
  • end use to which energy consumption is charged
  • not used for all fans (many implicitly default to "fan")
Name Type Variability Description/Comments
tfan.ausz BOO Start of run
  • non-0 if fan being autoSized (AH sfan, rfan): input contained [AUTOSIZE][autosize] _fanVfDs. 7-1-95.
  • see also AH::fanAs, asRfan, asFlow. 7-1-95. */
  • FAN setup time members, set by cnfan.cpp:FAN::setup. May be resetup during autoSize run.
  • also cMx may be init by setup, to be non-0.
Name Type Variability Description/Comments
tfan.outPower number Start of subhour
  • motor output power (work done by fan), member 7-95 for one setup check in cncult5.cpp
  • inPower = shaftPwr/motEff is computed as needed.
tfan.airPower number Start of subhour
  • fan heat to air (Btuh) at vfDs (& pressure): work done by fan, plus motor/drive inefficiency if in flow.
  • Note work done by fan is modelled as HEAT ADDED TO AIR AT FAN per Chip/Niles (3-92, undocumented)
  • heat to air around motor (in return air etc) at design flow is: (inPower - airPower). this is 0 if motor in air flow.
FAN runtime members, set by cnah.cpp:FAN::pute( cFlow, temp)
Name Type Variability Description/Comments
tfan.cMx CFLOW End of subhour max heat cap flow (Btuh/F) at curr air temp & run press & ref w: .vfMx * air vsh * 60 (min/hr)
tfan.c CFLOW End of subhour current average flow in heat cap units (Btuh/F): input saved for probing by last call to FAN::pute()
tfan.t TEMP End of subhour current air temp, input saved ditto, used in converting BtuF/F to cfm
tfan.frOn number End of subhour
  • fraction of time fan is on, saved input
  • made local to pute()to save members 10-92:
  • *s *e FRAC relFlow // fraction of design flow
  • *s *e FRAC relLoad // fraction of full load per part load curve for fan type (1.0 if over design flow: assume pressure drops)
tfan.p number End of subhour (motor) power consumption for subhour -- inPower * relLoad. *subhrDur for meter.
tfan.q number End of subhour heat (power) to air this subhour: airPower * relLoad. Member needed in addition to c and dT??
tfan.dT TEMPDIFF End of subhour temp difference due to fan: q/c
tfan.qAround number End of subhour heat to air around motor, if not in air flow, for use re supply fan motor in return air

TERMINAL SETUP TIME variables

Name Type Variability Description/Comments
nxTu4z TI Start of run chain: 0 or ss (subscript) of next TU in zone chain. head is ZNR.tu1.
nxTu4a TI Start of run chain: 0 or ss (subscript) of next TU in air handler chain. head is AH.tu1.
Name Type Variability Description/Comments
xiLh TI Start of run subscript of ZHX for terminal's local heat capability
xiArH TI Start of run ss of ZHX for cmSo air heat/cool or cmStH air heat capability
xiArC TI Start of run ss of ZHX for tu's cmStC air cool, if any

terminal capability existence / ctrl method flags, inferred from inputs:

Name Type Variability Description/Comments
cmLh TCCM Start of run local heat: cmNONE=0; cmStxx: tstat-controlled (setpoint given); or cmSo (only output/flow given).
cmAr TCCM Start of run air heat and cool: cmNONE=0,cmSo=1,cmStH=2,cmStC=4,cmStBOTH=6.

TERMINAL RUNTIME variables for ZN/ZN2 control method interaction with air handler

Name Type Variability Description/Comments
ctrlsAi TI Start of run
  • ss of ah ctrl'd by this tu under ZN/ZN2 control method, this hour (setup time).
  • CAUTION: verify ah->ahTsSp==ZN or ZN2 -- may vary.
wantMd AHMODE End of subhour terminal request to ctrl'd ah: HEATING, COOLING, OFF. set in TU::estimate, ztuCompute, AH::wzczxxxx.

terminal runtime variables -- mostly inputs to terminal code

Name Type Variability Description/Comments
lhMn DBL End of subhour
  • POWER
  • min local Q this subhour: [tuQMnLh][tuqmnlh], adjusted for plant capacity (reduced if overloaded) (Btuh)
lhMx DBL End of subhour
  • POWER
  • local heat maximum Q this subhour: [tuQMxLh][tuqmxlh] adjusted for plant capacity (Btuh)
lhMxMx DBL End of subhour
  • POWER
  • max lhMx re autoSizing user input problem diagnosis in cnztu.cpp
  • cMn,cMxH,cMxC are [tuVfMn][tuvfmn],-MxH,-C conv'd to heat cap flow rate @ curr temp/press & adjusted for current ah capacity (fanF).
cMn DBL End of subhour
  • CFLOW
  • specified or min or autoSized air flow this subhour (Btuh/F)
cMxH DBL End of subhour
  • CFLOW
  • air heat (cmStH) max flow this subhour (Btuh/F)
cMxC DBL End of subhour
  • CFLOW
  • air cool (cmStC) max flow this subhour (Btuh/F)

terminal runtime variables set within terminal code

Name Type Variability Description/Comments
useLh TCUSE End of subhour local heat use this subhour: uNONE(0)/uSo/uMn/uStH/uMxH.
useAr TCUSE End of subhour air cool/heat use this subhour, same plus uStC/uMxC.
qLhWant DBL End of subhour
  • POWER
  • desired local heat: value > tuhc.q invokes plant off check in tuEndSubhr, 9-25-92.
  • terminal runtime variables -- OUTPUTS of terminal module, and some AH working storage
  • actual local heat output (Btuh) (former .qLh, 9-92) is in tuhc.q, 0 if required plant off or flow not present.
Name Type Variability Description/Comments
cv DBL End of subhour
  • CFLOW
  • actual heat cap flow rate at vav damper, current subHr (Btuh/F), official ztuCompute copy.
cz DBL End of subhour
  • CFLOW
  • zone heat cap flow rate, current subHr (Btuh/F): cv less leaks. for probing.
aCv DBL End of subhour
  • CFLOW
  • working copy of cv for air handlers to use/modify then possibly abandon
  • ah working cz: is computed by function aCz() (above) as required

terminal fan runtime variables

Name Type Variability Description/Comments
tfanRunning BOO End of subhour
  • TRUE if terminal fan running this subhour (no backflow).
  • ztuCompute(?) must set when tfan implemented. NO CODE YET SETS THIS TRUE as of 5-92.
tfanBkC DBL End of subhour
  • CFLOW
  • terminal fan backflow (supply air to return or plenum) when fan not running:
  • tfan.vfDs*[tfanOffLeak][tfanoffleak], converted to heat cap units @ current supply temp.
  • 0 if no terminal fan; user must use 0 if tfanRunning.
  • set by AIR HANDLER in AH:ahVshNLims, 5-92.