LCOV - code coverage report
Current view: top level - EnergyPlus - OutputReportPredefined.hh (source / functions) Coverage Total Hit
Test: lcov.output.filtered Lines: 100.0 % 19 19
Test Date: 2025-05-22 16:09:37 Functions: 100.0 % 9 9

            Line data    Source code
       1              : // EnergyPlus, Copyright (c) 1996-2025, The Board of Trustees of the University of Illinois,
       2              : // The Regents of the University of California, through Lawrence Berkeley National Laboratory
       3              : // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge
       4              : // National Laboratory, managed by UT-Battelle, Alliance for Sustainable Energy, LLC, and other
       5              : // contributors. All rights reserved.
       6              : //
       7              : // NOTICE: This Software was developed under funding from the U.S. Department of Energy and the
       8              : // U.S. Government consequently retains certain rights. As such, the U.S. Government has been
       9              : // granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable,
      10              : // worldwide license in the Software to reproduce, distribute copies to the public, prepare
      11              : // derivative works, and perform publicly and display publicly, and to permit others to do so.
      12              : //
      13              : // Redistribution and use in source and binary forms, with or without modification, are permitted
      14              : // provided that the following conditions are met:
      15              : //
      16              : // (1) Redistributions of source code must retain the above copyright notice, this list of
      17              : //     conditions and the following disclaimer.
      18              : //
      19              : // (2) Redistributions in binary form must reproduce the above copyright notice, this list of
      20              : //     conditions and the following disclaimer in the documentation and/or other materials
      21              : //     provided with the distribution.
      22              : //
      23              : // (3) Neither the name of the University of California, Lawrence Berkeley National Laboratory,
      24              : //     the University of Illinois, U.S. Dept. of Energy nor the names of its contributors may be
      25              : //     used to endorse or promote products derived from this software without specific prior
      26              : //     written permission.
      27              : //
      28              : // (4) Use of EnergyPlus(TM) Name. If Licensee (i) distributes the software in stand-alone form
      29              : //     without changes from the version obtained under this License, or (ii) Licensee makes a
      30              : //     reference solely to the software portion of its product, Licensee must refer to the
      31              : //     software as "EnergyPlus version X" software, where "X" is the version number Licensee
      32              : //     obtained under this License and may not use a different name for the software. Except as
      33              : //     specifically required in this Section (4), Licensee shall not use in a company name, a
      34              : //     product name, in advertising, publicity, or other promotional activities any name, trade
      35              : //     name, trademark, logo, or other designation of "EnergyPlus", "E+", "e+" or confusingly
      36              : //     similar designation, without the U.S. Department of Energy's prior written consent.
      37              : //
      38              : // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
      39              : // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
      40              : // AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
      41              : // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
      42              : // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
      43              : // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
      44              : // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
      45              : // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
      46              : // POSSIBILITY OF SUCH DAMAGE.
      47              : 
      48              : #ifndef OutputReportPredefined_hh_INCLUDED
      49              : #define OutputReportPredefined_hh_INCLUDED
      50              : 
      51              : // ObjexxFCL Headers
      52              : #include <ObjexxFCL/Array1D.hh>
      53              : #include <ObjexxFCL/Optional.hh>
      54              : 
      55              : // EnergyPlus Headers
      56              : #include <EnergyPlus/DataGlobals.hh>
      57              : #include <EnergyPlus/EnergyPlus.hh>
      58              : 
      59              : namespace EnergyPlus {
      60              : 
      61              : // Forward declarations
      62              : struct EnergyPlusData;
      63              : 
      64              : namespace OutputReportPredefined {
      65              : 
      66              :     // Using/Aliasing
      67              : 
      68              :     // Data
      69              :     // The following section initializes the predefined column heading variables
      70              :     // The variables get their value in AssignPredefined
      71              : 
      72              :     // Internal data structures to store information provided by calls
      73              :     int constexpr sizeIncrement(100);
      74              :     int constexpr recKindSurface(1);
      75              :     int constexpr recKindSubsurface(2);
      76              : 
      77              :     // Types
      78              : 
      79              :     struct reportNameType
      80              :     {
      81              :         // Members
      82              :         std::string name;
      83              :         std::string namewithspaces; // a "prettier version" than the key value
      84              :         std::string abrev;
      85              :         bool show;
      86              : 
      87              :         // Default Constructor
      88        23001 :         reportNameType() : show(false)
      89              :         {
      90        23001 :         }
      91              :     };
      92              : 
      93              :     struct SubTableType
      94              :     {
      95              :         // Members
      96              :         std::string name;
      97              :         int indexReportName;
      98              :         std::string footnote;
      99              : 
     100              :         // Default Constructor
     101        28105 :         SubTableType() : indexReportName(0)
     102              :         {
     103        28105 :         }
     104              :     };
     105              : 
     106              :     struct ColumnTagType
     107              :     {
     108              :         // Members
     109              :         std::string heading;
     110              :         int indexSubTable;
     111              : 
     112              :         // Default Constructor
     113       371200 :         ColumnTagType() : indexSubTable(0)
     114              :         {
     115       371200 :         }
     116              :     };
     117              : 
     118              :     struct TableEntryType
     119              :     {
     120              :         // Members
     121              :         std::string charEntry;
     122              :         std::string objectName;
     123              :         int indexColumn;
     124              :         int subTableIndex;
     125              :         int uniqueObjName;
     126              :         Real64 origRealEntry;
     127              :         int significantDigits;
     128              :         bool origEntryIsReal;
     129              : 
     130              :         // Default Constructor
     131       162800 :         TableEntryType() : indexColumn(0), subTableIndex(0), uniqueObjName(0), origRealEntry(0.0), significantDigits(0), origEntryIsReal(false)
     132              :         {
     133       162800 :         }
     134              :     };
     135              : 
     136              :     struct CompSizeTableEntryType
     137              :     {
     138              :         // Members
     139              :         std::string typeField;
     140              :         std::string nameField;
     141              :         std::string description;
     142              :         Real64 valField;
     143              :         bool active;
     144              :         bool written;
     145              : 
     146              :         // Default Constructor
     147        34500 :         CompSizeTableEntryType() : valField(0.0), active(false), written(false)
     148              :         {
     149        34500 :         }
     150              :     };
     151              : 
     152              :     struct ShadowRelateType
     153              :     {
     154              :         // Members
     155              :         int castSurf;
     156              :         int recSurf;
     157              :         int recKind;
     158              : 
     159              :         // Default Constructor
     160            6 :         ShadowRelateType() : castSurf(0), recSurf(0), recKind(0)
     161              :         {
     162            6 :         }
     163              :     };
     164              : 
     165              :     void SetPredefinedTables(EnergyPlusData &state);
     166              : 
     167              :     // Creates an entry for predefined tables when the entry
     168              :     // is a real variable. numSigDigits defaults to 2, and if supplied must be in [0-9]
     169              :     // Internally it uses a Fortran-Style write statement, meaning numbers are rounded rather than trimmed
     170              :     void PreDefTableEntry(EnergyPlusData &state,
     171              :                           int const columnIndex,
     172              :                           std::string_view objName,
     173              :                           Real64 const tableEntryReal,
     174              :                           ObjexxFCL::Optional_int_const numSigDigits = _);
     175              : 
     176              :     void PreDefTableEntry(EnergyPlusData &state, int const columnIndex, std::string_view objName, std::string_view tableEntryChar);
     177              : 
     178              :     void PreDefTableEntry(EnergyPlusData &state, int const columnIndex, std::string_view objName, int const tableEntryInt);
     179              : 
     180              :     std::string RetrievePreDefTableEntry(EnergyPlusData &state, int const columnIndex, std::string_view objName);
     181              : 
     182              :     void incrementTableEntry(EnergyPlusData &state);
     183              : 
     184              :     void AddCompSizeTableEntry(
     185              :         EnergyPlusData &state, std::string_view FieldType, std::string_view FieldName, std::string_view FieldDescription, Real64 const FieldValue);
     186              : 
     187              :     void AddShadowRelateTableEntry(EnergyPlusData &state, int const castingField, int const receivingField, int const receivingKind);
     188              : 
     189              :     int
     190              :     newPreDefReport(EnergyPlusData &state, std::string_view inReportName, std::string_view inReportAbrev, std::string_view inReportNamewithSpaces);
     191              : 
     192              :     int newPreDefSubTable(EnergyPlusData &state, int const reportIndex, std::string_view subTableName);
     193              : 
     194              :     void addFootNoteSubTable(EnergyPlusData &state, int const subTableIndex, std::string_view footnoteText);
     195              : 
     196              :     int newPreDefColumn(EnergyPlusData &state, int const subTableIndex, std::string_view columnHeading);
     197              : 
     198              : } // namespace OutputReportPredefined
     199              : 
     200              : struct OutputReportPredefinedData : BaseGlobalStruct
     201              : {
     202              : 
     203              :     // Climate Summary Report
     204              :     int pdrClim = 0;
     205              :     int pdstDesDay = 0;
     206              :     int pdchDDmaxDB = 0;
     207              :     int pdchDDrange = 0;
     208              :     int pdchDDhumid = 0;
     209              :     int pdchDDhumTyp = 0;
     210              :     int pdchDDwindSp = 0;
     211              :     int pdchDDwindDr = 0;
     212              :     int pdstMonthlyPrec = 0;
     213              :     int pdchMonthlyTotalPrecInWeather = 0;
     214              :     int pdchMonthlyTotalHrRain = 0;
     215              :     int pdchMonthlyTotalPrecInSitePrec = 0;
     216              :     int pdchMonthlyTotalIrrDep = 0;
     217              :     int pdchMonthlyTotalRainCol = 0;
     218              :     int pdstWthr = 0;
     219              :     int pdchWthrVal = 0;
     220              : 
     221              :     // HVAC Equipment Report
     222              :     int pdrEquip = 0;
     223              :     int pdstMech = 0;
     224              :     int pdchMechType = 0;
     225              :     int pdchMechNomCap = 0;
     226              :     int pdchMechNomEff = 0;
     227              :     int pdchMechRatCap = 0;
     228              :     int pdchMechRatEff = 0;
     229              :     int pdchMechIPLVSI = 0;
     230              :     int pdchMechIPLVIP = 0;
     231              : 
     232              :     // Fan subtable
     233              :     int pdstFan = 0;
     234              :     int pdchFanType = 0;
     235              :     int pdchFanTotEff = 0;
     236              :     int pdchFanDeltaP = 0;
     237              :     int pdchFanVolFlow = 0;
     238              :     int pdchFanMotorIn = 0;
     239              :     int pdchFanEnergyIndex = 0;
     240              :     int pdchFanEndUse = 0;
     241              :     int pdchFanPwr = 0;
     242              :     int pdchFanPwrPerFlow = 0;
     243              :     int pdchFanDesDay = 0;
     244              :     int pdchFanPkTime = 0;
     245              :     // Standard 229 Predef outputs for Fans
     246              :     int pdchFanPurpose = 0;
     247              :     int pdchFanAutosized = 0;
     248              :     int pdchFanMotorEff = 0;
     249              :     int pdchFanMotorHeatToZoneFrac = 0; // Motor Heat to Zone Fraction
     250              :     int pdchFanMotorHeatZone = 0;       // Motor Loss Zone Name
     251              :     int pdchFanAirLoopName = 0;
     252              : 
     253              :     // Pump subtable
     254              :     int pdstPump = 0;
     255              :     int pdchPumpType = 0;
     256              :     int pdchPumpControl = 0;
     257              :     int pdchPumpHead = 0;
     258              :     int pdchPumpFlow = 0;
     259              :     int pdchPumpPower = 0;
     260              :     int pdchPumpPwrPerFlow = 0;
     261              :     int pdchPumpEndUse = 0;
     262              :     int pdchMotEff = 0;
     263              :     // Standard 229 Predef outputs for Pumps
     264              :     int pdchPumpAutosized = 0;
     265              :     int pdchPumpPlantloopName = 0;
     266              :     int pdchPumpPlantloopBranchName = 0;
     267              : 
     268              :     // Cooling coil subtable
     269              :     int pdstCoolCoil = 0;
     270              :     int pdchCoolCoilType = 0;
     271              :     int pdchCoolCoilDesCap = 0;
     272              :     int pdchCoolCoilTotCap = 0;
     273              :     int pdchCoolCoilSensCap = 0;
     274              :     int pdchCoolCoilLatCap = 0;
     275              :     int pdchCoolCoilSHR = 0;
     276              :     int pdchCoolCoilNomEff = 0;
     277              :     int pdchCoolCoilUATotal = 0;
     278              :     int pdchCoolCoilArea = 0;
     279              : 
     280              :     // DX Cooling Coil subtable
     281              :     int pdstDXCoolCoil = 0;
     282              :     int pdchDXCoolCoilType = 0;           // DX cooling coil type
     283              :     int pdchDXCoolCoilNetCapSI = 0;       // Standard Rated (Net) Cooling Capacity [W]
     284              :     int pdchDXCoolCoilCOP = 0;            // EER/COP value in SI unit at AHRI std. 340/360 conditions [W/W]
     285              :     int pdchDXCoolCoilSEERUserIP = 0;     // SEER value in IP unit at AHRI std. 210/240 conditions and user PLF curve [Btu/W-hr]
     286              :     int pdchDXCoolCoilSEERStandardIP = 0; // SEER value in IP unit at AHRI std. 210/240 conditions and default PLF curve and C_D value [Btu/W-hr]
     287              :     int pdchDXCoolCoilEERIP = 0;          // EER value in IP unit at AHRI std. 340/360 conditions [Btu/W-h]
     288              :     int pdchDXCoolCoilIEERIP = 0;         // IEER value in IP unit at AHRI std. 340/360 conditions
     289              : 
     290              :     // DX Cooling Coil SEER2 subtable | AHRI std. 210/240 2023 conditions
     291              :     int pdstDXCoolCoil_2023 = 0;
     292              :     int pdchDXCoolCoilType_2023 = 0;        // DX cooling coil type
     293              :     int pdchDXCoolCoilNetCapSI_2023 = 0;    // Standard Rated (Net) Cooling Capacity [W]
     294              :     int pdchDXCoolCoilCOP_2023 = 0;         // EER/COP value in SI unit at AHRI std. 340/360 conditions [W/W]
     295              :     int pdchDXCoolCoilSEER2UserIP_2023 = 0; // SEER2 value in IP unit at AHRI std. 210/240 2023 conditions and user PLF curve [Btu/W-hr]
     296              :     int pdchDXCoolCoilSEER2StandardIP_2023 =
     297              :         0;                             // SEER2 value in IP unit at AHRI std. 210/240 2023 conditions and default PLF curve and C_D value [Btu/W-hr]
     298              :     int pdchDXCoolCoilEERIP_2023 = 0;  // EER value in IP unit at AHRI std. 340/360 conditions [Btu/W-h]
     299              :     int pdchDXCoolCoilIEERIP_2023 = 0; // IEER value in IP unit at AHRI std. 340/360 conditions
     300              : 
     301              :     // DX Cooling Coil subtable per ANSI/ASHRAE Std 127 for Tests A, B, C and D
     302              :     int pdstDXCoolCoil2 = 0;
     303              :     int pdchDXCoolCoilType2 = 0;      // DX cooling coil type
     304              :     int pdchDXCoolCoilNetCapSIA = 0;  // Standard Rated (Net) Cooling Capacity [W], Test A
     305              :     int pdchDXCoolCoilElecPowerA = 0; // Standard Rated Electric Power [W], Test A
     306              :     int pdchDXCoolCoilNetCapSIB = 0;  // Standard Rated (Net) Cooling Capacity [W], Test B
     307              :     int pdchDXCoolCoilElecPowerB = 0; // Standard Rated Electric Power [W], Test B
     308              :     int pdchDXCoolCoilNetCapSIC = 0;  // Standard Rated (Net) Cooling Capacity [W], Test C
     309              :     int pdchDXCoolCoilElecPowerC = 0; // Standard Rated Electric Power [W], Test C
     310              :     int pdchDXCoolCoilNetCapSID = 0;  // Standard Rated (Net) Cooling Capacity [W], Test D
     311              :     int pdchDXCoolCoilElecPowerD = 0; // Standard Rated Electric Power [W], Test D
     312              : 
     313              :     // Water-to-Air HP report
     314              :     int pdstWAHP = 0;
     315              :     int pdchWAHPType = 0;
     316              :     int pdchWAHPRatedCapAtRatedCdts = 0;
     317              :     int pdchWAHPRatedSensCapAtRatedCdts = 0;
     318              :     int pdchWAHPRatedPowerAtRatedCdts = 0;
     319              :     int pdchWAHPRatedCOPAtRatedCdts = 0;
     320              :     int pdchWAHPRatedAirDBT = 0;
     321              :     int pdchWAHPRatedAirWBT = 0;
     322              :     int pdchWAHPRatedWtrT = 0;
     323              :     int pdchWAHPDD = 0;
     324              : 
     325              :     // VAV DX Cooling Ratings Details
     326              :     int pdstVAVDXCoolCoil = 0; // details for Packaged VAV rating under AHRI 340/360
     327              :     int pdchVAVDXCoolCoilType = 0;
     328              :     int pdchVAVDXFanName = 0;
     329              :     int pdchVAVDXCoolCoilNetCapSI = 0;
     330              :     int pdchVAVDXCoolCoilCOP = 0;
     331              :     int pdchVAVDXCoolCoilIEERIP = 0;
     332              :     int pdchVAVDXCoolCoilEERIP = 0;
     333              :     int pdchVAVDXCoolCoilMdotA = 0;
     334              :     int pdchVAVDXCoolCoilCOP_B = 0;
     335              :     int pdchVAVDXCoolCoilEER_B_IP = 0;
     336              :     int pdchVAVDXCoolCoilMdotB = 0;
     337              :     int pdchVAVDXCoolCoilCOP_C = 0;
     338              :     int pdchVAVDXCoolCoilEER_C_IP = 0;
     339              :     int pdchVAVDXCoolCoilMdotC = 0;
     340              :     int pdchVAVDXCoolCoilCOP_D = 0;
     341              :     int pdchVAVDXCoolCoilEER_D_IP = 0;
     342              :     int pdchVAVDXCoolCoilMdotD = 0;
     343              : 
     344              :     // DX Heating Coil subtable
     345              :     int pdstDXHeatCoil = 0;
     346              :     int pdchDXHeatCoilType = 0; // DX Heating coil type
     347              :     int pdchDXHeatCoilHighCap = 0;
     348              :     int pdchDXHeatCoilLowCap = 0;
     349              :     int pdchDXHeatCoilHSPFSI = 0;    // HSPF value in SI unit at AHRI std. 340/360 conditions [W/W]
     350              :     int pdchDXHeatCoilHSPFIP = 0;    // HSPF value in IP unit at AHRI std. 340/360 conditions [Btu/W-hr]
     351              :     int pdchDXHeatCoilRegionNum = 0; // Region number for which HSPF is calculated
     352              :     // Standard 229 Predef outputs for DX Heating Coils
     353              :     int pdchDXHeatCoilMinOADBTforCompOp = 0;
     354              :     int pdchDXHeatCoilSuppHiT = 0; // Supplemental Heat High Shutoff Temperature
     355              :     int pdchDXHeatCoilAirloopName = 0;
     356              : 
     357              :     // DX Heating Coil subtable| AHRI std. 210/240 2023 conditions
     358              :     int pdstDXHeatCoil_2023 = 0;
     359              :     int pdchDXHeatCoilType_2023 = 0; // DX Heating coil type
     360              :     int pdchDXHeatCoilHighCap_2023 = 0;
     361              :     int pdchDXHeatCoilLowCap_2023 = 0;
     362              :     int pdchDXHeatCoilHSPF2SI_2023 = 0;   // HSPF2 value in SI unit at AHRI std. 340/360 conditions [W/W]
     363              :     int pdchDXHeatCoilHSPF2IP_2023 = 0;   // HSPF2 value in IP unit at AHRI std. 340/360 conditions [Btu/W-hr]
     364              :     int pdchDXHeatCoilRegionNum_2023 = 0; // Region number for which HSPF is calculated
     365              :     int pdchDXHeatCoilMinOADBTforCompOp_2023 = 0;
     366              :     int pdchDXHeatCoilAirloopName_2023 = 0;
     367              : 
     368              :     // Heating Coil subtable
     369              :     int pdstHeatCoil = 0;
     370              :     int pdchHeatCoilType = 0;
     371              :     int pdchHeatCoilDesCap = 0;
     372              :     int pdchHeatCoilNomCap = 0;
     373              :     int pdchHeatCoilNomEff = 0;
     374              :     // Standard 229 Predef outputs for Heating Coils
     375              :     int pdchHeatCoilUsedAsSupHeat = 0;
     376              :     int pdchHeatCoilAirloopName = 0;
     377              :     int pdchHeatCoilPlantloopName = 0;
     378              : 
     379              :     // SWH subtable
     380              :     int pdstSWH = 0;
     381              :     int pdchSWHType = 0;
     382              :     int pdchSWHVol = 0;
     383              :     int pdchSWHHeatIn = 0;
     384              :     int pdchSWHThEff = 0;
     385              :     int pdchSWHRecEff = 0;
     386              :     int pdchSWHEnFac = 0;
     387              : 
     388              :     // Std 229 Chiller Table in Equipment Summary
     389              :     int pdstChiller = 0;
     390              :     int pdchChillerType = 0;                        // Type
     391              :     int pdchChillerRefCap = 0;                      // Reference Capacity[W]
     392              :     int pdchChillerRefEff = 0;                      // Reference Efficiency [W/W]
     393              :     int pdchChillerRatedCap = 0;                    // Rated Capacity [W]
     394              :     int pdchChillerRatedEff = 0;                    // Rated Efficiency [W/W]
     395              :     int pdchChillerIPLVinSI = 0;                    // IPLV in SI Units [W/W]
     396              :     int pdchChillerIPLVinIP = 0;                    // IPLV in IP Units [Btu/W-h]
     397              :     int pdchChillerPlantloopName = 0;               // Plantloop name
     398              :     int pdchChillerPlantloopBranchName = 0;         // Plantloop branch name
     399              :     int pdchChillerCondLoopName = 0;                // Condenser loop name
     400              :     int pdchChillerCondLoopBranchName = 0;          // Condenser loop branch name
     401              :     int pdchChillerMinPLR = 0;                      // Minimum part load ratio
     402              :     int pdchChillerFuelType = 0;                    // Fuel type
     403              :     int pdchChillerRatedEntCondTemp = 0;            // Rated entering condenser temperature
     404              :     int pdchChillerRatedLevEvapTemp = 0;            // Rated leaving evaporator temperature
     405              :     int pdchChillerRefEntCondTemp = 0;              // Reference entering condenser temperature
     406              :     int pdchChillerRefLevEvapTemp = 0;              // Reference leaving evaporator temperature
     407              :     int pdchChillerDesSizeRefCHWFlowRate = 0;       // Design Size Reference Chilled Water Flow Rate
     408              :     int pdchChillerDesSizeRefCondFluidFlowRate = 0; // Design Size Reference Condenser Fluid Flow Rate
     409              :     int pdchChillerHeatRecPlantloopName = 0;        // Heat recovery Plantloop name
     410              :     int pdchChillerHeatRecPlantloopBranchName = 0;  // Heat recovery Plantloop branch name
     411              :     int pdchChillerRecRelCapFrac = 0;               // Recovery Relative Capacity Fraction
     412              : 
     413              :     // Std 229 Boiler Table in Equipment Summary
     414              :     int pdstBoiler = 0;
     415              :     int pdchBoilerType = 0;                // Type
     416              :     int pdchBoilerRefCap = 0;              // Reference Capacity [W]
     417              :     int pdchBoilerRefEff = 0;              // Reference Efficiency [W/W]
     418              :     int pdchBoilerRatedCap = 0;            // Rated Capacity [W]
     419              :     int pdchBoilerRatedEff = 0;            // Rated Efficiency [W/W]
     420              :     int pdchBoilerPlantloopName = 0;       // Plantloop name
     421              :     int pdchBoilerPlantloopBranchName = 0; // Plantloop branch name
     422              :     int pdchBoilerMinPLR = 0;              // Minimum part load ratio
     423              :     int pdchBoilerFuelType = 0;            // Fuel type
     424              :     int pdchBoilerParaElecLoad = 0;        // Parasitic electric load
     425              : 
     426              :     // Std 229 cooling towers and fluid coolers Table in Equipment Summary
     427              :     int pdstCTFC = 0;
     428              :     int pdchCTFCType = 0;               // Type
     429              :     int pdchCTFCCondLoopName = 0;       // Condenser loop name
     430              :     int pdchCTFCCondLoopBranchName = 0; // Condenser loop branch name
     431              :     int pdchCTFCFluidType = 0;          // Fluid type
     432              :     int pdchCTFCRange = 0;              // Range
     433              :     int pdchCTFCApproach = 0;           // Approach
     434              :     int pdchCTFCDesFanPwr = 0;          // Design Fan Power
     435              :     int pdchCTFCDesInletAirWBT = 0;     // Design inlet air wet-bulb temperature
     436              :     int pdchCTFCDesWaterFlowRate = 0;   // Design Water Flow Rate
     437              :     int pdchCTFCLevWaterSPTemp = 0;     // Leaving water setpoint temperature
     438              : 
     439              :     // Std 229 Plantloop and CondenserLoop Table in Equipment Summary
     440              :     int pdstPLCL = 0;
     441              :     int pdchPLCLType = 0;            // type (PlantLoop or CondenserLoop)
     442              :     int pdchPLCLProvHeat = 0;        // provides heating
     443              :     int pdchPLCLProvCool = 0;        // provides cooling
     444              :     int pdchPLCLMaxLoopFlowRate = 0; // Maximum Loop Flow Rate
     445              :     int pdchPLCLMinLoopFlowRate = 0; // Minimum Loop Flow Rate
     446              : 
     447              :     // Std 229 Air Terminal Table in Equipment Summary
     448              :     int pdstAirTerm = 0;
     449              :     int pdchAirTermZoneName = 0;       // Zone Name
     450              :     int pdchAirTermMinFlow = 0;        // Minimum Flow
     451              :     int pdchAirTermMinOutdoorFlow = 0; // Minimum Outdoor Flow
     452              :     int pdchAirTermSupCoolingSP = 0;   // Supply cooling setpoint
     453              :     int pdchAirTermSupHeatingSP = 0;   // Supply heating setpoint
     454              :     int pdchAirTermHeatingCap = 0;     // Heating capacity
     455              :     int pdchAirTermCoolingCap = 0;     // Cooling capacity
     456              :     int pdchAirTermTypeInp = 0;        // Type of Input Object
     457              :     int pdchAirTermHeatCoilType = 0;   // Heat/Reheat Coil Object Type
     458              :     int pdchAirTermCoolCoilType = 0;   // Chilled Water Coil Object Type
     459              :     int pdchAirTermFanType = 0;        // Fan Object Type
     460              :     int pdchAirTermFanName = 0;        // Fan Name
     461              :     int pdchAirTermPrimFlow = 0;       // Primary Air Flow Rate
     462              :     int pdchAirTermSecdFlow = 0;       // Secondary Air Flow Rate
     463              :     int pdchAirTermMinFlowSch = 0;     // Minimum Flow Schedule Name
     464              :     int pdchAirTermMaxFlowReh = 0;     // Maximum Flow During Reheat
     465              :     int pdchAirTermMinOAflowSch = 0;   // Minimum Outdoor Flow Schedule Name
     466              :     int pdchAirTermTempCntl = 0;       // Temperature Control
     467              : 
     468              :     // Std 229 Air Heat Recovery
     469              :     int pdstAirHR = 0;
     470              :     int pdchAirHRInputObjName = 0;              // name
     471              :     int pdchAirHRInputObjType = 0;              // input object type
     472              :     int pdchAirHRPlateOrRotary = 0;             // plate/rotary
     473              :     int pdchAirHRSenEffAt100PerHeatAirFlow = 0; // Sensible Effectiveness at 100% Heating Air Flow
     474              :     int pdchAirHRSenEffAt100PerCoolAirFlow = 0; // Sensible Effectiveness at 100% Cooling Air Flow
     475              :     int pdchAirHRLatEffAt100PerHeatAirFlow = 0; // Latent Effectiveness at 100% Heating Air Flow
     476              :     int pdchAirHRLatEffAt100PerCoolAirFlow = 0; // Latent Effectiveness at 100% Cooling Air Flow
     477              :     int pdchAirHRExhaustAirflow = 0;            // Exhaust airflow
     478              :     int pdchAirHROutdoorAirflow = 0;            // Outdoor airflow
     479              : 
     480              :     // Envelope Report
     481              :     int pdrEnvelope = 0;
     482              :     int pdstOpaque = 0;
     483              :     int pdchOpCons = 0;
     484              :     int pdchOpZone = 0;
     485              :     int pdchOpSpace = 0;
     486              :     int pdchOpRefl = 0;
     487              :     int pdchOpUfactFilm = 0;
     488              :     int pdchOpUfactNoFilm = 0;
     489              :     int pdchOpGrArea = 0;
     490              :     int pdchOpNetArea = 0;
     491              :     int pdchOpAzimuth = 0;
     492              :     int pdchOpTilt = 0;
     493              :     int pdchOpDir = 0;
     494              :     int pdstIntOpaque = 0;
     495              :     int pdchIntOpCons = 0;
     496              :     int pdchIntOpZone = 0;
     497              :     int pdchIntOpSpace = 0;
     498              :     int pdchIntOpAdjSurf = 0;
     499              :     int pdchIntOpRefl = 0;
     500              :     int pdchIntOpUfactFilm = 0;
     501              :     int pdchIntOpUfactNoFilm = 0;
     502              :     int pdchIntOpGrArea = 0;
     503              :     int pdchIntOpNetArea = 0;
     504              :     int pdchIntOpAzimuth = 0;
     505              :     int pdchIntOpTilt = 0;
     506              :     int pdchIntOpDir = 0;
     507              :     int pdstFen = 0;
     508              :     int pdchFenCons = 0;
     509              :     int pdchFenZone = 0;
     510              :     int pdchFenSpace = 0;
     511              :     int pdchFenFrameDivName = 0;
     512              :     int pdchFenAreaOf1 = 0;
     513              :     int pdchFenGlassAreaOf1 = 0;
     514              :     int pdchFenFrameAreaOf1 = 0;
     515              :     int pdchFenDividerAreaOf1 = 0;
     516              :     int pdchFenArea = 0;
     517              :     int pdchFenUfact = 0;
     518              :     int pdchFenSHGC = 0;
     519              :     int pdchFenVisTr = 0;
     520              :     int pdchFenAssemNfrcType = 0;
     521              :     int pdchFenAssemUfact = 0;
     522              :     int pdchFenAssemSHGC = 0;
     523              :     int pdchFenAssemVisTr = 0;
     524              :     int pdchFenFrameConductance = 0;
     525              :     int pdchFenDividerConductance = 0;
     526              :     int pdchFenSwitchable = 0;
     527              :     int pdchFenParent = 0;
     528              :     int pdchFenAzimuth = 0;
     529              :     int pdchFenTilt = 0;
     530              :     int pdchFenDir = 0;
     531              : 
     532              :     int pdstFenShd = 0;
     533              :     int pdchFenShdFrameDiv = 0;
     534              :     int pdchFenShdUfact = 0;
     535              :     int pdchFenShdSHGC = 0;
     536              :     int pdchFenShdVisTr = 0;
     537              :     int pdchFenShdAssemNfrcType = 0;
     538              :     int pdchFenShdAssemUfact = 0;
     539              :     int pdchFenShdAssemSHGC = 0;
     540              :     int pdchFenShdAssemVisTr = 0;
     541              : 
     542              :     int pdstDoor = 0;
     543              :     int pdchDrCons = 0;
     544              :     int pdchDrZone = 0;
     545              :     int pdchDrSpace = 0;
     546              :     int pdchDrUfactFilm = 0;
     547              :     int pdchDrUfactNoFilm = 0;
     548              :     int pdchDrGrArea = 0;
     549              :     int pdchDrParent = 0;
     550              :     int pdstIntDoor = 0;
     551              :     int pdchIntDrCons = 0;
     552              :     int pdchIntDrZone = 0;
     553              :     int pdchIntDrSpace = 0;
     554              :     int pdchIntDrUfactFilm = 0;
     555              :     int pdchIntDrUfactNoFilm = 0;
     556              :     int pdchIntDrGrArea = 0;
     557              :     int pdchIntDrParent = 0;
     558              :     int pdstIntFen = 0;
     559              :     int pdchIntFenCons = 0;
     560              :     int pdchIntFenZone = 0;
     561              :     int pdchIntFenSpace = 0;
     562              :     int pdchIntFenAreaOf1 = 0;
     563              :     int pdchIntFenArea = 0;
     564              :     int pdchIntFenUfact = 0;
     565              :     int pdchIntFenSHGC = 0;
     566              :     int pdchIntFenVisTr = 0;
     567              :     int pdchIntFenParent = 0;
     568              : 
     569              :     int pdstOpqConsLayers = 0;
     570              :     std::vector<int> pdchOpqConsLayCol;
     571              : 
     572              :     // Shading Report
     573              :     int pdrShading = 0;
     574              :     int pdstSunlitFrac = 0;
     575              :     int pdchSlfMar21_9 = 0;
     576              :     int pdchSlfMar21_12 = 0;
     577              :     int pdchSlfMar21_15 = 0;
     578              :     int pdchSlfJun21_9 = 0;
     579              :     int pdchSlfJun21_12 = 0;
     580              :     int pdchSlfJun21_15 = 0;
     581              :     int pdchSlfDec21_9 = 0;
     582              :     int pdchSlfDec21_12 = 0;
     583              :     int pdchSlfDec21_15 = 0;
     584              :     int pdstWindowControl = 0;
     585              :     int pdchWscName = 0;
     586              :     int pdchWscShading = 0;
     587              :     int pdchWscShadCons = 0;
     588              :     int pdchWscControl = 0;
     589              :     int pdchWscGlare = 0;
     590              : 
     591              :     // Lighting Report
     592              :     int pdrLighting = 0;
     593              :     int pdstInLite = 0;
     594              :     int pdchInLtZone = 0;
     595              :     int pdchInLtSpace = 0;
     596              :     int pdchInLtSpaceType = 0;
     597              :     int pdchInLtDens = 0;
     598              :     int pdchInLtArea = 0;
     599              :     int pdchInLtPower = 0;
     600              :     int pdchInLtEndUse = 0;
     601              :     int pdchInLtSchd = 0;
     602              :     int pdchInLtAvgHrSchd = 0;
     603              :     int pdchInLtAvgHrOper = 0;
     604              :     int pdchInLtFullLoadHrs = 0;
     605              :     int pdchInLtRetAir = 0;
     606              :     int pdchInLtCond = 0;
     607              :     int pdchInLtConsump = 0;
     608              :     int pdstExtLite = 0;
     609              :     int pdchExLtPower = 0;
     610              :     int pdchExLtClock = 0;
     611              :     int pdchExLtSchd = 0;
     612              :     int pdchExLtAvgHrSchd = 0;
     613              :     int pdchExLtAvgHrOper = 0;
     614              :     int pdchExLtFullLoadHrs = 0;
     615              :     int pdchExLtConsump = 0;
     616              :     int pdstDaylight = 0;
     617              :     int pdchDyLtZone = 0;
     618              :     int pdchDyLtCtrlName = 0;
     619              :     int pdchDyLtKind = 0;
     620              :     int pdchDyLtCtrlType = 0;
     621              :     int pdchDyLtFrac = 0;
     622              :     int pdchDyLtWInst = 0;
     623              :     int pdchDyLtWCtrl = 0;
     624              : 
     625              :     // Sizing Report
     626              :     int pdrSizing = 0;
     627              :     int pdstSpaceClSize = 0;
     628              :     int pdchSpClCalcDesLd = 0;
     629              :     int pdchSpClUserDesLd = 0;
     630              :     int pdchSpClUserDesLdPerArea = 0;
     631              :     int pdchSpClCalcDesAirFlow = 0;
     632              :     int pdchSpClUserDesAirFlow = 0;
     633              :     int pdchSpClDesDay = 0;
     634              :     int pdchSpClPkTime = 0;
     635              :     int pdchSpClPkTstatTemp = 0;
     636              :     int pdchSpClPkIndTemp = 0;
     637              :     int pdchSpClPkIndHum = 0;
     638              :     int pdchSpClPkOATemp = 0;
     639              :     int pdchSpClPkOAHum = 0;
     640              :     int pdchSpClPkOAMinFlow = 0;
     641              :     int pdchSpClPkDOASHeatGain = 0;
     642              :     int pdstZoneClSize = 0;
     643              :     int pdchZnClCalcDesLd = 0;
     644              :     int pdchZnClUserDesLd = 0;
     645              :     int pdchZnClUserDesLdPerArea = 0;
     646              :     int pdchZnClCalcDesAirFlow = 0;
     647              :     int pdchZnClUserDesAirFlow = 0;
     648              :     int pdchZnClDesDay = 0;
     649              :     int pdchZnClPkTime = 0;
     650              :     int pdchZnClPkTstatTemp = 0;
     651              :     int pdchZnClPkIndTemp = 0;
     652              :     int pdchZnClPkIndHum = 0;
     653              :     int pdchZnClPkOATemp = 0;
     654              :     int pdchZnClPkOAHum = 0;
     655              :     int pdchZnClPkOAMinFlow = 0;
     656              :     int pdchZnClPkDOASHeatGain = 0;
     657              :     int pdstSpaceHtSize = 0;
     658              :     int pdchSpHtCalcDesLd = 0;
     659              :     int pdchSpHtUserDesLd = 0;
     660              :     int pdchSpHtUserDesLdPerArea = 0;
     661              :     int pdchSpHtCalcDesAirFlow = 0;
     662              :     int pdchSpHtUserDesAirFlow = 0;
     663              :     int pdchSpHtDesDay = 0;
     664              :     int pdchSpHtPkTime = 0;
     665              :     int pdchSpHtPkTstatTemp = 0;
     666              :     int pdchSpHtPkIndTemp = 0;
     667              :     int pdchSpHtPkIndHum = 0;
     668              :     int pdchSpHtPkOATemp = 0;
     669              :     int pdchSpHtPkOAHum = 0;
     670              :     int pdchSpHtPkOAMinFlow = 0;
     671              :     int pdchSpHtPkDOASHeatGain = 0;
     672              :     int pdstZoneHtSize = 0;
     673              :     int pdchZnHtCalcDesLd = 0;
     674              :     int pdchZnHtUserDesLd = 0;
     675              :     int pdchZnHtUserDesLdPerArea = 0;
     676              :     int pdchZnHtCalcDesAirFlow = 0;
     677              :     int pdchZnHtUserDesAirFlow = 0;
     678              :     int pdchZnHtDesDay = 0;
     679              :     int pdchZnHtPkTime = 0;
     680              :     int pdchZnHtPkTstatTemp = 0;
     681              :     int pdchZnHtPkIndTemp = 0;
     682              :     int pdchZnHtPkIndHum = 0;
     683              :     int pdchZnHtPkOATemp = 0;
     684              :     int pdchZnHtPkOAHum = 0;
     685              :     int pdchZnHtPkOAMinFlow = 0;
     686              :     int pdchZnHtPkDOASHeatGain = 0;
     687              :     int pdstSystemSize = 0;
     688              :     int pdchSysSizCalcClAir = 0;
     689              :     int pdchSysSizUserClAir = 0;
     690              :     int pdchSysSizCalcHtAir = 0;
     691              :     int pdchSysSizUserHtAir = 0;
     692              :     int pdchSysSizAdjustedClAir = 0;
     693              :     int pdchSysSizAdjustedHtAir = 0;
     694              :     int pdchSysSizAdjustedMainAir = 0;
     695              :     int pdchSysSizCalcHeatFlowRatio = 0;
     696              :     int pdchSysSizUserHeatFlowRatio = 0;
     697              :     int pdstPlantSize = 0;
     698              :     int pdchPlantSizCalcVdot = 0;
     699              :     int pdchPlantSizMeasVdot = 0;
     700              :     int pdchPlantSizPrevVdot = 0;
     701              :     int pdchPlantSizCoincYesNo = 0;
     702              :     int pdchPlantSizDesDay = 0;
     703              :     int pdchPlantSizPkTimeHour = 0;
     704              :     int pdchPlantSizPkTimeDayOfSim = 0;
     705              :     int pdchPlantSizPkTimeMin = 0;
     706              : 
     707              :     // Coil Selection Table
     708              :     int pdrCoilSizingDetailsTable = 0;
     709              :     int pdstCoilSummaryCoilSelection = 0;
     710              :     int pdchCoilLocation = 0;
     711              :     int pdchCoilHVACType = 0;
     712              :     int pdchCoilHVACName = 0;
     713              :     int pdchCoilZoneName = 0;
     714              :     int pdchCoilName = 0;
     715              :     int pdchCoilType = 0;
     716              :     int pdchSysSizingMethCoinc = 0;
     717              :     int pdchSysSizingMethCap = 0;
     718              :     int pdchSysSizingMethAir = 0;
     719              : 
     720              :     int pdchCoilIsCapAutosized = 0;
     721              :     int pdchCoilIsAirFlowAutosized = 0;
     722              :     int pdchCoilIsWaterFlowAutosized = 0;
     723              :     int pdchCoilIsOATreated = 0;
     724              :     int pdchCoilFinalTotalCap = 0;
     725              :     int pdchCoilFinalSensCap = 0;
     726              :     int pdchCoilFinalAirVolFlowRate = 0;
     727              :     int pdchCoilFinalPlantVolFlowRate = 0;
     728              : 
     729              :     int pdchCoilDDnameSensIdealPeak = 0;
     730              :     int pdchCoilDateTimeSensIdealPeak = 0;
     731              :     int pdchCoilDDnameTotIdealPeak = 0;
     732              :     int pdchCoilDateTimeTotIdealPeak = 0;
     733              :     int pdchCoilDDnameAirFlowIdealPeak = 0;
     734              :     int pdchCoilDateTimeAirFlowIdealPeak = 0;
     735              :     int pdchCoilPeakLoadTypeToSizeOn = 0;
     736              :     int pdchCoilTotalCapIdealPeak = 0;
     737              :     int pdchCoilSensCapIdealPeak = 0;
     738              :     int pdchCoilAirMassFlowIdealPeak = 0;
     739              :     int pdchCoilAirVolumeFlowIdealPeak = 0;
     740              :     int pdchCoilEntDryBulbIdealPeak = 0;
     741              :     int pdchCoilEntWetBulbIdealPeak = 0;
     742              :     int pdchCoilEntHumRatIdealPeak = 0;
     743              :     int pdchCoilEntEnthalpyIdealPeak = 0;
     744              :     int pdchCoilLvgDryBulbIdealPeak = 0;
     745              :     int pdchCoilLvgWetBulbIdealPeak = 0;
     746              :     int pdchCoilLvgHumRatIdealPeak = 0;
     747              :     int pdchCoilLvgEnthalpyIdealPeak = 0;
     748              :     int pdchCoilWaterMassFlowIdealPeak = 0;
     749              :     int pdchCoilEntWaterTempIdealPeak = 0;
     750              :     int pdchCoilLvgWaterTempIdealPeak = 0;
     751              :     int pdchCoilWaterDeltaTempIdealPeak = 0;
     752              :     int pdchCoilRatedTotalCap = 0;
     753              :     int pdchCoilRatedSensCap = 0;
     754              :     int pdchCoilOffRatingCapacityModifierIdealPeak = 0;
     755              :     int pdchCoilOffRatingCapacityModifierSimPeak = 0;
     756              :     int pdchCoilRatedAirMass = 0;
     757              :     int pdchCoilRatedEntDryBulb = 0;
     758              :     int pdchCoilRatedEntWetBulb = 0;
     759              :     int pdchCoilRatedEntHumRat = 0;
     760              :     int pdchCoilRatedEntEnthalpy = 0;
     761              :     int pdchCoilRatedLvgDryBulb = 0;
     762              :     int pdchCoilRatedLvgWetBulb = 0;
     763              :     int pdchCoilRatedLvgHumRat = 0;
     764              :     int pdchCoilRatedLvgEnthalpy = 0;
     765              :     int pdchCoilRatedWaterMass = 0;
     766              :     int pdchCoilRatedEntWaterTemp = 0;
     767              :     int pdchCoilRatedLvgWaterTemp = 0;
     768              :     int pdchCoilRatedWaterDeltaTemp = 0;
     769              : 
     770              :     int pdchFanAssociatedWithCoilName = 0;
     771              :     int pdchFanAssociatedWithCoilType = 0;
     772              :     int pdchFanAssociatedVdotSize = 0;
     773              :     int pdchFanAssociatedMdotSize = 0;
     774              : 
     775              :     int pdchFanHeatGainIdealPeak = 0;
     776              :     int pdchCoilNetTotalCapacityIdealPeak = 0;
     777              :     int pdchCoilPlantLoopName = 0;
     778              : 
     779              :     int pdchPlantMassFlowMaximum = 0;
     780              :     int pdchPlantRetTempDesign = 0;
     781              :     int pdchPlantSupTempDesign = 0;
     782              :     int pdchPlantDeltaTempDesign = 0;
     783              :     int pdchPlantCapacity = 0;
     784              :     int pdchCoilCapPrcntPlantCapacity = 0;
     785              :     int pdchCoilFlowPrcntPlantFlow = 0;
     786              :     int pdchOADryBulbIdealPeak = 0;
     787              :     int pdchOAHumRatIdealPeak = 0;
     788              :     int pdchOAWetBulbatIdealPeak = 0;
     789              :     int pdchOAVolFlowIdealPeak = 0;
     790              :     int pdchOAFlowPrcntIdealPeak = 0;
     791              :     int pdchOABarometricPressureIdealPeak = 0;
     792              : 
     793              :     int pdchAirSysRADryBulbIdealPeak = 0;
     794              :     int pdchAirSysRAHumRatIdealPeak = 0;
     795              :     int pdchZoneAirDryBulbIdealPeak = 0;
     796              :     int pdchZoneAirHumRatIdealPeak = 0;
     797              :     int pdchZoneAirRelHumIdealPeak = 0;
     798              :     int pdchCoilUA = 0;
     799              :     int pdchZoneSensibleLoadIdealPeak = 0;
     800              :     int pdchZoneLatentLoadIdealPeak = 0;
     801              :     int pdchCoilIdealSizCapOverSimPeak = 0;
     802              :     int pdchCoilIdealSizCapUnderSimPeak = 0;
     803              :     int pdchReheatCoilMultiplier = 0;
     804              :     int pdchFlowCapRatioLowCapIncreaseRatio = 0;
     805              :     int pdchFlowCapRatioHiCapDecreaseRatio = 0;
     806              :     int pdchPlantFluidSpecificHeat = 0;
     807              :     int pdchPlantFluidDensity = 0;
     808              :     int pdchMoistAirSpecificHeat = 0;
     809              :     int pdchDryAirSpecificHeat = 0;
     810              :     int pdchStandRhoAir = 0;
     811              : 
     812              :     // Std 229 Coil Connections
     813              :     int pdstCoilConnections = 0;
     814              :     int pdchCoilName_CCs = 0;
     815              :     int pdchCoilType_CCs = 0;
     816              :     int pdchCoilLoc_CCs = 0;
     817              :     int pdchCoilHVACType_CCs = 0;
     818              :     int pdchCoilHVACName_CCs = 0;
     819              :     int pdchCoilZoneNames_CCs = 0;
     820              :     int pdchCoilSupFanName_CCs = 0;
     821              :     int pdchCoilSupFanType_CCs = 0;
     822              :     int pdchCoilPlantName_CCs = 0;     // Plant Name for Coil*
     823              :     int pdchCoilAirloopName_CCs = 0;   // Airloop Name
     824              :     int pdchCoilPlantloopName_CCs = 0; // Plant Loop Name
     825              : 
     826              :     // Coil Sizing Summary (subset of Coil Selection Table)
     827              :     int pdst2CoilSummaryCoilSelection = 0;
     828              :     int pdch2CoilName = 0;
     829              :     int pdch2CoilType = 0;
     830              :     int pdch2CoilHVACType = 0;
     831              :     int pdch2CoilHVACName = 0;
     832              : 
     833              :     int pdch2CoilFinalTotalCap = 0;
     834              :     int pdch2CoilFinalSensCap = 0;
     835              :     int pdch2CoilFinalAirVolFlowRate = 0;
     836              :     int pdch2CoilFinalPlantVolFlowRate = 0;
     837              :     int pdch2CoilUA = 0;
     838              : 
     839              :     int pdch2CoilDDnameSensIdealPeak = 0;
     840              :     int pdch2CoilDateTimeSensIdealPeak = 0;
     841              :     int pdch2CoilDDnameAirFlowIdealPeak = 0;
     842              :     int pdch2CoilDateTimeAirFlowIdealPeak = 0;
     843              :     int pdch2CoilTotalCapIdealPeak = 0;
     844              :     int pdch2CoilSensCapIdealPeak = 0;
     845              :     int pdch2CoilAirVolumeFlowIdealPeak = 0;
     846              :     int pdch2CoilEntDryBulbIdealPeak = 0;
     847              :     int pdch2CoilEntWetBulbIdealPeak = 0;
     848              :     int pdch2CoilEntHumRatIdealPeak = 0;
     849              :     int pdch2CoilLvgDryBulbIdealPeak = 0;
     850              :     int pdch2CoilLvgWetBulbIdealPeak = 0;
     851              :     int pdch2CoilLvgHumRatIdealPeak = 0;
     852              :     int pdch2CoilRatedTotalCap = 0;
     853              :     int pdch2CoilRatedSensCap = 0;
     854              : 
     855              :     int pdch2OADryBulbIdealPeak = 0;
     856              :     int pdch2OAHumRatIdealPeak = 0;
     857              :     int pdch2OAWetBulbatIdealPeak = 0;
     858              :     int pdch2OAFlowPrcntIdealPeak = 0;
     859              :     int pdch2ZoneAirDryBulbIdealPeak = 0;
     860              :     int pdch2ZoneAirHumRatIdealPeak = 0;
     861              :     int pdch2ZoneAirRelHumIdealPeak = 0;
     862              :     int pdch2ZoneSensibleLoadIdealPeak = 0;
     863              :     int pdch2ZoneLatentLoadIdealPeak = 0;
     864              : 
     865              :     // System summary
     866              :     int pdrSystem = 0;
     867              :     int pdstEconomizer = 0;
     868              :     int pdchEcoKind = 0;
     869              :     int pdchEcoMinOA = 0;
     870              :     int pdchEcoMaxOA = 0;
     871              :     int pdchEcoRetTemp = 0;
     872              :     int pdchEcoRetEnth = 0;
     873              :     int pdchEcoOATempLim = 0;
     874              :     int pdchEcoOAEnthLim = 0;
     875              :     int pdstDemCntlVent = 0;
     876              :     int pdchDCVventMechName = 0;
     877              :     int pdchDCVperPerson = 0;
     878              :     int pdchDCVperArea = 0;
     879              :     int pdchDCVperZone = 0;
     880              :     int pdchDCVperACH = 0;
     881              :     int pdchDCVMethod = 0;
     882              :     int pdchDCVOASchName = 0;
     883              : 
     884              :     // added for new DCV
     885              :     int pdchDCVZoneADEffCooling = 0;
     886              :     int pdchDCVZoneADEffHeating = 0;
     887              :     int pdchDCVZoneADEffSchName = 0;
     888              :     int pdchDCVType = 0;
     889              : 
     890              :     int pdstSimpleComfort = 0;
     891              :     int pdchSCwinterClothes = 0;
     892              :     int pdchSCsummerClothes = 0;
     893              :     int pdchSCeitherClothes = 0;
     894              :     int pdstUnmetLoads = 0;
     895              :     int pdchULnotMetHeat = 0;
     896              :     int pdchULnotMetCool = 0;
     897              :     int pdchULnotMetHeatOcc = 0;
     898              :     int pdchULnotMetCoolOcc = 0;
     899              : 
     900              :     int pdstStatSchd = 0;
     901              :     int pdchStatName = 0;
     902              :     int pdchStatCtrlTypeSchd = 0;
     903              :     int pdchStatSchdType1 = 0;
     904              :     int pdchStatSchdTypeName1 = 0;
     905              :     int pdchStatSchdHeatName = 0;
     906              :     int pdchStatSchdCoolName = 0;
     907              : 
     908              :     // HVAC Topology
     909              :     int pdrTopology = 0;
     910              : 
     911              :     int pdstTopAirLoop = 0;
     912              :     int pdchTopAirLoopName = 0;
     913              :     int pdchTopAirSplitName = 0;
     914              :     int pdchTopAirBranchName = 0;
     915              :     int pdchTopAirSupplyBranchType = 0;
     916              :     int pdchTopAirCompType = 0;
     917              :     int pdchTopAirCompName = 0;
     918              :     int pdchTopAirSubCompType = 0;
     919              :     int pdchTopAirSubCompName = 0;
     920              :     int pdchTopAirSubSubCompType = 0;
     921              :     int pdchTopAirSubSubCompName = 0;
     922              :     int pdchTopAirDownSplitMixName = 0;
     923              :     int pdchTopAirMixName = 0;
     924              : 
     925              :     int pdstTopAirDemand = 0;
     926              :     int pdchTopAirDemandName = 0;
     927              :     int pdchTopAirSupplyBranchName = 0;
     928              :     int pdchTopAirSupplyDuctType = 0;
     929              :     int pdchTopAirSupplyPCompType = 0;
     930              :     int pdchTopAirSupplyPCompName = 0;
     931              :     int pdchTopAirTermUnitType = 0;
     932              :     int pdchTopAirTermUnitName = 0;
     933              :     int pdchTopAirZoneName = 0;
     934              :     int pdchTopAirReturnPCompType = 0;
     935              :     int pdchTopAirReturnPCompName = 0;
     936              : 
     937              :     int pdstTopZnEqp = 0;
     938              :     int pdchTopZnEqpName = 0;
     939              :     int pdchTopZnEqpCompType = 0;
     940              :     int pdchTopZnEqpCompName = 0;
     941              :     int pdchTopZnEqpSubCompType = 0;
     942              :     int pdchTopZnEqpSubCompName = 0;
     943              :     int pdchTopZnEqpSubSubCompType = 0;
     944              :     int pdchTopZnEqpSubSubCompName = 0;
     945              : 
     946              :     int pdstTopPlantLoop2 = 0;
     947              :     int pdchTopPlantLoopType2 = 0;
     948              :     int pdchTopPlantLoopName2 = 0;
     949              :     int pdchTopPlantSide2 = 0;
     950              :     int pdchTopPlantSplitName2 = 0;
     951              :     int pdchTopPlantBranchName2 = 0;
     952              :     int pdchTopPlantCompType2 = 0;
     953              :     int pdchTopPlantCompName2 = 0;
     954              :     int pdchTopPlantMixName2 = 0;
     955              : 
     956              :     // Outdoor Air Report
     957              :     int pdrOutsideAir = 0;
     958              :     int pdstOAavgOcc = 0;
     959              :     int pdchOaoAvgNumOcc1 = 0;
     960              :     int pdchOaoNomNumOcc1 = 0;
     961              :     int pdchOaoZoneVol1 = 0;
     962              :     int pdchOaoAvgMechVent = 0;
     963              :     int pdchOaoAvgInfil = 0;
     964              :     int pdchOaoAvgAFNInfil = 0;
     965              :     int pdchOaoAvgSimpVent = 0;
     966              :     int pdchOaoAvgTotVent = 0;
     967              :     int pdstOAminOcc = 0;
     968              :     int pdchOaoAvgNumOcc2 = 0;
     969              :     int pdchOaoNomNumOcc2 = 0;
     970              :     int pdchOaoZoneVol2 = 0;
     971              :     int pdchOaoMinMechVent = 0;
     972              :     int pdchOaoMinInfil = 0;
     973              :     int pdchOaoMinAFNInfil = 0;
     974              :     int pdchOaoMinSimpVent = 0;
     975              :     int pdchOaoMinTotVent = 0;
     976              : 
     977              :     // Outdoor Air Details Report
     978              :     int pdrOutsideAirDetails = 0;
     979              : 
     980              :     int pdstOAmechVentParByZone = 0;
     981              :     int pdchOaMvAirLpNm = 0;
     982              :     int pdchOaMvAvgNumOcc = 0;
     983              :     int pdchOaMvNomNumOcc = 0;
     984              :     int pdchOaMvZoneVol = 0;
     985              :     int pdchOaMvZoneArea = 0;
     986              :     int pdchOaMvDesZnOa = 0;
     987              :     int pdchOaMvMinDynTrgVent = 0;
     988              : 
     989              :     int pdstOAtotAirByZone = 0;
     990              :     int pdchOaTaBzMechVent = 0;
     991              :     int pdchOaTaBzNatVent = 0;
     992              :     int pdchOaTaBzTotVent = 0;
     993              :     int pdchOaTaBzInfil = 0;
     994              :     int pdchOaTaBzTotVentInfil = 0;
     995              :     int pdchOaTaBzDynTrgVent = 0;
     996              :     int pdchOaTaBzTmBelow = 0;
     997              :     int pdchOaTaBzTmAt = 0;
     998              :     int pdchOaTaBzTmAbove = 0;
     999              :     int pdchOaTaBzTmAboveUnocc = 0;
    1000              : 
    1001              :     int pdstOAavgOccByZone = 0;
    1002              :     int pdchOaOccBzMechVent = 0;
    1003              :     int pdchOaOccBzNatVent = 0;
    1004              :     int pdchOaOccBzTotVent = 0;
    1005              :     int pdchOaOccBzInfil = 0;
    1006              :     int pdchOaOccBzTotVentInfil = 0;
    1007              :     int pdchOaOccBzDynTrgVent = 0;
    1008              :     int pdchOaOccBzTmBelow = 0;
    1009              :     int pdchOaOccBzTmAt = 0;
    1010              :     int pdchOaOccBzTmAbove = 0;
    1011              : 
    1012              :     int pdstOAtotAirByLoop = 0;
    1013              :     int pdchOaTaAlMechVent = 0;
    1014              :     int pdchOaTaAlNatVent = 0;
    1015              :     int pdchOaTaAlTotVent = 0;
    1016              :     int pdchOaTaAlSumDynTrgVent = 0;
    1017              :     int pdchOaTaAlTmBelow = 0;
    1018              :     int pdchOaTaAlTmAt = 0;
    1019              :     int pdchOaTaAlTmAbove = 0;
    1020              :     int pdchOaTaAlTmAboveUnocc = 0;
    1021              : 
    1022              :     int pdstOAavgOccByLoop = 0;
    1023              :     int pdchOaOccAlMechVent = 0;
    1024              :     int pdchOaOccAlNatVent = 0;
    1025              :     int pdchOaOccAlTotVent = 0;
    1026              :     int pdchOaOccAlSumDynTrgVent = 0;
    1027              :     int pdchOaOccAlTmBelow = 0;
    1028              :     int pdchOaOccAlTmAt = 0;
    1029              :     int pdchOaOccAlTmAbove = 0;
    1030              : 
    1031              :     int pdstOAtimeFactorsDurOcc = 0;
    1032              :     int pdchOaTmFctNoLimit = 0;
    1033              :     int pdchOaTmFctHiHumid = 0;
    1034              :     int pdchOaTmFctNiteVent = 0;
    1035              :     int pdchOaTmFctEcono = 0;
    1036              :     int pdchOaTmFctDCV = 0;
    1037              :     int pdchOaTmFctExhaust = 0;
    1038              :     int pdchOaTmFctMixedLimit = 0;
    1039              :     int pdchOaTmFctLimit = 0;
    1040              :     int pdchOaTmFctDemand = 0;
    1041              :     int pdchOaTmFctEMS = 0;
    1042              : 
    1043              :     int pdstOAavgFactorsDurOcc = 0;
    1044              :     int pdchOaAvFctNoLimit = 0;
    1045              :     int pdchOaAvFctHiHumid = 0;
    1046              :     int pdchOaAvFctNiteVent = 0;
    1047              :     int pdchOaAvFctEcono = 0;
    1048              :     int pdchOaAvFctDCV = 0;
    1049              :     int pdchOaAvFctExhaust = 0;
    1050              :     int pdchOaAvFctMixedLimit = 0;
    1051              :     int pdchOaAvFctLimit = 0;
    1052              :     int pdchOaAvFctDemand = 0;
    1053              :     int pdchOaAvFctEMS = 0;
    1054              : 
    1055              :     // Object Count Report
    1056              :     int pdrObjCnt = 0;
    1057              :     int pdstSurfCnt = 0;
    1058              :     int pdchSurfCntTot = 0;
    1059              :     int pdchSurfCntExt = 0;
    1060              :     int pdstHVACcnt = 0;
    1061              :     int pdchHVACcntVal = 0;
    1062              :     int pdstFieldCnt = 0;
    1063              :     int pdchFieldCntVal = 0;
    1064              : 
    1065              :     // Energy Meters Report
    1066              :     int pdrEnergyMeters = 0;
    1067              : 
    1068              :     int pdstEMelecvalues = 0;
    1069              :     int pdchEMelecannual = 0;
    1070              :     int pdchEMelecminvalue = 0;
    1071              :     int pdchEMelecminvaluetime = 0;
    1072              :     int pdchEMelecmaxvalue = 0;
    1073              :     int pdchEMelecmaxvaluetime = 0;
    1074              : 
    1075              :     int pdstEMgasvalues = 0;
    1076              :     int pdchEMgasannual = 0;
    1077              :     int pdchEMgasminvalue = 0;
    1078              :     int pdchEMgasminvaluetime = 0;
    1079              :     int pdchEMgasmaxvalue = 0;
    1080              :     int pdchEMgasmaxvaluetime = 0;
    1081              : 
    1082              :     int pdstEMcoolvalues = 0;
    1083              :     int pdchEMcoolannual = 0;
    1084              :     int pdchEMcoolminvalue = 0;
    1085              :     int pdchEMcoolminvaluetime = 0;
    1086              :     int pdchEMcoolmaxvalue = 0;
    1087              :     int pdchEMcoolmaxvaluetime = 0;
    1088              : 
    1089              :     int pdstEMwatervalues = 0;
    1090              :     int pdchEMwaterannual = 0;
    1091              :     int pdchEMwaterminvalue = 0;
    1092              :     int pdchEMwaterminvaluetime = 0;
    1093              :     int pdchEMwatermaxvalue = 0;
    1094              :     int pdchEMwatermaxvaluetime = 0;
    1095              : 
    1096              :     int pdstEMotherJvalues = 0;
    1097              :     int pdchEMotherJannual = 0;
    1098              :     int pdchEMotherJminvalue = 0;
    1099              :     int pdchEMotherJminvaluetime = 0;
    1100              :     int pdchEMotherJmaxvalue = 0;
    1101              :     int pdchEMotherJmaxvaluetime = 0;
    1102              : 
    1103              :     int pdstEMotherKGvalues = 0;
    1104              :     int pdchEMotherKGannual = 0;
    1105              :     int pdchEMotherKGminvalue = 0;
    1106              :     int pdchEMotherKGminvaluetime = 0;
    1107              :     int pdchEMotherKGmaxvalue = 0;
    1108              :     int pdchEMotherKGmaxvaluetime = 0;
    1109              : 
    1110              :     int pdstEMotherM3values = 0;
    1111              :     int pdchEMotherM3annual = 0;
    1112              :     int pdchEMotherM3minvalue = 0;
    1113              :     int pdchEMotherM3minvaluetime = 0;
    1114              :     int pdchEMotherM3maxvalue = 0;
    1115              :     int pdchEMotherM3maxvaluetime = 0;
    1116              : 
    1117              :     int pdstEMotherLvalues = 0;
    1118              :     int pdchEMotherLannual = 0;
    1119              :     int pdchEMotherLminvalue = 0;
    1120              :     int pdchEMotherLminvaluetime = 0;
    1121              :     int pdchEMotherLmaxvalue = 0;
    1122              :     int pdchEMotherLmaxvaluetime = 0;
    1123              : 
    1124              :     // Sensible Heat Gas Component Report
    1125              :     int pdrSensibleGain = 0;
    1126              :     // annual
    1127              :     int pdstSHGSannual = 0;
    1128              :     int pdchSHGSAnZoneEqHt = 0;
    1129              :     int pdchSHGSAnZoneEqCl = 0;
    1130              :     int pdchSHGSAnHvacATUHt = 0;
    1131              :     int pdchSHGSAnHvacATUCl = 0;
    1132              :     int pdchSHGSAnSurfHt = 0;
    1133              :     int pdchSHGSAnSurfCl = 0;
    1134              :     int pdchSHGSAnPeoplAdd = 0;
    1135              :     int pdchSHGSAnLiteAdd = 0;
    1136              :     int pdchSHGSAnEquipAdd = 0;
    1137              :     int pdchSHGSAnWindAdd = 0;
    1138              :     int pdchSHGSAnIzaAdd = 0;
    1139              :     int pdchSHGSAnInfilAdd = 0;
    1140              :     int pdchSHGSAnOtherAdd = 0;
    1141              :     int pdchSHGSAnEquipRem = 0;
    1142              :     int pdchSHGSAnWindRem = 0;
    1143              :     int pdchSHGSAnIzaRem = 0;
    1144              :     int pdchSHGSAnInfilRem = 0;
    1145              :     int pdchSHGSAnOtherRem = 0;
    1146              :     // peak cooling
    1147              :     int pdstSHGSpkCl = 0;
    1148              :     int pdchSHGSClTimePeak = 0;
    1149              :     int pdchSHGSClHvacHt = 0;
    1150              :     int pdchSHGSClHvacCl = 0;
    1151              :     int pdchSHGSClHvacATUHt = 0;
    1152              :     int pdchSHGSClHvacATUCl = 0;
    1153              :     int pdchSHGSClSurfHt = 0;
    1154              :     int pdchSHGSClSurfCl = 0;
    1155              :     int pdchSHGSClPeoplAdd = 0;
    1156              :     int pdchSHGSClLiteAdd = 0;
    1157              :     int pdchSHGSClEquipAdd = 0;
    1158              :     int pdchSHGSClWindAdd = 0;
    1159              :     int pdchSHGSClIzaAdd = 0;
    1160              :     int pdchSHGSClInfilAdd = 0;
    1161              :     int pdchSHGSClOtherAdd = 0;
    1162              :     int pdchSHGSClEquipRem = 0;
    1163              :     int pdchSHGSClWindRem = 0;
    1164              :     int pdchSHGSClIzaRem = 0;
    1165              :     int pdchSHGSClInfilRem = 0;
    1166              :     int pdchSHGSClOtherRem = 0;
    1167              :     // peak heating
    1168              :     int pdstSHGSpkHt = 0;
    1169              :     int pdchSHGSHtTimePeak = 0;
    1170              :     int pdchSHGSHtHvacHt = 0;
    1171              :     int pdchSHGSHtHvacCl = 0;
    1172              :     int pdchSHGSHtHvacATUHt = 0;
    1173              :     int pdchSHGSHtHvacATUCl = 0;
    1174              :     int pdchSHGSHtSurfHt = 0;
    1175              :     int pdchSHGSHtSurfCl = 0;
    1176              :     int pdchSHGSHtPeoplAdd = 0;
    1177              :     int pdchSHGSHtLiteAdd = 0;
    1178              :     int pdchSHGSHtEquipAdd = 0;
    1179              :     int pdchSHGSHtWindAdd = 0;
    1180              :     int pdchSHGSHtIzaAdd = 0;
    1181              :     int pdchSHGSHtInfilAdd = 0;
    1182              :     int pdchSHGSHtOtherAdd = 0;
    1183              :     int pdchSHGSHtEquipRem = 0;
    1184              :     int pdchSHGSHtWindRem = 0;
    1185              :     int pdchSHGSHtIzaRem = 0;
    1186              :     int pdchSHGSHtInfilRem = 0;
    1187              :     int pdchSHGSHtOtherRem = 0;
    1188              :     // Standard62Report
    1189              :     int pdrStd62 = 0;
    1190              :     int pdstS62sysVentReqCool = 0;
    1191              :     int pdchS62svrClSumVpz = 0;
    1192              :     int pdchS62svrClPs = 0;
    1193              :     int pdchS62svrClSumPz = 0;
    1194              :     int pdchS62svrClD = 0;
    1195              :     int pdchS62svrClDorg = 0;
    1196              :     int pdchS62svrClVou = 0;
    1197              :     int pdchS62svrClVps = 0;
    1198              :     int pdchS62svrClXs = 0;
    1199              :     int pdchS62svrClEv = 0;
    1200              :     int pdchS62svrClEvMthd = 0;
    1201              :     int pdchS62svrClVot = 0;
    1202              :     int pdchS62svrClPercOA = 0;
    1203              :     int pdchS62svrClEnvironmentOfPs = 0;
    1204              :     int pdchS62svrClTimeOfPs = 0;
    1205              : 
    1206              :     int pdstS62sysVentReqHeat = 0;
    1207              :     int pdchS62svrHtSumVpz = 0;
    1208              :     int pdchS62svrHtPs = 0;
    1209              :     int pdchS62svrHtSumPz = 0;
    1210              :     int pdchS62svrHtD = 0;
    1211              :     int pdchS62svrHtDorg = 0;
    1212              :     int pdchS62svrHtVou = 0;
    1213              :     int pdchS62svrHtVps = 0;
    1214              :     int pdchS62svrHtXs = 0;
    1215              :     int pdchS62svrHtEv = 0;
    1216              :     int pdchS62svrHtEvMthd = 0;
    1217              :     int pdchS62svrHtVot = 0;
    1218              :     int pdchS62svrHtPercOA = 0;
    1219              :     int pdchS62svrHtEnvironmentOfPs = 0;
    1220              :     int pdchS62svrHtTimeOfPs = 0;
    1221              : 
    1222              :     int pdstS62znVentPar = 0;
    1223              :     int pdchS62zvpAlN = 0;
    1224              :     int pdchS62zvpRp = 0;
    1225              :     int pdchS62zvpPz = 0;
    1226              :     int pdchS62zvpRa = 0;
    1227              :     int pdchS62zvpAz = 0;
    1228              :     int pdchS62zvpVbz = 0;
    1229              :     int pdchS62zvpClEz = 0;
    1230              :     int pdchS62zvpClVoz = 0;
    1231              :     int pdchS62zvpHtEz = 0;
    1232              :     int pdchS62zvpHtVoz = 0;
    1233              : 
    1234              :     int pdstS62sysVentPar = 0;
    1235              :     int pdchS62svpRp = 0;
    1236              :     int pdchS62svpPz = 0;
    1237              :     int pdchS62svpRa = 0;
    1238              :     int pdchS62svpAz = 0;
    1239              :     int pdchS62svpVbz = 0;
    1240              :     int pdchS62svpClVoz = 0;
    1241              :     int pdchS62svpHtVoz = 0;
    1242              : 
    1243              :     int pdstS62znCoolDes = 0;
    1244              :     int pdchS62zcdAlN = 0;
    1245              :     int pdchS62zcdBox = 0;
    1246              :     int pdchS62zcdVpz = 0;
    1247              :     int pdchS62zcdVps = 0;
    1248              :     int pdchS62zcdVsec = 0;
    1249              :     int pdchS62zcdVdz = 0;
    1250              :     int pdchS62zcdVpzmin = 0;
    1251              :     int pdchS62zcdVpzminSPSize = 0;
    1252              :     int pdchS62zcdVozclg = 0;
    1253              :     int pdchS62zcdZpz = 0;
    1254              :     int pdchS62zcdEp = 0;
    1255              :     int pdchS62zcdEr = 0;
    1256              :     int pdchS62zcdFa = 0;
    1257              :     int pdchS62zcdFb = 0;
    1258              :     int pdchS62zcdFc = 0;
    1259              :     int pdchS62zcdEvz = 0;
    1260              : 
    1261              :     int pdstS62sysCoolDes = 0;
    1262              :     int pdchS62scdVpz = 0;
    1263              :     int pdchS62scdVps = 0;
    1264              :     int pdchS62scdVsec = 0;
    1265              :     int pdchS62scdVdz = 0;
    1266              :     int pdchS62scdVpzmin = 0;
    1267              :     int pdchS62scdVozclg = 0;
    1268              :     int pdchS62scdEvz = 0;
    1269              : 
    1270              :     int pdstS62znHeatDes = 0;
    1271              :     int pdchS62zhdAlN = 0;
    1272              :     int pdchS62zhdBox = 0;
    1273              :     int pdchS62zhdVpz = 0;
    1274              :     int pdchS62zhdVps = 0;
    1275              :     int pdchS62zhdVsec = 0;
    1276              :     int pdchS62zhdVdz = 0;
    1277              :     int pdchS62zhdVpzmin = 0;
    1278              :     int pdchS62zhdVpzminSPSize = 0;
    1279              :     int pdchS62zhdVozhtg = 0;
    1280              :     int pdchS62zhdZpz = 0;
    1281              :     int pdchS62zhdEp = 0;
    1282              :     int pdchS62zhdEr = 0;
    1283              :     int pdchS62zhdFa = 0;
    1284              :     int pdchS62zhdFb = 0;
    1285              :     int pdchS62zhdFc = 0;
    1286              :     int pdchS62zhdEvz = 0;
    1287              : 
    1288              :     int pdstS62sysHeatDes = 0;
    1289              :     int pdchS62shdVpz = 0;
    1290              :     int pdchS62shdVps = 0;
    1291              :     int pdchS62shdVsec = 0;
    1292              :     int pdchS62shdVdz = 0;
    1293              :     int pdchS62shdVpzmin = 0;
    1294              :     int pdchS62shdVozhtg = 0;
    1295              :     int pdchS62shdEvz = 0;
    1296              : 
    1297              :     //  LEED Summary
    1298              :     int pdrLeed = 0;
    1299              :     int pdstLeedGenInfo = 0;
    1300              :     int pdchLeedGenData = 0;
    1301              : 
    1302              :     int pdstLeedSpaceUsageType = 0;
    1303              :     int pdchLeedSutName = 0;
    1304              :     int pdchLeedSutSpArea = 0;
    1305              :     int pdchLeedSutOcArea = 0;
    1306              :     int pdchLeedSutUnArea = 0;
    1307              :     int pdchLeedSutHrsWeek = 0;
    1308              : 
    1309              :     int pdstLeedAdvsMsg = 0;
    1310              :     int pdchLeedAmData = 0;
    1311              : 
    1312              :     int pdstLeedEneTypSum = 0;
    1313              :     int pdchLeedEtsType = 0;
    1314              :     int pdchLeedEtsRtNm = 0;
    1315              :     int pdchLeedEtsVirt = 0;
    1316              :     int pdchLeedEtsEneUnt = 0;
    1317              :     int pdchLeedEtsDemUnt = 0;
    1318              : 
    1319              :     int pdstLeedPerf = 0;
    1320              :     int pdchLeedPerfRot = 0;
    1321              :     int pdchLeedPerfElEneUse = 0;
    1322              :     int pdchLeedPerfElDem = 0;
    1323              :     int pdchLeedPerfGasEneUse = 0;
    1324              :     int pdchLeedPerfGasDem = 0;
    1325              :     int pdchLeedPerfGasolineEneUse = 0;
    1326              :     int pdchLeedPerfGasolineDem = 0;
    1327              :     int pdchLeedPerfDieselEneUse = 0;
    1328              :     int pdchLeedPerfDieselDem = 0;
    1329              :     int pdchLeedPerfCoalEneUse = 0;
    1330              :     int pdchLeedPerfCoalDem = 0;
    1331              :     int pdchLeedPerfFuelOil1EneUse = 0;
    1332              :     int pdchLeedPerfFuelOil1Dem = 0;
    1333              :     int pdchLeedPerfFuelOil2EneUse = 0;
    1334              :     int pdchLeedPerfFuelOil2Dem = 0;
    1335              :     int pdchLeedPerfPropaneEneUse = 0;
    1336              :     int pdchLeedPerfPropaneDem = 0;
    1337              :     int pdchLeedPerfOtherFuel1EneUse = 0;
    1338              :     int pdchLeedPerfOtherFuel1Dem = 0;
    1339              :     int pdchLeedPerfOtherFuel2EneUse = 0;
    1340              :     int pdchLeedPerfOtherFuel2Dem = 0;
    1341              :     int pdchLeedPerfDisClEneUse = 0;
    1342              :     int pdchLeedPerfDisClDem = 0;
    1343              :     int pdchLeedPerfDisHtWtrEneUse = 0;
    1344              :     int pdchLeedPerfDisHtWtrDem = 0;
    1345              :     int pdchLeedPerfDisHtStEneUse = 0;
    1346              :     int pdchLeedPerfDisHtStDem = 0;
    1347              : 
    1348              :     int pdstLeedEneUseSum = 0;
    1349              :     int pdchLeedEusUnt = 0;
    1350              :     int pdchLeedEusProc = 0;
    1351              :     int pdchLeedEusTotal = 0;
    1352              : 
    1353              :     int pdstLeedEneCostSum = 0;
    1354              :     int pdchLeedEcUnt = 0;
    1355              :     int pdchLeedEcsProc = 0;
    1356              :     int pdchLeedEcsTotal = 0;
    1357              :     Real64 LEEDelecCostTotal = 0;
    1358              :     Real64 LEEDgasCostTotal = 0;
    1359              :     Real64 LEEDothrCostTotal = 0;
    1360              : 
    1361              :     int pdstLeedRenewSum = 0;
    1362              :     int pdchLeedRenRatCap = 0;
    1363              :     int pdchLeedRenAnGen = 0;
    1364              : 
    1365              :     int pdstLeedEneUseIntEl = 0;
    1366              :     int pdchLeedEuiElec = 0;
    1367              :     int pdstLeedEneUseIntNatG = 0;
    1368              :     int pdchLeedEuiNatG = 0;
    1369              :     int pdstLeedEneUseIntOthr = 0;
    1370              :     int pdchLeedEuiOthr = 0;
    1371              : 
    1372              :     int pdstLeedEneUsePerc = 0;
    1373              :     int pdchLeedEupPerc = 0;
    1374              : 
    1375              :     int pdstLeedEqFlLdHrs = 0;
    1376              :     int pdchLeedEflhEflh = 0;
    1377              :     int pdchLeedEflhNonZerHrs = 0;
    1378              : 
    1379              :     int pdstLeedSchedSetPts = 0;
    1380              :     int pdChLeedSchStPtFirstObjUsed = 0;
    1381              :     int pdChLeedSchStPtMonthUsed = 0;
    1382              :     int pdchLeedSchStPt11amWednesday = 0;
    1383              :     int pdchLeedSchStPt11amWedCnt = 0;
    1384              :     int pdchLeedSchStPt11pmWednesday = 0;
    1385              :     int pdchLeedSchStPt11pmWedCnt = 0;
    1386              : 
    1387              :     int pdrThermalResilience = 0;
    1388              :     int pdstHIHours = 0;
    1389              :     int pdchHIHourSafe = 0;
    1390              :     int pdchHIHourCaution = 0;
    1391              :     int pdchHIHourExtremeCaution = 0;
    1392              :     int pdchHIHourDanger = 0;
    1393              :     int pdchHIHourExtremeDanger = 0;
    1394              :     int pdstHIOccuHours = 0;
    1395              :     int pdchHIOccuHourSafe = 0;
    1396              :     int pdchHIOccuHourCaution = 0;
    1397              :     int pdchHIOccuHourExtremeCaution = 0;
    1398              :     int pdchHIOccuHourDanger = 0;
    1399              :     int pdchHIOccuHourExtremeDanger = 0;
    1400              :     int pdstHIOccupiedHours = 0;
    1401              :     int pdchHIOccupiedHourSafe = 0;
    1402              :     int pdchHIOccupiedHourCaution = 0;
    1403              :     int pdchHIOccupiedHourExtremeCaution = 0;
    1404              :     int pdchHIOccupiedHourDanger = 0;
    1405              :     int pdchHIOccupiedHourExtremeDanger = 0;
    1406              :     int pdstHumidexHours = 0;
    1407              :     int pdchHumidexHourLittle = 0;
    1408              :     int pdchHumidexHourSome = 0;
    1409              :     int pdchHumidexHourGreat = 0;
    1410              :     int pdchHumidexHourDanger = 0;
    1411              :     int pdchHumidexHourStroke = 0;
    1412              :     int pdstHumidexOccuHours = 0;
    1413              :     int pdchHumidexOccuHourLittle = 0;
    1414              :     int pdchHumidexOccuHourSome = 0;
    1415              :     int pdchHumidexOccuHourGreat = 0;
    1416              :     int pdchHumidexOccuHourDanger = 0;
    1417              :     int pdchHumidexOccuHourStroke = 0;
    1418              :     int pdstHumidexOccupiedHours = 0;
    1419              :     int pdchHumidexOccupiedHourLittle = 0;
    1420              :     int pdchHumidexOccupiedHourSome = 0;
    1421              :     int pdchHumidexOccupiedHourGreat = 0;
    1422              :     int pdchHumidexOccupiedHourDanger = 0;
    1423              :     int pdchHumidexOccupiedHourStroke = 0;
    1424              : 
    1425              :     int pdstHeatingSETHours = 0;
    1426              :     int pdchHeatingSETHours = 0;
    1427              :     int pdchHeatingSETOccuHours = 0;
    1428              :     int pdchHeatingSETOccupiedHours = 0;
    1429              :     int pdchHeatingSETUnmetDuration = 0;
    1430              :     int pdchHeatingSETUnmetTime = 0;
    1431              :     int pdstCoolingSETHours = 0;
    1432              :     int pdchCoolingSETHours = 0;
    1433              :     int pdchCoolingSETOccuHours = 0;
    1434              :     int pdchCoolingSETOccupiedHours = 0;
    1435              :     int pdchCoolingSETUnmetDuration = 0;
    1436              :     int pdchCoolingSETUnmetTime = 0;
    1437              : 
    1438              :     int pdstHourOfSafetyColdEvent = 0;
    1439              :     int pdchColdHourOfSafety = 0;
    1440              :     int pdchColdSafetyEndTime = 0;
    1441              :     int pdchColdSafeTempExceedHour = 0;
    1442              :     int pdchColdSafeTempExceedOccHour = 0;
    1443              :     int pdchColdSafeTempExceedOccupiedHour = 0;
    1444              :     int pdstHourOfSafetyHeatEvent = 0;
    1445              :     int pdchHeatHourOfSafety = 0;
    1446              :     int pdchHeatSafetyEndTime = 0;
    1447              :     int pdchHeatSafeTempExceedHour = 0;
    1448              :     int pdchHeatSafeTempExceedOccHour = 0;
    1449              :     int pdchHeatSafeTempExceedOccupiedHour = 0;
    1450              : 
    1451              :     int pdstUnmetDegreeHour = 0;
    1452              :     int pdchCoolingUnmetDegreeHour = 0;
    1453              :     int pdchCoolingUnmetDegreeOccHour = 0;
    1454              :     int pdchCoolingUnmetDegreeOccupiedHour = 0;
    1455              :     int pdchHeatingUnmetDegreeHour = 0;
    1456              :     int pdchHeatingUnmetDegreeOccHour = 0;
    1457              :     int pdchHeatingUnmetDegreeOccupiedHour = 0;
    1458              : 
    1459              :     int pdstDiscomfortWtExceedOccuHour = 0;
    1460              :     int pdstDiscomfortWtExceedOccupiedHour = 0;
    1461              :     int pdchVeryColdExceedOccuHour = 0;
    1462              :     int pdchCoolExceedOccuHour = 0;
    1463              :     int pdchWarmExceedOccuHour = 0;
    1464              :     int pdchVeryHotExceedOccuHour = 0;
    1465              :     int pdchVeryColdExceedOccupiedHour = 0;
    1466              :     int pdchCoolExceedOccupiedHour = 0;
    1467              :     int pdchWarmExceedOccupiedHour = 0;
    1468              :     int pdchVeryHotExceedOccupiedHour = 0;
    1469              : 
    1470              :     int pdrCO2Resilience = 0;
    1471              :     int pdstCO2Hours = 0;
    1472              :     int pdchCO2HourSafe = 0;
    1473              :     int pdchCO2HourCaution = 0;
    1474              :     int pdchCO2HourHazard = 0;
    1475              :     int pdstCO2OccuHours = 0;
    1476              :     int pdchCO2OccuHourSafe = 0;
    1477              :     int pdchCO2OccuHourCaution = 0;
    1478              :     int pdchCO2OccuHourHazard = 0;
    1479              :     int pdstCO2OccupiedHours = 0;
    1480              :     int pdchCO2OccupiedHourSafe = 0;
    1481              :     int pdchCO2OccupiedHourCaution = 0;
    1482              :     int pdchCO2OccupiedHourHazard = 0;
    1483              : 
    1484              :     int pdrVisualResilience = 0;
    1485              :     int pdstIllumHours = 0;
    1486              :     int pdchIllumHourDark = 0;
    1487              :     int pdchIllumHourDim = 0;
    1488              :     int pdchIllumHourAdequate = 0;
    1489              :     int pdchIllumHourBright = 0;
    1490              :     int pdstIllumOccuHours = 0;
    1491              :     int pdchIllumOccuHourDark = 0;
    1492              :     int pdchIllumOccuHourDim = 0;
    1493              :     int pdchIllumOccuHourAdequate = 0;
    1494              :     int pdchIllumOccuHourBright = 0;
    1495              :     int pdstIllumOccupiedHours = 0;
    1496              :     int pdchIllumOccupiedHourDark = 0;
    1497              :     int pdchIllumOccupiedHourDim = 0;
    1498              :     int pdchIllumOccupiedHourAdequate = 0;
    1499              :     int pdchIllumOccupiedHourBright = 0;
    1500              : 
    1501              :     int sizeReportName = 0;
    1502              :     int numReportName = 0;
    1503              : 
    1504              :     int sizeSubTable = 0;
    1505              :     int numSubTable = 0;
    1506              : 
    1507              :     int sizeColumnTag = 0;
    1508              :     int numColumnTag = 0;
    1509              : 
    1510              :     int sizeTableEntry = 0;
    1511              :     int numTableEntry = 0;
    1512              : 
    1513              :     int sizeCompSizeTableEntry = 0;
    1514              :     int numCompSizeTableEntry = 0;
    1515              : 
    1516              :     int sizeShadowRelate = 0;
    1517              :     int numShadowRelate = 0;
    1518              : 
    1519              :     // Totals for ABUPS report
    1520              :     Real64 TotalNotMetHeatingOccupiedForABUPS = 0.0;
    1521              :     Real64 TotalNotMetCoolingOccupiedForABUPS = 0.0;
    1522              :     Real64 TotalNotMetOccupiedForABUPS = 0.0;
    1523              :     Real64 TotalTimeNotSimpleASH55EitherForABUPS = 0.0;
    1524              : 
    1525              :     // Totals for OA details report
    1526              :     Real64 TotalVozMax = 0.0;                     // total Voz (max of heating and cooling)
    1527              :     Real64 TotalAnyZoneBelowVozDynForOA = 0.0;    // total time any zone below target Voz-Dyn
    1528              :     Real64 TotalAllZonesAtVozDynForOA = 0.0;      // total time all zones at target Voz-Dyn
    1529              :     Real64 TotalAnyZoneAboveVozDynForOA = 0.0;    // total time any zone above target Voz-Dyn
    1530              :     Real64 TotalAnyZoneBelowVozDynOccForOA = 0.0; // total time any zone below target Voz-Dyn
    1531              :     Real64 TotalAllZonesAtVozDynOccForOA = 0.0;   // total time all zones at target Voz-Dyn
    1532              :     Real64 TotalAnyZoneAboveVozDynOccForOA = 0.0; // total time any zone above target Voz-Dyn
    1533              :     Real64 TotalAnyZoneVentUnoccForOA = 0.0;      // total time any zone has ventilation when unoccupied
    1534              : 
    1535              :     Real64 TotalAnyAirLoopBelowVozDynForOA = 0.0;    // total time any air loop below target Voz-Dyn
    1536              :     Real64 TotalAllAirLoopsAtVozDynForOA = 0.0;      // total time all air loops at target Voz-Dyn
    1537              :     Real64 TotalAnyAirLoopAboveVozDynForOA = 0.0;    // total time any air loop above target Voz-Dyn
    1538              :     Real64 TotalAnyAirLoopBelowVozDynOccForOA = 0.0; // total time any air loop below target Voz-Dyn
    1539              :     Real64 TotalAllAirLoopsAtVozDynOccForOA = 0.0;   // total time all air loops at target Voz-Dyn
    1540              :     Real64 TotalAnyAirLoopAboveVozDynOccForOA = 0.0; // total time any air loop above target Voz-Dyn
    1541              :     Real64 TotalAnyAirLoopVentUnoccForOA = 0.0;      // total time any air loop has ventilation when unoccupied
    1542              : 
    1543              :     Array1D<OutputReportPredefined::reportNameType> reportName;
    1544              :     Array1D<OutputReportPredefined::SubTableType> subTable;
    1545              :     Array1D<OutputReportPredefined::ColumnTagType> columnTag;
    1546              :     Array1D<OutputReportPredefined::TableEntryType> tableEntry;
    1547              :     Array1D<OutputReportPredefined::CompSizeTableEntryType> CompSizeTableEntry;
    1548              :     Array1D<OutputReportPredefined::ShadowRelateType> ShadowRelate;
    1549              : 
    1550         2126 :     void init_constant_state([[maybe_unused]] EnergyPlusData &state) override
    1551              :     {
    1552         2126 :     }
    1553              : 
    1554         1152 :     void init_state([[maybe_unused]] EnergyPlusData &state) override
    1555              :     {
    1556         1152 :     }
    1557              : 
    1558         2100 :     void clear_state() override
    1559              :     {
    1560         2100 :         new (this) OutputReportPredefinedData();
    1561         2100 :     }
    1562              : };
    1563              : 
    1564              : } // namespace EnergyPlus
    1565              : 
    1566              : #endif
        

Generated by: LCOV version 2.0-1