*       *****************************************************
*       * INSTRUCTION ON DATA INPUT TO THE PROGRAM AFUEBF - * 
*       * CALCULATION OF ANNUAL FUEL UTILIZATION EFFICIENCY *
*       *    OF RESIDENTIAL CENTRAL FURNACES AND BOILERS    *
*       *****************************************************
*
*  Program:  AFUEBF
*  Version:  4.2c dated 8/15/2001 (Update from Ver.4.2b dated 5/10/2000)
*            4.2b (Update from Ver.4.2a dated 2/5/1999)
*
*            6/15/99 - Revision to include an iterative procedure
*              to determine the ambient temperatures of a modulating
*              AND condensing furnace/boiler under low-fire and
*              high-fire conditions - section 11.5.7.2).
*            5/10/00 - Minor changes to clarify instruction on input to
*              variables XCO2S and TSSSX. No change to executable code.
*==          8/15/01 - Revision to include the provision in Sec. 9.10
*==            and 11.3.11.3 of 103-93 where the option of no cool-down
*==            and heat-up flue loss tests is selected.
*
*  Update:   Version 5.0   October 15, 2003
*            (1) Corrected the code for electric/mechanical stack
*                dampers(NSYS = 5, 6, and 7) of modulating units.
*            (2) Input and output file names can be up to 36 charcters.
*
*  Document: ASHRAE 103-1993
* ======================================================================
*  PREAMBLE: The computer program AFUEBF was written to follow the
*            printed Standard.
*  CAUTION:  Error checking of input data is not performed. Data for all
*            physical variables shall be only those specified to be
*            measured in ASHRAE 103-1993. Do not enter data that are not
*            specified for your particular type of unit. It is possible
*            to enter data for systems which are not covered under the
*            standard or the calculation procedure (Section 11
*            of the Standard). This will either crash the program
*            or, even worse, give erroneous results.  The user must
*            be certain that his input data is correct and as specified,
*            and describes only systems covered in this Standard.
*=======================================================================
*  DISCLAIMER:
*
* The program AFUEBF9B is furnished by the government and are accepted
* and used by any recipient with the express understanding that the United
* States Government makes no warranty, expressed or implied, concerning
* the accuracy, completeness, reliability, usability, or suitability, for any
* particular purpose, of the information and data contained in the program
* or furnished in connection therewith, and the United States shall be under
* no liability whatsoever to any person by reason of any use made thereof.
*===========================================================================
* INPUT variables in this data file, AFUE.IN (or a filename you assign).
*  The separator ----- below indicates the end of each line of record.
*===========================================================================
*   TITLE:  Two(2)lines of alphanumeric characters describing the test
*           unit, test conditions and data, etc. Each line is a record
*           and can contain up to 80 characters.
*-----------------------------------------------------------------------
*   TYPE:   Type of heating unit
*           1 = Furnace
*           2 = Condensing furnace
*           3 = Condensing boiler
*           4 = Finned tube boiler
*           5 = Boiler
*   INST:   Installation
*           1 = Indoors
*           2 = Outdoors
*           3 = Isolated combustion
*   NSYS:   System number appears in the table below.
*===============================================================================
*                     SYSTEM NUMBER TABLE
*===============================================================================
*      *       *        *       *        *      *         *      *      *Atmos.*
*      *       *        *       *        *      *         *      *      *Burner*
*      *       *        *       *        *      *         *      *      *with  *
*      *       *Outdoor,*       *        *      *         *      *      *Elec- *
*      *       *Direct  *       *Draft   *      *         *      *      *Mech. *
*      *       *Vent or *       *Hood    *Baro- *         *      *      *Inlet *
*      *Indoor.*Isolated*       *or      *Metric*Elec/Mech*Atmos-*      *or    *
*      *Combus.*Combus. *Direct *Draft   *Draft *Stack    *pheric*Power *Flue  *
* NSYS *Air    *System  *Exhaust*Diverter*Contrl*Damper   *Burner*Burner*Damper*
*==============================================================================*
*  1       X                        X                        X             X   *
*==============================================================================*
*  2       X                        X                                X         *
*==============================================================================*
*  3       X                X                                        X         *
*==============================================================================*
*  4       X                                 X                       X         *
*==============================================================================*
*  5       X                        X                X       X                 *
*==============================================================================*
*  6       X                        X                X               X         *
*==============================================================================*
*  8       X                                 X       X               X         *
*==============================================================================*
*  9                X            Has no effect               X             X   *
*==============================================================================*
* 10                X            on the results                      X         *
*==============================================================================*
*== NOTE: Atm. burner may/may not have electro-mechanical inlet or flue damper.
*                                       NSYS = 7 : intentionally omitted
*     FUEL:   Type of fuel
*             1 = No.1 oil
*             2 = No.2 oil
*             3 = Natural gas
*             4 = Manufactured gas
*             5 = Propane
*             6 = Butane
*     CTRL:   Control mode
*             1 = Single stage control
*             2 = Two stage control
*             3 = Step modulating control
*     OPTEST: Option
*             0 = No optional tracer gas test for power burner draft
*                 factor, Dp. Dp will be set to its default value in
*                 the program. (Set Dp = 0. below for an input value.)
*             1 = Optional tracer gas test for Dp. Dp below should be
*                 input as 0.
*             2 = Either direct vent units with optional tracer gas
*                 test for Dp, where Dp below should be input as 0.,
*                 or atmospheric burners w/electro-mechanical inlet 
*                 or flue damper with separately tracer gas measured
*                 off-cycle loss factor, where Dp below should be
*                 input as the value of the off-cycle loss factor(KL).
*     IPURGE: Induced draft power burner post purge indicator
*             0 = No post purge (period .LE. 5 s) or not a power burner
*             1 = With post purge period after burner shuts off
*++           Note: There is a difference between ASHRAE 103-1993
*++                 and the revised DOE test procedure (5/12/97) in the
*++                 minimum length of the post purge period before the
*++                 system is considered to have post purge.
*++                (ASHRAE 103 is .LE. 5 s. DOE test proc. is .LE. 30 s.)
*-----------------------------------------------------------------------
*     QP:     Fuel input rate to pilot light, Btu/h
*     PE:     Electric power to burner, kW
*     BE:     Electric power to circulating air blower or water pump, Kw
*     LJ:     Jacket loss, %
*     DP:     Draft factor:
*             = 0.   if atmos. burner without inlet or flue damper
*             = 0.   if power burner (OPTEST = 0 or 1)
*             = 0.05 if units fit description of Section 8.8.3 of
*                    ASHRAE 103-1993
*             = 0.   if direct vent system and OPTEST = 2
*             = KL,  the off-cycle loss factor (separately measured),
*                    for atm. burner with elec-mech. inlet or flue damper.
*     TP:     Power burner post purge time after burner-off, minutes
*             = 0.0  if no post purge (.LE. 5 sec) or not a power burner
*++           Note:  There is a difference between ASHRAE 103-1993
*++                  and DOE test proc.(Appendix N to Subpart B of Part
*++                  430,FR 26157,5/12/97)in the minimum length of the
*++                  post purge period before the system is considered
*++                  to have post purge. See note on IPURGE above.
*
*-----------------------------------------------------------------------
*     QIN:    Fuel energy nameplate input rate at steady state
*             operation (including any pilot light input), Btu/h
*     XCO2S:  Concentration by volume of CO2 present in dry stack gas for
*++           unit with draft relief(draft hood, integral draft diverter,
*++           oil-fired with attached barometric draft regulator eligible
*++           and choose to test by 9.1.3 of 103-1993 for the S/F,     %
*++           = 0.0 if no draft relief, or oil-fired unit with barometric
*++           draft regulator and not tested by the optional procedure of
*++           sec. 9.1.3 of 103-1993 for the S/F factor.
*     XCO2F:  Concentration by volume of CO2 present in dry flue gas,  %
*     TSSSX:  Steady-state stack gas temperature for units employing
*++           integral draft diverter (Sec. 9.1.2.3.2 of 103-1993), F
*++           = 0.0 (mandatory) for all other types of units.
*     TFSS:   Flue gas temperature at steady state, F
*     TRA:    Laboratory room temperature, F
*
*  If control mode is two stage or step-modulating control, QIN,
*  XCO2S, XCO2F, TSSSX, TFSS, and TRA at both high and reduced
*  firing rates must be entered (as two data records - at high
*  rate followed by reduced rate).
*----------------------------------------------------------------------
*     TFON1:  On-cycle flue gas temperature after start-up of the
*             system at time t1, F
*     TFON2:  On-cycle flue gas temperature after start-up of the
*             system at time t2, F
*     TFOF3:  Off-cycle flue gas temperature after shut-down of the
*             system from steady-state operation at time t3, or at
*             time (t3 + TP) if power burner with post purge, F
*     TFOF4:  Off-cycle flue gas temperature after shut-down of the
*             system from steady-state operation at time t4, or at
*             time (t4 + TP) if power burner with post purge, F
*     TFOF5:  Off-cycle flue gas temperature after shut-down of the
*             system from steady-state operation at time t5, F
*
*==NOTE: Enter 0.0 for all 5 temperatures if a SINGLE stage condensing furnace
*==      or boiler meets the criterion of Sections 9.10 and 11.3.11.3 of
*==      ASHRAE 103-1993 AND the option of not conducting the cool-down and
*==      heat=up cyclic flue loss tests is chosen. Please note that as of the
*==      present time (8/15/2001), this option (of 9.10)is not referred to in
*==      Sections 11.5.11.1, 11.5.11.2, and 11.5.11.3 of 103-1993 for a
*==      condensing, modulating furnace/boiler, and hence not specified here.
*  If control mode is step-modulating control, TFON1, TFON2, TFOF3,
*     TFOF4, and TFOF5 are data at the reduced firing rate.
*  If control mode is two stage modulating control, TFON1, TFON2,
*     TFOF3, TFOF4, and TFOF5 at both high and reduced firing rates
*     must be entered (as two records - at high, then reduced rates).
*----------------------------------------------------------------------
*  If power vented burner with post purge, the following additional
*     input temperature data must be provided:
*
*     TFOFS:  Off-cycle flue gas temperature at the start of the post
*             purge period after burner-off(same value as TFSS), F
*     TFOFP:  Off-cycle flue gas temperature at the end of the post
*             purge period (TP) after burner-off, F
*
*  If control mode is step-modulating control, TFOFS and TFOFP
*     are data at the reduced firing rate.
*  If control mode is two stage modulating control, TFOFS and TFOFP
*     at both high and reduced firing rates must be entered.
*     (As two records - 1st. at high, then 2nd. at reduced rates).
*----------------------------------------------------------------------
*  If stack damper is used, the following input data must be provided:
*
*     AS:     Cross-sectional area of the stack, in2
*     AD:     Net area of the stack damper plate, in2
*     AOD:    Net venting area (holes or cut-outs) manufactured on the
*             damper plate, in2
*     AOL:    Net measured leakage area around damper shaft and edges
*             when the damper is closed, in2
*     OMEGA:  Angle the damper makes, when closed, with a plane
*             perpendicular to the axis of the stack, degree
*     TS:     Time when damper starts to close, min
*     TD:     The duration of closing of the stack damper, min
*----------------------------------------------------------------------
*  If condensing unit is used, the following input data must be entered:
*
*     MCSS:   Mass of condensate at steady state, lb
*     QCSS:   Condensing fuel energy input at steady state
*             operation, Btu
*     MC:     Mass of condensate, lb      
*     QC:     Fuel energy input during cyclic condensate collection
*             test, Btu
*
*  If control mode is step-modulating control, MCSS and QCSS at both
*     high and reduced firing rates are required. However, MC and QC
*     are only required at the reduced firing rate.
*     (as two data records - 1st. MCSS and QCSS at high rate followed
*      by 2nd. MCSS, QCSS, MC, QC at reduced rate).
*
*  If control mode is two stage modulating control, MCSS, QCSS, MC,
*     and QC at both high and reduced firing rates must be entered.
*     (As two data records - at 1st. high followed by 2nd. reduced rates).
*----------------------------------------------------------------------
*  If optional tracer gas test for power burner (or direct vents) 
*     draft factor, Dp, is used, the following input data must be
*     provided at the appropriate fuel rates:
*
*     CTM:    Concentration by volume of the tracer gas being used
*     CT:     Concentration by volume of the tracer gas in the flue gas
*     VT:     Flow rate of tracer gas, ft3/min
*     PB:     Barometric pressure measured, in.Hg
*     TT:     temperature of tracer gas entering flow meter, F
*     TFOFF:  Off-period flue gas temperature when tracer gas
*             concentration is measured, F
*     IFRATE: 1 = Non-modulating unit, or
*                 Step modulating unit where tracer gas test is made
*                 at reduced firing rate.
*             2 = Two stage modulating unit where tracer gas tests are
*                 made at both high and reduced firing rates
*
*  If control mode is step-modulating control, CTM, CT, VT, PB, TT,
*     TFOFF, and IFRATE are data at the reduced firing rate.
*  If control mode is two stage modulating control, CTM, CT, VT,
*     PB, TT, TFOFF and IFRATE at both high and reduced firing rates
*     must be entered (as two records - at high, then reduced rates).
*----------------------------------------------------------------------
*=======================================================================
*  OUTPUT values are produced and listed in the file AFUE.OUT (or any
*  filename you assigned to record the data when you run the AFUEBF program).
*=======================================================================
